complearn 0.6.2

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 (104) hide show
  1. data/AUTHORS +13 -0
  2. data/COPYING +340 -0
  3. data/ChangeLog +0 -0
  4. data/INSTALL +231 -0
  5. data/Makefile +352 -0
  6. data/Makefile.am +76 -0
  7. data/Makefile.in +352 -0
  8. data/NEWS +7 -0
  9. data/README +0 -0
  10. data/aclocal.m4 +104 -0
  11. data/bin/Makefile +209 -0
  12. data/bin/Makefile.am +8 -0
  13. data/bin/Makefile.in +209 -0
  14. data/bin/labeltree +68 -0
  15. data/bin/labeltree.in +68 -0
  16. data/bin/makesvm +70 -0
  17. data/bin/makesvm.in +70 -0
  18. data/bin/maketree +98 -0
  19. data/bin/maketree.in +98 -0
  20. data/bin/ncd +43 -0
  21. data/bin/ncd.in +43 -0
  22. data/bin/ncdmatrix +54 -0
  23. data/bin/ncdmatrix.in +54 -0
  24. data/bin/ncdvector +50 -0
  25. data/bin/ncdvector.in +50 -0
  26. data/complearn-0.6.2.gem +0 -0
  27. data/complearn.gemspec +57 -0
  28. data/config.log +597 -0
  29. data/config.status +1082 -0
  30. data/configure +4922 -0
  31. data/configure.ac +91 -0
  32. data/confstat5FpLBf/config.h +65 -0
  33. data/confstat5FpLBf/subs-1.sed +50 -0
  34. data/confstat5FpLBf/subs-2.sed +13 -0
  35. data/confstat5FpLBf/subs.frag +0 -0
  36. data/confstat5FpLBf/subs.sed +59 -0
  37. data/confstat5FpLBf/undefs.sed +24 -0
  38. data/doc/FAQ.txt +67 -0
  39. data/doc/Makefile +286 -0
  40. data/doc/Makefile.am +11 -0
  41. data/doc/Makefile.in +286 -0
  42. data/doc/devguide.txt +15 -0
  43. data/doc/example.complearnrc +14 -0
  44. data/doc/examples.txt +35 -0
  45. data/doc/man/Makefile +255 -0
  46. data/doc/man/Makefile.am +11 -0
  47. data/doc/man/Makefile.in +255 -0
  48. data/doc/man/complearn.5 +91 -0
  49. data/doc/man/labeltree.1 +35 -0
  50. data/doc/man/makesvm.1 +60 -0
  51. data/doc/man/maketree.1 +58 -0
  52. data/doc/man/ncd.1 +51 -0
  53. data/doc/man/ncdmatrix.1 +40 -0
  54. data/doc/man/ncdvector.1 +42 -0
  55. data/doc/readme.txt +101 -0
  56. data/doc/userguide.txt +46 -0
  57. data/examples/genes/blueWhale.txt +1 -0
  58. data/examples/genes/cat.txt +1 -0
  59. data/examples/genes/chimpanzee.txt +1 -0
  60. data/examples/genes/finWhale.txt +1 -0
  61. data/examples/genes/graySeal.txt +1 -0
  62. data/examples/genes/harborSeal.txt +1 -0
  63. data/examples/genes/horse.txt +1 -0
  64. data/examples/genes/human.txt +1 -0
  65. data/examples/genes/mouse.txt +1 -0
  66. data/examples/genes/rat.txt +1 -0
  67. data/ext/Makefile +167 -0
  68. data/ext/Quartet.c +399 -0
  69. data/ext/Quartet.h +62 -0
  70. data/ext/TreeScore.c +244 -0
  71. data/ext/TreeScore.h +3 -0
  72. data/ext/config.h +65 -0
  73. data/ext/config.h.in +64 -0
  74. data/ext/extconf.rb +3 -0
  75. data/ext/lib/CompLearnLib/CLConfig.rb +241 -0
  76. data/ext/lib/CompLearnLib/CompressionObject.rb +59 -0
  77. data/ext/lib/CompLearnLib/CompressionTask.rb +99 -0
  78. data/ext/lib/CompLearnLib/DistMatrix.rb +18 -0
  79. data/ext/lib/CompLearnLib/FoundComp.rb +10 -0
  80. data/ext/lib/CompLearnLib/FoundComp.rb.in +10 -0
  81. data/ext/lib/CompLearnLib/Ncd.rb +248 -0
  82. data/ext/lib/CompLearnLib/RunEnv.rb +150 -0
  83. data/ext/lib/CompLearnLib/Task.rb +39 -0
  84. data/ext/lib/CompLearnLib/TaskMaster.rb +13 -0
  85. data/ext/lib/CompLearnLib/TaskMasterMPI.rb +112 -0
  86. data/ext/lib/CompLearnLib/TaskMasterSingle.rb +39 -0
  87. data/ext/lib/CompLearnLib/Tree.rb +300 -0
  88. data/install-sh +294 -0
  89. data/missing +336 -0
  90. data/mkinstalldirs +111 -0
  91. data/o +24 -0
  92. data/scripts/CompLearn.iss +89 -0
  93. data/scripts/CompLearn.iss.in +89 -0
  94. data/scripts/debian/changelog +6 -0
  95. data/scripts/debian/control +14 -0
  96. data/scripts/makeSetup.sh +23 -0
  97. data/scripts/makeSetup.sh.in +23 -0
  98. data/scripts/makedeb.zsh +46 -0
  99. data/scripts/makedeb.zsh.in +46 -0
  100. data/tests/alltests.rb +2 -0
  101. data/tests/bz2test.rb +516 -0
  102. data/tests/sshagent-test.rb +48 -0
  103. data/tests/tests.rb +275 -0
  104. metadata +164 -0
@@ -0,0 +1,1082 @@
1
+ #! /bin/sh
2
+ # Generated by configure.
3
+ # Run this file to recreate the current configuration.
4
+ # Compiler output produced by configure, useful for debugging
5
+ # configure, is in config.log if it exists.
6
+
7
+ debug=false
8
+ ac_cs_recheck=false
9
+ ac_cs_silent=false
10
+ SHELL=${CONFIG_SHELL-/bin/sh}
11
+ ## --------------------- ##
12
+ ## M4sh Initialization. ##
13
+ ## --------------------- ##
14
+
15
+ # Be Bourne compatible
16
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17
+ emulate sh
18
+ NULLCMD=:
19
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20
+ # is contrary to our usage. Disable this feature.
21
+ alias -g '${1+"$@"}'='"$@"'
22
+ elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23
+ set -o posix
24
+ fi
25
+ DUALCASE=1; export DUALCASE # for MKS sh
26
+
27
+ # Support unset when possible.
28
+ if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29
+ as_unset=unset
30
+ else
31
+ as_unset=false
32
+ fi
33
+
34
+
35
+ # Work around bugs in pre-3.0 UWIN ksh.
36
+ $as_unset ENV MAIL MAILPATH
37
+ PS1='$ '
38
+ PS2='> '
39
+ PS4='+ '
40
+
41
+ # NLS nuisances.
42
+ for as_var in \
43
+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44
+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45
+ LC_TELEPHONE LC_TIME
46
+ do
47
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48
+ eval $as_var=C; export $as_var
49
+ else
50
+ $as_unset $as_var
51
+ fi
52
+ done
53
+
54
+ # Required to use basename.
55
+ if expr a : '\(a\)' >/dev/null 2>&1; then
56
+ as_expr=expr
57
+ else
58
+ as_expr=false
59
+ fi
60
+
61
+ if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62
+ as_basename=basename
63
+ else
64
+ as_basename=false
65
+ fi
66
+
67
+
68
+ # Name of the executable.
69
+ as_me=`$as_basename "$0" ||
70
+ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71
+ X"$0" : 'X\(//\)$' \| \
72
+ X"$0" : 'X\(/\)$' \| \
73
+ . : '\(.\)' 2>/dev/null ||
74
+ echo X/"$0" |
75
+ sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76
+ /^X\/\(\/\/\)$/{ s//\1/; q; }
77
+ /^X\/\(\/\).*/{ s//\1/; q; }
78
+ s/.*/./; q'`
79
+
80
+
81
+ # PATH needs CR, and LINENO needs CR and PATH.
82
+ # Avoid depending upon Character Ranges.
83
+ as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84
+ as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85
+ as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86
+ as_cr_digits='0123456789'
87
+ as_cr_alnum=$as_cr_Letters$as_cr_digits
88
+
89
+ # The user is always right.
90
+ if test "${PATH_SEPARATOR+set}" != set; then
91
+ echo "#! /bin/sh" >conf$$.sh
92
+ echo "exit 0" >>conf$$.sh
93
+ chmod +x conf$$.sh
94
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95
+ PATH_SEPARATOR=';'
96
+ else
97
+ PATH_SEPARATOR=:
98
+ fi
99
+ rm -f conf$$.sh
100
+ fi
101
+
102
+
103
+ as_lineno_1=$LINENO
104
+ as_lineno_2=$LINENO
105
+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
107
+ test "x$as_lineno_3" = "x$as_lineno_2" || {
108
+ # Find who we are. Look in the path if we contain no path at all
109
+ # relative or not.
110
+ case $0 in
111
+ *[\\/]* ) as_myself=$0 ;;
112
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113
+ for as_dir in $PATH
114
+ do
115
+ IFS=$as_save_IFS
116
+ test -z "$as_dir" && as_dir=.
117
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118
+ done
119
+
120
+ ;;
121
+ esac
122
+ # We did not find ourselves, most probably we were run as `sh COMMAND'
123
+ # in which case we are not to be found in the path.
124
+ if test "x$as_myself" = x; then
125
+ as_myself=$0
126
+ fi
127
+ if test ! -f "$as_myself"; then
128
+ { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
129
+ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
130
+ { (exit 1); exit 1; }; }
131
+ fi
132
+ case $CONFIG_SHELL in
133
+ '')
134
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
135
+ for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136
+ do
137
+ IFS=$as_save_IFS
138
+ test -z "$as_dir" && as_dir=.
139
+ for as_base in sh bash ksh sh5; do
140
+ case $as_dir in
141
+ /*)
142
+ if ("$as_dir/$as_base" -c '
143
+ as_lineno_1=$LINENO
144
+ as_lineno_2=$LINENO
145
+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
146
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
147
+ test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
148
+ $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
149
+ $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
150
+ CONFIG_SHELL=$as_dir/$as_base
151
+ export CONFIG_SHELL
152
+ exec "$CONFIG_SHELL" "$0" ${1+"$@"}
153
+ fi;;
154
+ esac
155
+ done
156
+ done
157
+ ;;
158
+ esac
159
+
160
+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
161
+ # uniformly replaced by the line number. The first 'sed' inserts a
162
+ # line-number line before each line; the second 'sed' does the real
163
+ # work. The second script uses 'N' to pair each line-number line
164
+ # with the numbered line, and appends trailing '-' during
165
+ # substitution so that $LINENO is not a special case at line end.
166
+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
167
+ # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
168
+ sed '=' <$as_myself |
169
+ sed '
170
+ N
171
+ s,$,-,
172
+ : loop
173
+ s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174
+ t loop
175
+ s,-$,,
176
+ s,^['$as_cr_digits']*\n,,
177
+ ' >$as_me.lineno &&
178
+ chmod +x $as_me.lineno ||
179
+ { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
180
+ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
181
+ { (exit 1); exit 1; }; }
182
+
183
+ # Don't try to exec as it changes $[0], causing all sort of problems
184
+ # (the dirname of $[0] is not the place where we might find the
185
+ # original and so on. Autoconf is especially sensible to this).
186
+ . ./$as_me.lineno
187
+ # Exit status is that of the last command.
188
+ exit
189
+ }
190
+
191
+
192
+ case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
193
+ *c*,-n*) ECHO_N= ECHO_C='
194
+ ' ECHO_T=' ' ;;
195
+ *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
196
+ *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
197
+ esac
198
+
199
+ if expr a : '\(a\)' >/dev/null 2>&1; then
200
+ as_expr=expr
201
+ else
202
+ as_expr=false
203
+ fi
204
+
205
+ rm -f conf$$ conf$$.exe conf$$.file
206
+ echo >conf$$.file
207
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
208
+ # We could just check for DJGPP; but this test a) works b) is more generic
209
+ # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
210
+ if test -f conf$$.exe; then
211
+ # Don't use ln at all; we don't have any links
212
+ as_ln_s='cp -p'
213
+ else
214
+ as_ln_s='ln -s'
215
+ fi
216
+ elif ln conf$$.file conf$$ 2>/dev/null; then
217
+ as_ln_s=ln
218
+ else
219
+ as_ln_s='cp -p'
220
+ fi
221
+ rm -f conf$$ conf$$.exe conf$$.file
222
+
223
+ if mkdir -p . 2>/dev/null; then
224
+ as_mkdir_p=:
225
+ else
226
+ test -d ./-p && rmdir ./-p
227
+ as_mkdir_p=false
228
+ fi
229
+
230
+ as_executable_p="test -f"
231
+
232
+ # Sed expression to map a string onto a valid CPP name.
233
+ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
234
+
235
+ # Sed expression to map a string onto a valid variable name.
236
+ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237
+
238
+
239
+ # IFS
240
+ # We need space, tab and new line, in precisely that order.
241
+ as_nl='
242
+ '
243
+ IFS=" $as_nl"
244
+
245
+ # CDPATH.
246
+ $as_unset CDPATH
247
+
248
+ exec 6>&1
249
+
250
+ # Open the log real soon, to keep \$[0] and so on meaningful, and to
251
+ # report actual input values of CONFIG_FILES etc. instead of their
252
+ # values after options handling. Logging --version etc. is OK.
253
+ exec 5>>config.log
254
+ {
255
+ echo
256
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
257
+ ## Running $as_me. ##
258
+ _ASBOX
259
+ } >&5
260
+ cat >&5 <<_CSEOF
261
+
262
+ This file was extended by $as_me, which was
263
+ generated by GNU Autoconf 2.59. Invocation command line was
264
+
265
+ CONFIG_FILES = $CONFIG_FILES
266
+ CONFIG_HEADERS = $CONFIG_HEADERS
267
+ CONFIG_LINKS = $CONFIG_LINKS
268
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
269
+ $ $0 $@
270
+
271
+ _CSEOF
272
+ echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
273
+ echo >&5
274
+ config_files=" Makefile doc/Makefile doc/man/Makefile bin/Makefile ext/lib/CompLearnLib/FoundComp.rb bin/ncd bin/ncdvector bin/ncdmatrix bin/labeltree bin/maketree bin/makesvm scripts/CompLearn.iss scripts/makeSetup.sh scripts/makedeb.zsh"
275
+ config_headers=" ext/config.h"
276
+ config_commands=" ext/Makefile"
277
+
278
+ ac_cs_usage="\
279
+ \`$as_me' instantiates files from templates according to the
280
+ current configuration.
281
+
282
+ Usage: $0 [OPTIONS] [FILE]...
283
+
284
+ -h, --help print this help, then exit
285
+ -V, --version print version number, then exit
286
+ -q, --quiet do not print progress messages
287
+ -d, --debug don't remove temporary files
288
+ --recheck update $as_me by reconfiguring in the same conditions
289
+ --file=FILE[:TEMPLATE]
290
+ instantiate the configuration file FILE
291
+ --header=FILE[:TEMPLATE]
292
+ instantiate the configuration header FILE
293
+
294
+ Configuration files:
295
+ $config_files
296
+
297
+ Configuration headers:
298
+ $config_headers
299
+
300
+ Configuration commands:
301
+ $config_commands
302
+
303
+ Report bugs to <[email protected]>."
304
+ ac_cs_version="\
305
+ config.status
306
+ configured by ./configure, generated by GNU Autoconf 2.59,
307
+ with options \"\"
308
+
309
+ Copyright (C) 2003 Free Software Foundation, Inc.
310
+ This config.status script is free software; the Free Software Foundation
311
+ gives unlimited permission to copy, distribute and modify it."
312
+ srcdir=.
313
+ INSTALL="/usr/bin/install -c"
314
+ # If no file are specified by the user, then we need to provide default
315
+ # value. By we need to know if files were specified by the user.
316
+ ac_need_defaults=:
317
+ while test $# != 0
318
+ do
319
+ case $1 in
320
+ --*=*)
321
+ ac_option=`expr "x$1" : 'x\([^=]*\)='`
322
+ ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
323
+ ac_shift=:
324
+ ;;
325
+ -*)
326
+ ac_option=$1
327
+ ac_optarg=$2
328
+ ac_shift=shift
329
+ ;;
330
+ *) # This is not an option, so the user has probably given explicit
331
+ # arguments.
332
+ ac_option=$1
333
+ ac_need_defaults=false;;
334
+ esac
335
+
336
+ case $ac_option in
337
+ # Handling of the options.
338
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
339
+ ac_cs_recheck=: ;;
340
+ --version | --vers* | -V )
341
+ echo "$ac_cs_version"; exit 0 ;;
342
+ --he | --h)
343
+ # Conflict between --help and --header
344
+ { { echo "$as_me:$LINENO: error: ambiguous option: $1
345
+ Try \`$0 --help' for more information." >&5
346
+ echo "$as_me: error: ambiguous option: $1
347
+ Try \`$0 --help' for more information." >&2;}
348
+ { (exit 1); exit 1; }; };;
349
+ --help | --hel | -h )
350
+ echo "$ac_cs_usage"; exit 0 ;;
351
+ --debug | --d* | -d )
352
+ debug=: ;;
353
+ --file | --fil | --fi | --f )
354
+ $ac_shift
355
+ CONFIG_FILES="$CONFIG_FILES $ac_optarg"
356
+ ac_need_defaults=false;;
357
+ --header | --heade | --head | --hea )
358
+ $ac_shift
359
+ CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
360
+ ac_need_defaults=false;;
361
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
362
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
363
+ ac_cs_silent=: ;;
364
+
365
+ # This is an error.
366
+ -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
367
+ Try \`$0 --help' for more information." >&5
368
+ echo "$as_me: error: unrecognized option: $1
369
+ Try \`$0 --help' for more information." >&2;}
370
+ { (exit 1); exit 1; }; } ;;
371
+
372
+ *) ac_config_targets="$ac_config_targets $1" ;;
373
+
374
+ esac
375
+ shift
376
+ done
377
+
378
+ ac_configure_extra_args=
379
+
380
+ if $ac_cs_silent; then
381
+ exec 6>/dev/null
382
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
383
+ fi
384
+
385
+ if $ac_cs_recheck; then
386
+ echo "running /bin/sh ./configure " $ac_configure_extra_args " --no-create --no-recursion" >&6
387
+ exec /bin/sh ./configure $ac_configure_extra_args --no-create --no-recursion
388
+ fi
389
+
390
+ #
391
+ # INIT-COMMANDS section.
392
+ #
393
+
394
+ RUBYBIN=/usr/bin/ruby1.8
395
+
396
+ for ac_config_target in $ac_config_targets
397
+ do
398
+ case "$ac_config_target" in
399
+ # Handling of arguments.
400
+ "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
401
+ "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
402
+ "doc/man/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/man/Makefile" ;;
403
+ "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
404
+ "ext/lib/CompLearnLib/FoundComp.rb" ) CONFIG_FILES="$CONFIG_FILES ext/lib/CompLearnLib/FoundComp.rb" ;;
405
+ "bin/ncd" ) CONFIG_FILES="$CONFIG_FILES bin/ncd" ;;
406
+ "bin/ncdvector" ) CONFIG_FILES="$CONFIG_FILES bin/ncdvector" ;;
407
+ "bin/ncdmatrix" ) CONFIG_FILES="$CONFIG_FILES bin/ncdmatrix" ;;
408
+ "bin/labeltree" ) CONFIG_FILES="$CONFIG_FILES bin/labeltree" ;;
409
+ "bin/maketree" ) CONFIG_FILES="$CONFIG_FILES bin/maketree" ;;
410
+ "bin/makesvm" ) CONFIG_FILES="$CONFIG_FILES bin/makesvm" ;;
411
+ "scripts/CompLearn.iss" ) CONFIG_FILES="$CONFIG_FILES scripts/CompLearn.iss" ;;
412
+ "scripts/makeSetup.sh" ) CONFIG_FILES="$CONFIG_FILES scripts/makeSetup.sh" ;;
413
+ "scripts/makedeb.zsh" ) CONFIG_FILES="$CONFIG_FILES scripts/makedeb.zsh" ;;
414
+ "ext/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS ext/Makefile" ;;
415
+ "ext/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS ext/config.h" ;;
416
+ *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
417
+ echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
418
+ { (exit 1); exit 1; }; };;
419
+ esac
420
+ done
421
+
422
+ # If the user did not use the arguments to specify the items to instantiate,
423
+ # then the envvar interface is used. Set only those that are not.
424
+ # We use the long form for the default assignment because of an extremely
425
+ # bizarre bug on SunOS 4.1.3.
426
+ if $ac_need_defaults; then
427
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
428
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
429
+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
430
+ fi
431
+
432
+ # Have a temporary directory for convenience. Make it in the build tree
433
+ # simply because there is no reason to put it here, and in addition,
434
+ # creating and moving files from /tmp can sometimes cause problems.
435
+ # Create a temporary directory, and hook for its removal unless debugging.
436
+ $debug ||
437
+ {
438
+ trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
439
+ trap '{ (exit 1); exit 1; }' 1 2 13 15
440
+ }
441
+
442
+ # Create a (secure) tmp directory for tmp files.
443
+
444
+ {
445
+ tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
446
+ test -n "$tmp" && test -d "$tmp"
447
+ } ||
448
+ {
449
+ tmp=./confstat$$-$RANDOM
450
+ (umask 077 && mkdir $tmp)
451
+ } ||
452
+ {
453
+ echo "$me: cannot create a temporary directory in ." >&2
454
+ { (exit 1); exit 1; }
455
+ }
456
+
457
+
458
+ #
459
+ # CONFIG_FILES section.
460
+ #
461
+
462
+ # No need to generate the scripts if there are no CONFIG_FILES.
463
+ # This happens for instance when ./config.status config.h
464
+ if test -n "$CONFIG_FILES"; then
465
+ # Protect against being on the right side of a sed subst in config.status.
466
+ sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g;
467
+ s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF
468
+ s,@SHELL@,/bin/sh,;t t
469
+ s,@PATH_SEPARATOR@,:,;t t
470
+ s,@PACKAGE_NAME@,,;t t
471
+ s,@PACKAGE_TARNAME@,,;t t
472
+ s,@PACKAGE_VERSION@,,;t t
473
+ s,@PACKAGE_STRING@,,;t t
474
+ s,@PACKAGE_BUGREPORT@,,;t t
475
+ s,@exec_prefix@,${prefix},;t t
476
+ s,@prefix@,/usr/local,;t t
477
+ s,@program_transform_name@,s,x,x,,;t t
478
+ s,@bindir@,${exec_prefix}/bin,;t t
479
+ s,@sbindir@,${exec_prefix}/sbin,;t t
480
+ s,@libexecdir@,${exec_prefix}/libexec,;t t
481
+ s,@datadir@,${prefix}/share,;t t
482
+ s,@sysconfdir@,${prefix}/etc,;t t
483
+ s,@sharedstatedir@,${prefix}/com,;t t
484
+ s,@localstatedir@,${prefix}/var,;t t
485
+ s,@libdir@,${exec_prefix}/lib,;t t
486
+ s,@includedir@,${prefix}/include,;t t
487
+ s,@oldincludedir@,/usr/include,;t t
488
+ s,@infodir@,${prefix}/info,;t t
489
+ s,@mandir@,${prefix}/man,;t t
490
+ s,@build_alias@,,;t t
491
+ s,@host_alias@,,;t t
492
+ s,@target_alias@,,;t t
493
+ s,@DEFS@,-DHAVE_CONFIG_H,;t t
494
+ s,@ECHO_C@,,;t t
495
+ s,@ECHO_N@,-n,;t t
496
+ s,@ECHO_T@,,;t t
497
+ s,@LIBS@,,;t t
498
+ s,@SET_MAKE@,,;t t
499
+ s,@TOPDIR@,/home/cilibrar/src/complearngem/complearn-0.6.2,;t t
500
+ s,@INSTALL_PROGRAM@,${INSTALL},;t t
501
+ s,@INSTALL_SCRIPT@,${INSTALL},;t t
502
+ s,@INSTALL_DATA@,${INSTALL} -m 644,;t t
503
+ s,@PACKAGE@,complearn,;t t
504
+ s,@VERSION@,0.6.2,;t t
505
+ s,@ACLOCAL@,aclocal,;t t
506
+ s,@AUTOCONF@,autoconf,;t t
507
+ s,@AUTOMAKE@,automake,;t t
508
+ s,@AUTOHEADER@,autoheader,;t t
509
+ s,@MAKEINFO@,makeinfo,;t t
510
+ s,@RANLIB@,ranlib,;t t
511
+ s,@ac_ct_RANLIB@,ranlib,;t t
512
+ s,@WINBUILDDIR@,c:\build,;t t
513
+ s,@CC@,gcc,;t t
514
+ s,@CFLAGS@,-g -O2,;t t
515
+ s,@LDFLAGS@,,;t t
516
+ s,@CPPFLAGS@,,;t t
517
+ s,@ac_ct_CC@,gcc,;t t
518
+ s,@EXEEXT@,,;t t
519
+ s,@OBJEXT@,o,;t t
520
+ s,@RUBYBIN@,/usr/bin/ruby1.8,;t t
521
+ s,@FOUNDBZIP2@,true,;t t
522
+ s,@FOUNDGZIP@,true,;t t
523
+ s,@CPP@,gcc -E,;t t
524
+ s,@EGREP@,grep -E,;t t
525
+ s,@LIBOBJS@,,;t t
526
+ s,@LTLIBOBJS@,,;t t
527
+ CEOF
528
+
529
+ # Split the substitutions into bite-sized pieces for seds with
530
+ # small command number limits, like on Digital OSF/1 and HP-UX.
531
+ ac_max_sed_lines=48
532
+ ac_sed_frag=1 # Number of current file.
533
+ ac_beg=1 # First line for current file.
534
+ ac_end=$ac_max_sed_lines # Line after last line for current file.
535
+ ac_more_lines=:
536
+ ac_sed_cmds=
537
+ while $ac_more_lines; do
538
+ if test $ac_beg -gt 1; then
539
+ sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
540
+ else
541
+ sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
542
+ fi
543
+ if test ! -s $tmp/subs.frag; then
544
+ ac_more_lines=false
545
+ else
546
+ # The purpose of the label and of the branching condition is to
547
+ # speed up the sed processing (if there are no `@' at all, there
548
+ # is no need to browse any of the substitutions).
549
+ # These are the two extra sed commands mentioned above.
550
+ (echo ':t
551
+ /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
552
+ if test -z "$ac_sed_cmds"; then
553
+ ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
554
+ else
555
+ ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
556
+ fi
557
+ ac_sed_frag=`expr $ac_sed_frag + 1`
558
+ ac_beg=$ac_end
559
+ ac_end=`expr $ac_end + $ac_max_sed_lines`
560
+ fi
561
+ done
562
+ if test -z "$ac_sed_cmds"; then
563
+ ac_sed_cmds=cat
564
+ fi
565
+ fi # test -n "$CONFIG_FILES"
566
+
567
+ for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
568
+ # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
569
+ case $ac_file in
570
+ - | *:- | *:-:* ) # input from stdin
571
+ cat >$tmp/stdin
572
+ ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
573
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
574
+ *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
575
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
576
+ * ) ac_file_in=$ac_file.in ;;
577
+ esac
578
+
579
+ # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
580
+ ac_dir=`(dirname "$ac_file") 2>/dev/null ||
581
+ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
582
+ X"$ac_file" : 'X\(//\)[^/]' \| \
583
+ X"$ac_file" : 'X\(//\)$' \| \
584
+ X"$ac_file" : 'X\(/\)' \| \
585
+ . : '\(.\)' 2>/dev/null ||
586
+ echo X"$ac_file" |
587
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
588
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
589
+ /^X\(\/\/\)$/{ s//\1/; q; }
590
+ /^X\(\/\).*/{ s//\1/; q; }
591
+ s/.*/./; q'`
592
+ { if $as_mkdir_p; then
593
+ mkdir -p "$ac_dir"
594
+ else
595
+ as_dir="$ac_dir"
596
+ as_dirs=
597
+ while test ! -d "$as_dir"; do
598
+ as_dirs="$as_dir $as_dirs"
599
+ as_dir=`(dirname "$as_dir") 2>/dev/null ||
600
+ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
601
+ X"$as_dir" : 'X\(//\)[^/]' \| \
602
+ X"$as_dir" : 'X\(//\)$' \| \
603
+ X"$as_dir" : 'X\(/\)' \| \
604
+ . : '\(.\)' 2>/dev/null ||
605
+ echo X"$as_dir" |
606
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
607
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
608
+ /^X\(\/\/\)$/{ s//\1/; q; }
609
+ /^X\(\/\).*/{ s//\1/; q; }
610
+ s/.*/./; q'`
611
+ done
612
+ test ! -n "$as_dirs" || mkdir $as_dirs
613
+ fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
614
+ echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
615
+ { (exit 1); exit 1; }; }; }
616
+
617
+ ac_builddir=.
618
+
619
+ if test "$ac_dir" != .; then
620
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
621
+ # A "../" for each directory in $ac_dir_suffix.
622
+ ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
623
+ else
624
+ ac_dir_suffix= ac_top_builddir=
625
+ fi
626
+
627
+ case $srcdir in
628
+ .) # No --srcdir option. We are building in place.
629
+ ac_srcdir=.
630
+ if test -z "$ac_top_builddir"; then
631
+ ac_top_srcdir=.
632
+ else
633
+ ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
634
+ fi ;;
635
+ [\\/]* | ?:[\\/]* ) # Absolute path.
636
+ ac_srcdir=$srcdir$ac_dir_suffix;
637
+ ac_top_srcdir=$srcdir ;;
638
+ *) # Relative path.
639
+ ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
640
+ ac_top_srcdir=$ac_top_builddir$srcdir ;;
641
+ esac
642
+
643
+ # Do not use `cd foo && pwd` to compute absolute paths, because
644
+ # the directories may not exist.
645
+ case `pwd` in
646
+ .) ac_abs_builddir="$ac_dir";;
647
+ *)
648
+ case "$ac_dir" in
649
+ .) ac_abs_builddir=`pwd`;;
650
+ [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
651
+ *) ac_abs_builddir=`pwd`/"$ac_dir";;
652
+ esac;;
653
+ esac
654
+ case $ac_abs_builddir in
655
+ .) ac_abs_top_builddir=${ac_top_builddir}.;;
656
+ *)
657
+ case ${ac_top_builddir}. in
658
+ .) ac_abs_top_builddir=$ac_abs_builddir;;
659
+ [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
660
+ *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
661
+ esac;;
662
+ esac
663
+ case $ac_abs_builddir in
664
+ .) ac_abs_srcdir=$ac_srcdir;;
665
+ *)
666
+ case $ac_srcdir in
667
+ .) ac_abs_srcdir=$ac_abs_builddir;;
668
+ [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
669
+ *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
670
+ esac;;
671
+ esac
672
+ case $ac_abs_builddir in
673
+ .) ac_abs_top_srcdir=$ac_top_srcdir;;
674
+ *)
675
+ case $ac_top_srcdir in
676
+ .) ac_abs_top_srcdir=$ac_abs_builddir;;
677
+ [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
678
+ *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
679
+ esac;;
680
+ esac
681
+
682
+
683
+ case $INSTALL in
684
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
685
+ *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
686
+ esac
687
+
688
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
689
+ # use $as_me), people would be surprised to read:
690
+ # /* config.h. Generated by config.status. */
691
+ if test x"$ac_file" = x-; then
692
+ configure_input=
693
+ else
694
+ configure_input="$ac_file. "
695
+ fi
696
+ configure_input=$configure_input"Generated from `echo $ac_file_in |
697
+ sed 's,.*/,,'` by configure."
698
+
699
+ # First look for the input files in the build tree, otherwise in the
700
+ # src tree.
701
+ ac_file_inputs=`IFS=:
702
+ for f in $ac_file_in; do
703
+ case $f in
704
+ -) echo $tmp/stdin ;;
705
+ [\\/$]*)
706
+ # Absolute (can't be DOS-style, as IFS=:)
707
+ test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
708
+ echo "$as_me: error: cannot find input file: $f" >&2;}
709
+ { (exit 1); exit 1; }; }
710
+ echo "$f";;
711
+ *) # Relative
712
+ if test -f "$f"; then
713
+ # Build tree
714
+ echo "$f"
715
+ elif test -f "$srcdir/$f"; then
716
+ # Source tree
717
+ echo "$srcdir/$f"
718
+ else
719
+ # /dev/null tree
720
+ { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
721
+ echo "$as_me: error: cannot find input file: $f" >&2;}
722
+ { (exit 1); exit 1; }; }
723
+ fi;;
724
+ esac
725
+ done` || { (exit 1); exit 1; }
726
+
727
+ if test x"$ac_file" != x-; then
728
+ { echo "$as_me:$LINENO: creating $ac_file" >&5
729
+ echo "$as_me: creating $ac_file" >&6;}
730
+ rm -f "$ac_file"
731
+ fi
732
+ sed "/^[ ]*VPATH[ ]*=/{
733
+ s/:*\$(srcdir):*/:/;
734
+ s/:*\${srcdir}:*/:/;
735
+ s/:*@srcdir@:*/:/;
736
+ s/^\([^=]*=[ ]*\):*/\1/;
737
+ s/:*$//;
738
+ s/^[^=]*=[ ]*$//;
739
+ }
740
+
741
+ :t
742
+ /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
743
+ s,@configure_input@,$configure_input,;t t
744
+ s,@srcdir@,$ac_srcdir,;t t
745
+ s,@abs_srcdir@,$ac_abs_srcdir,;t t
746
+ s,@top_srcdir@,$ac_top_srcdir,;t t
747
+ s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
748
+ s,@builddir@,$ac_builddir,;t t
749
+ s,@abs_builddir@,$ac_abs_builddir,;t t
750
+ s,@top_builddir@,$ac_top_builddir,;t t
751
+ s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
752
+ s,@INSTALL@,$ac_INSTALL,;t t
753
+ " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
754
+ rm -f $tmp/stdin
755
+ if test x"$ac_file" != x-; then
756
+ mv $tmp/out $ac_file
757
+ else
758
+ cat $tmp/out
759
+ rm -f $tmp/out
760
+ fi
761
+
762
+ # Run the commands associated with the file.
763
+ case $ac_file in
764
+ bin/ncd ) chmod +x bin/ncd ;;
765
+ bin/ncdvector ) chmod +x bin/ncdvector ;;
766
+ bin/ncdmatrix ) chmod +x bin/ncdmatrix ;;
767
+ bin/labeltree ) chmod +x bin/labeltree ;;
768
+ bin/maketree ) chmod +x bin/maketree ;;
769
+ bin/makesvm ) chmod +x bin/makesvm ;;
770
+ scripts/makeSetup.sh ) chmod +x scripts/makeSetup.sh ;;
771
+ scripts/makedeb.zsh ) chmod +x scripts/makedeb.zsh ;;
772
+ esac
773
+ done
774
+
775
+ #
776
+ # CONFIG_HEADER section.
777
+ #
778
+
779
+ # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
780
+ # NAME is the cpp macro being defined and VALUE is the value it is being given.
781
+ #
782
+ # ac_d sets the value in "#define NAME VALUE" lines.
783
+ ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
784
+ ac_dB='[ ].*$,\1#\2'
785
+ ac_dC=' '
786
+ ac_dD=',;t'
787
+ # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
788
+ ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
789
+ ac_uB='$,\1#\2define\3'
790
+ ac_uC=' '
791
+ ac_uD=',;t'
792
+
793
+ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
794
+ # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
795
+ case $ac_file in
796
+ - | *:- | *:-:* ) # input from stdin
797
+ cat >$tmp/stdin
798
+ ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
799
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
800
+ *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
801
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
802
+ * ) ac_file_in=$ac_file.in ;;
803
+ esac
804
+
805
+ test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
806
+ echo "$as_me: creating $ac_file" >&6;}
807
+
808
+ # First look for the input files in the build tree, otherwise in the
809
+ # src tree.
810
+ ac_file_inputs=`IFS=:
811
+ for f in $ac_file_in; do
812
+ case $f in
813
+ -) echo $tmp/stdin ;;
814
+ [\\/$]*)
815
+ # Absolute (can't be DOS-style, as IFS=:)
816
+ test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
817
+ echo "$as_me: error: cannot find input file: $f" >&2;}
818
+ { (exit 1); exit 1; }; }
819
+ # Do quote $f, to prevent DOS paths from being IFS'd.
820
+ echo "$f";;
821
+ *) # Relative
822
+ if test -f "$f"; then
823
+ # Build tree
824
+ echo "$f"
825
+ elif test -f "$srcdir/$f"; then
826
+ # Source tree
827
+ echo "$srcdir/$f"
828
+ else
829
+ # /dev/null tree
830
+ { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
831
+ echo "$as_me: error: cannot find input file: $f" >&2;}
832
+ { (exit 1); exit 1; }; }
833
+ fi;;
834
+ esac
835
+ done` || { (exit 1); exit 1; }
836
+ # Remove the trailing spaces.
837
+ sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
838
+
839
+ # Handle all the #define templates only if necessary.
840
+ if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then
841
+ # If there are no defines, we may have an empty if/fi
842
+ :
843
+ cat >$tmp/defines.sed <<CEOF
844
+ /^[ ]*#[ ]*define/!b
845
+ t clr
846
+ : clr
847
+ ${ac_dA}PACKAGE_NAME${ac_dB}PACKAGE_NAME${ac_dC}""${ac_dD}
848
+ ${ac_dA}PACKAGE_TARNAME${ac_dB}PACKAGE_TARNAME${ac_dC}""${ac_dD}
849
+ ${ac_dA}PACKAGE_VERSION${ac_dB}PACKAGE_VERSION${ac_dC}""${ac_dD}
850
+ ${ac_dA}PACKAGE_STRING${ac_dB}PACKAGE_STRING${ac_dC}""${ac_dD}
851
+ ${ac_dA}PACKAGE_BUGREPORT${ac_dB}PACKAGE_BUGREPORT${ac_dC}""${ac_dD}
852
+ ${ac_dA}PACKAGE${ac_dB}PACKAGE${ac_dC}"complearn"${ac_dD}
853
+ ${ac_dA}VERSION${ac_dB}VERSION${ac_dC}"0.6.2"${ac_dD}
854
+ ${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
855
+ ${ac_dA}HAVE_SYS_TYPES_H${ac_dB}HAVE_SYS_TYPES_H${ac_dC}1${ac_dD}
856
+ ${ac_dA}HAVE_SYS_STAT_H${ac_dB}HAVE_SYS_STAT_H${ac_dC}1${ac_dD}
857
+ ${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
858
+ ${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
859
+ ${ac_dA}HAVE_MEMORY_H${ac_dB}HAVE_MEMORY_H${ac_dC}1${ac_dD}
860
+ ${ac_dA}HAVE_STRINGS_H${ac_dB}HAVE_STRINGS_H${ac_dC}1${ac_dD}
861
+ ${ac_dA}HAVE_INTTYPES_H${ac_dB}HAVE_INTTYPES_H${ac_dC}1${ac_dD}
862
+ ${ac_dA}HAVE_STDINT_H${ac_dB}HAVE_STDINT_H${ac_dC}1${ac_dD}
863
+ ${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
864
+ ${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
865
+ ${ac_dA}HAVE_SYS_TIME_H${ac_dB}HAVE_SYS_TIME_H${ac_dC}1${ac_dD}
866
+ ${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
867
+ CEOF
868
+ sed -f $tmp/defines.sed $tmp/in >$tmp/out
869
+ rm -f $tmp/in
870
+ mv $tmp/out $tmp/in
871
+
872
+ fi # grep
873
+
874
+ # Handle all the #undef templates
875
+ cat >$tmp/undefs.sed <<CEOF
876
+ /^[ ]*#[ ]*undef/!b
877
+ t clr
878
+ : clr
879
+ ${ac_uA}PACKAGE_NAME${ac_uB}PACKAGE_NAME${ac_uC}""${ac_uD}
880
+ ${ac_uA}PACKAGE_TARNAME${ac_uB}PACKAGE_TARNAME${ac_uC}""${ac_uD}
881
+ ${ac_uA}PACKAGE_VERSION${ac_uB}PACKAGE_VERSION${ac_uC}""${ac_uD}
882
+ ${ac_uA}PACKAGE_STRING${ac_uB}PACKAGE_STRING${ac_uC}""${ac_uD}
883
+ ${ac_uA}PACKAGE_BUGREPORT${ac_uB}PACKAGE_BUGREPORT${ac_uC}""${ac_uD}
884
+ ${ac_uA}PACKAGE${ac_uB}PACKAGE${ac_uC}"complearn"${ac_uD}
885
+ ${ac_uA}VERSION${ac_uB}VERSION${ac_uC}"0.6.2"${ac_uD}
886
+ ${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
887
+ ${ac_uA}HAVE_SYS_TYPES_H${ac_uB}HAVE_SYS_TYPES_H${ac_uC}1${ac_uD}
888
+ ${ac_uA}HAVE_SYS_STAT_H${ac_uB}HAVE_SYS_STAT_H${ac_uC}1${ac_uD}
889
+ ${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
890
+ ${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
891
+ ${ac_uA}HAVE_MEMORY_H${ac_uB}HAVE_MEMORY_H${ac_uC}1${ac_uD}
892
+ ${ac_uA}HAVE_STRINGS_H${ac_uB}HAVE_STRINGS_H${ac_uC}1${ac_uD}
893
+ ${ac_uA}HAVE_INTTYPES_H${ac_uB}HAVE_INTTYPES_H${ac_uC}1${ac_uD}
894
+ ${ac_uA}HAVE_STDINT_H${ac_uB}HAVE_STDINT_H${ac_uC}1${ac_uD}
895
+ ${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
896
+ ${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
897
+ ${ac_uA}HAVE_SYS_TIME_H${ac_uB}HAVE_SYS_TIME_H${ac_uC}1${ac_uD}
898
+ ${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
899
+ s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
900
+ CEOF
901
+ sed -f $tmp/undefs.sed $tmp/in >$tmp/out
902
+ rm -f $tmp/in
903
+ mv $tmp/out $tmp/in
904
+
905
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
906
+ # use $as_me), people would be surprised to read:
907
+ # /* config.h. Generated by config.status. */
908
+ if test x"$ac_file" = x-; then
909
+ echo "/* Generated by configure. */" >$tmp/config.h
910
+ else
911
+ echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
912
+ fi
913
+ cat $tmp/in >>$tmp/config.h
914
+ rm -f $tmp/in
915
+ if test x"$ac_file" != x-; then
916
+ if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
917
+ { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
918
+ echo "$as_me: $ac_file is unchanged" >&6;}
919
+ else
920
+ ac_dir=`(dirname "$ac_file") 2>/dev/null ||
921
+ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
922
+ X"$ac_file" : 'X\(//\)[^/]' \| \
923
+ X"$ac_file" : 'X\(//\)$' \| \
924
+ X"$ac_file" : 'X\(/\)' \| \
925
+ . : '\(.\)' 2>/dev/null ||
926
+ echo X"$ac_file" |
927
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
928
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
929
+ /^X\(\/\/\)$/{ s//\1/; q; }
930
+ /^X\(\/\).*/{ s//\1/; q; }
931
+ s/.*/./; q'`
932
+ { if $as_mkdir_p; then
933
+ mkdir -p "$ac_dir"
934
+ else
935
+ as_dir="$ac_dir"
936
+ as_dirs=
937
+ while test ! -d "$as_dir"; do
938
+ as_dirs="$as_dir $as_dirs"
939
+ as_dir=`(dirname "$as_dir") 2>/dev/null ||
940
+ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
941
+ X"$as_dir" : 'X\(//\)[^/]' \| \
942
+ X"$as_dir" : 'X\(//\)$' \| \
943
+ X"$as_dir" : 'X\(/\)' \| \
944
+ . : '\(.\)' 2>/dev/null ||
945
+ echo X"$as_dir" |
946
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
947
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
948
+ /^X\(\/\/\)$/{ s//\1/; q; }
949
+ /^X\(\/\).*/{ s//\1/; q; }
950
+ s/.*/./; q'`
951
+ done
952
+ test ! -n "$as_dirs" || mkdir $as_dirs
953
+ fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
954
+ echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
955
+ { (exit 1); exit 1; }; }; }
956
+
957
+ rm -f $ac_file
958
+ mv $tmp/config.h $ac_file
959
+ fi
960
+ else
961
+ cat $tmp/config.h
962
+ rm -f $tmp/config.h
963
+ fi
964
+ done
965
+
966
+ #
967
+ # CONFIG_COMMANDS section.
968
+ #
969
+ for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
970
+ ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
971
+ ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
972
+ ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
973
+ $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
974
+ X"$ac_dest" : 'X\(//\)[^/]' \| \
975
+ X"$ac_dest" : 'X\(//\)$' \| \
976
+ X"$ac_dest" : 'X\(/\)' \| \
977
+ . : '\(.\)' 2>/dev/null ||
978
+ echo X"$ac_dest" |
979
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
980
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
981
+ /^X\(\/\/\)$/{ s//\1/; q; }
982
+ /^X\(\/\).*/{ s//\1/; q; }
983
+ s/.*/./; q'`
984
+ { if $as_mkdir_p; then
985
+ mkdir -p "$ac_dir"
986
+ else
987
+ as_dir="$ac_dir"
988
+ as_dirs=
989
+ while test ! -d "$as_dir"; do
990
+ as_dirs="$as_dir $as_dirs"
991
+ as_dir=`(dirname "$as_dir") 2>/dev/null ||
992
+ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
993
+ X"$as_dir" : 'X\(//\)[^/]' \| \
994
+ X"$as_dir" : 'X\(//\)$' \| \
995
+ X"$as_dir" : 'X\(/\)' \| \
996
+ . : '\(.\)' 2>/dev/null ||
997
+ echo X"$as_dir" |
998
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
999
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1000
+ /^X\(\/\/\)$/{ s//\1/; q; }
1001
+ /^X\(\/\).*/{ s//\1/; q; }
1002
+ s/.*/./; q'`
1003
+ done
1004
+ test ! -n "$as_dirs" || mkdir $as_dirs
1005
+ fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
1006
+ echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
1007
+ { (exit 1); exit 1; }; }; }
1008
+
1009
+ ac_builddir=.
1010
+
1011
+ if test "$ac_dir" != .; then
1012
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1013
+ # A "../" for each directory in $ac_dir_suffix.
1014
+ ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1015
+ else
1016
+ ac_dir_suffix= ac_top_builddir=
1017
+ fi
1018
+
1019
+ case $srcdir in
1020
+ .) # No --srcdir option. We are building in place.
1021
+ ac_srcdir=.
1022
+ if test -z "$ac_top_builddir"; then
1023
+ ac_top_srcdir=.
1024
+ else
1025
+ ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1026
+ fi ;;
1027
+ [\\/]* | ?:[\\/]* ) # Absolute path.
1028
+ ac_srcdir=$srcdir$ac_dir_suffix;
1029
+ ac_top_srcdir=$srcdir ;;
1030
+ *) # Relative path.
1031
+ ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1032
+ ac_top_srcdir=$ac_top_builddir$srcdir ;;
1033
+ esac
1034
+
1035
+ # Do not use `cd foo && pwd` to compute absolute paths, because
1036
+ # the directories may not exist.
1037
+ case `pwd` in
1038
+ .) ac_abs_builddir="$ac_dir";;
1039
+ *)
1040
+ case "$ac_dir" in
1041
+ .) ac_abs_builddir=`pwd`;;
1042
+ [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1043
+ *) ac_abs_builddir=`pwd`/"$ac_dir";;
1044
+ esac;;
1045
+ esac
1046
+ case $ac_abs_builddir in
1047
+ .) ac_abs_top_builddir=${ac_top_builddir}.;;
1048
+ *)
1049
+ case ${ac_top_builddir}. in
1050
+ .) ac_abs_top_builddir=$ac_abs_builddir;;
1051
+ [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1052
+ *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1053
+ esac;;
1054
+ esac
1055
+ case $ac_abs_builddir in
1056
+ .) ac_abs_srcdir=$ac_srcdir;;
1057
+ *)
1058
+ case $ac_srcdir in
1059
+ .) ac_abs_srcdir=$ac_abs_builddir;;
1060
+ [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1061
+ *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1062
+ esac;;
1063
+ esac
1064
+ case $ac_abs_builddir in
1065
+ .) ac_abs_top_srcdir=$ac_top_srcdir;;
1066
+ *)
1067
+ case $ac_top_srcdir in
1068
+ .) ac_abs_top_srcdir=$ac_abs_builddir;;
1069
+ [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1070
+ *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1071
+ esac;;
1072
+ esac
1073
+
1074
+
1075
+ { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
1076
+ echo "$as_me: executing $ac_dest commands" >&6;}
1077
+ case $ac_dest in
1078
+ ext/Makefile ) cd $srcdir/ext ; $RUBYBIN extconf.rb ; echo 'distdir:' >> Makefile ;;
1079
+ esac
1080
+ done
1081
+
1082
+ { (exit 0); exit 0; }
OSZAR »