Debian Codegraph @

configure

raw symbols SCIP
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for gvars3 0.6.
4 #
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 # Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139 emulate sh
140 NULLCMD=:
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
144 setopt NO_GLOB_SUBST
145 else
146 case \`(set -o) 2>/dev/null\` in #(
147 *posix*) :
148 set -o posix ;; #(
149 *) :
150 ;;
151 esac
152 fi
153 "
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
159
160 exitcode=0
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166
167 else
168 exitcode=1; echo positional parameters were not saved.
169 fi
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev/null; then :
177 as_have_required=yes
178 else
179 as_have_required=no
180 fi
181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182
183 else
184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 as_found=false
186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187 do
188 IFS=$as_save_IFS
189 test -z "$as_dir" && as_dir=.
190 as_found=:
191 case $as_dir in #(
192 /*)
193 for as_base in sh bash ksh sh5; do
194 # Try only shells that exist, to save several forks.
195 as_shell=$as_dir/$as_base
196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 CONFIG_SHELL=$as_shell as_have_required=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 break 2
201 fi
202 fi
203 done;;
204 esac
205 as_found=false
206 done
207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209 CONFIG_SHELL=$SHELL as_have_required=yes
210 fi; }
211 IFS=$as_save_IFS
212
213
214 if test "x$CONFIG_SHELL" != x; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
219 BASH_ENV=/dev/null
220 ENV=/dev/null
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222 export CONFIG_SHELL
223 case $- in # ((((
224 *v*x* | *x*v* ) as_opts=-vx ;;
225 *v* ) as_opts=-v ;;
226 *x* ) as_opts=-x ;;
227 * ) as_opts= ;;
228 esac
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
230 fi
231
232 if test x$as_have_required = xno; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x${ZSH_VERSION+set} = xset ; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
238 else
239 $as_echo "$0: Please tell [email protected] about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
243 fi
244 exit 1
245 fi
246 fi
247 fi
248 SHELL=${CONFIG_SHELL-/bin/sh}
249 export SHELL
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE= GREP_OPTIONS=
252 unset CLICOLOR_FORCE GREP_OPTIONS
253
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
257 # as_fn_unset VAR
258 # ---------------
259 # Portably unset VAR.
260 as_fn_unset ()
261 {
262 { eval $1=; unset $1;}
263 }
264 as_unset=as_fn_unset
265
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
269 as_fn_set_status ()
270 {
271 return $1
272 } # as_fn_set_status
273
274 # as_fn_exit STATUS
275 # -----------------
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
277 as_fn_exit ()
278 {
279 set +e
280 as_fn_set_status $1
281 exit $1
282 } # as_fn_exit
283
284 # as_fn_mkdir_p
285 # -------------
286 # Create "$as_dir" as a directory, including parents if necessary.
287 as_fn_mkdir_p ()
288 {
289
290 case $as_dir in #(
291 -*) as_dir=./$as_dir;;
292 esac
293 test -d "$as_dir" || eval $as_mkdir_p || {
294 as_dirs=
295 while :; do
296 case $as_dir in #(
297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 *) as_qdir=$as_dir;;
299 esac
300 as_dirs="'$as_qdir' $as_dirs"
301 as_dir=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
308 s//\1/
309 q
310 }
311 /^X\(\/\/\)[^/].*/{
312 s//\1/
313 q
314 }
315 /^X\(\/\/\)$/{
316 s//\1/
317 q
318 }
319 /^X\(\/\).*/{
320 s//\1/
321 q
322 }
323 s/.*/./; q'`
324 test -d "$as_dir" && break
325 done
326 test -z "$as_dirs" || eval "mkdir $as_dirs"
327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
328
329
330 } # as_fn_mkdir_p
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
336 # implementations.
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
338 eval 'as_fn_append ()
339 {
340 eval $1+=\$2
341 }'
342 else
343 as_fn_append ()
344 {
345 eval $1=\$$1\$2
346 }
347 fi # as_fn_append
348
349 # as_fn_arith ARG...
350 # ------------------
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
355 eval 'as_fn_arith ()
356 {
357 as_val=$(( $* ))
358 }'
359 else
360 as_fn_arith ()
361 {
362 as_val=`expr "$@" || test $? -eq 1`
363 }
364 fi # as_fn_arith
365
366
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
368 # ----------------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with STATUS, using 1 if that was 0.
372 as_fn_error ()
373 {
374 as_status=$1; test $as_status -eq 0 && as_status=1
375 if test "$4"; then
376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
378 fi
379 $as_echo "$as_me: error: $2" >&2
380 as_fn_exit $as_status
381 } # as_fn_error
382
383 if expr a : '\(a\)' >/dev/null 2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 as_expr=expr
386 else
387 as_expr=false
388 fi
389
390 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 as_basename=basename
392 else
393 as_basename=false
394 fi
395
396 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_dirname=dirname
398 else
399 as_dirname=false
400 fi
401
402 as_me=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
406 $as_echo X/"$0" |
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
408 s//\1/
409 q
410 }
411 /^X\/\(\/\/\)$/{
412 s//\1/
413 q
414 }
415 /^X\/\(\/\).*/{
416 s//\1/
417 q
418 }
419 s/.*/./; q'`
420
421 # Avoid depending upon Character Ranges.
422 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits='0123456789'
426 as_cr_alnum=$as_cr_Letters$as_cr_digits
427
428
429 as_lineno_1=$LINENO as_lineno_1a=$LINENO
430 as_lineno_2=$LINENO as_lineno_2a=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
434 sed -n '
435 p
436 /[$]LINENO/=
437 ' <$as_myself |
438 sed '
439 s/[$]LINENO.*/&-/
440 t lineno
441 b
442 :lineno
443 N
444 :loop
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
446 t loop
447 s/-\n.*//
448 ' >$as_me.lineno &&
449 chmod +x "$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
451
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
455 . "./$as_me.lineno"
456 # Exit status is that of the last command.
457 exit
458 }
459
460 ECHO_C= ECHO_N= ECHO_T=
461 case `echo -n x` in #(((((
462 -n*)
463 case `echo 'xy\c'` in
464 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
465 xy) ECHO_C='\c';;
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
467 ECHO_T=' ';;
468 esac;;
469 *)
470 ECHO_N='-n';;
471 esac
472
473 rm -f conf$$ conf$$.exe conf$$.file
474 if test -d conf$$.dir; then
475 rm -f conf$$.dir/conf$$.file
476 else
477 rm -f conf$$.dir
478 mkdir conf$$.dir 2>/dev/null
479 fi
480 if (echo >conf$$.file) 2>/dev/null; then
481 if ln -s conf$$.file conf$$ 2>/dev/null; then
482 as_ln_s='ln -s'
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
488 as_ln_s='cp -p'
489 elif ln conf$$.file conf$$ 2>/dev/null; then
490 as_ln_s=ln
491 else
492 as_ln_s='cp -p'
493 fi
494 else
495 as_ln_s='cp -p'
496 fi
497 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
498 rmdir conf$$.dir 2>/dev/null
499
500 if mkdir -p . 2>/dev/null; then
501 as_mkdir_p='mkdir -p "$as_dir"'
502 else
503 test -d ./-p && rmdir ./-p
504 as_mkdir_p=false
505 fi
506
507 if test -x / >/dev/null 2>&1; then
508 as_test_x='test -x'
509 else
510 if ls -dL / >/dev/null 2>&1; then
511 as_ls_L_option=L
512 else
513 as_ls_L_option=
514 fi
515 as_test_x='
516 eval sh -c '\''
517 if test -d "$1"; then
518 test -d "$1/.";
519 else
520 case $1 in #(
521 -*)set "./$1";;
522 esac;
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
525 '\'' sh
526 '
527 fi
528 as_executable_p=$as_test_x
529
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
535
536
537 test -n "$DJDIR" || exec 7<&0 </dev/null
538 exec 6>&1
539
540 # Name of the host.
541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542 # so uname gets run too.
543 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
544
545 #
546 # Initializations.
547 #
548 ac_default_prefix=/usr/local
549 ac_clean_files=
550 ac_config_libobj_dir=.
551 LIBOBJS=
552 cross_compiling=no
553 subdirs=
554 MFLAGS=
555 MAKEFLAGS=
556
557 # Identity of this package.
558 PACKAGE_NAME='gvars3'
559 PACKAGE_TARNAME='gvars3'
560 PACKAGE_VERSION='0.6'
561 PACKAGE_STRING='gvars3 0.6'
562 PACKAGE_BUGREPORT=''
563 PACKAGE_URL=''
564
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
600
601 ac_subst_vars='LTLIBOBJS
602 LIBOBJS
603 HLIBS
604 minor
605 major
606 make_headless
607 make_debug
608 make_lang
609 make_normal
610 XMKMF
611 guiobj
612 a
613 have_readline
614 have_toon
615 osx_hacks
616 host_os
617 host_vendor
618 host_cpu
619 host
620 build_os
621 build_vendor
622 build_cpu
623 build
624 EGREP
625 GREP
626 CXXCPP
627 OBJEXT
628 EXEEXT
629 ac_ct_CXX
630 CPPFLAGS
631 LDFLAGS
632 CXXFLAGS
633 CXX
634 AWK
635 target_alias
636 host_alias
637 build_alias
638 LIBS
639 ECHO_T
640 ECHO_N
641 ECHO_C
642 DEFS
643 mandir
644 localedir
645 libdir
646 psdir
647 pdfdir
648 dvidir
649 htmldir
650 infodir
651 docdir
652 oldincludedir
653 includedir
654 localstatedir
655 sharedstatedir
656 sysconfdir
657 datadir
658 datarootdir
659 libexecdir
660 sbindir
661 bindir
662 program_transform_name
663 prefix
664 exec_prefix
665 PACKAGE_URL
666 PACKAGE_BUGREPORT
667 PACKAGE_STRING
668 PACKAGE_VERSION
669 PACKAGE_TARNAME
670 PACKAGE_NAME
671 PATH_SEPARATOR
672 SHELL'
673 ac_subst_files=''
674 ac_user_opts='
675 enable_option_checking
676 with_TooN
677 with_readline
678 enable_widgets
679 enable_fltk2
680 enable_fltk
681 enable_motif
682 with_x
683 with_head
684 with_lang
685 with_debug
686 with_headless
687 '
688 ac_precious_vars='build_alias
689 host_alias
690 target_alias
691 CXX
692 CXXFLAGS
693 LDFLAGS
694 LIBS
695 CPPFLAGS
696 CCC
697 CXXCPP
698 XMKMF'
699
700
701 # Initialize some variables set by options.
702 ac_init_help=
703 ac_init_version=false
704 ac_unrecognized_opts=
705 ac_unrecognized_sep=
706 # The variables have the same names as the options, with
707 # dashes changed to underlines.
708 cache_file=/dev/null
709 exec_prefix=NONE
710 no_create=
711 no_recursion=
712 prefix=NONE
713 program_prefix=NONE
714 program_suffix=NONE
715 program_transform_name=s,x,x,
716 silent=
717 site=
718 srcdir=
719 verbose=
720 x_includes=NONE
721 x_libraries=NONE
722
723 # Installation directory options.
724 # These are left unexpanded so users can "make install exec_prefix=/foo"
725 # and all the variables that are supposed to be based on exec_prefix
726 # by default will actually change.
727 # Use braces instead of parens because sh, perl, etc. also accept them.
728 # (The list follows the same order as the GNU Coding Standards.)
729 bindir='${exec_prefix}/bin'
730 sbindir='${exec_prefix}/sbin'
731 libexecdir='${exec_prefix}/libexec'
732 datarootdir='${prefix}/share'
733 datadir='${datarootdir}'
734 sysconfdir='${prefix}/etc'
735 sharedstatedir='${prefix}/com'
736 localstatedir='${prefix}/var'
737 includedir='${prefix}/include'
738 oldincludedir='/usr/include'
739 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
740 infodir='${datarootdir}/info'
741 htmldir='${docdir}'
742 dvidir='${docdir}'
743 pdfdir='${docdir}'
744 psdir='${docdir}'
745 libdir='${exec_prefix}/lib'
746 localedir='${datarootdir}/locale'
747 mandir='${datarootdir}/man'
748
749 ac_prev=
750 ac_dashdash=
751 for ac_option
752 do
753 # If the previous option needs an argument, assign it.
754 if test -n "$ac_prev"; then
755 eval $ac_prev=\$ac_option
756 ac_prev=
757 continue
758 fi
759
760 case $ac_option in
761 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
762 *=) ac_optarg= ;;
763 *) ac_optarg=yes ;;
764 esac
765
766 # Accept the important Cygnus configure options, so we can diagnose typos.
767
768 case $ac_dashdash$ac_option in
769 --)
770 ac_dashdash=yes ;;
771
772 -bindir | --bindir | --bindi | --bind | --bin | --bi)
773 ac_prev=bindir ;;
774 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
775 bindir=$ac_optarg ;;
776
777 -build | --build | --buil | --bui | --bu)
778 ac_prev=build_alias ;;
779 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
780 build_alias=$ac_optarg ;;
781
782 -cache-file | --cache-file | --cache-fil | --cache-fi \
783 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
784 ac_prev=cache_file ;;
785 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
786 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
787 cache_file=$ac_optarg ;;
788
789 --config-cache | -C)
790 cache_file=config.cache ;;
791
792 -datadir | --datadir | --datadi | --datad)
793 ac_prev=datadir ;;
794 -datadir=* | --datadir=* | --datadi=* | --datad=*)
795 datadir=$ac_optarg ;;
796
797 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
798 | --dataroo | --dataro | --datar)
799 ac_prev=datarootdir ;;
800 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
801 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
802 datarootdir=$ac_optarg ;;
803
804 -disable-* | --disable-*)
805 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
806 # Reject names that are not valid shell variable names.
807 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
808 as_fn_error $? "invalid feature name: $ac_useropt"
809 ac_useropt_orig=$ac_useropt
810 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
811 case $ac_user_opts in
812 *"
813 "enable_$ac_useropt"
814 "*) ;;
815 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
816 ac_unrecognized_sep=', ';;
817 esac
818 eval enable_$ac_useropt=no ;;
819
820 -docdir | --docdir | --docdi | --doc | --do)
821 ac_prev=docdir ;;
822 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
823 docdir=$ac_optarg ;;
824
825 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
826 ac_prev=dvidir ;;
827 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
828 dvidir=$ac_optarg ;;
829
830 -enable-* | --enable-*)
831 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
832 # Reject names that are not valid shell variable names.
833 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
834 as_fn_error $? "invalid feature name: $ac_useropt"
835 ac_useropt_orig=$ac_useropt
836 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
837 case $ac_user_opts in
838 *"
839 "enable_$ac_useropt"
840 "*) ;;
841 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
842 ac_unrecognized_sep=', ';;
843 esac
844 eval enable_$ac_useropt=\$ac_optarg ;;
845
846 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
847 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
848 | --exec | --exe | --ex)
849 ac_prev=exec_prefix ;;
850 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
851 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
852 | --exec=* | --exe=* | --ex=*)
853 exec_prefix=$ac_optarg ;;
854
855 -gas | --gas | --ga | --g)
856 # Obsolete; use --with-gas.
857 with_gas=yes ;;
858
859 -help | --help | --hel | --he | -h)
860 ac_init_help=long ;;
861 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
862 ac_init_help=recursive ;;
863 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
864 ac_init_help=short ;;
865
866 -host | --host | --hos | --ho)
867 ac_prev=host_alias ;;
868 -host=* | --host=* | --hos=* | --ho=*)
869 host_alias=$ac_optarg ;;
870
871 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
872 ac_prev=htmldir ;;
873 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
874 | --ht=*)
875 htmldir=$ac_optarg ;;
876
877 -includedir | --includedir | --includedi | --included | --include \
878 | --includ | --inclu | --incl | --inc)
879 ac_prev=includedir ;;
880 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
881 | --includ=* | --inclu=* | --incl=* | --inc=*)
882 includedir=$ac_optarg ;;
883
884 -infodir | --infodir | --infodi | --infod | --info | --inf)
885 ac_prev=infodir ;;
886 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
887 infodir=$ac_optarg ;;
888
889 -libdir | --libdir | --libdi | --libd)
890 ac_prev=libdir ;;
891 -libdir=* | --libdir=* | --libdi=* | --libd=*)
892 libdir=$ac_optarg ;;
893
894 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
895 | --libexe | --libex | --libe)
896 ac_prev=libexecdir ;;
897 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
898 | --libexe=* | --libex=* | --libe=*)
899 libexecdir=$ac_optarg ;;
900
901 -localedir | --localedir | --localedi | --localed | --locale)
902 ac_prev=localedir ;;
903 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
904 localedir=$ac_optarg ;;
905
906 -localstatedir | --localstatedir | --localstatedi | --localstated \
907 | --localstate | --localstat | --localsta | --localst | --locals)
908 ac_prev=localstatedir ;;
909 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
910 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
911 localstatedir=$ac_optarg ;;
912
913 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
914 ac_prev=mandir ;;
915 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
916 mandir=$ac_optarg ;;
917
918 -nfp | --nfp | --nf)
919 # Obsolete; use --without-fp.
920 with_fp=no ;;
921
922 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
923 | --no-cr | --no-c | -n)
924 no_create=yes ;;
925
926 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
927 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
928 no_recursion=yes ;;
929
930 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
931 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
932 | --oldin | --oldi | --old | --ol | --o)
933 ac_prev=oldincludedir ;;
934 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
935 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
936 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
937 oldincludedir=$ac_optarg ;;
938
939 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
940 ac_prev=prefix ;;
941 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
942 prefix=$ac_optarg ;;
943
944 -program-prefix | --program-prefix | --program-prefi | --program-pref \
945 | --program-pre | --program-pr | --program-p)
946 ac_prev=program_prefix ;;
947 -program-prefix=* | --program-prefix=* | --program-prefi=* \
948 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
949 program_prefix=$ac_optarg ;;
950
951 -program-suffix | --program-suffix | --program-suffi | --program-suff \
952 | --program-suf | --program-su | --program-s)
953 ac_prev=program_suffix ;;
954 -program-suffix=* | --program-suffix=* | --program-suffi=* \
955 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
956 program_suffix=$ac_optarg ;;
957
958 -program-transform-name | --program-transform-name \
959 | --program-transform-nam | --program-transform-na \
960 | --program-transform-n | --program-transform- \
961 | --program-transform | --program-transfor \
962 | --program-transfo | --program-transf \
963 | --program-trans | --program-tran \
964 | --progr-tra | --program-tr | --program-t)
965 ac_prev=program_transform_name ;;
966 -program-transform-name=* | --program-transform-name=* \
967 | --program-transform-nam=* | --program-transform-na=* \
968 | --program-transform-n=* | --program-transform-=* \
969 | --program-transform=* | --program-transfor=* \
970 | --program-transfo=* | --program-transf=* \
971 | --program-trans=* | --program-tran=* \
972 | --progr-tra=* | --program-tr=* | --program-t=*)
973 program_transform_name=$ac_optarg ;;
974
975 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
976 ac_prev=pdfdir ;;
977 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
978 pdfdir=$ac_optarg ;;
979
980 -psdir | --psdir | --psdi | --psd | --ps)
981 ac_prev=psdir ;;
982 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
983 psdir=$ac_optarg ;;
984
985 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
986 | -silent | --silent | --silen | --sile | --sil)
987 silent=yes ;;
988
989 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
990 ac_prev=sbindir ;;
991 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
992 | --sbi=* | --sb=*)
993 sbindir=$ac_optarg ;;
994
995 -sharedstatedir | --sharedstatedir | --sharedstatedi \
996 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
997 | --sharedst | --shareds | --shared | --share | --shar \
998 | --sha | --sh)
999 ac_prev=sharedstatedir ;;
1000 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1001 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1002 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1003 | --sha=* | --sh=*)
1004 sharedstatedir=$ac_optarg ;;
1005
1006 -site | --site | --sit)
1007 ac_prev=site ;;
1008 -site=* | --site=* | --sit=*)
1009 site=$ac_optarg ;;
1010
1011 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1012 ac_prev=srcdir ;;
1013 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1014 srcdir=$ac_optarg ;;
1015
1016 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1017 | --syscon | --sysco | --sysc | --sys | --sy)
1018 ac_prev=sysconfdir ;;
1019 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1020 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1021 sysconfdir=$ac_optarg ;;
1022
1023 -target | --target | --targe | --targ | --tar | --ta | --t)
1024 ac_prev=target_alias ;;
1025 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1026 target_alias=$ac_optarg ;;
1027
1028 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1029 verbose=yes ;;
1030
1031 -version | --version | --versio | --versi | --vers | -V)
1032 ac_init_version=: ;;
1033
1034 -with-* | --with-*)
1035 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1036 # Reject names that are not valid shell variable names.
1037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1038 as_fn_error $? "invalid package name: $ac_useropt"
1039 ac_useropt_orig=$ac_useropt
1040 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1041 case $ac_user_opts in
1042 *"
1043 "with_$ac_useropt"
1044 "*) ;;
1045 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1046 ac_unrecognized_sep=', ';;
1047 esac
1048 eval with_$ac_useropt=\$ac_optarg ;;
1049
1050 -without-* | --without-*)
1051 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1054 as_fn_error $? "invalid package name: $ac_useropt"
1055 ac_useropt_orig=$ac_useropt
1056 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1057 case $ac_user_opts in
1058 *"
1059 "with_$ac_useropt"
1060 "*) ;;
1061 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1062 ac_unrecognized_sep=', ';;
1063 esac
1064 eval with_$ac_useropt=no ;;
1065
1066 --x)
1067 # Obsolete; use --with-x.
1068 with_x=yes ;;
1069
1070 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1071 | --x-incl | --x-inc | --x-in | --x-i)
1072 ac_prev=x_includes ;;
1073 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1074 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1075 x_includes=$ac_optarg ;;
1076
1077 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1078 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1079 ac_prev=x_libraries ;;
1080 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1081 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1082 x_libraries=$ac_optarg ;;
1083
1084 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1085 Try \`$0 --help' for more information"
1086 ;;
1087
1088 *=*)
1089 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1090 # Reject names that are not valid shell variable names.
1091 case $ac_envvar in #(
1092 '' | [0-9]* | *[!_$as_cr_alnum]* )
1093 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1094 esac
1095 eval $ac_envvar=\$ac_optarg
1096 export $ac_envvar ;;
1097
1098 *)
1099 # FIXME: should be removed in autoconf 3.0.
1100 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1101 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1102 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1103 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1104 ;;
1105
1106 esac
1107 done
1108
1109 if test -n "$ac_prev"; then
1110 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1111 as_fn_error $? "missing argument to $ac_option"
1112 fi
1113
1114 if test -n "$ac_unrecognized_opts"; then
1115 case $enable_option_checking in
1116 no) ;;
1117 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1118 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1119 esac
1120 fi
1121
1122 # Check all directory arguments for consistency.
1123 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1124 datadir sysconfdir sharedstatedir localstatedir includedir \
1125 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1126 libdir localedir mandir
1127 do
1128 eval ac_val=\$$ac_var
1129 # Remove trailing slashes.
1130 case $ac_val in
1131 */ )
1132 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1133 eval $ac_var=\$ac_val;;
1134 esac
1135 # Be sure to have absolute directory names.
1136 case $ac_val in
1137 [\\/$]* | ?:[\\/]* ) continue;;
1138 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1139 esac
1140 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1141 done
1142
1143 # There might be people who depend on the old broken behavior: `$host'
1144 # used to hold the argument of --host etc.
1145 # FIXME: To remove some day.
1146 build=$build_alias
1147 host=$host_alias
1148 target=$target_alias
1149
1150 # FIXME: To remove some day.
1151 if test "x$host_alias" != x; then
1152 if test "x$build_alias" = x; then
1153 cross_compiling=maybe
1154 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1155 If a cross compiler is detected then cross compile mode will be used" >&2
1156 elif test "x$build_alias" != "x$host_alias"; then
1157 cross_compiling=yes
1158 fi
1159 fi
1160
1161 ac_tool_prefix=
1162 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1163
1164 test "$silent" = yes && exec 6>/dev/null
1165
1166
1167 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1168 ac_ls_di=`ls -di .` &&
1169 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1170 as_fn_error $? "working directory cannot be determined"
1171 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1172 as_fn_error $? "pwd does not report name of working directory"
1173
1174
1175 # Find the source files, if location was not specified.
1176 if test -z "$srcdir"; then
1177 ac_srcdir_defaulted=yes
1178 # Try the directory containing this script, then the parent directory.
1179 ac_confdir=`$as_dirname -- "$as_myself" ||
1180 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1181 X"$as_myself" : 'X\(//\)[^/]' \| \
1182 X"$as_myself" : 'X\(//\)$' \| \
1183 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1184 $as_echo X"$as_myself" |
1185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1186 s//\1/
1187 q
1188 }
1189 /^X\(\/\/\)[^/].*/{
1190 s//\1/
1191 q
1192 }
1193 /^X\(\/\/\)$/{
1194 s//\1/
1195 q
1196 }
1197 /^X\(\/\).*/{
1198 s//\1/
1199 q
1200 }
1201 s/.*/./; q'`
1202 srcdir=$ac_confdir
1203 if test ! -r "$srcdir/$ac_unique_file"; then
1204 srcdir=..
1205 fi
1206 else
1207 ac_srcdir_defaulted=no
1208 fi
1209 if test ! -r "$srcdir/$ac_unique_file"; then
1210 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1211 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1212 fi
1213 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1214 ac_abs_confdir=`(
1215 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1216 pwd)`
1217 # When building in place, set srcdir=.
1218 if test "$ac_abs_confdir" = "$ac_pwd"; then
1219 srcdir=.
1220 fi
1221 # Remove unnecessary trailing slashes from srcdir.
1222 # Double slashes in file names in object file debugging info
1223 # mess up M-x gdb in Emacs.
1224 case $srcdir in
1225 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1226 esac
1227 for ac_var in $ac_precious_vars; do
1228 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1229 eval ac_env_${ac_var}_value=\$${ac_var}
1230 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1231 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1232 done
1233
1234 #
1235 # Report the --help message.
1236 #
1237 if test "$ac_init_help" = "long"; then
1238 # Omit some internal or obsolete options to make the list less imposing.
1239 # This message is too long to be a string in the A/UX 3.1 sh.
1240 cat <<_ACEOF
1241 \`configure' configures gvars3 0.6 to adapt to many kinds of systems.
1242
1243 Usage: $0 [OPTION]... [VAR=VALUE]...
1244
1245 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1246 VAR=VALUE. See below for descriptions of some of the useful variables.
1247
1248 Defaults for the options are specified in brackets.
1249
1250 Configuration:
1251 -h, --help display this help and exit
1252 --help=short display options specific to this package
1253 --help=recursive display the short help of all the included packages
1254 -V, --version display version information and exit
1255 -q, --quiet, --silent do not print \`checking ...' messages
1256 --cache-file=FILE cache test results in FILE [disabled]
1257 -C, --config-cache alias for \`--cache-file=config.cache'
1258 -n, --no-create do not create output files
1259 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1260
1261 Installation directories:
1262 --prefix=PREFIX install architecture-independent files in PREFIX
1263 [$ac_default_prefix]
1264 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1265 [PREFIX]
1266
1267 By default, \`make install' will install all the files in
1268 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1269 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1270 for instance \`--prefix=\$HOME'.
1271
1272 For better control, use the options below.
1273
1274 Fine tuning of the installation directories:
1275 --bindir=DIR user executables [EPREFIX/bin]
1276 --sbindir=DIR system admin executables [EPREFIX/sbin]
1277 --libexecdir=DIR program executables [EPREFIX/libexec]
1278 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1279 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1280 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1281 --libdir=DIR object code libraries [EPREFIX/lib]
1282 --includedir=DIR C header files [PREFIX/include]
1283 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1284 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1285 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1286 --infodir=DIR info documentation [DATAROOTDIR/info]
1287 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1288 --mandir=DIR man documentation [DATAROOTDIR/man]
1289 --docdir=DIR documentation root [DATAROOTDIR/doc/gvars3]
1290 --htmldir=DIR html documentation [DOCDIR]
1291 --dvidir=DIR dvi documentation [DOCDIR]
1292 --pdfdir=DIR pdf documentation [DOCDIR]
1293 --psdir=DIR ps documentation [DOCDIR]
1294 _ACEOF
1295
1296 cat <<\_ACEOF
1297
1298 X features:
1299 --x-includes=DIR X include files are in DIR
1300 --x-libraries=DIR X library files are in DIR
1301
1302 System types:
1303 --build=BUILD configure for building on BUILD [guessed]
1304 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1305 _ACEOF
1306 fi
1307
1308 if test -n "$ac_init_help"; then
1309 case $ac_init_help in
1310 short | recursive ) echo "Configuration of gvars3 0.6:";;
1311 esac
1312 cat <<\_ACEOF
1313
1314 Optional Features:
1315 --disable-option-checking ignore unrecognized --enable/--with options
1316 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1317 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1318 --disable-widgets
1319 --disable-fltk2
1320 --disable-fltk
1321 --disable-motif
1322
1323 Optional Packages:
1324 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1325 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1326 --with-TooN
1327 --without-readline Disable use of libreadline
1328 --with-x use the X Window System
1329 --without-head Do not build normal, non headless version
1330 --with-lang Do not build nasty hacky builtin language
1331 --with-debug Build additional debug library
1332 --without-headless Do not build additional headless library
1333
1334 Some influential environment variables:
1335 CXX C++ compiler command
1336 CXXFLAGS C++ compiler flags
1337 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1338 nonstandard directory <lib dir>
1339 LIBS libraries to pass to the linker, e.g. -l<library>
1340 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1341 you have headers in a nonstandard directory <include dir>
1342 CXXCPP C++ preprocessor
1343 XMKMF Path to xmkmf, Makefile generator for X Window System
1344
1345 Use these variables to override the choices made by `configure' or to help
1346 it to find libraries and programs with nonstandard names/locations.
1347
1348 Report bugs to the package provider.
1349 _ACEOF
1350 ac_status=$?
1351 fi
1352
1353 if test "$ac_init_help" = "recursive"; then
1354 # If there are subdirs, report their specific --help.
1355 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1356 test -d "$ac_dir" ||
1357 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1358 continue
1359 ac_builddir=.
1360
1361 case "$ac_dir" in
1362 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1363 *)
1364 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1365 # A ".." for each directory in $ac_dir_suffix.
1366 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1367 case $ac_top_builddir_sub in
1368 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1369 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1370 esac ;;
1371 esac
1372 ac_abs_top_builddir=$ac_pwd
1373 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1374 # for backward compatibility:
1375 ac_top_builddir=$ac_top_build_prefix
1376
1377 case $srcdir in
1378 .) # We are building in place.
1379 ac_srcdir=.
1380 ac_top_srcdir=$ac_top_builddir_sub
1381 ac_abs_top_srcdir=$ac_pwd ;;
1382 [\\/]* | ?:[\\/]* ) # Absolute name.
1383 ac_srcdir=$srcdir$ac_dir_suffix;
1384 ac_top_srcdir=$srcdir
1385 ac_abs_top_srcdir=$srcdir ;;
1386 *) # Relative name.
1387 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1388 ac_top_srcdir=$ac_top_build_prefix$srcdir
1389 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1390 esac
1391 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1392
1393 cd "$ac_dir" || { ac_status=$?; continue; }
1394 # Check for guested configure.
1395 if test -f "$ac_srcdir/configure.gnu"; then
1396 echo &&
1397 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1398 elif test -f "$ac_srcdir/configure"; then
1399 echo &&
1400 $SHELL "$ac_srcdir/configure" --help=recursive
1401 else
1402 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1403 fi || ac_status=$?
1404 cd "$ac_pwd" || { ac_status=$?; break; }
1405 done
1406 fi
1407
1408 test -n "$ac_init_help" && exit $ac_status
1409 if $ac_init_version; then
1410 cat <<\_ACEOF
1411 gvars3 configure 0.6
1412 generated by GNU Autoconf 2.68
1413
1414 Copyright (C) 2010 Free Software Foundation, Inc.
1415 This configure script is free software; the Free Software Foundation
1416 gives unlimited permission to copy, distribute and modify it.
1417 _ACEOF
1418 exit
1419 fi
1420
1421 ## ------------------------ ##
1422 ## Autoconf initialization. ##
1423 ## ------------------------ ##
1424
1425 # ac_fn_cxx_try_compile LINENO
1426 # ----------------------------
1427 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1428 ac_fn_cxx_try_compile ()
1429 {
1430 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1431 rm -f conftest.$ac_objext
1432 if { { ac_try="$ac_compile"
1433 case "(($ac_try" in
1434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1435 *) ac_try_echo=$ac_try;;
1436 esac
1437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1438 $as_echo "$ac_try_echo"; } >&5
1439 (eval "$ac_compile") 2>conftest.err
1440 ac_status=$?
1441 if test -s conftest.err; then
1442 grep -v '^ *+' conftest.err >conftest.er1
1443 cat conftest.er1 >&5
1444 mv -f conftest.er1 conftest.err
1445 fi
1446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1447 test $ac_status = 0; } && {
1448 test -z "$ac_cxx_werror_flag" ||
1449 test ! -s conftest.err
1450 } && test -s conftest.$ac_objext; then :
1451 ac_retval=0
1452 else
1453 $as_echo "$as_me: failed program was:" >&5
1454 sed 's/^/| /' conftest.$ac_ext >&5
1455
1456 ac_retval=1
1457 fi
1458 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1459 as_fn_set_status $ac_retval
1460
1461 } # ac_fn_cxx_try_compile
1462
1463 # ac_fn_cxx_try_cpp LINENO
1464 # ------------------------
1465 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1466 ac_fn_cxx_try_cpp ()
1467 {
1468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1469 if { { ac_try="$ac_cpp conftest.$ac_ext"
1470 case "(($ac_try" in
1471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1472 *) ac_try_echo=$ac_try;;
1473 esac
1474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1475 $as_echo "$ac_try_echo"; } >&5
1476 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1477 ac_status=$?
1478 if test -s conftest.err; then
1479 grep -v '^ *+' conftest.err >conftest.er1
1480 cat conftest.er1 >&5
1481 mv -f conftest.er1 conftest.err
1482 fi
1483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1484 test $ac_status = 0; } > conftest.i && {
1485 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1486 test ! -s conftest.err
1487 }; then :
1488 ac_retval=0
1489 else
1490 $as_echo "$as_me: failed program was:" >&5
1491 sed 's/^/| /' conftest.$ac_ext >&5
1492
1493 ac_retval=1
1494 fi
1495 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1496 as_fn_set_status $ac_retval
1497
1498 } # ac_fn_cxx_try_cpp
1499
1500 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1501 # ---------------------------------------------------------
1502 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1503 # the include files in INCLUDES and setting the cache variable VAR
1504 # accordingly.
1505 ac_fn_cxx_check_header_mongrel ()
1506 {
1507 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1508 if eval \${$3+:} false; then :
1509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1510 $as_echo_n "checking for $2... " >&6; }
1511 if eval \${$3+:} false; then :
1512 $as_echo_n "(cached) " >&6
1513 fi
1514 eval ac_res=\$$3
1515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1516 $as_echo "$ac_res" >&6; }
1517 else
1518 # Is the header compilable?
1519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1520 $as_echo_n "checking $2 usability... " >&6; }
1521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1522 /* end confdefs.h. */
1523 $4
1524 #include <$2>
1525 _ACEOF
1526 if ac_fn_cxx_try_compile "$LINENO"; then :
1527 ac_header_compiler=yes
1528 else
1529 ac_header_compiler=no
1530 fi
1531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1533 $as_echo "$ac_header_compiler" >&6; }
1534
1535 # Is the header present?
1536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1537 $as_echo_n "checking $2 presence... " >&6; }
1538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1539 /* end confdefs.h. */
1540 #include <$2>
1541 _ACEOF
1542 if ac_fn_cxx_try_cpp "$LINENO"; then :
1543 ac_header_preproc=yes
1544 else
1545 ac_header_preproc=no
1546 fi
1547 rm -f conftest.err conftest.i conftest.$ac_ext
1548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1549 $as_echo "$ac_header_preproc" >&6; }
1550
1551 # So? What about this header?
1552 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1553 yes:no: )
1554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1555 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1557 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1558 ;;
1559 no:yes:* )
1560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1561 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1563 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1565 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1567 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1569 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1570 ;;
1571 esac
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1573 $as_echo_n "checking for $2... " >&6; }
1574 if eval \${$3+:} false; then :
1575 $as_echo_n "(cached) " >&6
1576 else
1577 eval "$3=\$ac_header_compiler"
1578 fi
1579 eval ac_res=\$$3
1580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1581 $as_echo "$ac_res" >&6; }
1582 fi
1583 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1584
1585 } # ac_fn_cxx_check_header_mongrel
1586
1587 # ac_fn_cxx_try_run LINENO
1588 # ------------------------
1589 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1590 # that executables *can* be run.
1591 ac_fn_cxx_try_run ()
1592 {
1593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1594 if { { ac_try="$ac_link"
1595 case "(($ac_try" in
1596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1597 *) ac_try_echo=$ac_try;;
1598 esac
1599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1600 $as_echo "$ac_try_echo"; } >&5
1601 (eval "$ac_link") 2>&5
1602 ac_status=$?
1603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1604 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1605 { { case "(($ac_try" in
1606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1607 *) ac_try_echo=$ac_try;;
1608 esac
1609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1610 $as_echo "$ac_try_echo"; } >&5
1611 (eval "$ac_try") 2>&5
1612 ac_status=$?
1613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1614 test $ac_status = 0; }; }; then :
1615 ac_retval=0
1616 else
1617 $as_echo "$as_me: program exited with status $ac_status" >&5
1618 $as_echo "$as_me: failed program was:" >&5
1619 sed 's/^/| /' conftest.$ac_ext >&5
1620
1621 ac_retval=$ac_status
1622 fi
1623 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1624 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1625 as_fn_set_status $ac_retval
1626
1627 } # ac_fn_cxx_try_run
1628
1629 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1630 # ---------------------------------------------------------
1631 # Tests whether HEADER exists and can be compiled using the include files in
1632 # INCLUDES, setting the cache variable VAR accordingly.
1633 ac_fn_cxx_check_header_compile ()
1634 {
1635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1637 $as_echo_n "checking for $2... " >&6; }
1638 if eval \${$3+:} false; then :
1639 $as_echo_n "(cached) " >&6
1640 else
1641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1642 /* end confdefs.h. */
1643 $4
1644 #include <$2>
1645 _ACEOF
1646 if ac_fn_cxx_try_compile "$LINENO"; then :
1647 eval "$3=yes"
1648 else
1649 eval "$3=no"
1650 fi
1651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1652 fi
1653 eval ac_res=\$$3
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1655 $as_echo "$ac_res" >&6; }
1656 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657
1658 } # ac_fn_cxx_check_header_compile
1659
1660 # ac_fn_cxx_try_link LINENO
1661 # -------------------------
1662 # Try to link conftest.$ac_ext, and return whether this succeeded.
1663 ac_fn_cxx_try_link ()
1664 {
1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666 rm -f conftest.$ac_objext conftest$ac_exeext
1667 if { { ac_try="$ac_link"
1668 case "(($ac_try" in
1669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1670 *) ac_try_echo=$ac_try;;
1671 esac
1672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673 $as_echo "$ac_try_echo"; } >&5
1674 (eval "$ac_link") 2>conftest.err
1675 ac_status=$?
1676 if test -s conftest.err; then
1677 grep -v '^ *+' conftest.err >conftest.er1
1678 cat conftest.er1 >&5
1679 mv -f conftest.er1 conftest.err
1680 fi
1681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682 test $ac_status = 0; } && {
1683 test -z "$ac_cxx_werror_flag" ||
1684 test ! -s conftest.err
1685 } && test -s conftest$ac_exeext && {
1686 test "$cross_compiling" = yes ||
1687 $as_test_x conftest$ac_exeext
1688 }; then :
1689 ac_retval=0
1690 else
1691 $as_echo "$as_me: failed program was:" >&5
1692 sed 's/^/| /' conftest.$ac_ext >&5
1693
1694 ac_retval=1
1695 fi
1696 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1697 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1698 # interfere with the next link command; also delete a directory that is
1699 # left behind by Apple's compiler. We do this before executing the actions.
1700 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1702 as_fn_set_status $ac_retval
1703
1704 } # ac_fn_cxx_try_link
1705 cat >config.log <<_ACEOF
1706 This file contains any messages produced by compilers while
1707 running configure, to aid debugging if configure makes a mistake.
1708
1709 It was created by gvars3 $as_me 0.6, which was
1710 generated by GNU Autoconf 2.68. Invocation command line was
1711
1712 $ $0 $@
1713
1714 _ACEOF
1715 exec 5>>config.log
1716 {
1717 cat <<_ASUNAME
1718 ## --------- ##
1719 ## Platform. ##
1720 ## --------- ##
1721
1722 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1723 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1724 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1725 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1726 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1727
1728 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1729 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1730
1731 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1732 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1733 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1734 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1735 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1736 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1737 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1738
1739 _ASUNAME
1740
1741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1742 for as_dir in $PATH
1743 do
1744 IFS=$as_save_IFS
1745 test -z "$as_dir" && as_dir=.
1746 $as_echo "PATH: $as_dir"
1747 done
1748 IFS=$as_save_IFS
1749
1750 } >&5
1751
1752 cat >&5 <<_ACEOF
1753
1754
1755 ## ----------- ##
1756 ## Core tests. ##
1757 ## ----------- ##
1758
1759 _ACEOF
1760
1761
1762 # Keep a trace of the command line.
1763 # Strip out --no-create and --no-recursion so they do not pile up.
1764 # Strip out --silent because we don't want to record it for future runs.
1765 # Also quote any args containing shell meta-characters.
1766 # Make two passes to allow for proper duplicate-argument suppression.
1767 ac_configure_args=
1768 ac_configure_args0=
1769 ac_configure_args1=
1770 ac_must_keep_next=false
1771 for ac_pass in 1 2
1772 do
1773 for ac_arg
1774 do
1775 case $ac_arg in
1776 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1777 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1778 | -silent | --silent | --silen | --sile | --sil)
1779 continue ;;
1780 *\'*)
1781 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1782 esac
1783 case $ac_pass in
1784 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1785 2)
1786 as_fn_append ac_configure_args1 " '$ac_arg'"
1787 if test $ac_must_keep_next = true; then
1788 ac_must_keep_next=false # Got value, back to normal.
1789 else
1790 case $ac_arg in
1791 *=* | --config-cache | -C | -disable-* | --disable-* \
1792 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1793 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1794 | -with-* | --with-* | -without-* | --without-* | --x)
1795 case "$ac_configure_args0 " in
1796 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1797 esac
1798 ;;
1799 -* ) ac_must_keep_next=true ;;
1800 esac
1801 fi
1802 as_fn_append ac_configure_args " '$ac_arg'"
1803 ;;
1804 esac
1805 done
1806 done
1807 { ac_configure_args0=; unset ac_configure_args0;}
1808 { ac_configure_args1=; unset ac_configure_args1;}
1809
1810 # When interrupted or exit'd, cleanup temporary files, and complete
1811 # config.log. We remove comments because anyway the quotes in there
1812 # would cause problems or look ugly.
1813 # WARNING: Use '\'' to represent an apostrophe within the trap.
1814 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1815 trap 'exit_status=$?
1816 # Save into config.log some information that might help in debugging.
1817 {
1818 echo
1819
1820 $as_echo "## ---------------- ##
1821 ## Cache variables. ##
1822 ## ---------------- ##"
1823 echo
1824 # The following way of writing the cache mishandles newlines in values,
1825 (
1826 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1827 eval ac_val=\$$ac_var
1828 case $ac_val in #(
1829 *${as_nl}*)
1830 case $ac_var in #(
1831 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1832 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1833 esac
1834 case $ac_var in #(
1835 _ | IFS | as_nl) ;; #(
1836 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1837 *) { eval $ac_var=; unset $ac_var;} ;;
1838 esac ;;
1839 esac
1840 done
1841 (set) 2>&1 |
1842 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1843 *${as_nl}ac_space=\ *)
1844 sed -n \
1845 "s/'\''/'\''\\\\'\'''\''/g;
1846 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1847 ;; #(
1848 *)
1849 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1850 ;;
1851 esac |
1852 sort
1853 )
1854 echo
1855
1856 $as_echo "## ----------------- ##
1857 ## Output variables. ##
1858 ## ----------------- ##"
1859 echo
1860 for ac_var in $ac_subst_vars
1861 do
1862 eval ac_val=\$$ac_var
1863 case $ac_val in
1864 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1865 esac
1866 $as_echo "$ac_var='\''$ac_val'\''"
1867 done | sort
1868 echo
1869
1870 if test -n "$ac_subst_files"; then
1871 $as_echo "## ------------------- ##
1872 ## File substitutions. ##
1873 ## ------------------- ##"
1874 echo
1875 for ac_var in $ac_subst_files
1876 do
1877 eval ac_val=\$$ac_var
1878 case $ac_val in
1879 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1880 esac
1881 $as_echo "$ac_var='\''$ac_val'\''"
1882 done | sort
1883 echo
1884 fi
1885
1886 if test -s confdefs.h; then
1887 $as_echo "## ----------- ##
1888 ## confdefs.h. ##
1889 ## ----------- ##"
1890 echo
1891 cat confdefs.h
1892 echo
1893 fi
1894 test "$ac_signal" != 0 &&
1895 $as_echo "$as_me: caught signal $ac_signal"
1896 $as_echo "$as_me: exit $exit_status"
1897 } >&5
1898 rm -f core *.core core.conftest.* &&
1899 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1900 exit $exit_status
1901 ' 0
1902 for ac_signal in 1 2 13 15; do
1903 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1904 done
1905 ac_signal=0
1906
1907 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1908 rm -f -r conftest* confdefs.h
1909
1910 $as_echo "/* confdefs.h */" > confdefs.h
1911
1912 # Predefined preprocessor variables.
1913
1914 cat >>confdefs.h <<_ACEOF
1915 #define PACKAGE_NAME "$PACKAGE_NAME"
1916 _ACEOF
1917
1918 cat >>confdefs.h <<_ACEOF
1919 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1920 _ACEOF
1921
1922 cat >>confdefs.h <<_ACEOF
1923 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1924 _ACEOF
1925
1926 cat >>confdefs.h <<_ACEOF
1927 #define PACKAGE_STRING "$PACKAGE_STRING"
1928 _ACEOF
1929
1930 cat >>confdefs.h <<_ACEOF
1931 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1932 _ACEOF
1933
1934 cat >>confdefs.h <<_ACEOF
1935 #define PACKAGE_URL "$PACKAGE_URL"
1936 _ACEOF
1937
1938
1939 # Let the site file select an alternate cache file if it wants to.
1940 # Prefer an explicitly selected file to automatically selected ones.
1941 ac_site_file1=NONE
1942 ac_site_file2=NONE
1943 if test -n "$CONFIG_SITE"; then
1944 # We do not want a PATH search for config.site.
1945 case $CONFIG_SITE in #((
1946 -*) ac_site_file1=./$CONFIG_SITE;;
1947 */*) ac_site_file1=$CONFIG_SITE;;
1948 *) ac_site_file1=./$CONFIG_SITE;;
1949 esac
1950 elif test "x$prefix" != xNONE; then
1951 ac_site_file1=$prefix/share/config.site
1952 ac_site_file2=$prefix/etc/config.site
1953 else
1954 ac_site_file1=$ac_default_prefix/share/config.site
1955 ac_site_file2=$ac_default_prefix/etc/config.site
1956 fi
1957 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1958 do
1959 test "x$ac_site_file" = xNONE && continue
1960 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1962 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1963 sed 's/^/| /' "$ac_site_file" >&5
1964 . "$ac_site_file" \
1965 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1967 as_fn_error $? "failed to load site script $ac_site_file
1968 See \`config.log' for more details" "$LINENO" 5; }
1969 fi
1970 done
1971
1972 if test -r "$cache_file"; then
1973 # Some versions of bash will fail to source /dev/null (special files
1974 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1975 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1977 $as_echo "$as_me: loading cache $cache_file" >&6;}
1978 case $cache_file in
1979 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1980 *) . "./$cache_file";;
1981 esac
1982 fi
1983 else
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1985 $as_echo "$as_me: creating cache $cache_file" >&6;}
1986 >$cache_file
1987 fi
1988
1989 # Check that the precious variables saved in the cache have kept the same
1990 # value.
1991 ac_cache_corrupted=false
1992 for ac_var in $ac_precious_vars; do
1993 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1994 eval ac_new_set=\$ac_env_${ac_var}_set
1995 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1996 eval ac_new_val=\$ac_env_${ac_var}_value
1997 case $ac_old_set,$ac_new_set in
1998 set,)
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2000 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2001 ac_cache_corrupted=: ;;
2002 ,set)
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2004 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2005 ac_cache_corrupted=: ;;
2006 ,);;
2007 *)
2008 if test "x$ac_old_val" != "x$ac_new_val"; then
2009 # differences in whitespace do not lead to failure.
2010 ac_old_val_w=`echo x $ac_old_val`
2011 ac_new_val_w=`echo x $ac_new_val`
2012 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2014 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2015 ac_cache_corrupted=:
2016 else
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2018 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2019 eval $ac_var=\$ac_old_val
2020 fi
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2022 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2024 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2025 fi;;
2026 esac
2027 # Pass precious variables to config.status.
2028 if test "$ac_new_set" = set; then
2029 case $ac_new_val in
2030 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2031 *) ac_arg=$ac_var=$ac_new_val ;;
2032 esac
2033 case " $ac_configure_args " in
2034 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2035 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2036 esac
2037 fi
2038 done
2039 if $ac_cache_corrupted; then
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2043 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2044 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2045 fi
2046 ## -------------------- ##
2047 ## Main body of script. ##
2048 ## -------------------- ##
2049
2050 ac_ext=c
2051 ac_cpp='$CPP $CPPFLAGS'
2052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2055
2056
2057 for ac_prog in gawk mawk nawk awk
2058 do
2059 # Extract the first word of "$ac_prog", so it can be a program name with args.
2060 set dummy $ac_prog; ac_word=$2
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2062 $as_echo_n "checking for $ac_word... " >&6; }
2063 if ${ac_cv_prog_AWK+:} false; then :
2064 $as_echo_n "(cached) " >&6
2065 else
2066 if test -n "$AWK"; then
2067 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2068 else
2069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2070 for as_dir in $PATH
2071 do
2072 IFS=$as_save_IFS
2073 test -z "$as_dir" && as_dir=.
2074 for ac_exec_ext in '' $ac_executable_extensions; do
2075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2076 ac_cv_prog_AWK="$ac_prog"
2077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2078 break 2
2079 fi
2080 done
2081 done
2082 IFS=$as_save_IFS
2083
2084 fi
2085 fi
2086 AWK=$ac_cv_prog_AWK
2087 if test -n "$AWK"; then
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2089 $as_echo "$AWK" >&6; }
2090 else
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2092 $as_echo "no" >&6; }
2093 fi
2094
2095
2096 test -n "$AWK" && break
2097 done
2098
2099 ac_ext=cpp
2100 ac_cpp='$CXXCPP $CPPFLAGS'
2101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2104
2105
2106 ac_ext=cpp
2107 ac_cpp='$CXXCPP $CPPFLAGS'
2108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2111 if test -z "$CXX"; then
2112 if test -n "$CCC"; then
2113 CXX=$CCC
2114 else
2115 if test -n "$ac_tool_prefix"; then
2116 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2117 do
2118 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2119 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2121 $as_echo_n "checking for $ac_word... " >&6; }
2122 if ${ac_cv_prog_CXX+:} false; then :
2123 $as_echo_n "(cached) " >&6
2124 else
2125 if test -n "$CXX"; then
2126 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2127 else
2128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129 for as_dir in $PATH
2130 do
2131 IFS=$as_save_IFS
2132 test -z "$as_dir" && as_dir=.
2133 for ac_exec_ext in '' $ac_executable_extensions; do
2134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2135 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2137 break 2
2138 fi
2139 done
2140 done
2141 IFS=$as_save_IFS
2142
2143 fi
2144 fi
2145 CXX=$ac_cv_prog_CXX
2146 if test -n "$CXX"; then
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2148 $as_echo "$CXX" >&6; }
2149 else
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2151 $as_echo "no" >&6; }
2152 fi
2153
2154
2155 test -n "$CXX" && break
2156 done
2157 fi
2158 if test -z "$CXX"; then
2159 ac_ct_CXX=$CXX
2160 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2161 do
2162 # Extract the first word of "$ac_prog", so it can be a program name with args.
2163 set dummy $ac_prog; ac_word=$2
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2165 $as_echo_n "checking for $ac_word... " >&6; }
2166 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2167 $as_echo_n "(cached) " >&6
2168 else
2169 if test -n "$ac_ct_CXX"; then
2170 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2171 else
2172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2173 for as_dir in $PATH
2174 do
2175 IFS=$as_save_IFS
2176 test -z "$as_dir" && as_dir=.
2177 for ac_exec_ext in '' $ac_executable_extensions; do
2178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2179 ac_cv_prog_ac_ct_CXX="$ac_prog"
2180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2181 break 2
2182 fi
2183 done
2184 done
2185 IFS=$as_save_IFS
2186
2187 fi
2188 fi
2189 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2190 if test -n "$ac_ct_CXX"; then
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2192 $as_echo "$ac_ct_CXX" >&6; }
2193 else
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2195 $as_echo "no" >&6; }
2196 fi
2197
2198
2199 test -n "$ac_ct_CXX" && break
2200 done
2201
2202 if test "x$ac_ct_CXX" = x; then
2203 CXX="g++"
2204 else
2205 case $cross_compiling:$ac_tool_warned in
2206 yes:)
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2209 ac_tool_warned=yes ;;
2210 esac
2211 CXX=$ac_ct_CXX
2212 fi
2213 fi
2214
2215 fi
2216 fi
2217 # Provide some information about the compiler.
2218 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2219 set X $ac_compile
2220 ac_compiler=$2
2221 for ac_option in --version -v -V -qversion; do
2222 { { ac_try="$ac_compiler $ac_option >&5"
2223 case "(($ac_try" in
2224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2225 *) ac_try_echo=$ac_try;;
2226 esac
2227 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2228 $as_echo "$ac_try_echo"; } >&5
2229 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2230 ac_status=$?
2231 if test -s conftest.err; then
2232 sed '10a\
2233 ... rest of stderr output deleted ...
2234 10q' conftest.err >conftest.er1
2235 cat conftest.er1 >&5
2236 fi
2237 rm -f conftest.er1 conftest.err
2238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2239 test $ac_status = 0; }
2240 done
2241
2242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2243 /* end confdefs.h. */
2244
2245 int
2246 main ()
2247 {
2248
2249 ;
2250 return 0;
2251 }
2252 _ACEOF
2253 ac_clean_files_save=$ac_clean_files
2254 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2255 # Try to create an executable without -o first, disregard a.out.
2256 # It will help us diagnose broken compilers, and finding out an intuition
2257 # of exeext.
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2259 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2260 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2261
2262 # The possible output files:
2263 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2264
2265 ac_rmfiles=
2266 for ac_file in $ac_files
2267 do
2268 case $ac_file in
2269 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2270 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2271 esac
2272 done
2273 rm -f $ac_rmfiles
2274
2275 if { { ac_try="$ac_link_default"
2276 case "(($ac_try" in
2277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2278 *) ac_try_echo=$ac_try;;
2279 esac
2280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2281 $as_echo "$ac_try_echo"; } >&5
2282 (eval "$ac_link_default") 2>&5
2283 ac_status=$?
2284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2285 test $ac_status = 0; }; then :
2286 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2287 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2288 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2289 # so that the user can short-circuit this test for compilers unknown to
2290 # Autoconf.
2291 for ac_file in $ac_files ''
2292 do
2293 test -f "$ac_file" || continue
2294 case $ac_file in
2295 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2296 ;;
2297 [ab].out )
2298 # We found the default executable, but exeext='' is most
2299 # certainly right.
2300 break;;
2301 *.* )
2302 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2303 then :; else
2304 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2305 fi
2306 # We set ac_cv_exeext here because the later test for it is not
2307 # safe: cross compilers may not add the suffix if given an `-o'
2308 # argument, so we may need to know it at that point already.
2309 # Even if this section looks crufty: it has the advantage of
2310 # actually working.
2311 break;;
2312 * )
2313 break;;
2314 esac
2315 done
2316 test "$ac_cv_exeext" = no && ac_cv_exeext=
2317
2318 else
2319 ac_file=''
2320 fi
2321 if test -z "$ac_file"; then :
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2323 $as_echo "no" >&6; }
2324 $as_echo "$as_me: failed program was:" >&5
2325 sed 's/^/| /' conftest.$ac_ext >&5
2326
2327 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2329 as_fn_error 77 "C++ compiler cannot create executables
2330 See \`config.log' for more details" "$LINENO" 5; }
2331 else
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2333 $as_echo "yes" >&6; }
2334 fi
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2336 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2338 $as_echo "$ac_file" >&6; }
2339 ac_exeext=$ac_cv_exeext
2340
2341 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2342 ac_clean_files=$ac_clean_files_save
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2344 $as_echo_n "checking for suffix of executables... " >&6; }
2345 if { { ac_try="$ac_link"
2346 case "(($ac_try" in
2347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2348 *) ac_try_echo=$ac_try;;
2349 esac
2350 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2351 $as_echo "$ac_try_echo"; } >&5
2352 (eval "$ac_link") 2>&5
2353 ac_status=$?
2354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2355 test $ac_status = 0; }; then :
2356 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2357 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2358 # work properly (i.e., refer to `conftest.exe'), while it won't with
2359 # `rm'.
2360 for ac_file in conftest.exe conftest conftest.*; do
2361 test -f "$ac_file" || continue
2362 case $ac_file in
2363 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2364 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2365 break;;
2366 * ) break;;
2367 esac
2368 done
2369 else
2370 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2372 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2373 See \`config.log' for more details" "$LINENO" 5; }
2374 fi
2375 rm -f conftest conftest$ac_cv_exeext
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2377 $as_echo "$ac_cv_exeext" >&6; }
2378
2379 rm -f conftest.$ac_ext
2380 EXEEXT=$ac_cv_exeext
2381 ac_exeext=$EXEEXT
2382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2383 /* end confdefs.h. */
2384 #include <stdio.h>
2385 int
2386 main ()
2387 {
2388 FILE *f = fopen ("conftest.out", "w");
2389 return ferror (f) || fclose (f) != 0;
2390
2391 ;
2392 return 0;
2393 }
2394 _ACEOF
2395 ac_clean_files="$ac_clean_files conftest.out"
2396 # Check that the compiler produces executables we can run. If not, either
2397 # the compiler is broken, or we cross compile.
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2399 $as_echo_n "checking whether we are cross compiling... " >&6; }
2400 if test "$cross_compiling" != yes; then
2401 { { ac_try="$ac_link"
2402 case "(($ac_try" in
2403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2404 *) ac_try_echo=$ac_try;;
2405 esac
2406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2407 $as_echo "$ac_try_echo"; } >&5
2408 (eval "$ac_link") 2>&5
2409 ac_status=$?
2410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2411 test $ac_status = 0; }
2412 if { ac_try='./conftest$ac_cv_exeext'
2413 { { case "(($ac_try" in
2414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2415 *) ac_try_echo=$ac_try;;
2416 esac
2417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2418 $as_echo "$ac_try_echo"; } >&5
2419 (eval "$ac_try") 2>&5
2420 ac_status=$?
2421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2422 test $ac_status = 0; }; }; then
2423 cross_compiling=no
2424 else
2425 if test "$cross_compiling" = maybe; then
2426 cross_compiling=yes
2427 else
2428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2430 as_fn_error $? "cannot run C++ compiled programs.
2431 If you meant to cross compile, use \`--host'.
2432 See \`config.log' for more details" "$LINENO" 5; }
2433 fi
2434 fi
2435 fi
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2437 $as_echo "$cross_compiling" >&6; }
2438
2439 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2440 ac_clean_files=$ac_clean_files_save
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2442 $as_echo_n "checking for suffix of object files... " >&6; }
2443 if ${ac_cv_objext+:} false; then :
2444 $as_echo_n "(cached) " >&6
2445 else
2446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2447 /* end confdefs.h. */
2448
2449 int
2450 main ()
2451 {
2452
2453 ;
2454 return 0;
2455 }
2456 _ACEOF
2457 rm -f conftest.o conftest.obj
2458 if { { ac_try="$ac_compile"
2459 case "(($ac_try" in
2460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2461 *) ac_try_echo=$ac_try;;
2462 esac
2463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2464 $as_echo "$ac_try_echo"; } >&5
2465 (eval "$ac_compile") 2>&5
2466 ac_status=$?
2467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2468 test $ac_status = 0; }; then :
2469 for ac_file in conftest.o conftest.obj conftest.*; do
2470 test -f "$ac_file" || continue;
2471 case $ac_file in
2472 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2473 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2474 break;;
2475 esac
2476 done
2477 else
2478 $as_echo "$as_me: failed program was:" >&5
2479 sed 's/^/| /' conftest.$ac_ext >&5
2480
2481 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2482 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2483 as_fn_error $? "cannot compute suffix of object files: cannot compile
2484 See \`config.log' for more details" "$LINENO" 5; }
2485 fi
2486 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2487 fi
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2489 $as_echo "$ac_cv_objext" >&6; }
2490 OBJEXT=$ac_cv_objext
2491 ac_objext=$OBJEXT
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2493 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2494 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2495 $as_echo_n "(cached) " >&6
2496 else
2497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2498 /* end confdefs.h. */
2499
2500 int
2501 main ()
2502 {
2503 #ifndef __GNUC__
2504 choke me
2505 #endif
2506
2507 ;
2508 return 0;
2509 }
2510 _ACEOF
2511 if ac_fn_cxx_try_compile "$LINENO"; then :
2512 ac_compiler_gnu=yes
2513 else
2514 ac_compiler_gnu=no
2515 fi
2516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2517 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2518
2519 fi
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2521 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2522 if test $ac_compiler_gnu = yes; then
2523 GXX=yes
2524 else
2525 GXX=
2526 fi
2527 ac_test_CXXFLAGS=${CXXFLAGS+set}
2528 ac_save_CXXFLAGS=$CXXFLAGS
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2530 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2531 if ${ac_cv_prog_cxx_g+:} false; then :
2532 $as_echo_n "(cached) " >&6
2533 else
2534 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2535 ac_cxx_werror_flag=yes
2536 ac_cv_prog_cxx_g=no
2537 CXXFLAGS="-g"
2538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2539 /* end confdefs.h. */
2540
2541 int
2542 main ()
2543 {
2544
2545 ;
2546 return 0;
2547 }
2548 _ACEOF
2549 if ac_fn_cxx_try_compile "$LINENO"; then :
2550 ac_cv_prog_cxx_g=yes
2551 else
2552 CXXFLAGS=""
2553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2554 /* end confdefs.h. */
2555
2556 int
2557 main ()
2558 {
2559
2560 ;
2561 return 0;
2562 }
2563 _ACEOF
2564 if ac_fn_cxx_try_compile "$LINENO"; then :
2565
2566 else
2567 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2568 CXXFLAGS="-g"
2569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2570 /* end confdefs.h. */
2571
2572 int
2573 main ()
2574 {
2575
2576 ;
2577 return 0;
2578 }
2579 _ACEOF
2580 if ac_fn_cxx_try_compile "$LINENO"; then :
2581 ac_cv_prog_cxx_g=yes
2582 fi
2583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2584 fi
2585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2586 fi
2587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2588 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2589 fi
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2591 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2592 if test "$ac_test_CXXFLAGS" = set; then
2593 CXXFLAGS=$ac_save_CXXFLAGS
2594 elif test $ac_cv_prog_cxx_g = yes; then
2595 if test "$GXX" = yes; then
2596 CXXFLAGS="-g -O2"
2597 else
2598 CXXFLAGS="-g"
2599 fi
2600 else
2601 if test "$GXX" = yes; then
2602 CXXFLAGS="-O2"
2603 else
2604 CXXFLAGS=
2605 fi
2606 fi
2607 ac_ext=cpp
2608 ac_cpp='$CXXCPP $CPPFLAGS'
2609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2612
2613
2614 ac_ext=cpp
2615 ac_cpp='$CXXCPP $CPPFLAGS'
2616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
2620 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
2621 if test -z "$CXXCPP"; then
2622 if ${ac_cv_prog_CXXCPP+:} false; then :
2623 $as_echo_n "(cached) " >&6
2624 else
2625 # Double quotes because CXXCPP needs to be expanded
2626 for CXXCPP in "$CXX -E" "/lib/cpp"
2627 do
2628 ac_preproc_ok=false
2629 for ac_cxx_preproc_warn_flag in '' yes
2630 do
2631 # Use a header file that comes with gcc, so configuring glibc
2632 # with a fresh cross-compiler works.
2633 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2634 # <limits.h> exists even on freestanding compilers.
2635 # On the NeXT, cc -E runs the code through the compiler's parser,
2636 # not just through cpp. "Syntax error" is here to catch this case.
2637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2638 /* end confdefs.h. */
2639 #ifdef __STDC__
2640 # include <limits.h>
2641 #else
2642 # include <assert.h>
2643 #endif
2644 Syntax error
2645 _ACEOF
2646 if ac_fn_cxx_try_cpp "$LINENO"; then :
2647
2648 else
2649 # Broken: fails on valid input.
2650 continue
2651 fi
2652 rm -f conftest.err conftest.i conftest.$ac_ext
2653
2654 # OK, works on sane cases. Now check whether nonexistent headers
2655 # can be detected and how.
2656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2657 /* end confdefs.h. */
2658 #include <ac_nonexistent.h>
2659 _ACEOF
2660 if ac_fn_cxx_try_cpp "$LINENO"; then :
2661 # Broken: success on invalid input.
2662 continue
2663 else
2664 # Passes both tests.
2665 ac_preproc_ok=:
2666 break
2667 fi
2668 rm -f conftest.err conftest.i conftest.$ac_ext
2669
2670 done
2671 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2672 rm -f conftest.i conftest.err conftest.$ac_ext
2673 if $ac_preproc_ok; then :
2674 break
2675 fi
2676
2677 done
2678 ac_cv_prog_CXXCPP=$CXXCPP
2679
2680 fi
2681 CXXCPP=$ac_cv_prog_CXXCPP
2682 else
2683 ac_cv_prog_CXXCPP=$CXXCPP
2684 fi
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
2686 $as_echo "$CXXCPP" >&6; }
2687 ac_preproc_ok=false
2688 for ac_cxx_preproc_warn_flag in '' yes
2689 do
2690 # Use a header file that comes with gcc, so configuring glibc
2691 # with a fresh cross-compiler works.
2692 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2693 # <limits.h> exists even on freestanding compilers.
2694 # On the NeXT, cc -E runs the code through the compiler's parser,
2695 # not just through cpp. "Syntax error" is here to catch this case.
2696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2697 /* end confdefs.h. */
2698 #ifdef __STDC__
2699 # include <limits.h>
2700 #else
2701 # include <assert.h>
2702 #endif
2703 Syntax error
2704 _ACEOF
2705 if ac_fn_cxx_try_cpp "$LINENO"; then :
2706
2707 else
2708 # Broken: fails on valid input.
2709 continue
2710 fi
2711 rm -f conftest.err conftest.i conftest.$ac_ext
2712
2713 # OK, works on sane cases. Now check whether nonexistent headers
2714 # can be detected and how.
2715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2716 /* end confdefs.h. */
2717 #include <ac_nonexistent.h>
2718 _ACEOF
2719 if ac_fn_cxx_try_cpp "$LINENO"; then :
2720 # Broken: success on invalid input.
2721 continue
2722 else
2723 # Passes both tests.
2724 ac_preproc_ok=:
2725 break
2726 fi
2727 rm -f conftest.err conftest.i conftest.$ac_ext
2728
2729 done
2730 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2731 rm -f conftest.i conftest.err conftest.$ac_ext
2732 if $ac_preproc_ok; then :
2733
2734 else
2735 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2736 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2737 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
2738 See \`config.log' for more details" "$LINENO" 5; }
2739 fi
2740
2741 ac_ext=cpp
2742 ac_cpp='$CXXCPP $CPPFLAGS'
2743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2746
2747
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
2749 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2750 if ${ac_cv_path_GREP+:} false; then :
2751 $as_echo_n "(cached) " >&6
2752 else
2753 if test -z "$GREP"; then
2754 ac_path_GREP_found=false
2755 # Loop through the user's path and test for each of PROGNAME-LIST
2756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2757 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2758 do
2759 IFS=$as_save_IFS
2760 test -z "$as_dir" && as_dir=.
2761 for ac_prog in grep ggrep; do
2762 for ac_exec_ext in '' $ac_executable_extensions; do
2763 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2764 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2765 # Check for GNU ac_path_GREP and select it if it is found.
2766 # Check for GNU $ac_path_GREP
2767 case `"$ac_path_GREP" --version 2>&1` in
2768 *GNU*)
2769 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2770 *)
2771 ac_count=0
2772 $as_echo_n 0123456789 >"conftest.in"
2773 while :
2774 do
2775 cat "conftest.in" "conftest.in" >"conftest.tmp"
2776 mv "conftest.tmp" "conftest.in"
2777 cp "conftest.in" "conftest.nl"
2778 $as_echo 'GREP' >> "conftest.nl"
2779 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2780 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2781 as_fn_arith $ac_count + 1 && ac_count=$as_val
2782 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2783 # Best one so far, save it but keep looking for a better one
2784 ac_cv_path_GREP="$ac_path_GREP"
2785 ac_path_GREP_max=$ac_count
2786 fi
2787 # 10*(2^10) chars as input seems more than enough
2788 test $ac_count -gt 10 && break
2789 done
2790 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2791 esac
2792
2793 $ac_path_GREP_found && break 3
2794 done
2795 done
2796 done
2797 IFS=$as_save_IFS
2798 if test -z "$ac_cv_path_GREP"; then
2799 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2800 fi
2801 else
2802 ac_cv_path_GREP=$GREP
2803 fi
2804
2805 fi
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
2807 $as_echo "$ac_cv_path_GREP" >&6; }
2808 GREP="$ac_cv_path_GREP"
2809
2810
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
2812 $as_echo_n "checking for egrep... " >&6; }
2813 if ${ac_cv_path_EGREP+:} false; then :
2814 $as_echo_n "(cached) " >&6
2815 else
2816 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2817 then ac_cv_path_EGREP="$GREP -E"
2818 else
2819 if test -z "$EGREP"; then
2820 ac_path_EGREP_found=false
2821 # Loop through the user's path and test for each of PROGNAME-LIST
2822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2823 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2824 do
2825 IFS=$as_save_IFS
2826 test -z "$as_dir" && as_dir=.
2827 for ac_prog in egrep; do
2828 for ac_exec_ext in '' $ac_executable_extensions; do
2829 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2830 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2831 # Check for GNU ac_path_EGREP and select it if it is found.
2832 # Check for GNU $ac_path_EGREP
2833 case `"$ac_path_EGREP" --version 2>&1` in
2834 *GNU*)
2835 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2836 *)
2837 ac_count=0
2838 $as_echo_n 0123456789 >"conftest.in"
2839 while :
2840 do
2841 cat "conftest.in" "conftest.in" >"conftest.tmp"
2842 mv "conftest.tmp" "conftest.in"
2843 cp "conftest.in" "conftest.nl"
2844 $as_echo 'EGREP' >> "conftest.nl"
2845 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2846 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2847 as_fn_arith $ac_count + 1 && ac_count=$as_val
2848 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2849 # Best one so far, save it but keep looking for a better one
2850 ac_cv_path_EGREP="$ac_path_EGREP"
2851 ac_path_EGREP_max=$ac_count
2852 fi
2853 # 10*(2^10) chars as input seems more than enough
2854 test $ac_count -gt 10 && break
2855 done
2856 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2857 esac
2858
2859 $ac_path_EGREP_found && break 3
2860 done
2861 done
2862 done
2863 IFS=$as_save_IFS
2864 if test -z "$ac_cv_path_EGREP"; then
2865 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2866 fi
2867 else
2868 ac_cv_path_EGREP=$EGREP
2869 fi
2870
2871 fi
2872 fi
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
2874 $as_echo "$ac_cv_path_EGREP" >&6; }
2875 EGREP="$ac_cv_path_EGREP"
2876
2877
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
2879 $as_echo_n "checking for ANSI C header files... " >&6; }
2880 if ${ac_cv_header_stdc+:} false; then :
2881 $as_echo_n "(cached) " >&6
2882 else
2883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2884 /* end confdefs.h. */
2885 #include <stdlib.h>
2886 #include <stdarg.h>
2887 #include <string.h>
2888 #include <float.h>
2889
2890 int
2891 main ()
2892 {
2893
2894 ;
2895 return 0;
2896 }
2897 _ACEOF
2898 if ac_fn_cxx_try_compile "$LINENO"; then :
2899 ac_cv_header_stdc=yes
2900 else
2901 ac_cv_header_stdc=no
2902 fi
2903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2904
2905 if test $ac_cv_header_stdc = yes; then
2906 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2908 /* end confdefs.h. */
2909 #include <string.h>
2910
2911 _ACEOF
2912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2913 $EGREP "memchr" >/dev/null 2>&1; then :
2914
2915 else
2916 ac_cv_header_stdc=no
2917 fi
2918 rm -f conftest*
2919
2920 fi
2921
2922 if test $ac_cv_header_stdc = yes; then
2923 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2925 /* end confdefs.h. */
2926 #include <stdlib.h>
2927
2928 _ACEOF
2929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2930 $EGREP "free" >/dev/null 2>&1; then :
2931
2932 else
2933 ac_cv_header_stdc=no
2934 fi
2935 rm -f conftest*
2936
2937 fi
2938
2939 if test $ac_cv_header_stdc = yes; then
2940 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2941 if test "$cross_compiling" = yes; then :
2942 :
2943 else
2944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2945 /* end confdefs.h. */
2946 #include <ctype.h>
2947 #include <stdlib.h>
2948 #if ((' ' & 0x0FF) == 0x020)
2949 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2950 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2951 #else
2952 # define ISLOWER(c) \
2953 (('a' <= (c) && (c) <= 'i') \
2954 || ('j' <= (c) && (c) <= 'r') \
2955 || ('s' <= (c) && (c) <= 'z'))
2956 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2957 #endif
2958
2959 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2960 int
2961 main ()
2962 {
2963 int i;
2964 for (i = 0; i < 256; i++)
2965 if (XOR (islower (i), ISLOWER (i))
2966 || toupper (i) != TOUPPER (i))
2967 return 2;
2968 return 0;
2969 }
2970 _ACEOF
2971 if ac_fn_cxx_try_run "$LINENO"; then :
2972
2973 else
2974 ac_cv_header_stdc=no
2975 fi
2976 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2977 conftest.$ac_objext conftest.beam conftest.$ac_ext
2978 fi
2979
2980 fi
2981 fi
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
2983 $as_echo "$ac_cv_header_stdc" >&6; }
2984 if test $ac_cv_header_stdc = yes; then
2985
2986 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
2987
2988 fi
2989
2990 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2991 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2992 inttypes.h stdint.h unistd.h
2993 do :
2994 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
2995 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
2996 "
2997 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
2998 cat >>confdefs.h <<_ACEOF
2999 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3000 _ACEOF
3001
3002 fi
3003
3004 done
3005
3006
3007 for ac_header in iostream
3008 do :
3009 ac_fn_cxx_check_header_mongrel "$LINENO" "iostream" "ac_cv_header_iostream" "$ac_includes_default"
3010 if test "x$ac_cv_header_iostream" = xyes; then :
3011 cat >>confdefs.h <<_ACEOF
3012 #define HAVE_IOSTREAM 1
3013 _ACEOF
3014
3015 fi
3016
3017 done
3018
3019
3020 optionlist="gui readline toon"
3021 options=""
3022
3023 #Host detection
3024 ac_aux_dir=
3025 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3026 if test -f "$ac_dir/install-sh"; then
3027 ac_aux_dir=$ac_dir
3028 ac_install_sh="$ac_aux_dir/install-sh -c"
3029 break
3030 elif test -f "$ac_dir/install.sh"; then
3031 ac_aux_dir=$ac_dir
3032 ac_install_sh="$ac_aux_dir/install.sh -c"
3033 break
3034 elif test -f "$ac_dir/shtool"; then
3035 ac_aux_dir=$ac_dir
3036 ac_install_sh="$ac_aux_dir/shtool install -c"
3037 break
3038 fi
3039 done
3040 if test -z "$ac_aux_dir"; then
3041 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3042 fi
3043
3044 # These three variables are undocumented and unsupported,
3045 # and are intended to be withdrawn in a future Autoconf release.
3046 # They can cause serious problems if a builder's source tree is in a directory
3047 # whose full name contains unusual characters.
3048 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3049 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3050 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3051
3052
3053 # Make sure we can run config.sub.
3054 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3055 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3056
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3058 $as_echo_n "checking build system type... " >&6; }
3059 if ${ac_cv_build+:} false; then :
3060 $as_echo_n "(cached) " >&6
3061 else
3062 ac_build_alias=$build_alias
3063 test "x$ac_build_alias" = x &&
3064 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3065 test "x$ac_build_alias" = x &&
3066 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3067 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3068 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3069
3070 fi
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3072 $as_echo "$ac_cv_build" >&6; }
3073 case $ac_cv_build in
3074 *-*-*) ;;
3075 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3076 esac
3077 build=$ac_cv_build
3078 ac_save_IFS=$IFS; IFS='-'
3079 set x $ac_cv_build
3080 shift
3081 build_cpu=$1
3082 build_vendor=$2
3083 shift; shift
3084 # Remember, the first character of IFS is used to create $*,
3085 # except with old shells:
3086 build_os=$*
3087 IFS=$ac_save_IFS
3088 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3089
3090
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3092 $as_echo_n "checking host system type... " >&6; }
3093 if ${ac_cv_host+:} false; then :
3094 $as_echo_n "(cached) " >&6
3095 else
3096 if test "x$host_alias" = x; then
3097 ac_cv_host=$ac_cv_build
3098 else
3099 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3100 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3101 fi
3102
3103 fi
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3105 $as_echo "$ac_cv_host" >&6; }
3106 case $ac_cv_host in
3107 *-*-*) ;;
3108 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3109 esac
3110 host=$ac_cv_host
3111 ac_save_IFS=$IFS; IFS='-'
3112 set x $ac_cv_host
3113 shift
3114 host_cpu=$1
3115 host_vendor=$2
3116 shift; shift
3117 # Remember, the first character of IFS is used to create $*,
3118 # except with old shells:
3119 host_os=$*
3120 IFS=$ac_save_IFS
3121 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3122
3123
3124 if test "$host_vendor" = apple
3125 then
3126 CPPFLAGS="$CPPFLAGS -I /sw/include -I/opt/local/include -I/usr/X11R6/include"
3127 LIBS="$LIBS -L/sw/lib -L/opt/local/lib"
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: Adding /sw to the build path." >&5
3129 $as_echo "$as_me: Adding /sw to the build path." >&6;}
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: Adding /opt/local to the build path." >&5
3131 $as_echo "$as_me: Adding /opt/local to the build path." >&6;}
3132 osx_hacks=yes
3133
3134 fi
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148 if test "" == ""
3149 then
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler flag -Wall works" >&5
3151 $as_echo_n "checking if compiler flag -Wall works... " >&6; }
3152 else
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking " >&5
3154 $as_echo_n "checking ... " >&6; }
3155 fi
3156 save_CXXFLAGS="$CXXFLAGS"
3157 CXXFLAGS="$CXXFLAGS -Wall"
3158
3159
3160
3161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3162 /* end confdefs.h. */
3163 int main(){}
3164 _ACEOF
3165 if ac_fn_cxx_try_compile "$LINENO"; then :
3166 cvd_conf_test=1
3167 else
3168 cvd_conf_test=0
3169 fi
3170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3171
3172
3173
3174
3175
3176 if test $cvd_conf_test = 1
3177 then
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3179 $as_echo "yes" >&6; }
3180 ts_success=yes
3181 else
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3183 $as_echo "no" >&6; }
3184 CXXFLAGS="$save_CXXFLAGS"
3185 ts_success=no
3186 fi
3187
3188
3189 if test "" == ""
3190 then
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler flag -Wextra works" >&5
3192 $as_echo_n "checking if compiler flag -Wextra works... " >&6; }
3193 else
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking " >&5
3195 $as_echo_n "checking ... " >&6; }
3196 fi
3197 save_CXXFLAGS="$CXXFLAGS"
3198 CXXFLAGS="$CXXFLAGS -Wextra"
3199
3200
3201
3202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3203 /* end confdefs.h. */
3204 int main(){}
3205 _ACEOF
3206 if ac_fn_cxx_try_compile "$LINENO"; then :
3207 cvd_conf_test=1
3208 else
3209 cvd_conf_test=0
3210 fi
3211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3212
3213
3214
3215
3216
3217 if test $cvd_conf_test = 1
3218 then
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3220 $as_echo "yes" >&6; }
3221 ts_success=yes
3222 else
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3224 $as_echo "no" >&6; }
3225 CXXFLAGS="$save_CXXFLAGS"
3226 ts_success=no
3227 fi
3228
3229
3230 # add prefix include path
3231 CPPFLAGS="$CPPFLAGS -I"$(eval echo $includedir)""
3232
3233
3234
3235
3236 echo
3237 echo --------------------------
3238 echo Checking for options
3239 echo --------------------------
3240
3241
3242 # Check whether --with-TooN was given.
3243 if test "${with_TooN+set}" = set; then :
3244 withval=$with_TooN; opt_toon_dir=$withval
3245 fi
3246
3247
3248 if test "$opt_toon_dir" != no
3249 then
3250 #Check for TooN
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TooN" >&5
3252 $as_echo_n "checking for TooN... " >&6; }
3253
3254 a=
3255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3256 /* end confdefs.h. */
3257 #include <TooN/TooN.h>
3258 int main(){TooN::Vector<2> v;return 0;}
3259 _ACEOF
3260 if ac_fn_cxx_try_compile "$LINENO"; then :
3261 a=1
3262 fi
3263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3264
3265 if test x$a = x1
3266 then
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3268 $as_echo "yes" >&6; }
3269 $as_echo "#define GVARS3_HAVE_TOON 1" >>confdefs.h
3270
3271 have_toon=yes
3272
3273 options="$options toon"
3274 else
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3276 $as_echo "no" >&6; }
3277 fi
3278
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TooN-2" >&5
3280 $as_echo_n "checking for TooN-2... " >&6; }
3281
3282 a=
3283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3284 /* end confdefs.h. */
3285 #include <TooN/TooN.h>
3286 int main(){TooN::Vector<2, float> v;return 0;}
3287 _ACEOF
3288 if ac_fn_cxx_try_compile "$LINENO"; then :
3289 a=1
3290 fi
3291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3292
3293 if test x$a = x1
3294 then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3296 $as_echo "yes" >&6; }
3297 $as_echo "#define GVARS3_HAVE_TOON2 1" >>confdefs.h
3298
3299 else
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3301 $as_echo "no" >&6; }
3302 fi
3303 fi
3304
3305
3306 if test "" == ""
3307 then
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler flag -pthread works" >&5
3309 $as_echo_n "checking if compiler flag -pthread works... " >&6; }
3310 else
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking " >&5
3312 $as_echo_n "checking ... " >&6; }
3313 fi
3314 save_CXXFLAGS="$CXXFLAGS"
3315 CXXFLAGS="$CXXFLAGS -pthread"
3316
3317
3318
3319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3320 /* end confdefs.h. */
3321 int main(){}
3322 _ACEOF
3323 if ac_fn_cxx_try_compile "$LINENO"; then :
3324 cvd_conf_test=1
3325 else
3326 cvd_conf_test=0
3327 fi
3328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3329
3330
3331
3332
3333
3334 if test $cvd_conf_test = 1
3335 then
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3337 $as_echo "yes" >&6; }
3338 ts_success=yes
3339 else
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3341 $as_echo "no" >&6; }
3342 CXXFLAGS="$save_CXXFLAGS"
3343 ts_success=no
3344 fi
3345
3346
3347 HLIBS="$LIBS"
3348
3349 ################################################################################
3350 ################################################################################
3351 ################################################################################
3352
3353
3354 # Check whether --with-readline was given.
3355 if test "${with_readline+set}" = set; then :
3356 withval=$with_readline; with_readline="$withval"
3357 else
3358 with_readline=yes
3359 fi
3360
3361 if test "$with_readline" == "yes"
3362 then
3363 foo_LIBS="$LIBS"
3364 for curse in "" ncurses curses
3365 do
3366 LIBS="$foo_LIBS"
3367 if test x$curse != x
3368 then
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $curse as a requirement for readline" >&5
3370 $as_echo_n "checking $curse as a requirement for readline... " >&6; }
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
3372 $as_echo "" >&6; }
3373 as_ac_Lib=`$as_echo "ac_cv_lib_$curse''_tputs" | $as_tr_sh`
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -l$curse" >&5
3375 $as_echo_n "checking for tputs in -l$curse... " >&6; }
3376 if eval \${$as_ac_Lib+:} false; then :
3377 $as_echo_n "(cached) " >&6
3378 else
3379 ac_check_lib_save_LIBS=$LIBS
3380 LIBS="-l$curse $LIBS"
3381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3382 /* end confdefs.h. */
3383
3384 /* Override any GCC internal prototype to avoid an error.
3385 Use char because int might match the return type of a GCC
3386 builtin and then its argument prototype would still apply. */
3387 #ifdef __cplusplus
3388 extern "C"
3389 #endif
3390 char tputs ();
3391 int
3392 main ()
3393 {
3394 return tputs ();
3395 ;
3396 return 0;
3397 }
3398 _ACEOF
3399 if ac_fn_cxx_try_link "$LINENO"; then :
3400 eval "$as_ac_Lib=yes"
3401 else
3402 eval "$as_ac_Lib=no"
3403 fi
3404 rm -f core conftest.err conftest.$ac_objext \
3405 conftest$ac_exeext conftest.$ac_ext
3406 LIBS=$ac_check_lib_save_LIBS
3407 fi
3408 eval ac_res=\$$as_ac_Lib
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3410 $as_echo "$ac_res" >&6; }
3411 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
3412 cat >>confdefs.h <<_ACEOF
3413 #define `$as_echo "HAVE_LIB$curse" | $as_tr_cpp` 1
3414 _ACEOF
3415
3416 LIBS="-l$curse $LIBS"
3417
3418 fi
3419
3420 fi
3421
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_done in -lreadline" >&5
3423 $as_echo_n "checking for rl_done in -lreadline... " >&6; }
3424 if ${ac_cv_lib_readline_rl_done+:} false; then :
3425 $as_echo_n "(cached) " >&6
3426 else
3427 ac_check_lib_save_LIBS=$LIBS
3428 LIBS="-lreadline $LIBS"
3429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3430 /* end confdefs.h. */
3431
3432 /* Override any GCC internal prototype to avoid an error.
3433 Use char because int might match the return type of a GCC
3434 builtin and then its argument prototype would still apply. */
3435 #ifdef __cplusplus
3436 extern "C"
3437 #endif
3438 char rl_done ();
3439 int
3440 main ()
3441 {
3442 return rl_done ();
3443 ;
3444 return 0;
3445 }
3446 _ACEOF
3447 if ac_fn_cxx_try_link "$LINENO"; then :
3448 ac_cv_lib_readline_rl_done=yes
3449 else
3450 ac_cv_lib_readline_rl_done=no
3451 fi
3452 rm -f core conftest.err conftest.$ac_objext \
3453 conftest$ac_exeext conftest.$ac_ext
3454 LIBS=$ac_check_lib_save_LIBS
3455 fi
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_done" >&5
3457 $as_echo "$ac_cv_lib_readline_rl_done" >&6; }
3458 if test "x$ac_cv_lib_readline_rl_done" = xyes; then :
3459 cat >>confdefs.h <<_ACEOF
3460 #define HAVE_LIBREADLINE 1
3461 _ACEOF
3462
3463 LIBS="-lreadline $LIBS"
3464
3465 fi
3466
3467
3468 if test x$ac_cv_lib_readline_rl_done == xyes
3469 then
3470 have_readline=yes
3471
3472 options="$options readline"
3473 break
3474 else
3475 unset ac_cv_lib_readline_rl_done
3476 fi
3477 done
3478 fi
3479 ################################################################################
3480 #
3481 # Basic dialogue box functionality
3482 #
3483
3484 echo
3485 echo ------------------------------------------------
3486 echo "Checking for widget libraries (provides GUI_...)"
3487 echo ------------------------------------------------
3488
3489
3490
3491 #dnl check_GUI(fltk,FL/Fl.h,fltk)
3492 # Check whether --enable-widgets was given.
3493 if test "${enable_widgets+set}" = set; then :
3494 enableval=$enable_widgets;
3495 fi
3496
3497 enable_widgets=${enable_widgets:-yes}
3498
3499 # Check whether --enable-fltk2 was given.
3500 if test "${enable_fltk2+set}" = set; then :
3501 enableval=$enable_fltk2;
3502 fi
3503
3504 # Check whether --enable-fltk was given.
3505 if test "${enable_fltk+set}" = set; then :
3506 enableval=$enable_fltk;
3507 fi
3508
3509 # Check whether --enable-motif was given.
3510 if test "${enable_motif+set}" = set; then :
3511 enableval=$enable_motif;
3512 fi
3513
3514
3515 enable_fltk2=${enable_fltk2:-$enable_widgets}
3516 enable_fltk=${enable_fltk:-$enable_widgets}
3517 enable_motif=${enable_motif:-$enable_widgets}
3518
3519 gui=none
3520
3521 if test $enable_fltk2 == yes && test $gui == none
3522 then
3523 a=
3524 # Extract the first word of "fltk2-config", so it can be a program name with args.
3525 set dummy fltk2-config; ac_word=$2
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3527 $as_echo_n "checking for $ac_word... " >&6; }
3528 if ${ac_cv_path_a+:} false; then :
3529 $as_echo_n "(cached) " >&6
3530 else
3531 case $a in
3532 [\\/]* | ?:[\\/]*)
3533 ac_cv_path_a="$a" # Let the user override the test with a path.
3534 ;;
3535 *)
3536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3537 for as_dir in $PATH
3538 do
3539 IFS=$as_save_IFS
3540 test -z "$as_dir" && as_dir=.
3541 for ac_exec_ext in '' $ac_executable_extensions; do
3542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3543 ac_cv_path_a="$as_dir/$ac_word$ac_exec_ext"
3544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3545 break 2
3546 fi
3547 done
3548 done
3549 IFS=$as_save_IFS
3550
3551 ;;
3552 esac
3553 fi
3554 a=$ac_cv_path_a
3555 if test -n "$a"; then
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $a" >&5
3557 $as_echo "$a" >&6; }
3558 else
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3560 $as_echo "no" >&6; }
3561 fi
3562
3563
3564 if test x$a != x
3565 then
3566 FLTK2_CPPFLAGS=`$a --cxxflags`
3567 FLTK2_LIBS=`$a --ldflags`
3568 CPPFLAGS="$FLTK2_CPPFLAGS $CPPFLAGS"
3569 LIBS="$FLTK2_LIBS $LIBS"
3570 guiobj=GUI_Fltk2
3571
3572 options="$options gui"
3573 gui=fltk2
3574 fi
3575 fi
3576
3577 if test $gui == none && test $enable_fltk == yes
3578 then
3579 for ac_header in FL/Fl.H
3580 do :
3581 ac_fn_cxx_check_header_mongrel "$LINENO" "FL/Fl.H" "ac_cv_header_FL_Fl_H" "$ac_includes_default"
3582 if test "x$ac_cv_header_FL_Fl_H" = xyes; then :
3583 cat >>confdefs.h <<_ACEOF
3584 #define HAVE_FL_FL_H 1
3585 _ACEOF
3586 have_fltk_headers=yes
3587 fi
3588
3589 done
3590
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lfltk" >&5
3592 $as_echo_n "checking for main in -lfltk... " >&6; }
3593 if ${ac_cv_lib_fltk_main+:} false; then :
3594 $as_echo_n "(cached) " >&6
3595 else
3596 ac_check_lib_save_LIBS=$LIBS
3597 LIBS="-lfltk $LIBS"
3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h. */
3600
3601
3602 int
3603 main ()
3604 {
3605 return main ();
3606 ;
3607 return 0;
3608 }
3609 _ACEOF
3610 if ac_fn_cxx_try_link "$LINENO"; then :
3611 ac_cv_lib_fltk_main=yes
3612 else
3613 ac_cv_lib_fltk_main=no
3614 fi
3615 rm -f core conftest.err conftest.$ac_objext \
3616 conftest$ac_exeext conftest.$ac_ext
3617 LIBS=$ac_check_lib_save_LIBS
3618 fi
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fltk_main" >&5
3620 $as_echo "$ac_cv_lib_fltk_main" >&6; }
3621 if test "x$ac_cv_lib_fltk_main" = xyes; then :
3622 have_fltk_lib=yes
3623 fi
3624
3625
3626 if test x$have_fltk_headers$have_fltk_lib == xyesyes
3627 then
3628 LIBS="$LIBS -lfltk"
3629 options="$options gui"
3630 gui=fltk
3631 guiobj=GUI_Fltk
3632
3633 fi
3634 fi
3635
3636
3637 if test $gui = none && test $enable_motif == yes
3638 then
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
3640 $as_echo_n "checking for X... " >&6; }
3641
3642
3643 # Check whether --with-x was given.
3644 if test "${with_x+set}" = set; then :
3645 withval=$with_x;
3646 fi
3647
3648 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3649 if test "x$with_x" = xno; then
3650 # The user explicitly disabled X.
3651 have_x=disabled
3652 else
3653 case $x_includes,$x_libraries in #(
3654 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
3655 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
3656 $as_echo_n "(cached) " >&6
3657 else
3658 # One or both of the vars are not set, and there is no cached value.
3659 ac_x_includes=no ac_x_libraries=no
3660 rm -f -r conftest.dir
3661 if mkdir conftest.dir; then
3662 cd conftest.dir
3663 cat >Imakefile <<'_ACEOF'
3664 incroot:
3665 @echo incroot='${INCROOT}'
3666 usrlibdir:
3667 @echo usrlibdir='${USRLIBDIR}'
3668 libdir:
3669 @echo libdir='${LIBDIR}'
3670 _ACEOF
3671 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3672 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3673 for ac_var in incroot usrlibdir libdir; do
3674 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3675 done
3676 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3677 for ac_extension in a so sl dylib la dll; do
3678 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3679 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3680 ac_im_usrlibdir=$ac_im_libdir; break
3681 fi
3682 done
3683 # Screen out bogus values from the imake configuration. They are
3684 # bogus both because they are the default anyway, and because
3685 # using them would break gcc on systems where it needs fixed includes.
3686 case $ac_im_incroot in
3687 /usr/include) ac_x_includes= ;;
3688 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3689 esac
3690 case $ac_im_usrlibdir in
3691 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
3692 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3693 esac
3694 fi
3695 cd ..
3696 rm -f -r conftest.dir
3697 fi
3698
3699 # Standard set of common directories for X headers.
3700 # Check X11 before X11Rn because it is often a symlink to the current release.
3701 ac_x_header_dirs='
3702 /usr/X11/include
3703 /usr/X11R7/include
3704 /usr/X11R6/include
3705 /usr/X11R5/include
3706 /usr/X11R4/include
3707
3708 /usr/include/X11
3709 /usr/include/X11R7
3710 /usr/include/X11R6
3711 /usr/include/X11R5
3712 /usr/include/X11R4
3713
3714 /usr/local/X11/include
3715 /usr/local/X11R7/include
3716 /usr/local/X11R6/include
3717 /usr/local/X11R5/include
3718 /usr/local/X11R4/include
3719
3720 /usr/local/include/X11
3721 /usr/local/include/X11R7
3722 /usr/local/include/X11R6
3723 /usr/local/include/X11R5
3724 /usr/local/include/X11R4
3725
3726 /usr/X386/include
3727 /usr/x386/include
3728 /usr/XFree86/include/X11
3729
3730 /usr/include
3731 /usr/local/include
3732 /usr/unsupported/include
3733 /usr/athena/include
3734 /usr/local/x11r5/include
3735 /usr/lpp/Xamples/include
3736
3737 /usr/openwin/include
3738 /usr/openwin/share/include'
3739
3740 if test "$ac_x_includes" = no; then
3741 # Guess where to find include files, by looking for Xlib.h.
3742 # First, try using that file with no special directory specified.
3743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3744 /* end confdefs.h. */
3745 #include <X11/Xlib.h>
3746 _ACEOF
3747 if ac_fn_cxx_try_cpp "$LINENO"; then :
3748 # We can compile using X headers with no special include directory.
3749 ac_x_includes=
3750 else
3751 for ac_dir in $ac_x_header_dirs; do
3752 if test -r "$ac_dir/X11/Xlib.h"; then
3753 ac_x_includes=$ac_dir
3754 break
3755 fi
3756 done
3757 fi
3758 rm -f conftest.err conftest.i conftest.$ac_ext
3759 fi # $ac_x_includes = no
3760
3761 if test "$ac_x_libraries" = no; then
3762 # Check for the libraries.
3763 # See if we find them without any special options.
3764 # Don't add to $LIBS permanently.
3765 ac_save_LIBS=$LIBS
3766 LIBS="-lX11 $LIBS"
3767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3768 /* end confdefs.h. */
3769 #include <X11/Xlib.h>
3770 int
3771 main ()
3772 {
3773 XrmInitialize ()
3774 ;
3775 return 0;
3776 }
3777 _ACEOF
3778 if ac_fn_cxx_try_link "$LINENO"; then :
3779 LIBS=$ac_save_LIBS
3780 # We can link X programs with no special library path.
3781 ac_x_libraries=
3782 else
3783 LIBS=$ac_save_LIBS
3784 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3785 do
3786 # Don't even attempt the hair of trying to link an X program!
3787 for ac_extension in a so sl dylib la dll; do
3788 if test -r "$ac_dir/libX11.$ac_extension"; then
3789 ac_x_libraries=$ac_dir
3790 break 2
3791 fi
3792 done
3793 done
3794 fi
3795 rm -f core conftest.err conftest.$ac_objext \
3796 conftest$ac_exeext conftest.$ac_ext
3797 fi # $ac_x_libraries = no
3798
3799 case $ac_x_includes,$ac_x_libraries in #(
3800 no,* | *,no | *\'*)
3801 # Didn't find X, or a directory has "'" in its name.
3802 ac_cv_have_x="have_x=no";; #(
3803 *)
3804 # Record where we found X for the cache.
3805 ac_cv_have_x="have_x=yes\
3806 ac_x_includes='$ac_x_includes'\
3807 ac_x_libraries='$ac_x_libraries'"
3808 esac
3809 fi
3810 ;; #(
3811 *) have_x=yes;;
3812 esac
3813 eval "$ac_cv_have_x"
3814 fi # $with_x != no
3815
3816 if test "$have_x" != yes; then
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
3818 $as_echo "$have_x" >&6; }
3819 no_x=yes
3820 else
3821 # If each of the values was on the command line, it overrides each guess.
3822 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3823 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3824 # Update the cache value to reflect the command line values.
3825 ac_cv_have_x="have_x=yes\
3826 ac_x_includes='$x_includes'\
3827 ac_x_libraries='$x_libraries'"
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
3829 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
3830 fi
3831
3832 foo_LIBS="$LIBS"
3833 foo_CPPFLAGS="$CPPFLAGS"
3834 test -n "$x_libraries" && LIBS="-L$x_libraries $LIBS"
3835 test -n "$x_includes" && CPPFLAGS="$CPPFLAGS -I$x_includes"
3836
3837 for ac_header in Xm/Xm.h
3838 do :
3839 ac_fn_cxx_check_header_mongrel "$LINENO" "Xm/Xm.h" "ac_cv_header_Xm_Xm_h" "$ac_includes_default"
3840 if test "x$ac_cv_header_Xm_Xm_h" = xyes; then :
3841 cat >>confdefs.h <<_ACEOF
3842 #define HAVE_XM_XM_H 1
3843 _ACEOF
3844 have_motif_headers=yes
3845 fi
3846
3847 done
3848
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
3850 $as_echo_n "checking for main in -lXm... " >&6; }
3851 if ${ac_cv_lib_Xm_main+:} false; then :
3852 $as_echo_n "(cached) " >&6
3853 else
3854 ac_check_lib_save_LIBS=$LIBS
3855 LIBS="-lXm $LIBS"
3856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3857 /* end confdefs.h. */
3858
3859
3860 int
3861 main ()
3862 {
3863 return main ();
3864 ;
3865 return 0;
3866 }
3867 _ACEOF
3868 if ac_fn_cxx_try_link "$LINENO"; then :
3869 ac_cv_lib_Xm_main=yes
3870 else
3871 ac_cv_lib_Xm_main=no
3872 fi
3873 rm -f core conftest.err conftest.$ac_objext \
3874 conftest$ac_exeext conftest.$ac_ext
3875 LIBS=$ac_check_lib_save_LIBS
3876 fi
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
3878 $as_echo "$ac_cv_lib_Xm_main" >&6; }
3879 if test "x$ac_cv_lib_Xm_main" = xyes; then :
3880 have_motif_lib=yes
3881 fi
3882
3883 if test x$have_motif_headers$have_motif_lib == xyesyes
3884 then
3885 LIBS="$LIBS -lXm -lXt -lX11"
3886 options="$options gui"
3887 gui=motif
3888 guiobj=GUI_Motif
3889
3890 else
3891 LIBS="$foo_LIBS"
3892 CPPFLAGS="$foo_CPPFLAGS"
3893 fi
3894 fi
3895
3896 if test $gui == none
3897 then
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No GUI functionality enabled" >&5
3899 $as_echo "$as_me: WARNING: No GUI functionality enabled" >&2;}
3900 guiobj=GUI_none
3901
3902 fi
3903
3904 ################################################################################
3905 #
3906 # The rest
3907 #
3908
3909
3910 # Check whether --with-head was given.
3911 if test "${with_head+set}" = set; then :
3912 withval=$with_head;
3913 fi
3914
3915 if test "$with_head" == "no"
3916 then
3917 make_normal=no
3918
3919 fi
3920
3921
3922 # Check whether --with-lang was given.
3923 if test "${with_lang+set}" = set; then :
3924 withval=$with_lang;
3925 fi
3926
3927 if test "$with_lang" == "yes"
3928 then
3929 make_lang=yes
3930
3931 fi
3932
3933
3934
3935
3936 # Check whether --with-debug was given.
3937 if test "${with_debug+set}" = set; then :
3938 withval=$with_debug;
3939 fi
3940
3941 if test "$with_debug" == "yes"
3942 then
3943 make_debug=yes
3944
3945 fi
3946
3947
3948 # Check whether --with-headless was given.
3949 if test "${with_headless+set}" = set; then :
3950 withval=$with_headless;
3951 fi
3952
3953 if test "$with_headless" != "no"
3954 then
3955 make_headless=yes
3956
3957 fi
3958
3959
3960 major=`echo $PACKAGE_VERSION | awk -F'\\\\.' '{print $1}'`
3961 minor=`echo $PACKAGE_VERSION | awk -F'\\\\.' '{print $2}'`
3962
3963 major=$major
3964
3965 minor=$minor
3966
3967 HLIBS=$HLIBS
3968
3969
3970
3971 echo Options:
3972 echo $options
3973 echo
3974 echo Missing options:
3975 echo $options $optionlist | $AWK 'BEGIN{RS=" "}{a[$1]++}END{for(i in a)if(a[i]==1)printf(i" "); print""}'
3976 echo GUI support:
3977 echo $gui
3978 echo
3979
3980
3981
3982 ac_config_headers="$ac_config_headers gvars3/config.h"
3983
3984 ac_config_files="$ac_config_files Makefile"
3985
3986 cat >confcache <<\_ACEOF
3987 # This file is a shell script that caches the results of configure
3988 # tests run on this system so they can be shared between configure
3989 # scripts and configure runs, see configure's option --config-cache.
3990 # It is not useful on other systems. If it contains results you don't
3991 # want to keep, you may remove or edit it.
3992 #
3993 # config.status only pays attention to the cache file if you give it
3994 # the --recheck option to rerun configure.
3995 #
3996 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3997 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3998 # following values.
3999
4000 _ACEOF
4001
4002 # The following way of writing the cache mishandles newlines in values,
4003 # but we know of no workaround that is simple, portable, and efficient.
4004 # So, we kill variables containing newlines.
4005 # Ultrix sh set writes to stderr and can't be redirected directly,
4006 # and sets the high bit in the cache file unless we assign to the vars.
4007 (
4008 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4009 eval ac_val=\$$ac_var
4010 case $ac_val in #(
4011 *${as_nl}*)
4012 case $ac_var in #(
4013 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4014 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4015 esac
4016 case $ac_var in #(
4017 _ | IFS | as_nl) ;; #(
4018 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4019 *) { eval $ac_var=; unset $ac_var;} ;;
4020 esac ;;
4021 esac
4022 done
4023
4024 (set) 2>&1 |
4025 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4026 *${as_nl}ac_space=\ *)
4027 # `set' does not quote correctly, so add quotes: double-quote
4028 # substitution turns \\\\ into \\, and sed turns \\ into \.
4029 sed -n \
4030 "s/'/'\\\\''/g;
4031 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4032 ;; #(
4033 *)
4034 # `set' quotes correctly as required by POSIX, so do not add quotes.
4035 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4036 ;;
4037 esac |
4038 sort
4039 ) |
4040 sed '
4041 /^ac_cv_env_/b end
4042 t clear
4043 :clear
4044 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4045 t end
4046 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4047 :end' >>confcache
4048 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4049 if test -w "$cache_file"; then
4050 if test "x$cache_file" != "x/dev/null"; then
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4052 $as_echo "$as_me: updating cache $cache_file" >&6;}
4053 if test ! -f "$cache_file" || test -h "$cache_file"; then
4054 cat confcache >"$cache_file"
4055 else
4056 case $cache_file in #(
4057 */* | ?:*)
4058 mv -f confcache "$cache_file"$$ &&
4059 mv -f "$cache_file"$$ "$cache_file" ;; #(
4060 *)
4061 mv -f confcache "$cache_file" ;;
4062 esac
4063 fi
4064 fi
4065 else
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4067 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4068 fi
4069 fi
4070 rm -f confcache
4071
4072 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4073 # Let make expand exec_prefix.
4074 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4075
4076 DEFS=-DHAVE_CONFIG_H
4077
4078 ac_libobjs=
4079 ac_ltlibobjs=
4080 U=
4081 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4082 # 1. Remove the extension, and $U if already installed.
4083 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4084 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4085 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4086 # will be set to the directory where LIBOBJS objects are built.
4087 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4088 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4089 done
4090 LIBOBJS=$ac_libobjs
4091
4092 LTLIBOBJS=$ac_ltlibobjs
4093
4094
4095
4096 : "${CONFIG_STATUS=./config.status}"
4097 ac_write_fail=0
4098 ac_clean_files_save=$ac_clean_files
4099 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4101 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4102 as_write_fail=0
4103 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4104 #! $SHELL
4105 # Generated by $as_me.
4106 # Run this file to recreate the current configuration.
4107 # Compiler output produced by configure, useful for debugging
4108 # configure, is in config.log if it exists.
4109
4110 debug=false
4111 ac_cs_recheck=false
4112 ac_cs_silent=false
4113
4114 SHELL=\${CONFIG_SHELL-$SHELL}
4115 export SHELL
4116 _ASEOF
4117 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4118 ## -------------------- ##
4119 ## M4sh Initialization. ##
4120 ## -------------------- ##
4121
4122 # Be more Bourne compatible
4123 DUALCASE=1; export DUALCASE # for MKS sh
4124 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4125 emulate sh
4126 NULLCMD=:
4127 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4128 # is contrary to our usage. Disable this feature.
4129 alias -g '${1+"$@"}'='"$@"'
4130 setopt NO_GLOB_SUBST
4131 else
4132 case `(set -o) 2>/dev/null` in #(
4133 *posix*) :
4134 set -o posix ;; #(
4135 *) :
4136 ;;
4137 esac
4138 fi
4139
4140
4141 as_nl='
4142 '
4143 export as_nl
4144 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4145 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4146 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4147 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4148 # Prefer a ksh shell builtin over an external printf program on Solaris,
4149 # but without wasting forks for bash or zsh.
4150 if test -z "$BASH_VERSION$ZSH_VERSION" \
4151 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4152 as_echo='print -r --'
4153 as_echo_n='print -rn --'
4154 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4155 as_echo='printf %s\n'
4156 as_echo_n='printf %s'
4157 else
4158 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4159 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4160 as_echo_n='/usr/ucb/echo -n'
4161 else
4162 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4163 as_echo_n_body='eval
4164 arg=$1;
4165 case $arg in #(
4166 *"$as_nl"*)
4167 expr "X$arg" : "X\\(.*\\)$as_nl";
4168 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4169 esac;
4170 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4171 '
4172 export as_echo_n_body
4173 as_echo_n='sh -c $as_echo_n_body as_echo'
4174 fi
4175 export as_echo_body
4176 as_echo='sh -c $as_echo_body as_echo'
4177 fi
4178
4179 # The user is always right.
4180 if test "${PATH_SEPARATOR+set}" != set; then
4181 PATH_SEPARATOR=:
4182 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4183 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4184 PATH_SEPARATOR=';'
4185 }
4186 fi
4187
4188
4189 # IFS
4190 # We need space, tab and new line, in precisely that order. Quoting is
4191 # there to prevent editors from complaining about space-tab.
4192 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4193 # splitting by setting IFS to empty value.)
4194 IFS=" "" $as_nl"
4195
4196 # Find who we are. Look in the path if we contain no directory separator.
4197 as_myself=
4198 case $0 in #((
4199 *[\\/]* ) as_myself=$0 ;;
4200 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4201 for as_dir in $PATH
4202 do
4203 IFS=$as_save_IFS
4204 test -z "$as_dir" && as_dir=.
4205 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4206 done
4207 IFS=$as_save_IFS
4208
4209 ;;
4210 esac
4211 # We did not find ourselves, most probably we were run as `sh COMMAND'
4212 # in which case we are not to be found in the path.
4213 if test "x$as_myself" = x; then
4214 as_myself=$0
4215 fi
4216 if test ! -f "$as_myself"; then
4217 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4218 exit 1
4219 fi
4220
4221 # Unset variables that we do not need and which cause bugs (e.g. in
4222 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4223 # suppresses any "Segmentation fault" message there. '((' could
4224 # trigger a bug in pdksh 5.2.14.
4225 for as_var in BASH_ENV ENV MAIL MAILPATH
4226 do eval test x\${$as_var+set} = xset \
4227 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4228 done
4229 PS1='$ '
4230 PS2='> '
4231 PS4='+ '
4232
4233 # NLS nuisances.
4234 LC_ALL=C
4235 export LC_ALL
4236 LANGUAGE=C
4237 export LANGUAGE
4238
4239 # CDPATH.
4240 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4241
4242
4243 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4244 # ----------------------------------------
4245 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4246 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4247 # script with STATUS, using 1 if that was 0.
4248 as_fn_error ()
4249 {
4250 as_status=$1; test $as_status -eq 0 && as_status=1
4251 if test "$4"; then
4252 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4253 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4254 fi
4255 $as_echo "$as_me: error: $2" >&2
4256 as_fn_exit $as_status
4257 } # as_fn_error
4258
4259
4260 # as_fn_set_status STATUS
4261 # -----------------------
4262 # Set $? to STATUS, without forking.
4263 as_fn_set_status ()
4264 {
4265 return $1
4266 } # as_fn_set_status
4267
4268 # as_fn_exit STATUS
4269 # -----------------
4270 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4271 as_fn_exit ()
4272 {
4273 set +e
4274 as_fn_set_status $1
4275 exit $1
4276 } # as_fn_exit
4277
4278 # as_fn_unset VAR
4279 # ---------------
4280 # Portably unset VAR.
4281 as_fn_unset ()
4282 {
4283 { eval $1=; unset $1;}
4284 }
4285 as_unset=as_fn_unset
4286 # as_fn_append VAR VALUE
4287 # ----------------------
4288 # Append the text in VALUE to the end of the definition contained in VAR. Take
4289 # advantage of any shell optimizations that allow amortized linear growth over
4290 # repeated appends, instead of the typical quadratic growth present in naive
4291 # implementations.
4292 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4293 eval 'as_fn_append ()
4294 {
4295 eval $1+=\$2
4296 }'
4297 else
4298 as_fn_append ()
4299 {
4300 eval $1=\$$1\$2
4301 }
4302 fi # as_fn_append
4303
4304 # as_fn_arith ARG...
4305 # ------------------
4306 # Perform arithmetic evaluation on the ARGs, and store the result in the
4307 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4308 # must be portable across $(()) and expr.
4309 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4310 eval 'as_fn_arith ()
4311 {
4312 as_val=$(( $* ))
4313 }'
4314 else
4315 as_fn_arith ()
4316 {
4317 as_val=`expr "$@" || test $? -eq 1`
4318 }
4319 fi # as_fn_arith
4320
4321
4322 if expr a : '\(a\)' >/dev/null 2>&1 &&
4323 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4324 as_expr=expr
4325 else
4326 as_expr=false
4327 fi
4328
4329 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4330 as_basename=basename
4331 else
4332 as_basename=false
4333 fi
4334
4335 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4336 as_dirname=dirname
4337 else
4338 as_dirname=false
4339 fi
4340
4341 as_me=`$as_basename -- "$0" ||
4342 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4343 X"$0" : 'X\(//\)$' \| \
4344 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4345 $as_echo X/"$0" |
4346 sed '/^.*\/\([^/][^/]*\)\/*$/{
4347 s//\1/
4348 q
4349 }
4350 /^X\/\(\/\/\)$/{
4351 s//\1/
4352 q
4353 }
4354 /^X\/\(\/\).*/{
4355 s//\1/
4356 q
4357 }
4358 s/.*/./; q'`
4359
4360 # Avoid depending upon Character Ranges.
4361 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4362 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4363 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4364 as_cr_digits='0123456789'
4365 as_cr_alnum=$as_cr_Letters$as_cr_digits
4366
4367 ECHO_C= ECHO_N= ECHO_T=
4368 case `echo -n x` in #(((((
4369 -n*)
4370 case `echo 'xy\c'` in
4371 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4372 xy) ECHO_C='\c';;
4373 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4374 ECHO_T=' ';;
4375 esac;;
4376 *)
4377 ECHO_N='-n';;
4378 esac
4379
4380 rm -f conf$$ conf$$.exe conf$$.file
4381 if test -d conf$$.dir; then
4382 rm -f conf$$.dir/conf$$.file
4383 else
4384 rm -f conf$$.dir
4385 mkdir conf$$.dir 2>/dev/null
4386 fi
4387 if (echo >conf$$.file) 2>/dev/null; then
4388 if ln -s conf$$.file conf$$ 2>/dev/null; then
4389 as_ln_s='ln -s'
4390 # ... but there are two gotchas:
4391 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4392 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4393 # In both cases, we have to default to `cp -p'.
4394 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4395 as_ln_s='cp -p'
4396 elif ln conf$$.file conf$$ 2>/dev/null; then
4397 as_ln_s=ln
4398 else
4399 as_ln_s='cp -p'
4400 fi
4401 else
4402 as_ln_s='cp -p'
4403 fi
4404 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4405 rmdir conf$$.dir 2>/dev/null
4406
4407
4408 # as_fn_mkdir_p
4409 # -------------
4410 # Create "$as_dir" as a directory, including parents if necessary.
4411 as_fn_mkdir_p ()
4412 {
4413
4414 case $as_dir in #(
4415 -*) as_dir=./$as_dir;;
4416 esac
4417 test -d "$as_dir" || eval $as_mkdir_p || {
4418 as_dirs=
4419 while :; do
4420 case $as_dir in #(
4421 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4422 *) as_qdir=$as_dir;;
4423 esac
4424 as_dirs="'$as_qdir' $as_dirs"
4425 as_dir=`$as_dirname -- "$as_dir" ||
4426 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4427 X"$as_dir" : 'X\(//\)[^/]' \| \
4428 X"$as_dir" : 'X\(//\)$' \| \
4429 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4430 $as_echo X"$as_dir" |
4431 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4432 s//\1/
4433 q
4434 }
4435 /^X\(\/\/\)[^/].*/{
4436 s//\1/
4437 q
4438 }
4439 /^X\(\/\/\)$/{
4440 s//\1/
4441 q
4442 }
4443 /^X\(\/\).*/{
4444 s//\1/
4445 q
4446 }
4447 s/.*/./; q'`
4448 test -d "$as_dir" && break
4449 done
4450 test -z "$as_dirs" || eval "mkdir $as_dirs"
4451 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4452
4453
4454 } # as_fn_mkdir_p
4455 if mkdir -p . 2>/dev/null; then
4456 as_mkdir_p='mkdir -p "$as_dir"'
4457 else
4458 test -d ./-p && rmdir ./-p
4459 as_mkdir_p=false
4460 fi
4461
4462 if test -x / >/dev/null 2>&1; then
4463 as_test_x='test -x'
4464 else
4465 if ls -dL / >/dev/null 2>&1; then
4466 as_ls_L_option=L
4467 else
4468 as_ls_L_option=
4469 fi
4470 as_test_x='
4471 eval sh -c '\''
4472 if test -d "$1"; then
4473 test -d "$1/.";
4474 else
4475 case $1 in #(
4476 -*)set "./$1";;
4477 esac;
4478 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4479 ???[sx]*):;;*)false;;esac;fi
4480 '\'' sh
4481 '
4482 fi
4483 as_executable_p=$as_test_x
4484
4485 # Sed expression to map a string onto a valid CPP name.
4486 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4487
4488 # Sed expression to map a string onto a valid variable name.
4489 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4490
4491
4492 exec 6>&1
4493 ## ----------------------------------- ##
4494 ## Main body of $CONFIG_STATUS script. ##
4495 ## ----------------------------------- ##
4496 _ASEOF
4497 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4498
4499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4500 # Save the log message, to keep $0 and so on meaningful, and to
4501 # report actual input values of CONFIG_FILES etc. instead of their
4502 # values after options handling.
4503 ac_log="
4504 This file was extended by gvars3 $as_me 0.6, which was
4505 generated by GNU Autoconf 2.68. Invocation command line was
4506
4507 CONFIG_FILES = $CONFIG_FILES
4508 CONFIG_HEADERS = $CONFIG_HEADERS
4509 CONFIG_LINKS = $CONFIG_LINKS
4510 CONFIG_COMMANDS = $CONFIG_COMMANDS
4511 $ $0 $@
4512
4513 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4514 "
4515
4516 _ACEOF
4517
4518 case $ac_config_files in *"
4519 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4520 esac
4521
4522 case $ac_config_headers in *"
4523 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4524 esac
4525
4526
4527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4528 # Files that config.status was made for.
4529 config_files="$ac_config_files"
4530 config_headers="$ac_config_headers"
4531
4532 _ACEOF
4533
4534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4535 ac_cs_usage="\
4536 \`$as_me' instantiates files and other configuration actions
4537 from templates according to the current configuration. Unless the files
4538 and actions are specified as TAGs, all are instantiated by default.
4539
4540 Usage: $0 [OPTION]... [TAG]...
4541
4542 -h, --help print this help, then exit
4543 -V, --version print version number and configuration settings, then exit
4544 --config print configuration, then exit
4545 -q, --quiet, --silent
4546 do not print progress messages
4547 -d, --debug don't remove temporary files
4548 --recheck update $as_me by reconfiguring in the same conditions
4549 --file=FILE[:TEMPLATE]
4550 instantiate the configuration file FILE
4551 --header=FILE[:TEMPLATE]
4552 instantiate the configuration header FILE
4553
4554 Configuration files:
4555 $config_files
4556
4557 Configuration headers:
4558 $config_headers
4559
4560 Report bugs to the package provider."
4561
4562 _ACEOF
4563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4564 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4565 ac_cs_version="\\
4566 gvars3 config.status 0.6
4567 configured by $0, generated by GNU Autoconf 2.68,
4568 with options \\"\$ac_cs_config\\"
4569
4570 Copyright (C) 2010 Free Software Foundation, Inc.
4571 This config.status script is free software; the Free Software Foundation
4572 gives unlimited permission to copy, distribute and modify it."
4573
4574 ac_pwd='$ac_pwd'
4575 srcdir='$srcdir'
4576 AWK='$AWK'
4577 test -n "\$AWK" || AWK=awk
4578 _ACEOF
4579
4580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4581 # The default lists apply if the user does not specify any file.
4582 ac_need_defaults=:
4583 while test $# != 0
4584 do
4585 case $1 in
4586 --*=?*)
4587 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4588 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4589 ac_shift=:
4590 ;;
4591 --*=)
4592 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4593 ac_optarg=
4594 ac_shift=:
4595 ;;
4596 *)
4597 ac_option=$1
4598 ac_optarg=$2
4599 ac_shift=shift
4600 ;;
4601 esac
4602
4603 case $ac_option in
4604 # Handling of the options.
4605 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4606 ac_cs_recheck=: ;;
4607 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4608 $as_echo "$ac_cs_version"; exit ;;
4609 --config | --confi | --conf | --con | --co | --c )
4610 $as_echo "$ac_cs_config"; exit ;;
4611 --debug | --debu | --deb | --de | --d | -d )
4612 debug=: ;;
4613 --file | --fil | --fi | --f )
4614 $ac_shift
4615 case $ac_optarg in
4616 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4617 '') as_fn_error $? "missing file argument" ;;
4618 esac
4619 as_fn_append CONFIG_FILES " '$ac_optarg'"
4620 ac_need_defaults=false;;
4621 --header | --heade | --head | --hea )
4622 $ac_shift
4623 case $ac_optarg in
4624 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4625 esac
4626 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4627 ac_need_defaults=false;;
4628 --he | --h)
4629 # Conflict between --help and --header
4630 as_fn_error $? "ambiguous option: \`$1'
4631 Try \`$0 --help' for more information.";;
4632 --help | --hel | -h )
4633 $as_echo "$ac_cs_usage"; exit ;;
4634 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4635 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4636 ac_cs_silent=: ;;
4637
4638 # This is an error.
4639 -*) as_fn_error $? "unrecognized option: \`$1'
4640 Try \`$0 --help' for more information." ;;
4641
4642 *) as_fn_append ac_config_targets " $1"
4643 ac_need_defaults=false ;;
4644
4645 esac
4646 shift
4647 done
4648
4649 ac_configure_extra_args=
4650
4651 if $ac_cs_silent; then
4652 exec 6>/dev/null
4653 ac_configure_extra_args="$ac_configure_extra_args --silent"
4654 fi
4655
4656 _ACEOF
4657 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4658 if \$ac_cs_recheck; then
4659 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4660 shift
4661 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4662 CONFIG_SHELL='$SHELL'
4663 export CONFIG_SHELL
4664 exec "\$@"
4665 fi
4666
4667 _ACEOF
4668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4669 exec 5>>config.log
4670 {
4671 echo
4672 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4673 ## Running $as_me. ##
4674 _ASBOX
4675 $as_echo "$ac_log"
4676 } >&5
4677
4678 _ACEOF
4679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4680 _ACEOF
4681
4682 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4683
4684 # Handling of arguments.
4685 for ac_config_target in $ac_config_targets
4686 do
4687 case $ac_config_target in
4688 "gvars3/config.h") CONFIG_HEADERS="$CONFIG_HEADERS gvars3/config.h" ;;
4689 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4690
4691 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4692 esac
4693 done
4694
4695
4696 # If the user did not use the arguments to specify the items to instantiate,
4697 # then the envvar interface is used. Set only those that are not.
4698 # We use the long form for the default assignment because of an extremely
4699 # bizarre bug on SunOS 4.1.3.
4700 if $ac_need_defaults; then
4701 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4702 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4703 fi
4704
4705 # Have a temporary directory for convenience. Make it in the build tree
4706 # simply because there is no reason against having it here, and in addition,
4707 # creating and moving files from /tmp can sometimes cause problems.
4708 # Hook for its removal unless debugging.
4709 # Note that there is a small window in which the directory will not be cleaned:
4710 # after its creation but before its name has been assigned to `$tmp'.
4711 $debug ||
4712 {
4713 tmp= ac_tmp=
4714 trap 'exit_status=$?
4715 : "${ac_tmp:=$tmp}"
4716 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4717 ' 0
4718 trap 'as_fn_exit 1' 1 2 13 15
4719 }
4720 # Create a (secure) tmp directory for tmp files.
4721
4722 {
4723 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4724 test -d "$tmp"
4725 } ||
4726 {
4727 tmp=./conf$$-$RANDOM
4728 (umask 077 && mkdir "$tmp")
4729 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4730 ac_tmp=$tmp
4731
4732 # Set up the scripts for CONFIG_FILES section.
4733 # No need to generate them if there are no CONFIG_FILES.
4734 # This happens for instance with `./config.status config.h'.
4735 if test -n "$CONFIG_FILES"; then
4736
4737
4738 ac_cr=`echo X | tr X '\015'`
4739 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4740 # But we know of no other shell where ac_cr would be empty at this
4741 # point, so we can use a bashism as a fallback.
4742 if test "x$ac_cr" = x; then
4743 eval ac_cr=\$\'\\r\'
4744 fi
4745 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4746 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4747 ac_cs_awk_cr='\\r'
4748 else
4749 ac_cs_awk_cr=$ac_cr
4750 fi
4751
4752 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4753 _ACEOF
4754
4755
4756 {
4757 echo "cat >conf$$subs.awk <<_ACEOF" &&
4758 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4759 echo "_ACEOF"
4760 } >conf$$subs.sh ||
4761 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4762 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4763 ac_delim='%!_!# '
4764 for ac_last_try in false false false false false :; do
4765 . ./conf$$subs.sh ||
4766 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4767
4768 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4769 if test $ac_delim_n = $ac_delim_num; then
4770 break
4771 elif $ac_last_try; then
4772 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4773 else
4774 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4775 fi
4776 done
4777 rm -f conf$$subs.sh
4778
4779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4780 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4781 _ACEOF
4782 sed -n '
4783 h
4784 s/^/S["/; s/!.*/"]=/
4785 p
4786 g
4787 s/^[^!]*!//
4788 :repl
4789 t repl
4790 s/'"$ac_delim"'$//
4791 t delim
4792 :nl
4793 h
4794 s/\(.\{148\}\)..*/\1/
4795 t more1
4796 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4797 p
4798 n
4799 b repl
4800 :more1
4801 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4802 p
4803 g
4804 s/.\{148\}//
4805 t nl
4806 :delim
4807 h
4808 s/\(.\{148\}\)..*/\1/
4809 t more2
4810 s/["\\]/\\&/g; s/^/"/; s/$/"/
4811 p
4812 b
4813 :more2
4814 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4815 p
4816 g
4817 s/.\{148\}//
4818 t delim
4819 ' <conf$$subs.awk | sed '
4820 /^[^""]/{
4821 N
4822 s/\n//
4823 }
4824 ' >>$CONFIG_STATUS || ac_write_fail=1
4825 rm -f conf$$subs.awk
4826 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4827 _ACAWK
4828 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4829 for (key in S) S_is_set[key] = 1
4830 FS = ""
4831
4832 }
4833 {
4834 line = $ 0
4835 nfields = split(line, field, "@")
4836 substed = 0
4837 len = length(field[1])
4838 for (i = 2; i < nfields; i++) {
4839 key = field[i]
4840 keylen = length(key)
4841 if (S_is_set[key]) {
4842 value = S[key]
4843 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4844 len += length(value) + length(field[++i])
4845 substed = 1
4846 } else
4847 len += 1 + keylen
4848 }
4849
4850 print line
4851 }
4852
4853 _ACAWK
4854 _ACEOF
4855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4856 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4857 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4858 else
4859 cat
4860 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4861 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4862 _ACEOF
4863
4864 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4865 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4866 # trailing colons and then remove the whole line if VPATH becomes empty
4867 # (actually we leave an empty line to preserve line numbers).
4868 if test "x$srcdir" = x.; then
4869 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4870 h
4871 s///
4872 s/^/:/
4873 s/[ ]*$/:/
4874 s/:\$(srcdir):/:/g
4875 s/:\${srcdir}:/:/g
4876 s/:@srcdir@:/:/g
4877 s/^:*//
4878 s/:*$//
4879 x
4880 s/\(=[ ]*\).*/\1/
4881 G
4882 s/\n//
4883 s/^[^=]*=[ ]*$//
4884 }'
4885 fi
4886
4887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4888 fi # test -n "$CONFIG_FILES"
4889
4890 # Set up the scripts for CONFIG_HEADERS section.
4891 # No need to generate them if there are no CONFIG_HEADERS.
4892 # This happens for instance with `./config.status Makefile'.
4893 if test -n "$CONFIG_HEADERS"; then
4894 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4895 BEGIN {
4896 _ACEOF
4897
4898 # Transform confdefs.h into an awk script `defines.awk', embedded as
4899 # here-document in config.status, that substitutes the proper values into
4900 # config.h.in to produce config.h.
4901
4902 # Create a delimiter string that does not exist in confdefs.h, to ease
4903 # handling of long lines.
4904 ac_delim='%!_!# '
4905 for ac_last_try in false false :; do
4906 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4907 if test -z "$ac_tt"; then
4908 break
4909 elif $ac_last_try; then
4910 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4911 else
4912 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4913 fi
4914 done
4915
4916 # For the awk script, D is an array of macro values keyed by name,
4917 # likewise P contains macro parameters if any. Preserve backslash
4918 # newline sequences.
4919
4920 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4921 sed -n '
4922 s/.\{148\}/&'"$ac_delim"'/g
4923 t rset
4924 :rset
4925 s/^[ ]*#[ ]*define[ ][ ]*/ /
4926 t def
4927 d
4928 :def
4929 s/\\$//
4930 t bsnl
4931 s/["\\]/\\&/g
4932 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4933 D["\1"]=" \3"/p
4934 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4935 d
4936 :bsnl
4937 s/["\\]/\\&/g
4938 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4939 D["\1"]=" \3\\\\\\n"\\/p
4940 t cont
4941 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4942 t cont
4943 d
4944 :cont
4945 n
4946 s/.\{148\}/&'"$ac_delim"'/g
4947 t clear
4948 :clear
4949 s/\\$//
4950 t bsnlc
4951 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4952 d
4953 :bsnlc
4954 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4955 b cont
4956 ' <confdefs.h | sed '
4957 s/'"$ac_delim"'/"\\\
4958 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4959
4960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4961 for (key in D) D_is_set[key] = 1
4962 FS = ""
4963 }
4964 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4965 line = \$ 0
4966 split(line, arg, " ")
4967 if (arg[1] == "#") {
4968 defundef = arg[2]
4969 mac1 = arg[3]
4970 } else {
4971 defundef = substr(arg[1], 2)
4972 mac1 = arg[2]
4973 }
4974 split(mac1, mac2, "(") #)
4975 macro = mac2[1]
4976 prefix = substr(line, 1, index(line, defundef) - 1)
4977 if (D_is_set[macro]) {
4978 # Preserve the white space surrounding the "#".
4979 print prefix "define", macro P[macro] D[macro]
4980 next
4981 } else {
4982 # Replace #undef with comments. This is necessary, for example,
4983 # in the case of _POSIX_SOURCE, which is predefined and required
4984 # on some systems where configure will not decide to define it.
4985 if (defundef == "undef") {
4986 print "/*", prefix defundef, macro, "*/"
4987 next
4988 }
4989 }
4990 }
4991 { print }
4992 _ACAWK
4993 _ACEOF
4994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4995 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4996 fi # test -n "$CONFIG_HEADERS"
4997
4998
4999 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
5000 shift
5001 for ac_tag
5002 do
5003 case $ac_tag in
5004 :[FHLC]) ac_mode=$ac_tag; continue;;
5005 esac
5006 case $ac_mode$ac_tag in
5007 :[FHL]*:*);;
5008 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5009 :[FH]-) ac_tag=-:-;;
5010 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5011 esac
5012 ac_save_IFS=$IFS
5013 IFS=:
5014 set x $ac_tag
5015 IFS=$ac_save_IFS
5016 shift
5017 ac_file=$1
5018 shift
5019
5020 case $ac_mode in
5021 :L) ac_source=$1;;
5022 :[FH])
5023 ac_file_inputs=
5024 for ac_f
5025 do
5026 case $ac_f in
5027 -) ac_f="$ac_tmp/stdin";;
5028 *) # Look for the file first in the build tree, then in the source tree
5029 # (if the path is not absolute). The absolute path cannot be DOS-style,
5030 # because $ac_f cannot contain `:'.
5031 test -f "$ac_f" ||
5032 case $ac_f in
5033 [\\/$]*) false;;
5034 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5035 esac ||
5036 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5037 esac
5038 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5039 as_fn_append ac_file_inputs " '$ac_f'"
5040 done
5041
5042 # Let's still pretend it is `configure' which instantiates (i.e., don't
5043 # use $as_me), people would be surprised to read:
5044 # /* config.h. Generated by config.status. */
5045 configure_input='Generated from '`
5046 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5047 `' by configure.'
5048 if test x"$ac_file" != x-; then
5049 configure_input="$ac_file. $configure_input"
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5051 $as_echo "$as_me: creating $ac_file" >&6;}
5052 fi
5053 # Neutralize special characters interpreted by sed in replacement strings.
5054 case $configure_input in #(
5055 *\&* | *\|* | *\\* )
5056 ac_sed_conf_input=`$as_echo "$configure_input" |
5057 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5058 *) ac_sed_conf_input=$configure_input;;
5059 esac
5060
5061 case $ac_tag in
5062 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5063 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5064 esac
5065 ;;
5066 esac
5067
5068 ac_dir=`$as_dirname -- "$ac_file" ||
5069 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5070 X"$ac_file" : 'X\(//\)[^/]' \| \
5071 X"$ac_file" : 'X\(//\)$' \| \
5072 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5073 $as_echo X"$ac_file" |
5074 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5075 s//\1/
5076 q
5077 }
5078 /^X\(\/\/\)[^/].*/{
5079 s//\1/
5080 q
5081 }
5082 /^X\(\/\/\)$/{
5083 s//\1/
5084 q
5085 }
5086 /^X\(\/\).*/{
5087 s//\1/
5088 q
5089 }
5090 s/.*/./; q'`
5091 as_dir="$ac_dir"; as_fn_mkdir_p
5092 ac_builddir=.
5093
5094 case "$ac_dir" in
5095 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5096 *)
5097 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5098 # A ".." for each directory in $ac_dir_suffix.
5099 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5100 case $ac_top_builddir_sub in
5101 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5102 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5103 esac ;;
5104 esac
5105 ac_abs_top_builddir=$ac_pwd
5106 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5107 # for backward compatibility:
5108 ac_top_builddir=$ac_top_build_prefix
5109
5110 case $srcdir in
5111 .) # We are building in place.
5112 ac_srcdir=.
5113 ac_top_srcdir=$ac_top_builddir_sub
5114 ac_abs_top_srcdir=$ac_pwd ;;
5115 [\\/]* | ?:[\\/]* ) # Absolute name.
5116 ac_srcdir=$srcdir$ac_dir_suffix;
5117 ac_top_srcdir=$srcdir
5118 ac_abs_top_srcdir=$srcdir ;;
5119 *) # Relative name.
5120 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5121 ac_top_srcdir=$ac_top_build_prefix$srcdir
5122 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5123 esac
5124 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5125
5126
5127 case $ac_mode in
5128 :F)
5129 #
5130 # CONFIG_FILE
5131 #
5132
5133 _ACEOF
5134
5135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5136 # If the template does not know about datarootdir, expand it.
5137 # FIXME: This hack should be removed a few years after 2.60.
5138 ac_datarootdir_hack=; ac_datarootdir_seen=
5139 ac_sed_dataroot='
5140 /datarootdir/ {
5141 p
5142 q
5143 }
5144 /@datadir@/p
5145 /@docdir@/p
5146 /@infodir@/p
5147 /@localedir@/p
5148 /@mandir@/p'
5149 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5150 *datarootdir*) ac_datarootdir_seen=yes;;
5151 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5153 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5154 _ACEOF
5155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5156 ac_datarootdir_hack='
5157 s&@datadir@&$datadir&g
5158 s&@docdir@&$docdir&g
5159 s&@infodir@&$infodir&g
5160 s&@localedir@&$localedir&g
5161 s&@mandir@&$mandir&g
5162 s&\\\${datarootdir}&$datarootdir&g' ;;
5163 esac
5164 _ACEOF
5165
5166 # Neutralize VPATH when `$srcdir' = `.'.
5167 # Shell code in configure.ac might set extrasub.
5168 # FIXME: do we really want to maintain this feature?
5169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5170 ac_sed_extra="$ac_vpsub
5171 $extrasub
5172 _ACEOF
5173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5174 :t
5175 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5176 s|@configure_input@|$ac_sed_conf_input|;t t
5177 s&@top_builddir@&$ac_top_builddir_sub&;t t
5178 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5179 s&@srcdir@&$ac_srcdir&;t t
5180 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5181 s&@top_srcdir@&$ac_top_srcdir&;t t
5182 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5183 s&@builddir@&$ac_builddir&;t t
5184 s&@abs_builddir@&$ac_abs_builddir&;t t
5185 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5186 $ac_datarootdir_hack
5187 "
5188 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5189 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5190
5191 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5192 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5193 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5194 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5196 which seems to be undefined. Please make sure it is defined" >&5
5197 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5198 which seems to be undefined. Please make sure it is defined" >&2;}
5199
5200 rm -f "$ac_tmp/stdin"
5201 case $ac_file in
5202 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5203 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5204 esac \
5205 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5206 ;;
5207 :H)
5208 #
5209 # CONFIG_HEADER
5210 #
5211 if test x"$ac_file" != x-; then
5212 {
5213 $as_echo "/* $configure_input */" \
5214 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5215 } >"$ac_tmp/config.h" \
5216 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5217 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5219 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5220 else
5221 rm -f "$ac_file"
5222 mv "$ac_tmp/config.h" "$ac_file" \
5223 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5224 fi
5225 else
5226 $as_echo "/* $configure_input */" \
5227 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5228 || as_fn_error $? "could not create -" "$LINENO" 5
5229 fi
5230 ;;
5231
5232
5233 esac
5234
5235 done # for ac_tag
5236
5237
5238 as_fn_exit 0
5239 _ACEOF
5240 ac_clean_files=$ac_clean_files_save
5241
5242 test $ac_write_fail = 0 ||
5243 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5244
5245
5246 # configure is writing to config.log, and then calls config.status.
5247 # config.status does its own redirection, appending to config.log.
5248 # Unfortunately, on DOS this fails, as config.log is still kept open
5249 # by configure, so config.status won't be able to write to it; its
5250 # output is simply discarded. So we exec the FD to /dev/null,
5251 # effectively closing config.log, so it can be properly (re)opened and
5252 # appended to by config.status. When coming back to configure, we
5253 # need to make the FD available again.
5254 if test "$no_create" != yes; then
5255 ac_cs_success=:
5256 ac_config_status_args=
5257 test "$silent" = yes &&
5258 ac_config_status_args="$ac_config_status_args --quiet"
5259 exec 5>/dev/null
5260 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5261 exec 5>>config.log
5262 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5263 # would make configure fail if this is the last instruction.
5264 $ac_cs_success || as_fn_exit 1
5265 fi
5266 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5268 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5269 fi
5270