Debian Codegraph @

seq_test/configure

raw symbols SCIP
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for seqlibtest 1.0.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176 esac
177 fi
178 "
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
206 fi
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 do
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
218 /*)
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
227 fi
228 fi
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
238
239
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
260 fi
261
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell [email protected] and
270 $0: [email protected] about your system, including
271 $0: any error possibly output before this message. Then
272 $0: install a modern shell, or manually run the script
273 $0: under such a shell if you do have one."
274 fi
275 exit 1
276 fi
277 fi
278 fi
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
284
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
292 {
293 { eval $1=; unset $1;}
294 }
295 as_unset=as_fn_unset
296
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
301 {
302 return $1
303 } # as_fn_set_status
304
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
309 {
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
314
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
319 {
320
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
344 q
345 }
346 /^X\(\/\/\)$/{
347 s//\1/
348 q
349 }
350 /^X\(\/\).*/{
351 s//\1/
352 q
353 }
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359
360
361 } # as_fn_mkdir_p
362
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
367 {
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
378 {
379 eval $1+=\$2
380 }'
381 else
382 as_fn_append ()
383 {
384 eval $1=\$$1\$2
385 }
386 fi # as_fn_append
387
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
395 {
396 as_val=$(( $* ))
397 }'
398 else
399 as_fn_arith ()
400 {
401 as_val=`expr "$@" || test $? -eq 1`
402 }
403 fi # as_fn_arith
404
405
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
412 {
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 fi
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
421
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
427 fi
428
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
433 fi
434
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
439 fi
440
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
448 q
449 }
450 /^X\/\(\/\/\)$/{
451 s//\1/
452 q
453 }
454 /^X\/\(\/\).*/{
455 s//\1/
456 q
457 }
458 s/.*/./; q'`
459
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
466
467
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
474 p
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
480 b
481 :lineno
482 N
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
501 }
502
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
512 *)
513 ECHO_N='-n';;
514 esac
515
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
522 fi
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
536 fi
537 else
538 as_ln_s='cp -pR'
539 fi
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
542
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
548 fi
549
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
552
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
562
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
568 #
569 # Initializations.
570 #
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
579
580 # Identity of this package.
581 PACKAGE_NAME='seqlibtest'
582 PACKAGE_TARNAME='seqlibtest'
583 PACKAGE_VERSION='1.0'
584 PACKAGE_STRING='seqlibtest 1.0'
585 PACKAGE_BUGREPORT='[email protected]'
586 PACKAGE_URL=''
587
588 ac_unique_file="seq_test.cpp"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
624
625 ac_subst_vars='am__EXEEXT_FALSE
626 am__EXEEXT_TRUE
627 LTLIBOBJS
628 LIBOBJS
629 AM_CXXFLAGS
630 boost_lib
631 EGREP
632 GREP
633 CXXCPP
634 RANLIB
635 am__fastdepCC_FALSE
636 am__fastdepCC_TRUE
637 CCDEPMODE
638 ac_ct_CC
639 CFLAGS
640 CC
641 am__fastdepCXX_FALSE
642 am__fastdepCXX_TRUE
643 CXXDEPMODE
644 am__nodep
645 AMDEPBACKSLASH
646 AMDEP_FALSE
647 AMDEP_TRUE
648 am__include
649 DEPDIR
650 OBJEXT
651 EXEEXT
652 ac_ct_CXX
653 CPPFLAGS
654 LDFLAGS
655 CXXFLAGS
656 CXX
657 MAINT
658 MAINTAINER_MODE_FALSE
659 MAINTAINER_MODE_TRUE
660 AM_BACKSLASH
661 AM_DEFAULT_VERBOSITY
662 AM_DEFAULT_V
663 AM_V
664 am__untar
665 am__tar
666 AMTAR
667 am__leading_dot
668 SET_MAKE
669 AWK
670 mkdir_p
671 MKDIR_P
672 INSTALL_STRIP_PROGRAM
673 STRIP
674 install_sh
675 MAKEINFO
676 AUTOHEADER
677 AUTOMAKE
678 AUTOCONF
679 ACLOCAL
680 VERSION
681 PACKAGE
682 CYGPATH_W
683 am__isrc
684 INSTALL_DATA
685 INSTALL_SCRIPT
686 INSTALL_PROGRAM
687 target_alias
688 host_alias
689 build_alias
690 LIBS
691 ECHO_T
692 ECHO_N
693 ECHO_C
694 DEFS
695 mandir
696 localedir
697 libdir
698 psdir
699 pdfdir
700 dvidir
701 htmldir
702 infodir
703 docdir
704 oldincludedir
705 includedir
706 runstatedir
707 localstatedir
708 sharedstatedir
709 sysconfdir
710 datadir
711 datarootdir
712 libexecdir
713 sbindir
714 bindir
715 program_transform_name
716 prefix
717 exec_prefix
718 PACKAGE_URL
719 PACKAGE_BUGREPORT
720 PACKAGE_STRING
721 PACKAGE_VERSION
722 PACKAGE_TARNAME
723 PACKAGE_NAME
724 PATH_SEPARATOR
725 SHELL
726 am__quote'
727 ac_subst_files=''
728 ac_user_opts='
729 enable_option_checking
730 enable_silent_rules
731 enable_maintainer_mode
732 enable_dependency_tracking
733 with_boost
734 enable_development
735 '
736 ac_precious_vars='build_alias
737 host_alias
738 target_alias
739 CXX
740 CXXFLAGS
741 LDFLAGS
742 LIBS
743 CPPFLAGS
744 CCC
745 CC
746 CFLAGS
747 CXXCPP'
748
749
750 # Initialize some variables set by options.
751 ac_init_help=
752 ac_init_version=false
753 ac_unrecognized_opts=
754 ac_unrecognized_sep=
755 # The variables have the same names as the options, with
756 # dashes changed to underlines.
757 cache_file=/dev/null
758 exec_prefix=NONE
759 no_create=
760 no_recursion=
761 prefix=NONE
762 program_prefix=NONE
763 program_suffix=NONE
764 program_transform_name=s,x,x,
765 silent=
766 site=
767 srcdir=
768 verbose=
769 x_includes=NONE
770 x_libraries=NONE
771
772 # Installation directory options.
773 # These are left unexpanded so users can "make install exec_prefix=/foo"
774 # and all the variables that are supposed to be based on exec_prefix
775 # by default will actually change.
776 # Use braces instead of parens because sh, perl, etc. also accept them.
777 # (The list follows the same order as the GNU Coding Standards.)
778 bindir='${exec_prefix}/bin'
779 sbindir='${exec_prefix}/sbin'
780 libexecdir='${exec_prefix}/libexec'
781 datarootdir='${prefix}/share'
782 datadir='${datarootdir}'
783 sysconfdir='${prefix}/etc'
784 sharedstatedir='${prefix}/com'
785 localstatedir='${prefix}/var'
786 runstatedir='${localstatedir}/run'
787 includedir='${prefix}/include'
788 oldincludedir='/usr/include'
789 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
790 infodir='${datarootdir}/info'
791 htmldir='${docdir}'
792 dvidir='${docdir}'
793 pdfdir='${docdir}'
794 psdir='${docdir}'
795 libdir='${exec_prefix}/lib'
796 localedir='${datarootdir}/locale'
797 mandir='${datarootdir}/man'
798
799 ac_prev=
800 ac_dashdash=
801 for ac_option
802 do
803 # If the previous option needs an argument, assign it.
804 if test -n "$ac_prev"; then
805 eval $ac_prev=\$ac_option
806 ac_prev=
807 continue
808 fi
809
810 case $ac_option in
811 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
812 *=) ac_optarg= ;;
813 *) ac_optarg=yes ;;
814 esac
815
816 # Accept the important Cygnus configure options, so we can diagnose typos.
817
818 case $ac_dashdash$ac_option in
819 --)
820 ac_dashdash=yes ;;
821
822 -bindir | --bindir | --bindi | --bind | --bin | --bi)
823 ac_prev=bindir ;;
824 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
825 bindir=$ac_optarg ;;
826
827 -build | --build | --buil | --bui | --bu)
828 ac_prev=build_alias ;;
829 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
830 build_alias=$ac_optarg ;;
831
832 -cache-file | --cache-file | --cache-fil | --cache-fi \
833 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
834 ac_prev=cache_file ;;
835 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
836 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
837 cache_file=$ac_optarg ;;
838
839 --config-cache | -C)
840 cache_file=config.cache ;;
841
842 -datadir | --datadir | --datadi | --datad)
843 ac_prev=datadir ;;
844 -datadir=* | --datadir=* | --datadi=* | --datad=*)
845 datadir=$ac_optarg ;;
846
847 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
848 | --dataroo | --dataro | --datar)
849 ac_prev=datarootdir ;;
850 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
851 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
852 datarootdir=$ac_optarg ;;
853
854 -disable-* | --disable-*)
855 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
856 # Reject names that are not valid shell variable names.
857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
858 as_fn_error $? "invalid feature name: $ac_useropt"
859 ac_useropt_orig=$ac_useropt
860 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
861 case $ac_user_opts in
862 *"
863 "enable_$ac_useropt"
864 "*) ;;
865 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
866 ac_unrecognized_sep=', ';;
867 esac
868 eval enable_$ac_useropt=no ;;
869
870 -docdir | --docdir | --docdi | --doc | --do)
871 ac_prev=docdir ;;
872 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
873 docdir=$ac_optarg ;;
874
875 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
876 ac_prev=dvidir ;;
877 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
878 dvidir=$ac_optarg ;;
879
880 -enable-* | --enable-*)
881 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
884 as_fn_error $? "invalid feature name: $ac_useropt"
885 ac_useropt_orig=$ac_useropt
886 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887 case $ac_user_opts in
888 *"
889 "enable_$ac_useropt"
890 "*) ;;
891 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
892 ac_unrecognized_sep=', ';;
893 esac
894 eval enable_$ac_useropt=\$ac_optarg ;;
895
896 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
897 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
898 | --exec | --exe | --ex)
899 ac_prev=exec_prefix ;;
900 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
901 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
902 | --exec=* | --exe=* | --ex=*)
903 exec_prefix=$ac_optarg ;;
904
905 -gas | --gas | --ga | --g)
906 # Obsolete; use --with-gas.
907 with_gas=yes ;;
908
909 -help | --help | --hel | --he | -h)
910 ac_init_help=long ;;
911 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
912 ac_init_help=recursive ;;
913 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
914 ac_init_help=short ;;
915
916 -host | --host | --hos | --ho)
917 ac_prev=host_alias ;;
918 -host=* | --host=* | --hos=* | --ho=*)
919 host_alias=$ac_optarg ;;
920
921 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
922 ac_prev=htmldir ;;
923 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
924 | --ht=*)
925 htmldir=$ac_optarg ;;
926
927 -includedir | --includedir | --includedi | --included | --include \
928 | --includ | --inclu | --incl | --inc)
929 ac_prev=includedir ;;
930 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
931 | --includ=* | --inclu=* | --incl=* | --inc=*)
932 includedir=$ac_optarg ;;
933
934 -infodir | --infodir | --infodi | --infod | --info | --inf)
935 ac_prev=infodir ;;
936 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
937 infodir=$ac_optarg ;;
938
939 -libdir | --libdir | --libdi | --libd)
940 ac_prev=libdir ;;
941 -libdir=* | --libdir=* | --libdi=* | --libd=*)
942 libdir=$ac_optarg ;;
943
944 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
945 | --libexe | --libex | --libe)
946 ac_prev=libexecdir ;;
947 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
948 | --libexe=* | --libex=* | --libe=*)
949 libexecdir=$ac_optarg ;;
950
951 -localedir | --localedir | --localedi | --localed | --locale)
952 ac_prev=localedir ;;
953 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
954 localedir=$ac_optarg ;;
955
956 -localstatedir | --localstatedir | --localstatedi | --localstated \
957 | --localstate | --localstat | --localsta | --localst | --locals)
958 ac_prev=localstatedir ;;
959 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
960 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
961 localstatedir=$ac_optarg ;;
962
963 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
964 ac_prev=mandir ;;
965 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
966 mandir=$ac_optarg ;;
967
968 -nfp | --nfp | --nf)
969 # Obsolete; use --without-fp.
970 with_fp=no ;;
971
972 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
973 | --no-cr | --no-c | -n)
974 no_create=yes ;;
975
976 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
977 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
978 no_recursion=yes ;;
979
980 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
981 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
982 | --oldin | --oldi | --old | --ol | --o)
983 ac_prev=oldincludedir ;;
984 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
985 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
986 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
987 oldincludedir=$ac_optarg ;;
988
989 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
990 ac_prev=prefix ;;
991 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
992 prefix=$ac_optarg ;;
993
994 -program-prefix | --program-prefix | --program-prefi | --program-pref \
995 | --program-pre | --program-pr | --program-p)
996 ac_prev=program_prefix ;;
997 -program-prefix=* | --program-prefix=* | --program-prefi=* \
998 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
999 program_prefix=$ac_optarg ;;
1000
1001 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1002 | --program-suf | --program-su | --program-s)
1003 ac_prev=program_suffix ;;
1004 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1005 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1006 program_suffix=$ac_optarg ;;
1007
1008 -program-transform-name | --program-transform-name \
1009 | --program-transform-nam | --program-transform-na \
1010 | --program-transform-n | --program-transform- \
1011 | --program-transform | --program-transfor \
1012 | --program-transfo | --program-transf \
1013 | --program-trans | --program-tran \
1014 | --progr-tra | --program-tr | --program-t)
1015 ac_prev=program_transform_name ;;
1016 -program-transform-name=* | --program-transform-name=* \
1017 | --program-transform-nam=* | --program-transform-na=* \
1018 | --program-transform-n=* | --program-transform-=* \
1019 | --program-transform=* | --program-transfor=* \
1020 | --program-transfo=* | --program-transf=* \
1021 | --program-trans=* | --program-tran=* \
1022 | --progr-tra=* | --program-tr=* | --program-t=*)
1023 program_transform_name=$ac_optarg ;;
1024
1025 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1026 ac_prev=pdfdir ;;
1027 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1028 pdfdir=$ac_optarg ;;
1029
1030 -psdir | --psdir | --psdi | --psd | --ps)
1031 ac_prev=psdir ;;
1032 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1033 psdir=$ac_optarg ;;
1034
1035 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1036 | -silent | --silent | --silen | --sile | --sil)
1037 silent=yes ;;
1038
1039 -runstatedir | --runstatedir | --runstatedi | --runstated \
1040 | --runstate | --runstat | --runsta | --runst | --runs \
1041 | --run | --ru | --r)
1042 ac_prev=runstatedir ;;
1043 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1044 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1045 | --run=* | --ru=* | --r=*)
1046 runstatedir=$ac_optarg ;;
1047
1048 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1049 ac_prev=sbindir ;;
1050 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1051 | --sbi=* | --sb=*)
1052 sbindir=$ac_optarg ;;
1053
1054 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1055 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1056 | --sharedst | --shareds | --shared | --share | --shar \
1057 | --sha | --sh)
1058 ac_prev=sharedstatedir ;;
1059 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1060 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1061 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1062 | --sha=* | --sh=*)
1063 sharedstatedir=$ac_optarg ;;
1064
1065 -site | --site | --sit)
1066 ac_prev=site ;;
1067 -site=* | --site=* | --sit=*)
1068 site=$ac_optarg ;;
1069
1070 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1071 ac_prev=srcdir ;;
1072 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1073 srcdir=$ac_optarg ;;
1074
1075 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1076 | --syscon | --sysco | --sysc | --sys | --sy)
1077 ac_prev=sysconfdir ;;
1078 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1079 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1080 sysconfdir=$ac_optarg ;;
1081
1082 -target | --target | --targe | --targ | --tar | --ta | --t)
1083 ac_prev=target_alias ;;
1084 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1085 target_alias=$ac_optarg ;;
1086
1087 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1088 verbose=yes ;;
1089
1090 -version | --version | --versio | --versi | --vers | -V)
1091 ac_init_version=: ;;
1092
1093 -with-* | --with-*)
1094 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1095 # Reject names that are not valid shell variable names.
1096 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1097 as_fn_error $? "invalid package name: $ac_useropt"
1098 ac_useropt_orig=$ac_useropt
1099 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1100 case $ac_user_opts in
1101 *"
1102 "with_$ac_useropt"
1103 "*) ;;
1104 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1105 ac_unrecognized_sep=', ';;
1106 esac
1107 eval with_$ac_useropt=\$ac_optarg ;;
1108
1109 -without-* | --without-*)
1110 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1113 as_fn_error $? "invalid package name: $ac_useropt"
1114 ac_useropt_orig=$ac_useropt
1115 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1116 case $ac_user_opts in
1117 *"
1118 "with_$ac_useropt"
1119 "*) ;;
1120 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1121 ac_unrecognized_sep=', ';;
1122 esac
1123 eval with_$ac_useropt=no ;;
1124
1125 --x)
1126 # Obsolete; use --with-x.
1127 with_x=yes ;;
1128
1129 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1130 | --x-incl | --x-inc | --x-in | --x-i)
1131 ac_prev=x_includes ;;
1132 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1133 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1134 x_includes=$ac_optarg ;;
1135
1136 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1137 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1138 ac_prev=x_libraries ;;
1139 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1140 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1141 x_libraries=$ac_optarg ;;
1142
1143 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1144 Try \`$0 --help' for more information"
1145 ;;
1146
1147 *=*)
1148 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1149 # Reject names that are not valid shell variable names.
1150 case $ac_envvar in #(
1151 '' | [0-9]* | *[!_$as_cr_alnum]* )
1152 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1153 esac
1154 eval $ac_envvar=\$ac_optarg
1155 export $ac_envvar ;;
1156
1157 *)
1158 # FIXME: should be removed in autoconf 3.0.
1159 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1160 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1161 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1162 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1163 ;;
1164
1165 esac
1166 done
1167
1168 if test -n "$ac_prev"; then
1169 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1170 as_fn_error $? "missing argument to $ac_option"
1171 fi
1172
1173 if test -n "$ac_unrecognized_opts"; then
1174 case $enable_option_checking in
1175 no) ;;
1176 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1177 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1178 esac
1179 fi
1180
1181 # Check all directory arguments for consistency.
1182 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1183 datadir sysconfdir sharedstatedir localstatedir includedir \
1184 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1185 libdir localedir mandir runstatedir
1186 do
1187 eval ac_val=\$$ac_var
1188 # Remove trailing slashes.
1189 case $ac_val in
1190 */ )
1191 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1192 eval $ac_var=\$ac_val;;
1193 esac
1194 # Be sure to have absolute directory names.
1195 case $ac_val in
1196 [\\/$]* | ?:[\\/]* ) continue;;
1197 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1198 esac
1199 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1200 done
1201
1202 # There might be people who depend on the old broken behavior: `$host'
1203 # used to hold the argument of --host etc.
1204 # FIXME: To remove some day.
1205 build=$build_alias
1206 host=$host_alias
1207 target=$target_alias
1208
1209 # FIXME: To remove some day.
1210 if test "x$host_alias" != x; then
1211 if test "x$build_alias" = x; then
1212 cross_compiling=maybe
1213 elif test "x$build_alias" != "x$host_alias"; then
1214 cross_compiling=yes
1215 fi
1216 fi
1217
1218 ac_tool_prefix=
1219 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1220
1221 test "$silent" = yes && exec 6>/dev/null
1222
1223
1224 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1225 ac_ls_di=`ls -di .` &&
1226 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1227 as_fn_error $? "working directory cannot be determined"
1228 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1229 as_fn_error $? "pwd does not report name of working directory"
1230
1231
1232 # Find the source files, if location was not specified.
1233 if test -z "$srcdir"; then
1234 ac_srcdir_defaulted=yes
1235 # Try the directory containing this script, then the parent directory.
1236 ac_confdir=`$as_dirname -- "$as_myself" ||
1237 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1238 X"$as_myself" : 'X\(//\)[^/]' \| \
1239 X"$as_myself" : 'X\(//\)$' \| \
1240 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1241 $as_echo X"$as_myself" |
1242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1243 s//\1/
1244 q
1245 }
1246 /^X\(\/\/\)[^/].*/{
1247 s//\1/
1248 q
1249 }
1250 /^X\(\/\/\)$/{
1251 s//\1/
1252 q
1253 }
1254 /^X\(\/\).*/{
1255 s//\1/
1256 q
1257 }
1258 s/.*/./; q'`
1259 srcdir=$ac_confdir
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1261 srcdir=..
1262 fi
1263 else
1264 ac_srcdir_defaulted=no
1265 fi
1266 if test ! -r "$srcdir/$ac_unique_file"; then
1267 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1268 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1269 fi
1270 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1271 ac_abs_confdir=`(
1272 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1273 pwd)`
1274 # When building in place, set srcdir=.
1275 if test "$ac_abs_confdir" = "$ac_pwd"; then
1276 srcdir=.
1277 fi
1278 # Remove unnecessary trailing slashes from srcdir.
1279 # Double slashes in file names in object file debugging info
1280 # mess up M-x gdb in Emacs.
1281 case $srcdir in
1282 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1283 esac
1284 for ac_var in $ac_precious_vars; do
1285 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_env_${ac_var}_value=\$${ac_var}
1287 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1288 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1289 done
1290
1291 #
1292 # Report the --help message.
1293 #
1294 if test "$ac_init_help" = "long"; then
1295 # Omit some internal or obsolete options to make the list less imposing.
1296 # This message is too long to be a string in the A/UX 3.1 sh.
1297 cat <<_ACEOF
1298 \`configure' configures seqlibtest 1.0 to adapt to many kinds of systems.
1299
1300 Usage: $0 [OPTION]... [VAR=VALUE]...
1301
1302 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1303 VAR=VALUE. See below for descriptions of some of the useful variables.
1304
1305 Defaults for the options are specified in brackets.
1306
1307 Configuration:
1308 -h, --help display this help and exit
1309 --help=short display options specific to this package
1310 --help=recursive display the short help of all the included packages
1311 -V, --version display version information and exit
1312 -q, --quiet, --silent do not print \`checking ...' messages
1313 --cache-file=FILE cache test results in FILE [disabled]
1314 -C, --config-cache alias for \`--cache-file=config.cache'
1315 -n, --no-create do not create output files
1316 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1317
1318 Installation directories:
1319 --prefix=PREFIX install architecture-independent files in PREFIX
1320 [$ac_default_prefix]
1321 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1322 [PREFIX]
1323
1324 By default, \`make install' will install all the files in
1325 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1326 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1327 for instance \`--prefix=\$HOME'.
1328
1329 For better control, use the options below.
1330
1331 Fine tuning of the installation directories:
1332 --bindir=DIR user executables [EPREFIX/bin]
1333 --sbindir=DIR system admin executables [EPREFIX/sbin]
1334 --libexecdir=DIR program executables [EPREFIX/libexec]
1335 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1336 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1337 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1338 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1339 --libdir=DIR object code libraries [EPREFIX/lib]
1340 --includedir=DIR C header files [PREFIX/include]
1341 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1342 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1343 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1344 --infodir=DIR info documentation [DATAROOTDIR/info]
1345 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1346 --mandir=DIR man documentation [DATAROOTDIR/man]
1347 --docdir=DIR documentation root [DATAROOTDIR/doc/seqlibtest]
1348 --htmldir=DIR html documentation [DOCDIR]
1349 --dvidir=DIR dvi documentation [DOCDIR]
1350 --pdfdir=DIR pdf documentation [DOCDIR]
1351 --psdir=DIR ps documentation [DOCDIR]
1352 _ACEOF
1353
1354 cat <<\_ACEOF
1355
1356 Program names:
1357 --program-prefix=PREFIX prepend PREFIX to installed program names
1358 --program-suffix=SUFFIX append SUFFIX to installed program names
1359 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1360 _ACEOF
1361 fi
1362
1363 if test -n "$ac_init_help"; then
1364 case $ac_init_help in
1365 short | recursive ) echo "Configuration of seqlibtest 1.0:";;
1366 esac
1367 cat <<\_ACEOF
1368
1369 Optional Features:
1370 --disable-option-checking ignore unrecognized --enable/--with options
1371 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1372 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1373 --enable-silent-rules less verbose build output (undo: "make V=1")
1374 --disable-silent-rules verbose build output (undo: "make V=0")
1375 --enable-maintainer-mode
1376 enable make rules and dependencies not useful (and
1377 sometimes confusing) to the casual installer
1378 --enable-dependency-tracking
1379 do not reject slow dependency extractors
1380 --disable-dependency-tracking
1381 speeds up one-time build
1382 --enable-development Turn on development options, like failing
1383 compilation on warnings
1384
1385 Optional Packages:
1386 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1387 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1388 --with-boost=PATH specify directory containing the boost library)
1389
1390 Some influential environment variables:
1391 CXX C++ compiler command
1392 CXXFLAGS C++ compiler flags
1393 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1394 nonstandard directory <lib dir>
1395 LIBS libraries to pass to the linker, e.g. -l<library>
1396 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1397 you have headers in a nonstandard directory <include dir>
1398 CC C compiler command
1399 CFLAGS C compiler flags
1400 CXXCPP C++ preprocessor
1401
1402 Use these variables to override the choices made by `configure' or to help
1403 it to find libraries and programs with nonstandard names/locations.
1404
1405 Report bugs to <[email protected]>.
1406 _ACEOF
1407 ac_status=$?
1408 fi
1409
1410 if test "$ac_init_help" = "recursive"; then
1411 # If there are subdirs, report their specific --help.
1412 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1413 test -d "$ac_dir" ||
1414 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1415 continue
1416 ac_builddir=.
1417
1418 case "$ac_dir" in
1419 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1420 *)
1421 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1422 # A ".." for each directory in $ac_dir_suffix.
1423 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1424 case $ac_top_builddir_sub in
1425 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1426 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1427 esac ;;
1428 esac
1429 ac_abs_top_builddir=$ac_pwd
1430 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1431 # for backward compatibility:
1432 ac_top_builddir=$ac_top_build_prefix
1433
1434 case $srcdir in
1435 .) # We are building in place.
1436 ac_srcdir=.
1437 ac_top_srcdir=$ac_top_builddir_sub
1438 ac_abs_top_srcdir=$ac_pwd ;;
1439 [\\/]* | ?:[\\/]* ) # Absolute name.
1440 ac_srcdir=$srcdir$ac_dir_suffix;
1441 ac_top_srcdir=$srcdir
1442 ac_abs_top_srcdir=$srcdir ;;
1443 *) # Relative name.
1444 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1445 ac_top_srcdir=$ac_top_build_prefix$srcdir
1446 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1447 esac
1448 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1449
1450 cd "$ac_dir" || { ac_status=$?; continue; }
1451 # Check for guested configure.
1452 if test -f "$ac_srcdir/configure.gnu"; then
1453 echo &&
1454 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1455 elif test -f "$ac_srcdir/configure"; then
1456 echo &&
1457 $SHELL "$ac_srcdir/configure" --help=recursive
1458 else
1459 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1460 fi || ac_status=$?
1461 cd "$ac_pwd" || { ac_status=$?; break; }
1462 done
1463 fi
1464
1465 test -n "$ac_init_help" && exit $ac_status
1466 if $ac_init_version; then
1467 cat <<\_ACEOF
1468 seqlibtest configure 1.0
1469 generated by GNU Autoconf 2.69
1470
1471 Copyright (C) 2012 Free Software Foundation, Inc.
1472 This configure script is free software; the Free Software Foundation
1473 gives unlimited permission to copy, distribute and modify it.
1474 _ACEOF
1475 exit
1476 fi
1477
1478 ## ------------------------ ##
1479 ## Autoconf initialization. ##
1480 ## ------------------------ ##
1481
1482 # ac_fn_cxx_try_compile LINENO
1483 # ----------------------------
1484 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1485 ac_fn_cxx_try_compile ()
1486 {
1487 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1488 rm -f conftest.$ac_objext
1489 if { { ac_try="$ac_compile"
1490 case "(($ac_try" in
1491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1492 *) ac_try_echo=$ac_try;;
1493 esac
1494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1495 $as_echo "$ac_try_echo"; } >&5
1496 (eval "$ac_compile") 2>conftest.err
1497 ac_status=$?
1498 if test -s conftest.err; then
1499 grep -v '^ *+' conftest.err >conftest.er1
1500 cat conftest.er1 >&5
1501 mv -f conftest.er1 conftest.err
1502 fi
1503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1504 test $ac_status = 0; } && {
1505 test -z "$ac_cxx_werror_flag" ||
1506 test ! -s conftest.err
1507 } && test -s conftest.$ac_objext; then :
1508 ac_retval=0
1509 else
1510 $as_echo "$as_me: failed program was:" >&5
1511 sed 's/^/| /' conftest.$ac_ext >&5
1512
1513 ac_retval=1
1514 fi
1515 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1516 as_fn_set_status $ac_retval
1517
1518 } # ac_fn_cxx_try_compile
1519
1520 # ac_fn_c_try_compile LINENO
1521 # --------------------------
1522 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1523 ac_fn_c_try_compile ()
1524 {
1525 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1526 rm -f conftest.$ac_objext
1527 if { { ac_try="$ac_compile"
1528 case "(($ac_try" in
1529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1530 *) ac_try_echo=$ac_try;;
1531 esac
1532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1533 $as_echo "$ac_try_echo"; } >&5
1534 (eval "$ac_compile") 2>conftest.err
1535 ac_status=$?
1536 if test -s conftest.err; then
1537 grep -v '^ *+' conftest.err >conftest.er1
1538 cat conftest.er1 >&5
1539 mv -f conftest.er1 conftest.err
1540 fi
1541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1542 test $ac_status = 0; } && {
1543 test -z "$ac_c_werror_flag" ||
1544 test ! -s conftest.err
1545 } && test -s conftest.$ac_objext; then :
1546 ac_retval=0
1547 else
1548 $as_echo "$as_me: failed program was:" >&5
1549 sed 's/^/| /' conftest.$ac_ext >&5
1550
1551 ac_retval=1
1552 fi
1553 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1554 as_fn_set_status $ac_retval
1555
1556 } # ac_fn_c_try_compile
1557
1558 # ac_fn_cxx_try_cpp LINENO
1559 # ------------------------
1560 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1561 ac_fn_cxx_try_cpp ()
1562 {
1563 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1564 if { { ac_try="$ac_cpp conftest.$ac_ext"
1565 case "(($ac_try" in
1566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1567 *) ac_try_echo=$ac_try;;
1568 esac
1569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1570 $as_echo "$ac_try_echo"; } >&5
1571 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1572 ac_status=$?
1573 if test -s conftest.err; then
1574 grep -v '^ *+' conftest.err >conftest.er1
1575 cat conftest.er1 >&5
1576 mv -f conftest.er1 conftest.err
1577 fi
1578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1579 test $ac_status = 0; } > conftest.i && {
1580 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1581 test ! -s conftest.err
1582 }; then :
1583 ac_retval=0
1584 else
1585 $as_echo "$as_me: failed program was:" >&5
1586 sed 's/^/| /' conftest.$ac_ext >&5
1587
1588 ac_retval=1
1589 fi
1590 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1591 as_fn_set_status $ac_retval
1592
1593 } # ac_fn_cxx_try_cpp
1594
1595 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1596 # ---------------------------------------------------------
1597 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1598 # the include files in INCLUDES and setting the cache variable VAR
1599 # accordingly.
1600 ac_fn_cxx_check_header_mongrel ()
1601 {
1602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1603 if eval \${$3+:} false; then :
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1605 $as_echo_n "checking for $2... " >&6; }
1606 if eval \${$3+:} false; then :
1607 $as_echo_n "(cached) " >&6
1608 fi
1609 eval ac_res=\$$3
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1611 $as_echo "$ac_res" >&6; }
1612 else
1613 # Is the header compilable?
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1615 $as_echo_n "checking $2 usability... " >&6; }
1616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1617 /* end confdefs.h. */
1618 $4
1619 #include <$2>
1620 _ACEOF
1621 if ac_fn_cxx_try_compile "$LINENO"; then :
1622 ac_header_compiler=yes
1623 else
1624 ac_header_compiler=no
1625 fi
1626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1628 $as_echo "$ac_header_compiler" >&6; }
1629
1630 # Is the header present?
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1632 $as_echo_n "checking $2 presence... " >&6; }
1633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1634 /* end confdefs.h. */
1635 #include <$2>
1636 _ACEOF
1637 if ac_fn_cxx_try_cpp "$LINENO"; then :
1638 ac_header_preproc=yes
1639 else
1640 ac_header_preproc=no
1641 fi
1642 rm -f conftest.err conftest.i conftest.$ac_ext
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1644 $as_echo "$ac_header_preproc" >&6; }
1645
1646 # So? What about this header?
1647 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1648 yes:no: )
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1650 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1652 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1653 ;;
1654 no:yes:* )
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1656 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1658 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1660 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1662 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1664 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1665 ( $as_echo "## -------------------------------------- ##
1666 ## Report this to [email protected] ##
1667 ## -------------------------------------- ##"
1668 ) | sed "s/^/$as_me: WARNING: /" >&2
1669 ;;
1670 esac
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1672 $as_echo_n "checking for $2... " >&6; }
1673 if eval \${$3+:} false; then :
1674 $as_echo_n "(cached) " >&6
1675 else
1676 eval "$3=\$ac_header_compiler"
1677 fi
1678 eval ac_res=\$$3
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1680 $as_echo "$ac_res" >&6; }
1681 fi
1682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683
1684 } # ac_fn_cxx_check_header_mongrel
1685
1686 # ac_fn_cxx_try_run LINENO
1687 # ------------------------
1688 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1689 # that executables *can* be run.
1690 ac_fn_cxx_try_run ()
1691 {
1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693 if { { ac_try="$ac_link"
1694 case "(($ac_try" in
1695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1696 *) ac_try_echo=$ac_try;;
1697 esac
1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699 $as_echo "$ac_try_echo"; } >&5
1700 (eval "$ac_link") 2>&5
1701 ac_status=$?
1702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1703 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1704 { { case "(($ac_try" in
1705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1706 *) ac_try_echo=$ac_try;;
1707 esac
1708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709 $as_echo "$ac_try_echo"; } >&5
1710 (eval "$ac_try") 2>&5
1711 ac_status=$?
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; }; }; then :
1714 ac_retval=0
1715 else
1716 $as_echo "$as_me: program exited with status $ac_status" >&5
1717 $as_echo "$as_me: failed program was:" >&5
1718 sed 's/^/| /' conftest.$ac_ext >&5
1719
1720 ac_retval=$ac_status
1721 fi
1722 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1723 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1724 as_fn_set_status $ac_retval
1725
1726 } # ac_fn_cxx_try_run
1727
1728 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1729 # ---------------------------------------------------------
1730 # Tests whether HEADER exists and can be compiled using the include files in
1731 # INCLUDES, setting the cache variable VAR accordingly.
1732 ac_fn_cxx_check_header_compile ()
1733 {
1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1736 $as_echo_n "checking for $2... " >&6; }
1737 if eval \${$3+:} false; then :
1738 $as_echo_n "(cached) " >&6
1739 else
1740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1741 /* end confdefs.h. */
1742 $4
1743 #include <$2>
1744 _ACEOF
1745 if ac_fn_cxx_try_compile "$LINENO"; then :
1746 eval "$3=yes"
1747 else
1748 eval "$3=no"
1749 fi
1750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1751 fi
1752 eval ac_res=\$$3
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1754 $as_echo "$ac_res" >&6; }
1755 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1756
1757 } # ac_fn_cxx_check_header_compile
1758
1759 # ac_fn_cxx_try_link LINENO
1760 # -------------------------
1761 # Try to link conftest.$ac_ext, and return whether this succeeded.
1762 ac_fn_cxx_try_link ()
1763 {
1764 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1765 rm -f conftest.$ac_objext conftest$ac_exeext
1766 if { { ac_try="$ac_link"
1767 case "(($ac_try" in
1768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1769 *) ac_try_echo=$ac_try;;
1770 esac
1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1772 $as_echo "$ac_try_echo"; } >&5
1773 (eval "$ac_link") 2>conftest.err
1774 ac_status=$?
1775 if test -s conftest.err; then
1776 grep -v '^ *+' conftest.err >conftest.er1
1777 cat conftest.er1 >&5
1778 mv -f conftest.er1 conftest.err
1779 fi
1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 test $ac_status = 0; } && {
1782 test -z "$ac_cxx_werror_flag" ||
1783 test ! -s conftest.err
1784 } && test -s conftest$ac_exeext && {
1785 test "$cross_compiling" = yes ||
1786 test -x conftest$ac_exeext
1787 }; then :
1788 ac_retval=0
1789 else
1790 $as_echo "$as_me: failed program was:" >&5
1791 sed 's/^/| /' conftest.$ac_ext >&5
1792
1793 ac_retval=1
1794 fi
1795 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1796 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1797 # interfere with the next link command; also delete a directory that is
1798 # left behind by Apple's compiler. We do this before executing the actions.
1799 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1800 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1801 as_fn_set_status $ac_retval
1802
1803 } # ac_fn_cxx_try_link
1804 cat >config.log <<_ACEOF
1805 This file contains any messages produced by compilers while
1806 running configure, to aid debugging if configure makes a mistake.
1807
1808 It was created by seqlibtest $as_me 1.0, which was
1809 generated by GNU Autoconf 2.69. Invocation command line was
1810
1811 $ $0 $@
1812
1813 _ACEOF
1814 exec 5>>config.log
1815 {
1816 cat <<_ASUNAME
1817 ## --------- ##
1818 ## Platform. ##
1819 ## --------- ##
1820
1821 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1822 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1823 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1824 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1825 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1826
1827 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1828 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1829
1830 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1831 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1832 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1833 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1834 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1835 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1836 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1837
1838 _ASUNAME
1839
1840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1841 for as_dir in $PATH
1842 do
1843 IFS=$as_save_IFS
1844 test -z "$as_dir" && as_dir=.
1845 $as_echo "PATH: $as_dir"
1846 done
1847 IFS=$as_save_IFS
1848
1849 } >&5
1850
1851 cat >&5 <<_ACEOF
1852
1853
1854 ## ----------- ##
1855 ## Core tests. ##
1856 ## ----------- ##
1857
1858 _ACEOF
1859
1860
1861 # Keep a trace of the command line.
1862 # Strip out --no-create and --no-recursion so they do not pile up.
1863 # Strip out --silent because we don't want to record it for future runs.
1864 # Also quote any args containing shell meta-characters.
1865 # Make two passes to allow for proper duplicate-argument suppression.
1866 ac_configure_args=
1867 ac_configure_args0=
1868 ac_configure_args1=
1869 ac_must_keep_next=false
1870 for ac_pass in 1 2
1871 do
1872 for ac_arg
1873 do
1874 case $ac_arg in
1875 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1876 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1877 | -silent | --silent | --silen | --sile | --sil)
1878 continue ;;
1879 *\'*)
1880 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1881 esac
1882 case $ac_pass in
1883 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1884 2)
1885 as_fn_append ac_configure_args1 " '$ac_arg'"
1886 if test $ac_must_keep_next = true; then
1887 ac_must_keep_next=false # Got value, back to normal.
1888 else
1889 case $ac_arg in
1890 *=* | --config-cache | -C | -disable-* | --disable-* \
1891 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1892 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1893 | -with-* | --with-* | -without-* | --without-* | --x)
1894 case "$ac_configure_args0 " in
1895 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1896 esac
1897 ;;
1898 -* ) ac_must_keep_next=true ;;
1899 esac
1900 fi
1901 as_fn_append ac_configure_args " '$ac_arg'"
1902 ;;
1903 esac
1904 done
1905 done
1906 { ac_configure_args0=; unset ac_configure_args0;}
1907 { ac_configure_args1=; unset ac_configure_args1;}
1908
1909 # When interrupted or exit'd, cleanup temporary files, and complete
1910 # config.log. We remove comments because anyway the quotes in there
1911 # would cause problems or look ugly.
1912 # WARNING: Use '\'' to represent an apostrophe within the trap.
1913 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1914 trap 'exit_status=$?
1915 # Save into config.log some information that might help in debugging.
1916 {
1917 echo
1918
1919 $as_echo "## ---------------- ##
1920 ## Cache variables. ##
1921 ## ---------------- ##"
1922 echo
1923 # The following way of writing the cache mishandles newlines in values,
1924 (
1925 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1926 eval ac_val=\$$ac_var
1927 case $ac_val in #(
1928 *${as_nl}*)
1929 case $ac_var in #(
1930 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1931 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1932 esac
1933 case $ac_var in #(
1934 _ | IFS | as_nl) ;; #(
1935 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1936 *) { eval $ac_var=; unset $ac_var;} ;;
1937 esac ;;
1938 esac
1939 done
1940 (set) 2>&1 |
1941 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1942 *${as_nl}ac_space=\ *)
1943 sed -n \
1944 "s/'\''/'\''\\\\'\'''\''/g;
1945 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1946 ;; #(
1947 *)
1948 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1949 ;;
1950 esac |
1951 sort
1952 )
1953 echo
1954
1955 $as_echo "## ----------------- ##
1956 ## Output variables. ##
1957 ## ----------------- ##"
1958 echo
1959 for ac_var in $ac_subst_vars
1960 do
1961 eval ac_val=\$$ac_var
1962 case $ac_val in
1963 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1964 esac
1965 $as_echo "$ac_var='\''$ac_val'\''"
1966 done | sort
1967 echo
1968
1969 if test -n "$ac_subst_files"; then
1970 $as_echo "## ------------------- ##
1971 ## File substitutions. ##
1972 ## ------------------- ##"
1973 echo
1974 for ac_var in $ac_subst_files
1975 do
1976 eval ac_val=\$$ac_var
1977 case $ac_val in
1978 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1979 esac
1980 $as_echo "$ac_var='\''$ac_val'\''"
1981 done | sort
1982 echo
1983 fi
1984
1985 if test -s confdefs.h; then
1986 $as_echo "## ----------- ##
1987 ## confdefs.h. ##
1988 ## ----------- ##"
1989 echo
1990 cat confdefs.h
1991 echo
1992 fi
1993 test "$ac_signal" != 0 &&
1994 $as_echo "$as_me: caught signal $ac_signal"
1995 $as_echo "$as_me: exit $exit_status"
1996 } >&5
1997 rm -f core *.core core.conftest.* &&
1998 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1999 exit $exit_status
2000 ' 0
2001 for ac_signal in 1 2 13 15; do
2002 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2003 done
2004 ac_signal=0
2005
2006 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2007 rm -f -r conftest* confdefs.h
2008
2009 $as_echo "/* confdefs.h */" > confdefs.h
2010
2011 # Predefined preprocessor variables.
2012
2013 cat >>confdefs.h <<_ACEOF
2014 #define PACKAGE_NAME "$PACKAGE_NAME"
2015 _ACEOF
2016
2017 cat >>confdefs.h <<_ACEOF
2018 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2019 _ACEOF
2020
2021 cat >>confdefs.h <<_ACEOF
2022 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2023 _ACEOF
2024
2025 cat >>confdefs.h <<_ACEOF
2026 #define PACKAGE_STRING "$PACKAGE_STRING"
2027 _ACEOF
2028
2029 cat >>confdefs.h <<_ACEOF
2030 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2031 _ACEOF
2032
2033 cat >>confdefs.h <<_ACEOF
2034 #define PACKAGE_URL "$PACKAGE_URL"
2035 _ACEOF
2036
2037
2038 # Let the site file select an alternate cache file if it wants to.
2039 # Prefer an explicitly selected file to automatically selected ones.
2040 ac_site_file1=NONE
2041 ac_site_file2=NONE
2042 if test -n "$CONFIG_SITE"; then
2043 # We do not want a PATH search for config.site.
2044 case $CONFIG_SITE in #((
2045 -*) ac_site_file1=./$CONFIG_SITE;;
2046 */*) ac_site_file1=$CONFIG_SITE;;
2047 *) ac_site_file1=./$CONFIG_SITE;;
2048 esac
2049 elif test "x$prefix" != xNONE; then
2050 ac_site_file1=$prefix/share/config.site
2051 ac_site_file2=$prefix/etc/config.site
2052 else
2053 ac_site_file1=$ac_default_prefix/share/config.site
2054 ac_site_file2=$ac_default_prefix/etc/config.site
2055 fi
2056 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2057 do
2058 test "x$ac_site_file" = xNONE && continue
2059 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2061 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2062 sed 's/^/| /' "$ac_site_file" >&5
2063 . "$ac_site_file" \
2064 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2066 as_fn_error $? "failed to load site script $ac_site_file
2067 See \`config.log' for more details" "$LINENO" 5; }
2068 fi
2069 done
2070
2071 if test -r "$cache_file"; then
2072 # Some versions of bash will fail to source /dev/null (special files
2073 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2074 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2076 $as_echo "$as_me: loading cache $cache_file" >&6;}
2077 case $cache_file in
2078 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2079 *) . "./$cache_file";;
2080 esac
2081 fi
2082 else
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2084 $as_echo "$as_me: creating cache $cache_file" >&6;}
2085 >$cache_file
2086 fi
2087
2088 # Check that the precious variables saved in the cache have kept the same
2089 # value.
2090 ac_cache_corrupted=false
2091 for ac_var in $ac_precious_vars; do
2092 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2093 eval ac_new_set=\$ac_env_${ac_var}_set
2094 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2095 eval ac_new_val=\$ac_env_${ac_var}_value
2096 case $ac_old_set,$ac_new_set in
2097 set,)
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2099 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2100 ac_cache_corrupted=: ;;
2101 ,set)
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2103 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2104 ac_cache_corrupted=: ;;
2105 ,);;
2106 *)
2107 if test "x$ac_old_val" != "x$ac_new_val"; then
2108 # differences in whitespace do not lead to failure.
2109 ac_old_val_w=`echo x $ac_old_val`
2110 ac_new_val_w=`echo x $ac_new_val`
2111 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2113 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2114 ac_cache_corrupted=:
2115 else
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2117 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2118 eval $ac_var=\$ac_old_val
2119 fi
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2121 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2123 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2124 fi;;
2125 esac
2126 # Pass precious variables to config.status.
2127 if test "$ac_new_set" = set; then
2128 case $ac_new_val in
2129 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2130 *) ac_arg=$ac_var=$ac_new_val ;;
2131 esac
2132 case " $ac_configure_args " in
2133 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2134 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2135 esac
2136 fi
2137 done
2138 if $ac_cache_corrupted; then
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2142 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2143 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2144 fi
2145 ## -------------------- ##
2146 ## Main body of script. ##
2147 ## -------------------- ##
2148
2149 ac_ext=c
2150 ac_cpp='$CPP $CPPFLAGS'
2151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2154
2155
2156 am__api_version='1.16'
2157
2158 ac_aux_dir=
2159 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2160 if test -f "$ac_dir/install-sh"; then
2161 ac_aux_dir=$ac_dir
2162 ac_install_sh="$ac_aux_dir/install-sh -c"
2163 break
2164 elif test -f "$ac_dir/install.sh"; then
2165 ac_aux_dir=$ac_dir
2166 ac_install_sh="$ac_aux_dir/install.sh -c"
2167 break
2168 elif test -f "$ac_dir/shtool"; then
2169 ac_aux_dir=$ac_dir
2170 ac_install_sh="$ac_aux_dir/shtool install -c"
2171 break
2172 fi
2173 done
2174 if test -z "$ac_aux_dir"; then
2175 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2176 fi
2177
2178 # These three variables are undocumented and unsupported,
2179 # and are intended to be withdrawn in a future Autoconf release.
2180 # They can cause serious problems if a builder's source tree is in a directory
2181 # whose full name contains unusual characters.
2182 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2183 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2184 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2185
2186
2187 # Find a good install program. We prefer a C program (faster),
2188 # so one script is as good as another. But avoid the broken or
2189 # incompatible versions:
2190 # SysV /etc/install, /usr/sbin/install
2191 # SunOS /usr/etc/install
2192 # IRIX /sbin/install
2193 # AIX /bin/install
2194 # AmigaOS /C/install, which installs bootblocks on floppy discs
2195 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2196 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2197 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2198 # OS/2's system install, which has a completely different semantic
2199 # ./install, which can be erroneously created by make from ./install.sh.
2200 # Reject install programs that cannot install multiple files.
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2202 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2203 if test -z "$INSTALL"; then
2204 if ${ac_cv_path_install+:} false; then :
2205 $as_echo_n "(cached) " >&6
2206 else
2207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2208 for as_dir in $PATH
2209 do
2210 IFS=$as_save_IFS
2211 test -z "$as_dir" && as_dir=.
2212 # Account for people who put trailing slashes in PATH elements.
2213 case $as_dir/ in #((
2214 ./ | .// | /[cC]/* | \
2215 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2216 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2217 /usr/ucb/* ) ;;
2218 *)
2219 # OSF1 and SCO ODT 3.0 have their own names for install.
2220 # Don't use installbsd from OSF since it installs stuff as root
2221 # by default.
2222 for ac_prog in ginstall scoinst install; do
2223 for ac_exec_ext in '' $ac_executable_extensions; do
2224 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2225 if test $ac_prog = install &&
2226 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2227 # AIX install. It has an incompatible calling convention.
2228 :
2229 elif test $ac_prog = install &&
2230 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2231 # program-specific install script used by HP pwplus--don't use.
2232 :
2233 else
2234 rm -rf conftest.one conftest.two conftest.dir
2235 echo one > conftest.one
2236 echo two > conftest.two
2237 mkdir conftest.dir
2238 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2239 test -s conftest.one && test -s conftest.two &&
2240 test -s conftest.dir/conftest.one &&
2241 test -s conftest.dir/conftest.two
2242 then
2243 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2244 break 3
2245 fi
2246 fi
2247 fi
2248 done
2249 done
2250 ;;
2251 esac
2252
2253 done
2254 IFS=$as_save_IFS
2255
2256 rm -rf conftest.one conftest.two conftest.dir
2257
2258 fi
2259 if test "${ac_cv_path_install+set}" = set; then
2260 INSTALL=$ac_cv_path_install
2261 else
2262 # As a last resort, use the slow shell script. Don't cache a
2263 # value for INSTALL within a source directory, because that will
2264 # break other packages using the cache if that directory is
2265 # removed, or if the value is a relative name.
2266 INSTALL=$ac_install_sh
2267 fi
2268 fi
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2270 $as_echo "$INSTALL" >&6; }
2271
2272 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2273 # It thinks the first close brace ends the variable substitution.
2274 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2275
2276 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2277
2278 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2279
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2281 $as_echo_n "checking whether build environment is sane... " >&6; }
2282 # Reject unsafe characters in $srcdir or the absolute working directory
2283 # name. Accept space and tab only in the latter.
2284 am_lf='
2285 '
2286 case `pwd` in
2287 *[\\\"\#\$\&\'\`$am_lf]*)
2288 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2289 esac
2290 case $srcdir in
2291 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2292 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2293 esac
2294
2295 # Do 'set' in a subshell so we don't clobber the current shell's
2296 # arguments. Must try -L first in case configure is actually a
2297 # symlink; some systems play weird games with the mod time of symlinks
2298 # (eg FreeBSD returns the mod time of the symlink's containing
2299 # directory).
2300 if (
2301 am_has_slept=no
2302 for am_try in 1 2; do
2303 echo "timestamp, slept: $am_has_slept" > conftest.file
2304 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2305 if test "$*" = "X"; then
2306 # -L didn't work.
2307 set X `ls -t "$srcdir/configure" conftest.file`
2308 fi
2309 if test "$*" != "X $srcdir/configure conftest.file" \
2310 && test "$*" != "X conftest.file $srcdir/configure"; then
2311
2312 # If neither matched, then we have a broken ls. This can happen
2313 # if, for instance, CONFIG_SHELL is bash and it inherits a
2314 # broken ls alias from the environment. This has actually
2315 # happened. Such a system could not be considered "sane".
2316 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2317 alias in your environment" "$LINENO" 5
2318 fi
2319 if test "$2" = conftest.file || test $am_try -eq 2; then
2320 break
2321 fi
2322 # Just in case.
2323 sleep 1
2324 am_has_slept=yes
2325 done
2326 test "$2" = conftest.file
2327 )
2328 then
2329 # Ok.
2330 :
2331 else
2332 as_fn_error $? "newly created file is older than distributed files!
2333 Check your system clock" "$LINENO" 5
2334 fi
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2336 $as_echo "yes" >&6; }
2337 # If we didn't sleep, we still need to ensure time stamps of config.status and
2338 # generated files are strictly newer.
2339 am_sleep_pid=
2340 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2341 ( sleep 1 ) &
2342 am_sleep_pid=$!
2343 fi
2344
2345 rm -f conftest.file
2346
2347 test "$program_prefix" != NONE &&
2348 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2349 # Use a double $ so make ignores it.
2350 test "$program_suffix" != NONE &&
2351 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2352 # Double any \ or $.
2353 # By default was `s,x,x', remove it if useless.
2354 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2355 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2356
2357 # Expand $ac_aux_dir to an absolute path.
2358 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2359
2360 if test x"${MISSING+set}" != xset; then
2361 case $am_aux_dir in
2362 *\ * | *\ *)
2363 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2364 *)
2365 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2366 esac
2367 fi
2368 # Use eval to expand $SHELL
2369 if eval "$MISSING --is-lightweight"; then
2370 am_missing_run="$MISSING "
2371 else
2372 am_missing_run=
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2374 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2375 fi
2376
2377 if test x"${install_sh+set}" != xset; then
2378 case $am_aux_dir in
2379 *\ * | *\ *)
2380 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2381 *)
2382 install_sh="\${SHELL} $am_aux_dir/install-sh"
2383 esac
2384 fi
2385
2386 # Installed binaries are usually stripped using 'strip' when the user
2387 # run "make install-strip". However 'strip' might not be the right
2388 # tool to use in cross-compilation environments, therefore Automake
2389 # will honor the 'STRIP' environment variable to overrule this program.
2390 if test "$cross_compiling" != no; then
2391 if test -n "$ac_tool_prefix"; then
2392 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2393 set dummy ${ac_tool_prefix}strip; ac_word=$2
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2395 $as_echo_n "checking for $ac_word... " >&6; }
2396 if ${ac_cv_prog_STRIP+:} false; then :
2397 $as_echo_n "(cached) " >&6
2398 else
2399 if test -n "$STRIP"; then
2400 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2401 else
2402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2403 for as_dir in $PATH
2404 do
2405 IFS=$as_save_IFS
2406 test -z "$as_dir" && as_dir=.
2407 for ac_exec_ext in '' $ac_executable_extensions; do
2408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2409 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2411 break 2
2412 fi
2413 done
2414 done
2415 IFS=$as_save_IFS
2416
2417 fi
2418 fi
2419 STRIP=$ac_cv_prog_STRIP
2420 if test -n "$STRIP"; then
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2422 $as_echo "$STRIP" >&6; }
2423 else
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2425 $as_echo "no" >&6; }
2426 fi
2427
2428
2429 fi
2430 if test -z "$ac_cv_prog_STRIP"; then
2431 ac_ct_STRIP=$STRIP
2432 # Extract the first word of "strip", so it can be a program name with args.
2433 set dummy strip; ac_word=$2
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2435 $as_echo_n "checking for $ac_word... " >&6; }
2436 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2437 $as_echo_n "(cached) " >&6
2438 else
2439 if test -n "$ac_ct_STRIP"; then
2440 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2441 else
2442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2443 for as_dir in $PATH
2444 do
2445 IFS=$as_save_IFS
2446 test -z "$as_dir" && as_dir=.
2447 for ac_exec_ext in '' $ac_executable_extensions; do
2448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2449 ac_cv_prog_ac_ct_STRIP="strip"
2450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 break 2
2452 fi
2453 done
2454 done
2455 IFS=$as_save_IFS
2456
2457 fi
2458 fi
2459 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2460 if test -n "$ac_ct_STRIP"; then
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2462 $as_echo "$ac_ct_STRIP" >&6; }
2463 else
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2465 $as_echo "no" >&6; }
2466 fi
2467
2468 if test "x$ac_ct_STRIP" = x; then
2469 STRIP=":"
2470 else
2471 case $cross_compiling:$ac_tool_warned in
2472 yes:)
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2475 ac_tool_warned=yes ;;
2476 esac
2477 STRIP=$ac_ct_STRIP
2478 fi
2479 else
2480 STRIP="$ac_cv_prog_STRIP"
2481 fi
2482
2483 fi
2484 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2485
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2487 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2488 if test -z "$MKDIR_P"; then
2489 if ${ac_cv_path_mkdir+:} false; then :
2490 $as_echo_n "(cached) " >&6
2491 else
2492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2493 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2494 do
2495 IFS=$as_save_IFS
2496 test -z "$as_dir" && as_dir=.
2497 for ac_prog in mkdir gmkdir; do
2498 for ac_exec_ext in '' $ac_executable_extensions; do
2499 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2500 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2501 'mkdir (GNU coreutils) '* | \
2502 'mkdir (coreutils) '* | \
2503 'mkdir (fileutils) '4.1*)
2504 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2505 break 3;;
2506 esac
2507 done
2508 done
2509 done
2510 IFS=$as_save_IFS
2511
2512 fi
2513
2514 test -d ./--version && rmdir ./--version
2515 if test "${ac_cv_path_mkdir+set}" = set; then
2516 MKDIR_P="$ac_cv_path_mkdir -p"
2517 else
2518 # As a last resort, use the slow shell script. Don't cache a
2519 # value for MKDIR_P within a source directory, because that will
2520 # break other packages using the cache if that directory is
2521 # removed, or if the value is a relative name.
2522 MKDIR_P="$ac_install_sh -d"
2523 fi
2524 fi
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2526 $as_echo "$MKDIR_P" >&6; }
2527
2528 for ac_prog in gawk mawk nawk awk
2529 do
2530 # Extract the first word of "$ac_prog", so it can be a program name with args.
2531 set dummy $ac_prog; ac_word=$2
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2533 $as_echo_n "checking for $ac_word... " >&6; }
2534 if ${ac_cv_prog_AWK+:} false; then :
2535 $as_echo_n "(cached) " >&6
2536 else
2537 if test -n "$AWK"; then
2538 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2539 else
2540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2541 for as_dir in $PATH
2542 do
2543 IFS=$as_save_IFS
2544 test -z "$as_dir" && as_dir=.
2545 for ac_exec_ext in '' $ac_executable_extensions; do
2546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2547 ac_cv_prog_AWK="$ac_prog"
2548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2549 break 2
2550 fi
2551 done
2552 done
2553 IFS=$as_save_IFS
2554
2555 fi
2556 fi
2557 AWK=$ac_cv_prog_AWK
2558 if test -n "$AWK"; then
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2560 $as_echo "$AWK" >&6; }
2561 else
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2563 $as_echo "no" >&6; }
2564 fi
2565
2566
2567 test -n "$AWK" && break
2568 done
2569
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2571 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2572 set x ${MAKE-make}
2573 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2574 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2575 $as_echo_n "(cached) " >&6
2576 else
2577 cat >conftest.make <<\_ACEOF
2578 SHELL = /bin/sh
2579 all:
2580 @echo '@@@%%%=$(MAKE)=@@@%%%'
2581 _ACEOF
2582 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2583 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2584 *@@@%%%=?*=@@@%%%*)
2585 eval ac_cv_prog_make_${ac_make}_set=yes;;
2586 *)
2587 eval ac_cv_prog_make_${ac_make}_set=no;;
2588 esac
2589 rm -f conftest.make
2590 fi
2591 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2593 $as_echo "yes" >&6; }
2594 SET_MAKE=
2595 else
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2597 $as_echo "no" >&6; }
2598 SET_MAKE="MAKE=${MAKE-make}"
2599 fi
2600
2601 rm -rf .tst 2>/dev/null
2602 mkdir .tst 2>/dev/null
2603 if test -d .tst; then
2604 am__leading_dot=.
2605 else
2606 am__leading_dot=_
2607 fi
2608 rmdir .tst 2>/dev/null
2609
2610 # Check whether --enable-silent-rules was given.
2611 if test "${enable_silent_rules+set}" = set; then :
2612 enableval=$enable_silent_rules;
2613 fi
2614
2615 case $enable_silent_rules in # (((
2616 yes) AM_DEFAULT_VERBOSITY=0;;
2617 no) AM_DEFAULT_VERBOSITY=1;;
2618 *) AM_DEFAULT_VERBOSITY=1;;
2619 esac
2620 am_make=${MAKE-make}
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2622 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2623 if ${am_cv_make_support_nested_variables+:} false; then :
2624 $as_echo_n "(cached) " >&6
2625 else
2626 if $as_echo 'TRUE=$(BAR$(V))
2627 BAR0=false
2628 BAR1=true
2629 V=1
2630 am__doit:
2631 @$(TRUE)
2632 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2633 am_cv_make_support_nested_variables=yes
2634 else
2635 am_cv_make_support_nested_variables=no
2636 fi
2637 fi
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2639 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2640 if test $am_cv_make_support_nested_variables = yes; then
2641 AM_V='$(V)'
2642 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2643 else
2644 AM_V=$AM_DEFAULT_VERBOSITY
2645 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2646 fi
2647 AM_BACKSLASH='\'
2648
2649 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2650 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2651 # is not polluted with repeated "-I."
2652 am__isrc=' -I$(srcdir)'
2653 # test to see if srcdir already configured
2654 if test -f $srcdir/config.status; then
2655 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2656 fi
2657 fi
2658
2659 # test whether we have cygpath
2660 if test -z "$CYGPATH_W"; then
2661 if (cygpath --version) >/dev/null 2>/dev/null; then
2662 CYGPATH_W='cygpath -w'
2663 else
2664 CYGPATH_W=echo
2665 fi
2666 fi
2667
2668
2669 # Define the identity of the package.
2670 PACKAGE='seqlibtest'
2671 VERSION='1.0'
2672
2673
2674 cat >>confdefs.h <<_ACEOF
2675 #define PACKAGE "$PACKAGE"
2676 _ACEOF
2677
2678
2679 cat >>confdefs.h <<_ACEOF
2680 #define VERSION "$VERSION"
2681 _ACEOF
2682
2683 # Some tools Automake needs.
2684
2685 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2686
2687
2688 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2689
2690
2691 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2692
2693
2694 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2695
2696
2697 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2698
2699 # For better backward compatibility. To be removed once Automake 1.9.x
2700 # dies out for good. For more background, see:
2701 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2702 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2703 mkdir_p='$(MKDIR_P)'
2704
2705 # We need awk for the "check" target (and possibly the TAP driver). The
2706 # system "awk" is bad on some platforms.
2707 # Always define AMTAR for backward compatibility. Yes, it's still used
2708 # in the wild :-( We should find a proper way to deprecate it ...
2709 AMTAR='$${TAR-tar}'
2710
2711
2712 # We'll loop over all known methods to create a tar archive until one works.
2713 _am_tools='gnutar pax cpio none'
2714
2715 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2716
2717
2718
2719
2720
2721
2722 # POSIX will say in a future version that running "rm -f" with no argument
2723 # is OK; and we want to be able to make that assumption in our Makefile
2724 # recipes. So use an aggressive probe to check that the usage we want is
2725 # actually supported "in the wild" to an acceptable degree.
2726 # See automake bug#10828.
2727 # To make any issue more visible, cause the running configure to be aborted
2728 # by default if the 'rm' program in use doesn't match our expectations; the
2729 # user can still override this though.
2730 if rm -f && rm -fr && rm -rf; then : OK; else
2731 cat >&2 <<'END'
2732 Oops!
2733
2734 Your 'rm' program seems unable to run without file operands specified
2735 on the command line, even when the '-f' option is present. This is contrary
2736 to the behaviour of most rm programs out there, and not conforming with
2737 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2738
2739 Please tell [email protected] about your system, including the value
2740 of your $PATH and any error possibly output before this message. This
2741 can help us improve future automake versions.
2742
2743 END
2744 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2745 echo 'Configuration will proceed anyway, since you have set the' >&2
2746 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2747 echo >&2
2748 else
2749 cat >&2 <<'END'
2750 Aborting the configuration process, to ensure you take notice of the issue.
2751
2752 You can download and install GNU coreutils to get an 'rm' implementation
2753 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2754
2755 If you want to complete the configuration process using your problematic
2756 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2757 to "yes", and re-run configure.
2758
2759 END
2760 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2761 fi
2762 fi
2763
2764
2765 ac_config_headers="$ac_config_headers config.h"
2766
2767
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2769 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2770 # Check whether --enable-maintainer-mode was given.
2771 if test "${enable_maintainer_mode+set}" = set; then :
2772 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2773 else
2774 USE_MAINTAINER_MODE=no
2775 fi
2776
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2778 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2779 if test $USE_MAINTAINER_MODE = yes; then
2780 MAINTAINER_MODE_TRUE=
2781 MAINTAINER_MODE_FALSE='#'
2782 else
2783 MAINTAINER_MODE_TRUE='#'
2784 MAINTAINER_MODE_FALSE=
2785 fi
2786
2787 MAINT=$MAINTAINER_MODE_TRUE
2788
2789
2790 ##m4_include([m4/m4_ax_openmp.m4])
2791
2792 # Checks for programs.
2793 ac_ext=cpp
2794 ac_cpp='$CXXCPP $CPPFLAGS'
2795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2798 if test -z "$CXX"; then
2799 if test -n "$CCC"; then
2800 CXX=$CCC
2801 else
2802 if test -n "$ac_tool_prefix"; then
2803 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2804 do
2805 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2806 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2808 $as_echo_n "checking for $ac_word... " >&6; }
2809 if ${ac_cv_prog_CXX+:} false; then :
2810 $as_echo_n "(cached) " >&6
2811 else
2812 if test -n "$CXX"; then
2813 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2814 else
2815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2816 for as_dir in $PATH
2817 do
2818 IFS=$as_save_IFS
2819 test -z "$as_dir" && as_dir=.
2820 for ac_exec_ext in '' $ac_executable_extensions; do
2821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2822 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2824 break 2
2825 fi
2826 done
2827 done
2828 IFS=$as_save_IFS
2829
2830 fi
2831 fi
2832 CXX=$ac_cv_prog_CXX
2833 if test -n "$CXX"; then
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2835 $as_echo "$CXX" >&6; }
2836 else
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2839 fi
2840
2841
2842 test -n "$CXX" && break
2843 done
2844 fi
2845 if test -z "$CXX"; then
2846 ac_ct_CXX=$CXX
2847 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2848 do
2849 # Extract the first word of "$ac_prog", so it can be a program name with args.
2850 set dummy $ac_prog; ac_word=$2
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2852 $as_echo_n "checking for $ac_word... " >&6; }
2853 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2854 $as_echo_n "(cached) " >&6
2855 else
2856 if test -n "$ac_ct_CXX"; then
2857 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2858 else
2859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2860 for as_dir in $PATH
2861 do
2862 IFS=$as_save_IFS
2863 test -z "$as_dir" && as_dir=.
2864 for ac_exec_ext in '' $ac_executable_extensions; do
2865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2866 ac_cv_prog_ac_ct_CXX="$ac_prog"
2867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2868 break 2
2869 fi
2870 done
2871 done
2872 IFS=$as_save_IFS
2873
2874 fi
2875 fi
2876 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2877 if test -n "$ac_ct_CXX"; then
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2879 $as_echo "$ac_ct_CXX" >&6; }
2880 else
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2882 $as_echo "no" >&6; }
2883 fi
2884
2885
2886 test -n "$ac_ct_CXX" && break
2887 done
2888
2889 if test "x$ac_ct_CXX" = x; then
2890 CXX="g++"
2891 else
2892 case $cross_compiling:$ac_tool_warned in
2893 yes:)
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2896 ac_tool_warned=yes ;;
2897 esac
2898 CXX=$ac_ct_CXX
2899 fi
2900 fi
2901
2902 fi
2903 fi
2904 # Provide some information about the compiler.
2905 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2906 set X $ac_compile
2907 ac_compiler=$2
2908 for ac_option in --version -v -V -qversion; do
2909 { { ac_try="$ac_compiler $ac_option >&5"
2910 case "(($ac_try" in
2911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2912 *) ac_try_echo=$ac_try;;
2913 esac
2914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2915 $as_echo "$ac_try_echo"; } >&5
2916 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2917 ac_status=$?
2918 if test -s conftest.err; then
2919 sed '10a\
2920 ... rest of stderr output deleted ...
2921 10q' conftest.err >conftest.er1
2922 cat conftest.er1 >&5
2923 fi
2924 rm -f conftest.er1 conftest.err
2925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2926 test $ac_status = 0; }
2927 done
2928
2929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2930 /* end confdefs.h. */
2931
2932 int
2933 main ()
2934 {
2935
2936 ;
2937 return 0;
2938 }
2939 _ACEOF
2940 ac_clean_files_save=$ac_clean_files
2941 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2942 # Try to create an executable without -o first, disregard a.out.
2943 # It will help us diagnose broken compilers, and finding out an intuition
2944 # of exeext.
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2946 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2947 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2948
2949 # The possible output files:
2950 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2951
2952 ac_rmfiles=
2953 for ac_file in $ac_files
2954 do
2955 case $ac_file in
2956 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2957 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2958 esac
2959 done
2960 rm -f $ac_rmfiles
2961
2962 if { { ac_try="$ac_link_default"
2963 case "(($ac_try" in
2964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2965 *) ac_try_echo=$ac_try;;
2966 esac
2967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2968 $as_echo "$ac_try_echo"; } >&5
2969 (eval "$ac_link_default") 2>&5
2970 ac_status=$?
2971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2972 test $ac_status = 0; }; then :
2973 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2974 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2975 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2976 # so that the user can short-circuit this test for compilers unknown to
2977 # Autoconf.
2978 for ac_file in $ac_files ''
2979 do
2980 test -f "$ac_file" || continue
2981 case $ac_file in
2982 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2983 ;;
2984 [ab].out )
2985 # We found the default executable, but exeext='' is most
2986 # certainly right.
2987 break;;
2988 *.* )
2989 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2990 then :; else
2991 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2992 fi
2993 # We set ac_cv_exeext here because the later test for it is not
2994 # safe: cross compilers may not add the suffix if given an `-o'
2995 # argument, so we may need to know it at that point already.
2996 # Even if this section looks crufty: it has the advantage of
2997 # actually working.
2998 break;;
2999 * )
3000 break;;
3001 esac
3002 done
3003 test "$ac_cv_exeext" = no && ac_cv_exeext=
3004
3005 else
3006 ac_file=''
3007 fi
3008 if test -z "$ac_file"; then :
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3010 $as_echo "no" >&6; }
3011 $as_echo "$as_me: failed program was:" >&5
3012 sed 's/^/| /' conftest.$ac_ext >&5
3013
3014 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3016 as_fn_error 77 "C++ compiler cannot create executables
3017 See \`config.log' for more details" "$LINENO" 5; }
3018 else
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3020 $as_echo "yes" >&6; }
3021 fi
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3023 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3025 $as_echo "$ac_file" >&6; }
3026 ac_exeext=$ac_cv_exeext
3027
3028 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3029 ac_clean_files=$ac_clean_files_save
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3031 $as_echo_n "checking for suffix of executables... " >&6; }
3032 if { { ac_try="$ac_link"
3033 case "(($ac_try" in
3034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3035 *) ac_try_echo=$ac_try;;
3036 esac
3037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3038 $as_echo "$ac_try_echo"; } >&5
3039 (eval "$ac_link") 2>&5
3040 ac_status=$?
3041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3042 test $ac_status = 0; }; then :
3043 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3044 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3045 # work properly (i.e., refer to `conftest.exe'), while it won't with
3046 # `rm'.
3047 for ac_file in conftest.exe conftest conftest.*; do
3048 test -f "$ac_file" || continue
3049 case $ac_file in
3050 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3051 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3052 break;;
3053 * ) break;;
3054 esac
3055 done
3056 else
3057 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3059 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3060 See \`config.log' for more details" "$LINENO" 5; }
3061 fi
3062 rm -f conftest conftest$ac_cv_exeext
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3064 $as_echo "$ac_cv_exeext" >&6; }
3065
3066 rm -f conftest.$ac_ext
3067 EXEEXT=$ac_cv_exeext
3068 ac_exeext=$EXEEXT
3069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3070 /* end confdefs.h. */
3071 #include <stdio.h>
3072 int
3073 main ()
3074 {
3075 FILE *f = fopen ("conftest.out", "w");
3076 return ferror (f) || fclose (f) != 0;
3077
3078 ;
3079 return 0;
3080 }
3081 _ACEOF
3082 ac_clean_files="$ac_clean_files conftest.out"
3083 # Check that the compiler produces executables we can run. If not, either
3084 # the compiler is broken, or we cross compile.
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3086 $as_echo_n "checking whether we are cross compiling... " >&6; }
3087 if test "$cross_compiling" != yes; then
3088 { { ac_try="$ac_link"
3089 case "(($ac_try" in
3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;;
3092 esac
3093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3094 $as_echo "$ac_try_echo"; } >&5
3095 (eval "$ac_link") 2>&5
3096 ac_status=$?
3097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3098 test $ac_status = 0; }
3099 if { ac_try='./conftest$ac_cv_exeext'
3100 { { case "(($ac_try" in
3101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3102 *) ac_try_echo=$ac_try;;
3103 esac
3104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3105 $as_echo "$ac_try_echo"; } >&5
3106 (eval "$ac_try") 2>&5
3107 ac_status=$?
3108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3109 test $ac_status = 0; }; }; then
3110 cross_compiling=no
3111 else
3112 if test "$cross_compiling" = maybe; then
3113 cross_compiling=yes
3114 else
3115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3117 as_fn_error $? "cannot run C++ compiled programs.
3118 If you meant to cross compile, use \`--host'.
3119 See \`config.log' for more details" "$LINENO" 5; }
3120 fi
3121 fi
3122 fi
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3124 $as_echo "$cross_compiling" >&6; }
3125
3126 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3127 ac_clean_files=$ac_clean_files_save
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3129 $as_echo_n "checking for suffix of object files... " >&6; }
3130 if ${ac_cv_objext+:} false; then :
3131 $as_echo_n "(cached) " >&6
3132 else
3133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3134 /* end confdefs.h. */
3135
3136 int
3137 main ()
3138 {
3139
3140 ;
3141 return 0;
3142 }
3143 _ACEOF
3144 rm -f conftest.o conftest.obj
3145 if { { ac_try="$ac_compile"
3146 case "(($ac_try" in
3147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3148 *) ac_try_echo=$ac_try;;
3149 esac
3150 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3151 $as_echo "$ac_try_echo"; } >&5
3152 (eval "$ac_compile") 2>&5
3153 ac_status=$?
3154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3155 test $ac_status = 0; }; then :
3156 for ac_file in conftest.o conftest.obj conftest.*; do
3157 test -f "$ac_file" || continue;
3158 case $ac_file in
3159 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3160 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3161 break;;
3162 esac
3163 done
3164 else
3165 $as_echo "$as_me: failed program was:" >&5
3166 sed 's/^/| /' conftest.$ac_ext >&5
3167
3168 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3170 as_fn_error $? "cannot compute suffix of object files: cannot compile
3171 See \`config.log' for more details" "$LINENO" 5; }
3172 fi
3173 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3174 fi
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3176 $as_echo "$ac_cv_objext" >&6; }
3177 OBJEXT=$ac_cv_objext
3178 ac_objext=$OBJEXT
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3180 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3181 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3182 $as_echo_n "(cached) " >&6
3183 else
3184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3185 /* end confdefs.h. */
3186
3187 int
3188 main ()
3189 {
3190 #ifndef __GNUC__
3191 choke me
3192 #endif
3193
3194 ;
3195 return 0;
3196 }
3197 _ACEOF
3198 if ac_fn_cxx_try_compile "$LINENO"; then :
3199 ac_compiler_gnu=yes
3200 else
3201 ac_compiler_gnu=no
3202 fi
3203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3204 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3205
3206 fi
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3208 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3209 if test $ac_compiler_gnu = yes; then
3210 GXX=yes
3211 else
3212 GXX=
3213 fi
3214 ac_test_CXXFLAGS=${CXXFLAGS+set}
3215 ac_save_CXXFLAGS=$CXXFLAGS
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3217 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3218 if ${ac_cv_prog_cxx_g+:} false; then :
3219 $as_echo_n "(cached) " >&6
3220 else
3221 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3222 ac_cxx_werror_flag=yes
3223 ac_cv_prog_cxx_g=no
3224 CXXFLAGS="-g"
3225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3226 /* end confdefs.h. */
3227
3228 int
3229 main ()
3230 {
3231
3232 ;
3233 return 0;
3234 }
3235 _ACEOF
3236 if ac_fn_cxx_try_compile "$LINENO"; then :
3237 ac_cv_prog_cxx_g=yes
3238 else
3239 CXXFLAGS=""
3240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3241 /* end confdefs.h. */
3242
3243 int
3244 main ()
3245 {
3246
3247 ;
3248 return 0;
3249 }
3250 _ACEOF
3251 if ac_fn_cxx_try_compile "$LINENO"; then :
3252
3253 else
3254 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3255 CXXFLAGS="-g"
3256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3257 /* end confdefs.h. */
3258
3259 int
3260 main ()
3261 {
3262
3263 ;
3264 return 0;
3265 }
3266 _ACEOF
3267 if ac_fn_cxx_try_compile "$LINENO"; then :
3268 ac_cv_prog_cxx_g=yes
3269 fi
3270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3271 fi
3272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3273 fi
3274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3275 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3276 fi
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3278 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3279 if test "$ac_test_CXXFLAGS" = set; then
3280 CXXFLAGS=$ac_save_CXXFLAGS
3281 elif test $ac_cv_prog_cxx_g = yes; then
3282 if test "$GXX" = yes; then
3283 CXXFLAGS="-g -O2"
3284 else
3285 CXXFLAGS="-g"
3286 fi
3287 else
3288 if test "$GXX" = yes; then
3289 CXXFLAGS="-O2"
3290 else
3291 CXXFLAGS=
3292 fi
3293 fi
3294 ac_ext=c
3295 ac_cpp='$CPP $CPPFLAGS'
3296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3299 DEPDIR="${am__leading_dot}deps"
3300
3301 ac_config_commands="$ac_config_commands depfiles"
3302
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3304 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3305 cat > confinc.mk << 'END'
3306 am__doit:
3307 @echo this is the am__doit target >confinc.out
3308 .PHONY: am__doit
3309 END
3310 am__include="#"
3311 am__quote=
3312 # BSD make does it like this.
3313 echo '.include "confinc.mk" # ignored' > confmf.BSD
3314 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3315 echo 'include confinc.mk # ignored' > confmf.GNU
3316 _am_result=no
3317 for s in GNU BSD; do
3318 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3319 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3320 ac_status=$?
3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322 (exit $ac_status); }
3323 case $?:`cat confinc.out 2>/dev/null` in #(
3324 '0:this is the am__doit target') :
3325 case $s in #(
3326 BSD) :
3327 am__include='.include' am__quote='"' ;; #(
3328 *) :
3329 am__include='include' am__quote='' ;;
3330 esac ;; #(
3331 *) :
3332 ;;
3333 esac
3334 if test "$am__include" != "#"; then
3335 _am_result="yes ($s style)"
3336 break
3337 fi
3338 done
3339 rm -f confinc.* confmf.*
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3341 $as_echo "${_am_result}" >&6; }
3342
3343 # Check whether --enable-dependency-tracking was given.
3344 if test "${enable_dependency_tracking+set}" = set; then :
3345 enableval=$enable_dependency_tracking;
3346 fi
3347
3348 if test "x$enable_dependency_tracking" != xno; then
3349 am_depcomp="$ac_aux_dir/depcomp"
3350 AMDEPBACKSLASH='\'
3351 am__nodep='_no'
3352 fi
3353 if test "x$enable_dependency_tracking" != xno; then
3354 AMDEP_TRUE=
3355 AMDEP_FALSE='#'
3356 else
3357 AMDEP_TRUE='#'
3358 AMDEP_FALSE=
3359 fi
3360
3361
3362
3363 depcc="$CXX" am_compiler_list=
3364
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3366 $as_echo_n "checking dependency style of $depcc... " >&6; }
3367 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3368 $as_echo_n "(cached) " >&6
3369 else
3370 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3371 # We make a subdir and do the tests there. Otherwise we can end up
3372 # making bogus files that we don't know about and never remove. For
3373 # instance it was reported that on HP-UX the gcc test will end up
3374 # making a dummy file named 'D' -- because '-MD' means "put the output
3375 # in D".
3376 rm -rf conftest.dir
3377 mkdir conftest.dir
3378 # Copy depcomp to subdir because otherwise we won't find it if we're
3379 # using a relative directory.
3380 cp "$am_depcomp" conftest.dir
3381 cd conftest.dir
3382 # We will build objects and dependencies in a subdirectory because
3383 # it helps to detect inapplicable dependency modes. For instance
3384 # both Tru64's cc and ICC support -MD to output dependencies as a
3385 # side effect of compilation, but ICC will put the dependencies in
3386 # the current directory while Tru64 will put them in the object
3387 # directory.
3388 mkdir sub
3389
3390 am_cv_CXX_dependencies_compiler_type=none
3391 if test "$am_compiler_list" = ""; then
3392 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3393 fi
3394 am__universal=false
3395 case " $depcc " in #(
3396 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3397 esac
3398
3399 for depmode in $am_compiler_list; do
3400 # Setup a source with many dependencies, because some compilers
3401 # like to wrap large dependency lists on column 80 (with \), and
3402 # we should not choose a depcomp mode which is confused by this.
3403 #
3404 # We need to recreate these files for each test, as the compiler may
3405 # overwrite some of them when testing with obscure command lines.
3406 # This happens at least with the AIX C compiler.
3407 : > sub/conftest.c
3408 for i in 1 2 3 4 5 6; do
3409 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3410 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3411 # Solaris 10 /bin/sh.
3412 echo '/* dummy */' > sub/conftst$i.h
3413 done
3414 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3415
3416 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3417 # mode. It turns out that the SunPro C++ compiler does not properly
3418 # handle '-M -o', and we need to detect this. Also, some Intel
3419 # versions had trouble with output in subdirs.
3420 am__obj=sub/conftest.${OBJEXT-o}
3421 am__minus_obj="-o $am__obj"
3422 case $depmode in
3423 gcc)
3424 # This depmode causes a compiler race in universal mode.
3425 test "$am__universal" = false || continue
3426 ;;
3427 nosideeffect)
3428 # After this tag, mechanisms are not by side-effect, so they'll
3429 # only be used when explicitly requested.
3430 if test "x$enable_dependency_tracking" = xyes; then
3431 continue
3432 else
3433 break
3434 fi
3435 ;;
3436 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3437 # This compiler won't grok '-c -o', but also, the minuso test has
3438 # not run yet. These depmodes are late enough in the game, and
3439 # so weak that their functioning should not be impacted.
3440 am__obj=conftest.${OBJEXT-o}
3441 am__minus_obj=
3442 ;;
3443 none) break ;;
3444 esac
3445 if depmode=$depmode \
3446 source=sub/conftest.c object=$am__obj \
3447 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3448 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3449 >/dev/null 2>conftest.err &&
3450 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3451 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3452 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3453 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3454 # icc doesn't choke on unknown options, it will just issue warnings
3455 # or remarks (even with -Werror). So we grep stderr for any message
3456 # that says an option was ignored or not supported.
3457 # When given -MP, icc 7.0 and 7.1 complain thusly:
3458 # icc: Command line warning: ignoring option '-M'; no argument required
3459 # The diagnosis changed in icc 8.0:
3460 # icc: Command line remark: option '-MP' not supported
3461 if (grep 'ignoring option' conftest.err ||
3462 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3463 am_cv_CXX_dependencies_compiler_type=$depmode
3464 break
3465 fi
3466 fi
3467 done
3468
3469 cd ..
3470 rm -rf conftest.dir
3471 else
3472 am_cv_CXX_dependencies_compiler_type=none
3473 fi
3474
3475 fi
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3477 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3478 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3479
3480 if
3481 test "x$enable_dependency_tracking" != xno \
3482 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3483 am__fastdepCXX_TRUE=
3484 am__fastdepCXX_FALSE='#'
3485 else
3486 am__fastdepCXX_TRUE='#'
3487 am__fastdepCXX_FALSE=
3488 fi
3489
3490 ## test for cpp compiler
3491 ac_ext=c
3492 ac_cpp='$CPP $CPPFLAGS'
3493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3496 if test -n "$ac_tool_prefix"; then
3497 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3498 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3500 $as_echo_n "checking for $ac_word... " >&6; }
3501 if ${ac_cv_prog_CC+:} false; then :
3502 $as_echo_n "(cached) " >&6
3503 else
3504 if test -n "$CC"; then
3505 ac_cv_prog_CC="$CC" # Let the user override the test.
3506 else
3507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3508 for as_dir in $PATH
3509 do
3510 IFS=$as_save_IFS
3511 test -z "$as_dir" && as_dir=.
3512 for ac_exec_ext in '' $ac_executable_extensions; do
3513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3514 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3516 break 2
3517 fi
3518 done
3519 done
3520 IFS=$as_save_IFS
3521
3522 fi
3523 fi
3524 CC=$ac_cv_prog_CC
3525 if test -n "$CC"; then
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3527 $as_echo "$CC" >&6; }
3528 else
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3530 $as_echo "no" >&6; }
3531 fi
3532
3533
3534 fi
3535 if test -z "$ac_cv_prog_CC"; then
3536 ac_ct_CC=$CC
3537 # Extract the first word of "gcc", so it can be a program name with args.
3538 set dummy gcc; ac_word=$2
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3540 $as_echo_n "checking for $ac_word... " >&6; }
3541 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3542 $as_echo_n "(cached) " >&6
3543 else
3544 if test -n "$ac_ct_CC"; then
3545 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3546 else
3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3548 for as_dir in $PATH
3549 do
3550 IFS=$as_save_IFS
3551 test -z "$as_dir" && as_dir=.
3552 for ac_exec_ext in '' $ac_executable_extensions; do
3553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3554 ac_cv_prog_ac_ct_CC="gcc"
3555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3556 break 2
3557 fi
3558 done
3559 done
3560 IFS=$as_save_IFS
3561
3562 fi
3563 fi
3564 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3565 if test -n "$ac_ct_CC"; then
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3567 $as_echo "$ac_ct_CC" >&6; }
3568 else
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3570 $as_echo "no" >&6; }
3571 fi
3572
3573 if test "x$ac_ct_CC" = x; then
3574 CC=""
3575 else
3576 case $cross_compiling:$ac_tool_warned in
3577 yes:)
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3580 ac_tool_warned=yes ;;
3581 esac
3582 CC=$ac_ct_CC
3583 fi
3584 else
3585 CC="$ac_cv_prog_CC"
3586 fi
3587
3588 if test -z "$CC"; then
3589 if test -n "$ac_tool_prefix"; then
3590 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3591 set dummy ${ac_tool_prefix}cc; ac_word=$2
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3593 $as_echo_n "checking for $ac_word... " >&6; }
3594 if ${ac_cv_prog_CC+:} false; then :
3595 $as_echo_n "(cached) " >&6
3596 else
3597 if test -n "$CC"; then
3598 ac_cv_prog_CC="$CC" # Let the user override the test.
3599 else
3600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3601 for as_dir in $PATH
3602 do
3603 IFS=$as_save_IFS
3604 test -z "$as_dir" && as_dir=.
3605 for ac_exec_ext in '' $ac_executable_extensions; do
3606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3607 ac_cv_prog_CC="${ac_tool_prefix}cc"
3608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3609 break 2
3610 fi
3611 done
3612 done
3613 IFS=$as_save_IFS
3614
3615 fi
3616 fi
3617 CC=$ac_cv_prog_CC
3618 if test -n "$CC"; then
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3620 $as_echo "$CC" >&6; }
3621 else
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3623 $as_echo "no" >&6; }
3624 fi
3625
3626
3627 fi
3628 fi
3629 if test -z "$CC"; then
3630 # Extract the first word of "cc", so it can be a program name with args.
3631 set dummy cc; ac_word=$2
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3633 $as_echo_n "checking for $ac_word... " >&6; }
3634 if ${ac_cv_prog_CC+:} false; then :
3635 $as_echo_n "(cached) " >&6
3636 else
3637 if test -n "$CC"; then
3638 ac_cv_prog_CC="$CC" # Let the user override the test.
3639 else
3640 ac_prog_rejected=no
3641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3642 for as_dir in $PATH
3643 do
3644 IFS=$as_save_IFS
3645 test -z "$as_dir" && as_dir=.
3646 for ac_exec_ext in '' $ac_executable_extensions; do
3647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3648 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3649 ac_prog_rejected=yes
3650 continue
3651 fi
3652 ac_cv_prog_CC="cc"
3653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3654 break 2
3655 fi
3656 done
3657 done
3658 IFS=$as_save_IFS
3659
3660 if test $ac_prog_rejected = yes; then
3661 # We found a bogon in the path, so make sure we never use it.
3662 set dummy $ac_cv_prog_CC
3663 shift
3664 if test $# != 0; then
3665 # We chose a different compiler from the bogus one.
3666 # However, it has the same basename, so the bogon will be chosen
3667 # first if we set CC to just the basename; use the full file name.
3668 shift
3669 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3670 fi
3671 fi
3672 fi
3673 fi
3674 CC=$ac_cv_prog_CC
3675 if test -n "$CC"; then
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3677 $as_echo "$CC" >&6; }
3678 else
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3680 $as_echo "no" >&6; }
3681 fi
3682
3683
3684 fi
3685 if test -z "$CC"; then
3686 if test -n "$ac_tool_prefix"; then
3687 for ac_prog in cl.exe
3688 do
3689 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3690 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3692 $as_echo_n "checking for $ac_word... " >&6; }
3693 if ${ac_cv_prog_CC+:} false; then :
3694 $as_echo_n "(cached) " >&6
3695 else
3696 if test -n "$CC"; then
3697 ac_cv_prog_CC="$CC" # Let the user override the test.
3698 else
3699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3700 for as_dir in $PATH
3701 do
3702 IFS=$as_save_IFS
3703 test -z "$as_dir" && as_dir=.
3704 for ac_exec_ext in '' $ac_executable_extensions; do
3705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3706 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3708 break 2
3709 fi
3710 done
3711 done
3712 IFS=$as_save_IFS
3713
3714 fi
3715 fi
3716 CC=$ac_cv_prog_CC
3717 if test -n "$CC"; then
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3719 $as_echo "$CC" >&6; }
3720 else
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3722 $as_echo "no" >&6; }
3723 fi
3724
3725
3726 test -n "$CC" && break
3727 done
3728 fi
3729 if test -z "$CC"; then
3730 ac_ct_CC=$CC
3731 for ac_prog in cl.exe
3732 do
3733 # Extract the first word of "$ac_prog", so it can be a program name with args.
3734 set dummy $ac_prog; ac_word=$2
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3736 $as_echo_n "checking for $ac_word... " >&6; }
3737 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3738 $as_echo_n "(cached) " >&6
3739 else
3740 if test -n "$ac_ct_CC"; then
3741 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3742 else
3743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3744 for as_dir in $PATH
3745 do
3746 IFS=$as_save_IFS
3747 test -z "$as_dir" && as_dir=.
3748 for ac_exec_ext in '' $ac_executable_extensions; do
3749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3750 ac_cv_prog_ac_ct_CC="$ac_prog"
3751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3752 break 2
3753 fi
3754 done
3755 done
3756 IFS=$as_save_IFS
3757
3758 fi
3759 fi
3760 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3761 if test -n "$ac_ct_CC"; then
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3763 $as_echo "$ac_ct_CC" >&6; }
3764 else
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3766 $as_echo "no" >&6; }
3767 fi
3768
3769
3770 test -n "$ac_ct_CC" && break
3771 done
3772
3773 if test "x$ac_ct_CC" = x; then
3774 CC=""
3775 else
3776 case $cross_compiling:$ac_tool_warned in
3777 yes:)
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3780 ac_tool_warned=yes ;;
3781 esac
3782 CC=$ac_ct_CC
3783 fi
3784 fi
3785
3786 fi
3787
3788
3789 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3790 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3791 as_fn_error $? "no acceptable C compiler found in \$PATH
3792 See \`config.log' for more details" "$LINENO" 5; }
3793
3794 # Provide some information about the compiler.
3795 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3796 set X $ac_compile
3797 ac_compiler=$2
3798 for ac_option in --version -v -V -qversion; do
3799 { { ac_try="$ac_compiler $ac_option >&5"
3800 case "(($ac_try" in
3801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3802 *) ac_try_echo=$ac_try;;
3803 esac
3804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3805 $as_echo "$ac_try_echo"; } >&5
3806 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3807 ac_status=$?
3808 if test -s conftest.err; then
3809 sed '10a\
3810 ... rest of stderr output deleted ...
3811 10q' conftest.err >conftest.er1
3812 cat conftest.er1 >&5
3813 fi
3814 rm -f conftest.er1 conftest.err
3815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3816 test $ac_status = 0; }
3817 done
3818
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3820 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3821 if ${ac_cv_c_compiler_gnu+:} false; then :
3822 $as_echo_n "(cached) " >&6
3823 else
3824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3825 /* end confdefs.h. */
3826
3827 int
3828 main ()
3829 {
3830 #ifndef __GNUC__
3831 choke me
3832 #endif
3833
3834 ;
3835 return 0;
3836 }
3837 _ACEOF
3838 if ac_fn_c_try_compile "$LINENO"; then :
3839 ac_compiler_gnu=yes
3840 else
3841 ac_compiler_gnu=no
3842 fi
3843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3844 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3845
3846 fi
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3848 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3849 if test $ac_compiler_gnu = yes; then
3850 GCC=yes
3851 else
3852 GCC=
3853 fi
3854 ac_test_CFLAGS=${CFLAGS+set}
3855 ac_save_CFLAGS=$CFLAGS
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3857 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3858 if ${ac_cv_prog_cc_g+:} false; then :
3859 $as_echo_n "(cached) " >&6
3860 else
3861 ac_save_c_werror_flag=$ac_c_werror_flag
3862 ac_c_werror_flag=yes
3863 ac_cv_prog_cc_g=no
3864 CFLAGS="-g"
3865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3866 /* end confdefs.h. */
3867
3868 int
3869 main ()
3870 {
3871
3872 ;
3873 return 0;
3874 }
3875 _ACEOF
3876 if ac_fn_c_try_compile "$LINENO"; then :
3877 ac_cv_prog_cc_g=yes
3878 else
3879 CFLAGS=""
3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3882
3883 int
3884 main ()
3885 {
3886
3887 ;
3888 return 0;
3889 }
3890 _ACEOF
3891 if ac_fn_c_try_compile "$LINENO"; then :
3892
3893 else
3894 ac_c_werror_flag=$ac_save_c_werror_flag
3895 CFLAGS="-g"
3896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3897 /* end confdefs.h. */
3898
3899 int
3900 main ()
3901 {
3902
3903 ;
3904 return 0;
3905 }
3906 _ACEOF
3907 if ac_fn_c_try_compile "$LINENO"; then :
3908 ac_cv_prog_cc_g=yes
3909 fi
3910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3911 fi
3912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3913 fi
3914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3915 ac_c_werror_flag=$ac_save_c_werror_flag
3916 fi
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3918 $as_echo "$ac_cv_prog_cc_g" >&6; }
3919 if test "$ac_test_CFLAGS" = set; then
3920 CFLAGS=$ac_save_CFLAGS
3921 elif test $ac_cv_prog_cc_g = yes; then
3922 if test "$GCC" = yes; then
3923 CFLAGS="-g -O2"
3924 else
3925 CFLAGS="-g"
3926 fi
3927 else
3928 if test "$GCC" = yes; then
3929 CFLAGS="-O2"
3930 else
3931 CFLAGS=
3932 fi
3933 fi
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3935 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3936 if ${ac_cv_prog_cc_c89+:} false; then :
3937 $as_echo_n "(cached) " >&6
3938 else
3939 ac_cv_prog_cc_c89=no
3940 ac_save_CC=$CC
3941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3942 /* end confdefs.h. */
3943 #include <stdarg.h>
3944 #include <stdio.h>
3945 struct stat;
3946 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3947 struct buf { int x; };
3948 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3949 static char *e (p, i)
3950 char **p;
3951 int i;
3952 {
3953 return p[i];
3954 }
3955 static char *f (char * (*g) (char **, int), char **p, ...)
3956 {
3957 char *s;
3958 va_list v;
3959 va_start (v,p);
3960 s = g (p, va_arg (v,int));
3961 va_end (v);
3962 return s;
3963 }
3964
3965 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3966 function prototypes and stuff, but not '\xHH' hex character constants.
3967 These don't provoke an error unfortunately, instead are silently treated
3968 as 'x'. The following induces an error, until -std is added to get
3969 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3970 array size at least. It's necessary to write '\x00'==0 to get something
3971 that's true only with -std. */
3972 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3973
3974 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3975 inside strings and character constants. */
3976 #define FOO(x) 'x'
3977 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3978
3979 int test (int i, double x);
3980 struct s1 {int (*f) (int a);};
3981 struct s2 {int (*f) (double a);};
3982 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3983 int argc;
3984 char **argv;
3985 int
3986 main ()
3987 {
3988 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3989 ;
3990 return 0;
3991 }
3992 _ACEOF
3993 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3994 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3995 do
3996 CC="$ac_save_CC $ac_arg"
3997 if ac_fn_c_try_compile "$LINENO"; then :
3998 ac_cv_prog_cc_c89=$ac_arg
3999 fi
4000 rm -f core conftest.err conftest.$ac_objext
4001 test "x$ac_cv_prog_cc_c89" != "xno" && break
4002 done
4003 rm -f conftest.$ac_ext
4004 CC=$ac_save_CC
4005
4006 fi
4007 # AC_CACHE_VAL
4008 case "x$ac_cv_prog_cc_c89" in
4009 x)
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4011 $as_echo "none needed" >&6; } ;;
4012 xno)
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4014 $as_echo "unsupported" >&6; } ;;
4015 *)
4016 CC="$CC $ac_cv_prog_cc_c89"
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4018 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4019 esac
4020 if test "x$ac_cv_prog_cc_c89" != xno; then :
4021
4022 fi
4023
4024 ac_ext=c
4025 ac_cpp='$CPP $CPPFLAGS'
4026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4029
4030 ac_ext=c
4031 ac_cpp='$CPP $CPPFLAGS'
4032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4036 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4037 if ${am_cv_prog_cc_c_o+:} false; then :
4038 $as_echo_n "(cached) " >&6
4039 else
4040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4041 /* end confdefs.h. */
4042
4043 int
4044 main ()
4045 {
4046
4047 ;
4048 return 0;
4049 }
4050 _ACEOF
4051 # Make sure it works both with $CC and with simple cc.
4052 # Following AC_PROG_CC_C_O, we do the test twice because some
4053 # compilers refuse to overwrite an existing .o file with -o,
4054 # though they will create one.
4055 am_cv_prog_cc_c_o=yes
4056 for am_i in 1 2; do
4057 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4058 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4059 ac_status=$?
4060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4061 (exit $ac_status); } \
4062 && test -f conftest2.$ac_objext; then
4063 : OK
4064 else
4065 am_cv_prog_cc_c_o=no
4066 break
4067 fi
4068 done
4069 rm -f core conftest*
4070 unset am_i
4071 fi
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4073 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4074 if test "$am_cv_prog_cc_c_o" != yes; then
4075 # Losing compiler, so override with the script.
4076 # FIXME: It is wrong to rewrite CC.
4077 # But if we don't then we get into trouble of one sort or another.
4078 # A longer-term fix would be to have automake use am__CC in this case,
4079 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4080 CC="$am_aux_dir/compile $CC"
4081 fi
4082 ac_ext=c
4083 ac_cpp='$CPP $CPPFLAGS'
4084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4087
4088
4089 depcc="$CC" am_compiler_list=
4090
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4092 $as_echo_n "checking dependency style of $depcc... " >&6; }
4093 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4094 $as_echo_n "(cached) " >&6
4095 else
4096 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4097 # We make a subdir and do the tests there. Otherwise we can end up
4098 # making bogus files that we don't know about and never remove. For
4099 # instance it was reported that on HP-UX the gcc test will end up
4100 # making a dummy file named 'D' -- because '-MD' means "put the output
4101 # in D".
4102 rm -rf conftest.dir
4103 mkdir conftest.dir
4104 # Copy depcomp to subdir because otherwise we won't find it if we're
4105 # using a relative directory.
4106 cp "$am_depcomp" conftest.dir
4107 cd conftest.dir
4108 # We will build objects and dependencies in a subdirectory because
4109 # it helps to detect inapplicable dependency modes. For instance
4110 # both Tru64's cc and ICC support -MD to output dependencies as a
4111 # side effect of compilation, but ICC will put the dependencies in
4112 # the current directory while Tru64 will put them in the object
4113 # directory.
4114 mkdir sub
4115
4116 am_cv_CC_dependencies_compiler_type=none
4117 if test "$am_compiler_list" = ""; then
4118 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4119 fi
4120 am__universal=false
4121 case " $depcc " in #(
4122 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4123 esac
4124
4125 for depmode in $am_compiler_list; do
4126 # Setup a source with many dependencies, because some compilers
4127 # like to wrap large dependency lists on column 80 (with \), and
4128 # we should not choose a depcomp mode which is confused by this.
4129 #
4130 # We need to recreate these files for each test, as the compiler may
4131 # overwrite some of them when testing with obscure command lines.
4132 # This happens at least with the AIX C compiler.
4133 : > sub/conftest.c
4134 for i in 1 2 3 4 5 6; do
4135 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4136 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4137 # Solaris 10 /bin/sh.
4138 echo '/* dummy */' > sub/conftst$i.h
4139 done
4140 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4141
4142 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4143 # mode. It turns out that the SunPro C++ compiler does not properly
4144 # handle '-M -o', and we need to detect this. Also, some Intel
4145 # versions had trouble with output in subdirs.
4146 am__obj=sub/conftest.${OBJEXT-o}
4147 am__minus_obj="-o $am__obj"
4148 case $depmode in
4149 gcc)
4150 # This depmode causes a compiler race in universal mode.
4151 test "$am__universal" = false || continue
4152 ;;
4153 nosideeffect)
4154 # After this tag, mechanisms are not by side-effect, so they'll
4155 # only be used when explicitly requested.
4156 if test "x$enable_dependency_tracking" = xyes; then
4157 continue
4158 else
4159 break
4160 fi
4161 ;;
4162 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4163 # This compiler won't grok '-c -o', but also, the minuso test has
4164 # not run yet. These depmodes are late enough in the game, and
4165 # so weak that their functioning should not be impacted.
4166 am__obj=conftest.${OBJEXT-o}
4167 am__minus_obj=
4168 ;;
4169 none) break ;;
4170 esac
4171 if depmode=$depmode \
4172 source=sub/conftest.c object=$am__obj \
4173 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4174 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4175 >/dev/null 2>conftest.err &&
4176 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4177 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4178 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4179 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4180 # icc doesn't choke on unknown options, it will just issue warnings
4181 # or remarks (even with -Werror). So we grep stderr for any message
4182 # that says an option was ignored or not supported.
4183 # When given -MP, icc 7.0 and 7.1 complain thusly:
4184 # icc: Command line warning: ignoring option '-M'; no argument required
4185 # The diagnosis changed in icc 8.0:
4186 # icc: Command line remark: option '-MP' not supported
4187 if (grep 'ignoring option' conftest.err ||
4188 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4189 am_cv_CC_dependencies_compiler_type=$depmode
4190 break
4191 fi
4192 fi
4193 done
4194
4195 cd ..
4196 rm -rf conftest.dir
4197 else
4198 am_cv_CC_dependencies_compiler_type=none
4199 fi
4200
4201 fi
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4203 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4204 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4205
4206 if
4207 test "x$enable_dependency_tracking" != xno \
4208 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4209 am__fastdepCC_TRUE=
4210 am__fastdepCC_FALSE='#'
4211 else
4212 am__fastdepCC_TRUE='#'
4213 am__fastdepCC_FALSE=
4214 fi
4215
4216 ## test for C compiler
4217 if test -n "$ac_tool_prefix"; then
4218 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4219 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4221 $as_echo_n "checking for $ac_word... " >&6; }
4222 if ${ac_cv_prog_RANLIB+:} false; then :
4223 $as_echo_n "(cached) " >&6
4224 else
4225 if test -n "$RANLIB"; then
4226 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4227 else
4228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4229 for as_dir in $PATH
4230 do
4231 IFS=$as_save_IFS
4232 test -z "$as_dir" && as_dir=.
4233 for ac_exec_ext in '' $ac_executable_extensions; do
4234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4235 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4237 break 2
4238 fi
4239 done
4240 done
4241 IFS=$as_save_IFS
4242
4243 fi
4244 fi
4245 RANLIB=$ac_cv_prog_RANLIB
4246 if test -n "$RANLIB"; then
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4248 $as_echo "$RANLIB" >&6; }
4249 else
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4251 $as_echo "no" >&6; }
4252 fi
4253
4254
4255 fi
4256 if test -z "$ac_cv_prog_RANLIB"; then
4257 ac_ct_RANLIB=$RANLIB
4258 # Extract the first word of "ranlib", so it can be a program name with args.
4259 set dummy ranlib; ac_word=$2
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4261 $as_echo_n "checking for $ac_word... " >&6; }
4262 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4263 $as_echo_n "(cached) " >&6
4264 else
4265 if test -n "$ac_ct_RANLIB"; then
4266 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4267 else
4268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4269 for as_dir in $PATH
4270 do
4271 IFS=$as_save_IFS
4272 test -z "$as_dir" && as_dir=.
4273 for ac_exec_ext in '' $ac_executable_extensions; do
4274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4275 ac_cv_prog_ac_ct_RANLIB="ranlib"
4276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4277 break 2
4278 fi
4279 done
4280 done
4281 IFS=$as_save_IFS
4282
4283 fi
4284 fi
4285 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4286 if test -n "$ac_ct_RANLIB"; then
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4288 $as_echo "$ac_ct_RANLIB" >&6; }
4289 else
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4291 $as_echo "no" >&6; }
4292 fi
4293
4294 if test "x$ac_ct_RANLIB" = x; then
4295 RANLIB=":"
4296 else
4297 case $cross_compiling:$ac_tool_warned in
4298 yes:)
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4301 ac_tool_warned=yes ;;
4302 esac
4303 RANLIB=$ac_ct_RANLIB
4304 fi
4305 else
4306 RANLIB="$ac_cv_prog_RANLIB"
4307 fi
4308 ## required if libraries are built in package
4309
4310 # Check for headers
4311 ac_ext=cpp
4312 ac_cpp='$CXXCPP $CPPFLAGS'
4313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4316
4317
4318 ac_ext=cpp
4319 ac_cpp='$CXXCPP $CPPFLAGS'
4320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4324 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4325 if test -z "$CXXCPP"; then
4326 if ${ac_cv_prog_CXXCPP+:} false; then :
4327 $as_echo_n "(cached) " >&6
4328 else
4329 # Double quotes because CXXCPP needs to be expanded
4330 for CXXCPP in "$CXX -E" "/lib/cpp"
4331 do
4332 ac_preproc_ok=false
4333 for ac_cxx_preproc_warn_flag in '' yes
4334 do
4335 # Use a header file that comes with gcc, so configuring glibc
4336 # with a fresh cross-compiler works.
4337 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4338 # <limits.h> exists even on freestanding compilers.
4339 # On the NeXT, cc -E runs the code through the compiler's parser,
4340 # not just through cpp. "Syntax error" is here to catch this case.
4341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4342 /* end confdefs.h. */
4343 #ifdef __STDC__
4344 # include <limits.h>
4345 #else
4346 # include <assert.h>
4347 #endif
4348 Syntax error
4349 _ACEOF
4350 if ac_fn_cxx_try_cpp "$LINENO"; then :
4351
4352 else
4353 # Broken: fails on valid input.
4354 continue
4355 fi
4356 rm -f conftest.err conftest.i conftest.$ac_ext
4357
4358 # OK, works on sane cases. Now check whether nonexistent headers
4359 # can be detected and how.
4360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4361 /* end confdefs.h. */
4362 #include <ac_nonexistent.h>
4363 _ACEOF
4364 if ac_fn_cxx_try_cpp "$LINENO"; then :
4365 # Broken: success on invalid input.
4366 continue
4367 else
4368 # Passes both tests.
4369 ac_preproc_ok=:
4370 break
4371 fi
4372 rm -f conftest.err conftest.i conftest.$ac_ext
4373
4374 done
4375 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4376 rm -f conftest.i conftest.err conftest.$ac_ext
4377 if $ac_preproc_ok; then :
4378 break
4379 fi
4380
4381 done
4382 ac_cv_prog_CXXCPP=$CXXCPP
4383
4384 fi
4385 CXXCPP=$ac_cv_prog_CXXCPP
4386 else
4387 ac_cv_prog_CXXCPP=$CXXCPP
4388 fi
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4390 $as_echo "$CXXCPP" >&6; }
4391 ac_preproc_ok=false
4392 for ac_cxx_preproc_warn_flag in '' yes
4393 do
4394 # Use a header file that comes with gcc, so configuring glibc
4395 # with a fresh cross-compiler works.
4396 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4397 # <limits.h> exists even on freestanding compilers.
4398 # On the NeXT, cc -E runs the code through the compiler's parser,
4399 # not just through cpp. "Syntax error" is here to catch this case.
4400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4401 /* end confdefs.h. */
4402 #ifdef __STDC__
4403 # include <limits.h>
4404 #else
4405 # include <assert.h>
4406 #endif
4407 Syntax error
4408 _ACEOF
4409 if ac_fn_cxx_try_cpp "$LINENO"; then :
4410
4411 else
4412 # Broken: fails on valid input.
4413 continue
4414 fi
4415 rm -f conftest.err conftest.i conftest.$ac_ext
4416
4417 # OK, works on sane cases. Now check whether nonexistent headers
4418 # can be detected and how.
4419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4420 /* end confdefs.h. */
4421 #include <ac_nonexistent.h>
4422 _ACEOF
4423 if ac_fn_cxx_try_cpp "$LINENO"; then :
4424 # Broken: success on invalid input.
4425 continue
4426 else
4427 # Passes both tests.
4428 ac_preproc_ok=:
4429 break
4430 fi
4431 rm -f conftest.err conftest.i conftest.$ac_ext
4432
4433 done
4434 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4435 rm -f conftest.i conftest.err conftest.$ac_ext
4436 if $ac_preproc_ok; then :
4437
4438 else
4439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4441 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
4442 See \`config.log' for more details" "$LINENO" 5; }
4443 fi
4444
4445 ac_ext=cpp
4446 ac_cpp='$CXXCPP $CPPFLAGS'
4447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4450
4451
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4453 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4454 if ${ac_cv_path_GREP+:} false; then :
4455 $as_echo_n "(cached) " >&6
4456 else
4457 if test -z "$GREP"; then
4458 ac_path_GREP_found=false
4459 # Loop through the user's path and test for each of PROGNAME-LIST
4460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4461 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4462 do
4463 IFS=$as_save_IFS
4464 test -z "$as_dir" && as_dir=.
4465 for ac_prog in grep ggrep; do
4466 for ac_exec_ext in '' $ac_executable_extensions; do
4467 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4468 as_fn_executable_p "$ac_path_GREP" || continue
4469 # Check for GNU ac_path_GREP and select it if it is found.
4470 # Check for GNU $ac_path_GREP
4471 case `"$ac_path_GREP" --version 2>&1` in
4472 *GNU*)
4473 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4474 *)
4475 ac_count=0
4476 $as_echo_n 0123456789 >"conftest.in"
4477 while :
4478 do
4479 cat "conftest.in" "conftest.in" >"conftest.tmp"
4480 mv "conftest.tmp" "conftest.in"
4481 cp "conftest.in" "conftest.nl"
4482 $as_echo 'GREP' >> "conftest.nl"
4483 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4484 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4485 as_fn_arith $ac_count + 1 && ac_count=$as_val
4486 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4487 # Best one so far, save it but keep looking for a better one
4488 ac_cv_path_GREP="$ac_path_GREP"
4489 ac_path_GREP_max=$ac_count
4490 fi
4491 # 10*(2^10) chars as input seems more than enough
4492 test $ac_count -gt 10 && break
4493 done
4494 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4495 esac
4496
4497 $ac_path_GREP_found && break 3
4498 done
4499 done
4500 done
4501 IFS=$as_save_IFS
4502 if test -z "$ac_cv_path_GREP"; then
4503 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4504 fi
4505 else
4506 ac_cv_path_GREP=$GREP
4507 fi
4508
4509 fi
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4511 $as_echo "$ac_cv_path_GREP" >&6; }
4512 GREP="$ac_cv_path_GREP"
4513
4514
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4516 $as_echo_n "checking for egrep... " >&6; }
4517 if ${ac_cv_path_EGREP+:} false; then :
4518 $as_echo_n "(cached) " >&6
4519 else
4520 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4521 then ac_cv_path_EGREP="$GREP -E"
4522 else
4523 if test -z "$EGREP"; then
4524 ac_path_EGREP_found=false
4525 # Loop through the user's path and test for each of PROGNAME-LIST
4526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4527 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4528 do
4529 IFS=$as_save_IFS
4530 test -z "$as_dir" && as_dir=.
4531 for ac_prog in egrep; do
4532 for ac_exec_ext in '' $ac_executable_extensions; do
4533 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4534 as_fn_executable_p "$ac_path_EGREP" || continue
4535 # Check for GNU ac_path_EGREP and select it if it is found.
4536 # Check for GNU $ac_path_EGREP
4537 case `"$ac_path_EGREP" --version 2>&1` in
4538 *GNU*)
4539 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4540 *)
4541 ac_count=0
4542 $as_echo_n 0123456789 >"conftest.in"
4543 while :
4544 do
4545 cat "conftest.in" "conftest.in" >"conftest.tmp"
4546 mv "conftest.tmp" "conftest.in"
4547 cp "conftest.in" "conftest.nl"
4548 $as_echo 'EGREP' >> "conftest.nl"
4549 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4550 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4551 as_fn_arith $ac_count + 1 && ac_count=$as_val
4552 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4553 # Best one so far, save it but keep looking for a better one
4554 ac_cv_path_EGREP="$ac_path_EGREP"
4555 ac_path_EGREP_max=$ac_count
4556 fi
4557 # 10*(2^10) chars as input seems more than enough
4558 test $ac_count -gt 10 && break
4559 done
4560 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4561 esac
4562
4563 $ac_path_EGREP_found && break 3
4564 done
4565 done
4566 done
4567 IFS=$as_save_IFS
4568 if test -z "$ac_cv_path_EGREP"; then
4569 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4570 fi
4571 else
4572 ac_cv_path_EGREP=$EGREP
4573 fi
4574
4575 fi
4576 fi
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4578 $as_echo "$ac_cv_path_EGREP" >&6; }
4579 EGREP="$ac_cv_path_EGREP"
4580
4581
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4583 $as_echo_n "checking for ANSI C header files... " >&6; }
4584 if ${ac_cv_header_stdc+:} false; then :
4585 $as_echo_n "(cached) " >&6
4586 else
4587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4588 /* end confdefs.h. */
4589 #include <stdlib.h>
4590 #include <stdarg.h>
4591 #include <string.h>
4592 #include <float.h>
4593
4594 int
4595 main ()
4596 {
4597
4598 ;
4599 return 0;
4600 }
4601 _ACEOF
4602 if ac_fn_cxx_try_compile "$LINENO"; then :
4603 ac_cv_header_stdc=yes
4604 else
4605 ac_cv_header_stdc=no
4606 fi
4607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4608
4609 if test $ac_cv_header_stdc = yes; then
4610 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h. */
4613 #include <string.h>
4614
4615 _ACEOF
4616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4617 $EGREP "memchr" >/dev/null 2>&1; then :
4618
4619 else
4620 ac_cv_header_stdc=no
4621 fi
4622 rm -f conftest*
4623
4624 fi
4625
4626 if test $ac_cv_header_stdc = yes; then
4627 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4629 /* end confdefs.h. */
4630 #include <stdlib.h>
4631
4632 _ACEOF
4633 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4634 $EGREP "free" >/dev/null 2>&1; then :
4635
4636 else
4637 ac_cv_header_stdc=no
4638 fi
4639 rm -f conftest*
4640
4641 fi
4642
4643 if test $ac_cv_header_stdc = yes; then
4644 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4645 if test "$cross_compiling" = yes; then :
4646 :
4647 else
4648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4649 /* end confdefs.h. */
4650 #include <ctype.h>
4651 #include <stdlib.h>
4652 #if ((' ' & 0x0FF) == 0x020)
4653 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4654 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4655 #else
4656 # define ISLOWER(c) \
4657 (('a' <= (c) && (c) <= 'i') \
4658 || ('j' <= (c) && (c) <= 'r') \
4659 || ('s' <= (c) && (c) <= 'z'))
4660 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4661 #endif
4662
4663 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4664 int
4665 main ()
4666 {
4667 int i;
4668 for (i = 0; i < 256; i++)
4669 if (XOR (islower (i), ISLOWER (i))
4670 || toupper (i) != TOUPPER (i))
4671 return 2;
4672 return 0;
4673 }
4674 _ACEOF
4675 if ac_fn_cxx_try_run "$LINENO"; then :
4676
4677 else
4678 ac_cv_header_stdc=no
4679 fi
4680 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4681 conftest.$ac_objext conftest.beam conftest.$ac_ext
4682 fi
4683
4684 fi
4685 fi
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4687 $as_echo "$ac_cv_header_stdc" >&6; }
4688 if test $ac_cv_header_stdc = yes; then
4689
4690 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4691
4692 fi
4693
4694 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4695 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4696 inttypes.h stdint.h unistd.h
4697 do :
4698 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4699 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4700 "
4701 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4702 cat >>confdefs.h <<_ACEOF
4703 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4704 _ACEOF
4705
4706 fi
4707
4708 done
4709
4710
4711 ac_fn_cxx_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
4712 if test "x$ac_cv_header_zlib_h" = xyes; then :
4713
4714 fi
4715
4716
4717
4718 # Check for libraries
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gzopen" >&5
4720 $as_echo_n "checking for library containing gzopen... " >&6; }
4721 if ${ac_cv_search_gzopen+:} false; then :
4722 $as_echo_n "(cached) " >&6
4723 else
4724 ac_func_search_save_LIBS=$LIBS
4725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4726 /* end confdefs.h. */
4727
4728 /* Override any GCC internal prototype to avoid an error.
4729 Use char because int might match the return type of a GCC
4730 builtin and then its argument prototype would still apply. */
4731 #ifdef __cplusplus
4732 extern "C"
4733 #endif
4734 char gzopen ();
4735 int
4736 main ()
4737 {
4738 return gzopen ();
4739 ;
4740 return 0;
4741 }
4742 _ACEOF
4743 for ac_lib in '' z; do
4744 if test -z "$ac_lib"; then
4745 ac_res="none required"
4746 else
4747 ac_res=-l$ac_lib
4748 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4749 fi
4750 if ac_fn_cxx_try_link "$LINENO"; then :
4751 ac_cv_search_gzopen=$ac_res
4752 fi
4753 rm -f core conftest.err conftest.$ac_objext \
4754 conftest$ac_exeext
4755 if ${ac_cv_search_gzopen+:} false; then :
4756 break
4757 fi
4758 done
4759 if ${ac_cv_search_gzopen+:} false; then :
4760
4761 else
4762 ac_cv_search_gzopen=no
4763 fi
4764 rm conftest.$ac_ext
4765 LIBS=$ac_func_search_save_LIBS
4766 fi
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gzopen" >&5
4768 $as_echo "$ac_cv_search_gzopen" >&6; }
4769 ac_res=$ac_cv_search_gzopen
4770 if test "$ac_res" != no; then :
4771 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4772
4773 else
4774 as_fn_error $? "libz not found, please install zlib (http://www.zlib.net/)" "$LINENO" 5
4775 fi
4776
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
4778 $as_echo_n "checking for library containing clock_gettime... " >&6; }
4779 if ${ac_cv_search_clock_gettime+:} false; then :
4780 $as_echo_n "(cached) " >&6
4781 else
4782 ac_func_search_save_LIBS=$LIBS
4783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4784 /* end confdefs.h. */
4785
4786 /* Override any GCC internal prototype to avoid an error.
4787 Use char because int might match the return type of a GCC
4788 builtin and then its argument prototype would still apply. */
4789 #ifdef __cplusplus
4790 extern "C"
4791 #endif
4792 char clock_gettime ();
4793 int
4794 main ()
4795 {
4796 return clock_gettime ();
4797 ;
4798 return 0;
4799 }
4800 _ACEOF
4801 for ac_lib in '' rt; do
4802 if test -z "$ac_lib"; then
4803 ac_res="none required"
4804 else
4805 ac_res=-l$ac_lib
4806 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4807 fi
4808 if ac_fn_cxx_try_link "$LINENO"; then :
4809 ac_cv_search_clock_gettime=$ac_res
4810 fi
4811 rm -f core conftest.err conftest.$ac_objext \
4812 conftest$ac_exeext
4813 if ${ac_cv_search_clock_gettime+:} false; then :
4814 break
4815 fi
4816 done
4817 if ${ac_cv_search_clock_gettime+:} false; then :
4818
4819 else
4820 ac_cv_search_clock_gettime=no
4821 fi
4822 rm conftest.$ac_ext
4823 LIBS=$ac_func_search_save_LIBS
4824 fi
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
4826 $as_echo "$ac_cv_search_clock_gettime" >&6; }
4827 ac_res=$ac_cv_search_clock_gettime
4828 if test "$ac_res" != no; then :
4829 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4830
4831 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
4832
4833 fi
4834
4835
4836
4837 # Check whether --with-boost was given.
4838 if test "${with_boost+set}" = set; then :
4839 withval=$with_boost;
4840 fi
4841
4842 if test "$with_boost" -a -d "$with_boost"; then
4843 boost_include="-I$with_boost/include"
4844 as_ac_File=`$as_echo "ac_cv_file_"$with_boost/stage/lib"" | $as_tr_sh`
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"$with_boost/stage/lib\"" >&5
4846 $as_echo_n "checking for \"$with_boost/stage/lib\"... " >&6; }
4847 if eval \${$as_ac_File+:} false; then :
4848 $as_echo_n "(cached) " >&6
4849 else
4850 test "$cross_compiling" = yes &&
4851 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
4852 if test -r ""$with_boost/stage/lib""; then
4853 eval "$as_ac_File=yes"
4854 else
4855 eval "$as_ac_File=no"
4856 fi
4857 fi
4858 eval ac_res=\$$as_ac_File
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4860 $as_echo "$ac_res" >&6; }
4861 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
4862 STAGE_PATH=1
4863 else
4864 STAGE_PATH=0
4865 fi
4866
4867 if test ${STAGE_PATH} = 1; then
4868 boost_lib="-L$with_boost/stage/lib"
4869 else
4870 boost_lib="-L$with_boost/lib"
4871 fi
4872
4873 fi
4874
4875 # Only fail on warnings when the --enable-development flag is passed into configure
4876 # Check whether --enable-development was given.
4877 if test "${enable_development+set}" = set; then :
4878 enableval=$enable_development;
4879 fi
4880
4881 if test "$enable_development"; then
4882 fail_on_warning="-Werror"
4883 fi
4884
4885 # Set compiler flags.
4886 AM_CXXFLAGS="-g $fail_on_warning -Wno-unknown-pragmas -DHAVE_C11=1 -std=c++11"
4887
4888 CXXFLAGS="$CXXFLAGS"
4889
4890 CFLAGS="$CFLAGS"
4891
4892 CPPFLAGS="$CPPFLAGS $boost_include"
4893
4894 LDFLAGS="$LDFLAGS"
4895
4896
4897 LIBS="$LIBS $boost_lib"
4898
4899
4900 # Make sure the boost headers can be found
4901 for ac_header in boost/test/unit_test.hpp
4902 do :
4903 ac_fn_cxx_check_header_mongrel "$LINENO" "boost/test/unit_test.hpp" "ac_cv_header_boost_test_unit_test_hpp" "$ac_includes_default"
4904 if test "x$ac_cv_header_boost_test_unit_test_hpp" = xyes; then :
4905 cat >>confdefs.h <<_ACEOF
4906 #define HAVE_BOOST_TEST_UNIT_TEST_HPP 1
4907 _ACEOF
4908
4909 else
4910 as_fn_error $? "The Boost library must be installed for unit testing. Specify its path with the --with-boost=PATH option" "$LINENO" 5
4911 fi
4912
4913 done
4914
4915
4916 ac_config_files="$ac_config_files Makefile"
4917
4918
4919 cat >confcache <<\_ACEOF
4920 # This file is a shell script that caches the results of configure
4921 # tests run on this system so they can be shared between configure
4922 # scripts and configure runs, see configure's option --config-cache.
4923 # It is not useful on other systems. If it contains results you don't
4924 # want to keep, you may remove or edit it.
4925 #
4926 # config.status only pays attention to the cache file if you give it
4927 # the --recheck option to rerun configure.
4928 #
4929 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4930 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4931 # following values.
4932
4933 _ACEOF
4934
4935 # The following way of writing the cache mishandles newlines in values,
4936 # but we know of no workaround that is simple, portable, and efficient.
4937 # So, we kill variables containing newlines.
4938 # Ultrix sh set writes to stderr and can't be redirected directly,
4939 # and sets the high bit in the cache file unless we assign to the vars.
4940 (
4941 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4942 eval ac_val=\$$ac_var
4943 case $ac_val in #(
4944 *${as_nl}*)
4945 case $ac_var in #(
4946 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4947 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4948 esac
4949 case $ac_var in #(
4950 _ | IFS | as_nl) ;; #(
4951 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4952 *) { eval $ac_var=; unset $ac_var;} ;;
4953 esac ;;
4954 esac
4955 done
4956
4957 (set) 2>&1 |
4958 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4959 *${as_nl}ac_space=\ *)
4960 # `set' does not quote correctly, so add quotes: double-quote
4961 # substitution turns \\\\ into \\, and sed turns \\ into \.
4962 sed -n \
4963 "s/'/'\\\\''/g;
4964 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4965 ;; #(
4966 *)
4967 # `set' quotes correctly as required by POSIX, so do not add quotes.
4968 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4969 ;;
4970 esac |
4971 sort
4972 ) |
4973 sed '
4974 /^ac_cv_env_/b end
4975 t clear
4976 :clear
4977 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4978 t end
4979 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4980 :end' >>confcache
4981 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4982 if test -w "$cache_file"; then
4983 if test "x$cache_file" != "x/dev/null"; then
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4985 $as_echo "$as_me: updating cache $cache_file" >&6;}
4986 if test ! -f "$cache_file" || test -h "$cache_file"; then
4987 cat confcache >"$cache_file"
4988 else
4989 case $cache_file in #(
4990 */* | ?:*)
4991 mv -f confcache "$cache_file"$$ &&
4992 mv -f "$cache_file"$$ "$cache_file" ;; #(
4993 *)
4994 mv -f confcache "$cache_file" ;;
4995 esac
4996 fi
4997 fi
4998 else
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5000 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5001 fi
5002 fi
5003 rm -f confcache
5004
5005 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5006 # Let make expand exec_prefix.
5007 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5008
5009 DEFS=-DHAVE_CONFIG_H
5010
5011 ac_libobjs=
5012 ac_ltlibobjs=
5013 U=
5014 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5015 # 1. Remove the extension, and $U if already installed.
5016 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5017 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5018 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5019 # will be set to the directory where LIBOBJS objects are built.
5020 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5021 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5022 done
5023 LIBOBJS=$ac_libobjs
5024
5025 LTLIBOBJS=$ac_ltlibobjs
5026
5027
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5029 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5030 if test -n "$am_sleep_pid"; then
5031 # Hide warnings about reused PIDs.
5032 wait $am_sleep_pid 2>/dev/null
5033 fi
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5035 $as_echo "done" >&6; }
5036 if test -n "$EXEEXT"; then
5037 am__EXEEXT_TRUE=
5038 am__EXEEXT_FALSE='#'
5039 else
5040 am__EXEEXT_TRUE='#'
5041 am__EXEEXT_FALSE=
5042 fi
5043
5044 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5045 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5047 fi
5048 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5049 as_fn_error $? "conditional \"AMDEP\" was never defined.
5050 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5051 fi
5052 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5053 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
5054 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5055 fi
5056 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5057 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5058 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5059 fi
5060
5061 : "${CONFIG_STATUS=./config.status}"
5062 ac_write_fail=0
5063 ac_clean_files_save=$ac_clean_files
5064 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5066 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5067 as_write_fail=0
5068 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5069 #! $SHELL
5070 # Generated by $as_me.
5071 # Run this file to recreate the current configuration.
5072 # Compiler output produced by configure, useful for debugging
5073 # configure, is in config.log if it exists.
5074
5075 debug=false
5076 ac_cs_recheck=false
5077 ac_cs_silent=false
5078
5079 SHELL=\${CONFIG_SHELL-$SHELL}
5080 export SHELL
5081 _ASEOF
5082 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5083 ## -------------------- ##
5084 ## M4sh Initialization. ##
5085 ## -------------------- ##
5086
5087 # Be more Bourne compatible
5088 DUALCASE=1; export DUALCASE # for MKS sh
5089 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5090 emulate sh
5091 NULLCMD=:
5092 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5093 # is contrary to our usage. Disable this feature.
5094 alias -g '${1+"$@"}'='"$@"'
5095 setopt NO_GLOB_SUBST
5096 else
5097 case `(set -o) 2>/dev/null` in #(
5098 *posix*) :
5099 set -o posix ;; #(
5100 *) :
5101 ;;
5102 esac
5103 fi
5104
5105
5106 as_nl='
5107 '
5108 export as_nl
5109 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5110 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5111 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5112 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5113 # Prefer a ksh shell builtin over an external printf program on Solaris,
5114 # but without wasting forks for bash or zsh.
5115 if test -z "$BASH_VERSION$ZSH_VERSION" \
5116 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5117 as_echo='print -r --'
5118 as_echo_n='print -rn --'
5119 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5120 as_echo='printf %s\n'
5121 as_echo_n='printf %s'
5122 else
5123 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5124 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5125 as_echo_n='/usr/ucb/echo -n'
5126 else
5127 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5128 as_echo_n_body='eval
5129 arg=$1;
5130 case $arg in #(
5131 *"$as_nl"*)
5132 expr "X$arg" : "X\\(.*\\)$as_nl";
5133 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5134 esac;
5135 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5136 '
5137 export as_echo_n_body
5138 as_echo_n='sh -c $as_echo_n_body as_echo'
5139 fi
5140 export as_echo_body
5141 as_echo='sh -c $as_echo_body as_echo'
5142 fi
5143
5144 # The user is always right.
5145 if test "${PATH_SEPARATOR+set}" != set; then
5146 PATH_SEPARATOR=:
5147 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5148 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5149 PATH_SEPARATOR=';'
5150 }
5151 fi
5152
5153
5154 # IFS
5155 # We need space, tab and new line, in precisely that order. Quoting is
5156 # there to prevent editors from complaining about space-tab.
5157 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5158 # splitting by setting IFS to empty value.)
5159 IFS=" "" $as_nl"
5160
5161 # Find who we are. Look in the path if we contain no directory separator.
5162 as_myself=
5163 case $0 in #((
5164 *[\\/]* ) as_myself=$0 ;;
5165 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5166 for as_dir in $PATH
5167 do
5168 IFS=$as_save_IFS
5169 test -z "$as_dir" && as_dir=.
5170 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5171 done
5172 IFS=$as_save_IFS
5173
5174 ;;
5175 esac
5176 # We did not find ourselves, most probably we were run as `sh COMMAND'
5177 # in which case we are not to be found in the path.
5178 if test "x$as_myself" = x; then
5179 as_myself=$0
5180 fi
5181 if test ! -f "$as_myself"; then
5182 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5183 exit 1
5184 fi
5185
5186 # Unset variables that we do not need and which cause bugs (e.g. in
5187 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5188 # suppresses any "Segmentation fault" message there. '((' could
5189 # trigger a bug in pdksh 5.2.14.
5190 for as_var in BASH_ENV ENV MAIL MAILPATH
5191 do eval test x\${$as_var+set} = xset \
5192 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5193 done
5194 PS1='$ '
5195 PS2='> '
5196 PS4='+ '
5197
5198 # NLS nuisances.
5199 LC_ALL=C
5200 export LC_ALL
5201 LANGUAGE=C
5202 export LANGUAGE
5203
5204 # CDPATH.
5205 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5206
5207
5208 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5209 # ----------------------------------------
5210 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5211 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5212 # script with STATUS, using 1 if that was 0.
5213 as_fn_error ()
5214 {
5215 as_status=$1; test $as_status -eq 0 && as_status=1
5216 if test "$4"; then
5217 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5218 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5219 fi
5220 $as_echo "$as_me: error: $2" >&2
5221 as_fn_exit $as_status
5222 } # as_fn_error
5223
5224
5225 # as_fn_set_status STATUS
5226 # -----------------------
5227 # Set $? to STATUS, without forking.
5228 as_fn_set_status ()
5229 {
5230 return $1
5231 } # as_fn_set_status
5232
5233 # as_fn_exit STATUS
5234 # -----------------
5235 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5236 as_fn_exit ()
5237 {
5238 set +e
5239 as_fn_set_status $1
5240 exit $1
5241 } # as_fn_exit
5242
5243 # as_fn_unset VAR
5244 # ---------------
5245 # Portably unset VAR.
5246 as_fn_unset ()
5247 {
5248 { eval $1=; unset $1;}
5249 }
5250 as_unset=as_fn_unset
5251 # as_fn_append VAR VALUE
5252 # ----------------------
5253 # Append the text in VALUE to the end of the definition contained in VAR. Take
5254 # advantage of any shell optimizations that allow amortized linear growth over
5255 # repeated appends, instead of the typical quadratic growth present in naive
5256 # implementations.
5257 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5258 eval 'as_fn_append ()
5259 {
5260 eval $1+=\$2
5261 }'
5262 else
5263 as_fn_append ()
5264 {
5265 eval $1=\$$1\$2
5266 }
5267 fi # as_fn_append
5268
5269 # as_fn_arith ARG...
5270 # ------------------
5271 # Perform arithmetic evaluation on the ARGs, and store the result in the
5272 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5273 # must be portable across $(()) and expr.
5274 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5275 eval 'as_fn_arith ()
5276 {
5277 as_val=$(( $* ))
5278 }'
5279 else
5280 as_fn_arith ()
5281 {
5282 as_val=`expr "$@" || test $? -eq 1`
5283 }
5284 fi # as_fn_arith
5285
5286
5287 if expr a : '\(a\)' >/dev/null 2>&1 &&
5288 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5289 as_expr=expr
5290 else
5291 as_expr=false
5292 fi
5293
5294 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5295 as_basename=basename
5296 else
5297 as_basename=false
5298 fi
5299
5300 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5301 as_dirname=dirname
5302 else
5303 as_dirname=false
5304 fi
5305
5306 as_me=`$as_basename -- "$0" ||
5307 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5308 X"$0" : 'X\(//\)$' \| \
5309 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5310 $as_echo X/"$0" |
5311 sed '/^.*\/\([^/][^/]*\)\/*$/{
5312 s//\1/
5313 q
5314 }
5315 /^X\/\(\/\/\)$/{
5316 s//\1/
5317 q
5318 }
5319 /^X\/\(\/\).*/{
5320 s//\1/
5321 q
5322 }
5323 s/.*/./; q'`
5324
5325 # Avoid depending upon Character Ranges.
5326 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5327 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5328 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5329 as_cr_digits='0123456789'
5330 as_cr_alnum=$as_cr_Letters$as_cr_digits
5331
5332 ECHO_C= ECHO_N= ECHO_T=
5333 case `echo -n x` in #(((((
5334 -n*)
5335 case `echo 'xy\c'` in
5336 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5337 xy) ECHO_C='\c';;
5338 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5339 ECHO_T=' ';;
5340 esac;;
5341 *)
5342 ECHO_N='-n';;
5343 esac
5344
5345 rm -f conf$$ conf$$.exe conf$$.file
5346 if test -d conf$$.dir; then
5347 rm -f conf$$.dir/conf$$.file
5348 else
5349 rm -f conf$$.dir
5350 mkdir conf$$.dir 2>/dev/null
5351 fi
5352 if (echo >conf$$.file) 2>/dev/null; then
5353 if ln -s conf$$.file conf$$ 2>/dev/null; then
5354 as_ln_s='ln -s'
5355 # ... but there are two gotchas:
5356 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5357 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5358 # In both cases, we have to default to `cp -pR'.
5359 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5360 as_ln_s='cp -pR'
5361 elif ln conf$$.file conf$$ 2>/dev/null; then
5362 as_ln_s=ln
5363 else
5364 as_ln_s='cp -pR'
5365 fi
5366 else
5367 as_ln_s='cp -pR'
5368 fi
5369 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5370 rmdir conf$$.dir 2>/dev/null
5371
5372
5373 # as_fn_mkdir_p
5374 # -------------
5375 # Create "$as_dir" as a directory, including parents if necessary.
5376 as_fn_mkdir_p ()
5377 {
5378
5379 case $as_dir in #(
5380 -*) as_dir=./$as_dir;;
5381 esac
5382 test -d "$as_dir" || eval $as_mkdir_p || {
5383 as_dirs=
5384 while :; do
5385 case $as_dir in #(
5386 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5387 *) as_qdir=$as_dir;;
5388 esac
5389 as_dirs="'$as_qdir' $as_dirs"
5390 as_dir=`$as_dirname -- "$as_dir" ||
5391 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5392 X"$as_dir" : 'X\(//\)[^/]' \| \
5393 X"$as_dir" : 'X\(//\)$' \| \
5394 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5395 $as_echo X"$as_dir" |
5396 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5397 s//\1/
5398 q
5399 }
5400 /^X\(\/\/\)[^/].*/{
5401 s//\1/
5402 q
5403 }
5404 /^X\(\/\/\)$/{
5405 s//\1/
5406 q
5407 }
5408 /^X\(\/\).*/{
5409 s//\1/
5410 q
5411 }
5412 s/.*/./; q'`
5413 test -d "$as_dir" && break
5414 done
5415 test -z "$as_dirs" || eval "mkdir $as_dirs"
5416 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5417
5418
5419 } # as_fn_mkdir_p
5420 if mkdir -p . 2>/dev/null; then
5421 as_mkdir_p='mkdir -p "$as_dir"'
5422 else
5423 test -d ./-p && rmdir ./-p
5424 as_mkdir_p=false
5425 fi
5426
5427
5428 # as_fn_executable_p FILE
5429 # -----------------------
5430 # Test if FILE is an executable regular file.
5431 as_fn_executable_p ()
5432 {
5433 test -f "$1" && test -x "$1"
5434 } # as_fn_executable_p
5435 as_test_x='test -x'
5436 as_executable_p=as_fn_executable_p
5437
5438 # Sed expression to map a string onto a valid CPP name.
5439 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5440
5441 # Sed expression to map a string onto a valid variable name.
5442 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5443
5444
5445 exec 6>&1
5446 ## ----------------------------------- ##
5447 ## Main body of $CONFIG_STATUS script. ##
5448 ## ----------------------------------- ##
5449 _ASEOF
5450 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5451
5452 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5453 # Save the log message, to keep $0 and so on meaningful, and to
5454 # report actual input values of CONFIG_FILES etc. instead of their
5455 # values after options handling.
5456 ac_log="
5457 This file was extended by seqlibtest $as_me 1.0, which was
5458 generated by GNU Autoconf 2.69. Invocation command line was
5459
5460 CONFIG_FILES = $CONFIG_FILES
5461 CONFIG_HEADERS = $CONFIG_HEADERS
5462 CONFIG_LINKS = $CONFIG_LINKS
5463 CONFIG_COMMANDS = $CONFIG_COMMANDS
5464 $ $0 $@
5465
5466 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5467 "
5468
5469 _ACEOF
5470
5471 case $ac_config_files in *"
5472 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5473 esac
5474
5475 case $ac_config_headers in *"
5476 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5477 esac
5478
5479
5480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5481 # Files that config.status was made for.
5482 config_files="$ac_config_files"
5483 config_headers="$ac_config_headers"
5484 config_commands="$ac_config_commands"
5485
5486 _ACEOF
5487
5488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5489 ac_cs_usage="\
5490 \`$as_me' instantiates files and other configuration actions
5491 from templates according to the current configuration. Unless the files
5492 and actions are specified as TAGs, all are instantiated by default.
5493
5494 Usage: $0 [OPTION]... [TAG]...
5495
5496 -h, --help print this help, then exit
5497 -V, --version print version number and configuration settings, then exit
5498 --config print configuration, then exit
5499 -q, --quiet, --silent
5500 do not print progress messages
5501 -d, --debug don't remove temporary files
5502 --recheck update $as_me by reconfiguring in the same conditions
5503 --file=FILE[:TEMPLATE]
5504 instantiate the configuration file FILE
5505 --header=FILE[:TEMPLATE]
5506 instantiate the configuration header FILE
5507
5508 Configuration files:
5509 $config_files
5510
5511 Configuration headers:
5512 $config_headers
5513
5514 Configuration commands:
5515 $config_commands
5516
5517 Report bugs to <[email protected]>."
5518
5519 _ACEOF
5520 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5521 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5522 ac_cs_version="\\
5523 seqlibtest config.status 1.0
5524 configured by $0, generated by GNU Autoconf 2.69,
5525 with options \\"\$ac_cs_config\\"
5526
5527 Copyright (C) 2012 Free Software Foundation, Inc.
5528 This config.status script is free software; the Free Software Foundation
5529 gives unlimited permission to copy, distribute and modify it."
5530
5531 ac_pwd='$ac_pwd'
5532 srcdir='$srcdir'
5533 INSTALL='$INSTALL'
5534 MKDIR_P='$MKDIR_P'
5535 AWK='$AWK'
5536 test -n "\$AWK" || AWK=awk
5537 _ACEOF
5538
5539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5540 # The default lists apply if the user does not specify any file.
5541 ac_need_defaults=:
5542 while test $# != 0
5543 do
5544 case $1 in
5545 --*=?*)
5546 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5547 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5548 ac_shift=:
5549 ;;
5550 --*=)
5551 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5552 ac_optarg=
5553 ac_shift=:
5554 ;;
5555 *)
5556 ac_option=$1
5557 ac_optarg=$2
5558 ac_shift=shift
5559 ;;
5560 esac
5561
5562 case $ac_option in
5563 # Handling of the options.
5564 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5565 ac_cs_recheck=: ;;
5566 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5567 $as_echo "$ac_cs_version"; exit ;;
5568 --config | --confi | --conf | --con | --co | --c )
5569 $as_echo "$ac_cs_config"; exit ;;
5570 --debug | --debu | --deb | --de | --d | -d )
5571 debug=: ;;
5572 --file | --fil | --fi | --f )
5573 $ac_shift
5574 case $ac_optarg in
5575 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5576 '') as_fn_error $? "missing file argument" ;;
5577 esac
5578 as_fn_append CONFIG_FILES " '$ac_optarg'"
5579 ac_need_defaults=false;;
5580 --header | --heade | --head | --hea )
5581 $ac_shift
5582 case $ac_optarg in
5583 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5584 esac
5585 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5586 ac_need_defaults=false;;
5587 --he | --h)
5588 # Conflict between --help and --header
5589 as_fn_error $? "ambiguous option: \`$1'
5590 Try \`$0 --help' for more information.";;
5591 --help | --hel | -h )
5592 $as_echo "$ac_cs_usage"; exit ;;
5593 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5594 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5595 ac_cs_silent=: ;;
5596
5597 # This is an error.
5598 -*) as_fn_error $? "unrecognized option: \`$1'
5599 Try \`$0 --help' for more information." ;;
5600
5601 *) as_fn_append ac_config_targets " $1"
5602 ac_need_defaults=false ;;
5603
5604 esac
5605 shift
5606 done
5607
5608 ac_configure_extra_args=
5609
5610 if $ac_cs_silent; then
5611 exec 6>/dev/null
5612 ac_configure_extra_args="$ac_configure_extra_args --silent"
5613 fi
5614
5615 _ACEOF
5616 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5617 if \$ac_cs_recheck; then
5618 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5619 shift
5620 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5621 CONFIG_SHELL='$SHELL'
5622 export CONFIG_SHELL
5623 exec "\$@"
5624 fi
5625
5626 _ACEOF
5627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5628 exec 5>>config.log
5629 {
5630 echo
5631 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5632 ## Running $as_me. ##
5633 _ASBOX
5634 $as_echo "$ac_log"
5635 } >&5
5636
5637 _ACEOF
5638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5639 #
5640 # INIT-COMMANDS
5641 #
5642 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
5643
5644 _ACEOF
5645
5646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5647
5648 # Handling of arguments.
5649 for ac_config_target in $ac_config_targets
5650 do
5651 case $ac_config_target in
5652 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5653 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5654 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5655
5656 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5657 esac
5658 done
5659
5660
5661 # If the user did not use the arguments to specify the items to instantiate,
5662 # then the envvar interface is used. Set only those that are not.
5663 # We use the long form for the default assignment because of an extremely
5664 # bizarre bug on SunOS 4.1.3.
5665 if $ac_need_defaults; then
5666 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5667 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5668 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5669 fi
5670
5671 # Have a temporary directory for convenience. Make it in the build tree
5672 # simply because there is no reason against having it here, and in addition,
5673 # creating and moving files from /tmp can sometimes cause problems.
5674 # Hook for its removal unless debugging.
5675 # Note that there is a small window in which the directory will not be cleaned:
5676 # after its creation but before its name has been assigned to `$tmp'.
5677 $debug ||
5678 {
5679 tmp= ac_tmp=
5680 trap 'exit_status=$?
5681 : "${ac_tmp:=$tmp}"
5682 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5683 ' 0
5684 trap 'as_fn_exit 1' 1 2 13 15
5685 }
5686 # Create a (secure) tmp directory for tmp files.
5687
5688 {
5689 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5690 test -d "$tmp"
5691 } ||
5692 {
5693 tmp=./conf$$-$RANDOM
5694 (umask 077 && mkdir "$tmp")
5695 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5696 ac_tmp=$tmp
5697
5698 # Set up the scripts for CONFIG_FILES section.
5699 # No need to generate them if there are no CONFIG_FILES.
5700 # This happens for instance with `./config.status config.h'.
5701 if test -n "$CONFIG_FILES"; then
5702
5703
5704 ac_cr=`echo X | tr X '\015'`
5705 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5706 # But we know of no other shell where ac_cr would be empty at this
5707 # point, so we can use a bashism as a fallback.
5708 if test "x$ac_cr" = x; then
5709 eval ac_cr=\$\'\\r\'
5710 fi
5711 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5712 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5713 ac_cs_awk_cr='\\r'
5714 else
5715 ac_cs_awk_cr=$ac_cr
5716 fi
5717
5718 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5719 _ACEOF
5720
5721
5722 {
5723 echo "cat >conf$$subs.awk <<_ACEOF" &&
5724 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5725 echo "_ACEOF"
5726 } >conf$$subs.sh ||
5727 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5728 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5729 ac_delim='%!_!# '
5730 for ac_last_try in false false false false false :; do
5731 . ./conf$$subs.sh ||
5732 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5733
5734 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5735 if test $ac_delim_n = $ac_delim_num; then
5736 break
5737 elif $ac_last_try; then
5738 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5739 else
5740 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5741 fi
5742 done
5743 rm -f conf$$subs.sh
5744
5745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5746 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5747 _ACEOF
5748 sed -n '
5749 h
5750 s/^/S["/; s/!.*/"]=/
5751 p
5752 g
5753 s/^[^!]*!//
5754 :repl
5755 t repl
5756 s/'"$ac_delim"'$//
5757 t delim
5758 :nl
5759 h
5760 s/\(.\{148\}\)..*/\1/
5761 t more1
5762 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5763 p
5764 n
5765 b repl
5766 :more1
5767 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5768 p
5769 g
5770 s/.\{148\}//
5771 t nl
5772 :delim
5773 h
5774 s/\(.\{148\}\)..*/\1/
5775 t more2
5776 s/["\\]/\\&/g; s/^/"/; s/$/"/
5777 p
5778 b
5779 :more2
5780 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5781 p
5782 g
5783 s/.\{148\}//
5784 t delim
5785 ' <conf$$subs.awk | sed '
5786 /^[^""]/{
5787 N
5788 s/\n//
5789 }
5790 ' >>$CONFIG_STATUS || ac_write_fail=1
5791 rm -f conf$$subs.awk
5792 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5793 _ACAWK
5794 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5795 for (key in S) S_is_set[key] = 1
5796 FS = ""
5797
5798 }
5799 {
5800 line = $ 0
5801 nfields = split(line, field, "@")
5802 substed = 0
5803 len = length(field[1])
5804 for (i = 2; i < nfields; i++) {
5805 key = field[i]
5806 keylen = length(key)
5807 if (S_is_set[key]) {
5808 value = S[key]
5809 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5810 len += length(value) + length(field[++i])
5811 substed = 1
5812 } else
5813 len += 1 + keylen
5814 }
5815
5816 print line
5817 }
5818
5819 _ACAWK
5820 _ACEOF
5821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5822 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5823 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5824 else
5825 cat
5826 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5827 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5828 _ACEOF
5829
5830 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5831 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5832 # trailing colons and then remove the whole line if VPATH becomes empty
5833 # (actually we leave an empty line to preserve line numbers).
5834 if test "x$srcdir" = x.; then
5835 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5836 h
5837 s///
5838 s/^/:/
5839 s/[ ]*$/:/
5840 s/:\$(srcdir):/:/g
5841 s/:\${srcdir}:/:/g
5842 s/:@srcdir@:/:/g
5843 s/^:*//
5844 s/:*$//
5845 x
5846 s/\(=[ ]*\).*/\1/
5847 G
5848 s/\n//
5849 s/^[^=]*=[ ]*$//
5850 }'
5851 fi
5852
5853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5854 fi # test -n "$CONFIG_FILES"
5855
5856 # Set up the scripts for CONFIG_HEADERS section.
5857 # No need to generate them if there are no CONFIG_HEADERS.
5858 # This happens for instance with `./config.status Makefile'.
5859 if test -n "$CONFIG_HEADERS"; then
5860 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5861 BEGIN {
5862 _ACEOF
5863
5864 # Transform confdefs.h into an awk script `defines.awk', embedded as
5865 # here-document in config.status, that substitutes the proper values into
5866 # config.h.in to produce config.h.
5867
5868 # Create a delimiter string that does not exist in confdefs.h, to ease
5869 # handling of long lines.
5870 ac_delim='%!_!# '
5871 for ac_last_try in false false :; do
5872 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5873 if test -z "$ac_tt"; then
5874 break
5875 elif $ac_last_try; then
5876 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5877 else
5878 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5879 fi
5880 done
5881
5882 # For the awk script, D is an array of macro values keyed by name,
5883 # likewise P contains macro parameters if any. Preserve backslash
5884 # newline sequences.
5885
5886 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5887 sed -n '
5888 s/.\{148\}/&'"$ac_delim"'/g
5889 t rset
5890 :rset
5891 s/^[ ]*#[ ]*define[ ][ ]*/ /
5892 t def
5893 d
5894 :def
5895 s/\\$//
5896 t bsnl
5897 s/["\\]/\\&/g
5898 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5899 D["\1"]=" \3"/p
5900 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5901 d
5902 :bsnl
5903 s/["\\]/\\&/g
5904 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5905 D["\1"]=" \3\\\\\\n"\\/p
5906 t cont
5907 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5908 t cont
5909 d
5910 :cont
5911 n
5912 s/.\{148\}/&'"$ac_delim"'/g
5913 t clear
5914 :clear
5915 s/\\$//
5916 t bsnlc
5917 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5918 d
5919 :bsnlc
5920 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5921 b cont
5922 ' <confdefs.h | sed '
5923 s/'"$ac_delim"'/"\\\
5924 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5925
5926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5927 for (key in D) D_is_set[key] = 1
5928 FS = ""
5929 }
5930 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5931 line = \$ 0
5932 split(line, arg, " ")
5933 if (arg[1] == "#") {
5934 defundef = arg[2]
5935 mac1 = arg[3]
5936 } else {
5937 defundef = substr(arg[1], 2)
5938 mac1 = arg[2]
5939 }
5940 split(mac1, mac2, "(") #)
5941 macro = mac2[1]
5942 prefix = substr(line, 1, index(line, defundef) - 1)
5943 if (D_is_set[macro]) {
5944 # Preserve the white space surrounding the "#".
5945 print prefix "define", macro P[macro] D[macro]
5946 next
5947 } else {
5948 # Replace #undef with comments. This is necessary, for example,
5949 # in the case of _POSIX_SOURCE, which is predefined and required
5950 # on some systems where configure will not decide to define it.
5951 if (defundef == "undef") {
5952 print "/*", prefix defundef, macro, "*/"
5953 next
5954 }
5955 }
5956 }
5957 { print }
5958 _ACAWK
5959 _ACEOF
5960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5961 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5962 fi # test -n "$CONFIG_HEADERS"
5963
5964
5965 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5966 shift
5967 for ac_tag
5968 do
5969 case $ac_tag in
5970 :[FHLC]) ac_mode=$ac_tag; continue;;
5971 esac
5972 case $ac_mode$ac_tag in
5973 :[FHL]*:*);;
5974 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5975 :[FH]-) ac_tag=-:-;;
5976 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5977 esac
5978 ac_save_IFS=$IFS
5979 IFS=:
5980 set x $ac_tag
5981 IFS=$ac_save_IFS
5982 shift
5983 ac_file=$1
5984 shift
5985
5986 case $ac_mode in
5987 :L) ac_source=$1;;
5988 :[FH])
5989 ac_file_inputs=
5990 for ac_f
5991 do
5992 case $ac_f in
5993 -) ac_f="$ac_tmp/stdin";;
5994 *) # Look for the file first in the build tree, then in the source tree
5995 # (if the path is not absolute). The absolute path cannot be DOS-style,
5996 # because $ac_f cannot contain `:'.
5997 test -f "$ac_f" ||
5998 case $ac_f in
5999 [\\/$]*) false;;
6000 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6001 esac ||
6002 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6003 esac
6004 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6005 as_fn_append ac_file_inputs " '$ac_f'"
6006 done
6007
6008 # Let's still pretend it is `configure' which instantiates (i.e., don't
6009 # use $as_me), people would be surprised to read:
6010 # /* config.h. Generated by config.status. */
6011 configure_input='Generated from '`
6012 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6013 `' by configure.'
6014 if test x"$ac_file" != x-; then
6015 configure_input="$ac_file. $configure_input"
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6017 $as_echo "$as_me: creating $ac_file" >&6;}
6018 fi
6019 # Neutralize special characters interpreted by sed in replacement strings.
6020 case $configure_input in #(
6021 *\&* | *\|* | *\\* )
6022 ac_sed_conf_input=`$as_echo "$configure_input" |
6023 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6024 *) ac_sed_conf_input=$configure_input;;
6025 esac
6026
6027 case $ac_tag in
6028 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6029 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6030 esac
6031 ;;
6032 esac
6033
6034 ac_dir=`$as_dirname -- "$ac_file" ||
6035 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6036 X"$ac_file" : 'X\(//\)[^/]' \| \
6037 X"$ac_file" : 'X\(//\)$' \| \
6038 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6039 $as_echo X"$ac_file" |
6040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6041 s//\1/
6042 q
6043 }
6044 /^X\(\/\/\)[^/].*/{
6045 s//\1/
6046 q
6047 }
6048 /^X\(\/\/\)$/{
6049 s//\1/
6050 q
6051 }
6052 /^X\(\/\).*/{
6053 s//\1/
6054 q
6055 }
6056 s/.*/./; q'`
6057 as_dir="$ac_dir"; as_fn_mkdir_p
6058 ac_builddir=.
6059
6060 case "$ac_dir" in
6061 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6062 *)
6063 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6064 # A ".." for each directory in $ac_dir_suffix.
6065 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6066 case $ac_top_builddir_sub in
6067 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6068 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6069 esac ;;
6070 esac
6071 ac_abs_top_builddir=$ac_pwd
6072 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6073 # for backward compatibility:
6074 ac_top_builddir=$ac_top_build_prefix
6075
6076 case $srcdir in
6077 .) # We are building in place.
6078 ac_srcdir=.
6079 ac_top_srcdir=$ac_top_builddir_sub
6080 ac_abs_top_srcdir=$ac_pwd ;;
6081 [\\/]* | ?:[\\/]* ) # Absolute name.
6082 ac_srcdir=$srcdir$ac_dir_suffix;
6083 ac_top_srcdir=$srcdir
6084 ac_abs_top_srcdir=$srcdir ;;
6085 *) # Relative name.
6086 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6087 ac_top_srcdir=$ac_top_build_prefix$srcdir
6088 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6089 esac
6090 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6091
6092
6093 case $ac_mode in
6094 :F)
6095 #
6096 # CONFIG_FILE
6097 #
6098
6099 case $INSTALL in
6100 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6101 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6102 esac
6103 ac_MKDIR_P=$MKDIR_P
6104 case $MKDIR_P in
6105 [\\/$]* | ?:[\\/]* ) ;;
6106 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6107 esac
6108 _ACEOF
6109
6110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6111 # If the template does not know about datarootdir, expand it.
6112 # FIXME: This hack should be removed a few years after 2.60.
6113 ac_datarootdir_hack=; ac_datarootdir_seen=
6114 ac_sed_dataroot='
6115 /datarootdir/ {
6116 p
6117 q
6118 }
6119 /@datadir@/p
6120 /@docdir@/p
6121 /@infodir@/p
6122 /@localedir@/p
6123 /@mandir@/p'
6124 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6125 *datarootdir*) ac_datarootdir_seen=yes;;
6126 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6128 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6129 _ACEOF
6130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6131 ac_datarootdir_hack='
6132 s&@datadir@&$datadir&g
6133 s&@docdir@&$docdir&g
6134 s&@infodir@&$infodir&g
6135 s&@localedir@&$localedir&g
6136 s&@mandir@&$mandir&g
6137 s&\\\${datarootdir}&$datarootdir&g' ;;
6138 esac
6139 _ACEOF
6140
6141 # Neutralize VPATH when `$srcdir' = `.'.
6142 # Shell code in configure.ac might set extrasub.
6143 # FIXME: do we really want to maintain this feature?
6144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6145 ac_sed_extra="$ac_vpsub
6146 $extrasub
6147 _ACEOF
6148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6149 :t
6150 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6151 s|@configure_input@|$ac_sed_conf_input|;t t
6152 s&@top_builddir@&$ac_top_builddir_sub&;t t
6153 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6154 s&@srcdir@&$ac_srcdir&;t t
6155 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6156 s&@top_srcdir@&$ac_top_srcdir&;t t
6157 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6158 s&@builddir@&$ac_builddir&;t t
6159 s&@abs_builddir@&$ac_abs_builddir&;t t
6160 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6161 s&@INSTALL@&$ac_INSTALL&;t t
6162 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6163 $ac_datarootdir_hack
6164 "
6165 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6166 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6167
6168 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6169 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6170 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6171 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6173 which seems to be undefined. Please make sure it is defined" >&5
6174 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6175 which seems to be undefined. Please make sure it is defined" >&2;}
6176
6177 rm -f "$ac_tmp/stdin"
6178 case $ac_file in
6179 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6180 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6181 esac \
6182 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6183 ;;
6184 :H)
6185 #
6186 # CONFIG_HEADER
6187 #
6188 if test x"$ac_file" != x-; then
6189 {
6190 $as_echo "/* $configure_input */" \
6191 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6192 } >"$ac_tmp/config.h" \
6193 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6194 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6196 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6197 else
6198 rm -f "$ac_file"
6199 mv "$ac_tmp/config.h" "$ac_file" \
6200 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6201 fi
6202 else
6203 $as_echo "/* $configure_input */" \
6204 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6205 || as_fn_error $? "could not create -" "$LINENO" 5
6206 fi
6207 # Compute "$ac_file"'s index in $config_headers.
6208 _am_arg="$ac_file"
6209 _am_stamp_count=1
6210 for _am_header in $config_headers :; do
6211 case $_am_header in
6212 $_am_arg | $_am_arg:* )
6213 break ;;
6214 * )
6215 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6216 esac
6217 done
6218 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6219 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6220 X"$_am_arg" : 'X\(//\)[^/]' \| \
6221 X"$_am_arg" : 'X\(//\)$' \| \
6222 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6223 $as_echo X"$_am_arg" |
6224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6225 s//\1/
6226 q
6227 }
6228 /^X\(\/\/\)[^/].*/{
6229 s//\1/
6230 q
6231 }
6232 /^X\(\/\/\)$/{
6233 s//\1/
6234 q
6235 }
6236 /^X\(\/\).*/{
6237 s//\1/
6238 q
6239 }
6240 s/.*/./; q'`/stamp-h$_am_stamp_count
6241 ;;
6242
6243 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6244 $as_echo "$as_me: executing $ac_file commands" >&6;}
6245 ;;
6246 esac
6247
6248
6249 case $ac_file$ac_mode in
6250 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6251 # Older Autoconf quotes --file arguments for eval, but not when files
6252 # are listed without --file. Let's play safe and only enable the eval
6253 # if we detect the quoting.
6254 # TODO: see whether this extra hack can be removed once we start
6255 # requiring Autoconf 2.70 or later.
6256 case $CONFIG_FILES in #(
6257 *\'*) :
6258 eval set x "$CONFIG_FILES" ;; #(
6259 *) :
6260 set x $CONFIG_FILES ;; #(
6261 *) :
6262 ;;
6263 esac
6264 shift
6265 # Used to flag and report bootstrapping failures.
6266 am_rc=0
6267 for am_mf
6268 do
6269 # Strip MF so we end up with the name of the file.
6270 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
6271 # Check whether this is an Automake generated Makefile which includes
6272 # dependency-tracking related rules and includes.
6273 # Grep'ing the whole file directly is not great: AIX grep has a line
6274 # limit of 2048, but all sed's we know have understand at least 4000.
6275 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
6276 || continue
6277 am_dirpart=`$as_dirname -- "$am_mf" ||
6278 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6279 X"$am_mf" : 'X\(//\)[^/]' \| \
6280 X"$am_mf" : 'X\(//\)$' \| \
6281 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6282 $as_echo X"$am_mf" |
6283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6284 s//\1/
6285 q
6286 }
6287 /^X\(\/\/\)[^/].*/{
6288 s//\1/
6289 q
6290 }
6291 /^X\(\/\/\)$/{
6292 s//\1/
6293 q
6294 }
6295 /^X\(\/\).*/{
6296 s//\1/
6297 q
6298 }
6299 s/.*/./; q'`
6300 am_filepart=`$as_basename -- "$am_mf" ||
6301 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
6302 X"$am_mf" : 'X\(//\)$' \| \
6303 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6304 $as_echo X/"$am_mf" |
6305 sed '/^.*\/\([^/][^/]*\)\/*$/{
6306 s//\1/
6307 q
6308 }
6309 /^X\/\(\/\/\)$/{
6310 s//\1/
6311 q
6312 }
6313 /^X\/\(\/\).*/{
6314 s//\1/
6315 q
6316 }
6317 s/.*/./; q'`
6318 { echo "$as_me:$LINENO: cd "$am_dirpart" \
6319 && sed -e '/# am--include-marker/d' "$am_filepart" \
6320 | $MAKE -f - am--depfiles" >&5
6321 (cd "$am_dirpart" \
6322 && sed -e '/# am--include-marker/d' "$am_filepart" \
6323 | $MAKE -f - am--depfiles) >&5 2>&5
6324 ac_status=$?
6325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6326 (exit $ac_status); } || am_rc=$?
6327 done
6328 if test $am_rc -ne 0; then
6329 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6331 as_fn_error $? "Something went wrong bootstrapping makefile fragments
6332 for automatic dependency tracking. Try re-running configure with the
6333 '--disable-dependency-tracking' option to at least be able to build
6334 the package (albeit without support for automatic dependency tracking).
6335 See \`config.log' for more details" "$LINENO" 5; }
6336 fi
6337 { am_dirpart=; unset am_dirpart;}
6338 { am_filepart=; unset am_filepart;}
6339 { am_mf=; unset am_mf;}
6340 { am_rc=; unset am_rc;}
6341 rm -f conftest-deps.mk
6342 }
6343 ;;
6344
6345 esac
6346 done # for ac_tag
6347
6348
6349 as_fn_exit 0
6350 _ACEOF
6351 ac_clean_files=$ac_clean_files_save
6352
6353 test $ac_write_fail = 0 ||
6354 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6355
6356
6357 # configure is writing to config.log, and then calls config.status.
6358 # config.status does its own redirection, appending to config.log.
6359 # Unfortunately, on DOS this fails, as config.log is still kept open
6360 # by configure, so config.status won't be able to write to it; its
6361 # output is simply discarded. So we exec the FD to /dev/null,
6362 # effectively closing config.log, so it can be properly (re)opened and
6363 # appended to by config.status. When coming back to configure, we
6364 # need to make the FD available again.
6365 if test "$no_create" != yes; then
6366 ac_cs_success=:
6367 ac_config_status_args=
6368 test "$silent" = yes &&
6369 ac_config_status_args="$ac_config_status_args --quiet"
6370 exec 5>/dev/null
6371 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6372 exec 5>>config.log
6373 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6374 # would make configure fail if this is the last instruction.
6375 $ac_cs_success || as_fn_exit 1
6376 fi
6377 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6379 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6380 fi
6381