Debian Codegraph @

configure

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