Debian Codegraph @

configure

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