libarchive-static 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (157) hide show
  1. data/ext/Makefile +6 -0
  2. data/ext/extconf.rb +61 -0
  3. data/ext/libarchive-0.1.1/COPYING.libarchive +60 -0
  4. data/ext/libarchive-0.1.1/LICENSE.libbzip2 +42 -0
  5. data/ext/libarchive-0.1.1/README.txt +143 -0
  6. data/ext/libarchive-0.1.1/ext/Makefile.in +0 -0
  7. data/ext/libarchive-0.1.1/ext/archive_read_support_compression.c +31 -0
  8. data/ext/libarchive-0.1.1/ext/archive_read_support_compression.h +6 -0
  9. data/ext/libarchive-0.1.1/ext/archive_read_support_format.c +32 -0
  10. data/ext/libarchive-0.1.1/ext/archive_read_support_format.h +6 -0
  11. data/ext/libarchive-0.1.1/ext/archive_write_open_rb_str.c +29 -0
  12. data/ext/libarchive-0.1.1/ext/archive_write_open_rb_str.h +6 -0
  13. data/ext/libarchive-0.1.1/ext/archive_write_set_compression.c +32 -0
  14. data/ext/libarchive-0.1.1/ext/archive_write_set_compression.h +6 -0
  15. data/ext/libarchive-0.1.1/ext/config.h.in +22 -0
  16. data/ext/libarchive-0.1.1/ext/configure +3904 -0
  17. data/ext/libarchive-0.1.1/ext/configure.in +11 -0
  18. data/ext/libarchive-0.1.1/ext/depend +19 -0
  19. data/ext/libarchive-0.1.1/ext/extconf.rb +6 -0
  20. data/ext/libarchive-0.1.1/ext/install-sh +250 -0
  21. data/ext/libarchive-0.1.1/ext/libarchive.c +89 -0
  22. data/ext/libarchive-0.1.1/ext/libarchive_archive.c +84 -0
  23. data/ext/libarchive-0.1.1/ext/libarchive_entry.c +1015 -0
  24. data/ext/libarchive-0.1.1/ext/libarchive_internal.h +155 -0
  25. data/ext/libarchive-0.1.1/ext/libarchive_reader.c +328 -0
  26. data/ext/libarchive-0.1.1/ext/libarchive_win32.h +52 -0
  27. data/ext/libarchive-0.1.1/ext/libarchive_writer.c +246 -0
  28. data/ext/libarchive-0.1.1/libarchive.c +1762 -0
  29. data/ext/libarchive-2.8.4/Makefile.in +7076 -0
  30. data/ext/libarchive-2.8.4/build/autoconf/check_stdcall_func.m4 +51 -0
  31. data/ext/libarchive-2.8.4/build/autoconf/compile +143 -0
  32. data/ext/libarchive-2.8.4/build/autoconf/config.guess +1502 -0
  33. data/ext/libarchive-2.8.4/build/autoconf/config.sub +1708 -0
  34. data/ext/libarchive-2.8.4/build/autoconf/depcomp +630 -0
  35. data/ext/libarchive-2.8.4/build/autoconf/install-sh +291 -0
  36. data/ext/libarchive-2.8.4/build/autoconf/la_uid_t.m4 +20 -0
  37. data/ext/libarchive-2.8.4/build/autoconf/ltmain.sh +8406 -0
  38. data/ext/libarchive-2.8.4/build/autoconf/missing +376 -0
  39. data/ext/libarchive-2.8.4/build/pkgconfig/libarchive.pc.in +10 -0
  40. data/ext/libarchive-2.8.4/config.h.in +772 -0
  41. data/ext/libarchive-2.8.4/configure +17916 -0
  42. data/ext/libarchive-2.8.4/libarchive/archive.h +741 -0
  43. data/ext/libarchive-2.8.4/libarchive/archive_check_magic.c +134 -0
  44. data/ext/libarchive-2.8.4/libarchive/archive_crc32.h +66 -0
  45. data/ext/libarchive-2.8.4/libarchive/archive_endian.h +162 -0
  46. data/ext/libarchive-2.8.4/libarchive/archive_entry.c +2202 -0
  47. data/ext/libarchive-2.8.4/libarchive/archive_entry.h +524 -0
  48. data/ext/libarchive-2.8.4/libarchive/archive_entry_copy_bhfi.c +74 -0
  49. data/ext/libarchive-2.8.4/libarchive/archive_entry_copy_stat.c +77 -0
  50. data/ext/libarchive-2.8.4/libarchive/archive_entry_link_resolver.c +405 -0
  51. data/ext/libarchive-2.8.4/libarchive/archive_entry_private.h +184 -0
  52. data/ext/libarchive-2.8.4/libarchive/archive_entry_stat.c +118 -0
  53. data/ext/libarchive-2.8.4/libarchive/archive_entry_strmode.c +87 -0
  54. data/ext/libarchive-2.8.4/libarchive/archive_entry_xattr.c +158 -0
  55. data/ext/libarchive-2.8.4/libarchive/archive_hash.h +281 -0
  56. data/ext/libarchive-2.8.4/libarchive/archive_platform.h +165 -0
  57. data/ext/libarchive-2.8.4/libarchive/archive_private.h +124 -0
  58. data/ext/libarchive-2.8.4/libarchive/archive_read.c +1249 -0
  59. data/ext/libarchive-2.8.4/libarchive/archive_read_data_into_fd.c +93 -0
  60. data/ext/libarchive-2.8.4/libarchive/archive_read_disk.c +198 -0
  61. data/ext/libarchive-2.8.4/libarchive/archive_read_disk_entry_from_file.c +570 -0
  62. data/ext/libarchive-2.8.4/libarchive/archive_read_disk_private.h +62 -0
  63. data/ext/libarchive-2.8.4/libarchive/archive_read_disk_set_standard_lookup.c +303 -0
  64. data/ext/libarchive-2.8.4/libarchive/archive_read_extract.c +182 -0
  65. data/ext/libarchive-2.8.4/libarchive/archive_read_open_fd.c +190 -0
  66. data/ext/libarchive-2.8.4/libarchive/archive_read_open_file.c +165 -0
  67. data/ext/libarchive-2.8.4/libarchive/archive_read_open_filename.c +272 -0
  68. data/ext/libarchive-2.8.4/libarchive/archive_read_open_memory.c +156 -0
  69. data/ext/libarchive-2.8.4/libarchive/archive_read_private.h +199 -0
  70. data/ext/libarchive-2.8.4/libarchive/archive_read_support_compression_all.c +60 -0
  71. data/ext/libarchive-2.8.4/libarchive/archive_read_support_compression_bzip2.c +353 -0
  72. data/ext/libarchive-2.8.4/libarchive/archive_read_support_compression_compress.c +444 -0
  73. data/ext/libarchive-2.8.4/libarchive/archive_read_support_compression_gzip.c +465 -0
  74. data/ext/libarchive-2.8.4/libarchive/archive_read_support_compression_none.c +40 -0
  75. data/ext/libarchive-2.8.4/libarchive/archive_read_support_compression_program.c +459 -0
  76. data/ext/libarchive-2.8.4/libarchive/archive_read_support_compression_rpm.c +287 -0
  77. data/ext/libarchive-2.8.4/libarchive/archive_read_support_compression_uu.c +627 -0
  78. data/ext/libarchive-2.8.4/libarchive/archive_read_support_compression_xz.c +708 -0
  79. data/ext/libarchive-2.8.4/libarchive/archive_read_support_format_all.c +43 -0
  80. data/ext/libarchive-2.8.4/libarchive/archive_read_support_format_ar.c +584 -0
  81. data/ext/libarchive-2.8.4/libarchive/archive_read_support_format_cpio.c +777 -0
  82. data/ext/libarchive-2.8.4/libarchive/archive_read_support_format_empty.c +93 -0
  83. data/ext/libarchive-2.8.4/libarchive/archive_read_support_format_iso9660.c +2830 -0
  84. data/ext/libarchive-2.8.4/libarchive/archive_read_support_format_mtree.c +1304 -0
  85. data/ext/libarchive-2.8.4/libarchive/archive_read_support_format_raw.c +185 -0
  86. data/ext/libarchive-2.8.4/libarchive/archive_read_support_format_tar.c +2418 -0
  87. data/ext/libarchive-2.8.4/libarchive/archive_read_support_format_xar.c +3151 -0
  88. data/ext/libarchive-2.8.4/libarchive/archive_read_support_format_zip.c +903 -0
  89. data/ext/libarchive-2.8.4/libarchive/archive_string.c +453 -0
  90. data/ext/libarchive-2.8.4/libarchive/archive_string.h +148 -0
  91. data/ext/libarchive-2.8.4/libarchive/archive_string_sprintf.c +164 -0
  92. data/ext/libarchive-2.8.4/libarchive/archive_util.c +391 -0
  93. data/ext/libarchive-2.8.4/libarchive/archive_virtual.c +94 -0
  94. data/ext/libarchive-2.8.4/libarchive/archive_windows.c +1236 -0
  95. data/ext/libarchive-2.8.4/libarchive/archive_windows.h +347 -0
  96. data/ext/libarchive-2.8.4/libarchive/archive_write.c +466 -0
  97. data/ext/libarchive-2.8.4/libarchive/archive_write_disk.c +2628 -0
  98. data/ext/libarchive-2.8.4/libarchive/archive_write_disk_private.h +38 -0
  99. data/ext/libarchive-2.8.4/libarchive/archive_write_disk_set_standard_lookup.c +262 -0
  100. data/ext/libarchive-2.8.4/libarchive/archive_write_open_fd.c +141 -0
  101. data/ext/libarchive-2.8.4/libarchive/archive_write_open_file.c +105 -0
  102. data/ext/libarchive-2.8.4/libarchive/archive_write_open_filename.c +162 -0
  103. data/ext/libarchive-2.8.4/libarchive/archive_write_open_memory.c +126 -0
  104. data/ext/libarchive-2.8.4/libarchive/archive_write_private.h +122 -0
  105. data/ext/libarchive-2.8.4/libarchive/archive_write_set_compression_bzip2.c +408 -0
  106. data/ext/libarchive-2.8.4/libarchive/archive_write_set_compression_compress.c +492 -0
  107. data/ext/libarchive-2.8.4/libarchive/archive_write_set_compression_gzip.c +477 -0
  108. data/ext/libarchive-2.8.4/libarchive/archive_write_set_compression_none.c +257 -0
  109. data/ext/libarchive-2.8.4/libarchive/archive_write_set_compression_program.c +347 -0
  110. data/ext/libarchive-2.8.4/libarchive/archive_write_set_compression_xz.c +438 -0
  111. data/ext/libarchive-2.8.4/libarchive/archive_write_set_format.c +72 -0
  112. data/ext/libarchive-2.8.4/libarchive/archive_write_set_format_ar.c +550 -0
  113. data/ext/libarchive-2.8.4/libarchive/archive_write_set_format_by_name.c +76 -0
  114. data/ext/libarchive-2.8.4/libarchive/archive_write_set_format_cpio.c +344 -0
  115. data/ext/libarchive-2.8.4/libarchive/archive_write_set_format_cpio_newc.c +295 -0
  116. data/ext/libarchive-2.8.4/libarchive/archive_write_set_format_mtree.c +1050 -0
  117. data/ext/libarchive-2.8.4/libarchive/archive_write_set_format_pax.c +1386 -0
  118. data/ext/libarchive-2.8.4/libarchive/archive_write_set_format_shar.c +626 -0
  119. data/ext/libarchive-2.8.4/libarchive/archive_write_set_format_ustar.c +587 -0
  120. data/ext/libarchive-2.8.4/libarchive/archive_write_set_format_zip.c +667 -0
  121. data/ext/libarchive-2.8.4/libarchive/config_freebsd.h +154 -0
  122. data/ext/libarchive-2.8.4/libarchive/filter_fork.c +161 -0
  123. data/ext/libarchive-2.8.4/libarchive/filter_fork.h +41 -0
  124. data/ext/libarchive-2.8.4/libarchive/filter_fork_windows.c +113 -0
  125. data/ext/libarchive-static-makefile +80 -0
  126. data/ext/libarchive-static-wrapper-makefile +22 -0
  127. data/ext/zlib-1.2.5/Makefile.in +257 -0
  128. data/ext/zlib-1.2.5/adler32.c +169 -0
  129. data/ext/zlib-1.2.5/compress.c +80 -0
  130. data/ext/zlib-1.2.5/configure +596 -0
  131. data/ext/zlib-1.2.5/crc32.c +442 -0
  132. data/ext/zlib-1.2.5/crc32.h +441 -0
  133. data/ext/zlib-1.2.5/deflate.c +1834 -0
  134. data/ext/zlib-1.2.5/deflate.h +342 -0
  135. data/ext/zlib-1.2.5/example.c +565 -0
  136. data/ext/zlib-1.2.5/gzclose.c +25 -0
  137. data/ext/zlib-1.2.5/gzguts.h +132 -0
  138. data/ext/zlib-1.2.5/gzlib.c +537 -0
  139. data/ext/zlib-1.2.5/gzread.c +653 -0
  140. data/ext/zlib-1.2.5/gzwrite.c +531 -0
  141. data/ext/zlib-1.2.5/infback.c +632 -0
  142. data/ext/zlib-1.2.5/inffast.c +340 -0
  143. data/ext/zlib-1.2.5/inffast.h +11 -0
  144. data/ext/zlib-1.2.5/inffixed.h +94 -0
  145. data/ext/zlib-1.2.5/inflate.c +1480 -0
  146. data/ext/zlib-1.2.5/inflate.h +122 -0
  147. data/ext/zlib-1.2.5/inftrees.c +330 -0
  148. data/ext/zlib-1.2.5/inftrees.h +62 -0
  149. data/ext/zlib-1.2.5/minigzip.c +440 -0
  150. data/ext/zlib-1.2.5/trees.c +1244 -0
  151. data/ext/zlib-1.2.5/trees.h +128 -0
  152. data/ext/zlib-1.2.5/uncompr.c +59 -0
  153. data/ext/zlib-1.2.5/zconf.h +428 -0
  154. data/ext/zlib-1.2.5/zlib.h +1613 -0
  155. data/ext/zlib-1.2.5/zutil.c +318 -0
  156. data/ext/zlib-1.2.5/zutil.h +274 -0
  157. metadata +211 -0
@@ -0,0 +1,3904 @@
1
+ #! /bin/sh
2
+ # Guess values for system-dependent variables and create Makefiles.
3
+ # Generated by GNU Autoconf 2.61.
4
+ #
5
+ # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
+ # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7
+ # This configure script is free software; the Free Software Foundation
8
+ # gives unlimited permission to copy, distribute and modify it.
9
+ ## --------------------- ##
10
+ ## M4sh Initialization. ##
11
+ ## --------------------- ##
12
+
13
+ # Be more Bourne compatible
14
+ DUALCASE=1; export DUALCASE # for MKS sh
15
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
+ emulate sh
17
+ NULLCMD=:
18
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
+ # is contrary to our usage. Disable this feature.
20
+ alias -g '${1+"$@"}'='"$@"'
21
+ setopt NO_GLOB_SUBST
22
+ else
23
+ case `(set -o) 2>/dev/null` in
24
+ *posix*) set -o posix ;;
25
+ esac
26
+
27
+ fi
28
+
29
+
30
+
31
+
32
+ # PATH needs CR
33
+ # Avoid depending upon Character Ranges.
34
+ as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
+ as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
+ as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
+ as_cr_digits='0123456789'
38
+ as_cr_alnum=$as_cr_Letters$as_cr_digits
39
+
40
+ # The user is always right.
41
+ if test "${PATH_SEPARATOR+set}" != set; then
42
+ echo "#! /bin/sh" >conf$$.sh
43
+ echo "exit 0" >>conf$$.sh
44
+ chmod +x conf$$.sh
45
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46
+ PATH_SEPARATOR=';'
47
+ else
48
+ PATH_SEPARATOR=:
49
+ fi
50
+ rm -f conf$$.sh
51
+ fi
52
+
53
+ # Support unset when possible.
54
+ if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55
+ as_unset=unset
56
+ else
57
+ as_unset=false
58
+ fi
59
+
60
+
61
+ # IFS
62
+ # We need space, tab and new line, in precisely that order. Quoting is
63
+ # there to prevent editors from complaining about space-tab.
64
+ # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
+ # splitting by setting IFS to empty value.)
66
+ as_nl='
67
+ '
68
+ IFS=" "" $as_nl"
69
+
70
+ # Find who we are. Look in the path if we contain no directory separator.
71
+ case $0 in
72
+ *[\\/]* ) as_myself=$0 ;;
73
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74
+ for as_dir in $PATH
75
+ do
76
+ IFS=$as_save_IFS
77
+ test -z "$as_dir" && as_dir=.
78
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79
+ done
80
+ IFS=$as_save_IFS
81
+
82
+ ;;
83
+ esac
84
+ # We did not find ourselves, most probably we were run as `sh COMMAND'
85
+ # in which case we are not to be found in the path.
86
+ if test "x$as_myself" = x; then
87
+ as_myself=$0
88
+ fi
89
+ if test ! -f "$as_myself"; then
90
+ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91
+ { (exit 1); exit 1; }
92
+ fi
93
+
94
+ # Work around bugs in pre-3.0 UWIN ksh.
95
+ for as_var in ENV MAIL MAILPATH
96
+ do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97
+ done
98
+ PS1='$ '
99
+ PS2='> '
100
+ PS4='+ '
101
+
102
+ # NLS nuisances.
103
+ for as_var in \
104
+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106
+ LC_TELEPHONE LC_TIME
107
+ do
108
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
+ eval $as_var=C; export $as_var
110
+ else
111
+ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112
+ fi
113
+ done
114
+
115
+ # Required to use basename.
116
+ if expr a : '\(a\)' >/dev/null 2>&1 &&
117
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
118
+ as_expr=expr
119
+ else
120
+ as_expr=false
121
+ fi
122
+
123
+ if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124
+ as_basename=basename
125
+ else
126
+ as_basename=false
127
+ fi
128
+
129
+
130
+ # Name of the executable.
131
+ as_me=`$as_basename -- "$0" ||
132
+ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
+ X"$0" : 'X\(//\)$' \| \
134
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135
+ echo X/"$0" |
136
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
137
+ s//\1/
138
+ q
139
+ }
140
+ /^X\/\(\/\/\)$/{
141
+ s//\1/
142
+ q
143
+ }
144
+ /^X\/\(\/\).*/{
145
+ s//\1/
146
+ q
147
+ }
148
+ s/.*/./; q'`
149
+
150
+ # CDPATH.
151
+ $as_unset CDPATH
152
+
153
+
154
+ if test "x$CONFIG_SHELL" = x; then
155
+ if (eval ":") 2>/dev/null; then
156
+ as_have_required=yes
157
+ else
158
+ as_have_required=no
159
+ fi
160
+
161
+ if test $as_have_required = yes && (eval ":
162
+ (as_func_return () {
163
+ (exit \$1)
164
+ }
165
+ as_func_success () {
166
+ as_func_return 0
167
+ }
168
+ as_func_failure () {
169
+ as_func_return 1
170
+ }
171
+ as_func_ret_success () {
172
+ return 0
173
+ }
174
+ as_func_ret_failure () {
175
+ return 1
176
+ }
177
+
178
+ exitcode=0
179
+ if as_func_success; then
180
+ :
181
+ else
182
+ exitcode=1
183
+ echo as_func_success failed.
184
+ fi
185
+
186
+ if as_func_failure; then
187
+ exitcode=1
188
+ echo as_func_failure succeeded.
189
+ fi
190
+
191
+ if as_func_ret_success; then
192
+ :
193
+ else
194
+ exitcode=1
195
+ echo as_func_ret_success failed.
196
+ fi
197
+
198
+ if as_func_ret_failure; then
199
+ exitcode=1
200
+ echo as_func_ret_failure succeeded.
201
+ fi
202
+
203
+ if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204
+ :
205
+ else
206
+ exitcode=1
207
+ echo positional parameters were not saved.
208
+ fi
209
+
210
+ test \$exitcode = 0) || { (exit 1); exit 1; }
211
+
212
+ (
213
+ as_lineno_1=\$LINENO
214
+ as_lineno_2=\$LINENO
215
+ test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
+ test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
+ ") 2> /dev/null; then
218
+ :
219
+ else
220
+ as_candidate_shells=
221
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222
+ for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223
+ do
224
+ IFS=$as_save_IFS
225
+ test -z "$as_dir" && as_dir=.
226
+ case $as_dir in
227
+ /*)
228
+ for as_base in sh bash ksh sh5; do
229
+ as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230
+ done;;
231
+ esac
232
+ done
233
+ IFS=$as_save_IFS
234
+
235
+
236
+ for as_shell in $as_candidate_shells $SHELL; do
237
+ # Try only shells that exist, to save several forks.
238
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
+ { ("$as_shell") 2> /dev/null <<\_ASEOF
240
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
+ emulate sh
242
+ NULLCMD=:
243
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
+ # is contrary to our usage. Disable this feature.
245
+ alias -g '${1+"$@"}'='"$@"'
246
+ setopt NO_GLOB_SUBST
247
+ else
248
+ case `(set -o) 2>/dev/null` in
249
+ *posix*) set -o posix ;;
250
+ esac
251
+
252
+ fi
253
+
254
+
255
+ :
256
+ _ASEOF
257
+ }; then
258
+ CONFIG_SHELL=$as_shell
259
+ as_have_required=yes
260
+ if { "$as_shell" 2> /dev/null <<\_ASEOF
261
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
+ emulate sh
263
+ NULLCMD=:
264
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
+ # is contrary to our usage. Disable this feature.
266
+ alias -g '${1+"$@"}'='"$@"'
267
+ setopt NO_GLOB_SUBST
268
+ else
269
+ case `(set -o) 2>/dev/null` in
270
+ *posix*) set -o posix ;;
271
+ esac
272
+
273
+ fi
274
+
275
+
276
+ :
277
+ (as_func_return () {
278
+ (exit $1)
279
+ }
280
+ as_func_success () {
281
+ as_func_return 0
282
+ }
283
+ as_func_failure () {
284
+ as_func_return 1
285
+ }
286
+ as_func_ret_success () {
287
+ return 0
288
+ }
289
+ as_func_ret_failure () {
290
+ return 1
291
+ }
292
+
293
+ exitcode=0
294
+ if as_func_success; then
295
+ :
296
+ else
297
+ exitcode=1
298
+ echo as_func_success failed.
299
+ fi
300
+
301
+ if as_func_failure; then
302
+ exitcode=1
303
+ echo as_func_failure succeeded.
304
+ fi
305
+
306
+ if as_func_ret_success; then
307
+ :
308
+ else
309
+ exitcode=1
310
+ echo as_func_ret_success failed.
311
+ fi
312
+
313
+ if as_func_ret_failure; then
314
+ exitcode=1
315
+ echo as_func_ret_failure succeeded.
316
+ fi
317
+
318
+ if ( set x; as_func_ret_success y && test x = "$1" ); then
319
+ :
320
+ else
321
+ exitcode=1
322
+ echo positional parameters were not saved.
323
+ fi
324
+
325
+ test $exitcode = 0) || { (exit 1); exit 1; }
326
+
327
+ (
328
+ as_lineno_1=$LINENO
329
+ as_lineno_2=$LINENO
330
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
331
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
+
333
+ _ASEOF
334
+ }; then
335
+ break
336
+ fi
337
+
338
+ fi
339
+
340
+ done
341
+
342
+ if test "x$CONFIG_SHELL" != x; then
343
+ for as_var in BASH_ENV ENV
344
+ do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
+ done
346
+ export CONFIG_SHELL
347
+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
+ fi
349
+
350
+
351
+ if test $as_have_required = no; then
352
+ echo This script requires a shell more modern than all the
353
+ echo shells that I found on your system. Please install a
354
+ echo modern shell, or manually run the script under such a
355
+ echo shell if you do have one.
356
+ { (exit 1); exit 1; }
357
+ fi
358
+
359
+
360
+ fi
361
+
362
+ fi
363
+
364
+
365
+
366
+ (eval "as_func_return () {
367
+ (exit \$1)
368
+ }
369
+ as_func_success () {
370
+ as_func_return 0
371
+ }
372
+ as_func_failure () {
373
+ as_func_return 1
374
+ }
375
+ as_func_ret_success () {
376
+ return 0
377
+ }
378
+ as_func_ret_failure () {
379
+ return 1
380
+ }
381
+
382
+ exitcode=0
383
+ if as_func_success; then
384
+ :
385
+ else
386
+ exitcode=1
387
+ echo as_func_success failed.
388
+ fi
389
+
390
+ if as_func_failure; then
391
+ exitcode=1
392
+ echo as_func_failure succeeded.
393
+ fi
394
+
395
+ if as_func_ret_success; then
396
+ :
397
+ else
398
+ exitcode=1
399
+ echo as_func_ret_success failed.
400
+ fi
401
+
402
+ if as_func_ret_failure; then
403
+ exitcode=1
404
+ echo as_func_ret_failure succeeded.
405
+ fi
406
+
407
+ if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408
+ :
409
+ else
410
+ exitcode=1
411
+ echo positional parameters were not saved.
412
+ fi
413
+
414
+ test \$exitcode = 0") || {
415
+ echo No shell found that supports shell functions.
416
+ echo Please tell autoconf@gnu.org about your system,
417
+ echo including any error possibly output before this
418
+ echo message
419
+ }
420
+
421
+
422
+
423
+ as_lineno_1=$LINENO
424
+ as_lineno_2=$LINENO
425
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
426
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427
+
428
+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
+ # uniformly replaced by the line number. The first 'sed' inserts a
430
+ # line-number line after each line using $LINENO; the second 'sed'
431
+ # does the real work. The second script uses 'N' to pair each
432
+ # line-number line with the line containing $LINENO, and appends
433
+ # trailing '-' during substitution so that $LINENO is not a special
434
+ # case at line end.
435
+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436
+ # scripts with optimization help from Paolo Bonzini. Blame Lee
437
+ # E. McMahon (1931-1989) for sed's syntax. :-)
438
+ sed -n '
439
+ p
440
+ /[$]LINENO/=
441
+ ' <$as_myself |
442
+ sed '
443
+ s/[$]LINENO.*/&-/
444
+ t lineno
445
+ b
446
+ :lineno
447
+ N
448
+ :loop
449
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450
+ t loop
451
+ s/-\n.*//
452
+ ' >$as_me.lineno &&
453
+ chmod +x "$as_me.lineno" ||
454
+ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
+ { (exit 1); exit 1; }; }
456
+
457
+ # Don't try to exec as it changes $[0], causing all sort of problems
458
+ # (the dirname of $[0] is not the place where we might find the
459
+ # original and so on. Autoconf is especially sensitive to this).
460
+ . "./$as_me.lineno"
461
+ # Exit status is that of the last command.
462
+ exit
463
+ }
464
+
465
+
466
+ if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467
+ as_dirname=dirname
468
+ else
469
+ as_dirname=false
470
+ fi
471
+
472
+ ECHO_C= ECHO_N= ECHO_T=
473
+ case `echo -n x` in
474
+ -n*)
475
+ case `echo 'x\c'` in
476
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477
+ *) ECHO_C='\c';;
478
+ esac;;
479
+ *)
480
+ ECHO_N='-n';;
481
+ esac
482
+
483
+ if expr a : '\(a\)' >/dev/null 2>&1 &&
484
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
485
+ as_expr=expr
486
+ else
487
+ as_expr=false
488
+ fi
489
+
490
+ rm -f conf$$ conf$$.exe conf$$.file
491
+ if test -d conf$$.dir; then
492
+ rm -f conf$$.dir/conf$$.file
493
+ else
494
+ rm -f conf$$.dir
495
+ mkdir conf$$.dir
496
+ fi
497
+ echo >conf$$.file
498
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
499
+ as_ln_s='ln -s'
500
+ # ... but there are two gotchas:
501
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
+ # In both cases, we have to default to `cp -p'.
504
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505
+ as_ln_s='cp -p'
506
+ elif ln conf$$.file conf$$ 2>/dev/null; then
507
+ as_ln_s=ln
508
+ else
509
+ as_ln_s='cp -p'
510
+ fi
511
+ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
+ rmdir conf$$.dir 2>/dev/null
513
+
514
+ if mkdir -p . 2>/dev/null; then
515
+ as_mkdir_p=:
516
+ else
517
+ test -d ./-p && rmdir ./-p
518
+ as_mkdir_p=false
519
+ fi
520
+
521
+ if test -x / >/dev/null 2>&1; then
522
+ as_test_x='test -x'
523
+ else
524
+ if ls -dL / >/dev/null 2>&1; then
525
+ as_ls_L_option=L
526
+ else
527
+ as_ls_L_option=
528
+ fi
529
+ as_test_x='
530
+ eval sh -c '\''
531
+ if test -d "$1"; then
532
+ test -d "$1/.";
533
+ else
534
+ case $1 in
535
+ -*)set "./$1";;
536
+ esac;
537
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
+ ???[sx]*):;;*)false;;esac;fi
539
+ '\'' sh
540
+ '
541
+ fi
542
+ as_executable_p=$as_test_x
543
+
544
+ # Sed expression to map a string onto a valid CPP name.
545
+ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546
+
547
+ # Sed expression to map a string onto a valid variable name.
548
+ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
+
550
+
551
+
552
+ exec 7<&0 </dev/null 6>&1
553
+
554
+ # Name of the host.
555
+ # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556
+ # so uname gets run too.
557
+ ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
+
559
+ #
560
+ # Initializations.
561
+ #
562
+ ac_default_prefix=/usr/local
563
+ ac_clean_files=
564
+ ac_config_libobj_dir=.
565
+ LIBOBJS=
566
+ cross_compiling=no
567
+ subdirs=
568
+ MFLAGS=
569
+ MAKEFLAGS=
570
+ SHELL=${CONFIG_SHELL-/bin/sh}
571
+
572
+ # Identity of this package.
573
+ PACKAGE_NAME=
574
+ PACKAGE_TARNAME=
575
+ PACKAGE_VERSION=
576
+ PACKAGE_STRING=
577
+ PACKAGE_BUGREPORT=
578
+
579
+ ac_subst_vars='SHELL
580
+ PATH_SEPARATOR
581
+ PACKAGE_NAME
582
+ PACKAGE_TARNAME
583
+ PACKAGE_VERSION
584
+ PACKAGE_STRING
585
+ PACKAGE_BUGREPORT
586
+ exec_prefix
587
+ prefix
588
+ program_transform_name
589
+ bindir
590
+ sbindir
591
+ libexecdir
592
+ datarootdir
593
+ datadir
594
+ sysconfdir
595
+ sharedstatedir
596
+ localstatedir
597
+ includedir
598
+ oldincludedir
599
+ docdir
600
+ infodir
601
+ htmldir
602
+ dvidir
603
+ pdfdir
604
+ psdir
605
+ libdir
606
+ localedir
607
+ mandir
608
+ DEFS
609
+ ECHO_C
610
+ ECHO_N
611
+ ECHO_T
612
+ LIBS
613
+ build_alias
614
+ host_alias
615
+ target_alias
616
+ CC
617
+ CFLAGS
618
+ LDFLAGS
619
+ CPPFLAGS
620
+ ac_ct_CC
621
+ EXEEXT
622
+ OBJEXT
623
+ INSTALL_PROGRAM
624
+ INSTALL_SCRIPT
625
+ INSTALL_DATA
626
+ LIBOBJS
627
+ LTLIBOBJS'
628
+ ac_subst_files=''
629
+ ac_precious_vars='build_alias
630
+ host_alias
631
+ target_alias
632
+ CC
633
+ CFLAGS
634
+ LDFLAGS
635
+ LIBS
636
+ CPPFLAGS'
637
+
638
+
639
+ # Initialize some variables set by options.
640
+ ac_init_help=
641
+ ac_init_version=false
642
+ # The variables have the same names as the options, with
643
+ # dashes changed to underlines.
644
+ cache_file=/dev/null
645
+ exec_prefix=NONE
646
+ no_create=
647
+ no_recursion=
648
+ prefix=NONE
649
+ program_prefix=NONE
650
+ program_suffix=NONE
651
+ program_transform_name=s,x,x,
652
+ silent=
653
+ site=
654
+ srcdir=
655
+ verbose=
656
+ x_includes=NONE
657
+ x_libraries=NONE
658
+
659
+ # Installation directory options.
660
+ # These are left unexpanded so users can "make install exec_prefix=/foo"
661
+ # and all the variables that are supposed to be based on exec_prefix
662
+ # by default will actually change.
663
+ # Use braces instead of parens because sh, perl, etc. also accept them.
664
+ # (The list follows the same order as the GNU Coding Standards.)
665
+ bindir='${exec_prefix}/bin'
666
+ sbindir='${exec_prefix}/sbin'
667
+ libexecdir='${exec_prefix}/libexec'
668
+ datarootdir='${prefix}/share'
669
+ datadir='${datarootdir}'
670
+ sysconfdir='${prefix}/etc'
671
+ sharedstatedir='${prefix}/com'
672
+ localstatedir='${prefix}/var'
673
+ includedir='${prefix}/include'
674
+ oldincludedir='/usr/include'
675
+ docdir='${datarootdir}/doc/${PACKAGE}'
676
+ infodir='${datarootdir}/info'
677
+ htmldir='${docdir}'
678
+ dvidir='${docdir}'
679
+ pdfdir='${docdir}'
680
+ psdir='${docdir}'
681
+ libdir='${exec_prefix}/lib'
682
+ localedir='${datarootdir}/locale'
683
+ mandir='${datarootdir}/man'
684
+
685
+ ac_prev=
686
+ ac_dashdash=
687
+ for ac_option
688
+ do
689
+ # If the previous option needs an argument, assign it.
690
+ if test -n "$ac_prev"; then
691
+ eval $ac_prev=\$ac_option
692
+ ac_prev=
693
+ continue
694
+ fi
695
+
696
+ case $ac_option in
697
+ *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
698
+ *) ac_optarg=yes ;;
699
+ esac
700
+
701
+ # Accept the important Cygnus configure options, so we can diagnose typos.
702
+
703
+ case $ac_dashdash$ac_option in
704
+ --)
705
+ ac_dashdash=yes ;;
706
+
707
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
708
+ ac_prev=bindir ;;
709
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
710
+ bindir=$ac_optarg ;;
711
+
712
+ -build | --build | --buil | --bui | --bu)
713
+ ac_prev=build_alias ;;
714
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
715
+ build_alias=$ac_optarg ;;
716
+
717
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
718
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
719
+ ac_prev=cache_file ;;
720
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
721
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
722
+ cache_file=$ac_optarg ;;
723
+
724
+ --config-cache | -C)
725
+ cache_file=config.cache ;;
726
+
727
+ -datadir | --datadir | --datadi | --datad)
728
+ ac_prev=datadir ;;
729
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
730
+ datadir=$ac_optarg ;;
731
+
732
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
733
+ | --dataroo | --dataro | --datar)
734
+ ac_prev=datarootdir ;;
735
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
736
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
737
+ datarootdir=$ac_optarg ;;
738
+
739
+ -disable-* | --disable-*)
740
+ ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
741
+ # Reject names that are not valid shell variable names.
742
+ expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
743
+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2
744
+ { (exit 1); exit 1; }; }
745
+ ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
746
+ eval enable_$ac_feature=no ;;
747
+
748
+ -docdir | --docdir | --docdi | --doc | --do)
749
+ ac_prev=docdir ;;
750
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
751
+ docdir=$ac_optarg ;;
752
+
753
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
754
+ ac_prev=dvidir ;;
755
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
756
+ dvidir=$ac_optarg ;;
757
+
758
+ -enable-* | --enable-*)
759
+ ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
760
+ # Reject names that are not valid shell variable names.
761
+ expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
762
+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2
763
+ { (exit 1); exit 1; }; }
764
+ ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
765
+ eval enable_$ac_feature=\$ac_optarg ;;
766
+
767
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
768
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
769
+ | --exec | --exe | --ex)
770
+ ac_prev=exec_prefix ;;
771
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
772
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
773
+ | --exec=* | --exe=* | --ex=*)
774
+ exec_prefix=$ac_optarg ;;
775
+
776
+ -gas | --gas | --ga | --g)
777
+ # Obsolete; use --with-gas.
778
+ with_gas=yes ;;
779
+
780
+ -help | --help | --hel | --he | -h)
781
+ ac_init_help=long ;;
782
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
783
+ ac_init_help=recursive ;;
784
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
785
+ ac_init_help=short ;;
786
+
787
+ -host | --host | --hos | --ho)
788
+ ac_prev=host_alias ;;
789
+ -host=* | --host=* | --hos=* | --ho=*)
790
+ host_alias=$ac_optarg ;;
791
+
792
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
793
+ ac_prev=htmldir ;;
794
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
795
+ | --ht=*)
796
+ htmldir=$ac_optarg ;;
797
+
798
+ -includedir | --includedir | --includedi | --included | --include \
799
+ | --includ | --inclu | --incl | --inc)
800
+ ac_prev=includedir ;;
801
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
802
+ | --includ=* | --inclu=* | --incl=* | --inc=*)
803
+ includedir=$ac_optarg ;;
804
+
805
+ -infodir | --infodir | --infodi | --infod | --info | --inf)
806
+ ac_prev=infodir ;;
807
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
808
+ infodir=$ac_optarg ;;
809
+
810
+ -libdir | --libdir | --libdi | --libd)
811
+ ac_prev=libdir ;;
812
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
813
+ libdir=$ac_optarg ;;
814
+
815
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
816
+ | --libexe | --libex | --libe)
817
+ ac_prev=libexecdir ;;
818
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
819
+ | --libexe=* | --libex=* | --libe=*)
820
+ libexecdir=$ac_optarg ;;
821
+
822
+ -localedir | --localedir | --localedi | --localed | --locale)
823
+ ac_prev=localedir ;;
824
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
825
+ localedir=$ac_optarg ;;
826
+
827
+ -localstatedir | --localstatedir | --localstatedi | --localstated \
828
+ | --localstate | --localstat | --localsta | --localst | --locals)
829
+ ac_prev=localstatedir ;;
830
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
831
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
832
+ localstatedir=$ac_optarg ;;
833
+
834
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
835
+ ac_prev=mandir ;;
836
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
837
+ mandir=$ac_optarg ;;
838
+
839
+ -nfp | --nfp | --nf)
840
+ # Obsolete; use --without-fp.
841
+ with_fp=no ;;
842
+
843
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
844
+ | --no-cr | --no-c | -n)
845
+ no_create=yes ;;
846
+
847
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
848
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
849
+ no_recursion=yes ;;
850
+
851
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
852
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
853
+ | --oldin | --oldi | --old | --ol | --o)
854
+ ac_prev=oldincludedir ;;
855
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
856
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
857
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
858
+ oldincludedir=$ac_optarg ;;
859
+
860
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
861
+ ac_prev=prefix ;;
862
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
863
+ prefix=$ac_optarg ;;
864
+
865
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
866
+ | --program-pre | --program-pr | --program-p)
867
+ ac_prev=program_prefix ;;
868
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
869
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
870
+ program_prefix=$ac_optarg ;;
871
+
872
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
873
+ | --program-suf | --program-su | --program-s)
874
+ ac_prev=program_suffix ;;
875
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
876
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
877
+ program_suffix=$ac_optarg ;;
878
+
879
+ -program-transform-name | --program-transform-name \
880
+ | --program-transform-nam | --program-transform-na \
881
+ | --program-transform-n | --program-transform- \
882
+ | --program-transform | --program-transfor \
883
+ | --program-transfo | --program-transf \
884
+ | --program-trans | --program-tran \
885
+ | --progr-tra | --program-tr | --program-t)
886
+ ac_prev=program_transform_name ;;
887
+ -program-transform-name=* | --program-transform-name=* \
888
+ | --program-transform-nam=* | --program-transform-na=* \
889
+ | --program-transform-n=* | --program-transform-=* \
890
+ | --program-transform=* | --program-transfor=* \
891
+ | --program-transfo=* | --program-transf=* \
892
+ | --program-trans=* | --program-tran=* \
893
+ | --progr-tra=* | --program-tr=* | --program-t=*)
894
+ program_transform_name=$ac_optarg ;;
895
+
896
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
897
+ ac_prev=pdfdir ;;
898
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
899
+ pdfdir=$ac_optarg ;;
900
+
901
+ -psdir | --psdir | --psdi | --psd | --ps)
902
+ ac_prev=psdir ;;
903
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
904
+ psdir=$ac_optarg ;;
905
+
906
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
907
+ | -silent | --silent | --silen | --sile | --sil)
908
+ silent=yes ;;
909
+
910
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
911
+ ac_prev=sbindir ;;
912
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
913
+ | --sbi=* | --sb=*)
914
+ sbindir=$ac_optarg ;;
915
+
916
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
917
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
918
+ | --sharedst | --shareds | --shared | --share | --shar \
919
+ | --sha | --sh)
920
+ ac_prev=sharedstatedir ;;
921
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
922
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
923
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
924
+ | --sha=* | --sh=*)
925
+ sharedstatedir=$ac_optarg ;;
926
+
927
+ -site | --site | --sit)
928
+ ac_prev=site ;;
929
+ -site=* | --site=* | --sit=*)
930
+ site=$ac_optarg ;;
931
+
932
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
933
+ ac_prev=srcdir ;;
934
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
935
+ srcdir=$ac_optarg ;;
936
+
937
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
938
+ | --syscon | --sysco | --sysc | --sys | --sy)
939
+ ac_prev=sysconfdir ;;
940
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
941
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
942
+ sysconfdir=$ac_optarg ;;
943
+
944
+ -target | --target | --targe | --targ | --tar | --ta | --t)
945
+ ac_prev=target_alias ;;
946
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
947
+ target_alias=$ac_optarg ;;
948
+
949
+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
950
+ verbose=yes ;;
951
+
952
+ -version | --version | --versio | --versi | --vers | -V)
953
+ ac_init_version=: ;;
954
+
955
+ -with-* | --with-*)
956
+ ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
957
+ # Reject names that are not valid shell variable names.
958
+ expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
959
+ { echo "$as_me: error: invalid package name: $ac_package" >&2
960
+ { (exit 1); exit 1; }; }
961
+ ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
962
+ eval with_$ac_package=\$ac_optarg ;;
963
+
964
+ -without-* | --without-*)
965
+ ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
966
+ # Reject names that are not valid shell variable names.
967
+ expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
968
+ { echo "$as_me: error: invalid package name: $ac_package" >&2
969
+ { (exit 1); exit 1; }; }
970
+ ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
971
+ eval with_$ac_package=no ;;
972
+
973
+ --x)
974
+ # Obsolete; use --with-x.
975
+ with_x=yes ;;
976
+
977
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
978
+ | --x-incl | --x-inc | --x-in | --x-i)
979
+ ac_prev=x_includes ;;
980
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
981
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
982
+ x_includes=$ac_optarg ;;
983
+
984
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
985
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
986
+ ac_prev=x_libraries ;;
987
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
988
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
989
+ x_libraries=$ac_optarg ;;
990
+
991
+ -*) { echo "$as_me: error: unrecognized option: $ac_option
992
+ Try \`$0 --help' for more information." >&2
993
+ { (exit 1); exit 1; }; }
994
+ ;;
995
+
996
+ *=*)
997
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
998
+ # Reject names that are not valid shell variable names.
999
+ expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1000
+ { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1001
+ { (exit 1); exit 1; }; }
1002
+ eval $ac_envvar=\$ac_optarg
1003
+ export $ac_envvar ;;
1004
+
1005
+ *)
1006
+ # FIXME: should be removed in autoconf 3.0.
1007
+ echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1008
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1009
+ echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1010
+ : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1011
+ ;;
1012
+
1013
+ esac
1014
+ done
1015
+
1016
+ if test -n "$ac_prev"; then
1017
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1018
+ { echo "$as_me: error: missing argument to $ac_option" >&2
1019
+ { (exit 1); exit 1; }; }
1020
+ fi
1021
+
1022
+ # Be sure to have absolute directory names.
1023
+ for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1024
+ datadir sysconfdir sharedstatedir localstatedir includedir \
1025
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1026
+ libdir localedir mandir
1027
+ do
1028
+ eval ac_val=\$$ac_var
1029
+ case $ac_val in
1030
+ [\\/$]* | ?:[\\/]* ) continue;;
1031
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1032
+ esac
1033
+ { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1034
+ { (exit 1); exit 1; }; }
1035
+ done
1036
+
1037
+ # There might be people who depend on the old broken behavior: `$host'
1038
+ # used to hold the argument of --host etc.
1039
+ # FIXME: To remove some day.
1040
+ build=$build_alias
1041
+ host=$host_alias
1042
+ target=$target_alias
1043
+
1044
+ # FIXME: To remove some day.
1045
+ if test "x$host_alias" != x; then
1046
+ if test "x$build_alias" = x; then
1047
+ cross_compiling=maybe
1048
+ echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1049
+ If a cross compiler is detected then cross compile mode will be used." >&2
1050
+ elif test "x$build_alias" != "x$host_alias"; then
1051
+ cross_compiling=yes
1052
+ fi
1053
+ fi
1054
+
1055
+ ac_tool_prefix=
1056
+ test -n "$host_alias" && ac_tool_prefix=$host_alias-
1057
+
1058
+ test "$silent" = yes && exec 6>/dev/null
1059
+
1060
+
1061
+ ac_pwd=`pwd` && test -n "$ac_pwd" &&
1062
+ ac_ls_di=`ls -di .` &&
1063
+ ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1064
+ { echo "$as_me: error: Working directory cannot be determined" >&2
1065
+ { (exit 1); exit 1; }; }
1066
+ test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1067
+ { echo "$as_me: error: pwd does not report name of working directory" >&2
1068
+ { (exit 1); exit 1; }; }
1069
+
1070
+
1071
+ # Find the source files, if location was not specified.
1072
+ if test -z "$srcdir"; then
1073
+ ac_srcdir_defaulted=yes
1074
+ # Try the directory containing this script, then the parent directory.
1075
+ ac_confdir=`$as_dirname -- "$0" ||
1076
+ $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1077
+ X"$0" : 'X\(//\)[^/]' \| \
1078
+ X"$0" : 'X\(//\)$' \| \
1079
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1080
+ echo X"$0" |
1081
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1082
+ s//\1/
1083
+ q
1084
+ }
1085
+ /^X\(\/\/\)[^/].*/{
1086
+ s//\1/
1087
+ q
1088
+ }
1089
+ /^X\(\/\/\)$/{
1090
+ s//\1/
1091
+ q
1092
+ }
1093
+ /^X\(\/\).*/{
1094
+ s//\1/
1095
+ q
1096
+ }
1097
+ s/.*/./; q'`
1098
+ srcdir=$ac_confdir
1099
+ if test ! -r "$srcdir/$ac_unique_file"; then
1100
+ srcdir=..
1101
+ fi
1102
+ else
1103
+ ac_srcdir_defaulted=no
1104
+ fi
1105
+ if test ! -r "$srcdir/$ac_unique_file"; then
1106
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1107
+ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1108
+ { (exit 1); exit 1; }; }
1109
+ fi
1110
+ ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1111
+ ac_abs_confdir=`(
1112
+ cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1113
+ { (exit 1); exit 1; }; }
1114
+ pwd)`
1115
+ # When building in place, set srcdir=.
1116
+ if test "$ac_abs_confdir" = "$ac_pwd"; then
1117
+ srcdir=.
1118
+ fi
1119
+ # Remove unnecessary trailing slashes from srcdir.
1120
+ # Double slashes in file names in object file debugging info
1121
+ # mess up M-x gdb in Emacs.
1122
+ case $srcdir in
1123
+ */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1124
+ esac
1125
+ for ac_var in $ac_precious_vars; do
1126
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
1127
+ eval ac_env_${ac_var}_value=\$${ac_var}
1128
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1129
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
1130
+ done
1131
+
1132
+ #
1133
+ # Report the --help message.
1134
+ #
1135
+ if test "$ac_init_help" = "long"; then
1136
+ # Omit some internal or obsolete options to make the list less imposing.
1137
+ # This message is too long to be a string in the A/UX 3.1 sh.
1138
+ cat <<_ACEOF
1139
+ \`configure' configures this package to adapt to many kinds of systems.
1140
+
1141
+ Usage: $0 [OPTION]... [VAR=VALUE]...
1142
+
1143
+ To assign environment variables (e.g., CC, CFLAGS...), specify them as
1144
+ VAR=VALUE. See below for descriptions of some of the useful variables.
1145
+
1146
+ Defaults for the options are specified in brackets.
1147
+
1148
+ Configuration:
1149
+ -h, --help display this help and exit
1150
+ --help=short display options specific to this package
1151
+ --help=recursive display the short help of all the included packages
1152
+ -V, --version display version information and exit
1153
+ -q, --quiet, --silent do not print \`checking...' messages
1154
+ --cache-file=FILE cache test results in FILE [disabled]
1155
+ -C, --config-cache alias for \`--cache-file=config.cache'
1156
+ -n, --no-create do not create output files
1157
+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
1158
+
1159
+ Installation directories:
1160
+ --prefix=PREFIX install architecture-independent files in PREFIX
1161
+ [$ac_default_prefix]
1162
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1163
+ [PREFIX]
1164
+
1165
+ By default, \`make install' will install all the files in
1166
+ \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1167
+ an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1168
+ for instance \`--prefix=\$HOME'.
1169
+
1170
+ For better control, use the options below.
1171
+
1172
+ Fine tuning of the installation directories:
1173
+ --bindir=DIR user executables [EPREFIX/bin]
1174
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
1175
+ --libexecdir=DIR program executables [EPREFIX/libexec]
1176
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1177
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1178
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1179
+ --libdir=DIR object code libraries [EPREFIX/lib]
1180
+ --includedir=DIR C header files [PREFIX/include]
1181
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
1182
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1183
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1184
+ --infodir=DIR info documentation [DATAROOTDIR/info]
1185
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1186
+ --mandir=DIR man documentation [DATAROOTDIR/man]
1187
+ --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1188
+ --htmldir=DIR html documentation [DOCDIR]
1189
+ --dvidir=DIR dvi documentation [DOCDIR]
1190
+ --pdfdir=DIR pdf documentation [DOCDIR]
1191
+ --psdir=DIR ps documentation [DOCDIR]
1192
+ _ACEOF
1193
+
1194
+ cat <<\_ACEOF
1195
+ _ACEOF
1196
+ fi
1197
+
1198
+ if test -n "$ac_init_help"; then
1199
+
1200
+ cat <<\_ACEOF
1201
+
1202
+ Optional Features:
1203
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1204
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1205
+ --disable-largefile omit support for large files
1206
+
1207
+ Some influential environment variables:
1208
+ CC C compiler command
1209
+ CFLAGS C compiler flags
1210
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1211
+ nonstandard directory <lib dir>
1212
+ LIBS libraries to pass to the linker, e.g. -l<library>
1213
+ CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1214
+ you have headers in a nonstandard directory <include dir>
1215
+
1216
+ Use these variables to override the choices made by `configure' or to help
1217
+ it to find libraries and programs with nonstandard names/locations.
1218
+
1219
+ _ACEOF
1220
+ ac_status=$?
1221
+ fi
1222
+
1223
+ if test "$ac_init_help" = "recursive"; then
1224
+ # If there are subdirs, report their specific --help.
1225
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1226
+ test -d "$ac_dir" || continue
1227
+ ac_builddir=.
1228
+
1229
+ case "$ac_dir" in
1230
+ .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1231
+ *)
1232
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1233
+ # A ".." for each directory in $ac_dir_suffix.
1234
+ ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1235
+ case $ac_top_builddir_sub in
1236
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1237
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1238
+ esac ;;
1239
+ esac
1240
+ ac_abs_top_builddir=$ac_pwd
1241
+ ac_abs_builddir=$ac_pwd$ac_dir_suffix
1242
+ # for backward compatibility:
1243
+ ac_top_builddir=$ac_top_build_prefix
1244
+
1245
+ case $srcdir in
1246
+ .) # We are building in place.
1247
+ ac_srcdir=.
1248
+ ac_top_srcdir=$ac_top_builddir_sub
1249
+ ac_abs_top_srcdir=$ac_pwd ;;
1250
+ [\\/]* | ?:[\\/]* ) # Absolute name.
1251
+ ac_srcdir=$srcdir$ac_dir_suffix;
1252
+ ac_top_srcdir=$srcdir
1253
+ ac_abs_top_srcdir=$srcdir ;;
1254
+ *) # Relative name.
1255
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1256
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
1257
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1258
+ esac
1259
+ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1260
+
1261
+ cd "$ac_dir" || { ac_status=$?; continue; }
1262
+ # Check for guested configure.
1263
+ if test -f "$ac_srcdir/configure.gnu"; then
1264
+ echo &&
1265
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1266
+ elif test -f "$ac_srcdir/configure"; then
1267
+ echo &&
1268
+ $SHELL "$ac_srcdir/configure" --help=recursive
1269
+ else
1270
+ echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1271
+ fi || ac_status=$?
1272
+ cd "$ac_pwd" || { ac_status=$?; break; }
1273
+ done
1274
+ fi
1275
+
1276
+ test -n "$ac_init_help" && exit $ac_status
1277
+ if $ac_init_version; then
1278
+ cat <<\_ACEOF
1279
+ configure
1280
+ generated by GNU Autoconf 2.61
1281
+
1282
+ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1283
+ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1284
+ This configure script is free software; the Free Software Foundation
1285
+ gives unlimited permission to copy, distribute and modify it.
1286
+ _ACEOF
1287
+ exit
1288
+ fi
1289
+ cat >config.log <<_ACEOF
1290
+ This file contains any messages produced by compilers while
1291
+ running configure, to aid debugging if configure makes a mistake.
1292
+
1293
+ It was created by $as_me, which was
1294
+ generated by GNU Autoconf 2.61. Invocation command line was
1295
+
1296
+ $ $0 $@
1297
+
1298
+ _ACEOF
1299
+ exec 5>>config.log
1300
+ {
1301
+ cat <<_ASUNAME
1302
+ ## --------- ##
1303
+ ## Platform. ##
1304
+ ## --------- ##
1305
+
1306
+ hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1307
+ uname -m = `(uname -m) 2>/dev/null || echo unknown`
1308
+ uname -r = `(uname -r) 2>/dev/null || echo unknown`
1309
+ uname -s = `(uname -s) 2>/dev/null || echo unknown`
1310
+ uname -v = `(uname -v) 2>/dev/null || echo unknown`
1311
+
1312
+ /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1313
+ /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1314
+
1315
+ /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1316
+ /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1317
+ /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1318
+ /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1319
+ /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1320
+ /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1321
+ /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1322
+
1323
+ _ASUNAME
1324
+
1325
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1326
+ for as_dir in $PATH
1327
+ do
1328
+ IFS=$as_save_IFS
1329
+ test -z "$as_dir" && as_dir=.
1330
+ echo "PATH: $as_dir"
1331
+ done
1332
+ IFS=$as_save_IFS
1333
+
1334
+ } >&5
1335
+
1336
+ cat >&5 <<_ACEOF
1337
+
1338
+
1339
+ ## ----------- ##
1340
+ ## Core tests. ##
1341
+ ## ----------- ##
1342
+
1343
+ _ACEOF
1344
+
1345
+
1346
+ # Keep a trace of the command line.
1347
+ # Strip out --no-create and --no-recursion so they do not pile up.
1348
+ # Strip out --silent because we don't want to record it for future runs.
1349
+ # Also quote any args containing shell meta-characters.
1350
+ # Make two passes to allow for proper duplicate-argument suppression.
1351
+ ac_configure_args=
1352
+ ac_configure_args0=
1353
+ ac_configure_args1=
1354
+ ac_must_keep_next=false
1355
+ for ac_pass in 1 2
1356
+ do
1357
+ for ac_arg
1358
+ do
1359
+ case $ac_arg in
1360
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1361
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1362
+ | -silent | --silent | --silen | --sile | --sil)
1363
+ continue ;;
1364
+ *\'*)
1365
+ ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1366
+ esac
1367
+ case $ac_pass in
1368
+ 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1369
+ 2)
1370
+ ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1371
+ if test $ac_must_keep_next = true; then
1372
+ ac_must_keep_next=false # Got value, back to normal.
1373
+ else
1374
+ case $ac_arg in
1375
+ *=* | --config-cache | -C | -disable-* | --disable-* \
1376
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1377
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1378
+ | -with-* | --with-* | -without-* | --without-* | --x)
1379
+ case "$ac_configure_args0 " in
1380
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1381
+ esac
1382
+ ;;
1383
+ -* ) ac_must_keep_next=true ;;
1384
+ esac
1385
+ fi
1386
+ ac_configure_args="$ac_configure_args '$ac_arg'"
1387
+ ;;
1388
+ esac
1389
+ done
1390
+ done
1391
+ $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1392
+ $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1393
+
1394
+ # When interrupted or exit'd, cleanup temporary files, and complete
1395
+ # config.log. We remove comments because anyway the quotes in there
1396
+ # would cause problems or look ugly.
1397
+ # WARNING: Use '\'' to represent an apostrophe within the trap.
1398
+ # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1399
+ trap 'exit_status=$?
1400
+ # Save into config.log some information that might help in debugging.
1401
+ {
1402
+ echo
1403
+
1404
+ cat <<\_ASBOX
1405
+ ## ---------------- ##
1406
+ ## Cache variables. ##
1407
+ ## ---------------- ##
1408
+ _ASBOX
1409
+ echo
1410
+ # The following way of writing the cache mishandles newlines in values,
1411
+ (
1412
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1413
+ eval ac_val=\$$ac_var
1414
+ case $ac_val in #(
1415
+ *${as_nl}*)
1416
+ case $ac_var in #(
1417
+ *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1418
+ echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1419
+ esac
1420
+ case $ac_var in #(
1421
+ _ | IFS | as_nl) ;; #(
1422
+ *) $as_unset $ac_var ;;
1423
+ esac ;;
1424
+ esac
1425
+ done
1426
+ (set) 2>&1 |
1427
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1428
+ *${as_nl}ac_space=\ *)
1429
+ sed -n \
1430
+ "s/'\''/'\''\\\\'\'''\''/g;
1431
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1432
+ ;; #(
1433
+ *)
1434
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1435
+ ;;
1436
+ esac |
1437
+ sort
1438
+ )
1439
+ echo
1440
+
1441
+ cat <<\_ASBOX
1442
+ ## ----------------- ##
1443
+ ## Output variables. ##
1444
+ ## ----------------- ##
1445
+ _ASBOX
1446
+ echo
1447
+ for ac_var in $ac_subst_vars
1448
+ do
1449
+ eval ac_val=\$$ac_var
1450
+ case $ac_val in
1451
+ *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1452
+ esac
1453
+ echo "$ac_var='\''$ac_val'\''"
1454
+ done | sort
1455
+ echo
1456
+
1457
+ if test -n "$ac_subst_files"; then
1458
+ cat <<\_ASBOX
1459
+ ## ------------------- ##
1460
+ ## File substitutions. ##
1461
+ ## ------------------- ##
1462
+ _ASBOX
1463
+ echo
1464
+ for ac_var in $ac_subst_files
1465
+ do
1466
+ eval ac_val=\$$ac_var
1467
+ case $ac_val in
1468
+ *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1469
+ esac
1470
+ echo "$ac_var='\''$ac_val'\''"
1471
+ done | sort
1472
+ echo
1473
+ fi
1474
+
1475
+ if test -s confdefs.h; then
1476
+ cat <<\_ASBOX
1477
+ ## ----------- ##
1478
+ ## confdefs.h. ##
1479
+ ## ----------- ##
1480
+ _ASBOX
1481
+ echo
1482
+ cat confdefs.h
1483
+ echo
1484
+ fi
1485
+ test "$ac_signal" != 0 &&
1486
+ echo "$as_me: caught signal $ac_signal"
1487
+ echo "$as_me: exit $exit_status"
1488
+ } >&5
1489
+ rm -f core *.core core.conftest.* &&
1490
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1491
+ exit $exit_status
1492
+ ' 0
1493
+ for ac_signal in 1 2 13 15; do
1494
+ trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1495
+ done
1496
+ ac_signal=0
1497
+
1498
+ # confdefs.h avoids OS command line length limits that DEFS can exceed.
1499
+ rm -f -r conftest* confdefs.h
1500
+
1501
+ # Predefined preprocessor variables.
1502
+
1503
+ cat >>confdefs.h <<_ACEOF
1504
+ #define PACKAGE_NAME "$PACKAGE_NAME"
1505
+ _ACEOF
1506
+
1507
+
1508
+ cat >>confdefs.h <<_ACEOF
1509
+ #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1510
+ _ACEOF
1511
+
1512
+
1513
+ cat >>confdefs.h <<_ACEOF
1514
+ #define PACKAGE_VERSION "$PACKAGE_VERSION"
1515
+ _ACEOF
1516
+
1517
+
1518
+ cat >>confdefs.h <<_ACEOF
1519
+ #define PACKAGE_STRING "$PACKAGE_STRING"
1520
+ _ACEOF
1521
+
1522
+
1523
+ cat >>confdefs.h <<_ACEOF
1524
+ #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1525
+ _ACEOF
1526
+
1527
+
1528
+ # Let the site file select an alternate cache file if it wants to.
1529
+ # Prefer explicitly selected file to automatically selected ones.
1530
+ if test -n "$CONFIG_SITE"; then
1531
+ set x "$CONFIG_SITE"
1532
+ elif test "x$prefix" != xNONE; then
1533
+ set x "$prefix/share/config.site" "$prefix/etc/config.site"
1534
+ else
1535
+ set x "$ac_default_prefix/share/config.site" \
1536
+ "$ac_default_prefix/etc/config.site"
1537
+ fi
1538
+ shift
1539
+ for ac_site_file
1540
+ do
1541
+ if test -r "$ac_site_file"; then
1542
+ { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1543
+ echo "$as_me: loading site script $ac_site_file" >&6;}
1544
+ sed 's/^/| /' "$ac_site_file" >&5
1545
+ . "$ac_site_file"
1546
+ fi
1547
+ done
1548
+
1549
+ if test -r "$cache_file"; then
1550
+ # Some versions of bash will fail to source /dev/null (special
1551
+ # files actually), so we avoid doing that.
1552
+ if test -f "$cache_file"; then
1553
+ { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1554
+ echo "$as_me: loading cache $cache_file" >&6;}
1555
+ case $cache_file in
1556
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
1557
+ *) . "./$cache_file";;
1558
+ esac
1559
+ fi
1560
+ else
1561
+ { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1562
+ echo "$as_me: creating cache $cache_file" >&6;}
1563
+ >$cache_file
1564
+ fi
1565
+
1566
+ # Check that the precious variables saved in the cache have kept the same
1567
+ # value.
1568
+ ac_cache_corrupted=false
1569
+ for ac_var in $ac_precious_vars; do
1570
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
1571
+ eval ac_new_set=\$ac_env_${ac_var}_set
1572
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
1573
+ eval ac_new_val=\$ac_env_${ac_var}_value
1574
+ case $ac_old_set,$ac_new_set in
1575
+ set,)
1576
+ { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1577
+ echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1578
+ ac_cache_corrupted=: ;;
1579
+ ,set)
1580
+ { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1581
+ echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1582
+ ac_cache_corrupted=: ;;
1583
+ ,);;
1584
+ *)
1585
+ if test "x$ac_old_val" != "x$ac_new_val"; then
1586
+ { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1587
+ echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1588
+ { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1589
+ echo "$as_me: former value: $ac_old_val" >&2;}
1590
+ { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1591
+ echo "$as_me: current value: $ac_new_val" >&2;}
1592
+ ac_cache_corrupted=:
1593
+ fi;;
1594
+ esac
1595
+ # Pass precious variables to config.status.
1596
+ if test "$ac_new_set" = set; then
1597
+ case $ac_new_val in
1598
+ *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1599
+ *) ac_arg=$ac_var=$ac_new_val ;;
1600
+ esac
1601
+ case " $ac_configure_args " in
1602
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1603
+ *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1604
+ esac
1605
+ fi
1606
+ done
1607
+ if $ac_cache_corrupted; then
1608
+ { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1609
+ echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1610
+ { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1611
+ echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1612
+ { (exit 1); exit 1; }; }
1613
+ fi
1614
+
1615
+
1616
+
1617
+
1618
+
1619
+
1620
+
1621
+
1622
+
1623
+
1624
+
1625
+
1626
+
1627
+
1628
+
1629
+
1630
+
1631
+ ac_ext=c
1632
+ ac_cpp='$CPP $CPPFLAGS'
1633
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1634
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1635
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1636
+
1637
+
1638
+ ac_config_headers="$ac_config_headers config.h"
1639
+
1640
+ ac_ext=c
1641
+ ac_cpp='$CPP $CPPFLAGS'
1642
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1643
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1644
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1645
+ if test -n "$ac_tool_prefix"; then
1646
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1647
+ set dummy ${ac_tool_prefix}gcc; ac_word=$2
1648
+ { echo "$as_me:$LINENO: checking for $ac_word" >&5
1649
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1650
+ if test "${ac_cv_prog_CC+set}" = set; then
1651
+ echo $ECHO_N "(cached) $ECHO_C" >&6
1652
+ else
1653
+ if test -n "$CC"; then
1654
+ ac_cv_prog_CC="$CC" # Let the user override the test.
1655
+ else
1656
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1657
+ for as_dir in $PATH
1658
+ do
1659
+ IFS=$as_save_IFS
1660
+ test -z "$as_dir" && as_dir=.
1661
+ for ac_exec_ext in '' $ac_executable_extensions; do
1662
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1663
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
1664
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1665
+ break 2
1666
+ fi
1667
+ done
1668
+ done
1669
+ IFS=$as_save_IFS
1670
+
1671
+ fi
1672
+ fi
1673
+ CC=$ac_cv_prog_CC
1674
+ if test -n "$CC"; then
1675
+ { echo "$as_me:$LINENO: result: $CC" >&5
1676
+ echo "${ECHO_T}$CC" >&6; }
1677
+ else
1678
+ { echo "$as_me:$LINENO: result: no" >&5
1679
+ echo "${ECHO_T}no" >&6; }
1680
+ fi
1681
+
1682
+
1683
+ fi
1684
+ if test -z "$ac_cv_prog_CC"; then
1685
+ ac_ct_CC=$CC
1686
+ # Extract the first word of "gcc", so it can be a program name with args.
1687
+ set dummy gcc; ac_word=$2
1688
+ { echo "$as_me:$LINENO: checking for $ac_word" >&5
1689
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1690
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1691
+ echo $ECHO_N "(cached) $ECHO_C" >&6
1692
+ else
1693
+ if test -n "$ac_ct_CC"; then
1694
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1695
+ else
1696
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1697
+ for as_dir in $PATH
1698
+ do
1699
+ IFS=$as_save_IFS
1700
+ test -z "$as_dir" && as_dir=.
1701
+ for ac_exec_ext in '' $ac_executable_extensions; do
1702
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1703
+ ac_cv_prog_ac_ct_CC="gcc"
1704
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1705
+ break 2
1706
+ fi
1707
+ done
1708
+ done
1709
+ IFS=$as_save_IFS
1710
+
1711
+ fi
1712
+ fi
1713
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
1714
+ if test -n "$ac_ct_CC"; then
1715
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1716
+ echo "${ECHO_T}$ac_ct_CC" >&6; }
1717
+ else
1718
+ { echo "$as_me:$LINENO: result: no" >&5
1719
+ echo "${ECHO_T}no" >&6; }
1720
+ fi
1721
+
1722
+ if test "x$ac_ct_CC" = x; then
1723
+ CC=""
1724
+ else
1725
+ case $cross_compiling:$ac_tool_warned in
1726
+ yes:)
1727
+ { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1728
+ whose name does not start with the host triplet. If you think this
1729
+ configuration is useful to you, please write to autoconf@gnu.org." >&5
1730
+ echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1731
+ whose name does not start with the host triplet. If you think this
1732
+ configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1733
+ ac_tool_warned=yes ;;
1734
+ esac
1735
+ CC=$ac_ct_CC
1736
+ fi
1737
+ else
1738
+ CC="$ac_cv_prog_CC"
1739
+ fi
1740
+
1741
+ if test -z "$CC"; then
1742
+ if test -n "$ac_tool_prefix"; then
1743
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1744
+ set dummy ${ac_tool_prefix}cc; ac_word=$2
1745
+ { echo "$as_me:$LINENO: checking for $ac_word" >&5
1746
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1747
+ if test "${ac_cv_prog_CC+set}" = set; then
1748
+ echo $ECHO_N "(cached) $ECHO_C" >&6
1749
+ else
1750
+ if test -n "$CC"; then
1751
+ ac_cv_prog_CC="$CC" # Let the user override the test.
1752
+ else
1753
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1754
+ for as_dir in $PATH
1755
+ do
1756
+ IFS=$as_save_IFS
1757
+ test -z "$as_dir" && as_dir=.
1758
+ for ac_exec_ext in '' $ac_executable_extensions; do
1759
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1760
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
1761
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1762
+ break 2
1763
+ fi
1764
+ done
1765
+ done
1766
+ IFS=$as_save_IFS
1767
+
1768
+ fi
1769
+ fi
1770
+ CC=$ac_cv_prog_CC
1771
+ if test -n "$CC"; then
1772
+ { echo "$as_me:$LINENO: result: $CC" >&5
1773
+ echo "${ECHO_T}$CC" >&6; }
1774
+ else
1775
+ { echo "$as_me:$LINENO: result: no" >&5
1776
+ echo "${ECHO_T}no" >&6; }
1777
+ fi
1778
+
1779
+
1780
+ fi
1781
+ fi
1782
+ if test -z "$CC"; then
1783
+ # Extract the first word of "cc", so it can be a program name with args.
1784
+ set dummy cc; ac_word=$2
1785
+ { echo "$as_me:$LINENO: checking for $ac_word" >&5
1786
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1787
+ if test "${ac_cv_prog_CC+set}" = set; then
1788
+ echo $ECHO_N "(cached) $ECHO_C" >&6
1789
+ else
1790
+ if test -n "$CC"; then
1791
+ ac_cv_prog_CC="$CC" # Let the user override the test.
1792
+ else
1793
+ ac_prog_rejected=no
1794
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1795
+ for as_dir in $PATH
1796
+ do
1797
+ IFS=$as_save_IFS
1798
+ test -z "$as_dir" && as_dir=.
1799
+ for ac_exec_ext in '' $ac_executable_extensions; do
1800
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1801
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1802
+ ac_prog_rejected=yes
1803
+ continue
1804
+ fi
1805
+ ac_cv_prog_CC="cc"
1806
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1807
+ break 2
1808
+ fi
1809
+ done
1810
+ done
1811
+ IFS=$as_save_IFS
1812
+
1813
+ if test $ac_prog_rejected = yes; then
1814
+ # We found a bogon in the path, so make sure we never use it.
1815
+ set dummy $ac_cv_prog_CC
1816
+ shift
1817
+ if test $# != 0; then
1818
+ # We chose a different compiler from the bogus one.
1819
+ # However, it has the same basename, so the bogon will be chosen
1820
+ # first if we set CC to just the basename; use the full file name.
1821
+ shift
1822
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1823
+ fi
1824
+ fi
1825
+ fi
1826
+ fi
1827
+ CC=$ac_cv_prog_CC
1828
+ if test -n "$CC"; then
1829
+ { echo "$as_me:$LINENO: result: $CC" >&5
1830
+ echo "${ECHO_T}$CC" >&6; }
1831
+ else
1832
+ { echo "$as_me:$LINENO: result: no" >&5
1833
+ echo "${ECHO_T}no" >&6; }
1834
+ fi
1835
+
1836
+
1837
+ fi
1838
+ if test -z "$CC"; then
1839
+ if test -n "$ac_tool_prefix"; then
1840
+ for ac_prog in cl.exe
1841
+ do
1842
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1843
+ set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1844
+ { echo "$as_me:$LINENO: checking for $ac_word" >&5
1845
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1846
+ if test "${ac_cv_prog_CC+set}" = set; then
1847
+ echo $ECHO_N "(cached) $ECHO_C" >&6
1848
+ else
1849
+ if test -n "$CC"; then
1850
+ ac_cv_prog_CC="$CC" # Let the user override the test.
1851
+ else
1852
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1853
+ for as_dir in $PATH
1854
+ do
1855
+ IFS=$as_save_IFS
1856
+ test -z "$as_dir" && as_dir=.
1857
+ for ac_exec_ext in '' $ac_executable_extensions; do
1858
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1859
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1860
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1861
+ break 2
1862
+ fi
1863
+ done
1864
+ done
1865
+ IFS=$as_save_IFS
1866
+
1867
+ fi
1868
+ fi
1869
+ CC=$ac_cv_prog_CC
1870
+ if test -n "$CC"; then
1871
+ { echo "$as_me:$LINENO: result: $CC" >&5
1872
+ echo "${ECHO_T}$CC" >&6; }
1873
+ else
1874
+ { echo "$as_me:$LINENO: result: no" >&5
1875
+ echo "${ECHO_T}no" >&6; }
1876
+ fi
1877
+
1878
+
1879
+ test -n "$CC" && break
1880
+ done
1881
+ fi
1882
+ if test -z "$CC"; then
1883
+ ac_ct_CC=$CC
1884
+ for ac_prog in cl.exe
1885
+ do
1886
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
1887
+ set dummy $ac_prog; ac_word=$2
1888
+ { echo "$as_me:$LINENO: checking for $ac_word" >&5
1889
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1890
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1891
+ echo $ECHO_N "(cached) $ECHO_C" >&6
1892
+ else
1893
+ if test -n "$ac_ct_CC"; then
1894
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1895
+ else
1896
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1897
+ for as_dir in $PATH
1898
+ do
1899
+ IFS=$as_save_IFS
1900
+ test -z "$as_dir" && as_dir=.
1901
+ for ac_exec_ext in '' $ac_executable_extensions; do
1902
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1903
+ ac_cv_prog_ac_ct_CC="$ac_prog"
1904
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1905
+ break 2
1906
+ fi
1907
+ done
1908
+ done
1909
+ IFS=$as_save_IFS
1910
+
1911
+ fi
1912
+ fi
1913
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
1914
+ if test -n "$ac_ct_CC"; then
1915
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1916
+ echo "${ECHO_T}$ac_ct_CC" >&6; }
1917
+ else
1918
+ { echo "$as_me:$LINENO: result: no" >&5
1919
+ echo "${ECHO_T}no" >&6; }
1920
+ fi
1921
+
1922
+
1923
+ test -n "$ac_ct_CC" && break
1924
+ done
1925
+
1926
+ if test "x$ac_ct_CC" = x; then
1927
+ CC=""
1928
+ else
1929
+ case $cross_compiling:$ac_tool_warned in
1930
+ yes:)
1931
+ { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1932
+ whose name does not start with the host triplet. If you think this
1933
+ configuration is useful to you, please write to autoconf@gnu.org." >&5
1934
+ echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1935
+ whose name does not start with the host triplet. If you think this
1936
+ configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1937
+ ac_tool_warned=yes ;;
1938
+ esac
1939
+ CC=$ac_ct_CC
1940
+ fi
1941
+ fi
1942
+
1943
+ fi
1944
+
1945
+
1946
+ test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1947
+ See \`config.log' for more details." >&5
1948
+ echo "$as_me: error: no acceptable C compiler found in \$PATH
1949
+ See \`config.log' for more details." >&2;}
1950
+ { (exit 1); exit 1; }; }
1951
+
1952
+ # Provide some information about the compiler.
1953
+ echo "$as_me:$LINENO: checking for C compiler version" >&5
1954
+ ac_compiler=`set X $ac_compile; echo $2`
1955
+ { (ac_try="$ac_compiler --version >&5"
1956
+ case "(($ac_try" in
1957
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1958
+ *) ac_try_echo=$ac_try;;
1959
+ esac
1960
+ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1961
+ (eval "$ac_compiler --version >&5") 2>&5
1962
+ ac_status=$?
1963
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
1964
+ (exit $ac_status); }
1965
+ { (ac_try="$ac_compiler -v >&5"
1966
+ case "(($ac_try" in
1967
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1968
+ *) ac_try_echo=$ac_try;;
1969
+ esac
1970
+ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1971
+ (eval "$ac_compiler -v >&5") 2>&5
1972
+ ac_status=$?
1973
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
1974
+ (exit $ac_status); }
1975
+ { (ac_try="$ac_compiler -V >&5"
1976
+ case "(($ac_try" in
1977
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1978
+ *) ac_try_echo=$ac_try;;
1979
+ esac
1980
+ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1981
+ (eval "$ac_compiler -V >&5") 2>&5
1982
+ ac_status=$?
1983
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
1984
+ (exit $ac_status); }
1985
+
1986
+ cat >conftest.$ac_ext <<_ACEOF
1987
+ /* confdefs.h. */
1988
+ _ACEOF
1989
+ cat confdefs.h >>conftest.$ac_ext
1990
+ cat >>conftest.$ac_ext <<_ACEOF
1991
+ /* end confdefs.h. */
1992
+
1993
+ int
1994
+ main ()
1995
+ {
1996
+
1997
+ ;
1998
+ return 0;
1999
+ }
2000
+ _ACEOF
2001
+ ac_clean_files_save=$ac_clean_files
2002
+ ac_clean_files="$ac_clean_files a.out a.exe b.out"
2003
+ # Try to create an executable without -o first, disregard a.out.
2004
+ # It will help us diagnose broken compilers, and finding out an intuition
2005
+ # of exeext.
2006
+ { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2007
+ echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2008
+ ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2009
+ #
2010
+ # List of possible output files, starting from the most likely.
2011
+ # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2012
+ # only as a last resort. b.out is created by i960 compilers.
2013
+ ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2014
+ #
2015
+ # The IRIX 6 linker writes into existing files which may not be
2016
+ # executable, retaining their permissions. Remove them first so a
2017
+ # subsequent execution test works.
2018
+ ac_rmfiles=
2019
+ for ac_file in $ac_files
2020
+ do
2021
+ case $ac_file in
2022
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2023
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2024
+ esac
2025
+ done
2026
+ rm -f $ac_rmfiles
2027
+
2028
+ if { (ac_try="$ac_link_default"
2029
+ case "(($ac_try" in
2030
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2031
+ *) ac_try_echo=$ac_try;;
2032
+ esac
2033
+ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2034
+ (eval "$ac_link_default") 2>&5
2035
+ ac_status=$?
2036
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2037
+ (exit $ac_status); }; then
2038
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2039
+ # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2040
+ # in a Makefile. We should not override ac_cv_exeext if it was cached,
2041
+ # so that the user can short-circuit this test for compilers unknown to
2042
+ # Autoconf.
2043
+ for ac_file in $ac_files ''
2044
+ do
2045
+ test -f "$ac_file" || continue
2046
+ case $ac_file in
2047
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2048
+ ;;
2049
+ [ab].out )
2050
+ # We found the default executable, but exeext='' is most
2051
+ # certainly right.
2052
+ break;;
2053
+ *.* )
2054
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2055
+ then :; else
2056
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2057
+ fi
2058
+ # We set ac_cv_exeext here because the later test for it is not
2059
+ # safe: cross compilers may not add the suffix if given an `-o'
2060
+ # argument, so we may need to know it at that point already.
2061
+ # Even if this section looks crufty: it has the advantage of
2062
+ # actually working.
2063
+ break;;
2064
+ * )
2065
+ break;;
2066
+ esac
2067
+ done
2068
+ test "$ac_cv_exeext" = no && ac_cv_exeext=
2069
+
2070
+ else
2071
+ ac_file=''
2072
+ fi
2073
+
2074
+ { echo "$as_me:$LINENO: result: $ac_file" >&5
2075
+ echo "${ECHO_T}$ac_file" >&6; }
2076
+ if test -z "$ac_file"; then
2077
+ echo "$as_me: failed program was:" >&5
2078
+ sed 's/^/| /' conftest.$ac_ext >&5
2079
+
2080
+ { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2081
+ See \`config.log' for more details." >&5
2082
+ echo "$as_me: error: C compiler cannot create executables
2083
+ See \`config.log' for more details." >&2;}
2084
+ { (exit 77); exit 77; }; }
2085
+ fi
2086
+
2087
+ ac_exeext=$ac_cv_exeext
2088
+
2089
+ # Check that the compiler produces executables we can run. If not, either
2090
+ # the compiler is broken, or we cross compile.
2091
+ { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2092
+ echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2093
+ # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2094
+ # If not cross compiling, check that we can run a simple program.
2095
+ if test "$cross_compiling" != yes; then
2096
+ if { ac_try='./$ac_file'
2097
+ { (case "(($ac_try" in
2098
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2099
+ *) ac_try_echo=$ac_try;;
2100
+ esac
2101
+ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2102
+ (eval "$ac_try") 2>&5
2103
+ ac_status=$?
2104
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2105
+ (exit $ac_status); }; }; then
2106
+ cross_compiling=no
2107
+ else
2108
+ if test "$cross_compiling" = maybe; then
2109
+ cross_compiling=yes
2110
+ else
2111
+ { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2112
+ If you meant to cross compile, use \`--host'.
2113
+ See \`config.log' for more details." >&5
2114
+ echo "$as_me: error: cannot run C compiled programs.
2115
+ If you meant to cross compile, use \`--host'.
2116
+ See \`config.log' for more details." >&2;}
2117
+ { (exit 1); exit 1; }; }
2118
+ fi
2119
+ fi
2120
+ fi
2121
+ { echo "$as_me:$LINENO: result: yes" >&5
2122
+ echo "${ECHO_T}yes" >&6; }
2123
+
2124
+ rm -f a.out a.exe conftest$ac_cv_exeext b.out
2125
+ ac_clean_files=$ac_clean_files_save
2126
+ # Check that the compiler produces executables we can run. If not, either
2127
+ # the compiler is broken, or we cross compile.
2128
+ { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2129
+ echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2130
+ { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2131
+ echo "${ECHO_T}$cross_compiling" >&6; }
2132
+
2133
+ { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2134
+ echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2135
+ if { (ac_try="$ac_link"
2136
+ case "(($ac_try" in
2137
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2138
+ *) ac_try_echo=$ac_try;;
2139
+ esac
2140
+ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2141
+ (eval "$ac_link") 2>&5
2142
+ ac_status=$?
2143
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2144
+ (exit $ac_status); }; then
2145
+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
2146
+ # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2147
+ # work properly (i.e., refer to `conftest.exe'), while it won't with
2148
+ # `rm'.
2149
+ for ac_file in conftest.exe conftest conftest.*; do
2150
+ test -f "$ac_file" || continue
2151
+ case $ac_file in
2152
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2153
+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2154
+ break;;
2155
+ * ) break;;
2156
+ esac
2157
+ done
2158
+ else
2159
+ { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2160
+ See \`config.log' for more details." >&5
2161
+ echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2162
+ See \`config.log' for more details." >&2;}
2163
+ { (exit 1); exit 1; }; }
2164
+ fi
2165
+
2166
+ rm -f conftest$ac_cv_exeext
2167
+ { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2168
+ echo "${ECHO_T}$ac_cv_exeext" >&6; }
2169
+
2170
+ rm -f conftest.$ac_ext
2171
+ EXEEXT=$ac_cv_exeext
2172
+ ac_exeext=$EXEEXT
2173
+ { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2174
+ echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2175
+ if test "${ac_cv_objext+set}" = set; then
2176
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2177
+ else
2178
+ cat >conftest.$ac_ext <<_ACEOF
2179
+ /* confdefs.h. */
2180
+ _ACEOF
2181
+ cat confdefs.h >>conftest.$ac_ext
2182
+ cat >>conftest.$ac_ext <<_ACEOF
2183
+ /* end confdefs.h. */
2184
+
2185
+ int
2186
+ main ()
2187
+ {
2188
+
2189
+ ;
2190
+ return 0;
2191
+ }
2192
+ _ACEOF
2193
+ rm -f conftest.o conftest.obj
2194
+ if { (ac_try="$ac_compile"
2195
+ case "(($ac_try" in
2196
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2197
+ *) ac_try_echo=$ac_try;;
2198
+ esac
2199
+ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2200
+ (eval "$ac_compile") 2>&5
2201
+ ac_status=$?
2202
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2203
+ (exit $ac_status); }; then
2204
+ for ac_file in conftest.o conftest.obj conftest.*; do
2205
+ test -f "$ac_file" || continue;
2206
+ case $ac_file in
2207
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2208
+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2209
+ break;;
2210
+ esac
2211
+ done
2212
+ else
2213
+ echo "$as_me: failed program was:" >&5
2214
+ sed 's/^/| /' conftest.$ac_ext >&5
2215
+
2216
+ { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2217
+ See \`config.log' for more details." >&5
2218
+ echo "$as_me: error: cannot compute suffix of object files: cannot compile
2219
+ See \`config.log' for more details." >&2;}
2220
+ { (exit 1); exit 1; }; }
2221
+ fi
2222
+
2223
+ rm -f conftest.$ac_cv_objext conftest.$ac_ext
2224
+ fi
2225
+ { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2226
+ echo "${ECHO_T}$ac_cv_objext" >&6; }
2227
+ OBJEXT=$ac_cv_objext
2228
+ ac_objext=$OBJEXT
2229
+ { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2230
+ echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2231
+ if test "${ac_cv_c_compiler_gnu+set}" = set; then
2232
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2233
+ else
2234
+ cat >conftest.$ac_ext <<_ACEOF
2235
+ /* confdefs.h. */
2236
+ _ACEOF
2237
+ cat confdefs.h >>conftest.$ac_ext
2238
+ cat >>conftest.$ac_ext <<_ACEOF
2239
+ /* end confdefs.h. */
2240
+
2241
+ int
2242
+ main ()
2243
+ {
2244
+ #ifndef __GNUC__
2245
+ choke me
2246
+ #endif
2247
+
2248
+ ;
2249
+ return 0;
2250
+ }
2251
+ _ACEOF
2252
+ rm -f conftest.$ac_objext
2253
+ if { (ac_try="$ac_compile"
2254
+ case "(($ac_try" in
2255
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2256
+ *) ac_try_echo=$ac_try;;
2257
+ esac
2258
+ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2259
+ (eval "$ac_compile") 2>conftest.er1
2260
+ ac_status=$?
2261
+ grep -v '^ *+' conftest.er1 >conftest.err
2262
+ rm -f conftest.er1
2263
+ cat conftest.err >&5
2264
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265
+ (exit $ac_status); } && {
2266
+ test -z "$ac_c_werror_flag" ||
2267
+ test ! -s conftest.err
2268
+ } && test -s conftest.$ac_objext; then
2269
+ ac_compiler_gnu=yes
2270
+ else
2271
+ echo "$as_me: failed program was:" >&5
2272
+ sed 's/^/| /' conftest.$ac_ext >&5
2273
+
2274
+ ac_compiler_gnu=no
2275
+ fi
2276
+
2277
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2278
+ ac_cv_c_compiler_gnu=$ac_compiler_gnu
2279
+
2280
+ fi
2281
+ { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2282
+ echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2283
+ GCC=`test $ac_compiler_gnu = yes && echo yes`
2284
+ ac_test_CFLAGS=${CFLAGS+set}
2285
+ ac_save_CFLAGS=$CFLAGS
2286
+ { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2287
+ echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2288
+ if test "${ac_cv_prog_cc_g+set}" = set; then
2289
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2290
+ else
2291
+ ac_save_c_werror_flag=$ac_c_werror_flag
2292
+ ac_c_werror_flag=yes
2293
+ ac_cv_prog_cc_g=no
2294
+ CFLAGS="-g"
2295
+ cat >conftest.$ac_ext <<_ACEOF
2296
+ /* confdefs.h. */
2297
+ _ACEOF
2298
+ cat confdefs.h >>conftest.$ac_ext
2299
+ cat >>conftest.$ac_ext <<_ACEOF
2300
+ /* end confdefs.h. */
2301
+
2302
+ int
2303
+ main ()
2304
+ {
2305
+
2306
+ ;
2307
+ return 0;
2308
+ }
2309
+ _ACEOF
2310
+ rm -f conftest.$ac_objext
2311
+ if { (ac_try="$ac_compile"
2312
+ case "(($ac_try" in
2313
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2314
+ *) ac_try_echo=$ac_try;;
2315
+ esac
2316
+ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2317
+ (eval "$ac_compile") 2>conftest.er1
2318
+ ac_status=$?
2319
+ grep -v '^ *+' conftest.er1 >conftest.err
2320
+ rm -f conftest.er1
2321
+ cat conftest.err >&5
2322
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323
+ (exit $ac_status); } && {
2324
+ test -z "$ac_c_werror_flag" ||
2325
+ test ! -s conftest.err
2326
+ } && test -s conftest.$ac_objext; then
2327
+ ac_cv_prog_cc_g=yes
2328
+ else
2329
+ echo "$as_me: failed program was:" >&5
2330
+ sed 's/^/| /' conftest.$ac_ext >&5
2331
+
2332
+ CFLAGS=""
2333
+ cat >conftest.$ac_ext <<_ACEOF
2334
+ /* confdefs.h. */
2335
+ _ACEOF
2336
+ cat confdefs.h >>conftest.$ac_ext
2337
+ cat >>conftest.$ac_ext <<_ACEOF
2338
+ /* end confdefs.h. */
2339
+
2340
+ int
2341
+ main ()
2342
+ {
2343
+
2344
+ ;
2345
+ return 0;
2346
+ }
2347
+ _ACEOF
2348
+ rm -f conftest.$ac_objext
2349
+ if { (ac_try="$ac_compile"
2350
+ case "(($ac_try" in
2351
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2352
+ *) ac_try_echo=$ac_try;;
2353
+ esac
2354
+ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2355
+ (eval "$ac_compile") 2>conftest.er1
2356
+ ac_status=$?
2357
+ grep -v '^ *+' conftest.er1 >conftest.err
2358
+ rm -f conftest.er1
2359
+ cat conftest.err >&5
2360
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361
+ (exit $ac_status); } && {
2362
+ test -z "$ac_c_werror_flag" ||
2363
+ test ! -s conftest.err
2364
+ } && test -s conftest.$ac_objext; then
2365
+ :
2366
+ else
2367
+ echo "$as_me: failed program was:" >&5
2368
+ sed 's/^/| /' conftest.$ac_ext >&5
2369
+
2370
+ ac_c_werror_flag=$ac_save_c_werror_flag
2371
+ CFLAGS="-g"
2372
+ cat >conftest.$ac_ext <<_ACEOF
2373
+ /* confdefs.h. */
2374
+ _ACEOF
2375
+ cat confdefs.h >>conftest.$ac_ext
2376
+ cat >>conftest.$ac_ext <<_ACEOF
2377
+ /* end confdefs.h. */
2378
+
2379
+ int
2380
+ main ()
2381
+ {
2382
+
2383
+ ;
2384
+ return 0;
2385
+ }
2386
+ _ACEOF
2387
+ rm -f conftest.$ac_objext
2388
+ if { (ac_try="$ac_compile"
2389
+ case "(($ac_try" in
2390
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2391
+ *) ac_try_echo=$ac_try;;
2392
+ esac
2393
+ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2394
+ (eval "$ac_compile") 2>conftest.er1
2395
+ ac_status=$?
2396
+ grep -v '^ *+' conftest.er1 >conftest.err
2397
+ rm -f conftest.er1
2398
+ cat conftest.err >&5
2399
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2400
+ (exit $ac_status); } && {
2401
+ test -z "$ac_c_werror_flag" ||
2402
+ test ! -s conftest.err
2403
+ } && test -s conftest.$ac_objext; then
2404
+ ac_cv_prog_cc_g=yes
2405
+ else
2406
+ echo "$as_me: failed program was:" >&5
2407
+ sed 's/^/| /' conftest.$ac_ext >&5
2408
+
2409
+
2410
+ fi
2411
+
2412
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2413
+ fi
2414
+
2415
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2416
+ fi
2417
+
2418
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2419
+ ac_c_werror_flag=$ac_save_c_werror_flag
2420
+ fi
2421
+ { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2422
+ echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2423
+ if test "$ac_test_CFLAGS" = set; then
2424
+ CFLAGS=$ac_save_CFLAGS
2425
+ elif test $ac_cv_prog_cc_g = yes; then
2426
+ if test "$GCC" = yes; then
2427
+ CFLAGS="-g -O2"
2428
+ else
2429
+ CFLAGS="-g"
2430
+ fi
2431
+ else
2432
+ if test "$GCC" = yes; then
2433
+ CFLAGS="-O2"
2434
+ else
2435
+ CFLAGS=
2436
+ fi
2437
+ fi
2438
+ { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2439
+ echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2440
+ if test "${ac_cv_prog_cc_c89+set}" = set; then
2441
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2442
+ else
2443
+ ac_cv_prog_cc_c89=no
2444
+ ac_save_CC=$CC
2445
+ cat >conftest.$ac_ext <<_ACEOF
2446
+ /* confdefs.h. */
2447
+ _ACEOF
2448
+ cat confdefs.h >>conftest.$ac_ext
2449
+ cat >>conftest.$ac_ext <<_ACEOF
2450
+ /* end confdefs.h. */
2451
+ #include <stdarg.h>
2452
+ #include <stdio.h>
2453
+ #include <sys/types.h>
2454
+ #include <sys/stat.h>
2455
+ /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2456
+ struct buf { int x; };
2457
+ FILE * (*rcsopen) (struct buf *, struct stat *, int);
2458
+ static char *e (p, i)
2459
+ char **p;
2460
+ int i;
2461
+ {
2462
+ return p[i];
2463
+ }
2464
+ static char *f (char * (*g) (char **, int), char **p, ...)
2465
+ {
2466
+ char *s;
2467
+ va_list v;
2468
+ va_start (v,p);
2469
+ s = g (p, va_arg (v,int));
2470
+ va_end (v);
2471
+ return s;
2472
+ }
2473
+
2474
+ /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2475
+ function prototypes and stuff, but not '\xHH' hex character constants.
2476
+ These don't provoke an error unfortunately, instead are silently treated
2477
+ as 'x'. The following induces an error, until -std is added to get
2478
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2479
+ array size at least. It's necessary to write '\x00'==0 to get something
2480
+ that's true only with -std. */
2481
+ int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2482
+
2483
+ /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2484
+ inside strings and character constants. */
2485
+ #define FOO(x) 'x'
2486
+ int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2487
+
2488
+ int test (int i, double x);
2489
+ struct s1 {int (*f) (int a);};
2490
+ struct s2 {int (*f) (double a);};
2491
+ int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2492
+ int argc;
2493
+ char **argv;
2494
+ int
2495
+ main ()
2496
+ {
2497
+ return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2498
+ ;
2499
+ return 0;
2500
+ }
2501
+ _ACEOF
2502
+ for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2503
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2504
+ do
2505
+ CC="$ac_save_CC $ac_arg"
2506
+ rm -f conftest.$ac_objext
2507
+ if { (ac_try="$ac_compile"
2508
+ case "(($ac_try" in
2509
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2510
+ *) ac_try_echo=$ac_try;;
2511
+ esac
2512
+ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2513
+ (eval "$ac_compile") 2>conftest.er1
2514
+ ac_status=$?
2515
+ grep -v '^ *+' conftest.er1 >conftest.err
2516
+ rm -f conftest.er1
2517
+ cat conftest.err >&5
2518
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2519
+ (exit $ac_status); } && {
2520
+ test -z "$ac_c_werror_flag" ||
2521
+ test ! -s conftest.err
2522
+ } && test -s conftest.$ac_objext; then
2523
+ ac_cv_prog_cc_c89=$ac_arg
2524
+ else
2525
+ echo "$as_me: failed program was:" >&5
2526
+ sed 's/^/| /' conftest.$ac_ext >&5
2527
+
2528
+
2529
+ fi
2530
+
2531
+ rm -f core conftest.err conftest.$ac_objext
2532
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
2533
+ done
2534
+ rm -f conftest.$ac_ext
2535
+ CC=$ac_save_CC
2536
+
2537
+ fi
2538
+ # AC_CACHE_VAL
2539
+ case "x$ac_cv_prog_cc_c89" in
2540
+ x)
2541
+ { echo "$as_me:$LINENO: result: none needed" >&5
2542
+ echo "${ECHO_T}none needed" >&6; } ;;
2543
+ xno)
2544
+ { echo "$as_me:$LINENO: result: unsupported" >&5
2545
+ echo "${ECHO_T}unsupported" >&6; } ;;
2546
+ *)
2547
+ CC="$CC $ac_cv_prog_cc_c89"
2548
+ { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2549
+ echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2550
+ esac
2551
+
2552
+
2553
+ ac_ext=c
2554
+ ac_cpp='$CPP $CPPFLAGS'
2555
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2556
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2557
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2558
+
2559
+
2560
+ # Check whether --enable-largefile was given.
2561
+ if test "${enable_largefile+set}" = set; then
2562
+ enableval=$enable_largefile;
2563
+ fi
2564
+
2565
+ if test "$enable_largefile" != no; then
2566
+
2567
+ { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
2568
+ echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
2569
+ if test "${ac_cv_sys_largefile_CC+set}" = set; then
2570
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2571
+ else
2572
+ ac_cv_sys_largefile_CC=no
2573
+ if test "$GCC" != yes; then
2574
+ ac_save_CC=$CC
2575
+ while :; do
2576
+ # IRIX 6.2 and later do not support large files by default,
2577
+ # so use the C compiler's -n32 option if that helps.
2578
+ cat >conftest.$ac_ext <<_ACEOF
2579
+ /* confdefs.h. */
2580
+ _ACEOF
2581
+ cat confdefs.h >>conftest.$ac_ext
2582
+ cat >>conftest.$ac_ext <<_ACEOF
2583
+ /* end confdefs.h. */
2584
+ #include <sys/types.h>
2585
+ /* Check that off_t can represent 2**63 - 1 correctly.
2586
+ We can't simply define LARGE_OFF_T to be 9223372036854775807,
2587
+ since some C++ compilers masquerading as C compilers
2588
+ incorrectly reject 9223372036854775807. */
2589
+ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2590
+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2591
+ && LARGE_OFF_T % 2147483647 == 1)
2592
+ ? 1 : -1];
2593
+ int
2594
+ main ()
2595
+ {
2596
+
2597
+ ;
2598
+ return 0;
2599
+ }
2600
+ _ACEOF
2601
+ rm -f conftest.$ac_objext
2602
+ if { (ac_try="$ac_compile"
2603
+ case "(($ac_try" in
2604
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2605
+ *) ac_try_echo=$ac_try;;
2606
+ esac
2607
+ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2608
+ (eval "$ac_compile") 2>conftest.er1
2609
+ ac_status=$?
2610
+ grep -v '^ *+' conftest.er1 >conftest.err
2611
+ rm -f conftest.er1
2612
+ cat conftest.err >&5
2613
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614
+ (exit $ac_status); } && {
2615
+ test -z "$ac_c_werror_flag" ||
2616
+ test ! -s conftest.err
2617
+ } && test -s conftest.$ac_objext; then
2618
+ break
2619
+ else
2620
+ echo "$as_me: failed program was:" >&5
2621
+ sed 's/^/| /' conftest.$ac_ext >&5
2622
+
2623
+
2624
+ fi
2625
+
2626
+ rm -f core conftest.err conftest.$ac_objext
2627
+ CC="$CC -n32"
2628
+ rm -f conftest.$ac_objext
2629
+ if { (ac_try="$ac_compile"
2630
+ case "(($ac_try" in
2631
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2632
+ *) ac_try_echo=$ac_try;;
2633
+ esac
2634
+ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2635
+ (eval "$ac_compile") 2>conftest.er1
2636
+ ac_status=$?
2637
+ grep -v '^ *+' conftest.er1 >conftest.err
2638
+ rm -f conftest.er1
2639
+ cat conftest.err >&5
2640
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641
+ (exit $ac_status); } && {
2642
+ test -z "$ac_c_werror_flag" ||
2643
+ test ! -s conftest.err
2644
+ } && test -s conftest.$ac_objext; then
2645
+ ac_cv_sys_largefile_CC=' -n32'; break
2646
+ else
2647
+ echo "$as_me: failed program was:" >&5
2648
+ sed 's/^/| /' conftest.$ac_ext >&5
2649
+
2650
+
2651
+ fi
2652
+
2653
+ rm -f core conftest.err conftest.$ac_objext
2654
+ break
2655
+ done
2656
+ CC=$ac_save_CC
2657
+ rm -f conftest.$ac_ext
2658
+ fi
2659
+ fi
2660
+ { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
2661
+ echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
2662
+ if test "$ac_cv_sys_largefile_CC" != no; then
2663
+ CC=$CC$ac_cv_sys_largefile_CC
2664
+ fi
2665
+
2666
+ { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
2667
+ echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
2668
+ if test "${ac_cv_sys_file_offset_bits+set}" = set; then
2669
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2670
+ else
2671
+ while :; do
2672
+ cat >conftest.$ac_ext <<_ACEOF
2673
+ /* confdefs.h. */
2674
+ _ACEOF
2675
+ cat confdefs.h >>conftest.$ac_ext
2676
+ cat >>conftest.$ac_ext <<_ACEOF
2677
+ /* end confdefs.h. */
2678
+ #include <sys/types.h>
2679
+ /* Check that off_t can represent 2**63 - 1 correctly.
2680
+ We can't simply define LARGE_OFF_T to be 9223372036854775807,
2681
+ since some C++ compilers masquerading as C compilers
2682
+ incorrectly reject 9223372036854775807. */
2683
+ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2684
+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2685
+ && LARGE_OFF_T % 2147483647 == 1)
2686
+ ? 1 : -1];
2687
+ int
2688
+ main ()
2689
+ {
2690
+
2691
+ ;
2692
+ return 0;
2693
+ }
2694
+ _ACEOF
2695
+ rm -f conftest.$ac_objext
2696
+ if { (ac_try="$ac_compile"
2697
+ case "(($ac_try" in
2698
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2699
+ *) ac_try_echo=$ac_try;;
2700
+ esac
2701
+ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2702
+ (eval "$ac_compile") 2>conftest.er1
2703
+ ac_status=$?
2704
+ grep -v '^ *+' conftest.er1 >conftest.err
2705
+ rm -f conftest.er1
2706
+ cat conftest.err >&5
2707
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708
+ (exit $ac_status); } && {
2709
+ test -z "$ac_c_werror_flag" ||
2710
+ test ! -s conftest.err
2711
+ } && test -s conftest.$ac_objext; then
2712
+ ac_cv_sys_file_offset_bits=no; break
2713
+ else
2714
+ echo "$as_me: failed program was:" >&5
2715
+ sed 's/^/| /' conftest.$ac_ext >&5
2716
+
2717
+
2718
+ fi
2719
+
2720
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2721
+ cat >conftest.$ac_ext <<_ACEOF
2722
+ /* confdefs.h. */
2723
+ _ACEOF
2724
+ cat confdefs.h >>conftest.$ac_ext
2725
+ cat >>conftest.$ac_ext <<_ACEOF
2726
+ /* end confdefs.h. */
2727
+ #define _FILE_OFFSET_BITS 64
2728
+ #include <sys/types.h>
2729
+ /* Check that off_t can represent 2**63 - 1 correctly.
2730
+ We can't simply define LARGE_OFF_T to be 9223372036854775807,
2731
+ since some C++ compilers masquerading as C compilers
2732
+ incorrectly reject 9223372036854775807. */
2733
+ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2734
+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2735
+ && LARGE_OFF_T % 2147483647 == 1)
2736
+ ? 1 : -1];
2737
+ int
2738
+ main ()
2739
+ {
2740
+
2741
+ ;
2742
+ return 0;
2743
+ }
2744
+ _ACEOF
2745
+ rm -f conftest.$ac_objext
2746
+ if { (ac_try="$ac_compile"
2747
+ case "(($ac_try" in
2748
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2749
+ *) ac_try_echo=$ac_try;;
2750
+ esac
2751
+ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2752
+ (eval "$ac_compile") 2>conftest.er1
2753
+ ac_status=$?
2754
+ grep -v '^ *+' conftest.er1 >conftest.err
2755
+ rm -f conftest.er1
2756
+ cat conftest.err >&5
2757
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758
+ (exit $ac_status); } && {
2759
+ test -z "$ac_c_werror_flag" ||
2760
+ test ! -s conftest.err
2761
+ } && test -s conftest.$ac_objext; then
2762
+ ac_cv_sys_file_offset_bits=64; break
2763
+ else
2764
+ echo "$as_me: failed program was:" >&5
2765
+ sed 's/^/| /' conftest.$ac_ext >&5
2766
+
2767
+
2768
+ fi
2769
+
2770
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2771
+ ac_cv_sys_file_offset_bits=unknown
2772
+ break
2773
+ done
2774
+ fi
2775
+ { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
2776
+ echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
2777
+ case $ac_cv_sys_file_offset_bits in #(
2778
+ no | unknown) ;;
2779
+ *)
2780
+ cat >>confdefs.h <<_ACEOF
2781
+ #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
2782
+ _ACEOF
2783
+ ;;
2784
+ esac
2785
+ rm -f conftest*
2786
+ if test $ac_cv_sys_file_offset_bits = unknown; then
2787
+ { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
2788
+ echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
2789
+ if test "${ac_cv_sys_large_files+set}" = set; then
2790
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2791
+ else
2792
+ while :; do
2793
+ cat >conftest.$ac_ext <<_ACEOF
2794
+ /* confdefs.h. */
2795
+ _ACEOF
2796
+ cat confdefs.h >>conftest.$ac_ext
2797
+ cat >>conftest.$ac_ext <<_ACEOF
2798
+ /* end confdefs.h. */
2799
+ #include <sys/types.h>
2800
+ /* Check that off_t can represent 2**63 - 1 correctly.
2801
+ We can't simply define LARGE_OFF_T to be 9223372036854775807,
2802
+ since some C++ compilers masquerading as C compilers
2803
+ incorrectly reject 9223372036854775807. */
2804
+ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2805
+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2806
+ && LARGE_OFF_T % 2147483647 == 1)
2807
+ ? 1 : -1];
2808
+ int
2809
+ main ()
2810
+ {
2811
+
2812
+ ;
2813
+ return 0;
2814
+ }
2815
+ _ACEOF
2816
+ rm -f conftest.$ac_objext
2817
+ if { (ac_try="$ac_compile"
2818
+ case "(($ac_try" in
2819
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2820
+ *) ac_try_echo=$ac_try;;
2821
+ esac
2822
+ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2823
+ (eval "$ac_compile") 2>conftest.er1
2824
+ ac_status=$?
2825
+ grep -v '^ *+' conftest.er1 >conftest.err
2826
+ rm -f conftest.er1
2827
+ cat conftest.err >&5
2828
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829
+ (exit $ac_status); } && {
2830
+ test -z "$ac_c_werror_flag" ||
2831
+ test ! -s conftest.err
2832
+ } && test -s conftest.$ac_objext; then
2833
+ ac_cv_sys_large_files=no; break
2834
+ else
2835
+ echo "$as_me: failed program was:" >&5
2836
+ sed 's/^/| /' conftest.$ac_ext >&5
2837
+
2838
+
2839
+ fi
2840
+
2841
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2842
+ cat >conftest.$ac_ext <<_ACEOF
2843
+ /* confdefs.h. */
2844
+ _ACEOF
2845
+ cat confdefs.h >>conftest.$ac_ext
2846
+ cat >>conftest.$ac_ext <<_ACEOF
2847
+ /* end confdefs.h. */
2848
+ #define _LARGE_FILES 1
2849
+ #include <sys/types.h>
2850
+ /* Check that off_t can represent 2**63 - 1 correctly.
2851
+ We can't simply define LARGE_OFF_T to be 9223372036854775807,
2852
+ since some C++ compilers masquerading as C compilers
2853
+ incorrectly reject 9223372036854775807. */
2854
+ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2855
+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2856
+ && LARGE_OFF_T % 2147483647 == 1)
2857
+ ? 1 : -1];
2858
+ int
2859
+ main ()
2860
+ {
2861
+
2862
+ ;
2863
+ return 0;
2864
+ }
2865
+ _ACEOF
2866
+ rm -f conftest.$ac_objext
2867
+ if { (ac_try="$ac_compile"
2868
+ case "(($ac_try" in
2869
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2870
+ *) ac_try_echo=$ac_try;;
2871
+ esac
2872
+ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2873
+ (eval "$ac_compile") 2>conftest.er1
2874
+ ac_status=$?
2875
+ grep -v '^ *+' conftest.er1 >conftest.err
2876
+ rm -f conftest.er1
2877
+ cat conftest.err >&5
2878
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879
+ (exit $ac_status); } && {
2880
+ test -z "$ac_c_werror_flag" ||
2881
+ test ! -s conftest.err
2882
+ } && test -s conftest.$ac_objext; then
2883
+ ac_cv_sys_large_files=1; break
2884
+ else
2885
+ echo "$as_me: failed program was:" >&5
2886
+ sed 's/^/| /' conftest.$ac_ext >&5
2887
+
2888
+
2889
+ fi
2890
+
2891
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2892
+ ac_cv_sys_large_files=unknown
2893
+ break
2894
+ done
2895
+ fi
2896
+ { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
2897
+ echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
2898
+ case $ac_cv_sys_large_files in #(
2899
+ no | unknown) ;;
2900
+ *)
2901
+ cat >>confdefs.h <<_ACEOF
2902
+ #define _LARGE_FILES $ac_cv_sys_large_files
2903
+ _ACEOF
2904
+ ;;
2905
+ esac
2906
+ rm -f conftest*
2907
+ fi
2908
+ fi
2909
+
2910
+ ac_aux_dir=
2911
+ for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2912
+ if test -f "$ac_dir/install-sh"; then
2913
+ ac_aux_dir=$ac_dir
2914
+ ac_install_sh="$ac_aux_dir/install-sh -c"
2915
+ break
2916
+ elif test -f "$ac_dir/install.sh"; then
2917
+ ac_aux_dir=$ac_dir
2918
+ ac_install_sh="$ac_aux_dir/install.sh -c"
2919
+ break
2920
+ elif test -f "$ac_dir/shtool"; then
2921
+ ac_aux_dir=$ac_dir
2922
+ ac_install_sh="$ac_aux_dir/shtool install -c"
2923
+ break
2924
+ fi
2925
+ done
2926
+ if test -z "$ac_aux_dir"; then
2927
+ { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2928
+ echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2929
+ { (exit 1); exit 1; }; }
2930
+ fi
2931
+
2932
+ # These three variables are undocumented and unsupported,
2933
+ # and are intended to be withdrawn in a future Autoconf release.
2934
+ # They can cause serious problems if a builder's source tree is in a directory
2935
+ # whose full name contains unusual characters.
2936
+ ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2937
+ ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2938
+ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2939
+
2940
+
2941
+ # Find a good install program. We prefer a C program (faster),
2942
+ # so one script is as good as another. But avoid the broken or
2943
+ # incompatible versions:
2944
+ # SysV /etc/install, /usr/sbin/install
2945
+ # SunOS /usr/etc/install
2946
+ # IRIX /sbin/install
2947
+ # AIX /bin/install
2948
+ # AmigaOS /C/install, which installs bootblocks on floppy discs
2949
+ # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2950
+ # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2951
+ # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2952
+ # OS/2's system install, which has a completely different semantic
2953
+ # ./install, which can be erroneously created by make from ./install.sh.
2954
+ { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2955
+ echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2956
+ if test -z "$INSTALL"; then
2957
+ if test "${ac_cv_path_install+set}" = set; then
2958
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2959
+ else
2960
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2961
+ for as_dir in $PATH
2962
+ do
2963
+ IFS=$as_save_IFS
2964
+ test -z "$as_dir" && as_dir=.
2965
+ # Account for people who put trailing slashes in PATH elements.
2966
+ case $as_dir/ in
2967
+ ./ | .// | /cC/* | \
2968
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2969
+ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2970
+ /usr/ucb/* ) ;;
2971
+ *)
2972
+ # OSF1 and SCO ODT 3.0 have their own names for install.
2973
+ # Don't use installbsd from OSF since it installs stuff as root
2974
+ # by default.
2975
+ for ac_prog in ginstall scoinst install; do
2976
+ for ac_exec_ext in '' $ac_executable_extensions; do
2977
+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2978
+ if test $ac_prog = install &&
2979
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2980
+ # AIX install. It has an incompatible calling convention.
2981
+ :
2982
+ elif test $ac_prog = install &&
2983
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2984
+ # program-specific install script used by HP pwplus--don't use.
2985
+ :
2986
+ else
2987
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2988
+ break 3
2989
+ fi
2990
+ fi
2991
+ done
2992
+ done
2993
+ ;;
2994
+ esac
2995
+ done
2996
+ IFS=$as_save_IFS
2997
+
2998
+
2999
+ fi
3000
+ if test "${ac_cv_path_install+set}" = set; then
3001
+ INSTALL=$ac_cv_path_install
3002
+ else
3003
+ # As a last resort, use the slow shell script. Don't cache a
3004
+ # value for INSTALL within a source directory, because that will
3005
+ # break other packages using the cache if that directory is
3006
+ # removed, or if the value is a relative name.
3007
+ INSTALL=$ac_install_sh
3008
+ fi
3009
+ fi
3010
+ { echo "$as_me:$LINENO: result: $INSTALL" >&5
3011
+ echo "${ECHO_T}$INSTALL" >&6; }
3012
+
3013
+ # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3014
+ # It thinks the first close brace ends the variable substitution.
3015
+ test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3016
+
3017
+ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3018
+
3019
+ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3020
+
3021
+ cat >confcache <<\_ACEOF
3022
+ # This file is a shell script that caches the results of configure
3023
+ # tests run on this system so they can be shared between configure
3024
+ # scripts and configure runs, see configure's option --config-cache.
3025
+ # It is not useful on other systems. If it contains results you don't
3026
+ # want to keep, you may remove or edit it.
3027
+ #
3028
+ # config.status only pays attention to the cache file if you give it
3029
+ # the --recheck option to rerun configure.
3030
+ #
3031
+ # `ac_cv_env_foo' variables (set or unset) will be overridden when
3032
+ # loading this file, other *unset* `ac_cv_foo' will be assigned the
3033
+ # following values.
3034
+
3035
+ _ACEOF
3036
+
3037
+ # The following way of writing the cache mishandles newlines in values,
3038
+ # but we know of no workaround that is simple, portable, and efficient.
3039
+ # So, we kill variables containing newlines.
3040
+ # Ultrix sh set writes to stderr and can't be redirected directly,
3041
+ # and sets the high bit in the cache file unless we assign to the vars.
3042
+ (
3043
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3044
+ eval ac_val=\$$ac_var
3045
+ case $ac_val in #(
3046
+ *${as_nl}*)
3047
+ case $ac_var in #(
3048
+ *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3049
+ echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3050
+ esac
3051
+ case $ac_var in #(
3052
+ _ | IFS | as_nl) ;; #(
3053
+ *) $as_unset $ac_var ;;
3054
+ esac ;;
3055
+ esac
3056
+ done
3057
+
3058
+ (set) 2>&1 |
3059
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
3060
+ *${as_nl}ac_space=\ *)
3061
+ # `set' does not quote correctly, so add quotes (double-quote
3062
+ # substitution turns \\\\ into \\, and sed turns \\ into \).
3063
+ sed -n \
3064
+ "s/'/'\\\\''/g;
3065
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3066
+ ;; #(
3067
+ *)
3068
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
3069
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3070
+ ;;
3071
+ esac |
3072
+ sort
3073
+ ) |
3074
+ sed '
3075
+ /^ac_cv_env_/b end
3076
+ t clear
3077
+ :clear
3078
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3079
+ t end
3080
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3081
+ :end' >>confcache
3082
+ if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3083
+ if test -w "$cache_file"; then
3084
+ test "x$cache_file" != "x/dev/null" &&
3085
+ { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3086
+ echo "$as_me: updating cache $cache_file" >&6;}
3087
+ cat confcache >$cache_file
3088
+ else
3089
+ { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3090
+ echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3091
+ fi
3092
+ fi
3093
+ rm -f confcache
3094
+
3095
+ test "x$prefix" = xNONE && prefix=$ac_default_prefix
3096
+ # Let make expand exec_prefix.
3097
+ test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3098
+
3099
+ DEFS=-DHAVE_CONFIG_H
3100
+
3101
+ ac_libobjs=
3102
+ ac_ltlibobjs=
3103
+ for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3104
+ # 1. Remove the extension, and $U if already installed.
3105
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3106
+ ac_i=`echo "$ac_i" | sed "$ac_script"`
3107
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3108
+ # will be set to the directory where LIBOBJS objects are built.
3109
+ ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3110
+ ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3111
+ done
3112
+ LIBOBJS=$ac_libobjs
3113
+
3114
+ LTLIBOBJS=$ac_ltlibobjs
3115
+
3116
+
3117
+
3118
+ : ${CONFIG_STATUS=./config.status}
3119
+ ac_clean_files_save=$ac_clean_files
3120
+ ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3121
+ { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3122
+ echo "$as_me: creating $CONFIG_STATUS" >&6;}
3123
+ cat >$CONFIG_STATUS <<_ACEOF
3124
+ #! $SHELL
3125
+ # Generated by $as_me.
3126
+ # Run this file to recreate the current configuration.
3127
+ # Compiler output produced by configure, useful for debugging
3128
+ # configure, is in config.log if it exists.
3129
+
3130
+ debug=false
3131
+ ac_cs_recheck=false
3132
+ ac_cs_silent=false
3133
+ SHELL=\${CONFIG_SHELL-$SHELL}
3134
+ _ACEOF
3135
+
3136
+ cat >>$CONFIG_STATUS <<\_ACEOF
3137
+ ## --------------------- ##
3138
+ ## M4sh Initialization. ##
3139
+ ## --------------------- ##
3140
+
3141
+ # Be more Bourne compatible
3142
+ DUALCASE=1; export DUALCASE # for MKS sh
3143
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3144
+ emulate sh
3145
+ NULLCMD=:
3146
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3147
+ # is contrary to our usage. Disable this feature.
3148
+ alias -g '${1+"$@"}'='"$@"'
3149
+ setopt NO_GLOB_SUBST
3150
+ else
3151
+ case `(set -o) 2>/dev/null` in
3152
+ *posix*) set -o posix ;;
3153
+ esac
3154
+
3155
+ fi
3156
+
3157
+
3158
+
3159
+
3160
+ # PATH needs CR
3161
+ # Avoid depending upon Character Ranges.
3162
+ as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3163
+ as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3164
+ as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3165
+ as_cr_digits='0123456789'
3166
+ as_cr_alnum=$as_cr_Letters$as_cr_digits
3167
+
3168
+ # The user is always right.
3169
+ if test "${PATH_SEPARATOR+set}" != set; then
3170
+ echo "#! /bin/sh" >conf$$.sh
3171
+ echo "exit 0" >>conf$$.sh
3172
+ chmod +x conf$$.sh
3173
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3174
+ PATH_SEPARATOR=';'
3175
+ else
3176
+ PATH_SEPARATOR=:
3177
+ fi
3178
+ rm -f conf$$.sh
3179
+ fi
3180
+
3181
+ # Support unset when possible.
3182
+ if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3183
+ as_unset=unset
3184
+ else
3185
+ as_unset=false
3186
+ fi
3187
+
3188
+
3189
+ # IFS
3190
+ # We need space, tab and new line, in precisely that order. Quoting is
3191
+ # there to prevent editors from complaining about space-tab.
3192
+ # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3193
+ # splitting by setting IFS to empty value.)
3194
+ as_nl='
3195
+ '
3196
+ IFS=" "" $as_nl"
3197
+
3198
+ # Find who we are. Look in the path if we contain no directory separator.
3199
+ case $0 in
3200
+ *[\\/]* ) as_myself=$0 ;;
3201
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3202
+ for as_dir in $PATH
3203
+ do
3204
+ IFS=$as_save_IFS
3205
+ test -z "$as_dir" && as_dir=.
3206
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3207
+ done
3208
+ IFS=$as_save_IFS
3209
+
3210
+ ;;
3211
+ esac
3212
+ # We did not find ourselves, most probably we were run as `sh COMMAND'
3213
+ # in which case we are not to be found in the path.
3214
+ if test "x$as_myself" = x; then
3215
+ as_myself=$0
3216
+ fi
3217
+ if test ! -f "$as_myself"; then
3218
+ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3219
+ { (exit 1); exit 1; }
3220
+ fi
3221
+
3222
+ # Work around bugs in pre-3.0 UWIN ksh.
3223
+ for as_var in ENV MAIL MAILPATH
3224
+ do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3225
+ done
3226
+ PS1='$ '
3227
+ PS2='> '
3228
+ PS4='+ '
3229
+
3230
+ # NLS nuisances.
3231
+ for as_var in \
3232
+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3233
+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3234
+ LC_TELEPHONE LC_TIME
3235
+ do
3236
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3237
+ eval $as_var=C; export $as_var
3238
+ else
3239
+ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3240
+ fi
3241
+ done
3242
+
3243
+ # Required to use basename.
3244
+ if expr a : '\(a\)' >/dev/null 2>&1 &&
3245
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
3246
+ as_expr=expr
3247
+ else
3248
+ as_expr=false
3249
+ fi
3250
+
3251
+ if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3252
+ as_basename=basename
3253
+ else
3254
+ as_basename=false
3255
+ fi
3256
+
3257
+
3258
+ # Name of the executable.
3259
+ as_me=`$as_basename -- "$0" ||
3260
+ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3261
+ X"$0" : 'X\(//\)$' \| \
3262
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3263
+ echo X/"$0" |
3264
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
3265
+ s//\1/
3266
+ q
3267
+ }
3268
+ /^X\/\(\/\/\)$/{
3269
+ s//\1/
3270
+ q
3271
+ }
3272
+ /^X\/\(\/\).*/{
3273
+ s//\1/
3274
+ q
3275
+ }
3276
+ s/.*/./; q'`
3277
+
3278
+ # CDPATH.
3279
+ $as_unset CDPATH
3280
+
3281
+
3282
+
3283
+ as_lineno_1=$LINENO
3284
+ as_lineno_2=$LINENO
3285
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
3286
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3287
+
3288
+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3289
+ # uniformly replaced by the line number. The first 'sed' inserts a
3290
+ # line-number line after each line using $LINENO; the second 'sed'
3291
+ # does the real work. The second script uses 'N' to pair each
3292
+ # line-number line with the line containing $LINENO, and appends
3293
+ # trailing '-' during substitution so that $LINENO is not a special
3294
+ # case at line end.
3295
+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3296
+ # scripts with optimization help from Paolo Bonzini. Blame Lee
3297
+ # E. McMahon (1931-1989) for sed's syntax. :-)
3298
+ sed -n '
3299
+ p
3300
+ /[$]LINENO/=
3301
+ ' <$as_myself |
3302
+ sed '
3303
+ s/[$]LINENO.*/&-/
3304
+ t lineno
3305
+ b
3306
+ :lineno
3307
+ N
3308
+ :loop
3309
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3310
+ t loop
3311
+ s/-\n.*//
3312
+ ' >$as_me.lineno &&
3313
+ chmod +x "$as_me.lineno" ||
3314
+ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3315
+ { (exit 1); exit 1; }; }
3316
+
3317
+ # Don't try to exec as it changes $[0], causing all sort of problems
3318
+ # (the dirname of $[0] is not the place where we might find the
3319
+ # original and so on. Autoconf is especially sensitive to this).
3320
+ . "./$as_me.lineno"
3321
+ # Exit status is that of the last command.
3322
+ exit
3323
+ }
3324
+
3325
+
3326
+ if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3327
+ as_dirname=dirname
3328
+ else
3329
+ as_dirname=false
3330
+ fi
3331
+
3332
+ ECHO_C= ECHO_N= ECHO_T=
3333
+ case `echo -n x` in
3334
+ -n*)
3335
+ case `echo 'x\c'` in
3336
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3337
+ *) ECHO_C='\c';;
3338
+ esac;;
3339
+ *)
3340
+ ECHO_N='-n';;
3341
+ esac
3342
+
3343
+ if expr a : '\(a\)' >/dev/null 2>&1 &&
3344
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
3345
+ as_expr=expr
3346
+ else
3347
+ as_expr=false
3348
+ fi
3349
+
3350
+ rm -f conf$$ conf$$.exe conf$$.file
3351
+ if test -d conf$$.dir; then
3352
+ rm -f conf$$.dir/conf$$.file
3353
+ else
3354
+ rm -f conf$$.dir
3355
+ mkdir conf$$.dir
3356
+ fi
3357
+ echo >conf$$.file
3358
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
3359
+ as_ln_s='ln -s'
3360
+ # ... but there are two gotchas:
3361
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3362
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3363
+ # In both cases, we have to default to `cp -p'.
3364
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3365
+ as_ln_s='cp -p'
3366
+ elif ln conf$$.file conf$$ 2>/dev/null; then
3367
+ as_ln_s=ln
3368
+ else
3369
+ as_ln_s='cp -p'
3370
+ fi
3371
+ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3372
+ rmdir conf$$.dir 2>/dev/null
3373
+
3374
+ if mkdir -p . 2>/dev/null; then
3375
+ as_mkdir_p=:
3376
+ else
3377
+ test -d ./-p && rmdir ./-p
3378
+ as_mkdir_p=false
3379
+ fi
3380
+
3381
+ if test -x / >/dev/null 2>&1; then
3382
+ as_test_x='test -x'
3383
+ else
3384
+ if ls -dL / >/dev/null 2>&1; then
3385
+ as_ls_L_option=L
3386
+ else
3387
+ as_ls_L_option=
3388
+ fi
3389
+ as_test_x='
3390
+ eval sh -c '\''
3391
+ if test -d "$1"; then
3392
+ test -d "$1/.";
3393
+ else
3394
+ case $1 in
3395
+ -*)set "./$1";;
3396
+ esac;
3397
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3398
+ ???[sx]*):;;*)false;;esac;fi
3399
+ '\'' sh
3400
+ '
3401
+ fi
3402
+ as_executable_p=$as_test_x
3403
+
3404
+ # Sed expression to map a string onto a valid CPP name.
3405
+ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3406
+
3407
+ # Sed expression to map a string onto a valid variable name.
3408
+ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3409
+
3410
+
3411
+ exec 6>&1
3412
+
3413
+ # Save the log message, to keep $[0] and so on meaningful, and to
3414
+ # report actual input values of CONFIG_FILES etc. instead of their
3415
+ # values after options handling.
3416
+ ac_log="
3417
+ This file was extended by $as_me, which was
3418
+ generated by GNU Autoconf 2.61. Invocation command line was
3419
+
3420
+ CONFIG_FILES = $CONFIG_FILES
3421
+ CONFIG_HEADERS = $CONFIG_HEADERS
3422
+ CONFIG_LINKS = $CONFIG_LINKS
3423
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
3424
+ $ $0 $@
3425
+
3426
+ on `(hostname || uname -n) 2>/dev/null | sed 1q`
3427
+ "
3428
+
3429
+ _ACEOF
3430
+
3431
+ cat >>$CONFIG_STATUS <<_ACEOF
3432
+ # Files that config.status was made for.
3433
+ config_headers="$ac_config_headers"
3434
+
3435
+ _ACEOF
3436
+
3437
+ cat >>$CONFIG_STATUS <<\_ACEOF
3438
+ ac_cs_usage="\
3439
+ \`$as_me' instantiates files from templates according to the
3440
+ current configuration.
3441
+
3442
+ Usage: $0 [OPTIONS] [FILE]...
3443
+
3444
+ -h, --help print this help, then exit
3445
+ -V, --version print version number and configuration settings, then exit
3446
+ -q, --quiet do not print progress messages
3447
+ -d, --debug don't remove temporary files
3448
+ --recheck update $as_me by reconfiguring in the same conditions
3449
+ --header=FILE[:TEMPLATE]
3450
+ instantiate the configuration header FILE
3451
+
3452
+ Configuration headers:
3453
+ $config_headers
3454
+
3455
+ Report bugs to <bug-autoconf@gnu.org>."
3456
+
3457
+ _ACEOF
3458
+ cat >>$CONFIG_STATUS <<_ACEOF
3459
+ ac_cs_version="\\
3460
+ config.status
3461
+ configured by $0, generated by GNU Autoconf 2.61,
3462
+ with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3463
+
3464
+ Copyright (C) 2006 Free Software Foundation, Inc.
3465
+ This config.status script is free software; the Free Software Foundation
3466
+ gives unlimited permission to copy, distribute and modify it."
3467
+
3468
+ ac_pwd='$ac_pwd'
3469
+ srcdir='$srcdir'
3470
+ INSTALL='$INSTALL'
3471
+ _ACEOF
3472
+
3473
+ cat >>$CONFIG_STATUS <<\_ACEOF
3474
+ # If no file are specified by the user, then we need to provide default
3475
+ # value. By we need to know if files were specified by the user.
3476
+ ac_need_defaults=:
3477
+ while test $# != 0
3478
+ do
3479
+ case $1 in
3480
+ --*=*)
3481
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
3482
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3483
+ ac_shift=:
3484
+ ;;
3485
+ *)
3486
+ ac_option=$1
3487
+ ac_optarg=$2
3488
+ ac_shift=shift
3489
+ ;;
3490
+ esac
3491
+
3492
+ case $ac_option in
3493
+ # Handling of the options.
3494
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3495
+ ac_cs_recheck=: ;;
3496
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3497
+ echo "$ac_cs_version"; exit ;;
3498
+ --debug | --debu | --deb | --de | --d | -d )
3499
+ debug=: ;;
3500
+ --header | --heade | --head | --hea )
3501
+ $ac_shift
3502
+ CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3503
+ ac_need_defaults=false;;
3504
+ --he | --h)
3505
+ # Conflict between --help and --header
3506
+ { echo "$as_me: error: ambiguous option: $1
3507
+ Try \`$0 --help' for more information." >&2
3508
+ { (exit 1); exit 1; }; };;
3509
+ --help | --hel | -h )
3510
+ echo "$ac_cs_usage"; exit ;;
3511
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3512
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
3513
+ ac_cs_silent=: ;;
3514
+
3515
+ # This is an error.
3516
+ -*) { echo "$as_me: error: unrecognized option: $1
3517
+ Try \`$0 --help' for more information." >&2
3518
+ { (exit 1); exit 1; }; } ;;
3519
+
3520
+ *) ac_config_targets="$ac_config_targets $1"
3521
+ ac_need_defaults=false ;;
3522
+
3523
+ esac
3524
+ shift
3525
+ done
3526
+
3527
+ ac_configure_extra_args=
3528
+
3529
+ if $ac_cs_silent; then
3530
+ exec 6>/dev/null
3531
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
3532
+ fi
3533
+
3534
+ _ACEOF
3535
+ cat >>$CONFIG_STATUS <<_ACEOF
3536
+ if \$ac_cs_recheck; then
3537
+ echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3538
+ CONFIG_SHELL=$SHELL
3539
+ export CONFIG_SHELL
3540
+ exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3541
+ fi
3542
+
3543
+ _ACEOF
3544
+ cat >>$CONFIG_STATUS <<\_ACEOF
3545
+ exec 5>>config.log
3546
+ {
3547
+ echo
3548
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3549
+ ## Running $as_me. ##
3550
+ _ASBOX
3551
+ echo "$ac_log"
3552
+ } >&5
3553
+
3554
+ _ACEOF
3555
+ cat >>$CONFIG_STATUS <<_ACEOF
3556
+ _ACEOF
3557
+
3558
+ cat >>$CONFIG_STATUS <<\_ACEOF
3559
+
3560
+ # Handling of arguments.
3561
+ for ac_config_target in $ac_config_targets
3562
+ do
3563
+ case $ac_config_target in
3564
+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3565
+
3566
+ *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3567
+ echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3568
+ { (exit 1); exit 1; }; };;
3569
+ esac
3570
+ done
3571
+
3572
+
3573
+ # If the user did not use the arguments to specify the items to instantiate,
3574
+ # then the envvar interface is used. Set only those that are not.
3575
+ # We use the long form for the default assignment because of an extremely
3576
+ # bizarre bug on SunOS 4.1.3.
3577
+ if $ac_need_defaults; then
3578
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3579
+ fi
3580
+
3581
+ # Have a temporary directory for convenience. Make it in the build tree
3582
+ # simply because there is no reason against having it here, and in addition,
3583
+ # creating and moving files from /tmp can sometimes cause problems.
3584
+ # Hook for its removal unless debugging.
3585
+ # Note that there is a small window in which the directory will not be cleaned:
3586
+ # after its creation but before its name has been assigned to `$tmp'.
3587
+ $debug ||
3588
+ {
3589
+ tmp=
3590
+ trap 'exit_status=$?
3591
+ { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3592
+ ' 0
3593
+ trap '{ (exit 1); exit 1; }' 1 2 13 15
3594
+ }
3595
+ # Create a (secure) tmp directory for tmp files.
3596
+
3597
+ {
3598
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3599
+ test -n "$tmp" && test -d "$tmp"
3600
+ } ||
3601
+ {
3602
+ tmp=./conf$$-$RANDOM
3603
+ (umask 077 && mkdir "$tmp")
3604
+ } ||
3605
+ {
3606
+ echo "$me: cannot create a temporary directory in ." >&2
3607
+ { (exit 1); exit 1; }
3608
+ }
3609
+
3610
+
3611
+ for ac_tag in :H $CONFIG_HEADERS
3612
+ do
3613
+ case $ac_tag in
3614
+ :[FHLC]) ac_mode=$ac_tag; continue;;
3615
+ esac
3616
+ case $ac_mode$ac_tag in
3617
+ :[FHL]*:*);;
3618
+ :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3619
+ echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3620
+ { (exit 1); exit 1; }; };;
3621
+ :[FH]-) ac_tag=-:-;;
3622
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3623
+ esac
3624
+ ac_save_IFS=$IFS
3625
+ IFS=:
3626
+ set x $ac_tag
3627
+ IFS=$ac_save_IFS
3628
+ shift
3629
+ ac_file=$1
3630
+ shift
3631
+
3632
+ case $ac_mode in
3633
+ :L) ac_source=$1;;
3634
+ :[FH])
3635
+ ac_file_inputs=
3636
+ for ac_f
3637
+ do
3638
+ case $ac_f in
3639
+ -) ac_f="$tmp/stdin";;
3640
+ *) # Look for the file first in the build tree, then in the source tree
3641
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
3642
+ # because $ac_f cannot contain `:'.
3643
+ test -f "$ac_f" ||
3644
+ case $ac_f in
3645
+ [\\/$]*) false;;
3646
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3647
+ esac ||
3648
+ { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3649
+ echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3650
+ { (exit 1); exit 1; }; };;
3651
+ esac
3652
+ ac_file_inputs="$ac_file_inputs $ac_f"
3653
+ done
3654
+
3655
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
3656
+ # use $as_me), people would be surprised to read:
3657
+ # /* config.h. Generated by config.status. */
3658
+ configure_input="Generated from "`IFS=:
3659
+ echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3660
+ if test x"$ac_file" != x-; then
3661
+ configure_input="$ac_file. $configure_input"
3662
+ { echo "$as_me:$LINENO: creating $ac_file" >&5
3663
+ echo "$as_me: creating $ac_file" >&6;}
3664
+ fi
3665
+
3666
+ case $ac_tag in
3667
+ *:-:* | *:-) cat >"$tmp/stdin";;
3668
+ esac
3669
+ ;;
3670
+ esac
3671
+
3672
+ ac_dir=`$as_dirname -- "$ac_file" ||
3673
+ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3674
+ X"$ac_file" : 'X\(//\)[^/]' \| \
3675
+ X"$ac_file" : 'X\(//\)$' \| \
3676
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3677
+ echo X"$ac_file" |
3678
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3679
+ s//\1/
3680
+ q
3681
+ }
3682
+ /^X\(\/\/\)[^/].*/{
3683
+ s//\1/
3684
+ q
3685
+ }
3686
+ /^X\(\/\/\)$/{
3687
+ s//\1/
3688
+ q
3689
+ }
3690
+ /^X\(\/\).*/{
3691
+ s//\1/
3692
+ q
3693
+ }
3694
+ s/.*/./; q'`
3695
+ { as_dir="$ac_dir"
3696
+ case $as_dir in #(
3697
+ -*) as_dir=./$as_dir;;
3698
+ esac
3699
+ test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3700
+ as_dirs=
3701
+ while :; do
3702
+ case $as_dir in #(
3703
+ *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3704
+ *) as_qdir=$as_dir;;
3705
+ esac
3706
+ as_dirs="'$as_qdir' $as_dirs"
3707
+ as_dir=`$as_dirname -- "$as_dir" ||
3708
+ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3709
+ X"$as_dir" : 'X\(//\)[^/]' \| \
3710
+ X"$as_dir" : 'X\(//\)$' \| \
3711
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3712
+ echo X"$as_dir" |
3713
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3714
+ s//\1/
3715
+ q
3716
+ }
3717
+ /^X\(\/\/\)[^/].*/{
3718
+ s//\1/
3719
+ q
3720
+ }
3721
+ /^X\(\/\/\)$/{
3722
+ s//\1/
3723
+ q
3724
+ }
3725
+ /^X\(\/\).*/{
3726
+ s//\1/
3727
+ q
3728
+ }
3729
+ s/.*/./; q'`
3730
+ test -d "$as_dir" && break
3731
+ done
3732
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
3733
+ } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3734
+ echo "$as_me: error: cannot create directory $as_dir" >&2;}
3735
+ { (exit 1); exit 1; }; }; }
3736
+ ac_builddir=.
3737
+
3738
+ case "$ac_dir" in
3739
+ .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3740
+ *)
3741
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3742
+ # A ".." for each directory in $ac_dir_suffix.
3743
+ ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3744
+ case $ac_top_builddir_sub in
3745
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3746
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3747
+ esac ;;
3748
+ esac
3749
+ ac_abs_top_builddir=$ac_pwd
3750
+ ac_abs_builddir=$ac_pwd$ac_dir_suffix
3751
+ # for backward compatibility:
3752
+ ac_top_builddir=$ac_top_build_prefix
3753
+
3754
+ case $srcdir in
3755
+ .) # We are building in place.
3756
+ ac_srcdir=.
3757
+ ac_top_srcdir=$ac_top_builddir_sub
3758
+ ac_abs_top_srcdir=$ac_pwd ;;
3759
+ [\\/]* | ?:[\\/]* ) # Absolute name.
3760
+ ac_srcdir=$srcdir$ac_dir_suffix;
3761
+ ac_top_srcdir=$srcdir
3762
+ ac_abs_top_srcdir=$srcdir ;;
3763
+ *) # Relative name.
3764
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3765
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
3766
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3767
+ esac
3768
+ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3769
+
3770
+
3771
+ case $ac_mode in
3772
+
3773
+ :H)
3774
+ #
3775
+ # CONFIG_HEADER
3776
+ #
3777
+ _ACEOF
3778
+
3779
+ # Transform confdefs.h into a sed script `conftest.defines', that
3780
+ # substitutes the proper values into config.h.in to produce config.h.
3781
+ rm -f conftest.defines conftest.tail
3782
+ # First, append a space to every undef/define line, to ease matching.
3783
+ echo 's/$/ /' >conftest.defines
3784
+ # Then, protect against being on the right side of a sed subst, or in
3785
+ # an unquoted here document, in config.status. If some macros were
3786
+ # called several times there might be several #defines for the same
3787
+ # symbol, which is useless. But do not sort them, since the last
3788
+ # AC_DEFINE must be honored.
3789
+ ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3790
+ # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
3791
+ # NAME is the cpp macro being defined, VALUE is the value it is being given.
3792
+ # PARAMS is the parameter list in the macro definition--in most cases, it's
3793
+ # just an empty string.
3794
+ ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
3795
+ ac_dB='\\)[ (].*,\\1define\\2'
3796
+ ac_dC=' '
3797
+ ac_dD=' ,'
3798
+
3799
+ uniq confdefs.h |
3800
+ sed -n '
3801
+ t rset
3802
+ :rset
3803
+ s/^[ ]*#[ ]*define[ ][ ]*//
3804
+ t ok
3805
+ d
3806
+ :ok
3807
+ s/[\\&,]/\\&/g
3808
+ s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
3809
+ s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
3810
+ ' >>conftest.defines
3811
+
3812
+ # Remove the space that was appended to ease matching.
3813
+ # Then replace #undef with comments. This is necessary, for
3814
+ # example, in the case of _POSIX_SOURCE, which is predefined and required
3815
+ # on some systems where configure will not decide to define it.
3816
+ # (The regexp can be short, since the line contains either #define or #undef.)
3817
+ echo 's/ $//
3818
+ s,^[ #]*u.*,/* & */,' >>conftest.defines
3819
+
3820
+ # Break up conftest.defines:
3821
+ ac_max_sed_lines=50
3822
+
3823
+ # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
3824
+ # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
3825
+ # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
3826
+ # et cetera.
3827
+ ac_in='$ac_file_inputs'
3828
+ ac_out='"$tmp/out1"'
3829
+ ac_nxt='"$tmp/out2"'
3830
+
3831
+ while :
3832
+ do
3833
+ # Write a here document:
3834
+ cat >>$CONFIG_STATUS <<_ACEOF
3835
+ # First, check the format of the line:
3836
+ cat >"\$tmp/defines.sed" <<\\CEOF
3837
+ /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
3838
+ /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
3839
+ b
3840
+ :def
3841
+ _ACEOF
3842
+ sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
3843
+ echo 'CEOF
3844
+ sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
3845
+ ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
3846
+ sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
3847
+ grep . conftest.tail >/dev/null || break
3848
+ rm -f conftest.defines
3849
+ mv conftest.tail conftest.defines
3850
+ done
3851
+ rm -f conftest.defines conftest.tail
3852
+
3853
+ echo "ac_result=$ac_in" >>$CONFIG_STATUS
3854
+ cat >>$CONFIG_STATUS <<\_ACEOF
3855
+ if test x"$ac_file" != x-; then
3856
+ echo "/* $configure_input */" >"$tmp/config.h"
3857
+ cat "$ac_result" >>"$tmp/config.h"
3858
+ if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
3859
+ { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3860
+ echo "$as_me: $ac_file is unchanged" >&6;}
3861
+ else
3862
+ rm -f $ac_file
3863
+ mv "$tmp/config.h" $ac_file
3864
+ fi
3865
+ else
3866
+ echo "/* $configure_input */"
3867
+ cat "$ac_result"
3868
+ fi
3869
+ rm -f "$tmp/out12"
3870
+ ;;
3871
+
3872
+
3873
+ esac
3874
+
3875
+ done # for ac_tag
3876
+
3877
+
3878
+ { (exit 0); exit 0; }
3879
+ _ACEOF
3880
+ chmod +x $CONFIG_STATUS
3881
+ ac_clean_files=$ac_clean_files_save
3882
+
3883
+
3884
+ # configure is writing to config.log, and then calls config.status.
3885
+ # config.status does its own redirection, appending to config.log.
3886
+ # Unfortunately, on DOS this fails, as config.log is still kept open
3887
+ # by configure, so config.status won't be able to write to it; its
3888
+ # output is simply discarded. So we exec the FD to /dev/null,
3889
+ # effectively closing config.log, so it can be properly (re)opened and
3890
+ # appended to by config.status. When coming back to configure, we
3891
+ # need to make the FD available again.
3892
+ if test "$no_create" != yes; then
3893
+ ac_cs_success=:
3894
+ ac_config_status_args=
3895
+ test "$silent" = yes &&
3896
+ ac_config_status_args="$ac_config_status_args --quiet"
3897
+ exec 5>/dev/null
3898
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3899
+ exec 5>>config.log
3900
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3901
+ # would make configure fail if this is the last instruction.
3902
+ $ac_cs_success || { (exit 1); exit 1; }
3903
+ fi
3904
+