Debian Codegraph @

configure

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