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