Sat, 19 Jan 2019 13:58:24 +0100
Version 0.0.4. Added confirm popup window to abort a running profile. Translated the toggle buttons.
0 | 1 | #! /bin/sh |
2 | # Guess values for system-dependent variables and create Makefiles. | |
3 | # Generated by GNU Autoconf 2.69. | |
4 | # | |
5 | # | |
6 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | |
7 | # | |
8 | # | |
9 | # This configure script is free software; the Free Software Foundation | |
10 | # gives unlimited permission to copy, distribute and modify it. | |
11 | ## -------------------- ## | |
12 | ## M4sh Initialization. ## | |
13 | ## -------------------- ## | |
14 | ||
15 | # Be more Bourne compatible | |
16 | DUALCASE=1; export DUALCASE # for MKS sh | |
17 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
18 | emulate sh | |
19 | NULLCMD=: | |
20 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
21 | # is contrary to our usage. Disable this feature. | |
22 | alias -g '${1+"$@"}'='"$@"' | |
23 | setopt NO_GLOB_SUBST | |
24 | else | |
25 | case `(set -o) 2>/dev/null` in #( | |
26 | *posix*) : | |
27 | set -o posix ;; #( | |
28 | *) : | |
29 | ;; | |
30 | esac | |
31 | fi | |
32 | ||
33 | ||
34 | as_nl=' | |
35 | ' | |
36 | export as_nl | |
37 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
38 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
39 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
40 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
41 | # Prefer a ksh shell builtin over an external printf program on Solaris, | |
42 | # but without wasting forks for bash or zsh. | |
43 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
44 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
45 | as_echo='print -r --' | |
46 | as_echo_n='print -rn --' | |
47 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
48 | as_echo='printf %s\n' | |
49 | as_echo_n='printf %s' | |
50 | else | |
51 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
52 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
53 | as_echo_n='/usr/ucb/echo -n' | |
54 | else | |
55 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
56 | as_echo_n_body='eval | |
57 | arg=$1; | |
58 | case $arg in #( | |
59 | *"$as_nl"*) | |
60 | expr "X$arg" : "X\\(.*\\)$as_nl"; | |
61 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
62 | esac; | |
63 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
64 | ' | |
65 | export as_echo_n_body | |
66 | as_echo_n='sh -c $as_echo_n_body as_echo' | |
67 | fi | |
68 | export as_echo_body | |
69 | as_echo='sh -c $as_echo_body as_echo' | |
70 | fi | |
71 | ||
72 | # The user is always right. | |
73 | if test "${PATH_SEPARATOR+set}" != set; then | |
74 | PATH_SEPARATOR=: | |
75 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
76 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
77 | PATH_SEPARATOR=';' | |
78 | } | |
79 | fi | |
80 | ||
81 | ||
82 | # IFS | |
83 | # We need space, tab and new line, in precisely that order. Quoting is | |
84 | # there to prevent editors from complaining about space-tab. | |
85 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
86 | # splitting by setting IFS to empty value.) | |
87 | IFS=" "" $as_nl" | |
88 | ||
89 | # Find who we are. Look in the path if we contain no directory separator. | |
90 | as_myself= | |
91 | case $0 in #(( | |
92 | *[\\/]* ) as_myself=$0 ;; | |
93 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
94 | for as_dir in $PATH | |
95 | do | |
96 | IFS=$as_save_IFS | |
97 | test -z "$as_dir" && as_dir=. | |
98 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
99 | done | |
100 | IFS=$as_save_IFS | |
101 | ||
102 | ;; | |
103 | esac | |
104 | # We did not find ourselves, most probably we were run as `sh COMMAND' | |
105 | # in which case we are not to be found in the path. | |
106 | if test "x$as_myself" = x; then | |
107 | as_myself=$0 | |
108 | fi | |
109 | if test ! -f "$as_myself"; then | |
110 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
111 | exit 1 | |
112 | fi | |
113 | ||
114 | # Unset variables that we do not need and which cause bugs (e.g. in | |
115 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
116 | # suppresses any "Segmentation fault" message there. '((' could | |
117 | # trigger a bug in pdksh 5.2.14. | |
118 | for as_var in BASH_ENV ENV MAIL MAILPATH | |
119 | do eval test x\${$as_var+set} = xset \ | |
120 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
121 | done | |
122 | PS1='$ ' | |
123 | PS2='> ' | |
124 | PS4='+ ' | |
125 | ||
126 | # NLS nuisances. | |
127 | LC_ALL=C | |
128 | export LC_ALL | |
129 | LANGUAGE=C | |
130 | export LANGUAGE | |
131 | ||
132 | # CDPATH. | |
133 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
134 | ||
135 | # Use a proper internal environment variable to ensure we don't fall | |
136 | # into an infinite loop, continuously re-executing ourselves. | |
137 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then | |
138 | _as_can_reexec=no; export _as_can_reexec; | |
139 | # We cannot yet assume a decent shell, so we have to provide a | |
140 | # neutralization value for shells without unset; and this also | |
141 | # works around shells that cannot unset nonexistent variables. | |
142 | # Preserve -v and -x to the replacement shell. | |
143 | BASH_ENV=/dev/null | |
144 | ENV=/dev/null | |
145 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
146 | case $- in # (((( | |
147 | *v*x* | *x*v* ) as_opts=-vx ;; | |
148 | *v* ) as_opts=-v ;; | |
149 | *x* ) as_opts=-x ;; | |
150 | * ) as_opts= ;; | |
151 | esac | |
152 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
153 | # Admittedly, this is quite paranoid, since all the known shells bail | |
154 | # out after a failed `exec'. | |
155 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
156 | as_fn_exit 255 | |
157 | fi | |
158 | # We don't want this to propagate to other subprocesses. | |
159 | { _as_can_reexec=; unset _as_can_reexec;} | |
160 | if test "x$CONFIG_SHELL" = x; then | |
161 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | |
162 | emulate sh | |
163 | NULLCMD=: | |
164 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | |
165 | # is contrary to our usage. Disable this feature. | |
166 | alias -g '\${1+\"\$@\"}'='\"\$@\"' | |
167 | setopt NO_GLOB_SUBST | |
168 | else | |
169 | case \`(set -o) 2>/dev/null\` in #( | |
170 | *posix*) : | |
171 | set -o posix ;; #( | |
172 | *) : | |
173 | ;; | |
174 | esac | |
175 | fi | |
176 | " | |
177 | as_required="as_fn_return () { (exit \$1); } | |
178 | as_fn_success () { as_fn_return 0; } | |
179 | as_fn_failure () { as_fn_return 1; } | |
180 | as_fn_ret_success () { return 0; } | |
181 | as_fn_ret_failure () { return 1; } | |
182 | ||
183 | exitcode=0 | |
184 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } | |
185 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | |
186 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | |
187 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | |
188 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | |
189 | ||
190 | else | |
191 | exitcode=1; echo positional parameters were not saved. | |
192 | fi | |
193 | test x\$exitcode = x0 || exit 1 | |
194 | test -x / || exit 1" | |
195 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | |
196 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | |
197 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | |
198 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | |
199 | test \$(( 1 + 1 )) = 2 || exit 1" | |
200 | if (eval "$as_required") 2>/dev/null; then : | |
201 | as_have_required=yes | |
202 | else | |
203 | as_have_required=no | |
204 | fi | |
205 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | |
206 | ||
207 | else | |
208 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
209 | as_found=false | |
210 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
211 | do | |
212 | IFS=$as_save_IFS | |
213 | test -z "$as_dir" && as_dir=. | |
214 | as_found=: | |
215 | case $as_dir in #( | |
216 | /*) | |
217 | for as_base in sh bash ksh sh5; do | |
218 | # Try only shells that exist, to save several forks. | |
219 | as_shell=$as_dir/$as_base | |
220 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
221 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
222 | CONFIG_SHELL=$as_shell as_have_required=yes | |
223 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
224 | break 2 | |
225 | fi | |
226 | fi | |
227 | done;; | |
228 | esac | |
229 | as_found=false | |
230 | done | |
231 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | |
232 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | |
233 | CONFIG_SHELL=$SHELL as_have_required=yes | |
234 | fi; } | |
235 | IFS=$as_save_IFS | |
236 | ||
237 | ||
238 | if test "x$CONFIG_SHELL" != x; then : | |
239 | export CONFIG_SHELL | |
240 | # We cannot yet assume a decent shell, so we have to provide a | |
241 | # neutralization value for shells without unset; and this also | |
242 | # works around shells that cannot unset nonexistent variables. | |
243 | # Preserve -v and -x to the replacement shell. | |
244 | BASH_ENV=/dev/null | |
245 | ENV=/dev/null | |
246 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
247 | case $- in # (((( | |
248 | *v*x* | *x*v* ) as_opts=-vx ;; | |
249 | *v* ) as_opts=-v ;; | |
250 | *x* ) as_opts=-x ;; | |
251 | * ) as_opts= ;; | |
252 | esac | |
253 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
254 | # Admittedly, this is quite paranoid, since all the known shells bail | |
255 | # out after a failed `exec'. | |
256 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
257 | exit 255 | |
258 | fi | |
259 | ||
260 | if test x$as_have_required = xno; then : | |
261 | $as_echo "$0: This script requires a shell more modern than all" | |
262 | $as_echo "$0: the shells that I found on your system." | |
263 | if test x${ZSH_VERSION+set} = xset ; then | |
264 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | |
265 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." | |
266 | else | |
267 | $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, | |
268 | $0: including any error possibly output before this | |
269 | $0: message. Then install a modern shell, or manually run | |
270 | $0: the script under such a shell if you do have one." | |
271 | fi | |
272 | exit 1 | |
273 | fi | |
274 | fi | |
275 | fi | |
276 | SHELL=${CONFIG_SHELL-/bin/sh} | |
277 | export SHELL | |
278 | # Unset more variables known to interfere with behavior of common tools. | |
279 | CLICOLOR_FORCE= GREP_OPTIONS= | |
280 | unset CLICOLOR_FORCE GREP_OPTIONS | |
281 | ||
282 | ## --------------------- ## | |
283 | ## M4sh Shell Functions. ## | |
284 | ## --------------------- ## | |
285 | # as_fn_unset VAR | |
286 | # --------------- | |
287 | # Portably unset VAR. | |
288 | as_fn_unset () | |
289 | { | |
290 | { eval $1=; unset $1;} | |
291 | } | |
292 | as_unset=as_fn_unset | |
293 | ||
294 | # as_fn_set_status STATUS | |
295 | # ----------------------- | |
296 | # Set $? to STATUS, without forking. | |
297 | as_fn_set_status () | |
298 | { | |
299 | return $1 | |
300 | } # as_fn_set_status | |
301 | ||
302 | # as_fn_exit STATUS | |
303 | # ----------------- | |
304 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
305 | as_fn_exit () | |
306 | { | |
307 | set +e | |
308 | as_fn_set_status $1 | |
309 | exit $1 | |
310 | } # as_fn_exit | |
311 | ||
312 | # as_fn_mkdir_p | |
313 | # ------------- | |
314 | # Create "$as_dir" as a directory, including parents if necessary. | |
315 | as_fn_mkdir_p () | |
316 | { | |
317 | ||
318 | case $as_dir in #( | |
319 | -*) as_dir=./$as_dir;; | |
320 | esac | |
321 | test -d "$as_dir" || eval $as_mkdir_p || { | |
322 | as_dirs= | |
323 | while :; do | |
324 | case $as_dir in #( | |
325 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
326 | *) as_qdir=$as_dir;; | |
327 | esac | |
328 | as_dirs="'$as_qdir' $as_dirs" | |
329 | as_dir=`$as_dirname -- "$as_dir" || | |
330 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
331 | X"$as_dir" : 'X\(//\)[^/]' \| \ | |
332 | X"$as_dir" : 'X\(//\)$' \| \ | |
333 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
334 | $as_echo X"$as_dir" | | |
335 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
336 | s//\1/ | |
337 | q | |
338 | } | |
339 | /^X\(\/\/\)[^/].*/{ | |
340 | s//\1/ | |
341 | q | |
342 | } | |
343 | /^X\(\/\/\)$/{ | |
344 | s//\1/ | |
345 | q | |
346 | } | |
347 | /^X\(\/\).*/{ | |
348 | s//\1/ | |
349 | q | |
350 | } | |
351 | s/.*/./; q'` | |
352 | test -d "$as_dir" && break | |
353 | done | |
354 | test -z "$as_dirs" || eval "mkdir $as_dirs" | |
355 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
356 | ||
357 | ||
358 | } # as_fn_mkdir_p | |
359 | ||
360 | # as_fn_executable_p FILE | |
361 | # ----------------------- | |
362 | # Test if FILE is an executable regular file. | |
363 | as_fn_executable_p () | |
364 | { | |
365 | test -f "$1" && test -x "$1" | |
366 | } # as_fn_executable_p | |
367 | # as_fn_append VAR VALUE | |
368 | # ---------------------- | |
369 | # Append the text in VALUE to the end of the definition contained in VAR. Take | |
370 | # advantage of any shell optimizations that allow amortized linear growth over | |
371 | # repeated appends, instead of the typical quadratic growth present in naive | |
372 | # implementations. | |
373 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
374 | eval 'as_fn_append () | |
375 | { | |
376 | eval $1+=\$2 | |
377 | }' | |
378 | else | |
379 | as_fn_append () | |
380 | { | |
381 | eval $1=\$$1\$2 | |
382 | } | |
383 | fi # as_fn_append | |
384 | ||
385 | # as_fn_arith ARG... | |
386 | # ------------------ | |
387 | # Perform arithmetic evaluation on the ARGs, and store the result in the | |
388 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
389 | # must be portable across $(()) and expr. | |
390 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
391 | eval 'as_fn_arith () | |
392 | { | |
393 | as_val=$(( $* )) | |
394 | }' | |
395 | else | |
396 | as_fn_arith () | |
397 | { | |
398 | as_val=`expr "$@" || test $? -eq 1` | |
399 | } | |
400 | fi # as_fn_arith | |
401 | ||
402 | ||
403 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
404 | # ---------------------------------------- | |
405 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
406 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
407 | # script with STATUS, using 1 if that was 0. | |
408 | as_fn_error () | |
409 | { | |
410 | as_status=$1; test $as_status -eq 0 && as_status=1 | |
411 | if test "$4"; then | |
412 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
413 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
414 | fi | |
415 | $as_echo "$as_me: error: $2" >&2 | |
416 | as_fn_exit $as_status | |
417 | } # as_fn_error | |
418 | ||
419 | if expr a : '\(a\)' >/dev/null 2>&1 && | |
420 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
421 | as_expr=expr | |
422 | else | |
423 | as_expr=false | |
424 | fi | |
425 | ||
426 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
427 | as_basename=basename | |
428 | else | |
429 | as_basename=false | |
430 | fi | |
431 | ||
432 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
433 | as_dirname=dirname | |
434 | else | |
435 | as_dirname=false | |
436 | fi | |
437 | ||
438 | as_me=`$as_basename -- "$0" || | |
439 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
440 | X"$0" : 'X\(//\)$' \| \ | |
441 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
442 | $as_echo X/"$0" | | |
443 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
444 | s//\1/ | |
445 | q | |
446 | } | |
447 | /^X\/\(\/\/\)$/{ | |
448 | s//\1/ | |
449 | q | |
450 | } | |
451 | /^X\/\(\/\).*/{ | |
452 | s//\1/ | |
453 | q | |
454 | } | |
455 | s/.*/./; q'` | |
456 | ||
457 | # Avoid depending upon Character Ranges. | |
458 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
459 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
460 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
461 | as_cr_digits='0123456789' | |
462 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
463 | ||
464 | ||
465 | as_lineno_1=$LINENO as_lineno_1a=$LINENO | |
466 | as_lineno_2=$LINENO as_lineno_2a=$LINENO | |
467 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | |
468 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | |
469 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | |
470 | sed -n ' | |
471 | p | |
472 | /[$]LINENO/= | |
473 | ' <$as_myself | | |
474 | sed ' | |
475 | s/[$]LINENO.*/&-/ | |
476 | t lineno | |
477 | b | |
478 | :lineno | |
479 | N | |
480 | :loop | |
481 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
482 | t loop | |
483 | s/-\n.*// | |
484 | ' >$as_me.lineno && | |
485 | chmod +x "$as_me.lineno" || | |
486 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | |
487 | ||
488 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have | |
489 | # already done that, so ensure we don't try to do so again and fall | |
490 | # in an infinite loop. This has already happened in practice. | |
491 | _as_can_reexec=no; export _as_can_reexec | |
492 | # Don't try to exec as it changes $[0], causing all sort of problems | |
493 | # (the dirname of $[0] is not the place where we might find the | |
494 | # original and so on. Autoconf is especially sensitive to this). | |
495 | . "./$as_me.lineno" | |
496 | # Exit status is that of the last command. | |
497 | exit | |
498 | } | |
499 | ||
500 | ECHO_C= ECHO_N= ECHO_T= | |
501 | case `echo -n x` in #((((( | |
502 | -n*) | |
503 | case `echo 'xy\c'` in | |
504 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
505 | xy) ECHO_C='\c';; | |
506 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
507 | ECHO_T=' ';; | |
508 | esac;; | |
509 | *) | |
510 | ECHO_N='-n';; | |
511 | esac | |
512 | ||
513 | rm -f conf$$ conf$$.exe conf$$.file | |
514 | if test -d conf$$.dir; then | |
515 | rm -f conf$$.dir/conf$$.file | |
516 | else | |
517 | rm -f conf$$.dir | |
518 | mkdir conf$$.dir 2>/dev/null | |
519 | fi | |
520 | if (echo >conf$$.file) 2>/dev/null; then | |
521 | if ln -s conf$$.file conf$$ 2>/dev/null; then | |
522 | as_ln_s='ln -s' | |
523 | # ... but there are two gotchas: | |
524 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
525 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
526 | # In both cases, we have to default to `cp -pR'. | |
527 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
528 | as_ln_s='cp -pR' | |
529 | elif ln conf$$.file conf$$ 2>/dev/null; then | |
530 | as_ln_s=ln | |
531 | else | |
532 | as_ln_s='cp -pR' | |
533 | fi | |
534 | else | |
535 | as_ln_s='cp -pR' | |
536 | fi | |
537 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
538 | rmdir conf$$.dir 2>/dev/null | |
539 | ||
540 | if mkdir -p . 2>/dev/null; then | |
541 | as_mkdir_p='mkdir -p "$as_dir"' | |
542 | else | |
543 | test -d ./-p && rmdir ./-p | |
544 | as_mkdir_p=false | |
545 | fi | |
546 | ||
547 | as_test_x='test -x' | |
548 | as_executable_p=as_fn_executable_p | |
549 | ||
550 | # Sed expression to map a string onto a valid CPP name. | |
551 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
552 | ||
553 | # Sed expression to map a string onto a valid variable name. | |
554 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
555 | ||
556 | ||
557 | test -n "$DJDIR" || exec 7<&0 </dev/null | |
558 | exec 6>&1 | |
559 | ||
560 | # Name of the host. | |
561 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | |
562 | # so uname gets run too. | |
563 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
564 | ||
565 | # | |
566 | # Initializations. | |
567 | # | |
568 | ac_default_prefix=/usr/local | |
569 | ac_clean_files= | |
570 | ac_config_libobj_dir=. | |
571 | LIBOBJS= | |
572 | cross_compiling=no | |
573 | subdirs= | |
574 | MFLAGS= | |
575 | MAKEFLAGS= | |
576 | ||
577 | # Identity of this package. | |
578 | PACKAGE_NAME= | |
579 | PACKAGE_TARNAME= | |
580 | PACKAGE_VERSION= | |
581 | PACKAGE_STRING= | |
582 | PACKAGE_BUGREPORT= | |
583 | PACKAGE_URL= | |
584 | ||
585 | ac_unique_file="bmsd/bms.c" | |
5
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
2
diff
changeset
|
586 | ac_default_prefix=/var/lib/bms |
0 | 587 | # Factoring default headers for most tests. |
588 | ac_includes_default="\ | |
589 | #include <stdio.h> | |
590 | #ifdef HAVE_SYS_TYPES_H | |
591 | # include <sys/types.h> | |
592 | #endif | |
593 | #ifdef HAVE_SYS_STAT_H | |
594 | # include <sys/stat.h> | |
595 | #endif | |
596 | #ifdef STDC_HEADERS | |
597 | # include <stdlib.h> | |
598 | # include <stddef.h> | |
599 | #else | |
600 | # ifdef HAVE_STDLIB_H | |
601 | # include <stdlib.h> | |
602 | # endif | |
603 | #endif | |
604 | #ifdef HAVE_STRING_H | |
605 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | |
606 | # include <memory.h> | |
607 | # endif | |
608 | # include <string.h> | |
609 | #endif | |
610 | #ifdef HAVE_STRINGS_H | |
611 | # include <strings.h> | |
612 | #endif | |
613 | #ifdef HAVE_INTTYPES_H | |
614 | # include <inttypes.h> | |
615 | #endif | |
616 | #ifdef HAVE_STDINT_H | |
617 | # include <stdint.h> | |
618 | #endif | |
619 | #ifdef HAVE_UNISTD_H | |
620 | # include <unistd.h> | |
621 | #endif" | |
622 | ||
623 | ac_subst_vars='LTLIBOBJS | |
624 | LIBOBJS | |
625 | SDL_LIBS | |
626 | SDL_CFLAGS | |
627 | EGREP | |
628 | GREP | |
629 | CPP | |
630 | TAR | |
631 | INSTALL | |
632 | RANLIB | |
633 | OBJEXT | |
634 | EXEEXT | |
635 | ac_ct_CC | |
636 | CPPFLAGS | |
637 | LDFLAGS | |
638 | CFLAGS | |
639 | CC | |
640 | CYEARS | |
641 | COPYRIGHT | |
642 | VERSION | |
643 | PACKAGE | |
644 | SUBDIRS | |
645 | target_alias | |
646 | host_alias | |
647 | build_alias | |
648 | LIBS | |
649 | ECHO_T | |
650 | ECHO_N | |
651 | ECHO_C | |
652 | DEFS | |
653 | mandir | |
654 | localedir | |
655 | libdir | |
656 | psdir | |
657 | pdfdir | |
658 | dvidir | |
659 | htmldir | |
660 | infodir | |
661 | docdir | |
662 | oldincludedir | |
663 | includedir | |
664 | localstatedir | |
665 | sharedstatedir | |
666 | sysconfdir | |
667 | datadir | |
668 | datarootdir | |
669 | libexecdir | |
670 | sbindir | |
671 | bindir | |
672 | program_transform_name | |
673 | prefix | |
674 | exec_prefix | |
675 | PACKAGE_URL | |
676 | PACKAGE_BUGREPORT | |
677 | PACKAGE_STRING | |
678 | PACKAGE_VERSION | |
679 | PACKAGE_TARNAME | |
680 | PACKAGE_NAME | |
681 | PATH_SEPARATOR | |
682 | SHELL' | |
683 | ac_subst_files='' | |
684 | ac_user_opts=' | |
685 | enable_option_checking | |
686 | enable_debugging | |
687 | ' | |
688 | ac_precious_vars='build_alias | |
689 | host_alias | |
690 | target_alias | |
691 | CC | |
692 | CFLAGS | |
693 | LDFLAGS | |
694 | LIBS | |
695 | CPPFLAGS | |
696 | CPP' | |
697 | ||
698 | ||
699 | # Initialize some variables set by options. | |
700 | ac_init_help= | |
701 | ac_init_version=false | |
702 | ac_unrecognized_opts= | |
703 | ac_unrecognized_sep= | |
704 | # The variables have the same names as the options, with | |
705 | # dashes changed to underlines. | |
706 | cache_file=/dev/null | |
707 | exec_prefix=NONE | |
708 | no_create= | |
709 | no_recursion= | |
710 | prefix=NONE | |
711 | program_prefix=NONE | |
712 | program_suffix=NONE | |
713 | program_transform_name=s,x,x, | |
714 | silent= | |
715 | site= | |
716 | srcdir= | |
717 | verbose= | |
718 | x_includes=NONE | |
719 | x_libraries=NONE | |
720 | ||
721 | # Installation directory options. | |
722 | # These are left unexpanded so users can "make install exec_prefix=/foo" | |
723 | # and all the variables that are supposed to be based on exec_prefix | |
724 | # by default will actually change. | |
725 | # Use braces instead of parens because sh, perl, etc. also accept them. | |
726 | # (The list follows the same order as the GNU Coding Standards.) | |
727 | bindir='${exec_prefix}/bin' | |
728 | sbindir='${exec_prefix}/sbin' | |
729 | libexecdir='${exec_prefix}/libexec' | |
730 | datarootdir='${prefix}/share' | |
731 | datadir='${datarootdir}' | |
732 | sysconfdir='${prefix}/etc' | |
733 | sharedstatedir='${prefix}/com' | |
734 | localstatedir='${prefix}/var' | |
735 | includedir='${prefix}/include' | |
736 | oldincludedir='/usr/include' | |
737 | docdir='${datarootdir}/doc/${PACKAGE}' | |
738 | infodir='${datarootdir}/info' | |
739 | htmldir='${docdir}' | |
740 | dvidir='${docdir}' | |
741 | pdfdir='${docdir}' | |
742 | psdir='${docdir}' | |
743 | libdir='${exec_prefix}/lib' | |
744 | localedir='${datarootdir}/locale' | |
745 | mandir='${datarootdir}/man' | |
746 | ||
747 | ac_prev= | |
748 | ac_dashdash= | |
749 | for ac_option | |
750 | do | |
751 | # If the previous option needs an argument, assign it. | |
752 | if test -n "$ac_prev"; then | |
753 | eval $ac_prev=\$ac_option | |
754 | ac_prev= | |
755 | continue | |
756 | fi | |
757 | ||
758 | case $ac_option in | |
759 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
760 | *=) ac_optarg= ;; | |
761 | *) ac_optarg=yes ;; | |
762 | esac | |
763 | ||
764 | # Accept the important Cygnus configure options, so we can diagnose typos. | |
765 | ||
766 | case $ac_dashdash$ac_option in | |
767 | --) | |
768 | ac_dashdash=yes ;; | |
769 | ||
770 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
771 | ac_prev=bindir ;; | |
772 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
773 | bindir=$ac_optarg ;; | |
774 | ||
775 | -build | --build | --buil | --bui | --bu) | |
776 | ac_prev=build_alias ;; | |
777 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | |
778 | build_alias=$ac_optarg ;; | |
779 | ||
780 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
781 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
782 | ac_prev=cache_file ;; | |
783 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
784 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
785 | cache_file=$ac_optarg ;; | |
786 | ||
787 | --config-cache | -C) | |
788 | cache_file=config.cache ;; | |
789 | ||
790 | -datadir | --datadir | --datadi | --datad) | |
791 | ac_prev=datadir ;; | |
792 | -datadir=* | --datadir=* | --datadi=* | --datad=*) | |
793 | datadir=$ac_optarg ;; | |
794 | ||
795 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | |
796 | | --dataroo | --dataro | --datar) | |
797 | ac_prev=datarootdir ;; | |
798 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
799 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
800 | datarootdir=$ac_optarg ;; | |
801 | ||
802 | -disable-* | --disable-*) | |
803 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | |
804 | # Reject names that are not valid shell variable names. | |
805 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
806 | as_fn_error $? "invalid feature name: $ac_useropt" | |
807 | ac_useropt_orig=$ac_useropt | |
808 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
809 | case $ac_user_opts in | |
810 | *" | |
811 | "enable_$ac_useropt" | |
812 | "*) ;; | |
813 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | |
814 | ac_unrecognized_sep=', ';; | |
815 | esac | |
816 | eval enable_$ac_useropt=no ;; | |
817 | ||
818 | -docdir | --docdir | --docdi | --doc | --do) | |
819 | ac_prev=docdir ;; | |
820 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
821 | docdir=$ac_optarg ;; | |
822 | ||
823 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
824 | ac_prev=dvidir ;; | |
825 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
826 | dvidir=$ac_optarg ;; | |
827 | ||
828 | -enable-* | --enable-*) | |
829 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | |
830 | # Reject names that are not valid shell variable names. | |
831 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
832 | as_fn_error $? "invalid feature name: $ac_useropt" | |
833 | ac_useropt_orig=$ac_useropt | |
834 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
835 | case $ac_user_opts in | |
836 | *" | |
837 | "enable_$ac_useropt" | |
838 | "*) ;; | |
839 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | |
840 | ac_unrecognized_sep=', ';; | |
841 | esac | |
842 | eval enable_$ac_useropt=\$ac_optarg ;; | |
843 | ||
844 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
845 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
846 | | --exec | --exe | --ex) | |
847 | ac_prev=exec_prefix ;; | |
848 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
849 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
850 | | --exec=* | --exe=* | --ex=*) | |
851 | exec_prefix=$ac_optarg ;; | |
852 | ||
853 | -gas | --gas | --ga | --g) | |
854 | # Obsolete; use --with-gas. | |
855 | with_gas=yes ;; | |
856 | ||
857 | -help | --help | --hel | --he | -h) | |
858 | ac_init_help=long ;; | |
859 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
860 | ac_init_help=recursive ;; | |
861 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
862 | ac_init_help=short ;; | |
863 | ||
864 | -host | --host | --hos | --ho) | |
865 | ac_prev=host_alias ;; | |
866 | -host=* | --host=* | --hos=* | --ho=*) | |
867 | host_alias=$ac_optarg ;; | |
868 | ||
869 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | |
870 | ac_prev=htmldir ;; | |
871 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
872 | | --ht=*) | |
873 | htmldir=$ac_optarg ;; | |
874 | ||
875 | -includedir | --includedir | --includedi | --included | --include \ | |
876 | | --includ | --inclu | --incl | --inc) | |
877 | ac_prev=includedir ;; | |
878 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
879 | | --includ=* | --inclu=* | --incl=* | --inc=*) | |
880 | includedir=$ac_optarg ;; | |
881 | ||
882 | -infodir | --infodir | --infodi | --infod | --info | --inf) | |
883 | ac_prev=infodir ;; | |
884 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
885 | infodir=$ac_optarg ;; | |
886 | ||
887 | -libdir | --libdir | --libdi | --libd) | |
888 | ac_prev=libdir ;; | |
889 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
890 | libdir=$ac_optarg ;; | |
891 | ||
892 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
893 | | --libexe | --libex | --libe) | |
894 | ac_prev=libexecdir ;; | |
895 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
896 | | --libexe=* | --libex=* | --libe=*) | |
897 | libexecdir=$ac_optarg ;; | |
898 | ||
899 | -localedir | --localedir | --localedi | --localed | --locale) | |
900 | ac_prev=localedir ;; | |
901 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
902 | localedir=$ac_optarg ;; | |
903 | ||
904 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | |
905 | | --localstate | --localstat | --localsta | --localst | --locals) | |
906 | ac_prev=localstatedir ;; | |
907 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
908 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | |
909 | localstatedir=$ac_optarg ;; | |
910 | ||
911 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
912 | ac_prev=mandir ;; | |
913 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
914 | mandir=$ac_optarg ;; | |
915 | ||
916 | -nfp | --nfp | --nf) | |
917 | # Obsolete; use --without-fp. | |
918 | with_fp=no ;; | |
919 | ||
920 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
921 | | --no-cr | --no-c | -n) | |
922 | no_create=yes ;; | |
923 | ||
924 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
925 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
926 | no_recursion=yes ;; | |
927 | ||
928 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
929 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
930 | | --oldin | --oldi | --old | --ol | --o) | |
931 | ac_prev=oldincludedir ;; | |
932 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
933 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
934 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
935 | oldincludedir=$ac_optarg ;; | |
936 | ||
937 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
938 | ac_prev=prefix ;; | |
939 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
940 | prefix=$ac_optarg ;; | |
941 | ||
942 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
943 | | --program-pre | --program-pr | --program-p) | |
944 | ac_prev=program_prefix ;; | |
945 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
946 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
947 | program_prefix=$ac_optarg ;; | |
948 | ||
949 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
950 | | --program-suf | --program-su | --program-s) | |
951 | ac_prev=program_suffix ;; | |
952 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
953 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
954 | program_suffix=$ac_optarg ;; | |
955 | ||
956 | -program-transform-name | --program-transform-name \ | |
957 | | --program-transform-nam | --program-transform-na \ | |
958 | | --program-transform-n | --program-transform- \ | |
959 | | --program-transform | --program-transfor \ | |
960 | | --program-transfo | --program-transf \ | |
961 | | --program-trans | --program-tran \ | |
962 | | --progr-tra | --program-tr | --program-t) | |
963 | ac_prev=program_transform_name ;; | |
964 | -program-transform-name=* | --program-transform-name=* \ | |
965 | | --program-transform-nam=* | --program-transform-na=* \ | |
966 | | --program-transform-n=* | --program-transform-=* \ | |
967 | | --program-transform=* | --program-transfor=* \ | |
968 | | --program-transfo=* | --program-transf=* \ | |
969 | | --program-trans=* | --program-tran=* \ | |
970 | | --progr-tra=* | --program-tr=* | --program-t=*) | |
971 | program_transform_name=$ac_optarg ;; | |
972 | ||
973 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | |
974 | ac_prev=pdfdir ;; | |
975 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
976 | pdfdir=$ac_optarg ;; | |
977 | ||
978 | -psdir | --psdir | --psdi | --psd | --ps) | |
979 | ac_prev=psdir ;; | |
980 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
981 | psdir=$ac_optarg ;; | |
982 | ||
983 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
984 | | -silent | --silent | --silen | --sile | --sil) | |
985 | silent=yes ;; | |
986 | ||
987 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
988 | ac_prev=sbindir ;; | |
989 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
990 | | --sbi=* | --sb=*) | |
991 | sbindir=$ac_optarg ;; | |
992 | ||
993 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
994 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
995 | | --sharedst | --shareds | --shared | --share | --shar \ | |
996 | | --sha | --sh) | |
997 | ac_prev=sharedstatedir ;; | |
998 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
999 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
1000 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
1001 | | --sha=* | --sh=*) | |
1002 | sharedstatedir=$ac_optarg ;; | |
1003 | ||
1004 | -site | --site | --sit) | |
1005 | ac_prev=site ;; | |
1006 | -site=* | --site=* | --sit=*) | |
1007 | site=$ac_optarg ;; | |
1008 | ||
1009 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
1010 | ac_prev=srcdir ;; | |
1011 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
1012 | srcdir=$ac_optarg ;; | |
1013 | ||
1014 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
1015 | | --syscon | --sysco | --sysc | --sys | --sy) | |
1016 | ac_prev=sysconfdir ;; | |
1017 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
1018 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
1019 | sysconfdir=$ac_optarg ;; | |
1020 | ||
1021 | -target | --target | --targe | --targ | --tar | --ta | --t) | |
1022 | ac_prev=target_alias ;; | |
1023 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | |
1024 | target_alias=$ac_optarg ;; | |
1025 | ||
1026 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
1027 | verbose=yes ;; | |
1028 | ||
1029 | -version | --version | --versio | --versi | --vers | -V) | |
1030 | ac_init_version=: ;; | |
1031 | ||
1032 | -with-* | --with-*) | |
1033 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | |
1034 | # Reject names that are not valid shell variable names. | |
1035 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
1036 | as_fn_error $? "invalid package name: $ac_useropt" | |
1037 | ac_useropt_orig=$ac_useropt | |
1038 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
1039 | case $ac_user_opts in | |
1040 | *" | |
1041 | "with_$ac_useropt" | |
1042 | "*) ;; | |
1043 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | |
1044 | ac_unrecognized_sep=', ';; | |
1045 | esac | |
1046 | eval with_$ac_useropt=\$ac_optarg ;; | |
1047 | ||
1048 | -without-* | --without-*) | |
1049 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | |
1050 | # Reject names that are not valid shell variable names. | |
1051 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
1052 | as_fn_error $? "invalid package name: $ac_useropt" | |
1053 | ac_useropt_orig=$ac_useropt | |
1054 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
1055 | case $ac_user_opts in | |
1056 | *" | |
1057 | "with_$ac_useropt" | |
1058 | "*) ;; | |
1059 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | |
1060 | ac_unrecognized_sep=', ';; | |
1061 | esac | |
1062 | eval with_$ac_useropt=no ;; | |
1063 | ||
1064 | --x) | |
1065 | # Obsolete; use --with-x. | |
1066 | with_x=yes ;; | |
1067 | ||
1068 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
1069 | | --x-incl | --x-inc | --x-in | --x-i) | |
1070 | ac_prev=x_includes ;; | |
1071 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
1072 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
1073 | x_includes=$ac_optarg ;; | |
1074 | ||
1075 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
1076 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
1077 | ac_prev=x_libraries ;; | |
1078 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
1079 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
1080 | x_libraries=$ac_optarg ;; | |
1081 | ||
1082 | -*) as_fn_error $? "unrecognized option: \`$ac_option' | |
1083 | Try \`$0 --help' for more information" | |
1084 | ;; | |
1085 | ||
1086 | *=*) | |
1087 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
1088 | # Reject names that are not valid shell variable names. | |
1089 | case $ac_envvar in #( | |
1090 | '' | [0-9]* | *[!_$as_cr_alnum]* ) | |
1091 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | |
1092 | esac | |
1093 | eval $ac_envvar=\$ac_optarg | |
1094 | export $ac_envvar ;; | |
1095 | ||
1096 | *) | |
1097 | # FIXME: should be removed in autoconf 3.0. | |
1098 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | |
1099 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
1100 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | |
1101 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" | |
1102 | ;; | |
1103 | ||
1104 | esac | |
1105 | done | |
1106 | ||
1107 | if test -n "$ac_prev"; then | |
1108 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | |
1109 | as_fn_error $? "missing argument to $ac_option" | |
1110 | fi | |
1111 | ||
1112 | if test -n "$ac_unrecognized_opts"; then | |
1113 | case $enable_option_checking in | |
1114 | no) ;; | |
1115 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |
1116 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
1117 | esac | |
1118 | fi | |
1119 | ||
1120 | # Check all directory arguments for consistency. | |
1121 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | |
1122 | datadir sysconfdir sharedstatedir localstatedir includedir \ | |
1123 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |
1124 | libdir localedir mandir | |
1125 | do | |
1126 | eval ac_val=\$$ac_var | |
1127 | # Remove trailing slashes. | |
1128 | case $ac_val in | |
1129 | */ ) | |
1130 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | |
1131 | eval $ac_var=\$ac_val;; | |
1132 | esac | |
1133 | # Be sure to have absolute directory names. | |
1134 | case $ac_val in | |
1135 | [\\/$]* | ?:[\\/]* ) continue;; | |
1136 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | |
1137 | esac | |
1138 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | |
1139 | done | |
1140 | ||
1141 | # There might be people who depend on the old broken behavior: `$host' | |
1142 | # used to hold the argument of --host etc. | |
1143 | # FIXME: To remove some day. | |
1144 | build=$build_alias | |
1145 | host=$host_alias | |
1146 | target=$target_alias | |
1147 | ||
1148 | # FIXME: To remove some day. | |
1149 | if test "x$host_alias" != x; then | |
1150 | if test "x$build_alias" = x; then | |
1151 | cross_compiling=maybe | |
1152 | elif test "x$build_alias" != "x$host_alias"; then | |
1153 | cross_compiling=yes | |
1154 | fi | |
1155 | fi | |
1156 | ||
1157 | ac_tool_prefix= | |
1158 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
1159 | ||
1160 | test "$silent" = yes && exec 6>/dev/null | |
1161 | ||
1162 | ||
1163 | ac_pwd=`pwd` && test -n "$ac_pwd" && | |
1164 | ac_ls_di=`ls -di .` && | |
1165 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
1166 | as_fn_error $? "working directory cannot be determined" | |
1167 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | |
1168 | as_fn_error $? "pwd does not report name of working directory" | |
1169 | ||
1170 | ||
1171 | # Find the source files, if location was not specified. | |
1172 | if test -z "$srcdir"; then | |
1173 | ac_srcdir_defaulted=yes | |
1174 | # Try the directory containing this script, then the parent directory. | |
1175 | ac_confdir=`$as_dirname -- "$as_myself" || | |
1176 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
1177 | X"$as_myself" : 'X\(//\)[^/]' \| \ | |
1178 | X"$as_myself" : 'X\(//\)$' \| \ | |
1179 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | |
1180 | $as_echo X"$as_myself" | | |
1181 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
1182 | s//\1/ | |
1183 | q | |
1184 | } | |
1185 | /^X\(\/\/\)[^/].*/{ | |
1186 | s//\1/ | |
1187 | q | |
1188 | } | |
1189 | /^X\(\/\/\)$/{ | |
1190 | s//\1/ | |
1191 | q | |
1192 | } | |
1193 | /^X\(\/\).*/{ | |
1194 | s//\1/ | |
1195 | q | |
1196 | } | |
1197 | s/.*/./; q'` | |
1198 | srcdir=$ac_confdir | |
1199 | if test ! -r "$srcdir/$ac_unique_file"; then | |
1200 | srcdir=.. | |
1201 | fi | |
1202 | else | |
1203 | ac_srcdir_defaulted=no | |
1204 | fi | |
1205 | if test ! -r "$srcdir/$ac_unique_file"; then | |
1206 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | |
1207 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | |
1208 | fi | |
1209 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | |
1210 | ac_abs_confdir=`( | |
1211 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | |
1212 | pwd)` | |
1213 | # When building in place, set srcdir=. | |
1214 | if test "$ac_abs_confdir" = "$ac_pwd"; then | |
1215 | srcdir=. | |
1216 | fi | |
1217 | # Remove unnecessary trailing slashes from srcdir. | |
1218 | # Double slashes in file names in object file debugging info | |
1219 | # mess up M-x gdb in Emacs. | |
1220 | case $srcdir in | |
1221 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | |
1222 | esac | |
1223 | for ac_var in $ac_precious_vars; do | |
1224 | eval ac_env_${ac_var}_set=\${${ac_var}+set} | |
1225 | eval ac_env_${ac_var}_value=\$${ac_var} | |
1226 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | |
1227 | eval ac_cv_env_${ac_var}_value=\$${ac_var} | |
1228 | done | |
1229 | ||
1230 | # | |
1231 | # Report the --help message. | |
1232 | # | |
1233 | if test "$ac_init_help" = "long"; then | |
1234 | # Omit some internal or obsolete options to make the list less imposing. | |
1235 | # This message is too long to be a string in the A/UX 3.1 sh. | |
1236 | cat <<_ACEOF | |
1237 | \`configure' configures this package to adapt to many kinds of systems. | |
1238 | ||
1239 | Usage: $0 [OPTION]... [VAR=VALUE]... | |
1240 | ||
1241 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
1242 | VAR=VALUE. See below for descriptions of some of the useful variables. | |
1243 | ||
1244 | Defaults for the options are specified in brackets. | |
1245 | ||
1246 | Configuration: | |
1247 | -h, --help display this help and exit | |
1248 | --help=short display options specific to this package | |
1249 | --help=recursive display the short help of all the included packages | |
1250 | -V, --version display version information and exit | |
1251 | -q, --quiet, --silent do not print \`checking ...' messages | |
1252 | --cache-file=FILE cache test results in FILE [disabled] | |
1253 | -C, --config-cache alias for \`--cache-file=config.cache' | |
1254 | -n, --no-create do not create output files | |
1255 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
1256 | ||
1257 | Installation directories: | |
1258 | --prefix=PREFIX install architecture-independent files in PREFIX | |
1259 | [$ac_default_prefix] | |
1260 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
1261 | [PREFIX] | |
1262 | ||
1263 | By default, \`make install' will install all the files in | |
1264 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
1265 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
1266 | for instance \`--prefix=\$HOME'. | |
1267 | ||
1268 | For better control, use the options below. | |
1269 | ||
1270 | Fine tuning of the installation directories: | |
1271 | --bindir=DIR user executables [EPREFIX/bin] | |
1272 | --sbindir=DIR system admin executables [EPREFIX/sbin] | |
1273 | --libexecdir=DIR program executables [EPREFIX/libexec] | |
1274 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
1275 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
1276 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
1277 | --libdir=DIR object code libraries [EPREFIX/lib] | |
1278 | --includedir=DIR C header files [PREFIX/include] | |
1279 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
1280 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | |
1281 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | |
1282 | --infodir=DIR info documentation [DATAROOTDIR/info] | |
1283 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
1284 | --mandir=DIR man documentation [DATAROOTDIR/man] | |
1285 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] | |
1286 | --htmldir=DIR html documentation [DOCDIR] | |
1287 | --dvidir=DIR dvi documentation [DOCDIR] | |
1288 | --pdfdir=DIR pdf documentation [DOCDIR] | |
1289 | --psdir=DIR ps documentation [DOCDIR] | |
1290 | _ACEOF | |
1291 | ||
1292 | cat <<\_ACEOF | |
1293 | _ACEOF | |
1294 | fi | |
1295 | ||
1296 | if test -n "$ac_init_help"; then | |
1297 | ||
1298 | cat <<\_ACEOF | |
1299 | ||
1300 | Optional Features: | |
1301 | --disable-option-checking ignore unrecognized --enable/--with options | |
1302 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
1303 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
1304 | --enable-debugging Compile for debugging | |
1305 | ||
1306 | Some influential environment variables: | |
1307 | CC C compiler command | |
1308 | CFLAGS C compiler flags | |
1309 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
1310 | nonstandard directory <lib dir> | |
1311 | LIBS libraries to pass to the linker, e.g. -l<library> | |
1312 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | |
1313 | you have headers in a nonstandard directory <include dir> | |
1314 | CPP C preprocessor | |
1315 | ||
1316 | Use these variables to override the choices made by `configure' or to help | |
1317 | it to find libraries and programs with nonstandard names/locations. | |
1318 | ||
1319 | Report bugs to the package provider. | |
1320 | _ACEOF | |
1321 | ac_status=$? | |
1322 | fi | |
1323 | ||
1324 | if test "$ac_init_help" = "recursive"; then | |
1325 | # If there are subdirs, report their specific --help. | |
1326 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | |
1327 | test -d "$ac_dir" || | |
1328 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
1329 | continue | |
1330 | ac_builddir=. | |
1331 | ||
1332 | case "$ac_dir" in | |
1333 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1334 | *) | |
1335 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
1336 | # A ".." for each directory in $ac_dir_suffix. | |
1337 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
1338 | case $ac_top_builddir_sub in | |
1339 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1340 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
1341 | esac ;; | |
1342 | esac | |
1343 | ac_abs_top_builddir=$ac_pwd | |
1344 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
1345 | # for backward compatibility: | |
1346 | ac_top_builddir=$ac_top_build_prefix | |
1347 | ||
1348 | case $srcdir in | |
1349 | .) # We are building in place. | |
1350 | ac_srcdir=. | |
1351 | ac_top_srcdir=$ac_top_builddir_sub | |
1352 | ac_abs_top_srcdir=$ac_pwd ;; | |
1353 | [\\/]* | ?:[\\/]* ) # Absolute name. | |
1354 | ac_srcdir=$srcdir$ac_dir_suffix; | |
1355 | ac_top_srcdir=$srcdir | |
1356 | ac_abs_top_srcdir=$srcdir ;; | |
1357 | *) # Relative name. | |
1358 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
1359 | ac_top_srcdir=$ac_top_build_prefix$srcdir | |
1360 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
1361 | esac | |
1362 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
1363 | ||
1364 | cd "$ac_dir" || { ac_status=$?; continue; } | |
1365 | # Check for guested configure. | |
1366 | if test -f "$ac_srcdir/configure.gnu"; then | |
1367 | echo && | |
1368 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive | |
1369 | elif test -f "$ac_srcdir/configure"; then | |
1370 | echo && | |
1371 | $SHELL "$ac_srcdir/configure" --help=recursive | |
1372 | else | |
1373 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
1374 | fi || ac_status=$? | |
1375 | cd "$ac_pwd" || { ac_status=$?; break; } | |
1376 | done | |
1377 | fi | |
1378 | ||
1379 | test -n "$ac_init_help" && exit $ac_status | |
1380 | if $ac_init_version; then | |
1381 | cat <<\_ACEOF | |
1382 | configure | |
1383 | generated by GNU Autoconf 2.69 | |
1384 | ||
1385 | Copyright (C) 2012 Free Software Foundation, Inc. | |
1386 | This configure script is free software; the Free Software Foundation | |
1387 | gives unlimited permission to copy, distribute and modify it. | |
1388 | _ACEOF | |
1389 | exit | |
1390 | fi | |
1391 | ||
1392 | ## ------------------------ ## | |
1393 | ## Autoconf initialization. ## | |
1394 | ## ------------------------ ## | |
1395 | ||
1396 | # ac_fn_c_try_compile LINENO | |
1397 | # -------------------------- | |
1398 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
1399 | ac_fn_c_try_compile () | |
1400 | { | |
1401 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1402 | rm -f conftest.$ac_objext | |
1403 | if { { ac_try="$ac_compile" | |
1404 | case "(($ac_try" in | |
1405 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1406 | *) ac_try_echo=$ac_try;; | |
1407 | esac | |
1408 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1409 | $as_echo "$ac_try_echo"; } >&5 | |
1410 | (eval "$ac_compile") 2>conftest.err | |
1411 | ac_status=$? | |
1412 | if test -s conftest.err; then | |
1413 | grep -v '^ *+' conftest.err >conftest.er1 | |
1414 | cat conftest.er1 >&5 | |
1415 | mv -f conftest.er1 conftest.err | |
1416 | fi | |
1417 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1418 | test $ac_status = 0; } && { | |
1419 | test -z "$ac_c_werror_flag" || | |
1420 | test ! -s conftest.err | |
1421 | } && test -s conftest.$ac_objext; then : | |
1422 | ac_retval=0 | |
1423 | else | |
1424 | $as_echo "$as_me: failed program was:" >&5 | |
1425 | sed 's/^/| /' conftest.$ac_ext >&5 | |
1426 | ||
1427 | ac_retval=1 | |
1428 | fi | |
1429 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1430 | as_fn_set_status $ac_retval | |
1431 | ||
1432 | } # ac_fn_c_try_compile | |
1433 | ||
1434 | # ac_fn_c_try_link LINENO | |
1435 | # ----------------------- | |
1436 | # Try to link conftest.$ac_ext, and return whether this succeeded. | |
1437 | ac_fn_c_try_link () | |
1438 | { | |
1439 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1440 | rm -f conftest.$ac_objext conftest$ac_exeext | |
1441 | if { { ac_try="$ac_link" | |
1442 | case "(($ac_try" in | |
1443 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1444 | *) ac_try_echo=$ac_try;; | |
1445 | esac | |
1446 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1447 | $as_echo "$ac_try_echo"; } >&5 | |
1448 | (eval "$ac_link") 2>conftest.err | |
1449 | ac_status=$? | |
1450 | if test -s conftest.err; then | |
1451 | grep -v '^ *+' conftest.err >conftest.er1 | |
1452 | cat conftest.er1 >&5 | |
1453 | mv -f conftest.er1 conftest.err | |
1454 | fi | |
1455 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1456 | test $ac_status = 0; } && { | |
1457 | test -z "$ac_c_werror_flag" || | |
1458 | test ! -s conftest.err | |
1459 | } && test -s conftest$ac_exeext && { | |
1460 | test "$cross_compiling" = yes || | |
1461 | test -x conftest$ac_exeext | |
1462 | }; then : | |
1463 | ac_retval=0 | |
1464 | else | |
1465 | $as_echo "$as_me: failed program was:" >&5 | |
1466 | sed 's/^/| /' conftest.$ac_ext >&5 | |
1467 | ||
1468 | ac_retval=1 | |
1469 | fi | |
1470 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
1471 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
1472 | # interfere with the next link command; also delete a directory that is | |
1473 | # left behind by Apple's compiler. We do this before executing the actions. | |
1474 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1475 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1476 | as_fn_set_status $ac_retval | |
1477 | ||
1478 | } # ac_fn_c_try_link | |
1479 | ||
1480 | # ac_fn_c_try_cpp LINENO | |
1481 | # ---------------------- | |
1482 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | |
1483 | ac_fn_c_try_cpp () | |
1484 | { | |
1485 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1486 | if { { ac_try="$ac_cpp conftest.$ac_ext" | |
1487 | case "(($ac_try" in | |
1488 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1489 | *) ac_try_echo=$ac_try;; | |
1490 | esac | |
1491 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1492 | $as_echo "$ac_try_echo"; } >&5 | |
1493 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | |
1494 | ac_status=$? | |
1495 | if test -s conftest.err; then | |
1496 | grep -v '^ *+' conftest.err >conftest.er1 | |
1497 | cat conftest.er1 >&5 | |
1498 | mv -f conftest.er1 conftest.err | |
1499 | fi | |
1500 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1501 | test $ac_status = 0; } > conftest.i && { | |
1502 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
1503 | test ! -s conftest.err | |
1504 | }; then : | |
1505 | ac_retval=0 | |
1506 | else | |
1507 | $as_echo "$as_me: failed program was:" >&5 | |
1508 | sed 's/^/| /' conftest.$ac_ext >&5 | |
1509 | ||
1510 | ac_retval=1 | |
1511 | fi | |
1512 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1513 | as_fn_set_status $ac_retval | |
1514 | ||
1515 | } # ac_fn_c_try_cpp | |
1516 | ||
1517 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | |
1518 | # ------------------------------------------------------- | |
1519 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using | |
1520 | # the include files in INCLUDES and setting the cache variable VAR | |
1521 | # accordingly. | |
1522 | ac_fn_c_check_header_mongrel () | |
1523 | { | |
1524 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1525 | if eval \${$3+:} false; then : | |
1526 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1527 | $as_echo_n "checking for $2... " >&6; } | |
1528 | if eval \${$3+:} false; then : | |
1529 | $as_echo_n "(cached) " >&6 | |
1530 | fi | |
1531 | eval ac_res=\$$3 | |
1532 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1533 | $as_echo "$ac_res" >&6; } | |
1534 | else | |
1535 | # Is the header compilable? | |
1536 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | |
1537 | $as_echo_n "checking $2 usability... " >&6; } | |
1538 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1539 | /* end confdefs.h. */ | |
1540 | $4 | |
1541 | #include <$2> | |
1542 | _ACEOF | |
1543 | if ac_fn_c_try_compile "$LINENO"; then : | |
1544 | ac_header_compiler=yes | |
1545 | else | |
1546 | ac_header_compiler=no | |
1547 | fi | |
1548 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1549 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | |
1550 | $as_echo "$ac_header_compiler" >&6; } | |
1551 | ||
1552 | # Is the header present? | |
1553 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | |
1554 | $as_echo_n "checking $2 presence... " >&6; } | |
1555 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1556 | /* end confdefs.h. */ | |
1557 | #include <$2> | |
1558 | _ACEOF | |
1559 | if ac_fn_c_try_cpp "$LINENO"; then : | |
1560 | ac_header_preproc=yes | |
1561 | else | |
1562 | ac_header_preproc=no | |
1563 | fi | |
1564 | rm -f conftest.err conftest.i conftest.$ac_ext | |
1565 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | |
1566 | $as_echo "$ac_header_preproc" >&6; } | |
1567 | ||
1568 | # So? What about this header? | |
1569 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | |
1570 | yes:no: ) | |
1571 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | |
1572 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
1573 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1574 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1575 | ;; | |
1576 | no:yes:* ) | |
1577 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | |
1578 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | |
1579 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | |
1580 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | |
1581 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | |
1582 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | |
1583 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | |
1584 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | |
1585 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1586 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1587 | ;; | |
1588 | esac | |
1589 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1590 | $as_echo_n "checking for $2... " >&6; } | |
1591 | if eval \${$3+:} false; then : | |
1592 | $as_echo_n "(cached) " >&6 | |
1593 | else | |
1594 | eval "$3=\$ac_header_compiler" | |
1595 | fi | |
1596 | eval ac_res=\$$3 | |
1597 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1598 | $as_echo "$ac_res" >&6; } | |
1599 | fi | |
1600 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1601 | ||
1602 | } # ac_fn_c_check_header_mongrel | |
1603 | ||
1604 | # ac_fn_c_try_run LINENO | |
1605 | # ---------------------- | |
1606 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | |