Debian Codegraph @

configure

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