Browse code

more complete configure step

Tom Sherman authored on 25/06/2018 14:44:23
Showing12 changed files

... ...
@@ -9,6 +9,8 @@
9 9
 ^inst/profiling/
10 10
 ^inst/vignettes/
11 11
 
12
+^.git
13
+
12 14
 ^src/AtomicDomain.o
13 15
 ^src/Cogaps.o
14 16
 ^src/GapsRunner.o
... ...
@@ -19,6 +21,7 @@
19 21
 ^src/test-runner.o
20 22
 ^src/data_structures/Matrix.o
21 23
 ^src/data_structures/Vector.o
24
+^src/file_parser/FileParser.o
22 25
 ^src/file_parser/CsvParser.o
23 26
 ^src/file_parser/TsvParser.o
24 27
 ^src/file_parser/MtxParser.o
... ...
@@ -6,6 +6,8 @@
6 6
 *.so
7 7
 *.o
8 8
 
9
+.git
10
+
9 11
 # ignore OS X files
10 12
 *.DS_Store
11 13
 .Rproj.user
... ...
@@ -25,3 +27,4 @@ config.status
25 27
 aclocal.m4
26 28
 autom4te.cache/
27 29
 src/Makevars
30
+
28 31
deleted file mode 100644
... ...
@@ -1,339 +0,0 @@
1
-                    GNU GENERAL PUBLIC LICENSE
2
-                       Version 2, June 1991
3
-
4
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6
- Everyone is permitted to copy and distribute verbatim copies
7
- of this license document, but changing it is not allowed.
8
-
9
-                            Preamble
10
-
11
-  The licenses for most software are designed to take away your
12
-freedom to share and change it.  By contrast, the GNU General Public
13
-License is intended to guarantee your freedom to share and change free
14
-software--to make sure the software is free for all its users.  This
15
-General Public License applies to most of the Free Software
16
-Foundation's software and to any other program whose authors commit to
17
-using it.  (Some other Free Software Foundation software is covered by
18
-the GNU Lesser General Public License instead.)  You can apply it to
19
-your programs, too.
20
-
21
-  When we speak of free software, we are referring to freedom, not
22
-price.  Our General Public Licenses are designed to make sure that you
23
-have the freedom to distribute copies of free software (and charge for
24
-this service if you wish), that you receive source code or can get it
25
-if you want it, that you can change the software or use pieces of it
26
-in new free programs; and that you know you can do these things.
27
-
28
-  To protect your rights, we need to make restrictions that forbid
29
-anyone to deny you these rights or to ask you to surrender the rights.
30
-These restrictions translate to certain responsibilities for you if you
31
-distribute copies of the software, or if you modify it.
32
-
33
-  For example, if you distribute copies of such a program, whether
34
-gratis or for a fee, you must give the recipients all the rights that
35
-you have.  You must make sure that they, too, receive or can get the
36
-source code.  And you must show them these terms so they know their
37
-rights.
38
-
39
-  We protect your rights with two steps: (1) copyright the software, and
40
-(2) offer you this license which gives you legal permission to copy,
41
-distribute and/or modify the software.
42
-
43
-  Also, for each author's protection and ours, we want to make certain
44
-that everyone understands that there is no warranty for this free
45
-software.  If the software is modified by someone else and passed on, we
46
-want its recipients to know that what they have is not the original, so
47
-that any problems introduced by others will not reflect on the original
48
-authors' reputations.
49
-
50
-  Finally, any free program is threatened constantly by software
51
-patents.  We wish to avoid the danger that redistributors of a free
52
-program will individually obtain patent licenses, in effect making the
53
-program proprietary.  To prevent this, we have made it clear that any
54
-patent must be licensed for everyone's free use or not licensed at all.
55
-
56
-  The precise terms and conditions for copying, distribution and
57
-modification follow.
58
-
59
-                    GNU GENERAL PUBLIC LICENSE
60
-   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
-
62
-  0. This License applies to any program or other work which contains
63
-a notice placed by the copyright holder saying it may be distributed
64
-under the terms of this General Public License.  The "Program", below,
65
-refers to any such program or work, and a "work based on the Program"
66
-means either the Program or any derivative work under copyright law:
67
-that is to say, a work containing the Program or a portion of it,
68
-either verbatim or with modifications and/or translated into another
69
-language.  (Hereinafter, translation is included without limitation in
70
-the term "modification".)  Each licensee is addressed as "you".
71
-
72
-Activities other than copying, distribution and modification are not
73
-covered by this License; they are outside its scope.  The act of
74
-running the Program is not restricted, and the output from the Program
75
-is covered only if its contents constitute a work based on the
76
-Program (independent of having been made by running the Program).
77
-Whether that is true depends on what the Program does.
78
-
79
-  1. You may copy and distribute verbatim copies of the Program's
80
-source code as you receive it, in any medium, provided that you
81
-conspicuously and appropriately publish on each copy an appropriate
82
-copyright notice and disclaimer of warranty; keep intact all the
83
-notices that refer to this License and to the absence of any warranty;
84
-and give any other recipients of the Program a copy of this License
85
-along with the Program.
86
-
87
-You may charge a fee for the physical act of transferring a copy, and
88
-you may at your option offer warranty protection in exchange for a fee.
89
-
90
-  2. You may modify your copy or copies of the Program or any portion
91
-of it, thus forming a work based on the Program, and copy and
92
-distribute such modifications or work under the terms of Section 1
93
-above, provided that you also meet all of these conditions:
94
-
95
-    a) You must cause the modified files to carry prominent notices
96
-    stating that you changed the files and the date of any change.
97
-
98
-    b) You must cause any work that you distribute or publish, that in
99
-    whole or in part contains or is derived from the Program or any
100
-    part thereof, to be licensed as a whole at no charge to all third
101
-    parties under the terms of this License.
102
-
103
-    c) If the modified program normally reads commands interactively
104
-    when run, you must cause it, when started running for such
105
-    interactive use in the most ordinary way, to print or display an
106
-    announcement including an appropriate copyright notice and a
107
-    notice that there is no warranty (or else, saying that you provide
108
-    a warranty) and that users may redistribute the program under
109
-    these conditions, and telling the user how to view a copy of this
110
-    License.  (Exception: if the Program itself is interactive but
111
-    does not normally print such an announcement, your work based on
112
-    the Program is not required to print an announcement.)
113
-
114
-These requirements apply to the modified work as a whole.  If
115
-identifiable sections of that work are not derived from the Program,
116
-and can be reasonably considered independent and separate works in
117
-themselves, then this License, and its terms, do not apply to those
118
-sections when you distribute them as separate works.  But when you
119
-distribute the same sections as part of a whole which is a work based
120
-on the Program, the distribution of the whole must be on the terms of
121
-this License, whose permissions for other licensees extend to the
122
-entire whole, and thus to each and every part regardless of who wrote it.
123
-
124
-Thus, it is not the intent of this section to claim rights or contest
125
-your rights to work written entirely by you; rather, the intent is to
126
-exercise the right to control the distribution of derivative or
127
-collective works based on the Program.
128
-
129
-In addition, mere aggregation of another work not based on the Program
130
-with the Program (or with a work based on the Program) on a volume of
131
-a storage or distribution medium does not bring the other work under
132
-the scope of this License.
133
-
134
-  3. You may copy and distribute the Program (or a work based on it,
135
-under Section 2) in object code or executable form under the terms of
136
-Sections 1 and 2 above provided that you also do one of the following:
137
-
138
-    a) Accompany it with the complete corresponding machine-readable
139
-    source code, which must be distributed under the terms of Sections
140
-    1 and 2 above on a medium customarily used for software interchange; or,
141
-
142
-    b) Accompany it with a written offer, valid for at least three
143
-    years, to give any third party, for a charge no more than your
144
-    cost of physically performing source distribution, a complete
145
-    machine-readable copy of the corresponding source code, to be
146
-    distributed under the terms of Sections 1 and 2 above on a medium
147
-    customarily used for software interchange; or,
148
-
149
-    c) Accompany it with the information you received as to the offer
150
-    to distribute corresponding source code.  (This alternative is
151
-    allowed only for noncommercial distribution and only if you
152
-    received the program in object code or executable form with such
153
-    an offer, in accord with Subsection b above.)
154
-
155
-The source code for a work means the preferred form of the work for
156
-making modifications to it.  For an executable work, complete source
157
-code means all the source code for all modules it contains, plus any
158
-associated interface definition files, plus the scripts used to
159
-control compilation and installation of the executable.  However, as a
160
-special exception, the source code distributed need not include
161
-anything that is normally distributed (in either source or binary
162
-form) with the major components (compiler, kernel, and so on) of the
163
-operating system on which the executable runs, unless that component
164
-itself accompanies the executable.
165
-
166
-If distribution of executable or object code is made by offering
167
-access to copy from a designated place, then offering equivalent
168
-access to copy the source code from the same place counts as
169
-distribution of the source code, even though third parties are not
170
-compelled to copy the source along with the object code.
171
-
172
-  4. You may not copy, modify, sublicense, or distribute the Program
173
-except as expressly provided under this License.  Any attempt
174
-otherwise to copy, modify, sublicense or distribute the Program is
175
-void, and will automatically terminate your rights under this License.
176
-However, parties who have received copies, or rights, from you under
177
-this License will not have their licenses terminated so long as such
178
-parties remain in full compliance.
179
-
180
-  5. You are not required to accept this License, since you have not
181
-signed it.  However, nothing else grants you permission to modify or
182
-distribute the Program or its derivative works.  These actions are
183
-prohibited by law if you do not accept this License.  Therefore, by
184
-modifying or distributing the Program (or any work based on the
185
-Program), you indicate your acceptance of this License to do so, and
186
-all its terms and conditions for copying, distributing or modifying
187
-the Program or works based on it.
188
-
189
-  6. Each time you redistribute the Program (or any work based on the
190
-Program), the recipient automatically receives a license from the
191
-original licensor to copy, distribute or modify the Program subject to
192
-these terms and conditions.  You may not impose any further
193
-restrictions on the recipients' exercise of the rights granted herein.
194
-You are not responsible for enforcing compliance by third parties to
195
-this License.
196
-
197
-  7. If, as a consequence of a court judgment or allegation of patent
198
-infringement or for any other reason (not limited to patent issues),
199
-conditions are imposed on you (whether by court order, agreement or
200
-otherwise) that contradict the conditions of this License, they do not
201
-excuse you from the conditions of this License.  If you cannot
202
-distribute so as to satisfy simultaneously your obligations under this
203
-License and any other pertinent obligations, then as a consequence you
204
-may not distribute the Program at all.  For example, if a patent
205
-license would not permit royalty-free redistribution of the Program by
206
-all those who receive copies directly or indirectly through you, then
207
-the only way you could satisfy both it and this License would be to
208
-refrain entirely from distribution of the Program.
209
-
210
-If any portion of this section is held invalid or unenforceable under
211
-any particular circumstance, the balance of the section is intended to
212
-apply and the section as a whole is intended to apply in other
213
-circumstances.
214
-
215
-It is not the purpose of this section to induce you to infringe any
216
-patents or other property right claims or to contest validity of any
217
-such claims; this section has the sole purpose of protecting the
218
-integrity of the free software distribution system, which is
219
-implemented by public license practices.  Many people have made
220
-generous contributions to the wide range of software distributed
221
-through that system in reliance on consistent application of that
222
-system; it is up to the author/donor to decide if he or she is willing
223
-to distribute software through any other system and a licensee cannot
224
-impose that choice.
225
-
226
-This section is intended to make thoroughly clear what is believed to
227
-be a consequence of the rest of this License.
228
-
229
-  8. If the distribution and/or use of the Program is restricted in
230
-certain countries either by patents or by copyrighted interfaces, the
231
-original copyright holder who places the Program under this License
232
-may add an explicit geographical distribution limitation excluding
233
-those countries, so that distribution is permitted only in or among
234
-countries not thus excluded.  In such case, this License incorporates
235
-the limitation as if written in the body of this License.
236
-
237
-  9. The Free Software Foundation may publish revised and/or new versions
238
-of the General Public License from time to time.  Such new versions will
239
-be similar in spirit to the present version, but may differ in detail to
240
-address new problems or concerns.
241
-
242
-Each version is given a distinguishing version number.  If the Program
243
-specifies a version number of this License which applies to it and "any
244
-later version", you have the option of following the terms and conditions
245
-either of that version or of any later version published by the Free
246
-Software Foundation.  If the Program does not specify a version number of
247
-this License, you may choose any version ever published by the Free Software
248
-Foundation.
249
-
250
-  10. If you wish to incorporate parts of the Program into other free
251
-programs whose distribution conditions are different, write to the author
252
-to ask for permission.  For software which is copyrighted by the Free
253
-Software Foundation, write to the Free Software Foundation; we sometimes
254
-make exceptions for this.  Our decision will be guided by the two goals
255
-of preserving the free status of all derivatives of our free software and
256
-of promoting the sharing and reuse of software generally.
257
-
258
-                            NO WARRANTY
259
-
260
-  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
262
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
266
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
267
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
-REPAIR OR CORRECTION.
269
-
270
-  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
-POSSIBILITY OF SUCH DAMAGES.
279
-
280
-                     END OF TERMS AND CONDITIONS
281
-
282
-            How to Apply These Terms to Your New Programs
283
-
284
-  If you develop a new program, and you want it to be of the greatest
285
-possible use to the public, the best way to achieve this is to make it
286
-free software which everyone can redistribute and change under these terms.
287
-
288
-  To do so, attach the following notices to the program.  It is safest
289
-to attach them to the start of each source file to most effectively
290
-convey the exclusion of warranty; and each file should have at least
291
-the "copyright" line and a pointer to where the full notice is found.
292
-
293
-    <one line to give the program's name and a brief idea of what it does.>
294
-    Copyright (C) <year>  <name of author>
295
-
296
-    This program is free software; you can redistribute it and/or modify
297
-    it under the terms of the GNU General Public License as published by
298
-    the Free Software Foundation; either version 2 of the License, or
299
-    (at your option) any later version.
300
-
301
-    This program is distributed in the hope that it will be useful,
302
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
303
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
304
-    GNU General Public License for more details.
305
-
306
-    You should have received a copy of the GNU General Public License along
307
-    with this program; if not, write to the Free Software Foundation, Inc.,
308
-    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309
-
310
-Also add information on how to contact you by electronic and paper mail.
311
-
312
-If the program is interactive, make it output a short notice like this
313
-when it starts in an interactive mode:
314
-
315
-    Gnomovision version 69, Copyright (C) year name of author
316
-    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317
-    This is free software, and you are welcome to redistribute it
318
-    under certain conditions; type `show c' for details.
319
-
320
-The hypothetical commands `show w' and `show c' should show the appropriate
321
-parts of the General Public License.  Of course, the commands you use may
322
-be called something other than `show w' and `show c'; they could even be
323
-mouse-clicks or menu items--whatever suits your program.
324
-
325
-You should also get your employer (if you work as a programmer) or your
326
-school, if any, to sign a "copyright disclaimer" for the program, if
327
-necessary.  Here is a sample; alter the names:
328
-
329
-  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330
-  `Gnomovision' (which makes passes at compilers) written by James Hacker.
331
-
332
-  <signature of Ty Coon>, 1 April 1989
333
-  Ty Coon, President of Vice
334
-
335
-This General Public License does not permit incorporating your program into
336
-proprietary programs.  If your program is a subroutine library, you may
337
-consider it more useful to permit linking proprietary applications with the
338
-library.  If this is what you want to do, use the GNU Lesser General
339
-Public License instead of this License.
340 0
new file mode 100644
... ...
@@ -0,0 +1,2 @@
1
+#! /bin/sh
2
+/bin/rm src/Makevars
0 3
\ No newline at end of file
1 4
new file mode 120000
... ...
@@ -0,0 +1 @@
1
+/usr/share/automake-1.15/compile
0 2
\ No newline at end of file
1 3
new file mode 120000
... ...
@@ -0,0 +1 @@
1
+/usr/share/automake-1.15/config.guess
0 2
\ No newline at end of file
1 3
new file mode 120000
... ...
@@ -0,0 +1 @@
1
+/usr/share/automake-1.15/config.sub
0 2
\ No newline at end of file
... ...
@@ -582,13 +582,18 @@ PACKAGE_STRING='CoGAPS 3.1.3'
582 582
 PACKAGE_BUGREPORT=''
583 583
 PACKAGE_URL=''
584 584
 
585
-ac_subst_vars='LTLIBOBJS
585
+ac_subst_vars='am__EXEEXT_FALSE
586
+am__EXEEXT_TRUE
587
+LTLIBOBJS
586 588
 LIBOBJS
587 589
 GAPS_LIBS
588 590
 GAPS_CXX_FLAGS
589 591
 GAPS_CPP_FLAGS
590 592
 CPUEXT_FLAGS
591 593
 SIMD_FLAGS
594
+am__fastdepCC_FALSE
595
+am__fastdepCC_TRUE
596
+CCDEPMODE
592 597
 ac_ct_CC
593 598
 CFLAGS
594 599
 CC
... ...
@@ -602,6 +607,16 @@ build_cpu
602 607
 build
603 608
 SED
604 609
 CXXCPP
610
+am__fastdepCXX_FALSE
611
+am__fastdepCXX_TRUE
612
+CXXDEPMODE
613
+am__nodep
614
+AMDEPBACKSLASH
615
+AMDEP_FALSE
616
+AMDEP_TRUE
617
+am__quote
618
+am__include
619
+DEPDIR
605 620
 OBJEXT
606 621
 EXEEXT
607 622
 ac_ct_CXX
... ...
@@ -609,6 +624,33 @@ CPPFLAGS
609 624
 LDFLAGS
610 625
 CXXFLAGS
611 626
 CXX
627
+AM_BACKSLASH
628
+AM_DEFAULT_VERBOSITY
629
+AM_DEFAULT_V
630
+AM_V
631
+am__untar
632
+am__tar
633
+AMTAR
634
+am__leading_dot
635
+SET_MAKE
636
+AWK
637
+mkdir_p
638
+MKDIR_P
639
+INSTALL_STRIP_PROGRAM
640
+STRIP
641
+install_sh
642
+MAKEINFO
643
+AUTOHEADER
644
+AUTOMAKE
645
+AUTOCONF
646
+ACLOCAL
647
+VERSION
648
+PACKAGE
649
+CYGPATH_W
650
+am__isrc
651
+INSTALL_DATA
652
+INSTALL_SCRIPT
653
+INSTALL_PROGRAM
612 654
 target_alias
613 655
 host_alias
614 656
 build_alias
... ...
@@ -651,6 +693,8 @@ SHELL'
651 693
 ac_subst_files=''
652 694
 ac_user_opts='
653 695
 enable_option_checking
696
+enable_silent_rules
697
+enable_dependency_tracking
654 698
 enable_debug
655 699
 enable_warnings
656 700
 enable_simd
... ...
@@ -1275,6 +1319,11 @@ _ACEOF
1275 1319
 
1276 1320
   cat <<\_ACEOF
1277 1321
 
1322
+Program names:
1323
+  --program-prefix=PREFIX            prepend PREFIX to installed program names
1324
+  --program-suffix=SUFFIX            append SUFFIX to installed program names
1325
+  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1326
+
1278 1327
 System types:
1279 1328
   --build=BUILD     configure for building on BUILD [guessed]
1280 1329
   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
... ...
@@ -1291,6 +1340,12 @@ Optional Features:
1291 1340
   --disable-option-checking  ignore unrecognized --enable/--with options
1292 1341
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1293 1342
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1343
+  --enable-silent-rules   less verbose build output (undo: "make V=1")
1344
+  --disable-silent-rules  verbose build output (undo: "make V=0")
1345
+  --enable-dependency-tracking
1346
+                          do not reject slow dependency extractors
1347
+  --disable-dependency-tracking
1348
+                          speeds up one-time build
1294 1349
   --enable-debug          build debug version of CoGAPS
1295 1350
   --enable-warnings       compile CoGAPS with warning messages
1296 1351
   --enable-simd           specify simd instruction set (sse, avx)
... ...
@@ -2164,6 +2219,614 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
2164 2219
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2165 2220
 
2166 2221
 
2222
+am__api_version='1.15'
2223
+
2224
+ac_aux_dir=
2225
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2226
+  if test -f "$ac_dir/install-sh"; then
2227
+    ac_aux_dir=$ac_dir
2228
+    ac_install_sh="$ac_aux_dir/install-sh -c"
2229
+    break
2230
+  elif test -f "$ac_dir/install.sh"; then
2231
+    ac_aux_dir=$ac_dir
2232
+    ac_install_sh="$ac_aux_dir/install.sh -c"
2233
+    break
2234
+  elif test -f "$ac_dir/shtool"; then
2235
+    ac_aux_dir=$ac_dir
2236
+    ac_install_sh="$ac_aux_dir/shtool install -c"
2237
+    break
2238
+  fi
2239
+done
2240
+if test -z "$ac_aux_dir"; then
2241
+  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2242
+fi
2243
+
2244
+# These three variables are undocumented and unsupported,
2245
+# and are intended to be withdrawn in a future Autoconf release.
2246
+# They can cause serious problems if a builder's source tree is in a directory
2247
+# whose full name contains unusual characters.
2248
+ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2249
+ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2250
+ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2251
+
2252
+
2253
+# Find a good install program.  We prefer a C program (faster),
2254
+# so one script is as good as another.  But avoid the broken or
2255
+# incompatible versions:
2256
+# SysV /etc/install, /usr/sbin/install
2257
+# SunOS /usr/etc/install
2258
+# IRIX /sbin/install
2259
+# AIX /bin/install
2260
+# AmigaOS /C/install, which installs bootblocks on floppy discs
2261
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2262
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2263
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2264
+# OS/2's system install, which has a completely different semantic
2265
+# ./install, which can be erroneously created by make from ./install.sh.
2266
+# Reject install programs that cannot install multiple files.
2267
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2268
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
2269
+if test -z "$INSTALL"; then
2270
+if ${ac_cv_path_install+:} false; then :
2271
+  $as_echo_n "(cached) " >&6
2272
+else
2273
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2274
+for as_dir in $PATH
2275
+do
2276
+  IFS=$as_save_IFS
2277
+  test -z "$as_dir" && as_dir=.
2278
+    # Account for people who put trailing slashes in PATH elements.
2279
+case $as_dir/ in #((
2280
+  ./ | .// | /[cC]/* | \
2281
+  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2282
+  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2283
+  /usr/ucb/* ) ;;
2284
+  *)
2285
+    # OSF1 and SCO ODT 3.0 have their own names for install.
2286
+    # Don't use installbsd from OSF since it installs stuff as root
2287
+    # by default.
2288
+    for ac_prog in ginstall scoinst install; do
2289
+      for ac_exec_ext in '' $ac_executable_extensions; do
2290
+	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2291
+	  if test $ac_prog = install &&
2292
+	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2293
+	    # AIX install.  It has an incompatible calling convention.
2294
+	    :
2295
+	  elif test $ac_prog = install &&
2296
+	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2297
+	    # program-specific install script used by HP pwplus--don't use.
2298
+	    :
2299
+	  else
2300
+	    rm -rf conftest.one conftest.two conftest.dir
2301
+	    echo one > conftest.one
2302
+	    echo two > conftest.two
2303
+	    mkdir conftest.dir
2304
+	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2305
+	      test -s conftest.one && test -s conftest.two &&
2306
+	      test -s conftest.dir/conftest.one &&
2307
+	      test -s conftest.dir/conftest.two
2308
+	    then
2309
+	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2310
+	      break 3
2311
+	    fi
2312
+	  fi
2313
+	fi
2314
+      done
2315
+    done
2316
+    ;;
2317
+esac
2318
+
2319
+  done
2320
+IFS=$as_save_IFS
2321
+
2322
+rm -rf conftest.one conftest.two conftest.dir
2323
+
2324
+fi
2325
+  if test "${ac_cv_path_install+set}" = set; then
2326
+    INSTALL=$ac_cv_path_install
2327
+  else
2328
+    # As a last resort, use the slow shell script.  Don't cache a
2329
+    # value for INSTALL within a source directory, because that will
2330
+    # break other packages using the cache if that directory is
2331
+    # removed, or if the value is a relative name.
2332
+    INSTALL=$ac_install_sh
2333
+  fi
2334
+fi
2335
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2336
+$as_echo "$INSTALL" >&6; }
2337
+
2338
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2339
+# It thinks the first close brace ends the variable substitution.
2340
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2341
+
2342
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2343
+
2344
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2345
+
2346
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2347
+$as_echo_n "checking whether build environment is sane... " >&6; }
2348
+# Reject unsafe characters in $srcdir or the absolute working directory
2349
+# name.  Accept space and tab only in the latter.
2350
+am_lf='
2351
+'
2352
+case `pwd` in
2353
+  *[\\\"\#\$\&\'\`$am_lf]*)
2354
+    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2355
+esac
2356
+case $srcdir in
2357
+  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2358
+    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2359
+esac
2360
+
2361
+# Do 'set' in a subshell so we don't clobber the current shell's
2362
+# arguments.  Must try -L first in case configure is actually a
2363
+# symlink; some systems play weird games with the mod time of symlinks
2364
+# (eg FreeBSD returns the mod time of the symlink's containing
2365
+# directory).
2366
+if (
2367
+   am_has_slept=no
2368
+   for am_try in 1 2; do
2369
+     echo "timestamp, slept: $am_has_slept" > conftest.file
2370
+     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2371
+     if test "$*" = "X"; then
2372
+	# -L didn't work.
2373
+	set X `ls -t "$srcdir/configure" conftest.file`
2374
+     fi
2375
+     if test "$*" != "X $srcdir/configure conftest.file" \
2376
+	&& test "$*" != "X conftest.file $srcdir/configure"; then
2377
+
2378
+	# If neither matched, then we have a broken ls.  This can happen
2379
+	# if, for instance, CONFIG_SHELL is bash and it inherits a
2380
+	# broken ls alias from the environment.  This has actually
2381
+	# happened.  Such a system could not be considered "sane".
2382
+	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2383
+  alias in your environment" "$LINENO" 5
2384
+     fi
2385
+     if test "$2" = conftest.file || test $am_try -eq 2; then
2386
+       break
2387
+     fi
2388
+     # Just in case.
2389
+     sleep 1
2390
+     am_has_slept=yes
2391
+   done
2392
+   test "$2" = conftest.file
2393
+   )
2394
+then
2395
+   # Ok.
2396
+   :
2397
+else
2398
+   as_fn_error $? "newly created file is older than distributed files!
2399
+Check your system clock" "$LINENO" 5
2400
+fi
2401
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2402
+$as_echo "yes" >&6; }
2403
+# If we didn't sleep, we still need to ensure time stamps of config.status and
2404
+# generated files are strictly newer.
2405
+am_sleep_pid=
2406
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2407
+  ( sleep 1 ) &
2408
+  am_sleep_pid=$!
2409
+fi
2410
+
2411
+rm -f conftest.file
2412
+
2413
+test "$program_prefix" != NONE &&
2414
+  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2415
+# Use a double $ so make ignores it.
2416
+test "$program_suffix" != NONE &&
2417
+  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2418
+# Double any \ or $.
2419
+# By default was `s,x,x', remove it if useless.
2420
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2421
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2422
+
2423
+# Expand $ac_aux_dir to an absolute path.
2424
+am_aux_dir=`cd "$ac_aux_dir" && pwd`
2425
+
2426
+if test x"${MISSING+set}" != xset; then
2427
+  case $am_aux_dir in
2428
+  *\ * | *\	*)
2429
+    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2430
+  *)
2431
+    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2432
+  esac
2433
+fi
2434
+# Use eval to expand $SHELL
2435
+if eval "$MISSING --is-lightweight"; then
2436
+  am_missing_run="$MISSING "
2437
+else
2438
+  am_missing_run=
2439
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2440
+$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2441
+fi
2442
+
2443
+if test x"${install_sh+set}" != xset; then
2444
+  case $am_aux_dir in
2445
+  *\ * | *\	*)
2446
+    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2447
+  *)
2448
+    install_sh="\${SHELL} $am_aux_dir/install-sh"
2449
+  esac
2450
+fi
2451
+
2452
+# Installed binaries are usually stripped using 'strip' when the user
2453
+# run "make install-strip".  However 'strip' might not be the right
2454
+# tool to use in cross-compilation environments, therefore Automake
2455
+# will honor the 'STRIP' environment variable to overrule this program.
2456
+if test "$cross_compiling" != no; then
2457
+  if test -n "$ac_tool_prefix"; then
2458
+  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2459
+set dummy ${ac_tool_prefix}strip; ac_word=$2
2460
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2461
+$as_echo_n "checking for $ac_word... " >&6; }
2462
+if ${ac_cv_prog_STRIP+:} false; then :
2463
+  $as_echo_n "(cached) " >&6
2464
+else
2465
+  if test -n "$STRIP"; then
2466
+  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2467
+else
2468
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469
+for as_dir in $PATH
2470
+do
2471
+  IFS=$as_save_IFS
2472
+  test -z "$as_dir" && as_dir=.
2473
+    for ac_exec_ext in '' $ac_executable_extensions; do
2474
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2475
+    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2476
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2477
+    break 2
2478
+  fi
2479
+done
2480
+  done
2481
+IFS=$as_save_IFS
2482
+
2483
+fi
2484
+fi
2485
+STRIP=$ac_cv_prog_STRIP
2486
+if test -n "$STRIP"; then
2487
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2488
+$as_echo "$STRIP" >&6; }
2489
+else
2490
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2491
+$as_echo "no" >&6; }
2492
+fi
2493
+
2494
+
2495
+fi
2496
+if test -z "$ac_cv_prog_STRIP"; then
2497
+  ac_ct_STRIP=$STRIP
2498
+  # Extract the first word of "strip", so it can be a program name with args.
2499
+set dummy strip; ac_word=$2
2500
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2501
+$as_echo_n "checking for $ac_word... " >&6; }
2502
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2503
+  $as_echo_n "(cached) " >&6
2504
+else
2505
+  if test -n "$ac_ct_STRIP"; then
2506
+  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2507
+else
2508
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2509
+for as_dir in $PATH
2510
+do
2511
+  IFS=$as_save_IFS
2512
+  test -z "$as_dir" && as_dir=.
2513
+    for ac_exec_ext in '' $ac_executable_extensions; do
2514
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2515
+    ac_cv_prog_ac_ct_STRIP="strip"
2516
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2517
+    break 2
2518
+  fi
2519
+done
2520
+  done
2521
+IFS=$as_save_IFS
2522
+
2523
+fi
2524
+fi
2525
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2526
+if test -n "$ac_ct_STRIP"; then
2527
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2528
+$as_echo "$ac_ct_STRIP" >&6; }
2529
+else
2530
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2531
+$as_echo "no" >&6; }
2532
+fi
2533
+
2534
+  if test "x$ac_ct_STRIP" = x; then
2535
+    STRIP=":"
2536
+  else
2537
+    case $cross_compiling:$ac_tool_warned in
2538
+yes:)
2539
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2540
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2541
+ac_tool_warned=yes ;;
2542
+esac
2543
+    STRIP=$ac_ct_STRIP
2544
+  fi
2545
+else
2546
+  STRIP="$ac_cv_prog_STRIP"
2547
+fi
2548
+
2549
+fi
2550
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2551
+
2552
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2553
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2554
+if test -z "$MKDIR_P"; then
2555
+  if ${ac_cv_path_mkdir+:} false; then :
2556
+  $as_echo_n "(cached) " >&6
2557
+else
2558
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2559
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2560
+do
2561
+  IFS=$as_save_IFS
2562
+  test -z "$as_dir" && as_dir=.
2563
+    for ac_prog in mkdir gmkdir; do
2564
+	 for ac_exec_ext in '' $ac_executable_extensions; do
2565
+	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2566
+	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2567
+	     'mkdir (GNU coreutils) '* | \
2568
+	     'mkdir (coreutils) '* | \
2569
+	     'mkdir (fileutils) '4.1*)
2570
+	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2571
+	       break 3;;
2572
+	   esac
2573
+	 done
2574
+       done
2575
+  done
2576
+IFS=$as_save_IFS
2577
+
2578
+fi
2579
+
2580
+  test -d ./--version && rmdir ./--version
2581
+  if test "${ac_cv_path_mkdir+set}" = set; then
2582
+    MKDIR_P="$ac_cv_path_mkdir -p"
2583
+  else
2584
+    # As a last resort, use the slow shell script.  Don't cache a
2585
+    # value for MKDIR_P within a source directory, because that will
2586
+    # break other packages using the cache if that directory is
2587
+    # removed, or if the value is a relative name.
2588
+    MKDIR_P="$ac_install_sh -d"
2589
+  fi
2590
+fi
2591
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2592
+$as_echo "$MKDIR_P" >&6; }
2593
+
2594
+for ac_prog in gawk mawk nawk awk
2595
+do
2596
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
2597
+set dummy $ac_prog; ac_word=$2
2598
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2599
+$as_echo_n "checking for $ac_word... " >&6; }
2600
+if ${ac_cv_prog_AWK+:} false; then :
2601
+  $as_echo_n "(cached) " >&6
2602
+else
2603
+  if test -n "$AWK"; then
2604
+  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2605
+else
2606
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2607
+for as_dir in $PATH
2608
+do
2609
+  IFS=$as_save_IFS
2610
+  test -z "$as_dir" && as_dir=.
2611
+    for ac_exec_ext in '' $ac_executable_extensions; do
2612
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2613
+    ac_cv_prog_AWK="$ac_prog"
2614
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2615
+    break 2
2616
+  fi
2617
+done
2618
+  done
2619
+IFS=$as_save_IFS
2620
+
2621
+fi
2622
+fi
2623
+AWK=$ac_cv_prog_AWK
2624
+if test -n "$AWK"; then
2625
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2626
+$as_echo "$AWK" >&6; }
2627
+else
2628
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2629
+$as_echo "no" >&6; }
2630
+fi
2631
+
2632
+
2633
+  test -n "$AWK" && break
2634
+done
2635
+
2636
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2637
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2638
+set x ${MAKE-make}
2639
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2640
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2641
+  $as_echo_n "(cached) " >&6
2642
+else
2643
+  cat >conftest.make <<\_ACEOF
2644
+SHELL = /bin/sh
2645
+all:
2646
+	@echo '@@@%%%=$(MAKE)=@@@%%%'
2647
+_ACEOF
2648
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2649
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
2650
+  *@@@%%%=?*=@@@%%%*)
2651
+    eval ac_cv_prog_make_${ac_make}_set=yes;;
2652
+  *)
2653
+    eval ac_cv_prog_make_${ac_make}_set=no;;
2654
+esac
2655
+rm -f conftest.make
2656
+fi
2657
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2658
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2659
+$as_echo "yes" >&6; }
2660
+  SET_MAKE=
2661
+else
2662
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2663
+$as_echo "no" >&6; }
2664
+  SET_MAKE="MAKE=${MAKE-make}"
2665
+fi
2666
+
2667
+rm -rf .tst 2>/dev/null
2668
+mkdir .tst 2>/dev/null
2669
+if test -d .tst; then
2670
+  am__leading_dot=.
2671
+else
2672
+  am__leading_dot=_
2673
+fi
2674
+rmdir .tst 2>/dev/null
2675
+
2676
+# Check whether --enable-silent-rules was given.
2677
+if test "${enable_silent_rules+set}" = set; then :
2678
+  enableval=$enable_silent_rules;
2679
+fi
2680
+
2681
+case $enable_silent_rules in # (((
2682
+  yes) AM_DEFAULT_VERBOSITY=0;;
2683
+   no) AM_DEFAULT_VERBOSITY=1;;
2684
+    *) AM_DEFAULT_VERBOSITY=1;;
2685
+esac
2686
+am_make=${MAKE-make}
2687
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2688
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2689
+if ${am_cv_make_support_nested_variables+:} false; then :
2690
+  $as_echo_n "(cached) " >&6
2691
+else
2692
+  if $as_echo 'TRUE=$(BAR$(V))
2693
+BAR0=false
2694
+BAR1=true
2695
+V=1
2696
+am__doit:
2697
+	@$(TRUE)
2698
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2699
+  am_cv_make_support_nested_variables=yes
2700
+else
2701
+  am_cv_make_support_nested_variables=no
2702
+fi
2703
+fi
2704
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2705
+$as_echo "$am_cv_make_support_nested_variables" >&6; }
2706
+if test $am_cv_make_support_nested_variables = yes; then
2707
+    AM_V='$(V)'
2708
+  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2709
+else
2710
+  AM_V=$AM_DEFAULT_VERBOSITY
2711
+  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2712
+fi
2713
+AM_BACKSLASH='\'
2714
+
2715
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
2716
+  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2717
+  # is not polluted with repeated "-I."
2718
+  am__isrc=' -I$(srcdir)'
2719
+  # test to see if srcdir already configured
2720
+  if test -f $srcdir/config.status; then
2721
+    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2722
+  fi
2723
+fi
2724
+
2725
+# test whether we have cygpath
2726
+if test -z "$CYGPATH_W"; then
2727
+  if (cygpath --version) >/dev/null 2>/dev/null; then
2728
+    CYGPATH_W='cygpath -w'
2729
+  else
2730
+    CYGPATH_W=echo
2731
+  fi
2732
+fi
2733
+
2734
+
2735
+# Define the identity of the package.
2736
+ PACKAGE='cogaps'
2737
+ VERSION='3.1.3'
2738
+
2739
+
2740
+cat >>confdefs.h <<_ACEOF
2741
+#define PACKAGE "$PACKAGE"
2742
+_ACEOF
2743
+
2744
+
2745
+cat >>confdefs.h <<_ACEOF
2746
+#define VERSION "$VERSION"
2747
+_ACEOF
2748
+
2749
+# Some tools Automake needs.
2750
+
2751
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2752
+
2753
+
2754
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2755
+
2756
+
2757
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2758
+
2759
+
2760
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2761
+
2762
+
2763
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2764
+
2765
+# For better backward compatibility.  To be removed once Automake 1.9.x
2766
+# dies out for good.  For more background, see:
2767
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2768
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2769
+mkdir_p='$(MKDIR_P)'
2770
+
2771
+# We need awk for the "check" target (and possibly the TAP driver).  The
2772
+# system "awk" is bad on some platforms.
2773
+# Always define AMTAR for backward compatibility.  Yes, it's still used
2774
+# in the wild :-(  We should find a proper way to deprecate it ...
2775
+AMTAR='$${TAR-tar}'
2776
+
2777
+
2778
+# We'll loop over all known methods to create a tar archive until one works.
2779
+_am_tools='gnutar  pax cpio none'
2780
+
2781
+am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2782
+
2783
+
2784
+
2785
+
2786
+
2787
+
2788
+# POSIX will say in a future version that running "rm -f" with no argument
2789
+# is OK; and we want to be able to make that assumption in our Makefile
2790
+# recipes.  So use an aggressive probe to check that the usage we want is
2791
+# actually supported "in the wild" to an acceptable degree.
2792
+# See automake bug#10828.
2793
+# To make any issue more visible, cause the running configure to be aborted
2794
+# by default if the 'rm' program in use doesn't match our expectations; the
2795
+# user can still override this though.
2796
+if rm -f && rm -fr && rm -rf; then : OK; else
2797
+  cat >&2 <<'END'
2798
+Oops!
2799
+
2800
+Your 'rm' program seems unable to run without file operands specified
2801
+on the command line, even when the '-f' option is present.  This is contrary
2802
+to the behaviour of most rm programs out there, and not conforming with
2803
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2804
+
2805
+Please tell bug-automake@gnu.org about your system, including the value
2806
+of your $PATH and any error possibly output before this message.  This
2807
+can help us improve future automake versions.
2808
+
2809
+END
2810
+  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2811
+    echo 'Configuration will proceed anyway, since you have set the' >&2
2812
+    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2813
+    echo >&2
2814
+  else
2815
+    cat >&2 <<'END'
2816
+Aborting the configuration process, to ensure you take notice of the issue.
2817
+
2818
+You can download and install GNU coreutils to get an 'rm' implementation
2819
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
2820
+
2821
+If you want to complete the configuration process using your problematic
2822
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2823
+to "yes", and re-run configure.
2824
+
2825
+END
2826
+    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2827
+  fi
2828
+fi
2829
+
2167 2830
 
2168 2831
 # get C++ compiler from R configuration
2169 2832
 CXX=`"${R_HOME}/bin/R" CMD config CXX`
... ...
@@ -2175,6 +2838,69 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2175 2838
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2176 2839
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2177 2840
 
2841
+DEPDIR="${am__leading_dot}deps"
2842
+
2843
+ac_config_commands="$ac_config_commands depfiles"
2844
+
2845
+
2846
+am_make=${MAKE-make}
2847
+cat > confinc << 'END'
2848
+am__doit:
2849
+	@echo this is the am__doit target
2850
+.PHONY: am__doit
2851
+END
2852
+# If we don't find an include directive, just comment out the code.
2853
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2854
+$as_echo_n "checking for style of include used by $am_make... " >&6; }
2855
+am__include="#"
2856
+am__quote=
2857
+_am_result=none
2858
+# First try GNU make style include.
2859
+echo "include confinc" > confmf
2860
+# Ignore all kinds of additional output from 'make'.
2861
+case `$am_make -s -f confmf 2> /dev/null` in #(
2862
+*the\ am__doit\ target*)
2863
+  am__include=include
2864
+  am__quote=
2865
+  _am_result=GNU
2866
+  ;;
2867
+esac
2868
+# Now try BSD make style include.
2869
+if test "$am__include" = "#"; then
2870
+   echo '.include "confinc"' > confmf
2871
+   case `$am_make -s -f confmf 2> /dev/null` in #(
2872
+   *the\ am__doit\ target*)
2873
+     am__include=.include
2874
+     am__quote="\""
2875
+     _am_result=BSD
2876
+     ;;
2877
+   esac
2878
+fi
2879
+
2880
+
2881
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2882
+$as_echo "$_am_result" >&6; }
2883
+rm -f confinc confmf
2884
+
2885
+# Check whether --enable-dependency-tracking was given.
2886
+if test "${enable_dependency_tracking+set}" = set; then :
2887
+  enableval=$enable_dependency_tracking;
2888
+fi
2889
+
2890
+if test "x$enable_dependency_tracking" != xno; then
2891
+  am_depcomp="$ac_aux_dir/depcomp"
2892
+  AMDEPBACKSLASH='\'
2893
+  am__nodep='_no'
2894
+fi
2895
+ if test "x$enable_dependency_tracking" != xno; then
2896
+  AMDEP_TRUE=
2897
+  AMDEP_FALSE='#'
2898
+else
2899
+  AMDEP_TRUE='#'
2900
+  AMDEP_FALSE=
2901
+fi
2902
+
2903
+
2178 2904
 ac_ext=cpp
2179 2905
 ac_cpp='$CXXCPP $CPPFLAGS'
2180 2906
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
... ...
@@ -2682,6 +3408,134 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2682 3408
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2683 3409
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2684 3410
 
3411
+depcc="$CXX"  am_compiler_list=
3412
+
3413
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3414
+$as_echo_n "checking dependency style of $depcc... " >&6; }
3415
+if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3416
+  $as_echo_n "(cached) " >&6
3417
+else
3418
+  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3419
+  # We make a subdir and do the tests there.  Otherwise we can end up
3420
+  # making bogus files that we don't know about and never remove.  For
3421
+  # instance it was reported that on HP-UX the gcc test will end up
3422
+  # making a dummy file named 'D' -- because '-MD' means "put the output
3423
+  # in D".
3424
+  rm -rf conftest.dir
3425
+  mkdir conftest.dir
3426
+  # Copy depcomp to subdir because otherwise we won't find it if we're
3427
+  # using a relative directory.
3428
+  cp "$am_depcomp" conftest.dir
3429
+  cd conftest.dir
3430
+  # We will build objects and dependencies in a subdirectory because
3431
+  # it helps to detect inapplicable dependency modes.  For instance
3432
+  # both Tru64's cc and ICC support -MD to output dependencies as a
3433
+  # side effect of compilation, but ICC will put the dependencies in
3434
+  # the current directory while Tru64 will put them in the object
3435
+  # directory.
3436
+  mkdir sub
3437
+
3438
+  am_cv_CXX_dependencies_compiler_type=none
3439
+  if test "$am_compiler_list" = ""; then
3440
+     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3441
+  fi
3442
+  am__universal=false
3443
+  case " $depcc " in #(
3444
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3445
+     esac
3446
+
3447
+  for depmode in $am_compiler_list; do
3448
+    # Setup a source with many dependencies, because some compilers
3449
+    # like to wrap large dependency lists on column 80 (with \), and
3450
+    # we should not choose a depcomp mode which is confused by this.
3451
+    #
3452
+    # We need to recreate these files for each test, as the compiler may
3453
+    # overwrite some of them when testing with obscure command lines.
3454
+    # This happens at least with the AIX C compiler.
3455
+    : > sub/conftest.c
3456
+    for i in 1 2 3 4 5 6; do
3457
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3458
+      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3459
+      # Solaris 10 /bin/sh.
3460
+      echo '/* dummy */' > sub/conftst$i.h
3461
+    done
3462
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3463
+
3464
+    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3465
+    # mode.  It turns out that the SunPro C++ compiler does not properly
3466
+    # handle '-M -o', and we need to detect this.  Also, some Intel
3467
+    # versions had trouble with output in subdirs.
3468
+    am__obj=sub/conftest.${OBJEXT-o}
3469
+    am__minus_obj="-o $am__obj"
3470
+    case $depmode in
3471
+    gcc)
3472
+      # This depmode causes a compiler race in universal mode.
3473
+      test "$am__universal" = false || continue
3474
+      ;;
3475
+    nosideeffect)
3476
+      # After this tag, mechanisms are not by side-effect, so they'll
3477
+      # only be used when explicitly requested.
3478
+      if test "x$enable_dependency_tracking" = xyes; then
3479
+	continue
3480
+      else
3481
+	break
3482
+      fi
3483
+      ;;
3484
+    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3485
+      # This compiler won't grok '-c -o', but also, the minuso test has
3486
+      # not run yet.  These depmodes are late enough in the game, and
3487
+      # so weak that their functioning should not be impacted.
3488
+      am__obj=conftest.${OBJEXT-o}
3489
+      am__minus_obj=
3490
+      ;;
3491
+    none) break ;;
3492
+    esac
3493
+    if depmode=$depmode \
3494
+       source=sub/conftest.c object=$am__obj \
3495
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3496
+       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3497
+         >/dev/null 2>conftest.err &&
3498
+       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3499
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3500
+       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3501
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3502
+      # icc doesn't choke on unknown options, it will just issue warnings
3503
+      # or remarks (even with -Werror).  So we grep stderr for any message
3504
+      # that says an option was ignored or not supported.
3505
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
3506
+      #   icc: Command line warning: ignoring option '-M'; no argument required
3507
+      # The diagnosis changed in icc 8.0:
3508
+      #   icc: Command line remark: option '-MP' not supported
3509
+      if (grep 'ignoring option' conftest.err ||
3510
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3511
+        am_cv_CXX_dependencies_compiler_type=$depmode
3512
+        break
3513
+      fi
3514
+    fi
3515
+  done
3516
+
3517
+  cd ..
3518
+  rm -rf conftest.dir
3519
+else
3520
+  am_cv_CXX_dependencies_compiler_type=none
3521
+fi
3522
+
3523
+fi
3524
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3525
+$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3526
+CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3527
+
3528
+ if
3529
+  test "x$enable_dependency_tracking" != xno \
3530
+  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3531
+  am__fastdepCXX_TRUE=
3532
+  am__fastdepCXX_FALSE='#'
3533
+else
3534
+  am__fastdepCXX_TRUE='#'
3535
+  am__fastdepCXX_FALSE=
3536
+fi
3537
+
3538
+
2685 3539
 
2686 3540
 ac_ext=cpp
2687 3541
 ac_cpp='$CXXCPP $CPPFLAGS'
... ...
@@ -3075,6 +3929,134 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3075 3929
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3076 3930
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3077 3931
 
3932
+depcc="$CXX"  am_compiler_list=
3933
+
3934
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3935
+$as_echo_n "checking dependency style of $depcc... " >&6; }
3936
+if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3937
+  $as_echo_n "(cached) " >&6
3938
+else
3939
+  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3940
+  # We make a subdir and do the tests there.  Otherwise we can end up
3941
+  # making bogus files that we don't know about and never remove.  For
3942
+  # instance it was reported that on HP-UX the gcc test will end up
3943
+  # making a dummy file named 'D' -- because '-MD' means "put the output
3944
+  # in D".
3945
+  rm -rf conftest.dir
3946
+  mkdir conftest.dir
3947
+  # Copy depcomp to subdir because otherwise we won't find it if we're
3948
+  # using a relative directory.
3949
+  cp "$am_depcomp" conftest.dir
3950
+  cd conftest.dir
3951
+  # We will build objects and dependencies in a subdirectory because
3952
+  # it helps to detect inapplicable dependency modes.  For instance
3953
+  # both Tru64's cc and ICC support -MD to output dependencies as a
3954
+  # side effect of compilation, but ICC will put the dependencies in
3955
+  # the current directory while Tru64 will put them in the object
3956
+  # directory.
3957
+  mkdir sub
3958
+
3959
+  am_cv_CXX_dependencies_compiler_type=none
3960
+  if test "$am_compiler_list" = ""; then
3961
+     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3962
+  fi
3963
+  am__universal=false
3964
+  case " $depcc " in #(
3965
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3966
+     esac
3967
+
3968
+  for depmode in $am_compiler_list; do
3969
+    # Setup a source with many dependencies, because some compilers
3970
+    # like to wrap large dependency lists on column 80 (with \), and
3971
+    # we should not choose a depcomp mode which is confused by this.
3972
+    #
3973
+    # We need to recreate these files for each test, as the compiler may
3974
+    # overwrite some of them when testing with obscure command lines.
3975
+    # This happens at least with the AIX C compiler.
3976
+    : > sub/conftest.c
3977
+    for i in 1 2 3 4 5 6; do
3978
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3979
+      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3980
+      # Solaris 10 /bin/sh.
3981
+      echo '/* dummy */' > sub/conftst$i.h
3982
+    done
3983
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3984
+
3985
+    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3986
+    # mode.  It turns out that the SunPro C++ compiler does not properly
3987
+    # handle '-M -o', and we need to detect this.  Also, some Intel
3988
+    # versions had trouble with output in subdirs.
3989
+    am__obj=sub/conftest.${OBJEXT-o}
3990
+    am__minus_obj="-o $am__obj"
3991
+    case $depmode in
3992
+    gcc)
3993
+      # This depmode causes a compiler race in universal mode.
3994
+      test "$am__universal" = false || continue
3995
+      ;;
3996
+    nosideeffect)
3997
+      # After this tag, mechanisms are not by side-effect, so they'll
3998
+      # only be used when explicitly requested.
3999
+      if test "x$enable_dependency_tracking" = xyes; then
4000
+	continue
4001
+      else
4002
+	break
4003
+      fi
4004
+      ;;
4005
+    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4006
+      # This compiler won't grok '-c -o', but also, the minuso test has
4007
+      # not run yet.  These depmodes are late enough in the game, and
4008
+      # so weak that their functioning should not be impacted.
4009
+      am__obj=conftest.${OBJEXT-o}
4010
+      am__minus_obj=
4011
+      ;;
4012
+    none) break ;;
4013
+    esac
4014
+    if depmode=$depmode \
4015
+       source=sub/conftest.c object=$am__obj \
4016
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4017
+       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4018
+         >/dev/null 2>conftest.err &&
4019
+       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4020
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4021
+       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4022
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4023
+      # icc doesn't choke on unknown options, it will just issue warnings
4024
+      # or remarks (even with -Werror).  So we grep stderr for any message
4025
+      # that says an option was ignored or not supported.
4026
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
4027
+      #   icc: Command line warning: ignoring option '-M'; no argument required
4028
+      # The diagnosis changed in icc 8.0:
4029
+      #   icc: Command line remark: option '-MP' not supported
4030
+      if (grep 'ignoring option' conftest.err ||
4031
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4032
+        am_cv_CXX_dependencies_compiler_type=$depmode
4033
+        break
4034
+      fi
4035
+    fi
4036
+  done
4037
+
4038
+  cd ..
4039
+  rm -rf conftest.dir
4040
+else
4041
+  am_cv_CXX_dependencies_compiler_type=none
4042
+fi
4043
+
4044
+fi
4045
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4046
+$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4047
+CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4048
+
4049
+ if
4050
+  test "x$enable_dependency_tracking" != xno \
4051
+  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4052
+  am__fastdepCXX_TRUE=
4053
+  am__fastdepCXX_FALSE='#'
4054
+else
4055
+  am__fastdepCXX_TRUE='#'
4056
+  am__fastdepCXX_FALSE=
4057
+fi
4058
+
4059
+
3078 4060
 
3079 4061
 # Check if compiling debug version
3080 4062
 # Check whether --enable-debug was given.
... ...
@@ -4233,35 +5215,6 @@ if test "x$warnings" = "xyes" ; then
4233 5215
 fi
4234 5216
 
4235 5217
 # set compile flags for SIMD
4236
-ac_aux_dir=
4237
-for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
4238
-  if test -f "$ac_dir/install-sh"; then
4239
-    ac_aux_dir=$ac_dir
4240
-    ac_install_sh="$ac_aux_dir/install-sh -c"
4241
-    break
4242
-  elif test -f "$ac_dir/install.sh"; then
4243
-    ac_aux_dir=$ac_dir
4244
-    ac_install_sh="$ac_aux_dir/install.sh -c"
4245
-    break
4246
-  elif test -f "$ac_dir/shtool"; then
4247
-    ac_aux_dir=$ac_dir
4248
-    ac_install_sh="$ac_aux_dir/shtool install -c"
4249
-    break
4250
-  fi
4251
-done
4252
-if test -z "$ac_aux_dir"; then
4253
-  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
4254
-fi
4255
-
4256
-# These three variables are undocumented and unsupported,
4257
-# and are intended to be withdrawn in a future Autoconf release.
4258
-# They can cause serious problems if a builder's source tree is in a directory
4259
-# whose full name contains unusual characters.
4260
-ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
4261
-ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
4262
-ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
4263
-
4264
-
4265 5218
 # Make sure we can run config.sub.
4266 5219
 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4267 5220
   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
... ...
@@ -4872,6 +5825,193 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4872 5825
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4873 5826
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4874 5827
 
5828
+ac_ext=c
5829
+ac_cpp='$CPP $CPPFLAGS'
5830
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5831
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5832
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
5833
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5834
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5835
+if ${am_cv_prog_cc_c_o+:} false; then :
5836
+  $as_echo_n "(cached) " >&6
5837
+else
5838
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5839
+/* end confdefs.h.  */
5840
+
5841
+int
5842
+main ()
5843
+{
5844
+
5845
+  ;
5846
+  return 0;
5847
+}
5848
+_ACEOF
5849
+  # Make sure it works both with $CC and with simple cc.
5850
+  # Following AC_PROG_CC_C_O, we do the test twice because some
5851
+  # compilers refuse to overwrite an existing .o file with -o,
5852
+  # though they will create one.
5853
+  am_cv_prog_cc_c_o=yes
5854
+  for am_i in 1 2; do
5855
+    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5856
+   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5857
+   ac_status=$?
5858
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859
+   (exit $ac_status); } \
5860
+         && test -f conftest2.$ac_objext; then
5861
+      : OK
5862
+    else
5863
+      am_cv_prog_cc_c_o=no
5864
+      break
5865
+    fi
5866
+  done
5867
+  rm -f core conftest*
5868
+  unset am_i
5869
+fi
5870
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5871
+$as_echo "$am_cv_prog_cc_c_o" >&6; }
5872
+if test "$am_cv_prog_cc_c_o" != yes; then
5873
+   # Losing compiler, so override with the script.
5874
+   # FIXME: It is wrong to rewrite CC.
5875
+   # But if we don't then we get into trouble of one sort or another.
5876
+   # A longer-term fix would be to have automake use am__CC in this case,
5877
+   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5878
+   CC="$am_aux_dir/compile $CC"
5879
+fi
5880
+ac_ext=cpp
5881
+ac_cpp='$CXXCPP $CPPFLAGS'
5882
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5883
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5884
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5885
+
5886
+
5887
+depcc="$CC"   am_compiler_list=
5888
+
5889
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5890
+$as_echo_n "checking dependency style of $depcc... " >&6; }
5891
+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5892
+  $as_echo_n "(cached) " >&6
5893
+else
5894
+  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5895
+  # We make a subdir and do the tests there.  Otherwise we can end up
5896
+  # making bogus files that we don't know about and never remove.  For
5897
+  # instance it was reported that on HP-UX the gcc test will end up
5898
+  # making a dummy file named 'D' -- because '-MD' means "put the output
5899
+  # in D".
5900
+  rm -rf conftest.dir
5901
+  mkdir conftest.dir
5902
+  # Copy depcomp to subdir because otherwise we won't find it if we're
5903
+  # using a relative directory.
5904
+  cp "$am_depcomp" conftest.dir
5905
+  cd conftest.dir
5906
+  # We will build objects and dependencies in a subdirectory because
5907
+  # it helps to detect inapplicable dependency modes.  For instance
5908
+  # both Tru64's cc and ICC support -MD to output dependencies as a
5909
+  # side effect of compilation, but ICC will put the dependencies in
5910
+  # the current directory while Tru64 will put them in the object
5911
+  # directory.
5912
+  mkdir sub
5913
+
5914
+  am_cv_CC_dependencies_compiler_type=none
5915
+  if test "$am_compiler_list" = ""; then
5916
+     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5917
+  fi
5918
+  am__universal=false
5919
+  case " $depcc " in #(
5920
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5921
+     esac
5922
+
5923
+  for depmode in $am_compiler_list; do
5924
+    # Setup a source with many dependencies, because some compilers
5925
+    # like to wrap large dependency lists on column 80 (with \), and
5926
+    # we should not choose a depcomp mode which is confused by this.
5927
+    #
5928
+    # We need to recreate these files for each test, as the compiler may
5929
+    # overwrite some of them when testing with obscure command lines.
5930
+    # This happens at least with the AIX C compiler.
5931
+    : > sub/conftest.c
5932
+    for i in 1 2 3 4 5 6; do
5933
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5934
+      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5935
+      # Solaris 10 /bin/sh.
5936
+      echo '/* dummy */' > sub/conftst$i.h
5937
+    done
5938
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5939
+
5940
+    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5941
+    # mode.  It turns out that the SunPro C++ compiler does not properly
5942
+    # handle '-M -o', and we need to detect this.  Also, some Intel
5943
+    # versions had trouble with output in subdirs.
5944
+    am__obj=sub/conftest.${OBJEXT-o}
5945
+    am__minus_obj="-o $am__obj"
5946
+    case $depmode in
5947
+    gcc)
5948
+      # This depmode causes a compiler race in universal mode.
5949
+      test "$am__universal" = false || continue
5950
+      ;;
5951
+    nosideeffect)
5952
+      # After this tag, mechanisms are not by side-effect, so they'll
5953
+      # only be used when explicitly requested.
5954
+      if test "x$enable_dependency_tracking" = xyes; then
5955
+	continue
5956
+      else
5957
+	break
5958
+      fi
5959
+      ;;
5960
+    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5961
+      # This compiler won't grok '-c -o', but also, the minuso test has
5962
+      # not run yet.  These depmodes are late enough in the game, and
5963
+      # so weak that their functioning should not be impacted.
5964
+      am__obj=conftest.${OBJEXT-o}
5965
+      am__minus_obj=
5966
+      ;;
5967
+    none) break ;;
5968
+    esac
5969
+    if depmode=$depmode \
5970
+       source=sub/conftest.c object=$am__obj \
5971
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5972
+       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5973
+         >/dev/null 2>conftest.err &&
5974
+       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5975
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5976
+       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5977
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5978
+      # icc doesn't choke on unknown options, it will just issue warnings
5979
+      # or remarks (even with -Werror).  So we grep stderr for any message
5980
+      # that says an option was ignored or not supported.
5981
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
5982
+      #   icc: Command line warning: ignoring option '-M'; no argument required
5983
+      # The diagnosis changed in icc 8.0:
5984
+      #   icc: Command line remark: option '-MP' not supported
5985
+      if (grep 'ignoring option' conftest.err ||
5986
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5987
+        am_cv_CC_dependencies_compiler_type=$depmode
5988
+        break
5989
+      fi
5990
+    fi
5991
+  done
5992
+
5993
+  cd ..
5994
+  rm -rf conftest.dir
5995
+else
5996
+  am_cv_CC_dependencies_compiler_type=none
5997
+fi
5998
+
5999
+fi
6000
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6001
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6002
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6003
+
6004
+ if
6005
+  test "x$enable_dependency_tracking" != xno \
6006
+  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6007
+  am__fastdepCC_TRUE=
6008
+  am__fastdepCC_FALSE='#'
6009
+else
6010
+  am__fastdepCC_TRUE='#'
6011
+  am__fastdepCC_FALSE=
6012
+fi
6013
+
6014
+
4875 6015
 
4876 6016
 
4877 6017
 ac_ext=c
... ...
@@ -5889,6 +7029,38 @@ LIBOBJS=$ac_libobjs
5889 7029
 LTLIBOBJS=$ac_ltlibobjs
5890 7030
 
5891 7031
 
7032
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7033
+$as_echo_n "checking that generated files are newer than configure... " >&6; }
7034
+   if test -n "$am_sleep_pid"; then
7035
+     # Hide warnings about reused PIDs.
7036
+     wait $am_sleep_pid 2>/dev/null
7037
+   fi
7038
+   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
7039
+$as_echo "done" >&6; }
7040
+ if test -n "$EXEEXT"; then
7041
+  am__EXEEXT_TRUE=
7042
+  am__EXEEXT_FALSE='#'
7043
+else
7044
+  am__EXEEXT_TRUE='#'
7045
+  am__EXEEXT_FALSE=
7046
+fi
7047
+
7048
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7049
+  as_fn_error $? "conditional \"AMDEP\" was never defined.
7050
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
7051
+fi
7052
+if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7053
+  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
7054
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
7055
+fi
7056
+if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7057
+  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
7058
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
7059
+fi
7060
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7061
+  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7062
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
7063
+fi
5892 7064
 
5893 7065
 : "${CONFIG_STATUS=./config.status}"
5894 7066
 ac_write_fail=0
... ...
@@ -6309,6 +7481,7 @@ esac
6309 7481
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6310 7482
 # Files that config.status was made for.
6311 7483
 config_files="$ac_config_files"
7484
+config_commands="$ac_config_commands"
6312 7485
 
6313 7486
 _ACEOF
6314 7487
 
... ...
@@ -6333,6 +7506,9 @@ Usage: $0 [OPTION]... [TAG]...
6333 7506
 Configuration files:
6334 7507
 $config_files
6335 7508
 
7509
+Configuration commands:
7510
+$config_commands
7511
+
6336 7512
 Report bugs to the package provider."
6337 7513
 
6338 7514
 _ACEOF
... ...
@@ -6349,6 +7525,9 @@ gives unlimited permission to copy, distribute and modify it."
6349 7525
 
6350 7526
 ac_pwd='$ac_pwd'
6351 7527
 srcdir='$srcdir'
7528
+INSTALL='$INSTALL'
7529
+MKDIR_P='$MKDIR_P'
7530
+AWK='$AWK'
6352 7531
 test -n "\$AWK" || AWK=awk
6353 7532
 _ACEOF
6354 7533
 
... ...
@@ -6441,6 +7620,11 @@ _ASBOX
6441 7620
 
6442 7621
 _ACEOF
6443 7622
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7623
+#
7624
+# INIT-COMMANDS
7625
+#
7626
+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7627
+
6444 7628
 _ACEOF
6445 7629
 
6446 7630
 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
... ...
@@ -6449,6 +7633,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6449 7633
 for ac_config_target in $ac_config_targets
6450 7634
 do
6451 7635
   case $ac_config_target in
7636
+    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6452 7637
     "src/Makevars") CONFIG_FILES="$CONFIG_FILES src/Makevars" ;;
6453 7638
 
6454 7639
   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
... ...
@@ -6462,6 +7647,7 @@ done
6462 7647
 # bizarre bug on SunOS 4.1.3.
6463 7648
 if $ac_need_defaults; then
6464 7649
   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7650
+  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6465 7651
 fi
6466 7652
 
6467 7653
 # Have a temporary directory for convenience.  Make it in the build tree
... ...
@@ -6650,7 +7836,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6650 7836
 fi # test -n "$CONFIG_FILES"
6651 7837
 
6652 7838
 
6653
-eval set X "  :F $CONFIG_FILES      "
7839
+eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
6654 7840
 shift
6655 7841
 for ac_tag
6656 7842
 do
... ...
@@ -6784,6 +7970,15 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6784 7970
   # CONFIG_FILE
6785 7971
   #
6786 7972
 
7973
+  case $INSTALL in
7974
+  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7975
+  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7976
+  esac
7977
+  ac_MKDIR_P=$MKDIR_P
7978
+  case $MKDIR_P in
7979
+  [\\/$]* | ?:[\\/]* ) ;;
7980
+  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7981
+  esac
6787 7982
 _ACEOF
6788 7983
 
6789 7984
 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
... ...
@@ -6837,6 +8032,8 @@ s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6837 8032
 s&@builddir@&$ac_builddir&;t t
6838 8033
 s&@abs_builddir@&$ac_abs_builddir&;t t
6839 8034
 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8035
+s&@INSTALL@&$ac_INSTALL&;t t
8036
+s&@MKDIR_P@&$ac_MKDIR_P&;t t
6840 8037
 $ac_datarootdir_hack
6841 8038
 "
6842 8039
 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
... ...
@@ -6860,9 +8057,108 @@ which seems to be undefined.  Please make sure it is defined" >&2;}
6860 8057
  ;;
6861 8058
 
6862 8059
 
8060
+  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8061
+$as_echo "$as_me: executing $ac_file commands" >&6;}
8062
+ ;;
8063
+  esac
8064
+
6863 8065
 
8066
+  case $ac_file$ac_mode in
8067
+    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8068
+  # Older Autoconf quotes --file arguments for eval, but not when files
8069
+  # are listed without --file.  Let's play safe and only enable the eval
8070
+  # if we detect the quoting.
8071
+  case $CONFIG_FILES in
8072
+  *\'*) eval set x "$CONFIG_FILES" ;;
8073
+  *)   set x $CONFIG_FILES ;;
6864 8074
   esac
8075
+  shift
8076
+  for mf
8077
+  do
8078
+    # Strip MF so we end up with the name of the file.
8079
+    mf=`echo "$mf" | sed -e 's/:.*$//'`
8080
+    # Check whether this is an Automake generated Makefile or not.
8081
+    # We used to match only the files named 'Makefile.in', but
8082
+    # some people rename them; so instead we look at the file content.
8083
+    # Grep'ing the first line is not enough: some people post-process
8084
+    # each Makefile.in and add a new line on top of each file to say so.
8085
+    # Grep'ing the whole file is not good either: AIX grep has a line
8086
+    # limit of 2048, but all sed's we know have understand at least 4000.
8087
+    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8088
+      dirpart=`$as_dirname -- "$mf" ||
8089
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8090
+	 X"$mf" : 'X\(//\)[^/]' \| \
8091
+	 X"$mf" : 'X\(//\)$' \| \
8092
+	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8093
+$as_echo X"$mf" |
8094
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8095
+	    s//\1/
8096
+	    q
8097
+	  }
8098
+	  /^X\(\/\/\)[^/].*/{
8099
+	    s//\1/
8100
+	    q
8101
+	  }
8102
+	  /^X\(\/\/\)$/{
8103
+	    s//\1/
8104
+	    q
8105
+	  }
8106
+	  /^X\(\/\).*/{
8107
+	    s//\1/
8108
+	    q
8109
+	  }
8110
+	  s/.*/./; q'`
8111
+    else
8112
+      continue
8113
+    fi
8114
+    # Extract the definition of DEPDIR, am__include, and am__quote
8115
+    # from the Makefile without running 'make'.
8116
+    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8117
+    test -z "$DEPDIR" && continue
8118
+    am__include=`sed -n 's/^am__include = //p' < "$mf"`
8119
+    test -z "$am__include" && continue
8120
+    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8121
+    # Find all dependency output files, they are included files with
8122
+    # $(DEPDIR) in their names.  We invoke sed twice because it is the
8123
+    # simplest approach to changing $(DEPDIR) to its actual value in the
8124
+    # expansion.
8125
+    for file in `sed -n "
8126
+      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8127
+	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8128
+      # Make sure the directory exists.
8129
+      test -f "$dirpart/$file" && continue
8130
+      fdir=`$as_dirname -- "$file" ||
8131
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8132
+	 X"$file" : 'X\(//\)[^/]' \| \
8133
+	 X"$file" : 'X\(//\)$' \| \
8134
+	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8135
+$as_echo X"$file" |
8136
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8137
+	    s//\1/
8138
+	    q
8139
+	  }
8140
+	  /^X\(\/\/\)[^/].*/{
8141
+	    s//\1/
8142
+	    q
8143
+	  }
8144
+	  /^X\(\/\/\)$/{
8145
+	    s//\1/
8146
+	    q
8147
+	  }
8148
+	  /^X\(\/\).*/{
8149
+	    s//\1/
8150
+	    q
8151
+	  }
8152
+	  s/.*/./; q'`
8153
+      as_dir=$dirpart/$fdir; as_fn_mkdir_p
8154
+      # echo "creating $dirpart/$file"
8155
+      echo '# dummy' > "$dirpart/$file"
8156
+    done
8157
+  done
8158
+}
8159
+ ;;
6865 8160
 
8161
+  esac
6866 8162
 done # for ac_tag
6867 8163
 
6868 8164
 
... ...
@@ -1,5 +1,6 @@
1 1
 # get version of CoGAPS from DESCRIPTION file
2 2
 AC_INIT(CoGAPS, m4_esyscmd_s([awk -e '/^Version:/ {print $2}' DESCRIPTION]))
3
+AM_INIT_AUTOMAKE([-Wall -Werror foreign])
3 4
 
4 5
 # get C++ compiler from R configuration
5 6
 CXX=`"${R_HOME}/bin/R" CMD config CXX`
6 7
new file mode 120000
... ...
@@ -0,0 +1 @@
1
+/usr/share/automake-1.15/install-sh
0 2
\ No newline at end of file
1 3
new file mode 120000
... ...
@@ -0,0 +1 @@
1
+/usr/share/automake-1.15/missing
0 2
\ No newline at end of file
... ...
@@ -4,7 +4,7 @@
4 4
 #ifdef __GAPS_R_BUILD__
5 5
     #define gaps_printf Rprintf
6 6
     #define gaps_cout Rcpp::Rcout
7
-    #define gaps_flush ((void)sizeof(x))
7
+    #define gaps_flush(x) R_FlushConsole()
8 8
 #else
9 9
     #define gaps_printf printf
10 10
     #define gaps_cout std::cout