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