Debian Codegraph @

configure

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