Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for icon-naming-utils 0.8.90.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 #
10 # Copyright 2005-2007 Rodney Dawes
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
28
29 fi
30
31
32
33
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
51 fi
52 rm -f conf$$.sh
53 fi
54
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
60 fi
61
62
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
69 '
70 IFS=" "" $as_nl"
71
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
77 do
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
83
84 ;;
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
90 fi
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
94 fi
95
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
103
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
109 do
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114 fi
115 done
116
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
123 fi
124
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
129 fi
130
131
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
140 q
141 }
142 /^X\/\(\/\/\)$/{
143 s//\1/
144 q
145 }
146 /^X\/\(\/\).*/{
147 s//\1/
148 q
149 }
150 s/.*/./; q'`
151
152 # CDPATH.
153 $as_unset CDPATH
154
155
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
161 fi
162
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
166 }
167 as_func_success () {
168 as_func_return 0
169 }
170 as_func_failure () {
171 as_func_return 1
172 }
173 as_func_ret_success () {
174 return 0
175 }
176 as_func_ret_failure () {
177 return 1
178 }
179
180 exitcode=0
181 if as_func_success; then
182 :
183 else
184 exitcode=1
185 echo as_func_success failed.
186 fi
187
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
191 fi
192
193 if as_func_ret_success; then
194 :
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
198 fi
199
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
203 fi
204
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206 :
207 else
208 exitcode=1
209 echo positional parameters were not saved.
210 fi
211
212 test \$exitcode = 0) || { (exit 1); exit 1; }
213
214 (
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
220 :
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 do
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
229 /*)
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
236
237
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
253
254 fi
255
256
257 :
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
274
275 fi
276
277
278 :
279 (as_func_return () {
280 (exit $1)
281 }
282 as_func_success () {
283 as_func_return 0
284 }
285 as_func_failure () {
286 as_func_return 1
287 }
288 as_func_ret_success () {
289 return 0
290 }
291 as_func_ret_failure () {
292 return 1
293 }
294
295 exitcode=0
296 if as_func_success; then
297 :
298 else
299 exitcode=1
300 echo as_func_success failed.
301 fi
302
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
306 fi
307
308 if as_func_ret_success; then
309 :
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
313 fi
314
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
318 fi
319
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
321 :
322 else
323 exitcode=1
324 echo positional parameters were not saved.
325 fi
326
327 test $exitcode = 0) || { (exit 1); exit 1; }
328
329 (
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335 _ASEOF
336 }; then
337 break
338 fi
339
340 fi
341
342 done
343
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350 fi
351
352
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
359 fi
360
361
362 fi
363
364 fi
365
366
367
368 (eval "as_func_return () {
369 (exit \$1)
370 }
371 as_func_success () {
372 as_func_return 0
373 }
374 as_func_failure () {
375 as_func_return 1
376 }
377 as_func_ret_success () {
378 return 0
379 }
380 as_func_ret_failure () {
381 return 1
382 }
383
384 exitcode=0
385 if as_func_success; then
386 :
387 else
388 exitcode=1
389 echo as_func_success failed.
390 fi
391
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
395 fi
396
397 if as_func_ret_success; then
398 :
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
402 fi
403
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
407 fi
408
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410 :
411 else
412 exitcode=1
413 echo positional parameters were not saved.
414 fi
415
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell [email protected] about your system,
419 echo including any error possibly output before this
420 echo message
421 }
422
423
424
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
441 p
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
447 b
448 :lineno
449 N
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
458
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
465 }
466
467
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
472 fi
473
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
481 *)
482 ECHO_N='-n';;
483 esac
484
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
490 fi
491
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
498 fi
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
512 fi
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
515
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
521 fi
522
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
530 fi
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
542 '
543 fi
544 as_executable_p=$as_test_x
545
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554 exec 7<&0 </dev/null 6>&1
555
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
561 #
562 # Initializations.
563 #
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
573
574 # Identity of this package.
575 PACKAGE_NAME='icon-naming-utils'
576 PACKAGE_TARNAME='icon-naming-utils'
577 PACKAGE_VERSION='0.8.90'
578 PACKAGE_STRING='icon-naming-utils 0.8.90'
579 PACKAGE_BUGREPORT=''
580
581 ac_unique_file="icon-name-mapping.pl.in"
582 ac_subst_vars='SHELL
583 PATH_SEPARATOR
584 PACKAGE_NAME
585 PACKAGE_TARNAME
586 PACKAGE_VERSION
587 PACKAGE_STRING
588 PACKAGE_BUGREPORT
589 exec_prefix
590 prefix
591 program_transform_name
592 bindir
593 sbindir
594 libexecdir
595 datarootdir
596 datadir
597 sysconfdir
598 sharedstatedir
599 localstatedir
600 includedir
601 oldincludedir
602 docdir
603 infodir
604 htmldir
605 dvidir
606 pdfdir
607 psdir
608 libdir
609 localedir
610 mandir
611 DEFS
612 ECHO_C
613 ECHO_N
614 ECHO_T
615 LIBS
616 build_alias
617 host_alias
618 target_alias
619 INSTALL_PROGRAM
620 INSTALL_SCRIPT
621 INSTALL_DATA
622 am__isrc
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 MAINTAINER_MODE_TRUE
642 MAINTAINER_MODE_FALSE
643 MAINT
644 PERL
645 LIBOBJS
646 LTLIBOBJS'
647 ac_subst_files=''
648 ac_precious_vars='build_alias
649 host_alias
650 target_alias'
651
652
653 # Initialize some variables set by options.
654 ac_init_help=
655 ac_init_version=false
656 # The variables have the same names as the options, with
657 # dashes changed to underlines.
658 cache_file=/dev/null
659 exec_prefix=NONE
660 no_create=
661 no_recursion=
662 prefix=NONE
663 program_prefix=NONE
664 program_suffix=NONE
665 program_transform_name=s,x,x,
666 silent=
667 site=
668 srcdir=
669 verbose=
670 x_includes=NONE
671 x_libraries=NONE
672
673 # Installation directory options.
674 # These are left unexpanded so users can "make install exec_prefix=/foo"
675 # and all the variables that are supposed to be based on exec_prefix
676 # by default will actually change.
677 # Use braces instead of parens because sh, perl, etc. also accept them.
678 # (The list follows the same order as the GNU Coding Standards.)
679 bindir='${exec_prefix}/bin'
680 sbindir='${exec_prefix}/sbin'
681 libexecdir='${exec_prefix}/libexec'
682 datarootdir='${prefix}/share'
683 datadir='${datarootdir}'
684 sysconfdir='${prefix}/etc'
685 sharedstatedir='${prefix}/com'
686 localstatedir='${prefix}/var'
687 includedir='${prefix}/include'
688 oldincludedir='/usr/include'
689 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
690 infodir='${datarootdir}/info'
691 htmldir='${docdir}'
692 dvidir='${docdir}'
693 pdfdir='${docdir}'
694 psdir='${docdir}'
695 libdir='${exec_prefix}/lib'
696 localedir='${datarootdir}/locale'
697 mandir='${datarootdir}/man'
698
699 ac_prev=
700 ac_dashdash=
701 for ac_option
702 do
703 # If the previous option needs an argument, assign it.
704 if test -n "$ac_prev"; then
705 eval $ac_prev=\$ac_option
706 ac_prev=
707 continue
708 fi
709
710 case $ac_option in
711 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
712 *) ac_optarg=yes ;;
713 esac
714
715 # Accept the important Cygnus configure options, so we can diagnose typos.
716
717 case $ac_dashdash$ac_option in
718 --)
719 ac_dashdash=yes ;;
720
721 -bindir | --bindir | --bindi | --bind | --bin | --bi)
722 ac_prev=bindir ;;
723 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
724 bindir=$ac_optarg ;;
725
726 -build | --build | --buil | --bui | --bu)
727 ac_prev=build_alias ;;
728 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
729 build_alias=$ac_optarg ;;
730
731 -cache-file | --cache-file | --cache-fil | --cache-fi \
732 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
733 ac_prev=cache_file ;;
734 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
735 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
736 cache_file=$ac_optarg ;;
737
738 --config-cache | -C)
739 cache_file=config.cache ;;
740
741 -datadir | --datadir | --datadi | --datad)
742 ac_prev=datadir ;;
743 -datadir=* | --datadir=* | --datadi=* | --datad=*)
744 datadir=$ac_optarg ;;
745
746 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
747 | --dataroo | --dataro | --datar)
748 ac_prev=datarootdir ;;
749 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
750 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
751 datarootdir=$ac_optarg ;;
752
753 -disable-* | --disable-*)
754 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
755 # Reject names that are not valid shell variable names.
756 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
757 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
758 { (exit 1); exit 1; }; }
759 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
760 eval enable_$ac_feature=no ;;
761
762 -docdir | --docdir | --docdi | --doc | --do)
763 ac_prev=docdir ;;
764 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
765 docdir=$ac_optarg ;;
766
767 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
768 ac_prev=dvidir ;;
769 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
770 dvidir=$ac_optarg ;;
771
772 -enable-* | --enable-*)
773 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
774 # Reject names that are not valid shell variable names.
775 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
776 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
777 { (exit 1); exit 1; }; }
778 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
779 eval enable_$ac_feature=\$ac_optarg ;;
780
781 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
782 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
783 | --exec | --exe | --ex)
784 ac_prev=exec_prefix ;;
785 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
786 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
787 | --exec=* | --exe=* | --ex=*)
788 exec_prefix=$ac_optarg ;;
789
790 -gas | --gas | --ga | --g)
791 # Obsolete; use --with-gas.
792 with_gas=yes ;;
793
794 -help | --help | --hel | --he | -h)
795 ac_init_help=long ;;
796 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
797 ac_init_help=recursive ;;
798 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
799 ac_init_help=short ;;
800
801 -host | --host | --hos | --ho)
802 ac_prev=host_alias ;;
803 -host=* | --host=* | --hos=* | --ho=*)
804 host_alias=$ac_optarg ;;
805
806 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
807 ac_prev=htmldir ;;
808 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
809 | --ht=*)
810 htmldir=$ac_optarg ;;
811
812 -includedir | --includedir | --includedi | --included | --include \
813 | --includ | --inclu | --incl | --inc)
814 ac_prev=includedir ;;
815 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
816 | --includ=* | --inclu=* | --incl=* | --inc=*)
817 includedir=$ac_optarg ;;
818
819 -infodir | --infodir | --infodi | --infod | --info | --inf)
820 ac_prev=infodir ;;
821 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
822 infodir=$ac_optarg ;;
823
824 -libdir | --libdir | --libdi | --libd)
825 ac_prev=libdir ;;
826 -libdir=* | --libdir=* | --libdi=* | --libd=*)
827 libdir=$ac_optarg ;;
828
829 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
830 | --libexe | --libex | --libe)
831 ac_prev=libexecdir ;;
832 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
833 | --libexe=* | --libex=* | --libe=*)
834 libexecdir=$ac_optarg ;;
835
836 -localedir | --localedir | --localedi | --localed | --locale)
837 ac_prev=localedir ;;
838 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
839 localedir=$ac_optarg ;;
840
841 -localstatedir | --localstatedir | --localstatedi | --localstated \
842 | --localstate | --localstat | --localsta | --localst | --locals)
843 ac_prev=localstatedir ;;
844 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
845 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
846 localstatedir=$ac_optarg ;;
847
848 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
849 ac_prev=mandir ;;
850 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
851 mandir=$ac_optarg ;;
852
853 -nfp | --nfp | --nf)
854 # Obsolete; use --without-fp.
855 with_fp=no ;;
856
857 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
858 | --no-cr | --no-c | -n)
859 no_create=yes ;;
860
861 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
862 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
863 no_recursion=yes ;;
864
865 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
866 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
867 | --oldin | --oldi | --old | --ol | --o)
868 ac_prev=oldincludedir ;;
869 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
870 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
871 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
872 oldincludedir=$ac_optarg ;;
873
874 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
875 ac_prev=prefix ;;
876 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
877 prefix=$ac_optarg ;;
878
879 -program-prefix | --program-prefix | --program-prefi | --program-pref \
880 | --program-pre | --program-pr | --program-p)
881 ac_prev=program_prefix ;;
882 -program-prefix=* | --program-prefix=* | --program-prefi=* \
883 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
884 program_prefix=$ac_optarg ;;
885
886 -program-suffix | --program-suffix | --program-suffi | --program-suff \
887 | --program-suf | --program-su | --program-s)
888 ac_prev=program_suffix ;;
889 -program-suffix=* | --program-suffix=* | --program-suffi=* \
890 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
891 program_suffix=$ac_optarg ;;
892
893 -program-transform-name | --program-transform-name \
894 | --program-transform-nam | --program-transform-na \
895 | --program-transform-n | --program-transform- \
896 | --program-transform | --program-transfor \
897 | --program-transfo | --program-transf \
898 | --program-trans | --program-tran \
899 | --progr-tra | --program-tr | --program-t)
900 ac_prev=program_transform_name ;;
901 -program-transform-name=* | --program-transform-name=* \
902 | --program-transform-nam=* | --program-transform-na=* \
903 | --program-transform-n=* | --program-transform-=* \
904 | --program-transform=* | --program-transfor=* \
905 | --program-transfo=* | --program-transf=* \
906 | --program-trans=* | --program-tran=* \
907 | --progr-tra=* | --program-tr=* | --program-t=*)
908 program_transform_name=$ac_optarg ;;
909
910 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
911 ac_prev=pdfdir ;;
912 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
913 pdfdir=$ac_optarg ;;
914
915 -psdir | --psdir | --psdi | --psd | --ps)
916 ac_prev=psdir ;;
917 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
918 psdir=$ac_optarg ;;
919
920 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
921 | -silent | --silent | --silen | --sile | --sil)
922 silent=yes ;;
923
924 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
925 ac_prev=sbindir ;;
926 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
927 | --sbi=* | --sb=*)
928 sbindir=$ac_optarg ;;
929
930 -sharedstatedir | --sharedstatedir | --sharedstatedi \
931 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
932 | --sharedst | --shareds | --shared | --share | --shar \
933 | --sha | --sh)
934 ac_prev=sharedstatedir ;;
935 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
936 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
937 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
938 | --sha=* | --sh=*)
939 sharedstatedir=$ac_optarg ;;
940
941 -site | --site | --sit)
942 ac_prev=site ;;
943 -site=* | --site=* | --sit=*)
944 site=$ac_optarg ;;
945
946 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
947 ac_prev=srcdir ;;
948 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
949 srcdir=$ac_optarg ;;
950
951 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
952 | --syscon | --sysco | --sysc | --sys | --sy)
953 ac_prev=sysconfdir ;;
954 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
955 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
956 sysconfdir=$ac_optarg ;;
957
958 -target | --target | --targe | --targ | --tar | --ta | --t)
959 ac_prev=target_alias ;;
960 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
961 target_alias=$ac_optarg ;;
962
963 -v | -verbose | --verbose | --verbos | --verbo | --verb)
964 verbose=yes ;;
965
966 -version | --version | --versio | --versi | --vers | -V)
967 ac_init_version=: ;;
968
969 -with-* | --with-*)
970 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
971 # Reject names that are not valid shell variable names.
972 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
973 { echo "$as_me: error: invalid package name: $ac_package" >&2
974 { (exit 1); exit 1; }; }
975 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
976 eval with_$ac_package=\$ac_optarg ;;
977
978 -without-* | --without-*)
979 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
980 # Reject names that are not valid shell variable names.
981 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
982 { echo "$as_me: error: invalid package name: $ac_package" >&2
983 { (exit 1); exit 1; }; }
984 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
985 eval with_$ac_package=no ;;
986
987 --x)
988 # Obsolete; use --with-x.
989 with_x=yes ;;
990
991 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
992 | --x-incl | --x-inc | --x-in | --x-i)
993 ac_prev=x_includes ;;
994 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
995 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
996 x_includes=$ac_optarg ;;
997
998 -x-libraries | --x-libraries | --x-librarie | --x-librari \
999 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1000 ac_prev=x_libraries ;;
1001 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1002 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1003 x_libraries=$ac_optarg ;;
1004
1005 -*) { echo "$as_me: error: unrecognized option: $ac_option
1006 Try \`$0 --help' for more information." >&2
1007 { (exit 1); exit 1; }; }
1008 ;;
1009
1010 *=*)
1011 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1012 # Reject names that are not valid shell variable names.
1013 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1014 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1015 { (exit 1); exit 1; }; }
1016 eval $ac_envvar=\$ac_optarg
1017 export $ac_envvar ;;
1018
1019 *)
1020 # FIXME: should be removed in autoconf 3.0.
1021 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1022 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1023 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1024 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1025 ;;
1026
1027 esac
1028 done
1029
1030 if test -n "$ac_prev"; then
1031 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1032 { echo "$as_me: error: missing argument to $ac_option" >&2
1033 { (exit 1); exit 1; }; }
1034 fi
1035
1036 # Be sure to have absolute directory names.
1037 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1038 datadir sysconfdir sharedstatedir localstatedir includedir \
1039 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1040 libdir localedir mandir
1041 do
1042 eval ac_val=\$$ac_var
1043 case $ac_val in
1044 [\\/$]* | ?:[\\/]* ) continue;;
1045 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1046 esac
1047 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1048 { (exit 1); exit 1; }; }
1049 done
1050
1051 # There might be people who depend on the old broken behavior: `$host'
1052 # used to hold the argument of --host etc.
1053 # FIXME: To remove some day.
1054 build=$build_alias
1055 host=$host_alias
1056 target=$target_alias
1057
1058 # FIXME: To remove some day.
1059 if test "x$host_alias" != x; then
1060 if test "x$build_alias" = x; then
1061 cross_compiling=maybe
1062 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1063 If a cross compiler is detected then cross compile mode will be used." >&2
1064 elif test "x$build_alias" != "x$host_alias"; then
1065 cross_compiling=yes
1066 fi
1067 fi
1068
1069 ac_tool_prefix=
1070 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1071
1072 test "$silent" = yes && exec 6>/dev/null
1073
1074
1075 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1076 ac_ls_di=`ls -di .` &&
1077 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1078 { echo "$as_me: error: Working directory cannot be determined" >&2
1079 { (exit 1); exit 1; }; }
1080 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1081 { echo "$as_me: error: pwd does not report name of working directory" >&2
1082 { (exit 1); exit 1; }; }
1083
1084
1085 # Find the source files, if location was not specified.
1086 if test -z "$srcdir"; then
1087 ac_srcdir_defaulted=yes
1088 # Try the directory containing this script, then the parent directory.
1089 ac_confdir=`$as_dirname -- "$0" ||
1090 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1091 X"$0" : 'X\(//\)[^/]' \| \
1092 X"$0" : 'X\(//\)$' \| \
1093 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1094 echo X"$0" |
1095 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1096 s//\1/
1097 q
1098 }
1099 /^X\(\/\/\)[^/].*/{
1100 s//\1/
1101 q
1102 }
1103 /^X\(\/\/\)$/{
1104 s//\1/
1105 q
1106 }
1107 /^X\(\/\).*/{
1108 s//\1/
1109 q
1110 }
1111 s/.*/./; q'`
1112 srcdir=$ac_confdir
1113 if test ! -r "$srcdir/$ac_unique_file"; then
1114 srcdir=..
1115 fi
1116 else
1117 ac_srcdir_defaulted=no
1118 fi
1119 if test ! -r "$srcdir/$ac_unique_file"; then
1120 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1121 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1122 { (exit 1); exit 1; }; }
1123 fi
1124 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1125 ac_abs_confdir=`(
1126 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1127 { (exit 1); exit 1; }; }
1128 pwd)`
1129 # When building in place, set srcdir=.
1130 if test "$ac_abs_confdir" = "$ac_pwd"; then
1131 srcdir=.
1132 fi
1133 # Remove unnecessary trailing slashes from srcdir.
1134 # Double slashes in file names in object file debugging info
1135 # mess up M-x gdb in Emacs.
1136 case $srcdir in
1137 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1138 esac
1139 for ac_var in $ac_precious_vars; do
1140 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1141 eval ac_env_${ac_var}_value=\$${ac_var}
1142 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1143 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1144 done
1145
1146 #
1147 # Report the --help message.
1148 #
1149 if test "$ac_init_help" = "long"; then
1150 # Omit some internal or obsolete options to make the list less imposing.
1151 # This message is too long to be a string in the A/UX 3.1 sh.
1152 cat <<_ACEOF
1153 \`configure' configures icon-naming-utils 0.8.90 to adapt to many kinds of systems.
1154
1155 Usage: $0 [OPTION]... [VAR=VALUE]...
1156
1157 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1158 VAR=VALUE. See below for descriptions of some of the useful variables.
1159
1160 Defaults for the options are specified in brackets.
1161
1162 Configuration:
1163 -h, --help display this help and exit
1164 --help=short display options specific to this package
1165 --help=recursive display the short help of all the included packages
1166 -V, --version display version information and exit
1167 -q, --quiet, --silent do not print \`checking...' messages
1168 --cache-file=FILE cache test results in FILE [disabled]
1169 -C, --config-cache alias for \`--cache-file=config.cache'
1170 -n, --no-create do not create output files
1171 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1172
1173 Installation directories:
1174 --prefix=PREFIX install architecture-independent files in PREFIX
1175 [$ac_default_prefix]
1176 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1177 [PREFIX]
1178
1179 By default, \`make install' will install all the files in
1180 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1181 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1182 for instance \`--prefix=\$HOME'.
1183
1184 For better control, use the options below.
1185
1186 Fine tuning of the installation directories:
1187 --bindir=DIR user executables [EPREFIX/bin]
1188 --sbindir=DIR system admin executables [EPREFIX/sbin]
1189 --libexecdir=DIR program executables [EPREFIX/libexec]
1190 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1191 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1192 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1193 --libdir=DIR object code libraries [EPREFIX/lib]
1194 --includedir=DIR C header files [PREFIX/include]
1195 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1196 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1197 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1198 --infodir=DIR info documentation [DATAROOTDIR/info]
1199 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1200 --mandir=DIR man documentation [DATAROOTDIR/man]
1201 --docdir=DIR documentation root [DATAROOTDIR/doc/icon-naming-utils]
1202 --htmldir=DIR html documentation [DOCDIR]
1203 --dvidir=DIR dvi documentation [DOCDIR]
1204 --pdfdir=DIR pdf documentation [DOCDIR]
1205 --psdir=DIR ps documentation [DOCDIR]
1206 _ACEOF
1207
1208 cat <<\_ACEOF
1209
1210 Program names:
1211 --program-prefix=PREFIX prepend PREFIX to installed program names
1212 --program-suffix=SUFFIX append SUFFIX to installed program names
1213 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1214 _ACEOF
1215 fi
1216
1217 if test -n "$ac_init_help"; then
1218 case $ac_init_help in
1219 short | recursive ) echo "Configuration of icon-naming-utils 0.8.90:";;
1220 esac
1221 cat <<\_ACEOF
1222
1223 Optional Features:
1224 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1225 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1226 --enable-maintainer-mode enable make rules and dependencies not useful
1227 (and sometimes confusing) to the casual installer
1228
1229 _ACEOF
1230 ac_status=$?
1231 fi
1232
1233 if test "$ac_init_help" = "recursive"; then
1234 # If there are subdirs, report their specific --help.
1235 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1236 test -d "$ac_dir" || continue
1237 ac_builddir=.
1238
1239 case "$ac_dir" in
1240 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1241 *)
1242 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1243 # A ".." for each directory in $ac_dir_suffix.
1244 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1245 case $ac_top_builddir_sub in
1246 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1247 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1248 esac ;;
1249 esac
1250 ac_abs_top_builddir=$ac_pwd
1251 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1252 # for backward compatibility:
1253 ac_top_builddir=$ac_top_build_prefix
1254
1255 case $srcdir in
1256 .) # We are building in place.
1257 ac_srcdir=.
1258 ac_top_srcdir=$ac_top_builddir_sub
1259 ac_abs_top_srcdir=$ac_pwd ;;
1260 [\\/]* | ?:[\\/]* ) # Absolute name.
1261 ac_srcdir=$srcdir$ac_dir_suffix;
1262 ac_top_srcdir=$srcdir
1263 ac_abs_top_srcdir=$srcdir ;;
1264 *) # Relative name.
1265 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1266 ac_top_srcdir=$ac_top_build_prefix$srcdir
1267 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1268 esac
1269 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1270
1271 cd "$ac_dir" || { ac_status=$?; continue; }
1272 # Check for guested configure.
1273 if test -f "$ac_srcdir/configure.gnu"; then
1274 echo &&
1275 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1276 elif test -f "$ac_srcdir/configure"; then
1277 echo &&
1278 $SHELL "$ac_srcdir/configure" --help=recursive
1279 else
1280 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1281 fi || ac_status=$?
1282 cd "$ac_pwd" || { ac_status=$?; break; }
1283 done
1284 fi
1285
1286 test -n "$ac_init_help" && exit $ac_status
1287 if $ac_init_version; then
1288 cat <<\_ACEOF
1289 icon-naming-utils configure 0.8.90
1290 generated by GNU Autoconf 2.61
1291
1292 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1293 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1294 This configure script is free software; the Free Software Foundation
1295 gives unlimited permission to copy, distribute and modify it.
1296
1297 Copyright 2005-2007 Rodney Dawes
1298 _ACEOF
1299 exit
1300 fi
1301 cat >config.log <<_ACEOF
1302 This file contains any messages produced by compilers while
1303 running configure, to aid debugging if configure makes a mistake.
1304
1305 It was created by icon-naming-utils $as_me 0.8.90, which was
1306 generated by GNU Autoconf 2.61. Invocation command line was
1307
1308 $ $0 $@
1309
1310 _ACEOF
1311 exec 5>>config.log
1312 {
1313 cat <<_ASUNAME
1314 ## --------- ##
1315 ## Platform. ##
1316 ## --------- ##
1317
1318 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1319 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1320 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1321 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1322 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1323
1324 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1325 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1326
1327 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1328 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1329 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1330 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1331 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1332 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1333 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1334
1335 _ASUNAME
1336
1337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1338 for as_dir in $PATH
1339 do
1340 IFS=$as_save_IFS
1341 test -z "$as_dir" && as_dir=.
1342 echo "PATH: $as_dir"
1343 done
1344 IFS=$as_save_IFS
1345
1346 } >&5
1347
1348 cat >&5 <<_ACEOF
1349
1350
1351 ## ----------- ##
1352 ## Core tests. ##
1353 ## ----------- ##
1354
1355 _ACEOF
1356
1357
1358 # Keep a trace of the command line.
1359 # Strip out --no-create and --no-recursion so they do not pile up.
1360 # Strip out --silent because we don't want to record it for future runs.
1361 # Also quote any args containing shell meta-characters.
1362 # Make two passes to allow for proper duplicate-argument suppression.
1363 ac_configure_args=
1364 ac_configure_args0=
1365 ac_configure_args1=
1366 ac_must_keep_next=false
1367 for ac_pass in 1 2
1368 do
1369 for ac_arg
1370 do
1371 case $ac_arg in
1372 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1373 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1374 | -silent | --silent | --silen | --sile | --sil)
1375 continue ;;
1376 *\'*)
1377 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1378 esac
1379 case $ac_pass in
1380 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1381 2)
1382 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1383 if test $ac_must_keep_next = true; then
1384 ac_must_keep_next=false # Got value, back to normal.
1385 else
1386 case $ac_arg in
1387 *=* | --config-cache | -C | -disable-* | --disable-* \
1388 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1389 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1390 | -with-* | --with-* | -without-* | --without-* | --x)
1391 case "$ac_configure_args0 " in
1392 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1393 esac
1394 ;;
1395 -* ) ac_must_keep_next=true ;;
1396 esac
1397 fi
1398 ac_configure_args="$ac_configure_args '$ac_arg'"
1399 ;;
1400 esac
1401 done
1402 done
1403 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1404 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1405
1406 # When interrupted or exit'd, cleanup temporary files, and complete
1407 # config.log. We remove comments because anyway the quotes in there
1408 # would cause problems or look ugly.
1409 # WARNING: Use '\'' to represent an apostrophe within the trap.
1410 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1411 trap 'exit_status=$?
1412 # Save into config.log some information that might help in debugging.
1413 {
1414 echo
1415
1416 cat <<\_ASBOX
1417 ## ---------------- ##
1418 ## Cache variables. ##
1419 ## ---------------- ##
1420 _ASBOX
1421 echo
1422 # The following way of writing the cache mishandles newlines in values,
1423 (
1424 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1425 eval ac_val=\$$ac_var
1426 case $ac_val in #(
1427 *${as_nl}*)
1428 case $ac_var in #(
1429 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1430 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1431 esac
1432 case $ac_var in #(
1433 _ | IFS | as_nl) ;; #(
1434 *) $as_unset $ac_var ;;
1435 esac ;;
1436 esac
1437 done
1438 (set) 2>&1 |
1439 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1440 *${as_nl}ac_space=\ *)
1441 sed -n \
1442 "s/'\''/'\''\\\\'\'''\''/g;
1443 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1444 ;; #(
1445 *)
1446 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1447 ;;
1448 esac |
1449 sort
1450 )
1451 echo
1452
1453 cat <<\_ASBOX
1454 ## ----------------- ##
1455 ## Output variables. ##
1456 ## ----------------- ##
1457 _ASBOX
1458 echo
1459 for ac_var in $ac_subst_vars
1460 do
1461 eval ac_val=\$$ac_var
1462 case $ac_val in
1463 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1464 esac
1465 echo "$ac_var='\''$ac_val'\''"
1466 done | sort
1467 echo
1468
1469 if test -n "$ac_subst_files"; then
1470 cat <<\_ASBOX
1471 ## ------------------- ##
1472 ## File substitutions. ##
1473 ## ------------------- ##
1474 _ASBOX
1475 echo
1476 for ac_var in $ac_subst_files
1477 do
1478 eval ac_val=\$$ac_var
1479 case $ac_val in
1480 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1481 esac
1482 echo "$ac_var='\''$ac_val'\''"
1483 done | sort
1484 echo
1485 fi
1486
1487 if test -s confdefs.h; then
1488 cat <<\_ASBOX
1489 ## ----------- ##
1490 ## confdefs.h. ##
1491 ## ----------- ##
1492 _ASBOX
1493 echo
1494 cat confdefs.h
1495 echo
1496 fi
1497 test "$ac_signal" != 0 &&
1498 echo "$as_me: caught signal $ac_signal"
1499 echo "$as_me: exit $exit_status"
1500 } >&5
1501 rm -f core *.core core.conftest.* &&
1502 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1503 exit $exit_status
1504 ' 0
1505 for ac_signal in 1 2 13 15; do
1506 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1507 done
1508 ac_signal=0
1509
1510 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1511 rm -f -r conftest* confdefs.h
1512
1513 # Predefined preprocessor variables.
1514
1515 cat >>confdefs.h <<_ACEOF
1516 #define PACKAGE_NAME "$PACKAGE_NAME"
1517 _ACEOF
1518
1519
1520 cat >>confdefs.h <<_ACEOF
1521 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1522 _ACEOF
1523
1524
1525 cat >>confdefs.h <<_ACEOF
1526 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1527 _ACEOF
1528
1529
1530 cat >>confdefs.h <<_ACEOF
1531 #define PACKAGE_STRING "$PACKAGE_STRING"
1532 _ACEOF
1533
1534
1535 cat >>confdefs.h <<_ACEOF
1536 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1537 _ACEOF
1538
1539
1540 # Let the site file select an alternate cache file if it wants to.
1541 # Prefer explicitly selected file to automatically selected ones.
1542 if test -n "$CONFIG_SITE"; then
1543 set x "$CONFIG_SITE"
1544 elif test "x$prefix" != xNONE; then
1545 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1546 else
1547 set x "$ac_default_prefix/share/config.site" \
1548 "$ac_default_prefix/etc/config.site"
1549 fi
1550 shift
1551 for ac_site_file
1552 do
1553 if test -r "$ac_site_file"; then
1554 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1555 echo "$as_me: loading site script $ac_site_file" >&6;}
1556 sed 's/^/| /' "$ac_site_file" >&5
1557 . "$ac_site_file"
1558 fi
1559 done
1560
1561 if test -r "$cache_file"; then
1562 # Some versions of bash will fail to source /dev/null (special
1563 # files actually), so we avoid doing that.
1564 if test -f "$cache_file"; then
1565 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1566 echo "$as_me: loading cache $cache_file" >&6;}
1567 case $cache_file in
1568 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1569 *) . "./$cache_file";;
1570 esac
1571 fi
1572 else
1573 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1574 echo "$as_me: creating cache $cache_file" >&6;}
1575 >$cache_file
1576 fi
1577
1578 # Check that the precious variables saved in the cache have kept the same
1579 # value.
1580 ac_cache_corrupted=false
1581 for ac_var in $ac_precious_vars; do
1582 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1583 eval ac_new_set=\$ac_env_${ac_var}_set
1584 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1585 eval ac_new_val=\$ac_env_${ac_var}_value
1586 case $ac_old_set,$ac_new_set in
1587 set,)
1588 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1589 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1590 ac_cache_corrupted=: ;;
1591 ,set)
1592 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1593 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1594 ac_cache_corrupted=: ;;
1595 ,);;
1596 *)
1597 if test "x$ac_old_val" != "x$ac_new_val"; then
1598 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1599 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1600 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1601 echo "$as_me: former value: $ac_old_val" >&2;}
1602 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1603 echo "$as_me: current value: $ac_new_val" >&2;}
1604 ac_cache_corrupted=:
1605 fi;;
1606 esac
1607 # Pass precious variables to config.status.
1608 if test "$ac_new_set" = set; then
1609 case $ac_new_val in
1610 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1611 *) ac_arg=$ac_var=$ac_new_val ;;
1612 esac
1613 case " $ac_configure_args " in
1614 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1615 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1616 esac
1617 fi
1618 done
1619 if $ac_cache_corrupted; then
1620 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1621 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1622 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1623 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1624 { (exit 1); exit 1; }; }
1625 fi
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651 ac_ext=c
1652 ac_cpp='$CPP $CPPFLAGS'
1653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1656
1657
1658
1659
1660
1661 am__api_version='1.10'
1662
1663 ac_aux_dir=
1664 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1665 if test -f "$ac_dir/install-sh"; then
1666 ac_aux_dir=$ac_dir
1667 ac_install_sh="$ac_aux_dir/install-sh -c"
1668 break
1669 elif test -f "$ac_dir/install.sh"; then
1670 ac_aux_dir=$ac_dir
1671 ac_install_sh="$ac_aux_dir/install.sh -c"
1672 break
1673 elif test -f "$ac_dir/shtool"; then
1674 ac_aux_dir=$ac_dir
1675 ac_install_sh="$ac_aux_dir/shtool install -c"
1676 break
1677 fi
1678 done
1679 if test -z "$ac_aux_dir"; then
1680 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1681 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1682 { (exit 1); exit 1; }; }
1683 fi
1684
1685 # These three variables are undocumented and unsupported,
1686 # and are intended to be withdrawn in a future Autoconf release.
1687 # They can cause serious problems if a builder's source tree is in a directory
1688 # whose full name contains unusual characters.
1689 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1690 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1691 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1692
1693
1694 # Find a good install program. We prefer a C program (faster),
1695 # so one script is as good as another. But avoid the broken or
1696 # incompatible versions:
1697 # SysV /etc/install, /usr/sbin/install
1698 # SunOS /usr/etc/install
1699 # IRIX /sbin/install
1700 # AIX /bin/install
1701 # AmigaOS /C/install, which installs bootblocks on floppy discs
1702 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1703 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1704 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1705 # OS/2's system install, which has a completely different semantic
1706 # ./install, which can be erroneously created by make from ./install.sh.
1707 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1708 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1709 if test -z "$INSTALL"; then
1710 if test "${ac_cv_path_install+set}" = set; then
1711 echo $ECHO_N "(cached) $ECHO_C" >&6
1712 else
1713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1714 for as_dir in $PATH
1715 do
1716 IFS=$as_save_IFS
1717 test -z "$as_dir" && as_dir=.
1718 # Account for people who put trailing slashes in PATH elements.
1719 case $as_dir/ in
1720 ./ | .// | /cC/* | \
1721 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1722 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1723 /usr/ucb/* ) ;;
1724 *)
1725 # OSF1 and SCO ODT 3.0 have their own names for install.
1726 # Don't use installbsd from OSF since it installs stuff as root
1727 # by default.
1728 for ac_prog in ginstall scoinst install; do
1729 for ac_exec_ext in '' $ac_executable_extensions; do
1730 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1731 if test $ac_prog = install &&
1732 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1733 # AIX install. It has an incompatible calling convention.
1734 :
1735 elif test $ac_prog = install &&
1736 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1737 # program-specific install script used by HP pwplus--don't use.
1738 :
1739 else
1740 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1741 break 3
1742 fi
1743 fi
1744 done
1745 done
1746 ;;
1747 esac
1748 done
1749 IFS=$as_save_IFS
1750
1751
1752 fi
1753 if test "${ac_cv_path_install+set}" = set; then
1754 INSTALL=$ac_cv_path_install
1755 else
1756 # As a last resort, use the slow shell script. Don't cache a
1757 # value for INSTALL within a source directory, because that will
1758 # break other packages using the cache if that directory is
1759 # removed, or if the value is a relative name.
1760 INSTALL=$ac_install_sh
1761 fi
1762 fi
1763 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1764 echo "${ECHO_T}$INSTALL" >&6; }
1765
1766 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1767 # It thinks the first close brace ends the variable substitution.
1768 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1769
1770 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1771
1772 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1773
1774 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1775 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1776 # Just in case
1777 sleep 1
1778 echo timestamp > conftest.file
1779 # Do `set' in a subshell so we don't clobber the current shell's
1780 # arguments. Must try -L first in case configure is actually a
1781 # symlink; some systems play weird games with the mod time of symlinks
1782 # (eg FreeBSD returns the mod time of the symlink's containing
1783 # directory).
1784 if (
1785 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1786 if test "$*" = "X"; then
1787 # -L didn't work.
1788 set X `ls -t $srcdir/configure conftest.file`
1789 fi
1790 rm -f conftest.file
1791 if test "$*" != "X $srcdir/configure conftest.file" \
1792 && test "$*" != "X conftest.file $srcdir/configure"; then
1793
1794 # If neither matched, then we have a broken ls. This can happen
1795 # if, for instance, CONFIG_SHELL is bash and it inherits a
1796 # broken ls alias from the environment. This has actually
1797 # happened. Such a system could not be considered "sane".
1798 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1799 alias in your environment" >&5
1800 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1801 alias in your environment" >&2;}
1802 { (exit 1); exit 1; }; }
1803 fi
1804
1805 test "$2" = conftest.file
1806 )
1807 then
1808 # Ok.
1809 :
1810 else
1811 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1812 Check your system clock" >&5
1813 echo "$as_me: error: newly created file is older than distributed files!
1814 Check your system clock" >&2;}
1815 { (exit 1); exit 1; }; }
1816 fi
1817 { echo "$as_me:$LINENO: result: yes" >&5
1818 echo "${ECHO_T}yes" >&6; }
1819 test "$program_prefix" != NONE &&
1820 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1821 # Use a double $ so make ignores it.
1822 test "$program_suffix" != NONE &&
1823 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1824 # Double any \ or $. echo might interpret backslashes.
1825 # By default was `s,x,x', remove it if useless.
1826 cat <<\_ACEOF >conftest.sed
1827 s/[\\$]/&&/g;s/;s,x,x,$//
1828 _ACEOF
1829 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1830 rm -f conftest.sed
1831
1832 # expand $ac_aux_dir to an absolute path
1833 am_aux_dir=`cd $ac_aux_dir && pwd`
1834
1835 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1836 # Use eval to expand $SHELL
1837 if eval "$MISSING --run true"; then
1838 am_missing_run="$MISSING --run "
1839 else
1840 am_missing_run=
1841 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1842 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1843 fi
1844
1845 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1846 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1847 if test -z "$MKDIR_P"; then
1848 if test "${ac_cv_path_mkdir+set}" = set; then
1849 echo $ECHO_N "(cached) $ECHO_C" >&6
1850 else
1851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1852 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1853 do
1854 IFS=$as_save_IFS
1855 test -z "$as_dir" && as_dir=.
1856 for ac_prog in mkdir gmkdir; do
1857 for ac_exec_ext in '' $ac_executable_extensions; do
1858 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1859 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1860 'mkdir (GNU coreutils) '* | \
1861 'mkdir (coreutils) '* | \
1862 'mkdir (fileutils) '4.1*)
1863 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1864 break 3;;
1865 esac
1866 done
1867 done
1868 done
1869 IFS=$as_save_IFS
1870
1871 fi
1872
1873 if test "${ac_cv_path_mkdir+set}" = set; then
1874 MKDIR_P="$ac_cv_path_mkdir -p"
1875 else
1876 # As a last resort, use the slow shell script. Don't cache a
1877 # value for MKDIR_P within a source directory, because that will
1878 # break other packages using the cache if that directory is
1879 # removed, or if the value is a relative name.
1880 test -d ./--version && rmdir ./--version
1881 MKDIR_P="$ac_install_sh -d"
1882 fi
1883 fi
1884 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1885 echo "${ECHO_T}$MKDIR_P" >&6; }
1886
1887 mkdir_p="$MKDIR_P"
1888 case $mkdir_p in
1889 [\\/$]* | ?:[\\/]*) ;;
1890 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1891 esac
1892
1893 for ac_prog in gawk mawk nawk awk
1894 do
1895 # Extract the first word of "$ac_prog", so it can be a program name with args.
1896 set dummy $ac_prog; ac_word=$2
1897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1899 if test "${ac_cv_prog_AWK+set}" = set; then
1900 echo $ECHO_N "(cached) $ECHO_C" >&6
1901 else
1902 if test -n "$AWK"; then
1903 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1904 else
1905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1906 for as_dir in $PATH
1907 do
1908 IFS=$as_save_IFS
1909 test -z "$as_dir" && as_dir=.
1910 for ac_exec_ext in '' $ac_executable_extensions; do
1911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1912 ac_cv_prog_AWK="$ac_prog"
1913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1914 break 2
1915 fi
1916 done
1917 done
1918 IFS=$as_save_IFS
1919
1920 fi
1921 fi
1922 AWK=$ac_cv_prog_AWK
1923 if test -n "$AWK"; then
1924 { echo "$as_me:$LINENO: result: $AWK" >&5
1925 echo "${ECHO_T}$AWK" >&6; }
1926 else
1927 { echo "$as_me:$LINENO: result: no" >&5
1928 echo "${ECHO_T}no" >&6; }
1929 fi
1930
1931
1932 test -n "$AWK" && break
1933 done
1934
1935 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1936 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1937 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1938 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1940 else
1941 cat >conftest.make <<\_ACEOF
1942 SHELL = /bin/sh
1943 all:
1944 @echo '@@@%%%=$(MAKE)=@@@%%%'
1945 _ACEOF
1946 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1947 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1948 *@@@%%%=?*=@@@%%%*)
1949 eval ac_cv_prog_make_${ac_make}_set=yes;;
1950 *)
1951 eval ac_cv_prog_make_${ac_make}_set=no;;
1952 esac
1953 rm -f conftest.make
1954 fi
1955 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1956 { echo "$as_me:$LINENO: result: yes" >&5
1957 echo "${ECHO_T}yes" >&6; }
1958 SET_MAKE=
1959 else
1960 { echo "$as_me:$LINENO: result: no" >&5
1961 echo "${ECHO_T}no" >&6; }
1962 SET_MAKE="MAKE=${MAKE-make}"
1963 fi
1964
1965 rm -rf .tst 2>/dev/null
1966 mkdir .tst 2>/dev/null
1967 if test -d .tst; then
1968 am__leading_dot=.
1969 else
1970 am__leading_dot=_
1971 fi
1972 rmdir .tst 2>/dev/null
1973
1974 if test "`cd $srcdir && pwd`" != "`pwd`"; then
1975 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1976 # is not polluted with repeated "-I."
1977 am__isrc=' -I$(srcdir)'
1978 # test to see if srcdir already configured
1979 if test -f $srcdir/config.status; then
1980 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1981 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1982 { (exit 1); exit 1; }; }
1983 fi
1984 fi
1985
1986 # test whether we have cygpath
1987 if test -z "$CYGPATH_W"; then
1988 if (cygpath --version) >/dev/null 2>/dev/null; then
1989 CYGPATH_W='cygpath -w'
1990 else
1991 CYGPATH_W=echo
1992 fi
1993 fi
1994
1995
1996 # Define the identity of the package.
1997 PACKAGE='icon-naming-utils'
1998 VERSION='0.8.90'
1999
2000
2001 cat >>confdefs.h <<_ACEOF
2002 #define PACKAGE "$PACKAGE"
2003 _ACEOF
2004
2005
2006 cat >>confdefs.h <<_ACEOF
2007 #define VERSION "$VERSION"
2008 _ACEOF
2009
2010 # Some tools Automake needs.
2011
2012 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2013
2014
2015 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2016
2017
2018 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2019
2020
2021 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2022
2023
2024 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2025
2026 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2027
2028 # Installed binaries are usually stripped using `strip' when the user
2029 # run `make install-strip'. However `strip' might not be the right
2030 # tool to use in cross-compilation environments, therefore Automake
2031 # will honor the `STRIP' environment variable to overrule this program.
2032 if test "$cross_compiling" != no; then
2033 if test -n "$ac_tool_prefix"; then
2034 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2035 set dummy ${ac_tool_prefix}strip; ac_word=$2
2036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2038 if test "${ac_cv_prog_STRIP+set}" = set; then
2039 echo $ECHO_N "(cached) $ECHO_C" >&6
2040 else
2041 if test -n "$STRIP"; then
2042 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2043 else
2044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2045 for as_dir in $PATH
2046 do
2047 IFS=$as_save_IFS
2048 test -z "$as_dir" && as_dir=.
2049 for ac_exec_ext in '' $ac_executable_extensions; do
2050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2051 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2053 break 2
2054 fi
2055 done
2056 done
2057 IFS=$as_save_IFS
2058
2059 fi
2060 fi
2061 STRIP=$ac_cv_prog_STRIP
2062 if test -n "$STRIP"; then
2063 { echo "$as_me:$LINENO: result: $STRIP" >&5
2064 echo "${ECHO_T}$STRIP" >&6; }
2065 else
2066 { echo "$as_me:$LINENO: result: no" >&5
2067 echo "${ECHO_T}no" >&6; }
2068 fi
2069
2070
2071 fi
2072 if test -z "$ac_cv_prog_STRIP"; then
2073 ac_ct_STRIP=$STRIP
2074 # Extract the first word of "strip", so it can be a program name with args.
2075 set dummy strip; ac_word=$2
2076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2078 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2079 echo $ECHO_N "(cached) $ECHO_C" >&6
2080 else
2081 if test -n "$ac_ct_STRIP"; then
2082 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2083 else
2084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2085 for as_dir in $PATH
2086 do
2087 IFS=$as_save_IFS
2088 test -z "$as_dir" && as_dir=.
2089 for ac_exec_ext in '' $ac_executable_extensions; do
2090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2091 ac_cv_prog_ac_ct_STRIP="strip"
2092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2093 break 2
2094 fi
2095 done
2096 done
2097 IFS=$as_save_IFS
2098
2099 fi
2100 fi
2101 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2102 if test -n "$ac_ct_STRIP"; then
2103 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2104 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2105 else
2106 { echo "$as_me:$LINENO: result: no" >&5
2107 echo "${ECHO_T}no" >&6; }
2108 fi
2109
2110 if test "x$ac_ct_STRIP" = x; then
2111 STRIP=":"
2112 else
2113 case $cross_compiling:$ac_tool_warned in
2114 yes:)
2115 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2116 whose name does not start with the host triplet. If you think this
2117 configuration is useful to you, please write to [email protected]." >&5
2118 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2119 whose name does not start with the host triplet. If you think this
2120 configuration is useful to you, please write to [email protected]." >&2;}
2121 ac_tool_warned=yes ;;
2122 esac
2123 STRIP=$ac_ct_STRIP
2124 fi
2125 else
2126 STRIP="$ac_cv_prog_STRIP"
2127 fi
2128
2129 fi
2130 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2131
2132 # We need awk for the "check" target. The system "awk" is bad on
2133 # some platforms.
2134 # Always define AMTAR for backward compatibility.
2135
2136 AMTAR=${AMTAR-"${am_missing_run}tar"}
2137
2138 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2139
2140
2141
2142
2143
2144
2145 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2146 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2147 # Check whether --enable-maintainer-mode was given.
2148 if test "${enable_maintainer_mode+set}" = set; then
2149 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2150 else
2151 USE_MAINTAINER_MODE=no
2152 fi
2153
2154 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2155 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2156 if test $USE_MAINTAINER_MODE = yes; then
2157 MAINTAINER_MODE_TRUE=
2158 MAINTAINER_MODE_FALSE='#'
2159 else
2160 MAINTAINER_MODE_TRUE='#'
2161 MAINTAINER_MODE_FALSE=
2162 fi
2163
2164 MAINT=$MAINTAINER_MODE_TRUE
2165
2166
2167
2168 # Extract the first word of "perl", so it can be a program name with args.
2169 set dummy perl; ac_word=$2
2170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2172 if test "${ac_cv_path_PERL+set}" = set; then
2173 echo $ECHO_N "(cached) $ECHO_C" >&6
2174 else
2175 case $PERL in
2176 [\\/]* | ?:[\\/]*)
2177 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2178 ;;
2179 *)
2180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2181 for as_dir in $PATH
2182 do
2183 IFS=$as_save_IFS
2184 test -z "$as_dir" && as_dir=.
2185 for ac_exec_ext in '' $ac_executable_extensions; do
2186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2187 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2189 break 2
2190 fi
2191 done
2192 done
2193 IFS=$as_save_IFS
2194
2195 ;;
2196 esac
2197 fi
2198 PERL=$ac_cv_path_PERL
2199 if test -n "$PERL"; then
2200 { echo "$as_me:$LINENO: result: $PERL" >&5
2201 echo "${ECHO_T}$PERL" >&6; }
2202 else
2203 { echo "$as_me:$LINENO: result: no" >&5
2204 echo "${ECHO_T}no" >&6; }
2205 fi
2206
2207
2208 if test -z "$PERL"; then
2209 { { echo "$as_me:$LINENO: error: perl not found" >&5
2210 echo "$as_me: error: perl not found" >&2;}
2211 { (exit 1); exit 1; }; }
2212 fi
2213 if test -z "`$PERL -v | fgrep 'v5.' 2> /dev/null`" -a -z "`$PERL -v | fgrep 'version 5.' 2> /dev/null`"; then
2214 { { echo "$as_me:$LINENO: error: perl 5.x required for icon-naming-utils" >&5
2215 echo "$as_me: error: perl 5.x required for icon-naming-utils" >&2;}
2216 { (exit 1); exit 1; }; }
2217 fi
2218 { echo "$as_me:$LINENO: checking for XML::Simple" >&5
2219 echo $ECHO_N "checking for XML::Simple... $ECHO_C" >&6; }
2220 if `$PERL -e "require XML::Simple" 2>/dev/null`; then
2221 { echo "$as_me:$LINENO: result: ok" >&5
2222 echo "${ECHO_T}ok" >&6; }
2223 else
2224 { { echo "$as_me:$LINENO: error: XML::Simple perl module is required for icon-naming-utils" >&5
2225 echo "$as_me: error: XML::Simple perl module is required for icon-naming-utils" >&2;}
2226 { (exit 1); exit 1; }; }
2227 fi
2228
2229 ac_config_files="$ac_config_files Makefile icon-naming-utils.pc icon-naming-utils-uninstalled.pc"
2230
2231
2232 cat >confcache <<\_ACEOF
2233 # This file is a shell script that caches the results of configure
2234 # tests run on this system so they can be shared between configure
2235 # scripts and configure runs, see configure's option --config-cache.
2236 # It is not useful on other systems. If it contains results you don't
2237 # want to keep, you may remove or edit it.
2238 #
2239 # config.status only pays attention to the cache file if you give it
2240 # the --recheck option to rerun configure.
2241 #
2242 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2243 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2244 # following values.
2245
2246 _ACEOF
2247
2248 # The following way of writing the cache mishandles newlines in values,
2249 # but we know of no workaround that is simple, portable, and efficient.
2250 # So, we kill variables containing newlines.
2251 # Ultrix sh set writes to stderr and can't be redirected directly,
2252 # and sets the high bit in the cache file unless we assign to the vars.
2253 (
2254 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2255 eval ac_val=\$$ac_var
2256 case $ac_val in #(
2257 *${as_nl}*)
2258 case $ac_var in #(
2259 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2260 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2261 esac
2262 case $ac_var in #(
2263 _ | IFS | as_nl) ;; #(
2264 *) $as_unset $ac_var ;;
2265 esac ;;
2266 esac
2267 done
2268
2269 (set) 2>&1 |
2270 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2271 *${as_nl}ac_space=\ *)
2272 # `set' does not quote correctly, so add quotes (double-quote
2273 # substitution turns \\\\ into \\, and sed turns \\ into \).
2274 sed -n \
2275 "s/'/'\\\\''/g;
2276 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2277 ;; #(
2278 *)
2279 # `set' quotes correctly as required by POSIX, so do not add quotes.
2280 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2281 ;;
2282 esac |
2283 sort
2284 ) |
2285 sed '
2286 /^ac_cv_env_/b end
2287 t clear
2288 :clear
2289 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2290 t end
2291 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2292 :end' >>confcache
2293 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2294 if test -w "$cache_file"; then
2295 test "x$cache_file" != "x/dev/null" &&
2296 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2297 echo "$as_me: updating cache $cache_file" >&6;}
2298 cat confcache >$cache_file
2299 else
2300 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2301 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2302 fi
2303 fi
2304 rm -f confcache
2305
2306 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2307 # Let make expand exec_prefix.
2308 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2309
2310 # Transform confdefs.h into DEFS.
2311 # Protect against shell expansion while executing Makefile rules.
2312 # Protect against Makefile macro expansion.
2313 #
2314 # If the first sed substitution is executed (which looks for macros that
2315 # take arguments), then branch to the quote section. Otherwise,
2316 # look for a macro that doesn't take arguments.
2317 ac_script='
2318 t clear
2319 :clear
2320 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2321 t quote
2322 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2323 t quote
2324 b any
2325 :quote
2326 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2327 s/\[/\\&/g
2328 s/\]/\\&/g
2329 s/\$/$$/g
2330 H
2331 :any
2332 ${
2333 g
2334 s/^\n//
2335 s/\n/ /g
2336 p
2337 }
2338 '
2339 DEFS=`sed -n "$ac_script" confdefs.h`
2340
2341
2342 ac_libobjs=
2343 ac_ltlibobjs=
2344 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2345 # 1. Remove the extension, and $U if already installed.
2346 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2347 ac_i=`echo "$ac_i" | sed "$ac_script"`
2348 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2349 # will be set to the directory where LIBOBJS objects are built.
2350 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2351 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2352 done
2353 LIBOBJS=$ac_libobjs
2354
2355 LTLIBOBJS=$ac_ltlibobjs
2356
2357
2358 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2359 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
2360 Usually this means the macro was only invoked conditionally." >&5
2361 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
2362 Usually this means the macro was only invoked conditionally." >&2;}
2363 { (exit 1); exit 1; }; }
2364 fi
2365
2366 : ${CONFIG_STATUS=./config.status}
2367 ac_clean_files_save=$ac_clean_files
2368 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2369 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2370 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2371 cat >$CONFIG_STATUS <<_ACEOF
2372 #! $SHELL
2373 # Generated by $as_me.
2374 # Run this file to recreate the current configuration.
2375 # Compiler output produced by configure, useful for debugging
2376 # configure, is in config.log if it exists.
2377
2378 debug=false
2379 ac_cs_recheck=false
2380 ac_cs_silent=false
2381 SHELL=\${CONFIG_SHELL-$SHELL}
2382 _ACEOF
2383
2384 cat >>$CONFIG_STATUS <<\_ACEOF
2385 ## --------------------- ##
2386 ## M4sh Initialization. ##
2387 ## --------------------- ##
2388
2389 # Be more Bourne compatible
2390 DUALCASE=1; export DUALCASE # for MKS sh
2391 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2392 emulate sh
2393 NULLCMD=:
2394 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2395 # is contrary to our usage. Disable this feature.
2396 alias -g '${1+"$@"}'='"$@"'
2397 setopt NO_GLOB_SUBST
2398 else
2399 case `(set -o) 2>/dev/null` in
2400 *posix*) set -o posix ;;
2401 esac
2402
2403 fi
2404
2405
2406
2407
2408 # PATH needs CR
2409 # Avoid depending upon Character Ranges.
2410 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2411 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2412 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2413 as_cr_digits='0123456789'
2414 as_cr_alnum=$as_cr_Letters$as_cr_digits
2415
2416 # The user is always right.
2417 if test "${PATH_SEPARATOR+set}" != set; then
2418 echo "#! /bin/sh" >conf$$.sh
2419 echo "exit 0" >>conf$$.sh
2420 chmod +x conf$$.sh
2421 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2422 PATH_SEPARATOR=';'
2423 else
2424 PATH_SEPARATOR=:
2425 fi
2426 rm -f conf$$.sh
2427 fi
2428
2429 # Support unset when possible.
2430 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2431 as_unset=unset
2432 else
2433 as_unset=false
2434 fi
2435
2436
2437 # IFS
2438 # We need space, tab and new line, in precisely that order. Quoting is
2439 # there to prevent editors from complaining about space-tab.
2440 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2441 # splitting by setting IFS to empty value.)
2442 as_nl='
2443 '
2444 IFS=" "" $as_nl"
2445
2446 # Find who we are. Look in the path if we contain no directory separator.
2447 case $0 in
2448 *[\\/]* ) as_myself=$0 ;;
2449 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2450 for as_dir in $PATH
2451 do
2452 IFS=$as_save_IFS
2453 test -z "$as_dir" && as_dir=.
2454 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2455 done
2456 IFS=$as_save_IFS
2457
2458 ;;
2459 esac
2460 # We did not find ourselves, most probably we were run as `sh COMMAND'
2461 # in which case we are not to be found in the path.
2462 if test "x$as_myself" = x; then
2463 as_myself=$0
2464 fi
2465 if test ! -f "$as_myself"; then
2466 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2467 { (exit 1); exit 1; }
2468 fi
2469
2470 # Work around bugs in pre-3.0 UWIN ksh.
2471 for as_var in ENV MAIL MAILPATH
2472 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2473 done
2474 PS1='$ '
2475 PS2='> '
2476 PS4='+ '
2477
2478 # NLS nuisances.
2479 for as_var in \
2480 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2481 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2482 LC_TELEPHONE LC_TIME
2483 do
2484 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2485 eval $as_var=C; export $as_var
2486 else
2487 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2488 fi
2489 done
2490
2491 # Required to use basename.
2492 if expr a : '\(a\)' >/dev/null 2>&1 &&
2493 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2494 as_expr=expr
2495 else
2496 as_expr=false
2497 fi
2498
2499 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2500 as_basename=basename
2501 else
2502 as_basename=false
2503 fi
2504
2505
2506 # Name of the executable.
2507 as_me=`$as_basename -- "$0" ||
2508 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2509 X"$0" : 'X\(//\)$' \| \
2510 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2511 echo X/"$0" |
2512 sed '/^.*\/\([^/][^/]*\)\/*$/{
2513 s//\1/
2514 q
2515 }
2516 /^X\/\(\/\/\)$/{
2517 s//\1/
2518 q
2519 }
2520 /^X\/\(\/\).*/{
2521 s//\1/
2522 q
2523 }
2524 s/.*/./; q'`
2525
2526 # CDPATH.
2527 $as_unset CDPATH
2528
2529
2530
2531 as_lineno_1=$LINENO
2532 as_lineno_2=$LINENO
2533 test "x$as_lineno_1" != "x$as_lineno_2" &&
2534 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2535
2536 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2537 # uniformly replaced by the line number. The first 'sed' inserts a
2538 # line-number line after each line using $LINENO; the second 'sed'
2539 # does the real work. The second script uses 'N' to pair each
2540 # line-number line with the line containing $LINENO, and appends
2541 # trailing '-' during substitution so that $LINENO is not a special
2542 # case at line end.
2543 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2544 # scripts with optimization help from Paolo Bonzini. Blame Lee
2545 # E. McMahon (1931-1989) for sed's syntax. :-)
2546 sed -n '
2547 p
2548 /[$]LINENO/=
2549 ' <$as_myself |
2550 sed '
2551 s/[$]LINENO.*/&-/
2552 t lineno
2553 b
2554 :lineno
2555 N
2556 :loop
2557 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2558 t loop
2559 s/-\n.*//
2560 ' >$as_me.lineno &&
2561 chmod +x "$as_me.lineno" ||
2562 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2563 { (exit 1); exit 1; }; }
2564
2565 # Don't try to exec as it changes $[0], causing all sort of problems
2566 # (the dirname of $[0] is not the place where we might find the
2567 # original and so on. Autoconf is especially sensitive to this).
2568 . "./$as_me.lineno"
2569 # Exit status is that of the last command.
2570 exit
2571 }
2572
2573
2574 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2575 as_dirname=dirname
2576 else
2577 as_dirname=false
2578 fi
2579
2580 ECHO_C= ECHO_N= ECHO_T=
2581 case `echo -n x` in
2582 -n*)
2583 case `echo 'x\c'` in
2584 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2585 *) ECHO_C='\c';;
2586 esac;;
2587 *)
2588 ECHO_N='-n';;
2589 esac
2590
2591 if expr a : '\(a\)' >/dev/null 2>&1 &&
2592 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2593 as_expr=expr
2594 else
2595 as_expr=false
2596 fi
2597
2598 rm -f conf$$ conf$$.exe conf$$.file
2599 if test -d conf$$.dir; then
2600 rm -f conf$$.dir/conf$$.file
2601 else
2602 rm -f conf$$.dir
2603 mkdir conf$$.dir
2604 fi
2605 echo >conf$$.file
2606 if ln -s conf$$.file conf$$ 2>/dev/null; then
2607 as_ln_s='ln -s'
2608 # ... but there are two gotchas:
2609 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2610 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2611 # In both cases, we have to default to `cp -p'.
2612 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2613 as_ln_s='cp -p'
2614 elif ln conf$$.file conf$$ 2>/dev/null; then
2615 as_ln_s=ln
2616 else
2617 as_ln_s='cp -p'
2618 fi
2619 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2620 rmdir conf$$.dir 2>/dev/null
2621
2622 if mkdir -p . 2>/dev/null; then
2623 as_mkdir_p=:
2624 else
2625 test -d ./-p && rmdir ./-p
2626 as_mkdir_p=false
2627 fi
2628
2629 if test -x / >/dev/null 2>&1; then
2630 as_test_x='test -x'
2631 else
2632 if ls -dL / >/dev/null 2>&1; then
2633 as_ls_L_option=L
2634 else
2635 as_ls_L_option=
2636 fi
2637 as_test_x='
2638 eval sh -c '\''
2639 if test -d "$1"; then
2640 test -d "$1/.";
2641 else
2642 case $1 in
2643 -*)set "./$1";;
2644 esac;
2645 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2646 ???[sx]*):;;*)false;;esac;fi
2647 '\'' sh
2648 '
2649 fi
2650 as_executable_p=$as_test_x
2651
2652 # Sed expression to map a string onto a valid CPP name.
2653 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2654
2655 # Sed expression to map a string onto a valid variable name.
2656 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2657
2658
2659 exec 6>&1
2660
2661 # Save the log message, to keep $[0] and so on meaningful, and to
2662 # report actual input values of CONFIG_FILES etc. instead of their
2663 # values after options handling.
2664 ac_log="
2665 This file was extended by icon-naming-utils $as_me 0.8.90, which was
2666 generated by GNU Autoconf 2.61. Invocation command line was
2667
2668 CONFIG_FILES = $CONFIG_FILES
2669 CONFIG_HEADERS = $CONFIG_HEADERS
2670 CONFIG_LINKS = $CONFIG_LINKS
2671 CONFIG_COMMANDS = $CONFIG_COMMANDS
2672 $ $0 $@
2673
2674 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2675 "
2676
2677 _ACEOF
2678
2679 cat >>$CONFIG_STATUS <<_ACEOF
2680 # Files that config.status was made for.
2681 config_files="$ac_config_files"
2682
2683 _ACEOF
2684
2685 cat >>$CONFIG_STATUS <<\_ACEOF
2686 ac_cs_usage="\
2687 \`$as_me' instantiates files from templates according to the
2688 current configuration.
2689
2690 Usage: $0 [OPTIONS] [FILE]...
2691
2692 -h, --help print this help, then exit
2693 -V, --version print version number and configuration settings, then exit
2694 -q, --quiet do not print progress messages
2695 -d, --debug don't remove temporary files
2696 --recheck update $as_me by reconfiguring in the same conditions
2697 --file=FILE[:TEMPLATE]
2698 instantiate the configuration file FILE
2699
2700 Configuration files:
2701 $config_files
2702
2703 Report bugs to <[email protected]>."
2704
2705 _ACEOF
2706 cat >>$CONFIG_STATUS <<_ACEOF
2707 ac_cs_version="\\
2708 icon-naming-utils config.status 0.8.90
2709 configured by $0, generated by GNU Autoconf 2.61,
2710 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2711
2712 Copyright (C) 2006 Free Software Foundation, Inc.
2713 This config.status script is free software; the Free Software Foundation
2714 gives unlimited permission to copy, distribute and modify it."
2715
2716 ac_pwd='$ac_pwd'
2717 srcdir='$srcdir'
2718 INSTALL='$INSTALL'
2719 MKDIR_P='$MKDIR_P'
2720 _ACEOF
2721
2722 cat >>$CONFIG_STATUS <<\_ACEOF
2723 # If no file are specified by the user, then we need to provide default
2724 # value. By we need to know if files were specified by the user.
2725 ac_need_defaults=:
2726 while test $# != 0
2727 do
2728 case $1 in
2729 --*=*)
2730 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2731 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2732 ac_shift=:
2733 ;;
2734 *)
2735 ac_option=$1
2736 ac_optarg=$2
2737 ac_shift=shift
2738 ;;
2739 esac
2740
2741 case $ac_option in
2742 # Handling of the options.
2743 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2744 ac_cs_recheck=: ;;
2745 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2746 echo "$ac_cs_version"; exit ;;
2747 --debug | --debu | --deb | --de | --d | -d )
2748 debug=: ;;
2749 --file | --fil | --fi | --f )
2750 $ac_shift
2751 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2752 ac_need_defaults=false;;
2753 --he | --h | --help | --hel | -h )
2754 echo "$ac_cs_usage"; exit ;;
2755 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2756 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2757 ac_cs_silent=: ;;
2758
2759 # This is an error.
2760 -*) { echo "$as_me: error: unrecognized option: $1
2761 Try \`$0 --help' for more information." >&2
2762 { (exit 1); exit 1; }; } ;;
2763
2764 *) ac_config_targets="$ac_config_targets $1"
2765 ac_need_defaults=false ;;
2766
2767 esac
2768 shift
2769 done
2770
2771 ac_configure_extra_args=
2772
2773 if $ac_cs_silent; then
2774 exec 6>/dev/null
2775 ac_configure_extra_args="$ac_configure_extra_args --silent"
2776 fi
2777
2778 _ACEOF
2779 cat >>$CONFIG_STATUS <<_ACEOF
2780 if \$ac_cs_recheck; then
2781 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2782 CONFIG_SHELL=$SHELL
2783 export CONFIG_SHELL
2784 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2785 fi
2786
2787 _ACEOF
2788 cat >>$CONFIG_STATUS <<\_ACEOF
2789 exec 5>>config.log
2790 {
2791 echo
2792 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2793 ## Running $as_me. ##
2794 _ASBOX
2795 echo "$ac_log"
2796 } >&5
2797
2798 _ACEOF
2799 cat >>$CONFIG_STATUS <<_ACEOF
2800 _ACEOF
2801
2802 cat >>$CONFIG_STATUS <<\_ACEOF
2803
2804 # Handling of arguments.
2805 for ac_config_target in $ac_config_targets
2806 do
2807 case $ac_config_target in
2808 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2809 "icon-naming-utils.pc") CONFIG_FILES="$CONFIG_FILES icon-naming-utils.pc" ;;
2810 "icon-naming-utils-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES icon-naming-utils-uninstalled.pc" ;;
2811
2812 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2813 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2814 { (exit 1); exit 1; }; };;
2815 esac
2816 done
2817
2818
2819 # If the user did not use the arguments to specify the items to instantiate,
2820 # then the envvar interface is used. Set only those that are not.
2821 # We use the long form for the default assignment because of an extremely
2822 # bizarre bug on SunOS 4.1.3.
2823 if $ac_need_defaults; then
2824 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2825 fi
2826
2827 # Have a temporary directory for convenience. Make it in the build tree
2828 # simply because there is no reason against having it here, and in addition,
2829 # creating and moving files from /tmp can sometimes cause problems.
2830 # Hook for its removal unless debugging.
2831 # Note that there is a small window in which the directory will not be cleaned:
2832 # after its creation but before its name has been assigned to `$tmp'.
2833 $debug ||
2834 {
2835 tmp=
2836 trap 'exit_status=$?
2837 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2838 ' 0
2839 trap '{ (exit 1); exit 1; }' 1 2 13 15
2840 }
2841 # Create a (secure) tmp directory for tmp files.
2842
2843 {
2844 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2845 test -n "$tmp" && test -d "$tmp"
2846 } ||
2847 {
2848 tmp=./conf$$-$RANDOM
2849 (umask 077 && mkdir "$tmp")
2850 } ||
2851 {
2852 echo "$me: cannot create a temporary directory in ." >&2
2853 { (exit 1); exit 1; }
2854 }
2855
2856 #
2857 # Set up the sed scripts for CONFIG_FILES section.
2858 #
2859
2860 # No need to generate the scripts if there are no CONFIG_FILES.
2861 # This happens for instance when ./config.status config.h
2862 if test -n "$CONFIG_FILES"; then
2863
2864 _ACEOF
2865
2866
2867
2868 ac_delim='%!_!# '
2869 for ac_last_try in false false false false false :; do
2870 cat >conf$$subs.sed <<_ACEOF
2871 SHELL!$SHELL$ac_delim
2872 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2873 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2874 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2875 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2876 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2877 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2878 exec_prefix!$exec_prefix$ac_delim
2879 prefix!$prefix$ac_delim
2880 program_transform_name!$program_transform_name$ac_delim
2881 bindir!$bindir$ac_delim
2882 sbindir!$sbindir$ac_delim
2883 libexecdir!$libexecdir$ac_delim
2884 datarootdir!$datarootdir$ac_delim
2885 datadir!$datadir$ac_delim
2886 sysconfdir!$sysconfdir$ac_delim
2887 sharedstatedir!$sharedstatedir$ac_delim
2888 localstatedir!$localstatedir$ac_delim
2889 includedir!$includedir$ac_delim
2890 oldincludedir!$oldincludedir$ac_delim
2891 docdir!$docdir$ac_delim
2892 infodir!$infodir$ac_delim
2893 htmldir!$htmldir$ac_delim
2894 dvidir!$dvidir$ac_delim
2895 pdfdir!$pdfdir$ac_delim
2896 psdir!$psdir$ac_delim
2897 libdir!$libdir$ac_delim
2898 localedir!$localedir$ac_delim
2899 mandir!$mandir$ac_delim
2900 DEFS!$DEFS$ac_delim
2901 ECHO_C!$ECHO_C$ac_delim
2902 ECHO_N!$ECHO_N$ac_delim
2903 ECHO_T!$ECHO_T$ac_delim
2904 LIBS!$LIBS$ac_delim
2905 build_alias!$build_alias$ac_delim
2906 host_alias!$host_alias$ac_delim
2907 target_alias!$target_alias$ac_delim
2908 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
2909 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
2910 INSTALL_DATA!$INSTALL_DATA$ac_delim
2911 am__isrc!$am__isrc$ac_delim
2912 CYGPATH_W!$CYGPATH_W$ac_delim
2913 PACKAGE!$PACKAGE$ac_delim
2914 VERSION!$VERSION$ac_delim
2915 ACLOCAL!$ACLOCAL$ac_delim
2916 AUTOCONF!$AUTOCONF$ac_delim
2917 AUTOMAKE!$AUTOMAKE$ac_delim
2918 AUTOHEADER!$AUTOHEADER$ac_delim
2919 MAKEINFO!$MAKEINFO$ac_delim
2920 install_sh!$install_sh$ac_delim
2921 STRIP!$STRIP$ac_delim
2922 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
2923 mkdir_p!$mkdir_p$ac_delim
2924 AWK!$AWK$ac_delim
2925 SET_MAKE!$SET_MAKE$ac_delim
2926 am__leading_dot!$am__leading_dot$ac_delim
2927 AMTAR!$AMTAR$ac_delim
2928 am__tar!$am__tar$ac_delim
2929 am__untar!$am__untar$ac_delim
2930 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
2931 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
2932 MAINT!$MAINT$ac_delim
2933 PERL!$PERL$ac_delim
2934 LIBOBJS!$LIBOBJS$ac_delim
2935 LTLIBOBJS!$LTLIBOBJS$ac_delim
2936 _ACEOF
2937
2938 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 65; then
2939 break
2940 elif $ac_last_try; then
2941 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2942 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2943 { (exit 1); exit 1; }; }
2944 else
2945 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2946 fi
2947 done
2948
2949 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2950 if test -n "$ac_eof"; then
2951 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2952 ac_eof=`expr $ac_eof + 1`
2953 fi
2954
2955 cat >>$CONFIG_STATUS <<_ACEOF
2956 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2957 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2958 _ACEOF
2959 sed '
2960 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2961 s/^/s,@/; s/!/@,|#_!!_#|/
2962 :n
2963 t n
2964 s/'"$ac_delim"'$/,g/; t
2965 s/$/\\/; p
2966 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2967 ' >>$CONFIG_STATUS <conf$$subs.sed
2968 rm -f conf$$subs.sed
2969 cat >>$CONFIG_STATUS <<_ACEOF
2970 :end
2971 s/|#_!!_#|//g
2972 CEOF$ac_eof
2973 _ACEOF
2974
2975
2976 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2977 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2978 # trailing colons and then remove the whole line if VPATH becomes empty
2979 # (actually we leave an empty line to preserve line numbers).
2980 if test "x$srcdir" = x.; then
2981 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2982 s/:*\$(srcdir):*/:/
2983 s/:*\${srcdir}:*/:/
2984 s/:*@srcdir@:*/:/
2985 s/^\([^=]*=[ ]*\):*/\1/
2986 s/:*$//
2987 s/^[^=]*=[ ]*$//
2988 }'
2989 fi
2990
2991 cat >>$CONFIG_STATUS <<\_ACEOF
2992 fi # test -n "$CONFIG_FILES"
2993
2994
2995 for ac_tag in :F $CONFIG_FILES
2996 do
2997 case $ac_tag in
2998 :[FHLC]) ac_mode=$ac_tag; continue;;
2999 esac
3000 case $ac_mode$ac_tag in
3001 :[FHL]*:*);;
3002 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3003 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3004 { (exit 1); exit 1; }; };;
3005 :[FH]-) ac_tag=-:-;;
3006 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3007 esac
3008 ac_save_IFS=$IFS
3009 IFS=:
3010 set x $ac_tag
3011 IFS=$ac_save_IFS
3012 shift
3013 ac_file=$1
3014 shift
3015
3016 case $ac_mode in
3017 :L) ac_source=$1;;
3018 :[FH])
3019 ac_file_inputs=
3020 for ac_f
3021 do
3022 case $ac_f in
3023 -) ac_f="$tmp/stdin";;
3024 *) # Look for the file first in the build tree, then in the source tree
3025 # (if the path is not absolute). The absolute path cannot be DOS-style,
3026 # because $ac_f cannot contain `:'.
3027 test -f "$ac_f" ||
3028 case $ac_f in
3029 [\\/$]*) false;;
3030 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3031 esac ||
3032 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3033 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3034 { (exit 1); exit 1; }; };;
3035 esac
3036 ac_file_inputs="$ac_file_inputs $ac_f"
3037 done
3038
3039 # Let's still pretend it is `configure' which instantiates (i.e., don't
3040 # use $as_me), people would be surprised to read:
3041 # /* config.h. Generated by config.status. */
3042 configure_input="Generated from "`IFS=:
3043 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3044 if test x"$ac_file" != x-; then
3045 configure_input="$ac_file. $configure_input"
3046 { echo "$as_me:$LINENO: creating $ac_file" >&5
3047 echo "$as_me: creating $ac_file" >&6;}
3048 fi
3049
3050 case $ac_tag in
3051 *:-:* | *:-) cat >"$tmp/stdin";;
3052 esac
3053 ;;
3054 esac
3055
3056 ac_dir=`$as_dirname -- "$ac_file" ||
3057 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3058 X"$ac_file" : 'X\(//\)[^/]' \| \
3059 X"$ac_file" : 'X\(//\)$' \| \
3060 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3061 echo X"$ac_file" |
3062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3063 s//\1/
3064 q
3065 }
3066 /^X\(\/\/\)[^/].*/{
3067 s//\1/
3068 q
3069 }
3070 /^X\(\/\/\)$/{
3071 s//\1/
3072 q
3073 }
3074 /^X\(\/\).*/{
3075 s//\1/
3076 q
3077 }
3078 s/.*/./; q'`
3079 { as_dir="$ac_dir"
3080 case $as_dir in #(
3081 -*) as_dir=./$as_dir;;
3082 esac
3083 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3084 as_dirs=
3085 while :; do
3086 case $as_dir in #(
3087 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3088 *) as_qdir=$as_dir;;
3089 esac
3090 as_dirs="'$as_qdir' $as_dirs"
3091 as_dir=`$as_dirname -- "$as_dir" ||
3092 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3093 X"$as_dir" : 'X\(//\)[^/]' \| \
3094 X"$as_dir" : 'X\(//\)$' \| \
3095 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3096 echo X"$as_dir" |
3097 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3098 s//\1/
3099 q
3100 }
3101 /^X\(\/\/\)[^/].*/{
3102 s//\1/
3103 q
3104 }
3105 /^X\(\/\/\)$/{
3106 s//\1/
3107 q
3108 }
3109 /^X\(\/\).*/{
3110 s//\1/
3111 q
3112 }
3113 s/.*/./; q'`
3114 test -d "$as_dir" && break
3115 done
3116 test -z "$as_dirs" || eval "mkdir $as_dirs"
3117 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3118 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3119 { (exit 1); exit 1; }; }; }
3120 ac_builddir=.
3121
3122 case "$ac_dir" in
3123 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3124 *)
3125 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3126 # A ".." for each directory in $ac_dir_suffix.
3127 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3128 case $ac_top_builddir_sub in
3129 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3130 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3131 esac ;;
3132 esac
3133 ac_abs_top_builddir=$ac_pwd
3134 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3135 # for backward compatibility:
3136 ac_top_builddir=$ac_top_build_prefix
3137
3138 case $srcdir in
3139 .) # We are building in place.
3140 ac_srcdir=.
3141 ac_top_srcdir=$ac_top_builddir_sub
3142 ac_abs_top_srcdir=$ac_pwd ;;
3143 [\\/]* | ?:[\\/]* ) # Absolute name.
3144 ac_srcdir=$srcdir$ac_dir_suffix;
3145 ac_top_srcdir=$srcdir
3146 ac_abs_top_srcdir=$srcdir ;;
3147 *) # Relative name.
3148 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3149 ac_top_srcdir=$ac_top_build_prefix$srcdir
3150 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3151 esac
3152 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3153
3154
3155 case $ac_mode in
3156 :F)
3157 #
3158 # CONFIG_FILE
3159 #
3160
3161 case $INSTALL in
3162 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3163 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3164 esac
3165 ac_MKDIR_P=$MKDIR_P
3166 case $MKDIR_P in
3167 [\\/$]* | ?:[\\/]* ) ;;
3168 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3169 esac
3170 _ACEOF
3171
3172 cat >>$CONFIG_STATUS <<\_ACEOF
3173 # If the template does not know about datarootdir, expand it.
3174 # FIXME: This hack should be removed a few years after 2.60.
3175 ac_datarootdir_hack=; ac_datarootdir_seen=
3176
3177 case `sed -n '/datarootdir/ {
3178 p
3179 q
3180 }
3181 /@datadir@/p
3182 /@docdir@/p
3183 /@infodir@/p
3184 /@localedir@/p
3185 /@mandir@/p
3186 ' $ac_file_inputs` in
3187 *datarootdir*) ac_datarootdir_seen=yes;;
3188 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3189 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3190 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3191 _ACEOF
3192 cat >>$CONFIG_STATUS <<_ACEOF
3193 ac_datarootdir_hack='
3194 s&@datadir@&$datadir&g
3195 s&@docdir@&$docdir&g
3196 s&@infodir@&$infodir&g
3197 s&@localedir@&$localedir&g
3198 s&@mandir@&$mandir&g
3199 s&\\\${datarootdir}&$datarootdir&g' ;;
3200 esac
3201 _ACEOF
3202
3203 # Neutralize VPATH when `$srcdir' = `.'.
3204 # Shell code in configure.ac might set extrasub.
3205 # FIXME: do we really want to maintain this feature?
3206 cat >>$CONFIG_STATUS <<_ACEOF
3207 sed "$ac_vpsub
3208 $extrasub
3209 _ACEOF
3210 cat >>$CONFIG_STATUS <<\_ACEOF
3211 :t
3212 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3213 s&@configure_input@&$configure_input&;t t
3214 s&@top_builddir@&$ac_top_builddir_sub&;t t
3215 s&@srcdir@&$ac_srcdir&;t t
3216 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3217 s&@top_srcdir@&$ac_top_srcdir&;t t
3218 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3219 s&@builddir@&$ac_builddir&;t t
3220 s&@abs_builddir@&$ac_abs_builddir&;t t
3221 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3222 s&@INSTALL@&$ac_INSTALL&;t t
3223 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3224 $ac_datarootdir_hack
3225 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3226
3227 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3228 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3229 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3230 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3231 which seems to be undefined. Please make sure it is defined." >&5
3232 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3233 which seems to be undefined. Please make sure it is defined." >&2;}
3234
3235 rm -f "$tmp/stdin"
3236 case $ac_file in
3237 -) cat "$tmp/out"; rm -f "$tmp/out";;
3238 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3239 esac
3240 ;;
3241
3242
3243
3244 esac
3245
3246 done # for ac_tag
3247
3248
3249 { (exit 0); exit 0; }
3250 _ACEOF
3251 chmod +x $CONFIG_STATUS
3252 ac_clean_files=$ac_clean_files_save
3253
3254
3255 # configure is writing to config.log, and then calls config.status.
3256 # config.status does its own redirection, appending to config.log.
3257 # Unfortunately, on DOS this fails, as config.log is still kept open
3258 # by configure, so config.status won't be able to write to it; its
3259 # output is simply discarded. So we exec the FD to /dev/null,
3260 # effectively closing config.log, so it can be properly (re)opened and
3261 # appended to by config.status. When coming back to configure, we
3262 # need to make the FD available again.
3263 if test "$no_create" != yes; then
3264 ac_cs_success=:
3265 ac_config_status_args=
3266 test "$silent" = yes &&
3267 ac_config_status_args="$ac_config_status_args --quiet"
3268 exec 5>/dev/null
3269 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3270 exec 5>>config.log
3271 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3272 # would make configure fail if this is the last instruction.
3273 $ac_cs_success || { (exit 1); exit 1; }
3274 fi
3275
3276