Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
101
102 ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
173 ;;
174 esac
175 fi
176 "
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191 exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
203 fi
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210 do
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
215 /*)
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
224 fi
225 fi
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
235
236
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
257 fi
258
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265 else
266 $as_echo "$0: Please tell [email protected] about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
270 fi
271 exit 1
272 fi
273 fi
274 fi
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
280
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
288 {
289 { eval $1=; unset $1;}
290 }
291 as_unset=as_fn_unset
292
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_fn_set_status ()
297 {
298 return $1
299 } # as_fn_set_status
300
301 # as_fn_exit STATUS
302 # -----------------
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
305 {
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } # as_fn_exit
310
311 # as_fn_mkdir_p
312 # -------------
313 # Create "$as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
315 {
316
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
336 q
337 }
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)$/{
343 s//\1/
344 q
345 }
346 /^X\(\/\).*/{
347 s//\1/
348 q
349 }
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
355
356
357 } # as_fn_mkdir_p
358
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
363 {
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
371 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
374 {
375 eval $1+=\$2
376 }'
377 else
378 as_fn_append ()
379 {
380 eval $1=\$$1\$2
381 }
382 fi # as_fn_append
383
384 # as_fn_arith ARG...
385 # ------------------
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
391 {
392 as_val=$(( $* ))
393 }'
394 else
395 as_fn_arith ()
396 {
397 as_val=`expr "$@" || test $? -eq 1`
398 }
399 fi # as_fn_arith
400
401
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
407 as_fn_error ()
408 {
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
413 fi
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } # as_fn_error
417
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
423 fi
424
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
429 fi
430
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
435 fi
436
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
444 q
445 }
446 /^X\/\(\/\/\)$/{
447 s//\1/
448 q
449 }
450 /^X\/\(\/\).*/{
451 s//\1/
452 q
453 }
454 s/.*/./; q'`
455
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
462
463
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
470 p
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
476 b
477 :lineno
478 N
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
486
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
497 }
498
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
508 *)
509 ECHO_N='-n';;
510 esac
511
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
518 fi
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
532 fi
533 else
534 as_ln_s='cp -pR'
535 fi
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
538
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
544 fi
545
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
548
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
551
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
555
556 test -n "$DJDIR" || exec 7<&0 </dev/null
557 exec 6>&1
558
559 # Name of the host.
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
563
564 #
565 # Initializations.
566 #
567 ac_default_prefix=/usr/local
568 ac_clean_files=
569 ac_config_libobj_dir=.
570 LIBOBJS=
571 cross_compiling=no
572 subdirs=
573 MFLAGS=
574 MAKEFLAGS=
575
576 # Identity of this package.
577 PACKAGE_NAME=
578 PACKAGE_TARNAME=
579 PACKAGE_VERSION=
580 PACKAGE_STRING=
581 PACKAGE_BUGREPORT=
582 PACKAGE_URL=
583
584 ac_subst_vars='LTLIBOBJS
585 LIBOBJS
586 libxmlplusplus_LIBS
587 libxmlplusplus_CFLAGS
588 gtkmm_LIBS
589 gtkmm_CFLAGS
590 PKG_CONFIG_LIBDIR
591 PKG_CONFIG_PATH
592 PKG_CONFIG
593 OBJEXT
594 EXEEXT
595 ac_ct_CXX
596 CPPFLAGS
597 LDFLAGS
598 CXXFLAGS
599 CXX
600 target_alias
601 host_alias
602 build_alias
603 LIBS
604 ECHO_T
605 ECHO_N
606 ECHO_C
607 DEFS
608 mandir
609 localedir
610 libdir
611 psdir
612 pdfdir
613 dvidir
614 htmldir
615 infodir
616 docdir
617 oldincludedir
618 includedir
619 runstatedir
620 localstatedir
621 sharedstatedir
622 sysconfdir
623 datadir
624 datarootdir
625 libexecdir
626 sbindir
627 bindir
628 program_transform_name
629 prefix
630 exec_prefix
631 PACKAGE_URL
632 PACKAGE_BUGREPORT
633 PACKAGE_STRING
634 PACKAGE_VERSION
635 PACKAGE_TARNAME
636 PACKAGE_NAME
637 PATH_SEPARATOR
638 SHELL'
639 ac_subst_files=''
640 ac_user_opts='
641 enable_option_checking
642 '
643 ac_precious_vars='build_alias
644 host_alias
645 target_alias
646 CXX
647 CXXFLAGS
648 LDFLAGS
649 LIBS
650 CPPFLAGS
651 CCC
652 PKG_CONFIG
653 PKG_CONFIG_PATH
654 PKG_CONFIG_LIBDIR
655 gtkmm_CFLAGS
656 gtkmm_LIBS
657 libxmlplusplus_CFLAGS
658 libxmlplusplus_LIBS'
659
660
661 # Initialize some variables set by options.
662 ac_init_help=
663 ac_init_version=false
664 ac_unrecognized_opts=
665 ac_unrecognized_sep=
666 # The variables have the same names as the options, with
667 # dashes changed to underlines.
668 cache_file=/dev/null
669 exec_prefix=NONE
670 no_create=
671 no_recursion=
672 prefix=NONE
673 program_prefix=NONE
674 program_suffix=NONE
675 program_transform_name=s,x,x,
676 silent=
677 site=
678 srcdir=
679 verbose=
680 x_includes=NONE
681 x_libraries=NONE
682
683 # Installation directory options.
684 # These are left unexpanded so users can "make install exec_prefix=/foo"
685 # and all the variables that are supposed to be based on exec_prefix
686 # by default will actually change.
687 # Use braces instead of parens because sh, perl, etc. also accept them.
688 # (The list follows the same order as the GNU Coding Standards.)
689 bindir='${exec_prefix}/bin'
690 sbindir='${exec_prefix}/sbin'
691 libexecdir='${exec_prefix}/libexec'
692 datarootdir='${prefix}/share'
693 datadir='${datarootdir}'
694 sysconfdir='${prefix}/etc'
695 sharedstatedir='${prefix}/com'
696 localstatedir='${prefix}/var'
697 runstatedir='${localstatedir}/run'
698 includedir='${prefix}/include'
699 oldincludedir='/usr/include'
700 docdir='${datarootdir}/doc/${PACKAGE}'
701 infodir='${datarootdir}/info'
702 htmldir='${docdir}'
703 dvidir='${docdir}'
704 pdfdir='${docdir}'
705 psdir='${docdir}'
706 libdir='${exec_prefix}/lib'
707 localedir='${datarootdir}/locale'
708 mandir='${datarootdir}/man'
709
710 ac_prev=
711 ac_dashdash=
712 for ac_option
713 do
714 # If the previous option needs an argument, assign it.
715 if test -n "$ac_prev"; then
716 eval $ac_prev=\$ac_option
717 ac_prev=
718 continue
719 fi
720
721 case $ac_option in
722 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
723 *=) ac_optarg= ;;
724 *) ac_optarg=yes ;;
725 esac
726
727 # Accept the important Cygnus configure options, so we can diagnose typos.
728
729 case $ac_dashdash$ac_option in
730 --)
731 ac_dashdash=yes ;;
732
733 -bindir | --bindir | --bindi | --bind | --bin | --bi)
734 ac_prev=bindir ;;
735 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
736 bindir=$ac_optarg ;;
737
738 -build | --build | --buil | --bui | --bu)
739 ac_prev=build_alias ;;
740 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
741 build_alias=$ac_optarg ;;
742
743 -cache-file | --cache-file | --cache-fil | --cache-fi \
744 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
745 ac_prev=cache_file ;;
746 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
747 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
748 cache_file=$ac_optarg ;;
749
750 --config-cache | -C)
751 cache_file=config.cache ;;
752
753 -datadir | --datadir | --datadi | --datad)
754 ac_prev=datadir ;;
755 -datadir=* | --datadir=* | --datadi=* | --datad=*)
756 datadir=$ac_optarg ;;
757
758 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
759 | --dataroo | --dataro | --datar)
760 ac_prev=datarootdir ;;
761 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
762 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
763 datarootdir=$ac_optarg ;;
764
765 -disable-* | --disable-*)
766 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
767 # Reject names that are not valid shell variable names.
768 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
769 as_fn_error $? "invalid feature name: $ac_useropt"
770 ac_useropt_orig=$ac_useropt
771 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
772 case $ac_user_opts in
773 *"
774 "enable_$ac_useropt"
775 "*) ;;
776 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
777 ac_unrecognized_sep=', ';;
778 esac
779 eval enable_$ac_useropt=no ;;
780
781 -docdir | --docdir | --docdi | --doc | --do)
782 ac_prev=docdir ;;
783 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
784 docdir=$ac_optarg ;;
785
786 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
787 ac_prev=dvidir ;;
788 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
789 dvidir=$ac_optarg ;;
790
791 -enable-* | --enable-*)
792 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
793 # Reject names that are not valid shell variable names.
794 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
795 as_fn_error $? "invalid feature name: $ac_useropt"
796 ac_useropt_orig=$ac_useropt
797 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
798 case $ac_user_opts in
799 *"
800 "enable_$ac_useropt"
801 "*) ;;
802 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
803 ac_unrecognized_sep=', ';;
804 esac
805 eval enable_$ac_useropt=\$ac_optarg ;;
806
807 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
808 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
809 | --exec | --exe | --ex)
810 ac_prev=exec_prefix ;;
811 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
812 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
813 | --exec=* | --exe=* | --ex=*)
814 exec_prefix=$ac_optarg ;;
815
816 -gas | --gas | --ga | --g)
817 # Obsolete; use --with-gas.
818 with_gas=yes ;;
819
820 -help | --help | --hel | --he | -h)
821 ac_init_help=long ;;
822 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
823 ac_init_help=recursive ;;
824 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
825 ac_init_help=short ;;
826
827 -host | --host | --hos | --ho)
828 ac_prev=host_alias ;;
829 -host=* | --host=* | --hos=* | --ho=*)
830 host_alias=$ac_optarg ;;
831
832 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
833 ac_prev=htmldir ;;
834 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
835 | --ht=*)
836 htmldir=$ac_optarg ;;
837
838 -includedir | --includedir | --includedi | --included | --include \
839 | --includ | --inclu | --incl | --inc)
840 ac_prev=includedir ;;
841 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
842 | --includ=* | --inclu=* | --incl=* | --inc=*)
843 includedir=$ac_optarg ;;
844
845 -infodir | --infodir | --infodi | --infod | --info | --inf)
846 ac_prev=infodir ;;
847 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
848 infodir=$ac_optarg ;;
849
850 -libdir | --libdir | --libdi | --libd)
851 ac_prev=libdir ;;
852 -libdir=* | --libdir=* | --libdi=* | --libd=*)
853 libdir=$ac_optarg ;;
854
855 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
856 | --libexe | --libex | --libe)
857 ac_prev=libexecdir ;;
858 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
859 | --libexe=* | --libex=* | --libe=*)
860 libexecdir=$ac_optarg ;;
861
862 -localedir | --localedir | --localedi | --localed | --locale)
863 ac_prev=localedir ;;
864 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
865 localedir=$ac_optarg ;;
866
867 -localstatedir | --localstatedir | --localstatedi | --localstated \
868 | --localstate | --localstat | --localsta | --localst | --locals)
869 ac_prev=localstatedir ;;
870 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
871 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
872 localstatedir=$ac_optarg ;;
873
874 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
875 ac_prev=mandir ;;
876 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
877 mandir=$ac_optarg ;;
878
879 -nfp | --nfp | --nf)
880 # Obsolete; use --without-fp.
881 with_fp=no ;;
882
883 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
884 | --no-cr | --no-c | -n)
885 no_create=yes ;;
886
887 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
888 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
889 no_recursion=yes ;;
890
891 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
892 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
893 | --oldin | --oldi | --old | --ol | --o)
894 ac_prev=oldincludedir ;;
895 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
896 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
897 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
898 oldincludedir=$ac_optarg ;;
899
900 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
901 ac_prev=prefix ;;
902 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
903 prefix=$ac_optarg ;;
904
905 -program-prefix | --program-prefix | --program-prefi | --program-pref \
906 | --program-pre | --program-pr | --program-p)
907 ac_prev=program_prefix ;;
908 -program-prefix=* | --program-prefix=* | --program-prefi=* \
909 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
910 program_prefix=$ac_optarg ;;
911
912 -program-suffix | --program-suffix | --program-suffi | --program-suff \
913 | --program-suf | --program-su | --program-s)
914 ac_prev=program_suffix ;;
915 -program-suffix=* | --program-suffix=* | --program-suffi=* \
916 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
917 program_suffix=$ac_optarg ;;
918
919 -program-transform-name | --program-transform-name \
920 | --program-transform-nam | --program-transform-na \
921 | --program-transform-n | --program-transform- \
922 | --program-transform | --program-transfor \
923 | --program-transfo | --program-transf \
924 | --program-trans | --program-tran \
925 | --progr-tra | --program-tr | --program-t)
926 ac_prev=program_transform_name ;;
927 -program-transform-name=* | --program-transform-name=* \
928 | --program-transform-nam=* | --program-transform-na=* \
929 | --program-transform-n=* | --program-transform-=* \
930 | --program-transform=* | --program-transfor=* \
931 | --program-transfo=* | --program-transf=* \
932 | --program-trans=* | --program-tran=* \
933 | --progr-tra=* | --program-tr=* | --program-t=*)
934 program_transform_name=$ac_optarg ;;
935
936 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
937 ac_prev=pdfdir ;;
938 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
939 pdfdir=$ac_optarg ;;
940
941 -psdir | --psdir | --psdi | --psd | --ps)
942 ac_prev=psdir ;;
943 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
944 psdir=$ac_optarg ;;
945
946 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
947 | -silent | --silent | --silen | --sile | --sil)
948 silent=yes ;;
949
950 -runstatedir | --runstatedir | --runstatedi | --runstated \
951 | --runstate | --runstat | --runsta | --runst | --runs \
952 | --run | --ru | --r)
953 ac_prev=runstatedir ;;
954 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
955 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
956 | --run=* | --ru=* | --r=*)
957 runstatedir=$ac_optarg ;;
958
959 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
960 ac_prev=sbindir ;;
961 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
962 | --sbi=* | --sb=*)
963 sbindir=$ac_optarg ;;
964
965 -sharedstatedir | --sharedstatedir | --sharedstatedi \
966 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
967 | --sharedst | --shareds | --shared | --share | --shar \
968 | --sha | --sh)
969 ac_prev=sharedstatedir ;;
970 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
971 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
972 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
973 | --sha=* | --sh=*)
974 sharedstatedir=$ac_optarg ;;
975
976 -site | --site | --sit)
977 ac_prev=site ;;
978 -site=* | --site=* | --sit=*)
979 site=$ac_optarg ;;
980
981 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
982 ac_prev=srcdir ;;
983 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
984 srcdir=$ac_optarg ;;
985
986 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
987 | --syscon | --sysco | --sysc | --sys | --sy)
988 ac_prev=sysconfdir ;;
989 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
990 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
991 sysconfdir=$ac_optarg ;;
992
993 -target | --target | --targe | --targ | --tar | --ta | --t)
994 ac_prev=target_alias ;;
995 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
996 target_alias=$ac_optarg ;;
997
998 -v | -verbose | --verbose | --verbos | --verbo | --verb)
999 verbose=yes ;;
1000
1001 -version | --version | --versio | --versi | --vers | -V)
1002 ac_init_version=: ;;
1003
1004 -with-* | --with-*)
1005 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1006 # Reject names that are not valid shell variable names.
1007 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1008 as_fn_error $? "invalid package name: $ac_useropt"
1009 ac_useropt_orig=$ac_useropt
1010 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1011 case $ac_user_opts in
1012 *"
1013 "with_$ac_useropt"
1014 "*) ;;
1015 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1016 ac_unrecognized_sep=', ';;
1017 esac
1018 eval with_$ac_useropt=\$ac_optarg ;;
1019
1020 -without-* | --without-*)
1021 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1022 # Reject names that are not valid shell variable names.
1023 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1024 as_fn_error $? "invalid package name: $ac_useropt"
1025 ac_useropt_orig=$ac_useropt
1026 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1027 case $ac_user_opts in
1028 *"
1029 "with_$ac_useropt"
1030 "*) ;;
1031 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1032 ac_unrecognized_sep=', ';;
1033 esac
1034 eval with_$ac_useropt=no ;;
1035
1036 --x)
1037 # Obsolete; use --with-x.
1038 with_x=yes ;;
1039
1040 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1041 | --x-incl | --x-inc | --x-in | --x-i)
1042 ac_prev=x_includes ;;
1043 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1044 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1045 x_includes=$ac_optarg ;;
1046
1047 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1048 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1049 ac_prev=x_libraries ;;
1050 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1051 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1052 x_libraries=$ac_optarg ;;
1053
1054 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1055 Try \`$0 --help' for more information"
1056 ;;
1057
1058 *=*)
1059 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1060 # Reject names that are not valid shell variable names.
1061 case $ac_envvar in #(
1062 '' | [0-9]* | *[!_$as_cr_alnum]* )
1063 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1064 esac
1065 eval $ac_envvar=\$ac_optarg
1066 export $ac_envvar ;;
1067
1068 *)
1069 # FIXME: should be removed in autoconf 3.0.
1070 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1071 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1072 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1073 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1074 ;;
1075
1076 esac
1077 done
1078
1079 if test -n "$ac_prev"; then
1080 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1081 as_fn_error $? "missing argument to $ac_option"
1082 fi
1083
1084 if test -n "$ac_unrecognized_opts"; then
1085 case $enable_option_checking in
1086 no) ;;
1087 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1088 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1089 esac
1090 fi
1091
1092 # Check all directory arguments for consistency.
1093 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1094 datadir sysconfdir sharedstatedir localstatedir includedir \
1095 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1096 libdir localedir mandir runstatedir
1097 do
1098 eval ac_val=\$$ac_var
1099 # Remove trailing slashes.
1100 case $ac_val in
1101 */ )
1102 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1103 eval $ac_var=\$ac_val;;
1104 esac
1105 # Be sure to have absolute directory names.
1106 case $ac_val in
1107 [\\/$]* | ?:[\\/]* ) continue;;
1108 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1109 esac
1110 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1111 done
1112
1113 # There might be people who depend on the old broken behavior: `$host'
1114 # used to hold the argument of --host etc.
1115 # FIXME: To remove some day.
1116 build=$build_alias
1117 host=$host_alias
1118 target=$target_alias
1119
1120 # FIXME: To remove some day.
1121 if test "x$host_alias" != x; then
1122 if test "x$build_alias" = x; then
1123 cross_compiling=maybe
1124 elif test "x$build_alias" != "x$host_alias"; then
1125 cross_compiling=yes
1126 fi
1127 fi
1128
1129 ac_tool_prefix=
1130 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1131
1132 test "$silent" = yes && exec 6>/dev/null
1133
1134
1135 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1136 ac_ls_di=`ls -di .` &&
1137 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1138 as_fn_error $? "working directory cannot be determined"
1139 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1140 as_fn_error $? "pwd does not report name of working directory"
1141
1142
1143 # Find the source files, if location was not specified.
1144 if test -z "$srcdir"; then
1145 ac_srcdir_defaulted=yes
1146 # Try the directory containing this script, then the parent directory.
1147 ac_confdir=`$as_dirname -- "$as_myself" ||
1148 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1149 X"$as_myself" : 'X\(//\)[^/]' \| \
1150 X"$as_myself" : 'X\(//\)$' \| \
1151 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1152 $as_echo X"$as_myself" |
1153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1154 s//\1/
1155 q
1156 }
1157 /^X\(\/\/\)[^/].*/{
1158 s//\1/
1159 q
1160 }
1161 /^X\(\/\/\)$/{
1162 s//\1/
1163 q
1164 }
1165 /^X\(\/\).*/{
1166 s//\1/
1167 q
1168 }
1169 s/.*/./; q'`
1170 srcdir=$ac_confdir
1171 if test ! -r "$srcdir/$ac_unique_file"; then
1172 srcdir=..
1173 fi
1174 else
1175 ac_srcdir_defaulted=no
1176 fi
1177 if test ! -r "$srcdir/$ac_unique_file"; then
1178 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1179 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1180 fi
1181 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1182 ac_abs_confdir=`(
1183 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1184 pwd)`
1185 # When building in place, set srcdir=.
1186 if test "$ac_abs_confdir" = "$ac_pwd"; then
1187 srcdir=.
1188 fi
1189 # Remove unnecessary trailing slashes from srcdir.
1190 # Double slashes in file names in object file debugging info
1191 # mess up M-x gdb in Emacs.
1192 case $srcdir in
1193 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1194 esac
1195 for ac_var in $ac_precious_vars; do
1196 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1197 eval ac_env_${ac_var}_value=\$${ac_var}
1198 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1199 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1200 done
1201
1202 #
1203 # Report the --help message.
1204 #
1205 if test "$ac_init_help" = "long"; then
1206 # Omit some internal or obsolete options to make the list less imposing.
1207 # This message is too long to be a string in the A/UX 3.1 sh.
1208 cat <<_ACEOF
1209 \`configure' configures this package to adapt to many kinds of systems.
1210
1211 Usage: $0 [OPTION]... [VAR=VALUE]...
1212
1213 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1214 VAR=VALUE. See below for descriptions of some of the useful variables.
1215
1216 Defaults for the options are specified in brackets.
1217
1218 Configuration:
1219 -h, --help display this help and exit
1220 --help=short display options specific to this package
1221 --help=recursive display the short help of all the included packages
1222 -V, --version display version information and exit
1223 -q, --quiet, --silent do not print \`checking ...' messages
1224 --cache-file=FILE cache test results in FILE [disabled]
1225 -C, --config-cache alias for \`--cache-file=config.cache'
1226 -n, --no-create do not create output files
1227 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1228
1229 Installation directories:
1230 --prefix=PREFIX install architecture-independent files in PREFIX
1231 [$ac_default_prefix]
1232 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1233 [PREFIX]
1234
1235 By default, \`make install' will install all the files in
1236 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1237 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1238 for instance \`--prefix=\$HOME'.
1239
1240 For better control, use the options below.
1241
1242 Fine tuning of the installation directories:
1243 --bindir=DIR user executables [EPREFIX/bin]
1244 --sbindir=DIR system admin executables [EPREFIX/sbin]
1245 --libexecdir=DIR program executables [EPREFIX/libexec]
1246 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1247 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1248 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1249 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1250 --libdir=DIR object code libraries [EPREFIX/lib]
1251 --includedir=DIR C header files [PREFIX/include]
1252 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1253 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1254 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1255 --infodir=DIR info documentation [DATAROOTDIR/info]
1256 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1257 --mandir=DIR man documentation [DATAROOTDIR/man]
1258 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1259 --htmldir=DIR html documentation [DOCDIR]
1260 --dvidir=DIR dvi documentation [DOCDIR]
1261 --pdfdir=DIR pdf documentation [DOCDIR]
1262 --psdir=DIR ps documentation [DOCDIR]
1263 _ACEOF
1264
1265 cat <<\_ACEOF
1266 _ACEOF
1267 fi
1268
1269 if test -n "$ac_init_help"; then
1270
1271 cat <<\_ACEOF
1272
1273 Some influential environment variables:
1274 CXX C++ compiler command
1275 CXXFLAGS C++ compiler flags
1276 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1277 nonstandard directory <lib dir>
1278 LIBS libraries to pass to the linker, e.g. -l<library>
1279 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1280 you have headers in a nonstandard directory <include dir>
1281 PKG_CONFIG path to pkg-config utility
1282 PKG_CONFIG_PATH
1283 directories to add to pkg-config's search path
1284 PKG_CONFIG_LIBDIR
1285 path overriding pkg-config's built-in search path
1286 gtkmm_CFLAGS
1287 C compiler flags for gtkmm, overriding pkg-config
1288 gtkmm_LIBS linker flags for gtkmm, overriding pkg-config
1289 libxmlplusplus_CFLAGS
1290 C compiler flags for libxmlplusplus, overriding pkg-config
1291 libxmlplusplus_LIBS
1292 linker flags for libxmlplusplus, overriding pkg-config
1293
1294 Use these variables to override the choices made by `configure' or to help
1295 it to find libraries and programs with nonstandard names/locations.
1296
1297 Report bugs to the package provider.
1298 _ACEOF
1299 ac_status=$?
1300 fi
1301
1302 if test "$ac_init_help" = "recursive"; then
1303 # If there are subdirs, report their specific --help.
1304 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1305 test -d "$ac_dir" ||
1306 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1307 continue
1308 ac_builddir=.
1309
1310 case "$ac_dir" in
1311 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1312 *)
1313 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1314 # A ".." for each directory in $ac_dir_suffix.
1315 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1316 case $ac_top_builddir_sub in
1317 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1318 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1319 esac ;;
1320 esac
1321 ac_abs_top_builddir=$ac_pwd
1322 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1323 # for backward compatibility:
1324 ac_top_builddir=$ac_top_build_prefix
1325
1326 case $srcdir in
1327 .) # We are building in place.
1328 ac_srcdir=.
1329 ac_top_srcdir=$ac_top_builddir_sub
1330 ac_abs_top_srcdir=$ac_pwd ;;
1331 [\\/]* | ?:[\\/]* ) # Absolute name.
1332 ac_srcdir=$srcdir$ac_dir_suffix;
1333 ac_top_srcdir=$srcdir
1334 ac_abs_top_srcdir=$srcdir ;;
1335 *) # Relative name.
1336 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1337 ac_top_srcdir=$ac_top_build_prefix$srcdir
1338 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1339 esac
1340 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1341
1342 cd "$ac_dir" || { ac_status=$?; continue; }
1343 # Check for guested configure.
1344 if test -f "$ac_srcdir/configure.gnu"; then
1345 echo &&
1346 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1347 elif test -f "$ac_srcdir/configure"; then
1348 echo &&
1349 $SHELL "$ac_srcdir/configure" --help=recursive
1350 else
1351 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1352 fi || ac_status=$?
1353 cd "$ac_pwd" || { ac_status=$?; break; }
1354 done
1355 fi
1356
1357 test -n "$ac_init_help" && exit $ac_status
1358 if $ac_init_version; then
1359 cat <<\_ACEOF
1360 configure
1361 generated by GNU Autoconf 2.69
1362
1363 Copyright (C) 2012 Free Software Foundation, Inc.
1364 This configure script is free software; the Free Software Foundation
1365 gives unlimited permission to copy, distribute and modify it.
1366 _ACEOF
1367 exit
1368 fi
1369
1370 ## ------------------------ ##
1371 ## Autoconf initialization. ##
1372 ## ------------------------ ##
1373
1374 # ac_fn_cxx_try_compile LINENO
1375 # ----------------------------
1376 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1377 ac_fn_cxx_try_compile ()
1378 {
1379 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1380 rm -f conftest.$ac_objext
1381 if { { ac_try="$ac_compile"
1382 case "(($ac_try" in
1383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1384 *) ac_try_echo=$ac_try;;
1385 esac
1386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1387 $as_echo "$ac_try_echo"; } >&5
1388 (eval "$ac_compile") 2>conftest.err
1389 ac_status=$?
1390 if test -s conftest.err; then
1391 grep -v '^ *+' conftest.err >conftest.er1
1392 cat conftest.er1 >&5
1393 mv -f conftest.er1 conftest.err
1394 fi
1395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1396 test $ac_status = 0; } && {
1397 test -z "$ac_cxx_werror_flag" ||
1398 test ! -s conftest.err
1399 } && test -s conftest.$ac_objext; then :
1400 ac_retval=0
1401 else
1402 $as_echo "$as_me: failed program was:" >&5
1403 sed 's/^/| /' conftest.$ac_ext >&5
1404
1405 ac_retval=1
1406 fi
1407 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1408 as_fn_set_status $ac_retval
1409
1410 } # ac_fn_cxx_try_compile
1411 cat >config.log <<_ACEOF
1412 This file contains any messages produced by compilers while
1413 running configure, to aid debugging if configure makes a mistake.
1414
1415 It was created by $as_me, which was
1416 generated by GNU Autoconf 2.69. Invocation command line was
1417
1418 $ $0 $@
1419
1420 _ACEOF
1421 exec 5>>config.log
1422 {
1423 cat <<_ASUNAME
1424 ## --------- ##
1425 ## Platform. ##
1426 ## --------- ##
1427
1428 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1429 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1430 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1431 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1432 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1433
1434 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1435 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1436
1437 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1438 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1439 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1440 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1441 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1442 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1443 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1444
1445 _ASUNAME
1446
1447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1448 for as_dir in $PATH
1449 do
1450 IFS=$as_save_IFS
1451 test -z "$as_dir" && as_dir=.
1452 $as_echo "PATH: $as_dir"
1453 done
1454 IFS=$as_save_IFS
1455
1456 } >&5
1457
1458 cat >&5 <<_ACEOF
1459
1460
1461 ## ----------- ##
1462 ## Core tests. ##
1463 ## ----------- ##
1464
1465 _ACEOF
1466
1467
1468 # Keep a trace of the command line.
1469 # Strip out --no-create and --no-recursion so they do not pile up.
1470 # Strip out --silent because we don't want to record it for future runs.
1471 # Also quote any args containing shell meta-characters.
1472 # Make two passes to allow for proper duplicate-argument suppression.
1473 ac_configure_args=
1474 ac_configure_args0=
1475 ac_configure_args1=
1476 ac_must_keep_next=false
1477 for ac_pass in 1 2
1478 do
1479 for ac_arg
1480 do
1481 case $ac_arg in
1482 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1483 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1484 | -silent | --silent | --silen | --sile | --sil)
1485 continue ;;
1486 *\'*)
1487 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1488 esac
1489 case $ac_pass in
1490 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1491 2)
1492 as_fn_append ac_configure_args1 " '$ac_arg'"
1493 if test $ac_must_keep_next = true; then
1494 ac_must_keep_next=false # Got value, back to normal.
1495 else
1496 case $ac_arg in
1497 *=* | --config-cache | -C | -disable-* | --disable-* \
1498 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1499 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1500 | -with-* | --with-* | -without-* | --without-* | --x)
1501 case "$ac_configure_args0 " in
1502 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1503 esac
1504 ;;
1505 -* ) ac_must_keep_next=true ;;
1506 esac
1507 fi
1508 as_fn_append ac_configure_args " '$ac_arg'"
1509 ;;
1510 esac
1511 done
1512 done
1513 { ac_configure_args0=; unset ac_configure_args0;}
1514 { ac_configure_args1=; unset ac_configure_args1;}
1515
1516 # When interrupted or exit'd, cleanup temporary files, and complete
1517 # config.log. We remove comments because anyway the quotes in there
1518 # would cause problems or look ugly.
1519 # WARNING: Use '\'' to represent an apostrophe within the trap.
1520 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1521 trap 'exit_status=$?
1522 # Save into config.log some information that might help in debugging.
1523 {
1524 echo
1525
1526 $as_echo "## ---------------- ##
1527 ## Cache variables. ##
1528 ## ---------------- ##"
1529 echo
1530 # The following way of writing the cache mishandles newlines in values,
1531 (
1532 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1533 eval ac_val=\$$ac_var
1534 case $ac_val in #(
1535 *${as_nl}*)
1536 case $ac_var in #(
1537 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1538 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1539 esac
1540 case $ac_var in #(
1541 _ | IFS | as_nl) ;; #(
1542 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1543 *) { eval $ac_var=; unset $ac_var;} ;;
1544 esac ;;
1545 esac
1546 done
1547 (set) 2>&1 |
1548 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1549 *${as_nl}ac_space=\ *)
1550 sed -n \
1551 "s/'\''/'\''\\\\'\'''\''/g;
1552 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1553 ;; #(
1554 *)
1555 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1556 ;;
1557 esac |
1558 sort
1559 )
1560 echo
1561
1562 $as_echo "## ----------------- ##
1563 ## Output variables. ##
1564 ## ----------------- ##"
1565 echo
1566 for ac_var in $ac_subst_vars
1567 do
1568 eval ac_val=\$$ac_var
1569 case $ac_val in
1570 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1571 esac
1572 $as_echo "$ac_var='\''$ac_val'\''"
1573 done | sort
1574 echo
1575
1576 if test -n "$ac_subst_files"; then
1577 $as_echo "## ------------------- ##
1578 ## File substitutions. ##
1579 ## ------------------- ##"
1580 echo
1581 for ac_var in $ac_subst_files
1582 do
1583 eval ac_val=\$$ac_var
1584 case $ac_val in
1585 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1586 esac
1587 $as_echo "$ac_var='\''$ac_val'\''"
1588 done | sort
1589 echo
1590 fi
1591
1592 if test -s confdefs.h; then
1593 $as_echo "## ----------- ##
1594 ## confdefs.h. ##
1595 ## ----------- ##"
1596 echo
1597 cat confdefs.h
1598 echo
1599 fi
1600 test "$ac_signal" != 0 &&
1601 $as_echo "$as_me: caught signal $ac_signal"
1602 $as_echo "$as_me: exit $exit_status"
1603 } >&5
1604 rm -f core *.core core.conftest.* &&
1605 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1606 exit $exit_status
1607 ' 0
1608 for ac_signal in 1 2 13 15; do
1609 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1610 done
1611 ac_signal=0
1612
1613 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1614 rm -f -r conftest* confdefs.h
1615
1616 $as_echo "/* confdefs.h */" > confdefs.h
1617
1618 # Predefined preprocessor variables.
1619
1620 cat >>confdefs.h <<_ACEOF
1621 #define PACKAGE_NAME "$PACKAGE_NAME"
1622 _ACEOF
1623
1624 cat >>confdefs.h <<_ACEOF
1625 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1626 _ACEOF
1627
1628 cat >>confdefs.h <<_ACEOF
1629 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1630 _ACEOF
1631
1632 cat >>confdefs.h <<_ACEOF
1633 #define PACKAGE_STRING "$PACKAGE_STRING"
1634 _ACEOF
1635
1636 cat >>confdefs.h <<_ACEOF
1637 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1638 _ACEOF
1639
1640 cat >>confdefs.h <<_ACEOF
1641 #define PACKAGE_URL "$PACKAGE_URL"
1642 _ACEOF
1643
1644
1645 # Let the site file select an alternate cache file if it wants to.
1646 # Prefer an explicitly selected file to automatically selected ones.
1647 ac_site_file1=NONE
1648 ac_site_file2=NONE
1649 if test -n "$CONFIG_SITE"; then
1650 # We do not want a PATH search for config.site.
1651 case $CONFIG_SITE in #((
1652 -*) ac_site_file1=./$CONFIG_SITE;;
1653 */*) ac_site_file1=$CONFIG_SITE;;
1654 *) ac_site_file1=./$CONFIG_SITE;;
1655 esac
1656 elif test "x$prefix" != xNONE; then
1657 ac_site_file1=$prefix/share/config.site
1658 ac_site_file2=$prefix/etc/config.site
1659 else
1660 ac_site_file1=$ac_default_prefix/share/config.site
1661 ac_site_file2=$ac_default_prefix/etc/config.site
1662 fi
1663 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1664 do
1665 test "x$ac_site_file" = xNONE && continue
1666 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1668 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1669 sed 's/^/| /' "$ac_site_file" >&5
1670 . "$ac_site_file" \
1671 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1672 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1673 as_fn_error $? "failed to load site script $ac_site_file
1674 See \`config.log' for more details" "$LINENO" 5; }
1675 fi
1676 done
1677
1678 if test -r "$cache_file"; then
1679 # Some versions of bash will fail to source /dev/null (special files
1680 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1681 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1683 $as_echo "$as_me: loading cache $cache_file" >&6;}
1684 case $cache_file in
1685 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1686 *) . "./$cache_file";;
1687 esac
1688 fi
1689 else
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1691 $as_echo "$as_me: creating cache $cache_file" >&6;}
1692 >$cache_file
1693 fi
1694
1695 # Check that the precious variables saved in the cache have kept the same
1696 # value.
1697 ac_cache_corrupted=false
1698 for ac_var in $ac_precious_vars; do
1699 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1700 eval ac_new_set=\$ac_env_${ac_var}_set
1701 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1702 eval ac_new_val=\$ac_env_${ac_var}_value
1703 case $ac_old_set,$ac_new_set in
1704 set,)
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1706 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1707 ac_cache_corrupted=: ;;
1708 ,set)
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1710 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1711 ac_cache_corrupted=: ;;
1712 ,);;
1713 *)
1714 if test "x$ac_old_val" != "x$ac_new_val"; then
1715 # differences in whitespace do not lead to failure.
1716 ac_old_val_w=`echo x $ac_old_val`
1717 ac_new_val_w=`echo x $ac_new_val`
1718 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1720 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1721 ac_cache_corrupted=:
1722 else
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1724 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1725 eval $ac_var=\$ac_old_val
1726 fi
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1728 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1730 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1731 fi;;
1732 esac
1733 # Pass precious variables to config.status.
1734 if test "$ac_new_set" = set; then
1735 case $ac_new_val in
1736 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1737 *) ac_arg=$ac_var=$ac_new_val ;;
1738 esac
1739 case " $ac_configure_args " in
1740 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1741 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1742 esac
1743 fi
1744 done
1745 if $ac_cache_corrupted; then
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1747 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1749 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1750 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1751 fi
1752 ## -------------------- ##
1753 ## Main body of script. ##
1754 ## -------------------- ##
1755
1756 ac_ext=c
1757 ac_cpp='$CPP $CPPFLAGS'
1758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1761
1762
1763 ac_config_files="$ac_config_files src/makefile doc/makefile misc/makefile"
1764
1765 ac_config_files="$ac_config_files doc/galois.6 doc/galois-it.6"
1766
1767 ac_config_files="$ac_config_files doc/galois-C.omf doc/galois-it.omf"
1768
1769 ac_config_files="$ac_config_files misc/galois.desktop"
1770
1771 ac_ext=cpp
1772 ac_cpp='$CXXCPP $CPPFLAGS'
1773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1776 if test -z "$CXX"; then
1777 if test -n "$CCC"; then
1778 CXX=$CCC
1779 else
1780 if test -n "$ac_tool_prefix"; then
1781 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1782 do
1783 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1784 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1786 $as_echo_n "checking for $ac_word... " >&6; }
1787 if ${ac_cv_prog_CXX+:} false; then :
1788 $as_echo_n "(cached) " >&6
1789 else
1790 if test -n "$CXX"; then
1791 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1792 else
1793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1794 for as_dir in $PATH
1795 do
1796 IFS=$as_save_IFS
1797 test -z "$as_dir" && as_dir=.
1798 for ac_exec_ext in '' $ac_executable_extensions; do
1799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1800 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1802 break 2
1803 fi
1804 done
1805 done
1806 IFS=$as_save_IFS
1807
1808 fi
1809 fi
1810 CXX=$ac_cv_prog_CXX
1811 if test -n "$CXX"; then
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
1813 $as_echo "$CXX" >&6; }
1814 else
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1816 $as_echo "no" >&6; }
1817 fi
1818
1819
1820 test -n "$CXX" && break
1821 done
1822 fi
1823 if test -z "$CXX"; then
1824 ac_ct_CXX=$CXX
1825 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1826 do
1827 # Extract the first word of "$ac_prog", so it can be a program name with args.
1828 set dummy $ac_prog; ac_word=$2
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1830 $as_echo_n "checking for $ac_word... " >&6; }
1831 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
1832 $as_echo_n "(cached) " >&6
1833 else
1834 if test -n "$ac_ct_CXX"; then
1835 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1836 else
1837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1838 for as_dir in $PATH
1839 do
1840 IFS=$as_save_IFS
1841 test -z "$as_dir" && as_dir=.
1842 for ac_exec_ext in '' $ac_executable_extensions; do
1843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1844 ac_cv_prog_ac_ct_CXX="$ac_prog"
1845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1846 break 2
1847 fi
1848 done
1849 done
1850 IFS=$as_save_IFS
1851
1852 fi
1853 fi
1854 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1855 if test -n "$ac_ct_CXX"; then
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
1857 $as_echo "$ac_ct_CXX" >&6; }
1858 else
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1860 $as_echo "no" >&6; }
1861 fi
1862
1863
1864 test -n "$ac_ct_CXX" && break
1865 done
1866
1867 if test "x$ac_ct_CXX" = x; then
1868 CXX="g++"
1869 else
1870 case $cross_compiling:$ac_tool_warned in
1871 yes:)
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1873 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1874 ac_tool_warned=yes ;;
1875 esac
1876 CXX=$ac_ct_CXX
1877 fi
1878 fi
1879
1880 fi
1881 fi
1882 # Provide some information about the compiler.
1883 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
1884 set X $ac_compile
1885 ac_compiler=$2
1886 for ac_option in --version -v -V -qversion; do
1887 { { ac_try="$ac_compiler $ac_option >&5"
1888 case "(($ac_try" in
1889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1890 *) ac_try_echo=$ac_try;;
1891 esac
1892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1893 $as_echo "$ac_try_echo"; } >&5
1894 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1895 ac_status=$?
1896 if test -s conftest.err; then
1897 sed '10a\
1898 ... rest of stderr output deleted ...
1899 10q' conftest.err >conftest.er1
1900 cat conftest.er1 >&5
1901 fi
1902 rm -f conftest.er1 conftest.err
1903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1904 test $ac_status = 0; }
1905 done
1906
1907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1908 /* end confdefs.h. */
1909
1910 int
1911 main ()
1912 {
1913
1914 ;
1915 return 0;
1916 }
1917 _ACEOF
1918 ac_clean_files_save=$ac_clean_files
1919 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1920 # Try to create an executable without -o first, disregard a.out.
1921 # It will help us diagnose broken compilers, and finding out an intuition
1922 # of exeext.
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
1924 $as_echo_n "checking whether the C++ compiler works... " >&6; }
1925 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1926
1927 # The possible output files:
1928 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
1929
1930 ac_rmfiles=
1931 for ac_file in $ac_files
1932 do
1933 case $ac_file in
1934 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1935 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
1936 esac
1937 done
1938 rm -f $ac_rmfiles
1939
1940 if { { ac_try="$ac_link_default"
1941 case "(($ac_try" in
1942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1943 *) ac_try_echo=$ac_try;;
1944 esac
1945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1946 $as_echo "$ac_try_echo"; } >&5
1947 (eval "$ac_link_default") 2>&5
1948 ac_status=$?
1949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1950 test $ac_status = 0; }; then :
1951 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
1952 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
1953 # in a Makefile. We should not override ac_cv_exeext if it was cached,
1954 # so that the user can short-circuit this test for compilers unknown to
1955 # Autoconf.
1956 for ac_file in $ac_files ''
1957 do
1958 test -f "$ac_file" || continue
1959 case $ac_file in
1960 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1961 ;;
1962 [ab].out )
1963 # We found the default executable, but exeext='' is most
1964 # certainly right.
1965 break;;
1966 *.* )
1967 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
1968 then :; else
1969 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1970 fi
1971 # We set ac_cv_exeext here because the later test for it is not
1972 # safe: cross compilers may not add the suffix if given an `-o'
1973 # argument, so we may need to know it at that point already.
1974 # Even if this section looks crufty: it has the advantage of
1975 # actually working.
1976 break;;
1977 * )
1978 break;;
1979 esac
1980 done
1981 test "$ac_cv_exeext" = no && ac_cv_exeext=
1982
1983 else
1984 ac_file=''
1985 fi
1986 if test -z "$ac_file"; then :
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1988 $as_echo "no" >&6; }
1989 $as_echo "$as_me: failed program was:" >&5
1990 sed 's/^/| /' conftest.$ac_ext >&5
1991
1992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1994 as_fn_error 77 "C++ compiler cannot create executables
1995 See \`config.log' for more details" "$LINENO" 5; }
1996 else
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1998 $as_echo "yes" >&6; }
1999 fi
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2001 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2003 $as_echo "$ac_file" >&6; }
2004 ac_exeext=$ac_cv_exeext
2005
2006 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2007 ac_clean_files=$ac_clean_files_save
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2009 $as_echo_n "checking for suffix of executables... " >&6; }
2010 if { { ac_try="$ac_link"
2011 case "(($ac_try" in
2012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2013 *) ac_try_echo=$ac_try;;
2014 esac
2015 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2016 $as_echo "$ac_try_echo"; } >&5
2017 (eval "$ac_link") 2>&5
2018 ac_status=$?
2019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2020 test $ac_status = 0; }; then :
2021 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2022 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2023 # work properly (i.e., refer to `conftest.exe'), while it won't with
2024 # `rm'.
2025 for ac_file in conftest.exe conftest conftest.*; do
2026 test -f "$ac_file" || continue
2027 case $ac_file in
2028 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2029 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2030 break;;
2031 * ) break;;
2032 esac
2033 done
2034 else
2035 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2037 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2038 See \`config.log' for more details" "$LINENO" 5; }
2039 fi
2040 rm -f conftest conftest$ac_cv_exeext
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2042 $as_echo "$ac_cv_exeext" >&6; }
2043
2044 rm -f conftest.$ac_ext
2045 EXEEXT=$ac_cv_exeext
2046 ac_exeext=$EXEEXT
2047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2048 /* end confdefs.h. */
2049 #include <stdio.h>
2050 int
2051 main ()
2052 {
2053 FILE *f = fopen ("conftest.out", "w");
2054 return ferror (f) || fclose (f) != 0;
2055
2056 ;
2057 return 0;
2058 }
2059 _ACEOF
2060 ac_clean_files="$ac_clean_files conftest.out"
2061 # Check that the compiler produces executables we can run. If not, either
2062 # the compiler is broken, or we cross compile.
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2064 $as_echo_n "checking whether we are cross compiling... " >&6; }
2065 if test "$cross_compiling" != yes; then
2066 { { ac_try="$ac_link"
2067 case "(($ac_try" in
2068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2069 *) ac_try_echo=$ac_try;;
2070 esac
2071 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2072 $as_echo "$ac_try_echo"; } >&5
2073 (eval "$ac_link") 2>&5
2074 ac_status=$?
2075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2076 test $ac_status = 0; }
2077 if { ac_try='./conftest$ac_cv_exeext'
2078 { { case "(($ac_try" in
2079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2080 *) ac_try_echo=$ac_try;;
2081 esac
2082 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2083 $as_echo "$ac_try_echo"; } >&5
2084 (eval "$ac_try") 2>&5
2085 ac_status=$?
2086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2087 test $ac_status = 0; }; }; then
2088 cross_compiling=no
2089 else
2090 if test "$cross_compiling" = maybe; then
2091 cross_compiling=yes
2092 else
2093 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2095 as_fn_error $? "cannot run C++ compiled programs.
2096 If you meant to cross compile, use \`--host'.
2097 See \`config.log' for more details" "$LINENO" 5; }
2098 fi
2099 fi
2100 fi
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2102 $as_echo "$cross_compiling" >&6; }
2103
2104 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2105 ac_clean_files=$ac_clean_files_save
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2107 $as_echo_n "checking for suffix of object files... " >&6; }
2108 if ${ac_cv_objext+:} false; then :
2109 $as_echo_n "(cached) " >&6
2110 else
2111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2112 /* end confdefs.h. */
2113
2114 int
2115 main ()
2116 {
2117
2118 ;
2119 return 0;
2120 }
2121 _ACEOF
2122 rm -f conftest.o conftest.obj
2123 if { { ac_try="$ac_compile"
2124 case "(($ac_try" in
2125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2126 *) ac_try_echo=$ac_try;;
2127 esac
2128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2129 $as_echo "$ac_try_echo"; } >&5
2130 (eval "$ac_compile") 2>&5
2131 ac_status=$?
2132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2133 test $ac_status = 0; }; then :
2134 for ac_file in conftest.o conftest.obj conftest.*; do
2135 test -f "$ac_file" || continue;
2136 case $ac_file in
2137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2138 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2139 break;;
2140 esac
2141 done
2142 else
2143 $as_echo "$as_me: failed program was:" >&5
2144 sed 's/^/| /' conftest.$ac_ext >&5
2145
2146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2148 as_fn_error $? "cannot compute suffix of object files: cannot compile
2149 See \`config.log' for more details" "$LINENO" 5; }
2150 fi
2151 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2152 fi
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2154 $as_echo "$ac_cv_objext" >&6; }
2155 OBJEXT=$ac_cv_objext
2156 ac_objext=$OBJEXT
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2158 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2159 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2160 $as_echo_n "(cached) " >&6
2161 else
2162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2163 /* end confdefs.h. */
2164
2165 int
2166 main ()
2167 {
2168 #ifndef __GNUC__
2169 choke me
2170 #endif
2171
2172 ;
2173 return 0;
2174 }
2175 _ACEOF
2176 if ac_fn_cxx_try_compile "$LINENO"; then :
2177 ac_compiler_gnu=yes
2178 else
2179 ac_compiler_gnu=no
2180 fi
2181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2182 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2183
2184 fi
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2186 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2187 if test $ac_compiler_gnu = yes; then
2188 GXX=yes
2189 else
2190 GXX=
2191 fi
2192 ac_test_CXXFLAGS=${CXXFLAGS+set}
2193 ac_save_CXXFLAGS=$CXXFLAGS
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2195 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2196 if ${ac_cv_prog_cxx_g+:} false; then :
2197 $as_echo_n "(cached) " >&6
2198 else
2199 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2200 ac_cxx_werror_flag=yes
2201 ac_cv_prog_cxx_g=no
2202 CXXFLAGS="-g"
2203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2204 /* end confdefs.h. */
2205
2206 int
2207 main ()
2208 {
2209
2210 ;
2211 return 0;
2212 }
2213 _ACEOF
2214 if ac_fn_cxx_try_compile "$LINENO"; then :
2215 ac_cv_prog_cxx_g=yes
2216 else
2217 CXXFLAGS=""
2218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2219 /* end confdefs.h. */
2220
2221 int
2222 main ()
2223 {
2224
2225 ;
2226 return 0;
2227 }
2228 _ACEOF
2229 if ac_fn_cxx_try_compile "$LINENO"; then :
2230
2231 else
2232 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2233 CXXFLAGS="-g"
2234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2235 /* end confdefs.h. */
2236
2237 int
2238 main ()
2239 {
2240
2241 ;
2242 return 0;
2243 }
2244 _ACEOF
2245 if ac_fn_cxx_try_compile "$LINENO"; then :
2246 ac_cv_prog_cxx_g=yes
2247 fi
2248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2249 fi
2250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2251 fi
2252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2253 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2254 fi
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2256 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2257 if test "$ac_test_CXXFLAGS" = set; then
2258 CXXFLAGS=$ac_save_CXXFLAGS
2259 elif test $ac_cv_prog_cxx_g = yes; then
2260 if test "$GXX" = yes; then
2261 CXXFLAGS="-g -O2"
2262 else
2263 CXXFLAGS="-g"
2264 fi
2265 else
2266 if test "$GXX" = yes; then
2267 CXXFLAGS="-O2"
2268 else
2269 CXXFLAGS=
2270 fi
2271 fi
2272 ac_ext=c
2273 ac_cpp='$CPP $CPPFLAGS'
2274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2277
2278
2279
2280
2281
2282
2283
2284
2285 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2286 if test -n "$ac_tool_prefix"; then
2287 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2288 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2290 $as_echo_n "checking for $ac_word... " >&6; }
2291 if ${ac_cv_path_PKG_CONFIG+:} false; then :
2292 $as_echo_n "(cached) " >&6
2293 else
2294 case $PKG_CONFIG in
2295 [\\/]* | ?:[\\/]*)
2296 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2297 ;;
2298 *)
2299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2300 for as_dir in $PATH
2301 do
2302 IFS=$as_save_IFS
2303 test -z "$as_dir" && as_dir=.
2304 for ac_exec_ext in '' $ac_executable_extensions; do
2305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2306 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2308 break 2
2309 fi
2310 done
2311 done
2312 IFS=$as_save_IFS
2313
2314 ;;
2315 esac
2316 fi
2317 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2318 if test -n "$PKG_CONFIG"; then
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
2320 $as_echo "$PKG_CONFIG" >&6; }
2321 else
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2323 $as_echo "no" >&6; }
2324 fi
2325
2326
2327 fi
2328 if test -z "$ac_cv_path_PKG_CONFIG"; then
2329 ac_pt_PKG_CONFIG=$PKG_CONFIG
2330 # Extract the first word of "pkg-config", so it can be a program name with args.
2331 set dummy pkg-config; ac_word=$2
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2333 $as_echo_n "checking for $ac_word... " >&6; }
2334 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
2335 $as_echo_n "(cached) " >&6
2336 else
2337 case $ac_pt_PKG_CONFIG in
2338 [\\/]* | ?:[\\/]*)
2339 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2340 ;;
2341 *)
2342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2343 for as_dir in $PATH
2344 do
2345 IFS=$as_save_IFS
2346 test -z "$as_dir" && as_dir=.
2347 for ac_exec_ext in '' $ac_executable_extensions; do
2348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2349 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2351 break 2
2352 fi
2353 done
2354 done
2355 IFS=$as_save_IFS
2356
2357 ;;
2358 esac
2359 fi
2360 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2361 if test -n "$ac_pt_PKG_CONFIG"; then
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
2363 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
2364 else
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2366 $as_echo "no" >&6; }
2367 fi
2368
2369 if test "x$ac_pt_PKG_CONFIG" = x; then
2370 PKG_CONFIG=""
2371 else
2372 case $cross_compiling:$ac_tool_warned in
2373 yes:)
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2376 ac_tool_warned=yes ;;
2377 esac
2378 PKG_CONFIG=$ac_pt_PKG_CONFIG
2379 fi
2380 else
2381 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2382 fi
2383
2384 fi
2385 if test -n "$PKG_CONFIG"; then
2386 _pkg_min_version=0.9.0
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
2388 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
2389 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2391 $as_echo "yes" >&6; }
2392 else
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2394 $as_echo "no" >&6; }
2395 PKG_CONFIG=""
2396 fi
2397 fi
2398
2399 pkg_failed=no
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtkmm" >&5
2401 $as_echo_n "checking for gtkmm... " >&6; }
2402
2403 if test -n "$gtkmm_CFLAGS"; then
2404 pkg_cv_gtkmm_CFLAGS="$gtkmm_CFLAGS"
2405 elif test -n "$PKG_CONFIG"; then
2406 if test -n "$PKG_CONFIG" && \
2407 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkmm-3.0\""; } >&5
2408 ($PKG_CONFIG --exists --print-errors "gtkmm-3.0") 2>&5
2409 ac_status=$?
2410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2411 test $ac_status = 0; }; then
2412 pkg_cv_gtkmm_CFLAGS=`$PKG_CONFIG --cflags "gtkmm-3.0" 2>/dev/null`
2413 test "x$?" != "x0" && pkg_failed=yes
2414 else
2415 pkg_failed=yes
2416 fi
2417 else
2418 pkg_failed=untried
2419 fi
2420 if test -n "$gtkmm_LIBS"; then
2421 pkg_cv_gtkmm_LIBS="$gtkmm_LIBS"
2422 elif test -n "$PKG_CONFIG"; then
2423 if test -n "$PKG_CONFIG" && \
2424 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkmm-3.0\""; } >&5
2425 ($PKG_CONFIG --exists --print-errors "gtkmm-3.0") 2>&5
2426 ac_status=$?
2427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2428 test $ac_status = 0; }; then
2429 pkg_cv_gtkmm_LIBS=`$PKG_CONFIG --libs "gtkmm-3.0" 2>/dev/null`
2430 test "x$?" != "x0" && pkg_failed=yes
2431 else
2432 pkg_failed=yes
2433 fi
2434 else
2435 pkg_failed=untried
2436 fi
2437
2438
2439
2440 if test $pkg_failed = yes; then
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2442 $as_echo "no" >&6; }
2443
2444 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
2445 _pkg_short_errors_supported=yes
2446 else
2447 _pkg_short_errors_supported=no
2448 fi
2449 if test $_pkg_short_errors_supported = yes; then
2450 gtkmm_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtkmm-3.0" 2>&1`
2451 else
2452 gtkmm_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtkmm-3.0" 2>&1`
2453 fi
2454 # Put the nasty error message in config.log where it belongs
2455 echo "$gtkmm_PKG_ERRORS" >&5
2456
2457 as_fn_error $? "Package requirements (gtkmm-3.0) were not met:
2458
2459 $gtkmm_PKG_ERRORS
2460
2461 Consider adjusting the PKG_CONFIG_PATH environment variable if you
2462 installed software in a non-standard prefix.
2463
2464 Alternatively, you may set the environment variables gtkmm_CFLAGS
2465 and gtkmm_LIBS to avoid the need to call pkg-config.
2466 See the pkg-config man page for more details." "$LINENO" 5
2467 elif test $pkg_failed = untried; then
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2469 $as_echo "no" >&6; }
2470 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2472 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
2473 is in your PATH or set the PKG_CONFIG environment variable to the full
2474 path to pkg-config.
2475
2476 Alternatively, you may set the environment variables gtkmm_CFLAGS
2477 and gtkmm_LIBS to avoid the need to call pkg-config.
2478 See the pkg-config man page for more details.
2479
2480 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
2481 See \`config.log' for more details" "$LINENO" 5; }
2482 else
2483 gtkmm_CFLAGS=$pkg_cv_gtkmm_CFLAGS
2484 gtkmm_LIBS=$pkg_cv_gtkmm_LIBS
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2486 $as_echo "yes" >&6; }
2487
2488 fi
2489
2490 pkg_failed=no
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxmlplusplus" >&5
2492 $as_echo_n "checking for libxmlplusplus... " >&6; }
2493
2494 if test -n "$libxmlplusplus_CFLAGS"; then
2495 pkg_cv_libxmlplusplus_CFLAGS="$libxmlplusplus_CFLAGS"
2496 elif test -n "$PKG_CONFIG"; then
2497 if test -n "$PKG_CONFIG" && \
2498 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml++-2.6\""; } >&5
2499 ($PKG_CONFIG --exists --print-errors "libxml++-2.6") 2>&5
2500 ac_status=$?
2501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2502 test $ac_status = 0; }; then
2503 pkg_cv_libxmlplusplus_CFLAGS=`$PKG_CONFIG --cflags "libxml++-2.6" 2>/dev/null`
2504 test "x$?" != "x0" && pkg_failed=yes
2505 else
2506 pkg_failed=yes
2507 fi
2508 else
2509 pkg_failed=untried
2510 fi
2511 if test -n "$libxmlplusplus_LIBS"; then
2512 pkg_cv_libxmlplusplus_LIBS="$libxmlplusplus_LIBS"
2513 elif test -n "$PKG_CONFIG"; then
2514 if test -n "$PKG_CONFIG" && \
2515 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml++-2.6\""; } >&5
2516 ($PKG_CONFIG --exists --print-errors "libxml++-2.6") 2>&5
2517 ac_status=$?
2518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2519 test $ac_status = 0; }; then
2520 pkg_cv_libxmlplusplus_LIBS=`$PKG_CONFIG --libs "libxml++-2.6" 2>/dev/null`
2521 test "x$?" != "x0" && pkg_failed=yes
2522 else
2523 pkg_failed=yes
2524 fi
2525 else
2526 pkg_failed=untried
2527 fi
2528
2529
2530
2531 if test $pkg_failed = yes; then
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2533 $as_echo "no" >&6; }
2534
2535 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
2536 _pkg_short_errors_supported=yes
2537 else
2538 _pkg_short_errors_supported=no
2539 fi
2540 if test $_pkg_short_errors_supported = yes; then
2541 libxmlplusplus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml++-2.6" 2>&1`
2542 else
2543 libxmlplusplus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml++-2.6" 2>&1`
2544 fi
2545 # Put the nasty error message in config.log where it belongs
2546 echo "$libxmlplusplus_PKG_ERRORS" >&5
2547
2548 as_fn_error $? "Package requirements (libxml++-2.6) were not met:
2549
2550 $libxmlplusplus_PKG_ERRORS
2551
2552 Consider adjusting the PKG_CONFIG_PATH environment variable if you
2553 installed software in a non-standard prefix.
2554
2555 Alternatively, you may set the environment variables libxmlplusplus_CFLAGS
2556 and libxmlplusplus_LIBS to avoid the need to call pkg-config.
2557 See the pkg-config man page for more details." "$LINENO" 5
2558 elif test $pkg_failed = untried; then
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2560 $as_echo "no" >&6; }
2561 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2562 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2563 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
2564 is in your PATH or set the PKG_CONFIG environment variable to the full
2565 path to pkg-config.
2566
2567 Alternatively, you may set the environment variables libxmlplusplus_CFLAGS
2568 and libxmlplusplus_LIBS to avoid the need to call pkg-config.
2569 See the pkg-config man page for more details.
2570
2571 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
2572 See \`config.log' for more details" "$LINENO" 5; }
2573 else
2574 libxmlplusplus_CFLAGS=$pkg_cv_libxmlplusplus_CFLAGS
2575 libxmlplusplus_LIBS=$pkg_cv_libxmlplusplus_LIBS
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2577 $as_echo "yes" >&6; }
2578
2579 fi
2580 cat >confcache <<\_ACEOF
2581 # This file is a shell script that caches the results of configure
2582 # tests run on this system so they can be shared between configure
2583 # scripts and configure runs, see configure's option --config-cache.
2584 # It is not useful on other systems. If it contains results you don't
2585 # want to keep, you may remove or edit it.
2586 #
2587 # config.status only pays attention to the cache file if you give it
2588 # the --recheck option to rerun configure.
2589 #
2590 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2591 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2592 # following values.
2593
2594 _ACEOF
2595
2596 # The following way of writing the cache mishandles newlines in values,
2597 # but we know of no workaround that is simple, portable, and efficient.
2598 # So, we kill variables containing newlines.
2599 # Ultrix sh set writes to stderr and can't be redirected directly,
2600 # and sets the high bit in the cache file unless we assign to the vars.
2601 (
2602 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2603 eval ac_val=\$$ac_var
2604 case $ac_val in #(
2605 *${as_nl}*)
2606 case $ac_var in #(
2607 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2608 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2609 esac
2610 case $ac_var in #(
2611 _ | IFS | as_nl) ;; #(
2612 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2613 *) { eval $ac_var=; unset $ac_var;} ;;
2614 esac ;;
2615 esac
2616 done
2617
2618 (set) 2>&1 |
2619 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2620 *${as_nl}ac_space=\ *)
2621 # `set' does not quote correctly, so add quotes: double-quote
2622 # substitution turns \\\\ into \\, and sed turns \\ into \.
2623 sed -n \
2624 "s/'/'\\\\''/g;
2625 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2626 ;; #(
2627 *)
2628 # `set' quotes correctly as required by POSIX, so do not add quotes.
2629 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2630 ;;
2631 esac |
2632 sort
2633 ) |
2634 sed '
2635 /^ac_cv_env_/b end
2636 t clear
2637 :clear
2638 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2639 t end
2640 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2641 :end' >>confcache
2642 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2643 if test -w "$cache_file"; then
2644 if test "x$cache_file" != "x/dev/null"; then
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2646 $as_echo "$as_me: updating cache $cache_file" >&6;}
2647 if test ! -f "$cache_file" || test -h "$cache_file"; then
2648 cat confcache >"$cache_file"
2649 else
2650 case $cache_file in #(
2651 */* | ?:*)
2652 mv -f confcache "$cache_file"$$ &&
2653 mv -f "$cache_file"$$ "$cache_file" ;; #(
2654 *)
2655 mv -f confcache "$cache_file" ;;
2656 esac
2657 fi
2658 fi
2659 else
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2661 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2662 fi
2663 fi
2664 rm -f confcache
2665
2666 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2667 # Let make expand exec_prefix.
2668 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2669
2670 # Transform confdefs.h into DEFS.
2671 # Protect against shell expansion while executing Makefile rules.
2672 # Protect against Makefile macro expansion.
2673 #
2674 # If the first sed substitution is executed (which looks for macros that
2675 # take arguments), then branch to the quote section. Otherwise,
2676 # look for a macro that doesn't take arguments.
2677 ac_script='
2678 :mline
2679 /\\$/{
2680 N
2681 s,\\\n,,
2682 b mline
2683 }
2684 t clear
2685 :clear
2686 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2687 t quote
2688 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2689 t quote
2690 b any
2691 :quote
2692 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2693 s/\[/\\&/g
2694 s/\]/\\&/g
2695 s/\$/$$/g
2696 H
2697 :any
2698 ${
2699 g
2700 s/^\n//
2701 s/\n/ /g
2702 p
2703 }
2704 '
2705 DEFS=`sed -n "$ac_script" confdefs.h`
2706
2707
2708 ac_libobjs=
2709 ac_ltlibobjs=
2710 U=
2711 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2712 # 1. Remove the extension, and $U if already installed.
2713 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2714 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2715 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2716 # will be set to the directory where LIBOBJS objects are built.
2717 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2718 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2719 done
2720 LIBOBJS=$ac_libobjs
2721
2722 LTLIBOBJS=$ac_ltlibobjs
2723
2724
2725
2726 : "${CONFIG_STATUS=./config.status}"
2727 ac_write_fail=0
2728 ac_clean_files_save=$ac_clean_files
2729 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2731 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2732 as_write_fail=0
2733 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2734 #! $SHELL
2735 # Generated by $as_me.
2736 # Run this file to recreate the current configuration.
2737 # Compiler output produced by configure, useful for debugging
2738 # configure, is in config.log if it exists.
2739
2740 debug=false
2741 ac_cs_recheck=false
2742 ac_cs_silent=false
2743
2744 SHELL=\${CONFIG_SHELL-$SHELL}
2745 export SHELL
2746 _ASEOF
2747 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2748 ## -------------------- ##
2749 ## M4sh Initialization. ##
2750 ## -------------------- ##
2751
2752 # Be more Bourne compatible
2753 DUALCASE=1; export DUALCASE # for MKS sh
2754 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2755 emulate sh
2756 NULLCMD=:
2757 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2758 # is contrary to our usage. Disable this feature.
2759 alias -g '${1+"$@"}'='"$@"'
2760 setopt NO_GLOB_SUBST
2761 else
2762 case `(set -o) 2>/dev/null` in #(
2763 *posix*) :
2764 set -o posix ;; #(
2765 *) :
2766 ;;
2767 esac
2768 fi
2769
2770
2771 as_nl='
2772 '
2773 export as_nl
2774 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2775 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2776 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2777 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2778 # Prefer a ksh shell builtin over an external printf program on Solaris,
2779 # but without wasting forks for bash or zsh.
2780 if test -z "$BASH_VERSION$ZSH_VERSION" \
2781 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2782 as_echo='print -r --'
2783 as_echo_n='print -rn --'
2784 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2785 as_echo='printf %s\n'
2786 as_echo_n='printf %s'
2787 else
2788 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2789 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2790 as_echo_n='/usr/ucb/echo -n'
2791 else
2792 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2793 as_echo_n_body='eval
2794 arg=$1;
2795 case $arg in #(
2796 *"$as_nl"*)
2797 expr "X$arg" : "X\\(.*\\)$as_nl";
2798 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2799 esac;
2800 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2801 '
2802 export as_echo_n_body
2803 as_echo_n='sh -c $as_echo_n_body as_echo'
2804 fi
2805 export as_echo_body
2806 as_echo='sh -c $as_echo_body as_echo'
2807 fi
2808
2809 # The user is always right.
2810 if test "${PATH_SEPARATOR+set}" != set; then
2811 PATH_SEPARATOR=:
2812 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2813 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2814 PATH_SEPARATOR=';'
2815 }
2816 fi
2817
2818
2819 # IFS
2820 # We need space, tab and new line, in precisely that order. Quoting is
2821 # there to prevent editors from complaining about space-tab.
2822 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2823 # splitting by setting IFS to empty value.)
2824 IFS=" "" $as_nl"
2825
2826 # Find who we are. Look in the path if we contain no directory separator.
2827 as_myself=
2828 case $0 in #((
2829 *[\\/]* ) as_myself=$0 ;;
2830 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2831 for as_dir in $PATH
2832 do
2833 IFS=$as_save_IFS
2834 test -z "$as_dir" && as_dir=.
2835 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2836 done
2837 IFS=$as_save_IFS
2838
2839 ;;
2840 esac
2841 # We did not find ourselves, most probably we were run as `sh COMMAND'
2842 # in which case we are not to be found in the path.
2843 if test "x$as_myself" = x; then
2844 as_myself=$0
2845 fi
2846 if test ! -f "$as_myself"; then
2847 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2848 exit 1
2849 fi
2850
2851 # Unset variables that we do not need and which cause bugs (e.g. in
2852 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2853 # suppresses any "Segmentation fault" message there. '((' could
2854 # trigger a bug in pdksh 5.2.14.
2855 for as_var in BASH_ENV ENV MAIL MAILPATH
2856 do eval test x\${$as_var+set} = xset \
2857 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2858 done
2859 PS1='$ '
2860 PS2='> '
2861 PS4='+ '
2862
2863 # NLS nuisances.
2864 LC_ALL=C
2865 export LC_ALL
2866 LANGUAGE=C
2867 export LANGUAGE
2868
2869 # CDPATH.
2870 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2871
2872
2873 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2874 # ----------------------------------------
2875 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2876 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2877 # script with STATUS, using 1 if that was 0.
2878 as_fn_error ()
2879 {
2880 as_status=$1; test $as_status -eq 0 && as_status=1
2881 if test "$4"; then
2882 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2883 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2884 fi
2885 $as_echo "$as_me: error: $2" >&2
2886 as_fn_exit $as_status
2887 } # as_fn_error
2888
2889
2890 # as_fn_set_status STATUS
2891 # -----------------------
2892 # Set $? to STATUS, without forking.
2893 as_fn_set_status ()
2894 {
2895 return $1
2896 } # as_fn_set_status
2897
2898 # as_fn_exit STATUS
2899 # -----------------
2900 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2901 as_fn_exit ()
2902 {
2903 set +e
2904 as_fn_set_status $1
2905 exit $1
2906 } # as_fn_exit
2907
2908 # as_fn_unset VAR
2909 # ---------------
2910 # Portably unset VAR.
2911 as_fn_unset ()
2912 {
2913 { eval $1=; unset $1;}
2914 }
2915 as_unset=as_fn_unset
2916 # as_fn_append VAR VALUE
2917 # ----------------------
2918 # Append the text in VALUE to the end of the definition contained in VAR. Take
2919 # advantage of any shell optimizations that allow amortized linear growth over
2920 # repeated appends, instead of the typical quadratic growth present in naive
2921 # implementations.
2922 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2923 eval 'as_fn_append ()
2924 {
2925 eval $1+=\$2
2926 }'
2927 else
2928 as_fn_append ()
2929 {
2930 eval $1=\$$1\$2
2931 }
2932 fi # as_fn_append
2933
2934 # as_fn_arith ARG...
2935 # ------------------
2936 # Perform arithmetic evaluation on the ARGs, and store the result in the
2937 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2938 # must be portable across $(()) and expr.
2939 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2940 eval 'as_fn_arith ()
2941 {
2942 as_val=$(( $* ))
2943 }'
2944 else
2945 as_fn_arith ()
2946 {
2947 as_val=`expr "$@" || test $? -eq 1`
2948 }
2949 fi # as_fn_arith
2950
2951
2952 if expr a : '\(a\)' >/dev/null 2>&1 &&
2953 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2954 as_expr=expr
2955 else
2956 as_expr=false
2957 fi
2958
2959 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2960 as_basename=basename
2961 else
2962 as_basename=false
2963 fi
2964
2965 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2966 as_dirname=dirname
2967 else
2968 as_dirname=false
2969 fi
2970
2971 as_me=`$as_basename -- "$0" ||
2972 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2973 X"$0" : 'X\(//\)$' \| \
2974 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2975 $as_echo X/"$0" |
2976 sed '/^.*\/\([^/][^/]*\)\/*$/{
2977 s//\1/
2978 q
2979 }
2980 /^X\/\(\/\/\)$/{
2981 s//\1/
2982 q
2983 }
2984 /^X\/\(\/\).*/{
2985 s//\1/
2986 q
2987 }
2988 s/.*/./; q'`
2989
2990 # Avoid depending upon Character Ranges.
2991 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2992 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2993 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2994 as_cr_digits='0123456789'
2995 as_cr_alnum=$as_cr_Letters$as_cr_digits
2996
2997 ECHO_C= ECHO_N= ECHO_T=
2998 case `echo -n x` in #(((((
2999 -n*)
3000 case `echo 'xy\c'` in
3001 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3002 xy) ECHO_C='\c';;
3003 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3004 ECHO_T=' ';;
3005 esac;;
3006 *)
3007 ECHO_N='-n';;
3008 esac
3009
3010 rm -f conf$$ conf$$.exe conf$$.file
3011 if test -d conf$$.dir; then
3012 rm -f conf$$.dir/conf$$.file
3013 else
3014 rm -f conf$$.dir
3015 mkdir conf$$.dir 2>/dev/null
3016 fi
3017 if (echo >conf$$.file) 2>/dev/null; then
3018 if ln -s conf$$.file conf$$ 2>/dev/null; then
3019 as_ln_s='ln -s'
3020 # ... but there are two gotchas:
3021 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3022 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3023 # In both cases, we have to default to `cp -pR'.
3024 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3025 as_ln_s='cp -pR'
3026 elif ln conf$$.file conf$$ 2>/dev/null; then
3027 as_ln_s=ln
3028 else
3029 as_ln_s='cp -pR'
3030 fi
3031 else
3032 as_ln_s='cp -pR'
3033 fi
3034 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3035 rmdir conf$$.dir 2>/dev/null
3036
3037
3038 # as_fn_mkdir_p
3039 # -------------
3040 # Create "$as_dir" as a directory, including parents if necessary.
3041 as_fn_mkdir_p ()
3042 {
3043
3044 case $as_dir in #(
3045 -*) as_dir=./$as_dir;;
3046 esac
3047 test -d "$as_dir" || eval $as_mkdir_p || {
3048 as_dirs=
3049 while :; do
3050 case $as_dir in #(
3051 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3052 *) as_qdir=$as_dir;;
3053 esac
3054 as_dirs="'$as_qdir' $as_dirs"
3055 as_dir=`$as_dirname -- "$as_dir" ||
3056 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3057 X"$as_dir" : 'X\(//\)[^/]' \| \
3058 X"$as_dir" : 'X\(//\)$' \| \
3059 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3060 $as_echo X"$as_dir" |
3061 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3062 s//\1/
3063 q
3064 }
3065 /^X\(\/\/\)[^/].*/{
3066 s//\1/
3067 q
3068 }
3069 /^X\(\/\/\)$/{
3070 s//\1/
3071 q
3072 }
3073 /^X\(\/\).*/{
3074 s//\1/
3075 q
3076 }
3077 s/.*/./; q'`
3078 test -d "$as_dir" && break
3079 done
3080 test -z "$as_dirs" || eval "mkdir $as_dirs"
3081 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3082
3083
3084 } # as_fn_mkdir_p
3085 if mkdir -p . 2>/dev/null; then
3086 as_mkdir_p='mkdir -p "$as_dir"'
3087 else
3088 test -d ./-p && rmdir ./-p
3089 as_mkdir_p=false
3090 fi
3091
3092
3093 # as_fn_executable_p FILE
3094 # -----------------------
3095 # Test if FILE is an executable regular file.
3096 as_fn_executable_p ()
3097 {
3098 test -f "$1" && test -x "$1"
3099 } # as_fn_executable_p
3100 as_test_x='test -x'
3101 as_executable_p=as_fn_executable_p
3102
3103 # Sed expression to map a string onto a valid CPP name.
3104 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3105
3106 # Sed expression to map a string onto a valid variable name.
3107 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3108
3109
3110 exec 6>&1
3111 ## ----------------------------------- ##
3112 ## Main body of $CONFIG_STATUS script. ##
3113 ## ----------------------------------- ##
3114 _ASEOF
3115 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3116
3117 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3118 # Save the log message, to keep $0 and so on meaningful, and to
3119 # report actual input values of CONFIG_FILES etc. instead of their
3120 # values after options handling.
3121 ac_log="
3122 This file was extended by $as_me, which was
3123 generated by GNU Autoconf 2.69. Invocation command line was
3124
3125 CONFIG_FILES = $CONFIG_FILES
3126 CONFIG_HEADERS = $CONFIG_HEADERS
3127 CONFIG_LINKS = $CONFIG_LINKS
3128 CONFIG_COMMANDS = $CONFIG_COMMANDS
3129 $ $0 $@
3130
3131 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3132 "
3133
3134 _ACEOF
3135
3136 case $ac_config_files in *"
3137 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3138 esac
3139
3140
3141
3142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3143 # Files that config.status was made for.
3144 config_files="$ac_config_files"
3145
3146 _ACEOF
3147
3148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3149 ac_cs_usage="\
3150 \`$as_me' instantiates files and other configuration actions
3151 from templates according to the current configuration. Unless the files
3152 and actions are specified as TAGs, all are instantiated by default.
3153
3154 Usage: $0 [OPTION]... [TAG]...
3155
3156 -h, --help print this help, then exit
3157 -V, --version print version number and configuration settings, then exit
3158 --config print configuration, then exit
3159 -q, --quiet, --silent
3160 do not print progress messages
3161 -d, --debug don't remove temporary files
3162 --recheck update $as_me by reconfiguring in the same conditions
3163 --file=FILE[:TEMPLATE]
3164 instantiate the configuration file FILE
3165
3166 Configuration files:
3167 $config_files
3168
3169 Report bugs to the package provider."
3170
3171 _ACEOF
3172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3173 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3174 ac_cs_version="\\
3175 config.status
3176 configured by $0, generated by GNU Autoconf 2.69,
3177 with options \\"\$ac_cs_config\\"
3178
3179 Copyright (C) 2012 Free Software Foundation, Inc.
3180 This config.status script is free software; the Free Software Foundation
3181 gives unlimited permission to copy, distribute and modify it."
3182
3183 ac_pwd='$ac_pwd'
3184 srcdir='$srcdir'
3185 test -n "\$AWK" || AWK=awk
3186 _ACEOF
3187
3188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3189 # The default lists apply if the user does not specify any file.
3190 ac_need_defaults=:
3191 while test $# != 0
3192 do
3193 case $1 in
3194 --*=?*)
3195 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3196 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3197 ac_shift=:
3198 ;;
3199 --*=)
3200 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3201 ac_optarg=
3202 ac_shift=:
3203 ;;
3204 *)
3205 ac_option=$1
3206 ac_optarg=$2
3207 ac_shift=shift
3208 ;;
3209 esac
3210
3211 case $ac_option in
3212 # Handling of the options.
3213 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3214 ac_cs_recheck=: ;;
3215 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3216 $as_echo "$ac_cs_version"; exit ;;
3217 --config | --confi | --conf | --con | --co | --c )
3218 $as_echo "$ac_cs_config"; exit ;;
3219 --debug | --debu | --deb | --de | --d | -d )
3220 debug=: ;;
3221 --file | --fil | --fi | --f )
3222 $ac_shift
3223 case $ac_optarg in
3224 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3225 '') as_fn_error $? "missing file argument" ;;
3226 esac
3227 as_fn_append CONFIG_FILES " '$ac_optarg'"
3228 ac_need_defaults=false;;
3229 --he | --h | --help | --hel | -h )
3230 $as_echo "$ac_cs_usage"; exit ;;
3231 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3232 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3233 ac_cs_silent=: ;;
3234
3235 # This is an error.
3236 -*) as_fn_error $? "unrecognized option: \`$1'
3237 Try \`$0 --help' for more information." ;;
3238
3239 *) as_fn_append ac_config_targets " $1"
3240 ac_need_defaults=false ;;
3241
3242 esac
3243 shift
3244 done
3245
3246 ac_configure_extra_args=
3247
3248 if $ac_cs_silent; then
3249 exec 6>/dev/null
3250 ac_configure_extra_args="$ac_configure_extra_args --silent"
3251 fi
3252
3253 _ACEOF
3254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3255 if \$ac_cs_recheck; then
3256 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3257 shift
3258 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3259 CONFIG_SHELL='$SHELL'
3260 export CONFIG_SHELL
3261 exec "\$@"
3262 fi
3263
3264 _ACEOF
3265 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3266 exec 5>>config.log
3267 {
3268 echo
3269 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3270 ## Running $as_me. ##
3271 _ASBOX
3272 $as_echo "$ac_log"
3273 } >&5
3274
3275 _ACEOF
3276 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3277 _ACEOF
3278
3279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3280
3281 # Handling of arguments.
3282 for ac_config_target in $ac_config_targets
3283 do
3284 case $ac_config_target in
3285 "src/makefile") CONFIG_FILES="$CONFIG_FILES src/makefile" ;;
3286 "doc/makefile") CONFIG_FILES="$CONFIG_FILES doc/makefile" ;;
3287 "misc/makefile") CONFIG_FILES="$CONFIG_FILES misc/makefile" ;;
3288 "doc/galois.6") CONFIG_FILES="$CONFIG_FILES doc/galois.6" ;;
3289 "doc/galois-it.6") CONFIG_FILES="$CONFIG_FILES doc/galois-it.6" ;;
3290 "doc/galois-C.omf") CONFIG_FILES="$CONFIG_FILES doc/galois-C.omf" ;;
3291 "doc/galois-it.omf") CONFIG_FILES="$CONFIG_FILES doc/galois-it.omf" ;;
3292 "misc/galois.desktop") CONFIG_FILES="$CONFIG_FILES misc/galois.desktop" ;;
3293
3294 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3295 esac
3296 done
3297
3298
3299 # If the user did not use the arguments to specify the items to instantiate,
3300 # then the envvar interface is used. Set only those that are not.
3301 # We use the long form for the default assignment because of an extremely
3302 # bizarre bug on SunOS 4.1.3.
3303 if $ac_need_defaults; then
3304 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3305 fi
3306
3307 # Have a temporary directory for convenience. Make it in the build tree
3308 # simply because there is no reason against having it here, and in addition,
3309 # creating and moving files from /tmp can sometimes cause problems.
3310 # Hook for its removal unless debugging.
3311 # Note that there is a small window in which the directory will not be cleaned:
3312 # after its creation but before its name has been assigned to `$tmp'.
3313 $debug ||
3314 {
3315 tmp= ac_tmp=
3316 trap 'exit_status=$?
3317 : "${ac_tmp:=$tmp}"
3318 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3319 ' 0
3320 trap 'as_fn_exit 1' 1 2 13 15
3321 }
3322 # Create a (secure) tmp directory for tmp files.
3323
3324 {
3325 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3326 test -d "$tmp"
3327 } ||
3328 {
3329 tmp=./conf$$-$RANDOM
3330 (umask 077 && mkdir "$tmp")
3331 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3332 ac_tmp=$tmp
3333
3334 # Set up the scripts for CONFIG_FILES section.
3335 # No need to generate them if there are no CONFIG_FILES.
3336 # This happens for instance with `./config.status config.h'.
3337 if test -n "$CONFIG_FILES"; then
3338
3339
3340 ac_cr=`echo X | tr X '\015'`
3341 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3342 # But we know of no other shell where ac_cr would be empty at this
3343 # point, so we can use a bashism as a fallback.
3344 if test "x$ac_cr" = x; then
3345 eval ac_cr=\$\'\\r\'
3346 fi
3347 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3348 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3349 ac_cs_awk_cr='\\r'
3350 else
3351 ac_cs_awk_cr=$ac_cr
3352 fi
3353
3354 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3355 _ACEOF
3356
3357
3358 {
3359 echo "cat >conf$$subs.awk <<_ACEOF" &&
3360 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3361 echo "_ACEOF"
3362 } >conf$$subs.sh ||
3363 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3364 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3365 ac_delim='%!_!# '
3366 for ac_last_try in false false false false false :; do
3367 . ./conf$$subs.sh ||
3368 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3369
3370 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3371 if test $ac_delim_n = $ac_delim_num; then
3372 break
3373 elif $ac_last_try; then
3374 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3375 else
3376 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3377 fi
3378 done
3379 rm -f conf$$subs.sh
3380
3381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3382 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3383 _ACEOF
3384 sed -n '
3385 h
3386 s/^/S["/; s/!.*/"]=/
3387 p
3388 g
3389 s/^[^!]*!//
3390 :repl
3391 t repl
3392 s/'"$ac_delim"'$//
3393 t delim
3394 :nl
3395 h
3396 s/\(.\{148\}\)..*/\1/
3397 t more1
3398 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3399 p
3400 n
3401 b repl
3402 :more1
3403 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3404 p
3405 g
3406 s/.\{148\}//
3407 t nl
3408 :delim
3409 h
3410 s/\(.\{148\}\)..*/\1/
3411 t more2
3412 s/["\\]/\\&/g; s/^/"/; s/$/"/
3413 p
3414 b
3415 :more2
3416 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3417 p
3418 g
3419 s/.\{148\}//
3420 t delim
3421 ' <conf$$subs.awk | sed '
3422 /^[^""]/{
3423 N
3424 s/\n//
3425 }
3426 ' >>$CONFIG_STATUS || ac_write_fail=1
3427 rm -f conf$$subs.awk
3428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3429 _ACAWK
3430 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3431 for (key in S) S_is_set[key] = 1
3432 FS = ""
3433
3434 }
3435 {
3436 line = $ 0
3437 nfields = split(line, field, "@")
3438 substed = 0
3439 len = length(field[1])
3440 for (i = 2; i < nfields; i++) {
3441 key = field[i]
3442 keylen = length(key)
3443 if (S_is_set[key]) {
3444 value = S[key]
3445 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3446 len += length(value) + length(field[++i])
3447 substed = 1
3448 } else
3449 len += 1 + keylen
3450 }
3451
3452 print line
3453 }
3454
3455 _ACAWK
3456 _ACEOF
3457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3458 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3459 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3460 else
3461 cat
3462 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3463 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3464 _ACEOF
3465
3466 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3467 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3468 # trailing colons and then remove the whole line if VPATH becomes empty
3469 # (actually we leave an empty line to preserve line numbers).
3470 if test "x$srcdir" = x.; then
3471 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3472 h
3473 s///
3474 s/^/:/
3475 s/[ ]*$/:/
3476 s/:\$(srcdir):/:/g
3477 s/:\${srcdir}:/:/g
3478 s/:@srcdir@:/:/g
3479 s/^:*//
3480 s/:*$//
3481 x
3482 s/\(=[ ]*\).*/\1/
3483 G
3484 s/\n//
3485 s/^[^=]*=[ ]*$//
3486 }'
3487 fi
3488
3489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3490 fi # test -n "$CONFIG_FILES"
3491
3492
3493 eval set X " :F $CONFIG_FILES "
3494 shift
3495 for ac_tag
3496 do
3497 case $ac_tag in
3498 :[FHLC]) ac_mode=$ac_tag; continue;;
3499 esac
3500 case $ac_mode$ac_tag in
3501 :[FHL]*:*);;
3502 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3503 :[FH]-) ac_tag=-:-;;
3504 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3505 esac
3506 ac_save_IFS=$IFS
3507 IFS=:
3508 set x $ac_tag
3509 IFS=$ac_save_IFS
3510 shift
3511 ac_file=$1
3512 shift
3513
3514 case $ac_mode in
3515 :L) ac_source=$1;;
3516 :[FH])
3517 ac_file_inputs=
3518 for ac_f
3519 do
3520 case $ac_f in
3521 -) ac_f="$ac_tmp/stdin";;
3522 *) # Look for the file first in the build tree, then in the source tree
3523 # (if the path is not absolute). The absolute path cannot be DOS-style,
3524 # because $ac_f cannot contain `:'.
3525 test -f "$ac_f" ||
3526 case $ac_f in
3527 [\\/$]*) false;;
3528 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3529 esac ||
3530 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3531 esac
3532 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3533 as_fn_append ac_file_inputs " '$ac_f'"
3534 done
3535
3536 # Let's still pretend it is `configure' which instantiates (i.e., don't
3537 # use $as_me), people would be surprised to read:
3538 # /* config.h. Generated by config.status. */
3539 configure_input='Generated from '`
3540 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3541 `' by configure.'
3542 if test x"$ac_file" != x-; then
3543 configure_input="$ac_file. $configure_input"
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3545 $as_echo "$as_me: creating $ac_file" >&6;}
3546 fi
3547 # Neutralize special characters interpreted by sed in replacement strings.
3548 case $configure_input in #(
3549 *\&* | *\|* | *\\* )
3550 ac_sed_conf_input=`$as_echo "$configure_input" |
3551 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3552 *) ac_sed_conf_input=$configure_input;;
3553 esac
3554
3555 case $ac_tag in
3556 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3557 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3558 esac
3559 ;;
3560 esac
3561
3562 ac_dir=`$as_dirname -- "$ac_file" ||
3563 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3564 X"$ac_file" : 'X\(//\)[^/]' \| \
3565 X"$ac_file" : 'X\(//\)$' \| \
3566 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3567 $as_echo X"$ac_file" |
3568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3569 s//\1/
3570 q
3571 }
3572 /^X\(\/\/\)[^/].*/{
3573 s//\1/
3574 q
3575 }
3576 /^X\(\/\/\)$/{
3577 s//\1/
3578 q
3579 }
3580 /^X\(\/\).*/{
3581 s//\1/
3582 q
3583 }
3584 s/.*/./; q'`
3585 as_dir="$ac_dir"; as_fn_mkdir_p
3586 ac_builddir=.
3587
3588 case "$ac_dir" in
3589 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3590 *)
3591 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3592 # A ".." for each directory in $ac_dir_suffix.
3593 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3594 case $ac_top_builddir_sub in
3595 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3596 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3597 esac ;;
3598 esac
3599 ac_abs_top_builddir=$ac_pwd
3600 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3601 # for backward compatibility:
3602 ac_top_builddir=$ac_top_build_prefix
3603
3604 case $srcdir in
3605 .) # We are building in place.
3606 ac_srcdir=.
3607 ac_top_srcdir=$ac_top_builddir_sub
3608 ac_abs_top_srcdir=$ac_pwd ;;
3609 [\\/]* | ?:[\\/]* ) # Absolute name.
3610 ac_srcdir=$srcdir$ac_dir_suffix;
3611 ac_top_srcdir=$srcdir
3612 ac_abs_top_srcdir=$srcdir ;;
3613 *) # Relative name.
3614 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3615 ac_top_srcdir=$ac_top_build_prefix$srcdir
3616 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3617 esac
3618 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3619
3620
3621 case $ac_mode in
3622 :F)
3623 #
3624 # CONFIG_FILE
3625 #
3626
3627 _ACEOF
3628
3629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3630 # If the template does not know about datarootdir, expand it.
3631 # FIXME: This hack should be removed a few years after 2.60.
3632 ac_datarootdir_hack=; ac_datarootdir_seen=
3633 ac_sed_dataroot='
3634 /datarootdir/ {
3635 p
3636 q
3637 }
3638 /@datadir@/p
3639 /@docdir@/p
3640 /@infodir@/p
3641 /@localedir@/p
3642 /@mandir@/p'
3643 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3644 *datarootdir*) ac_datarootdir_seen=yes;;
3645 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3647 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3648 _ACEOF
3649 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3650 ac_datarootdir_hack='
3651 s&@datadir@&$datadir&g
3652 s&@docdir@&$docdir&g
3653 s&@infodir@&$infodir&g
3654 s&@localedir@&$localedir&g
3655 s&@mandir@&$mandir&g
3656 s&\\\${datarootdir}&$datarootdir&g' ;;
3657 esac
3658 _ACEOF
3659
3660 # Neutralize VPATH when `$srcdir' = `.'.
3661 # Shell code in configure.ac might set extrasub.
3662 # FIXME: do we really want to maintain this feature?
3663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3664 ac_sed_extra="$ac_vpsub
3665 $extrasub
3666 _ACEOF
3667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3668 :t
3669 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3670 s|@configure_input@|$ac_sed_conf_input|;t t
3671 s&@top_builddir@&$ac_top_builddir_sub&;t t
3672 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3673 s&@srcdir@&$ac_srcdir&;t t
3674 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3675 s&@top_srcdir@&$ac_top_srcdir&;t t
3676 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3677 s&@builddir@&$ac_builddir&;t t
3678 s&@abs_builddir@&$ac_abs_builddir&;t t
3679 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3680 $ac_datarootdir_hack
3681 "
3682 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3683 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3684
3685 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3686 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3687 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3688 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3690 which seems to be undefined. Please make sure it is defined" >&5
3691 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3692 which seems to be undefined. Please make sure it is defined" >&2;}
3693
3694 rm -f "$ac_tmp/stdin"
3695 case $ac_file in
3696 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3697 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3698 esac \
3699 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3700 ;;
3701
3702
3703
3704 esac
3705
3706 done # for ac_tag
3707
3708
3709 as_fn_exit 0
3710 _ACEOF
3711 ac_clean_files=$ac_clean_files_save
3712
3713 test $ac_write_fail = 0 ||
3714 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3715
3716
3717 # configure is writing to config.log, and then calls config.status.
3718 # config.status does its own redirection, appending to config.log.
3719 # Unfortunately, on DOS this fails, as config.log is still kept open
3720 # by configure, so config.status won't be able to write to it; its
3721 # output is simply discarded. So we exec the FD to /dev/null,
3722 # effectively closing config.log, so it can be properly (re)opened and
3723 # appended to by config.status. When coming back to configure, we
3724 # need to make the FD available again.
3725 if test "$no_create" != yes; then
3726 ac_cs_success=:
3727 ac_config_status_args=
3728 test "$silent" = yes &&
3729 ac_config_status_args="$ac_config_status_args --quiet"
3730 exec 5>/dev/null
3731 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3732 exec 5>>config.log
3733 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3734 # would make configure fail if this is the last instruction.
3735 $ac_cs_success || as_fn_exit 1
3736 fi
3737 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3739 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3740 fi
3741