nutcracker 0.3.0.12 → 0.4.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. checksums.yaml +5 -13
  2. data/README.md +3 -3
  3. data/Rakefile +12 -10
  4. data/ext/nutcracker/Makefile.in +215 -162
  5. data/ext/nutcracker/README.md +16 -4
  6. data/ext/nutcracker/aclocal.m4 +432 -254
  7. data/ext/nutcracker/{contrib/yaml-0.1.4/configure → autom4te.cache/output.0} +11367 -4545
  8. data/ext/nutcracker/autom4te.cache/output.1 +19907 -0
  9. data/ext/nutcracker/autom4te.cache/output.2 +19907 -0
  10. data/ext/nutcracker/autom4te.cache/requests +518 -0
  11. data/ext/nutcracker/autom4te.cache/traces.0 +2715 -0
  12. data/ext/nutcracker/autom4te.cache/traces.1 +967 -0
  13. data/ext/nutcracker/autom4te.cache/traces.2 +2715 -0
  14. data/ext/nutcracker/config/compile +347 -0
  15. data/ext/nutcracker/config/config.guess +116 -78
  16. data/ext/nutcracker/config/config.sub +65 -45
  17. data/ext/nutcracker/config/depcomp +295 -192
  18. data/ext/nutcracker/config/install-sh +7 -7
  19. data/ext/nutcracker/config/ltmain.sh +15 -20
  20. data/ext/nutcracker/config/missing +149 -265
  21. data/ext/nutcracker/configure +493 -367
  22. data/ext/nutcracker/contrib/Makefile.in +158 -116
  23. data/ext/nutcracker/extconf.rb +0 -1
  24. data/ext/nutcracker/m4/libtool.m4 +4 -23
  25. data/ext/nutcracker/m4/ltoptions.m4 +0 -0
  26. data/ext/nutcracker/m4/ltsugar.m4 +0 -0
  27. data/ext/nutcracker/m4/ltversion.m4 +0 -0
  28. data/ext/nutcracker/m4/lt~obsolete.m4 +0 -0
  29. data/ext/nutcracker/notes/recommendation.md +1 -1
  30. data/ext/nutcracker/notes/redis.md +35 -3
  31. data/ext/nutcracker/scripts/benchmark-mget.py +43 -0
  32. data/ext/nutcracker/scripts/nutcracker.spec +61 -3
  33. data/ext/nutcracker/scripts/redis-check.sh +43 -0
  34. data/ext/nutcracker/src/Makefile.in +205 -142
  35. data/ext/nutcracker/src/event/Makefile.in +164 -66
  36. data/ext/nutcracker/src/hashkit/Makefile.in +164 -66
  37. data/ext/nutcracker/src/nc_conf.c +2 -0
  38. data/ext/nutcracker/src/nc_connection.c +31 -0
  39. data/ext/nutcracker/src/nc_connection.h +3 -0
  40. data/ext/nutcracker/src/nc_core.c +38 -2
  41. data/ext/nutcracker/src/nc_core.h +11 -0
  42. data/ext/nutcracker/src/nc_log.c +90 -12
  43. data/ext/nutcracker/src/nc_log.h +11 -0
  44. data/ext/nutcracker/src/nc_mbuf.h +1 -1
  45. data/ext/nutcracker/src/nc_message.c +162 -116
  46. data/ext/nutcracker/src/nc_message.h +161 -129
  47. data/ext/nutcracker/src/nc_proxy.c +34 -4
  48. data/ext/nutcracker/src/nc_request.c +158 -32
  49. data/ext/nutcracker/src/nc_server.c +59 -5
  50. data/ext/nutcracker/src/nc_server.h +1 -0
  51. data/ext/nutcracker/src/nc_signal.c +2 -2
  52. data/ext/nutcracker/src/nc_stats.c +21 -0
  53. data/ext/nutcracker/src/nc_stats.h +28 -26
  54. data/ext/nutcracker/src/nc_string.c +176 -1
  55. data/ext/nutcracker/src/nc_string.h +26 -0
  56. data/ext/nutcracker/src/nc_util.c +12 -0
  57. data/ext/nutcracker/src/nc_util.h +1 -0
  58. data/ext/nutcracker/src/proto/Makefile.in +164 -66
  59. data/ext/nutcracker/src/proto/nc_memcache.c +279 -88
  60. data/ext/nutcracker/src/proto/nc_proto.h +3 -4
  61. data/ext/nutcracker/src/proto/nc_redis.c +561 -134
  62. data/lib/nutcracker/version.rb +1 -1
  63. metadata +31 -67
  64. data/ext/nutcracker/contrib/yaml-0.1.4/LICENSE +0 -19
  65. data/ext/nutcracker/contrib/yaml-0.1.4/Makefile.am +0 -20
  66. data/ext/nutcracker/contrib/yaml-0.1.4/Makefile.in +0 -736
  67. data/ext/nutcracker/contrib/yaml-0.1.4/README +0 -27
  68. data/ext/nutcracker/contrib/yaml-0.1.4/aclocal.m4 +0 -956
  69. data/ext/nutcracker/contrib/yaml-0.1.4/config.h.in +0 -80
  70. data/ext/nutcracker/contrib/yaml-0.1.4/config/config.guess +0 -1561
  71. data/ext/nutcracker/contrib/yaml-0.1.4/config/config.sub +0 -1686
  72. data/ext/nutcracker/contrib/yaml-0.1.4/config/depcomp +0 -630
  73. data/ext/nutcracker/contrib/yaml-0.1.4/config/install-sh +0 -520
  74. data/ext/nutcracker/contrib/yaml-0.1.4/config/ltmain.sh +0 -8406
  75. data/ext/nutcracker/contrib/yaml-0.1.4/config/missing +0 -376
  76. data/ext/nutcracker/contrib/yaml-0.1.4/configure.ac +0 -75
  77. data/ext/nutcracker/contrib/yaml-0.1.4/doc/doxygen.cfg +0 -222
  78. data/ext/nutcracker/contrib/yaml-0.1.4/include/yaml.h +0 -1971
  79. data/ext/nutcracker/contrib/yaml-0.1.4/m4/libtool.m4 +0 -7357
  80. data/ext/nutcracker/contrib/yaml-0.1.4/m4/ltoptions.m4 +0 -368
  81. data/ext/nutcracker/contrib/yaml-0.1.4/m4/ltsugar.m4 +0 -123
  82. data/ext/nutcracker/contrib/yaml-0.1.4/m4/ltversion.m4 +0 -23
  83. data/ext/nutcracker/contrib/yaml-0.1.4/m4/lt~obsolete.m4 +0 -92
  84. data/ext/nutcracker/contrib/yaml-0.1.4/src/Makefile.am +0 -4
  85. data/ext/nutcracker/contrib/yaml-0.1.4/src/Makefile.in +0 -484
  86. data/ext/nutcracker/contrib/yaml-0.1.4/src/api.c +0 -1392
  87. data/ext/nutcracker/contrib/yaml-0.1.4/src/dumper.c +0 -394
  88. data/ext/nutcracker/contrib/yaml-0.1.4/src/emitter.c +0 -2329
  89. data/ext/nutcracker/contrib/yaml-0.1.4/src/loader.c +0 -432
  90. data/ext/nutcracker/contrib/yaml-0.1.4/src/parser.c +0 -1374
  91. data/ext/nutcracker/contrib/yaml-0.1.4/src/reader.c +0 -465
  92. data/ext/nutcracker/contrib/yaml-0.1.4/src/scanner.c +0 -3570
  93. data/ext/nutcracker/contrib/yaml-0.1.4/src/writer.c +0 -141
  94. data/ext/nutcracker/contrib/yaml-0.1.4/src/yaml_private.h +0 -640
  95. data/ext/nutcracker/contrib/yaml-0.1.4/tests/Makefile.am +0 -8
  96. data/ext/nutcracker/contrib/yaml-0.1.4/tests/Makefile.in +0 -675
  97. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor-alt.c +0 -800
  98. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor.c +0 -1130
  99. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter-alt.c +0 -217
  100. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter.c +0 -202
  101. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-dumper.c +0 -311
  102. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-emitter.c +0 -327
  103. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-loader.c +0 -63
  104. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-parser.c +0 -63
  105. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-scanner.c +0 -63
  106. data/ext/nutcracker/contrib/yaml-0.1.4/tests/test-reader.c +0 -354
  107. data/ext/nutcracker/contrib/yaml-0.1.4/tests/test-version.c +0 -29
@@ -1,13 +1,11 @@
1
1
  #! /bin/sh
2
2
  # Guess values for system-dependent variables and create Makefiles.
3
- # Generated by GNU Autoconf 2.68 for nutcracker 0.3.0.
3
+ # Generated by GNU Autoconf 2.69 for nutcracker 0.3.0.
4
4
  #
5
5
  # Report bugs to <manj@cs.stanford.edu>.
6
6
  #
7
7
  #
8
- # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
- # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10
- # Foundation, Inc.
8
+ # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11
9
  #
12
10
  #
13
11
  # This configure script is free software; the Free Software Foundation
@@ -136,6 +134,31 @@ export LANGUAGE
136
134
  # CDPATH.
137
135
  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
136
 
137
+ # Use a proper internal environment variable to ensure we don't fall
138
+ # into an infinite loop, continuously re-executing ourselves.
139
+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140
+ _as_can_reexec=no; export _as_can_reexec;
141
+ # We cannot yet assume a decent shell, so we have to provide a
142
+ # neutralization value for shells without unset; and this also
143
+ # works around shells that cannot unset nonexistent variables.
144
+ # Preserve -v and -x to the replacement shell.
145
+ BASH_ENV=/dev/null
146
+ ENV=/dev/null
147
+ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148
+ case $- in # ((((
149
+ *v*x* | *x*v* ) as_opts=-vx ;;
150
+ *v* ) as_opts=-v ;;
151
+ *x* ) as_opts=-x ;;
152
+ * ) as_opts= ;;
153
+ esac
154
+ exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155
+ # Admittedly, this is quite paranoid, since all the known shells bail
156
+ # out after a failed `exec'.
157
+ $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158
+ as_fn_exit 255
159
+ fi
160
+ # We don't want this to propagate to other subprocesses.
161
+ { _as_can_reexec=; unset _as_can_reexec;}
139
162
  if test "x$CONFIG_SHELL" = x; then
140
163
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141
164
  emulate sh
@@ -169,7 +192,8 @@ if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
192
  else
170
193
  exitcode=1; echo positional parameters were not saved.
171
194
  fi
172
- test x\$exitcode = x0 || exit 1"
195
+ test x\$exitcode = x0 || exit 1
196
+ test -x / || exit 1"
173
197
  as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174
198
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
199
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
@@ -222,21 +246,25 @@ IFS=$as_save_IFS
222
246
 
223
247
 
224
248
  if test "x$CONFIG_SHELL" != x; then :
225
- # We cannot yet assume a decent shell, so we have to provide a
226
- # neutralization value for shells without unset; and this also
227
- # works around shells that cannot unset nonexistent variables.
228
- # Preserve -v and -x to the replacement shell.
229
- BASH_ENV=/dev/null
230
- ENV=/dev/null
231
- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232
- export CONFIG_SHELL
233
- case $- in # ((((
234
- *v*x* | *x*v* ) as_opts=-vx ;;
235
- *v* ) as_opts=-v ;;
236
- *x* ) as_opts=-x ;;
237
- * ) as_opts= ;;
238
- esac
239
- exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
249
+ export CONFIG_SHELL
250
+ # We cannot yet assume a decent shell, so we have to provide a
251
+ # neutralization value for shells without unset; and this also
252
+ # works around shells that cannot unset nonexistent variables.
253
+ # Preserve -v and -x to the replacement shell.
254
+ BASH_ENV=/dev/null
255
+ ENV=/dev/null
256
+ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257
+ case $- in # ((((
258
+ *v*x* | *x*v* ) as_opts=-vx ;;
259
+ *v* ) as_opts=-v ;;
260
+ *x* ) as_opts=-x ;;
261
+ * ) as_opts= ;;
262
+ esac
263
+ exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264
+ # Admittedly, this is quite paranoid, since all the known shells bail
265
+ # out after a failed `exec'.
266
+ $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267
+ exit 255
240
268
  fi
241
269
 
242
270
  if test x$as_have_required = xno; then :
@@ -338,6 +366,14 @@ $as_echo X"$as_dir" |
338
366
 
339
367
 
340
368
  } # as_fn_mkdir_p
369
+
370
+ # as_fn_executable_p FILE
371
+ # -----------------------
372
+ # Test if FILE is an executable regular file.
373
+ as_fn_executable_p ()
374
+ {
375
+ test -f "$1" && test -x "$1"
376
+ } # as_fn_executable_p
341
377
  # as_fn_append VAR VALUE
342
378
  # ----------------------
343
379
  # Append the text in VALUE to the end of the definition contained in VAR. Take
@@ -459,6 +495,10 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
459
495
  chmod +x "$as_me.lineno" ||
460
496
  { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
461
497
 
498
+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
499
+ # already done that, so ensure we don't try to do so again and fall
500
+ # in an infinite loop. This has already happened in practice.
501
+ _as_can_reexec=no; export _as_can_reexec
462
502
  # Don't try to exec as it changes $[0], causing all sort of problems
463
503
  # (the dirname of $[0] is not the place where we might find the
464
504
  # original and so on. Autoconf is especially sensitive to this).
@@ -493,16 +533,16 @@ if (echo >conf$$.file) 2>/dev/null; then
493
533
  # ... but there are two gotchas:
494
534
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
495
535
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
496
- # In both cases, we have to default to `cp -p'.
536
+ # In both cases, we have to default to `cp -pR'.
497
537
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
498
- as_ln_s='cp -p'
538
+ as_ln_s='cp -pR'
499
539
  elif ln conf$$.file conf$$ 2>/dev/null; then
500
540
  as_ln_s=ln
501
541
  else
502
- as_ln_s='cp -p'
542
+ as_ln_s='cp -pR'
503
543
  fi
504
544
  else
505
- as_ln_s='cp -p'
545
+ as_ln_s='cp -pR'
506
546
  fi
507
547
  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
508
548
  rmdir conf$$.dir 2>/dev/null
@@ -514,28 +554,8 @@ else
514
554
  as_mkdir_p=false
515
555
  fi
516
556
 
517
- if test -x / >/dev/null 2>&1; then
518
- as_test_x='test -x'
519
- else
520
- if ls -dL / >/dev/null 2>&1; then
521
- as_ls_L_option=L
522
- else
523
- as_ls_L_option=
524
- fi
525
- as_test_x='
526
- eval sh -c '\''
527
- if test -d "$1"; then
528
- test -d "$1/.";
529
- else
530
- case $1 in #(
531
- -*)set "./$1";;
532
- esac;
533
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
534
- ???[sx]*):;;*)false;;esac;fi
535
- '\'' sh
536
- '
537
- fi
538
- as_executable_p=$as_test_x
557
+ as_test_x='test -x'
558
+ as_executable_p=as_fn_executable_p
539
559
 
540
560
  # Sed expression to map a string onto a valid CPP name.
541
561
  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -677,6 +697,10 @@ CPPFLAGS
677
697
  LDFLAGS
678
698
  CFLAGS
679
699
  CC
700
+ AM_BACKSLASH
701
+ AM_DEFAULT_VERBOSITY
702
+ AM_DEFAULT_V
703
+ AM_V
680
704
  am__untar
681
705
  am__tar
682
706
  AMTAR
@@ -741,6 +765,7 @@ SHELL'
741
765
  ac_subst_files=''
742
766
  ac_user_opts='
743
767
  enable_option_checking
768
+ enable_silent_rules
744
769
  enable_dependency_tracking
745
770
  enable_shared
746
771
  enable_static
@@ -1220,8 +1245,6 @@ target=$target_alias
1220
1245
  if test "x$host_alias" != x; then
1221
1246
  if test "x$build_alias" = x; then
1222
1247
  cross_compiling=maybe
1223
- $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1224
- If a cross compiler is detected then cross compile mode will be used" >&2
1225
1248
  elif test "x$build_alias" != "x$host_alias"; then
1226
1249
  cross_compiling=yes
1227
1250
  fi
@@ -1385,8 +1408,12 @@ Optional Features:
1385
1408
  --disable-option-checking ignore unrecognized --enable/--with options
1386
1409
  --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1387
1410
  --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1388
- --disable-dependency-tracking speeds up one-time build
1389
- --enable-dependency-tracking do not reject slow dependency extractors
1411
+ --enable-silent-rules less verbose build output (undo: "make V=1")
1412
+ --disable-silent-rules verbose build output (undo: "make V=0")
1413
+ --enable-dependency-tracking
1414
+ do not reject slow dependency extractors
1415
+ --disable-dependency-tracking
1416
+ speeds up one-time build
1390
1417
  --enable-shared[=PKGS] build shared libraries [default=yes]
1391
1418
  --enable-static[=PKGS] build static libraries [default=yes]
1392
1419
  --enable-fast-install[=PKGS]
@@ -1487,9 +1514,9 @@ test -n "$ac_init_help" && exit $ac_status
1487
1514
  if $ac_init_version; then
1488
1515
  cat <<\_ACEOF
1489
1516
  nutcracker configure 0.3.0
1490
- generated by GNU Autoconf 2.68
1517
+ generated by GNU Autoconf 2.69
1491
1518
 
1492
- Copyright (C) 2010 Free Software Foundation, Inc.
1519
+ Copyright (C) 2012 Free Software Foundation, Inc.
1493
1520
  This configure script is free software; the Free Software Foundation
1494
1521
  gives unlimited permission to copy, distribute and modify it.
1495
1522
  _ACEOF
@@ -1640,7 +1667,7 @@ $as_echo "$ac_try_echo"; } >&5
1640
1667
  test ! -s conftest.err
1641
1668
  } && test -s conftest$ac_exeext && {
1642
1669
  test "$cross_compiling" = yes ||
1643
- $as_test_x conftest$ac_exeext
1670
+ test -x conftest$ac_exeext
1644
1671
  }; then :
1645
1672
  ac_retval=0
1646
1673
  else
@@ -1863,7 +1890,7 @@ $as_echo "$ac_try_echo"; } >&5
1863
1890
  test ! -s conftest.err
1864
1891
  } && test -s conftest$ac_exeext && {
1865
1892
  test "$cross_compiling" = yes ||
1866
- $as_test_x conftest$ac_exeext
1893
+ test -x conftest$ac_exeext
1867
1894
  }; then :
1868
1895
  ac_retval=0
1869
1896
  else
@@ -1907,7 +1934,8 @@ int
1907
1934
  main ()
1908
1935
  {
1909
1936
  static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1910
- test_array [0] = 0
1937
+ test_array [0] = 0;
1938
+ return test_array [0];
1911
1939
 
1912
1940
  ;
1913
1941
  return 0;
@@ -1923,7 +1951,8 @@ main ()
1923
1951
  {
1924
1952
  static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1925
1953
  < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1926
- test_array [0] = 0
1954
+ test_array [0] = 0;
1955
+ return test_array [0];
1927
1956
 
1928
1957
  ;
1929
1958
  return 0;
@@ -2034,7 +2063,8 @@ int
2034
2063
  main ()
2035
2064
  {
2036
2065
  static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2037
- test_array [0] = 0
2066
+ test_array [0] = 0;
2067
+ return test_array [0];
2038
2068
 
2039
2069
  ;
2040
2070
  return 0;
@@ -2158,7 +2188,7 @@ This file contains any messages produced by compilers while
2158
2188
  running configure, to aid debugging if configure makes a mistake.
2159
2189
 
2160
2190
  It was created by nutcracker $as_me 0.3.0, which was
2161
- generated by GNU Autoconf 2.68. Invocation command line was
2191
+ generated by GNU Autoconf 2.69. Invocation command line was
2162
2192
 
2163
2193
  $ $0 $@
2164
2194
 
@@ -2540,7 +2570,7 @@ ac_config_headers="$ac_config_headers config.h:config.h.in"
2540
2570
 
2541
2571
 
2542
2572
  # Initialize automake
2543
- am__api_version='1.11'
2573
+ am__api_version='1.14'
2544
2574
 
2545
2575
  # Find a good install program. We prefer a C program (faster),
2546
2576
  # so one script is as good as another. But avoid the broken or
@@ -2579,7 +2609,7 @@ case $as_dir/ in #((
2579
2609
  # by default.
2580
2610
  for ac_prog in ginstall scoinst install; do
2581
2611
  for ac_exec_ext in '' $ac_executable_extensions; do
2582
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2612
+ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2583
2613
  if test $ac_prog = install &&
2584
2614
  grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2585
2615
  # AIX install. It has an incompatible calling convention.
@@ -2637,9 +2667,6 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2637
2667
 
2638
2668
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2639
2669
  $as_echo_n "checking whether build environment is sane... " >&6; }
2640
- # Just in case
2641
- sleep 1
2642
- echo timestamp > conftest.file
2643
2670
  # Reject unsafe characters in $srcdir or the absolute working directory
2644
2671
  # name. Accept space and tab only in the latter.
2645
2672
  am_lf='
@@ -2650,32 +2677,40 @@ case `pwd` in
2650
2677
  esac
2651
2678
  case $srcdir in
2652
2679
  *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2653
- as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2680
+ as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2654
2681
  esac
2655
2682
 
2656
- # Do `set' in a subshell so we don't clobber the current shell's
2683
+ # Do 'set' in a subshell so we don't clobber the current shell's
2657
2684
  # arguments. Must try -L first in case configure is actually a
2658
2685
  # symlink; some systems play weird games with the mod time of symlinks
2659
2686
  # (eg FreeBSD returns the mod time of the symlink's containing
2660
2687
  # directory).
2661
2688
  if (
2662
- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2663
- if test "$*" = "X"; then
2664
- # -L didn't work.
2665
- set X `ls -t "$srcdir/configure" conftest.file`
2666
- fi
2667
- rm -f conftest.file
2668
- if test "$*" != "X $srcdir/configure conftest.file" \
2669
- && test "$*" != "X conftest.file $srcdir/configure"; then
2670
-
2671
- # If neither matched, then we have a broken ls. This can happen
2672
- # if, for instance, CONFIG_SHELL is bash and it inherits a
2673
- # broken ls alias from the environment. This has actually
2674
- # happened. Such a system could not be considered "sane".
2675
- as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2676
- alias in your environment" "$LINENO" 5
2677
- fi
2678
-
2689
+ am_has_slept=no
2690
+ for am_try in 1 2; do
2691
+ echo "timestamp, slept: $am_has_slept" > conftest.file
2692
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2693
+ if test "$*" = "X"; then
2694
+ # -L didn't work.
2695
+ set X `ls -t "$srcdir/configure" conftest.file`
2696
+ fi
2697
+ if test "$*" != "X $srcdir/configure conftest.file" \
2698
+ && test "$*" != "X conftest.file $srcdir/configure"; then
2699
+
2700
+ # If neither matched, then we have a broken ls. This can happen
2701
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
2702
+ # broken ls alias from the environment. This has actually
2703
+ # happened. Such a system could not be considered "sane".
2704
+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2705
+ alias in your environment" "$LINENO" 5
2706
+ fi
2707
+ if test "$2" = conftest.file || test $am_try -eq 2; then
2708
+ break
2709
+ fi
2710
+ # Just in case.
2711
+ sleep 1
2712
+ am_has_slept=yes
2713
+ done
2679
2714
  test "$2" = conftest.file
2680
2715
  )
2681
2716
  then
@@ -2687,6 +2722,16 @@ Check your system clock" "$LINENO" 5
2687
2722
  fi
2688
2723
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2689
2724
  $as_echo "yes" >&6; }
2725
+ # If we didn't sleep, we still need to ensure time stamps of config.status and
2726
+ # generated files are strictly newer.
2727
+ am_sleep_pid=
2728
+ if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2729
+ ( sleep 1 ) &
2730
+ am_sleep_pid=$!
2731
+ fi
2732
+
2733
+ rm -f conftest.file
2734
+
2690
2735
  test "$program_prefix" != NONE &&
2691
2736
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2692
2737
  # Use a double $ so make ignores it.
@@ -2709,12 +2754,12 @@ if test x"${MISSING+set}" != xset; then
2709
2754
  esac
2710
2755
  fi
2711
2756
  # Use eval to expand $SHELL
2712
- if eval "$MISSING --run true"; then
2713
- am_missing_run="$MISSING --run "
2757
+ if eval "$MISSING --is-lightweight"; then
2758
+ am_missing_run="$MISSING "
2714
2759
  else
2715
2760
  am_missing_run=
2716
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2717
- $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2761
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2762
+ $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2718
2763
  fi
2719
2764
 
2720
2765
  if test x"${install_sh}" != xset; then
@@ -2726,10 +2771,10 @@ if test x"${install_sh}" != xset; then
2726
2771
  esac
2727
2772
  fi
2728
2773
 
2729
- # Installed binaries are usually stripped using `strip' when the user
2730
- # run `make install-strip'. However `strip' might not be the right
2774
+ # Installed binaries are usually stripped using 'strip' when the user
2775
+ # run "make install-strip". However 'strip' might not be the right
2731
2776
  # tool to use in cross-compilation environments, therefore Automake
2732
- # will honor the `STRIP' environment variable to overrule this program.
2777
+ # will honor the 'STRIP' environment variable to overrule this program.
2733
2778
  if test "$cross_compiling" != no; then
2734
2779
  if test -n "$ac_tool_prefix"; then
2735
2780
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
@@ -2748,7 +2793,7 @@ do
2748
2793
  IFS=$as_save_IFS
2749
2794
  test -z "$as_dir" && as_dir=.
2750
2795
  for ac_exec_ext in '' $ac_executable_extensions; do
2751
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2796
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2752
2797
  ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2753
2798
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2754
2799
  break 2
@@ -2788,7 +2833,7 @@ do
2788
2833
  IFS=$as_save_IFS
2789
2834
  test -z "$as_dir" && as_dir=.
2790
2835
  for ac_exec_ext in '' $ac_executable_extensions; do
2791
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2836
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2792
2837
  ac_cv_prog_ac_ct_STRIP="strip"
2793
2838
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2794
2839
  break 2
@@ -2839,7 +2884,7 @@ do
2839
2884
  test -z "$as_dir" && as_dir=.
2840
2885
  for ac_prog in mkdir gmkdir; do
2841
2886
  for ac_exec_ext in '' $ac_executable_extensions; do
2842
- { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2887
+ as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2843
2888
  case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2844
2889
  'mkdir (GNU coreutils) '* | \
2845
2890
  'mkdir (coreutils) '* | \
@@ -2868,12 +2913,6 @@ fi
2868
2913
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2869
2914
  $as_echo "$MKDIR_P" >&6; }
2870
2915
 
2871
- mkdir_p="$MKDIR_P"
2872
- case $mkdir_p in
2873
- [\\/$]* | ?:[\\/]*) ;;
2874
- */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2875
- esac
2876
-
2877
2916
  for ac_prog in gawk mawk nawk awk
2878
2917
  do
2879
2918
  # Extract the first word of "$ac_prog", so it can be a program name with args.
@@ -2892,7 +2931,7 @@ do
2892
2931
  IFS=$as_save_IFS
2893
2932
  test -z "$as_dir" && as_dir=.
2894
2933
  for ac_exec_ext in '' $ac_executable_extensions; do
2895
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2934
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2896
2935
  ac_cv_prog_AWK="$ac_prog"
2897
2936
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2898
2937
  break 2
@@ -2956,6 +2995,45 @@ else
2956
2995
  fi
2957
2996
  rmdir .tst 2>/dev/null
2958
2997
 
2998
+ # Check whether --enable-silent-rules was given.
2999
+ if test "${enable_silent_rules+set}" = set; then :
3000
+ enableval=$enable_silent_rules;
3001
+ fi
3002
+
3003
+ case $enable_silent_rules in # (((
3004
+ yes) AM_DEFAULT_VERBOSITY=0;;
3005
+ no) AM_DEFAULT_VERBOSITY=1;;
3006
+ *) AM_DEFAULT_VERBOSITY=1;;
3007
+ esac
3008
+ am_make=${MAKE-make}
3009
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3010
+ $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3011
+ if ${am_cv_make_support_nested_variables+:} false; then :
3012
+ $as_echo_n "(cached) " >&6
3013
+ else
3014
+ if $as_echo 'TRUE=$(BAR$(V))
3015
+ BAR0=false
3016
+ BAR1=true
3017
+ V=1
3018
+ am__doit:
3019
+ @$(TRUE)
3020
+ .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3021
+ am_cv_make_support_nested_variables=yes
3022
+ else
3023
+ am_cv_make_support_nested_variables=no
3024
+ fi
3025
+ fi
3026
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3027
+ $as_echo "$am_cv_make_support_nested_variables" >&6; }
3028
+ if test $am_cv_make_support_nested_variables = yes; then
3029
+ AM_V='$(V)'
3030
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3031
+ else
3032
+ AM_V=$AM_DEFAULT_VERBOSITY
3033
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3034
+ fi
3035
+ AM_BACKSLASH='\'
3036
+
2959
3037
  if test "`cd $srcdir && pwd`" != "`pwd`"; then
2960
3038
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2961
3039
  # is not polluted with repeated "-I."
@@ -3006,12 +3084,22 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3006
3084
 
3007
3085
  MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3008
3086
 
3087
+ # For better backward compatibility. To be removed once Automake 1.9.x
3088
+ # dies out for good. For more background, see:
3089
+ # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3090
+ # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3091
+ mkdir_p='$(MKDIR_P)'
3092
+
3009
3093
  # We need awk for the "check" target. The system "awk" is bad on
3010
3094
  # some platforms.
3011
3095
  # Always define AMTAR for backward compatibility. Yes, it's still used
3012
3096
  # in the wild :-( We should find a proper way to deprecate it ...
3013
3097
  AMTAR='$${TAR-tar}'
3014
3098
 
3099
+
3100
+ # We'll loop over all known methods to create a tar archive until one works.
3101
+ _am_tools='gnutar pax cpio none'
3102
+
3015
3103
  am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3016
3104
 
3017
3105
 
@@ -3019,6 +3107,48 @@ am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3019
3107
 
3020
3108
 
3021
3109
 
3110
+ # POSIX will say in a future version that running "rm -f" with no argument
3111
+ # is OK; and we want to be able to make that assumption in our Makefile
3112
+ # recipes. So use an aggressive probe to check that the usage we want is
3113
+ # actually supported "in the wild" to an acceptable degree.
3114
+ # See automake bug#10828.
3115
+ # To make any issue more visible, cause the running configure to be aborted
3116
+ # by default if the 'rm' program in use doesn't match our expectations; the
3117
+ # user can still override this though.
3118
+ if rm -f && rm -fr && rm -rf; then : OK; else
3119
+ cat >&2 <<'END'
3120
+ Oops!
3121
+
3122
+ Your 'rm' program seems unable to run without file operands specified
3123
+ on the command line, even when the '-f' option is present. This is contrary
3124
+ to the behaviour of most rm programs out there, and not conforming with
3125
+ the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3126
+
3127
+ Please tell bug-automake@gnu.org about your system, including the value
3128
+ of your $PATH and any error possibly output before this message. This
3129
+ can help us improve future automake versions.
3130
+
3131
+ END
3132
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3133
+ echo 'Configuration will proceed anyway, since you have set the' >&2
3134
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3135
+ echo >&2
3136
+ else
3137
+ cat >&2 <<'END'
3138
+ Aborting the configuration process, to ensure you take notice of the issue.
3139
+
3140
+ You can download and install GNU coreutils to get an 'rm' implementation
3141
+ that behaves properly: <http://www.gnu.org/software/coreutils/>.
3142
+
3143
+ If you want to complete the configuration process using your problematic
3144
+ 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3145
+ to "yes", and re-run configure.
3146
+
3147
+ END
3148
+ as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3149
+ fi
3150
+ fi
3151
+
3022
3152
  # Define macro variables for the package version numbers
3023
3153
 
3024
3154
  $as_echo "#define NC_VERSION_MAJOR 0" >>confdefs.h
@@ -3060,7 +3190,7 @@ do
3060
3190
  IFS=$as_save_IFS
3061
3191
  test -z "$as_dir" && as_dir=.
3062
3192
  for ac_exec_ext in '' $ac_executable_extensions; do
3063
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3193
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3064
3194
  ac_cv_prog_AWK="$ac_prog"
3065
3195
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3066
3196
  break 2
@@ -3106,7 +3236,7 @@ do
3106
3236
  IFS=$as_save_IFS
3107
3237
  test -z "$as_dir" && as_dir=.
3108
3238
  for ac_exec_ext in '' $ac_executable_extensions; do
3109
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3239
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3110
3240
  ac_cv_prog_CC="${ac_tool_prefix}gcc"
3111
3241
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3112
3242
  break 2
@@ -3146,7 +3276,7 @@ do
3146
3276
  IFS=$as_save_IFS
3147
3277
  test -z "$as_dir" && as_dir=.
3148
3278
  for ac_exec_ext in '' $ac_executable_extensions; do
3149
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3279
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3150
3280
  ac_cv_prog_ac_ct_CC="gcc"
3151
3281
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3152
3282
  break 2
@@ -3199,7 +3329,7 @@ do
3199
3329
  IFS=$as_save_IFS
3200
3330
  test -z "$as_dir" && as_dir=.
3201
3331
  for ac_exec_ext in '' $ac_executable_extensions; do
3202
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3332
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3203
3333
  ac_cv_prog_CC="${ac_tool_prefix}cc"
3204
3334
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3205
3335
  break 2
@@ -3240,7 +3370,7 @@ do
3240
3370
  IFS=$as_save_IFS
3241
3371
  test -z "$as_dir" && as_dir=.
3242
3372
  for ac_exec_ext in '' $ac_executable_extensions; do
3243
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3373
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3244
3374
  if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3245
3375
  ac_prog_rejected=yes
3246
3376
  continue
@@ -3298,7 +3428,7 @@ do
3298
3428
  IFS=$as_save_IFS
3299
3429
  test -z "$as_dir" && as_dir=.
3300
3430
  for ac_exec_ext in '' $ac_executable_extensions; do
3301
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3431
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3302
3432
  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3303
3433
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3304
3434
  break 2
@@ -3342,7 +3472,7 @@ do
3342
3472
  IFS=$as_save_IFS
3343
3473
  test -z "$as_dir" && as_dir=.
3344
3474
  for ac_exec_ext in '' $ac_executable_extensions; do
3345
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3475
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3346
3476
  ac_cv_prog_ac_ct_CC="$ac_prog"
3347
3477
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3348
3478
  break 2
@@ -3788,8 +3918,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3788
3918
  /* end confdefs.h. */
3789
3919
  #include <stdarg.h>
3790
3920
  #include <stdio.h>
3791
- #include <sys/types.h>
3792
- #include <sys/stat.h>
3921
+ struct stat;
3793
3922
  /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3794
3923
  struct buf { int x; };
3795
3924
  FILE * (*rcsopen) (struct buf *, struct stat *, int);
@@ -3873,6 +4002,65 @@ ac_cpp='$CPP $CPPFLAGS'
3873
4002
  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3874
4003
  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3875
4004
  ac_compiler_gnu=$ac_cv_c_compiler_gnu
4005
+
4006
+ ac_ext=c
4007
+ ac_cpp='$CPP $CPPFLAGS'
4008
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4009
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4010
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
4011
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4012
+ $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4013
+ if ${am_cv_prog_cc_c_o+:} false; then :
4014
+ $as_echo_n "(cached) " >&6
4015
+ else
4016
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4017
+ /* end confdefs.h. */
4018
+
4019
+ int
4020
+ main ()
4021
+ {
4022
+
4023
+ ;
4024
+ return 0;
4025
+ }
4026
+ _ACEOF
4027
+ # Make sure it works both with $CC and with simple cc.
4028
+ # Following AC_PROG_CC_C_O, we do the test twice because some
4029
+ # compilers refuse to overwrite an existing .o file with -o,
4030
+ # though they will create one.
4031
+ am_cv_prog_cc_c_o=yes
4032
+ for am_i in 1 2; do
4033
+ if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4034
+ ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4035
+ ac_status=$?
4036
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037
+ (exit $ac_status); } \
4038
+ && test -f conftest2.$ac_objext; then
4039
+ : OK
4040
+ else
4041
+ am_cv_prog_cc_c_o=no
4042
+ break
4043
+ fi
4044
+ done
4045
+ rm -f core conftest*
4046
+ unset am_i
4047
+ fi
4048
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4049
+ $as_echo "$am_cv_prog_cc_c_o" >&6; }
4050
+ if test "$am_cv_prog_cc_c_o" != yes; then
4051
+ # Losing compiler, so override with the script.
4052
+ # FIXME: It is wrong to rewrite CC.
4053
+ # But if we don't then we get into trouble of one sort or another.
4054
+ # A longer-term fix would be to have automake use am__CC in this case,
4055
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4056
+ CC="$am_aux_dir/compile $CC"
4057
+ fi
4058
+ ac_ext=c
4059
+ ac_cpp='$CPP $CPPFLAGS'
4060
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4061
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4062
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
4063
+
3876
4064
  DEPDIR="${am__leading_dot}deps"
3877
4065
 
3878
4066
  ac_config_commands="$ac_config_commands depfiles"
@@ -3892,7 +4080,7 @@ am__quote=
3892
4080
  _am_result=none
3893
4081
  # First try GNU make style include.
3894
4082
  echo "include confinc" > confmf
3895
- # Ignore all kinds of additional output from `make'.
4083
+ # Ignore all kinds of additional output from 'make'.
3896
4084
  case `$am_make -s -f confmf 2> /dev/null` in #(
3897
4085
  *the\ am__doit\ target*)
3898
4086
  am__include=include
@@ -3948,8 +4136,8 @@ else
3948
4136
  # We make a subdir and do the tests there. Otherwise we can end up
3949
4137
  # making bogus files that we don't know about and never remove. For
3950
4138
  # instance it was reported that on HP-UX the gcc test will end up
3951
- # making a dummy file named `D' -- because `-MD' means `put the output
3952
- # in D'.
4139
+ # making a dummy file named 'D' -- because '-MD' means "put the output
4140
+ # in D".
3953
4141
  rm -rf conftest.dir
3954
4142
  mkdir conftest.dir
3955
4143
  # Copy depcomp to subdir because otherwise we won't find it if we're
@@ -3984,16 +4172,16 @@ else
3984
4172
  : > sub/conftest.c
3985
4173
  for i in 1 2 3 4 5 6; do
3986
4174
  echo '#include "conftst'$i'.h"' >> sub/conftest.c
3987
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3988
- # Solaris 8's {/usr,}/bin/sh.
3989
- touch sub/conftst$i.h
4175
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4176
+ # Solaris 10 /bin/sh.
4177
+ echo '/* dummy */' > sub/conftst$i.h
3990
4178
  done
3991
4179
  echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3992
4180
 
3993
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
4181
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
3994
4182
  # mode. It turns out that the SunPro C++ compiler does not properly
3995
- # handle `-M -o', and we need to detect this. Also, some Intel
3996
- # versions had trouble with output in subdirs
4183
+ # handle '-M -o', and we need to detect this. Also, some Intel
4184
+ # versions had trouble with output in subdirs.
3997
4185
  am__obj=sub/conftest.${OBJEXT-o}
3998
4186
  am__minus_obj="-o $am__obj"
3999
4187
  case $depmode in
@@ -4002,8 +4190,8 @@ else
4002
4190
  test "$am__universal" = false || continue
4003
4191
  ;;
4004
4192
  nosideeffect)
4005
- # after this tag, mechanisms are not by side-effect, so they'll
4006
- # only be used when explicitly requested
4193
+ # After this tag, mechanisms are not by side-effect, so they'll
4194
+ # only be used when explicitly requested.
4007
4195
  if test "x$enable_dependency_tracking" = xyes; then
4008
4196
  continue
4009
4197
  else
@@ -4011,7 +4199,7 @@ else
4011
4199
  fi
4012
4200
  ;;
4013
4201
  msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4014
- # This compiler won't grok `-c -o', but also, the minuso test has
4202
+ # This compiler won't grok '-c -o', but also, the minuso test has
4015
4203
  # not run yet. These depmodes are late enough in the game, and
4016
4204
  # so weak that their functioning should not be impacted.
4017
4205
  am__obj=conftest.${OBJEXT-o}
@@ -4230,7 +4418,7 @@ do
4230
4418
  IFS=$as_save_IFS
4231
4419
  test -z "$as_dir" && as_dir=.
4232
4420
  for ac_exec_ext in '' $ac_executable_extensions; do
4233
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4421
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4234
4422
  ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4235
4423
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4236
4424
  break 2
@@ -4274,7 +4462,7 @@ do
4274
4462
  IFS=$as_save_IFS
4275
4463
  test -z "$as_dir" && as_dir=.
4276
4464
  for ac_exec_ext in '' $ac_executable_extensions; do
4277
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4465
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4278
4466
  ac_cv_prog_ac_ct_CXX="$ac_prog"
4279
4467
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4280
4468
  break 2
@@ -4470,8 +4658,8 @@ else
4470
4658
  # We make a subdir and do the tests there. Otherwise we can end up
4471
4659
  # making bogus files that we don't know about and never remove. For
4472
4660
  # instance it was reported that on HP-UX the gcc test will end up
4473
- # making a dummy file named `D' -- because `-MD' means `put the output
4474
- # in D'.
4661
+ # making a dummy file named 'D' -- because '-MD' means "put the output
4662
+ # in D".
4475
4663
  rm -rf conftest.dir
4476
4664
  mkdir conftest.dir
4477
4665
  # Copy depcomp to subdir because otherwise we won't find it if we're
@@ -4506,16 +4694,16 @@ else
4506
4694
  : > sub/conftest.c
4507
4695
  for i in 1 2 3 4 5 6; do
4508
4696
  echo '#include "conftst'$i'.h"' >> sub/conftest.c
4509
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4510
- # Solaris 8's {/usr,}/bin/sh.
4511
- touch sub/conftst$i.h
4697
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4698
+ # Solaris 10 /bin/sh.
4699
+ echo '/* dummy */' > sub/conftst$i.h
4512
4700
  done
4513
4701
  echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4514
4702
 
4515
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
4703
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
4516
4704
  # mode. It turns out that the SunPro C++ compiler does not properly
4517
- # handle `-M -o', and we need to detect this. Also, some Intel
4518
- # versions had trouble with output in subdirs
4705
+ # handle '-M -o', and we need to detect this. Also, some Intel
4706
+ # versions had trouble with output in subdirs.
4519
4707
  am__obj=sub/conftest.${OBJEXT-o}
4520
4708
  am__minus_obj="-o $am__obj"
4521
4709
  case $depmode in
@@ -4524,8 +4712,8 @@ else
4524
4712
  test "$am__universal" = false || continue
4525
4713
  ;;
4526
4714
  nosideeffect)
4527
- # after this tag, mechanisms are not by side-effect, so they'll
4528
- # only be used when explicitly requested
4715
+ # After this tag, mechanisms are not by side-effect, so they'll
4716
+ # only be used when explicitly requested.
4529
4717
  if test "x$enable_dependency_tracking" = xyes; then
4530
4718
  continue
4531
4719
  else
@@ -4533,7 +4721,7 @@ else
4533
4721
  fi
4534
4722
  ;;
4535
4723
  msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4536
- # This compiler won't grok `-c -o', but also, the minuso test has
4724
+ # This compiler won't grok '-c -o', but also, the minuso test has
4537
4725
  # not run yet. These depmodes are late enough in the game, and
4538
4726
  # so weak that their functioning should not be impacted.
4539
4727
  am__obj=conftest.${OBJEXT-o}
@@ -4647,7 +4835,7 @@ do
4647
4835
  IFS=$as_save_IFS
4648
4836
  test -z "$as_dir" && as_dir=.
4649
4837
  for ac_exec_ext in '' $ac_executable_extensions; do
4650
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4838
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4651
4839
  ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4652
4840
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4653
4841
  break 2
@@ -4687,7 +4875,7 @@ do
4687
4875
  IFS=$as_save_IFS
4688
4876
  test -z "$as_dir" && as_dir=.
4689
4877
  for ac_exec_ext in '' $ac_executable_extensions; do
4690
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4878
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4691
4879
  ac_cv_prog_ac_ct_RANLIB="ranlib"
4692
4880
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4693
4881
  break 2
@@ -4909,7 +5097,7 @@ do
4909
5097
  for ac_prog in sed gsed; do
4910
5098
  for ac_exec_ext in '' $ac_executable_extensions; do
4911
5099
  ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4912
- { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5100
+ as_fn_executable_p "$ac_path_SED" || continue
4913
5101
  # Check for GNU ac_path_SED and select it if it is found.
4914
5102
  # Check for GNU $ac_path_SED
4915
5103
  case `"$ac_path_SED" --version 2>&1` in
@@ -4985,7 +5173,7 @@ do
4985
5173
  for ac_prog in grep ggrep; do
4986
5174
  for ac_exec_ext in '' $ac_executable_extensions; do
4987
5175
  ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4988
- { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5176
+ as_fn_executable_p "$ac_path_GREP" || continue
4989
5177
  # Check for GNU ac_path_GREP and select it if it is found.
4990
5178
  # Check for GNU $ac_path_GREP
4991
5179
  case `"$ac_path_GREP" --version 2>&1` in
@@ -5051,7 +5239,7 @@ do
5051
5239
  for ac_prog in egrep; do
5052
5240
  for ac_exec_ext in '' $ac_executable_extensions; do
5053
5241
  ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5054
- { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5242
+ as_fn_executable_p "$ac_path_EGREP" || continue
5055
5243
  # Check for GNU ac_path_EGREP and select it if it is found.
5056
5244
  # Check for GNU $ac_path_EGREP
5057
5245
  case `"$ac_path_EGREP" --version 2>&1` in
@@ -5118,7 +5306,7 @@ do
5118
5306
  for ac_prog in fgrep; do
5119
5307
  for ac_exec_ext in '' $ac_executable_extensions; do
5120
5308
  ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5121
- { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5309
+ as_fn_executable_p "$ac_path_FGREP" || continue
5122
5310
  # Check for GNU ac_path_FGREP and select it if it is found.
5123
5311
  # Check for GNU $ac_path_FGREP
5124
5312
  case `"$ac_path_FGREP" --version 2>&1` in
@@ -5374,7 +5562,7 @@ do
5374
5562
  IFS=$as_save_IFS
5375
5563
  test -z "$as_dir" && as_dir=.
5376
5564
  for ac_exec_ext in '' $ac_executable_extensions; do
5377
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5565
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5378
5566
  ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5379
5567
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5380
5568
  break 2
@@ -5418,7 +5606,7 @@ do
5418
5606
  IFS=$as_save_IFS
5419
5607
  test -z "$as_dir" && as_dir=.
5420
5608
  for ac_exec_ext in '' $ac_executable_extensions; do
5421
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5609
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5422
5610
  ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5423
5611
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5424
5612
  break 2
@@ -5831,7 +6019,7 @@ do
5831
6019
  IFS=$as_save_IFS
5832
6020
  test -z "$as_dir" && as_dir=.
5833
6021
  for ac_exec_ext in '' $ac_executable_extensions; do
5834
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6022
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5835
6023
  ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5836
6024
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5837
6025
  break 2
@@ -5871,7 +6059,7 @@ do
5871
6059
  IFS=$as_save_IFS
5872
6060
  test -z "$as_dir" && as_dir=.
5873
6061
  for ac_exec_ext in '' $ac_executable_extensions; do
5874
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6062
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5875
6063
  ac_cv_prog_ac_ct_OBJDUMP="objdump"
5876
6064
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5877
6065
  break 2
@@ -6043,7 +6231,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
6043
6231
  lt_cv_deplibs_check_method=pass_all
6044
6232
  ;;
6045
6233
 
6046
- netbsd* | netbsdelf*-gnu)
6234
+ netbsd*)
6047
6235
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6048
6236
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6049
6237
  else
@@ -6177,7 +6365,7 @@ do
6177
6365
  IFS=$as_save_IFS
6178
6366
  test -z "$as_dir" && as_dir=.
6179
6367
  for ac_exec_ext in '' $ac_executable_extensions; do
6180
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6368
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6181
6369
  ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6182
6370
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6183
6371
  break 2
@@ -6217,7 +6405,7 @@ do
6217
6405
  IFS=$as_save_IFS
6218
6406
  test -z "$as_dir" && as_dir=.
6219
6407
  for ac_exec_ext in '' $ac_executable_extensions; do
6220
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6408
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6221
6409
  ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6222
6410
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6223
6411
  break 2
@@ -6321,7 +6509,7 @@ do
6321
6509
  IFS=$as_save_IFS
6322
6510
  test -z "$as_dir" && as_dir=.
6323
6511
  for ac_exec_ext in '' $ac_executable_extensions; do
6324
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6512
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6325
6513
  ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6326
6514
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6327
6515
  break 2
@@ -6365,7 +6553,7 @@ do
6365
6553
  IFS=$as_save_IFS
6366
6554
  test -z "$as_dir" && as_dir=.
6367
6555
  for ac_exec_ext in '' $ac_executable_extensions; do
6368
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6556
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6369
6557
  ac_cv_prog_ac_ct_AR="$ac_prog"
6370
6558
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6371
6559
  break 2
@@ -6490,7 +6678,7 @@ do
6490
6678
  IFS=$as_save_IFS
6491
6679
  test -z "$as_dir" && as_dir=.
6492
6680
  for ac_exec_ext in '' $ac_executable_extensions; do
6493
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6681
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6494
6682
  ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6495
6683
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6496
6684
  break 2
@@ -6530,7 +6718,7 @@ do
6530
6718
  IFS=$as_save_IFS
6531
6719
  test -z "$as_dir" && as_dir=.
6532
6720
  for ac_exec_ext in '' $ac_executable_extensions; do
6533
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6721
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6534
6722
  ac_cv_prog_ac_ct_STRIP="strip"
6535
6723
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6536
6724
  break 2
@@ -6589,7 +6777,7 @@ do
6589
6777
  IFS=$as_save_IFS
6590
6778
  test -z "$as_dir" && as_dir=.
6591
6779
  for ac_exec_ext in '' $ac_executable_extensions; do
6592
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6780
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6593
6781
  ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6594
6782
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6595
6783
  break 2
@@ -6629,7 +6817,7 @@ do
6629
6817
  IFS=$as_save_IFS
6630
6818
  test -z "$as_dir" && as_dir=.
6631
6819
  for ac_exec_ext in '' $ac_executable_extensions; do
6632
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6820
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6633
6821
  ac_cv_prog_ac_ct_RANLIB="ranlib"
6634
6822
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6635
6823
  break 2
@@ -7278,7 +7466,7 @@ do
7278
7466
  IFS=$as_save_IFS
7279
7467
  test -z "$as_dir" && as_dir=.
7280
7468
  for ac_exec_ext in '' $ac_executable_extensions; do
7281
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7469
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7282
7470
  ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7283
7471
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7284
7472
  break 2
@@ -7318,7 +7506,7 @@ do
7318
7506
  IFS=$as_save_IFS
7319
7507
  test -z "$as_dir" && as_dir=.
7320
7508
  for ac_exec_ext in '' $ac_executable_extensions; do
7321
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7509
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7322
7510
  ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7323
7511
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7324
7512
  break 2
@@ -7398,7 +7586,7 @@ do
7398
7586
  IFS=$as_save_IFS
7399
7587
  test -z "$as_dir" && as_dir=.
7400
7588
  for ac_exec_ext in '' $ac_executable_extensions; do
7401
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7589
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7402
7590
  ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7403
7591
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7404
7592
  break 2
@@ -7438,7 +7626,7 @@ do
7438
7626
  IFS=$as_save_IFS
7439
7627
  test -z "$as_dir" && as_dir=.
7440
7628
  for ac_exec_ext in '' $ac_executable_extensions; do
7441
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7629
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7442
7630
  ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7443
7631
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7444
7632
  break 2
@@ -7490,7 +7678,7 @@ do
7490
7678
  IFS=$as_save_IFS
7491
7679
  test -z "$as_dir" && as_dir=.
7492
7680
  for ac_exec_ext in '' $ac_executable_extensions; do
7493
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7681
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7494
7682
  ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7495
7683
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7496
7684
  break 2
@@ -7530,7 +7718,7 @@ do
7530
7718
  IFS=$as_save_IFS
7531
7719
  test -z "$as_dir" && as_dir=.
7532
7720
  for ac_exec_ext in '' $ac_executable_extensions; do
7533
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7721
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7534
7722
  ac_cv_prog_ac_ct_NMEDIT="nmedit"
7535
7723
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7536
7724
  break 2
@@ -7582,7 +7770,7 @@ do
7582
7770
  IFS=$as_save_IFS
7583
7771
  test -z "$as_dir" && as_dir=.
7584
7772
  for ac_exec_ext in '' $ac_executable_extensions; do
7585
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7773
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7586
7774
  ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7587
7775
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7588
7776
  break 2
@@ -7622,7 +7810,7 @@ do
7622
7810
  IFS=$as_save_IFS
7623
7811
  test -z "$as_dir" && as_dir=.
7624
7812
  for ac_exec_ext in '' $ac_executable_extensions; do
7625
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7813
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7626
7814
  ac_cv_prog_ac_ct_LIPO="lipo"
7627
7815
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7628
7816
  break 2
@@ -7674,7 +7862,7 @@ do
7674
7862
  IFS=$as_save_IFS
7675
7863
  test -z "$as_dir" && as_dir=.
7676
7864
  for ac_exec_ext in '' $ac_executable_extensions; do
7677
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7865
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7678
7866
  ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7679
7867
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7680
7868
  break 2
@@ -7714,7 +7902,7 @@ do
7714
7902
  IFS=$as_save_IFS
7715
7903
  test -z "$as_dir" && as_dir=.
7716
7904
  for ac_exec_ext in '' $ac_executable_extensions; do
7717
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7905
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7718
7906
  ac_cv_prog_ac_ct_OTOOL="otool"
7719
7907
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7720
7908
  break 2
@@ -7766,7 +7954,7 @@ do
7766
7954
  IFS=$as_save_IFS
7767
7955
  test -z "$as_dir" && as_dir=.
7768
7956
  for ac_exec_ext in '' $ac_executable_extensions; do
7769
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7957
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7770
7958
  ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7771
7959
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7772
7960
  break 2
@@ -7806,7 +7994,7 @@ do
7806
7994
  IFS=$as_save_IFS
7807
7995
  test -z "$as_dir" && as_dir=.
7808
7996
  for ac_exec_ext in '' $ac_executable_extensions; do
7809
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7997
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7810
7998
  ac_cv_prog_ac_ct_OTOOL64="otool64"
7811
7999
  $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7812
8000
  break 2
@@ -9318,9 +9506,6 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
9318
9506
  openbsd*)
9319
9507
  with_gnu_ld=no
9320
9508
  ;;
9321
- linux* | k*bsd*-gnu | gnu*)
9322
- link_all_deplibs=no
9323
- ;;
9324
9509
  esac
9325
9510
 
9326
9511
  ld_shlibs=yes
@@ -9542,7 +9727,7 @@ _LT_EOF
9542
9727
  fi
9543
9728
  ;;
9544
9729
 
9545
- netbsd* | netbsdelf*-gnu)
9730
+ netbsd*)
9546
9731
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9547
9732
  archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9548
9733
  wlarc=
@@ -9719,7 +9904,6 @@ _LT_EOF
9719
9904
  if test "$aix_use_runtimelinking" = yes; then
9720
9905
  shared_flag="$shared_flag "'${wl}-G'
9721
9906
  fi
9722
- link_all_deplibs=no
9723
9907
  else
9724
9908
  # not using gcc
9725
9909
  if test "$host_cpu" = ia64; then
@@ -10173,7 +10357,7 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10173
10357
  link_all_deplibs=yes
10174
10358
  ;;
10175
10359
 
10176
- netbsd* | netbsdelf*-gnu)
10360
+ netbsd*)
10177
10361
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10178
10362
  archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10179
10363
  else
@@ -11201,18 +11385,6 @@ fi
11201
11385
  dynamic_linker='GNU/Linux ld.so'
11202
11386
  ;;
11203
11387
 
11204
- netbsdelf*-gnu)
11205
- version_type=linux
11206
- need_lib_prefix=no
11207
- need_version=no
11208
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11209
- soname_spec='${libname}${release}${shared_ext}$major'
11210
- shlibpath_var=LD_LIBRARY_PATH
11211
- shlibpath_overrides_runpath=no
11212
- hardcode_into_libs=yes
11213
- dynamic_linker='NetBSD ld.elf_so'
11214
- ;;
11215
-
11216
11388
  netbsd*)
11217
11389
  version_type=sunos
11218
11390
  need_lib_prefix=no
@@ -14048,7 +14220,7 @@ lt_prog_compiler_static_CXX=
14048
14220
  ;;
14049
14221
  esac
14050
14222
  ;;
14051
- netbsd* | netbsdelf*-gnu)
14223
+ netbsd*)
14052
14224
  ;;
14053
14225
  *qnx* | *nto*)
14054
14226
  # QNX uses GNU C++, but need to define -shared option too, otherwise
@@ -14419,9 +14591,6 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
14419
14591
  ;;
14420
14592
  esac
14421
14593
  ;;
14422
- linux* | k*bsd*-gnu | gnu*)
14423
- link_all_deplibs_CXX=no
14424
- ;;
14425
14594
  *)
14426
14595
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14427
14596
  ;;
@@ -15047,18 +15216,6 @@ fi
15047
15216
  dynamic_linker='GNU/Linux ld.so'
15048
15217
  ;;
15049
15218
 
15050
- netbsdelf*-gnu)
15051
- version_type=linux
15052
- need_lib_prefix=no
15053
- need_version=no
15054
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15055
- soname_spec='${libname}${release}${shared_ext}$major'
15056
- shlibpath_var=LD_LIBRARY_PATH
15057
- shlibpath_overrides_runpath=no
15058
- hardcode_into_libs=yes
15059
- dynamic_linker='NetBSD ld.elf_so'
15060
- ;;
15061
-
15062
15219
  netbsd*)
15063
15220
  version_type=sunos
15064
15221
  need_lib_prefix=no
@@ -15475,12 +15632,14 @@ _ACEOF
15475
15632
  esac
15476
15633
 
15477
15634
 
15478
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
15479
- $as_echo_n "checking for long long int... " >&6; }
15480
- if ${ac_cv_type_long_long_int+:} false; then :
15635
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
15636
+ $as_echo_n "checking for unsigned long long int... " >&6; }
15637
+ if ${ac_cv_type_unsigned_long_long_int+:} false; then :
15481
15638
  $as_echo_n "(cached) " >&6
15482
15639
  else
15483
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15640
+ ac_cv_type_unsigned_long_long_int=yes
15641
+ if test "x${ac_cv_prog_cc_c99-no}" = xno; then
15642
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15484
15643
  /* end confdefs.h. */
15485
15644
 
15486
15645
  /* For now, do not test the preprocessor; as of 2007 there are too many
@@ -15513,37 +15672,64 @@ main ()
15513
15672
 
15514
15673
  _ACEOF
15515
15674
  if ac_fn_c_try_link "$LINENO"; then :
15516
- if test "$cross_compiling" = yes; then :
15675
+
15676
+ else
15677
+ ac_cv_type_unsigned_long_long_int=no
15678
+ fi
15679
+ rm -f core conftest.err conftest.$ac_objext \
15680
+ conftest$ac_exeext conftest.$ac_ext
15681
+ fi
15682
+ fi
15683
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
15684
+ $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
15685
+ if test $ac_cv_type_unsigned_long_long_int = yes; then
15686
+
15687
+ $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
15688
+
15689
+ fi
15690
+
15691
+
15692
+
15693
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
15694
+ $as_echo_n "checking for long long int... " >&6; }
15695
+ if ${ac_cv_type_long_long_int+:} false; then :
15696
+ $as_echo_n "(cached) " >&6
15697
+ else
15517
15698
  ac_cv_type_long_long_int=yes
15699
+ if test "x${ac_cv_prog_cc_c99-no}" = xno; then
15700
+ ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
15701
+ if test $ac_cv_type_long_long_int = yes; then
15702
+ if test "$cross_compiling" = yes; then :
15703
+ :
15518
15704
  else
15519
15705
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15520
15706
  /* end confdefs.h. */
15521
15707
  #include <limits.h>
15522
- #ifndef LLONG_MAX
15523
- # define HALF \
15524
- (1LL << (sizeof (long long int) * CHAR_BIT - 2))
15525
- # define LLONG_MAX (HALF - 1 + HALF)
15526
- #endif
15708
+ #ifndef LLONG_MAX
15709
+ # define HALF \
15710
+ (1LL << (sizeof (long long int) * CHAR_BIT - 2))
15711
+ # define LLONG_MAX (HALF - 1 + HALF)
15712
+ #endif
15527
15713
  int
15528
15714
  main ()
15529
15715
  {
15530
15716
  long long int n = 1;
15531
- int i;
15532
- for (i = 0; ; i++)
15533
- {
15534
- long long int m = n << i;
15535
- if (m >> i != n)
15536
- return 1;
15537
- if (LLONG_MAX / 2 < m)
15538
- break;
15539
- }
15540
- return 0;
15717
+ int i;
15718
+ for (i = 0; ; i++)
15719
+ {
15720
+ long long int m = n << i;
15721
+ if (m >> i != n)
15722
+ return 1;
15723
+ if (LLONG_MAX / 2 < m)
15724
+ break;
15725
+ }
15726
+ return 0;
15541
15727
  ;
15542
15728
  return 0;
15543
15729
  }
15544
15730
  _ACEOF
15545
15731
  if ac_fn_c_try_run "$LINENO"; then :
15546
- ac_cv_type_long_long_int=yes
15732
+
15547
15733
  else
15548
15734
  ac_cv_type_long_long_int=no
15549
15735
  fi
@@ -15551,11 +15737,8 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15551
15737
  conftest.$ac_objext conftest.beam conftest.$ac_ext
15552
15738
  fi
15553
15739
 
15554
- else
15555
- ac_cv_type_long_long_int=no
15556
- fi
15557
- rm -f core conftest.err conftest.$ac_objext \
15558
- conftest$ac_exeext conftest.$ac_ext
15740
+ fi
15741
+ fi
15559
15742
  fi
15560
15743
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
15561
15744
  $as_echo "$ac_cv_type_long_long_int" >&6; }
@@ -15599,7 +15782,8 @@ int
15599
15782
  main ()
15600
15783
  {
15601
15784
  static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15602
- test_array [0] = 0
15785
+ test_array [0] = 0;
15786
+ return test_array [0];
15603
15787
 
15604
15788
  ;
15605
15789
  return 0;
@@ -15674,60 +15858,6 @@ _ACEOF
15674
15858
  esac
15675
15859
 
15676
15860
 
15677
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
15678
- $as_echo_n "checking for unsigned long long int... " >&6; }
15679
- if ${ac_cv_type_unsigned_long_long_int+:} false; then :
15680
- $as_echo_n "(cached) " >&6
15681
- else
15682
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15683
- /* end confdefs.h. */
15684
-
15685
- /* For now, do not test the preprocessor; as of 2007 there are too many
15686
- implementations with broken preprocessors. Perhaps this can
15687
- be revisited in 2012. In the meantime, code should not expect
15688
- #if to work with literals wider than 32 bits. */
15689
- /* Test literals. */
15690
- long long int ll = 9223372036854775807ll;
15691
- long long int nll = -9223372036854775807LL;
15692
- unsigned long long int ull = 18446744073709551615ULL;
15693
- /* Test constant expressions. */
15694
- typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
15695
- ? 1 : -1)];
15696
- typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
15697
- ? 1 : -1)];
15698
- int i = 63;
15699
- int
15700
- main ()
15701
- {
15702
- /* Test availability of runtime routines for shift and division. */
15703
- long long int llmax = 9223372036854775807ll;
15704
- unsigned long long int ullmax = 18446744073709551615ull;
15705
- return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
15706
- | (llmax / ll) | (llmax % ll)
15707
- | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
15708
- | (ullmax / ull) | (ullmax % ull));
15709
- ;
15710
- return 0;
15711
- }
15712
-
15713
- _ACEOF
15714
- if ac_fn_c_try_link "$LINENO"; then :
15715
- ac_cv_type_unsigned_long_long_int=yes
15716
- else
15717
- ac_cv_type_unsigned_long_long_int=no
15718
- fi
15719
- rm -f core conftest.err conftest.$ac_objext \
15720
- conftest$ac_exeext conftest.$ac_ext
15721
- fi
15722
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
15723
- $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
15724
- if test $ac_cv_type_unsigned_long_long_int = yes; then
15725
-
15726
- $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
15727
-
15728
- fi
15729
-
15730
-
15731
15861
 
15732
15862
  ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "$ac_includes_default"
15733
15863
  if test "x$ac_cv_type_uintmax_t" = xyes; then :
@@ -15762,7 +15892,8 @@ int
15762
15892
  main ()
15763
15893
  {
15764
15894
  static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15765
- test_array [0] = 0
15895
+ test_array [0] = 0;
15896
+ return test_array [0];
15766
15897
 
15767
15898
  ;
15768
15899
  return 0;
@@ -16061,60 +16192,60 @@ else
16061
16192
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16062
16193
  /* end confdefs.h. */
16063
16194
 
16064
- #include <stdbool.h>
16065
- #ifndef bool
16066
- "error: bool is not defined"
16067
- #endif
16068
- #ifndef false
16069
- "error: false is not defined"
16070
- #endif
16071
- #if false
16072
- "error: false is not 0"
16073
- #endif
16074
- #ifndef true
16075
- "error: true is not defined"
16076
- #endif
16077
- #if true != 1
16078
- "error: true is not 1"
16079
- #endif
16080
- #ifndef __bool_true_false_are_defined
16081
- "error: __bool_true_false_are_defined is not defined"
16082
- #endif
16083
-
16084
- struct s { _Bool s: 1; _Bool t; } s;
16085
-
16086
- char a[true == 1 ? 1 : -1];
16087
- char b[false == 0 ? 1 : -1];
16088
- char c[__bool_true_false_are_defined == 1 ? 1 : -1];
16089
- char d[(bool) 0.5 == true ? 1 : -1];
16090
- /* See body of main program for 'e'. */
16091
- char f[(_Bool) 0.0 == false ? 1 : -1];
16092
- char g[true];
16093
- char h[sizeof (_Bool)];
16094
- char i[sizeof s.t];
16095
- enum { j = false, k = true, l = false * true, m = true * 256 };
16096
- /* The following fails for
16097
- HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
16098
- _Bool n[m];
16099
- char o[sizeof n == m * sizeof n[0] ? 1 : -1];
16100
- char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
16101
- /* Catch a bug in an HP-UX C compiler. See
16102
- http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
16103
- http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
16104
- */
16105
- _Bool q = true;
16106
- _Bool *pq = &q;
16195
+ #include <stdbool.h>
16196
+ #ifndef bool
16197
+ "error: bool is not defined"
16198
+ #endif
16199
+ #ifndef false
16200
+ "error: false is not defined"
16201
+ #endif
16202
+ #if false
16203
+ "error: false is not 0"
16204
+ #endif
16205
+ #ifndef true
16206
+ "error: true is not defined"
16207
+ #endif
16208
+ #if true != 1
16209
+ "error: true is not 1"
16210
+ #endif
16211
+ #ifndef __bool_true_false_are_defined
16212
+ "error: __bool_true_false_are_defined is not defined"
16213
+ #endif
16214
+
16215
+ struct s { _Bool s: 1; _Bool t; } s;
16216
+
16217
+ char a[true == 1 ? 1 : -1];
16218
+ char b[false == 0 ? 1 : -1];
16219
+ char c[__bool_true_false_are_defined == 1 ? 1 : -1];
16220
+ char d[(bool) 0.5 == true ? 1 : -1];
16221
+ /* See body of main program for 'e'. */
16222
+ char f[(_Bool) 0.0 == false ? 1 : -1];
16223
+ char g[true];
16224
+ char h[sizeof (_Bool)];
16225
+ char i[sizeof s.t];
16226
+ enum { j = false, k = true, l = false * true, m = true * 256 };
16227
+ /* The following fails for
16228
+ HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
16229
+ _Bool n[m];
16230
+ char o[sizeof n == m * sizeof n[0] ? 1 : -1];
16231
+ char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
16232
+ /* Catch a bug in an HP-UX C compiler. See
16233
+ http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
16234
+ http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
16235
+ */
16236
+ _Bool q = true;
16237
+ _Bool *pq = &q;
16107
16238
 
16108
16239
  int
16109
16240
  main ()
16110
16241
  {
16111
16242
 
16112
- bool e = &s;
16113
- *pq |= q;
16114
- *pq |= ! q;
16115
- /* Refer to every declared value, to avoid compiler optimizations. */
16116
- return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
16117
- + !m + !n + !o + !p + !q + !pq);
16243
+ bool e = &s;
16244
+ *pq |= q;
16245
+ *pq |= ! q;
16246
+ /* Refer to every declared value, to avoid compiler optimizations. */
16247
+ return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
16248
+ + !m + !n + !o + !p + !q + !pq);
16118
16249
 
16119
16250
  ;
16120
16251
  return 0;
@@ -16129,7 +16260,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16129
16260
  fi
16130
16261
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
16131
16262
  $as_echo "$ac_cv_header_stdbool_h" >&6; }
16132
- ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
16263
+ ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
16133
16264
  if test "x$ac_cv_type__Bool" = xyes; then :
16134
16265
 
16135
16266
  cat >>confdefs.h <<_ACEOF
@@ -16139,6 +16270,7 @@ _ACEOF
16139
16270
 
16140
16271
  fi
16141
16272
 
16273
+
16142
16274
  if test $ac_cv_header_stdbool_h = yes; then
16143
16275
 
16144
16276
  $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
@@ -17088,6 +17220,14 @@ LIBOBJS=$ac_libobjs
17088
17220
  LTLIBOBJS=$ac_ltlibobjs
17089
17221
 
17090
17222
 
17223
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17224
+ $as_echo_n "checking that generated files are newer than configure... " >&6; }
17225
+ if test -n "$am_sleep_pid"; then
17226
+ # Hide warnings about reused PIDs.
17227
+ wait $am_sleep_pid 2>/dev/null
17228
+ fi
17229
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17230
+ $as_echo "done" >&6; }
17091
17231
  if test -n "$EXEEXT"; then
17092
17232
  am__EXEEXT_TRUE=
17093
17233
  am__EXEEXT_FALSE='#'
@@ -17419,16 +17559,16 @@ if (echo >conf$$.file) 2>/dev/null; then
17419
17559
  # ... but there are two gotchas:
17420
17560
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17421
17561
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17422
- # In both cases, we have to default to `cp -p'.
17562
+ # In both cases, we have to default to `cp -pR'.
17423
17563
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17424
- as_ln_s='cp -p'
17564
+ as_ln_s='cp -pR'
17425
17565
  elif ln conf$$.file conf$$ 2>/dev/null; then
17426
17566
  as_ln_s=ln
17427
17567
  else
17428
- as_ln_s='cp -p'
17568
+ as_ln_s='cp -pR'
17429
17569
  fi
17430
17570
  else
17431
- as_ln_s='cp -p'
17571
+ as_ln_s='cp -pR'
17432
17572
  fi
17433
17573
  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17434
17574
  rmdir conf$$.dir 2>/dev/null
@@ -17488,28 +17628,16 @@ else
17488
17628
  as_mkdir_p=false
17489
17629
  fi
17490
17630
 
17491
- if test -x / >/dev/null 2>&1; then
17492
- as_test_x='test -x'
17493
- else
17494
- if ls -dL / >/dev/null 2>&1; then
17495
- as_ls_L_option=L
17496
- else
17497
- as_ls_L_option=
17498
- fi
17499
- as_test_x='
17500
- eval sh -c '\''
17501
- if test -d "$1"; then
17502
- test -d "$1/.";
17503
- else
17504
- case $1 in #(
17505
- -*)set "./$1";;
17506
- esac;
17507
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17508
- ???[sx]*):;;*)false;;esac;fi
17509
- '\'' sh
17510
- '
17511
- fi
17512
- as_executable_p=$as_test_x
17631
+
17632
+ # as_fn_executable_p FILE
17633
+ # -----------------------
17634
+ # Test if FILE is an executable regular file.
17635
+ as_fn_executable_p ()
17636
+ {
17637
+ test -f "$1" && test -x "$1"
17638
+ } # as_fn_executable_p
17639
+ as_test_x='test -x'
17640
+ as_executable_p=as_fn_executable_p
17513
17641
 
17514
17642
  # Sed expression to map a string onto a valid CPP name.
17515
17643
  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -17531,7 +17659,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17531
17659
  # values after options handling.
17532
17660
  ac_log="
17533
17661
  This file was extended by nutcracker $as_me 0.3.0, which was
17534
- generated by GNU Autoconf 2.68. Invocation command line was
17662
+ generated by GNU Autoconf 2.69. Invocation command line was
17535
17663
 
17536
17664
  CONFIG_FILES = $CONFIG_FILES
17537
17665
  CONFIG_HEADERS = $CONFIG_HEADERS
@@ -17597,10 +17725,10 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17597
17725
  ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17598
17726
  ac_cs_version="\\
17599
17727
  nutcracker config.status 0.3.0
17600
- configured by $0, generated by GNU Autoconf 2.68,
17728
+ configured by $0, generated by GNU Autoconf 2.69,
17601
17729
  with options \\"\$ac_cs_config\\"
17602
17730
 
17603
- Copyright (C) 2010 Free Software Foundation, Inc.
17731
+ Copyright (C) 2012 Free Software Foundation, Inc.
17604
17732
  This config.status script is free software; the Free Software Foundation
17605
17733
  gives unlimited permission to copy, distribute and modify it."
17606
17734
 
@@ -17691,7 +17819,7 @@ fi
17691
17819
  _ACEOF
17692
17820
  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17693
17821
  if \$ac_cs_recheck; then
17694
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17822
+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17695
17823
  shift
17696
17824
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17697
17825
  CONFIG_SHELL='$SHELL'
@@ -18705,7 +18833,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
18705
18833
 
18706
18834
  case $ac_file$ac_mode in
18707
18835
  "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18708
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
18836
+ # Older Autoconf quotes --file arguments for eval, but not when files
18709
18837
  # are listed without --file. Let's play safe and only enable the eval
18710
18838
  # if we detect the quoting.
18711
18839
  case $CONFIG_FILES in
@@ -18718,7 +18846,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
18718
18846
  # Strip MF so we end up with the name of the file.
18719
18847
  mf=`echo "$mf" | sed -e 's/:.*$//'`
18720
18848
  # Check whether this is an Automake generated Makefile or not.
18721
- # We used to match only the files named `Makefile.in', but
18849
+ # We used to match only the files named 'Makefile.in', but
18722
18850
  # some people rename them; so instead we look at the file content.
18723
18851
  # Grep'ing the first line is not enough: some people post-process
18724
18852
  # each Makefile.in and add a new line on top of each file to say so.
@@ -18752,21 +18880,19 @@ $as_echo X"$mf" |
18752
18880
  continue
18753
18881
  fi
18754
18882
  # Extract the definition of DEPDIR, am__include, and am__quote
18755
- # from the Makefile without running `make'.
18883
+ # from the Makefile without running 'make'.
18756
18884
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18757
18885
  test -z "$DEPDIR" && continue
18758
18886
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
18759
- test -z "am__include" && continue
18887
+ test -z "$am__include" && continue
18760
18888
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18761
- # When using ansi2knr, U may be empty or an underscore; expand it
18762
- U=`sed -n 's/^U = //p' < "$mf"`
18763
18889
  # Find all dependency output files, they are included files with
18764
18890
  # $(DEPDIR) in their names. We invoke sed twice because it is the
18765
18891
  # simplest approach to changing $(DEPDIR) to its actual value in the
18766
18892
  # expansion.
18767
18893
  for file in `sed -n "
18768
18894
  s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18769
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18895
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18770
18896
  # Make sure the directory exists.
18771
18897
  test -f "$dirpart/$file" && continue
18772
18898
  fdir=`$as_dirname -- "$file" ||