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