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
16DUALCASE=1; export DUALCASE # for MKS sh
17if 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
24else
25  case `(set -o) 2>/dev/null` in
26  *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42# The user is always right.
43if 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
53fi
54
55# Support unset when possible.
56if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57  as_unset=unset
58else
59  as_unset=false
60fi
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.)
68as_nl='
69'
70IFS=" ""	$as_nl"
71
72# Find who we are.  Look in the path if we contain no directory separator.
73case $0 in
74  *[\\/]* ) as_myself=$0 ;;
75  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76for as_dir in $PATH
77do
78  IFS=$as_save_IFS
79  test -z "$as_dir" && as_dir=.
80  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81done
82IFS=$as_save_IFS
83
84     ;;
85esac
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.
88if test "x$as_myself" = x; then
89  as_myself=$0
90fi
91if 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; }
94fi
95
96# Work around bugs in pre-3.0 UWIN ksh.
97for as_var in ENV MAIL MAILPATH
98do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99done
100PS1='$ '
101PS2='> '
102PS4='+ '
103
104# NLS nuisances.
105for 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
109do
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
115done
116
117# Required to use basename.
118if expr a : '\(a\)' >/dev/null 2>&1 &&
119   test "X`expr 00001 : '.*\(...\)'`" = X001; then
120  as_expr=expr
121else
122  as_expr=false
123fi
124
125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126  as_basename=basename
127else
128  as_basename=false
129fi
130
131
132# Name of the executable.
133as_me=`$as_basename -- "$0" ||
134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135	 X"$0" : 'X\(//\)$' \| \
136	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137echo 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
156if test "x$CONFIG_SHELL" = x; then
157  if (eval ":") 2>/dev/null; then
158  as_have_required=yes
159else
160  as_have_required=no
161fi
162
163  if test $as_have_required = yes && 	 (eval ":
164(as_func_return () {
165  (exit \$1)
166}
167as_func_success () {
168  as_func_return 0
169}
170as_func_failure () {
171  as_func_return 1
172}
173as_func_ret_success () {
174  return 0
175}
176as_func_ret_failure () {
177  return 1
178}
179
180exitcode=0
181if as_func_success; then
182  :
183else
184  exitcode=1
185  echo as_func_success failed.
186fi
187
188if as_func_failure; then
189  exitcode=1
190  echo as_func_failure succeeded.
191fi
192
193if as_func_ret_success; then
194  :
195else
196  exitcode=1
197  echo as_func_ret_success failed.
198fi
199
200if as_func_ret_failure; then
201  exitcode=1
202  echo as_func_ret_failure succeeded.
203fi
204
205if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206  :
207else
208  exitcode=1
209  echo positional parameters were not saved.
210fi
211
212test \$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  :
221else
222  as_candidate_shells=
223    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225do
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
234done
235IFS=$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
242if 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
249else
250  case `(set -o) 2>/dev/null` in
251  *posix*) set -o posix ;;
252esac
253
254fi
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
263if 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
270else
271  case `(set -o) 2>/dev/null` in
272  *posix*) set -o posix ;;
273esac
274
275fi
276
277
278:
279(as_func_return () {
280  (exit $1)
281}
282as_func_success () {
283  as_func_return 0
284}
285as_func_failure () {
286  as_func_return 1
287}
288as_func_ret_success () {
289  return 0
290}
291as_func_ret_failure () {
292  return 1
293}
294
295exitcode=0
296if as_func_success; then
297  :
298else
299  exitcode=1
300  echo as_func_success failed.
301fi
302
303if as_func_failure; then
304  exitcode=1
305  echo as_func_failure succeeded.
306fi
307
308if as_func_ret_success; then
309  :
310else
311  exitcode=1
312  echo as_func_ret_success failed.
313fi
314
315if as_func_ret_failure; then
316  exitcode=1
317  echo as_func_ret_failure succeeded.
318fi
319
320if ( set x; as_func_ret_success y && test x = "$1" ); then
321  :
322else
323  exitcode=1
324  echo positional parameters were not saved.
325fi
326
327test $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
338fi
339
340fi
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+"$@"}
350fi
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; }
359fi
360
361
362fi
363
364fi
365
366
367
368(eval "as_func_return () {
369  (exit \$1)
370}
371as_func_success () {
372  as_func_return 0
373}
374as_func_failure () {
375  as_func_return 1
376}
377as_func_ret_success () {
378  return 0
379}
380as_func_ret_failure () {
381  return 1
382}
383
384exitcode=0
385if as_func_success; then
386  :
387else
388  exitcode=1
389  echo as_func_success failed.
390fi
391
392if as_func_failure; then
393  exitcode=1
394  echo as_func_failure succeeded.
395fi
396
397if as_func_ret_success; then
398  :
399else
400  exitcode=1
401  echo as_func_ret_success failed.
402fi
403
404if as_func_ret_failure; then
405  exitcode=1
406  echo as_func_ret_failure succeeded.
407fi
408
409if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410  :
411else
412  exitcode=1
413  echo positional parameters were not saved.
414fi
415
416test \$exitcode = 0") || {
417  echo No shell found that supports shell functions.
418  echo Please tell autoconf@gnu.org 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
468if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469  as_dirname=dirname
470else
471  as_dirname=false
472fi
473
474ECHO_C= ECHO_N= ECHO_T=
475case `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';;
483esac
484
485if expr a : '\(a\)' >/dev/null 2>&1 &&
486   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487  as_expr=expr
488else
489  as_expr=false
490fi
491
492rm -f conf$$ conf$$.exe conf$$.file
493if test -d conf$$.dir; then
494  rm -f conf$$.dir/conf$$.file
495else
496  rm -f conf$$.dir
497  mkdir conf$$.dir
498fi
499echo >conf$$.file
500if 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'
508elif ln conf$$.file conf$$ 2>/dev/null; then
509  as_ln_s=ln
510else
511  as_ln_s='cp -p'
512fi
513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514rmdir conf$$.dir 2>/dev/null
515
516if mkdir -p . 2>/dev/null; then
517  as_mkdir_p=:
518else
519  test -d ./-p && rmdir ./-p
520  as_mkdir_p=false
521fi
522
523if test -x / >/dev/null 2>&1; then
524  as_test_x='test -x'
525else
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  '
543fi
544as_executable_p=$as_test_x
545
546# Sed expression to map a string onto a valid CPP name.
547as_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.
550as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554exec 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.
559ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
561#
562# Initializations.
563#
564ac_default_prefix=/usr/local
565ac_clean_files=
566ac_config_libobj_dir=.
567LIBOBJS=
568cross_compiling=no
569subdirs=
570MFLAGS=
571MAKEFLAGS=
572SHELL=${CONFIG_SHELL-/bin/sh}
573
574# Identity of this package.
575PACKAGE_NAME='icon-naming-utils'
576PACKAGE_TARNAME='icon-naming-utils'
577PACKAGE_VERSION='0.8.90'
578PACKAGE_STRING='icon-naming-utils 0.8.90'
579PACKAGE_BUGREPORT=''
580
581ac_unique_file="icon-name-mapping.pl.in"
582ac_subst_vars='SHELL
583PATH_SEPARATOR
584PACKAGE_NAME
585PACKAGE_TARNAME
586PACKAGE_VERSION
587PACKAGE_STRING
588PACKAGE_BUGREPORT
589exec_prefix
590prefix
591program_transform_name
592bindir
593sbindir
594libexecdir
595datarootdir
596datadir
597sysconfdir
598sharedstatedir
599localstatedir
600includedir
601oldincludedir
602docdir
603infodir
604htmldir
605dvidir
606pdfdir
607psdir
608libdir
609localedir
610mandir
611DEFS
612ECHO_C
613ECHO_N
614ECHO_T
615LIBS
616build_alias
617host_alias
618target_alias
619INSTALL_PROGRAM
620INSTALL_SCRIPT
621INSTALL_DATA
622am__isrc
623CYGPATH_W
624PACKAGE
625VERSION
626ACLOCAL
627AUTOCONF
628AUTOMAKE
629AUTOHEADER
630MAKEINFO
631install_sh
632STRIP
633INSTALL_STRIP_PROGRAM
634mkdir_p
635AWK
636SET_MAKE
637am__leading_dot
638AMTAR
639am__tar
640am__untar
641MAINTAINER_MODE_TRUE
642MAINTAINER_MODE_FALSE
643MAINT
644PERL
645LIBOBJS
646LTLIBOBJS'
647ac_subst_files=''
648      ac_precious_vars='build_alias
649host_alias
650target_alias'
651
652
653# Initialize some variables set by options.
654ac_init_help=
655ac_init_version=false
656# The variables have the same names as the options, with
657# dashes changed to underlines.
658cache_file=/dev/null
659exec_prefix=NONE
660no_create=
661no_recursion=
662prefix=NONE
663program_prefix=NONE
664program_suffix=NONE
665program_transform_name=s,x,x,
666silent=
667site=
668srcdir=
669verbose=
670x_includes=NONE
671x_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.)
679bindir='${exec_prefix}/bin'
680sbindir='${exec_prefix}/sbin'
681libexecdir='${exec_prefix}/libexec'
682datarootdir='${prefix}/share'
683datadir='${datarootdir}'
684sysconfdir='${prefix}/etc'
685sharedstatedir='${prefix}/com'
686localstatedir='${prefix}/var'
687includedir='${prefix}/include'
688oldincludedir='/usr/include'
689docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
690infodir='${datarootdir}/info'
691htmldir='${docdir}'
692dvidir='${docdir}'
693pdfdir='${docdir}'
694psdir='${docdir}'
695libdir='${exec_prefix}/lib'
696localedir='${datarootdir}/locale'
697mandir='${datarootdir}/man'
698
699ac_prev=
700ac_dashdash=
701for ac_option
702do
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
1006Try \`$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
1028done
1029
1030if 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; }; }
1034fi
1035
1036# Be sure to have absolute directory names.
1037for 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
1041do
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; }; }
1049done
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.
1054build=$build_alias
1055host=$host_alias
1056target=$target_alias
1057
1058# FIXME: To remove some day.
1059if 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
1067fi
1068
1069ac_tool_prefix=
1070test -n "$host_alias" && ac_tool_prefix=$host_alias-
1071
1072test "$silent" = yes && exec 6>/dev/null
1073
1074
1075ac_pwd=`pwd` && test -n "$ac_pwd" &&
1076ac_ls_di=`ls -di .` &&
1077ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1078  { echo "$as_me: error: Working directory cannot be determined" >&2
1079   { (exit 1); exit 1; }; }
1080test "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.
1086if 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 ||
1094echo 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
1116else
1117  ac_srcdir_defaulted=no
1118fi
1119if 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; }; }
1123fi
1124ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1125ac_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=.
1130if test "$ac_abs_confdir" = "$ac_pwd"; then
1131  srcdir=.
1132fi
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.
1136case $srcdir in
1137*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1138esac
1139for 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}
1144done
1145
1146#
1147# Report the --help message.
1148#
1149if 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
1155Usage: $0 [OPTION]... [VAR=VALUE]...
1156
1157To assign environment variables (e.g., CC, CFLAGS...), specify them as
1158VAR=VALUE.  See below for descriptions of some of the useful variables.
1159
1160Defaults for the options are specified in brackets.
1161
1162Configuration:
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
1173Installation 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
1179By default, \`make install' will install all the files in
1180\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1181an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1182for instance \`--prefix=\$HOME'.
1183
1184For better control, use the options below.
1185
1186Fine 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
1210Program 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
1215fi
1216
1217if 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
1223Optional 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
1230ac_status=$?
1231fi
1232
1233if 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
1239case "$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 ;;
1249esac
1250ac_abs_top_builddir=$ac_pwd
1251ac_abs_builddir=$ac_pwd$ac_dir_suffix
1252# for backward compatibility:
1253ac_top_builddir=$ac_top_build_prefix
1254
1255case $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 ;;
1268esac
1269ac_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
1284fi
1285
1286test -n "$ac_init_help" && exit $ac_status
1287if $ac_init_version; then
1288  cat <<\_ACEOF
1289icon-naming-utils configure 0.8.90
1290generated by GNU Autoconf 2.61
1291
1292Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
12932002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1294This configure script is free software; the Free Software Foundation
1295gives unlimited permission to copy, distribute and modify it.
1296
1297Copyright 2005-2007 Rodney Dawes
1298_ACEOF
1299  exit
1300fi
1301cat >config.log <<_ACEOF
1302This file contains any messages produced by compilers while
1303running configure, to aid debugging if configure makes a mistake.
1304
1305It was created by icon-naming-utils $as_me 0.8.90, which was
1306generated by GNU Autoconf 2.61.  Invocation command line was
1307
1308  $ $0 $@
1309
1310_ACEOF
1311exec 5>>config.log
1312{
1313cat <<_ASUNAME
1314## --------- ##
1315## Platform. ##
1316## --------- ##
1317
1318hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1319uname -m = `(uname -m) 2>/dev/null || echo unknown`
1320uname -r = `(uname -r) 2>/dev/null || echo unknown`
1321uname -s = `(uname -s) 2>/dev/null || echo unknown`
1322uname -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
1337as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1338for as_dir in $PATH
1339do
1340  IFS=$as_save_IFS
1341  test -z "$as_dir" && as_dir=.
1342  echo "PATH: $as_dir"
1343done
1344IFS=$as_save_IFS
1345
1346} >&5
1347
1348cat >&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.
1363ac_configure_args=
1364ac_configure_args0=
1365ac_configure_args1=
1366ac_must_keep_next=false
1367for ac_pass in 1 2
1368do
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
1402done
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.
1411trap '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
1430echo "$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
1505for ac_signal in 1 2 13 15; do
1506  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1507done
1508ac_signal=0
1509
1510# confdefs.h avoids OS command line length limits that DEFS can exceed.
1511rm -f -r conftest* confdefs.h
1512
1513# Predefined preprocessor variables.
1514
1515cat >>confdefs.h <<_ACEOF
1516#define PACKAGE_NAME "$PACKAGE_NAME"
1517_ACEOF
1518
1519
1520cat >>confdefs.h <<_ACEOF
1521#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1522_ACEOF
1523
1524
1525cat >>confdefs.h <<_ACEOF
1526#define PACKAGE_VERSION "$PACKAGE_VERSION"
1527_ACEOF
1528
1529
1530cat >>confdefs.h <<_ACEOF
1531#define PACKAGE_STRING "$PACKAGE_STRING"
1532_ACEOF
1533
1534
1535cat >>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.
1542if test -n "$CONFIG_SITE"; then
1543  set x "$CONFIG_SITE"
1544elif test "x$prefix" != xNONE; then
1545  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1546else
1547  set x "$ac_default_prefix/share/config.site" \
1548	"$ac_default_prefix/etc/config.site"
1549fi
1550shift
1551for ac_site_file
1552do
1553  if test -r "$ac_site_file"; then
1554    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1555echo "$as_me: loading site script $ac_site_file" >&6;}
1556    sed 's/^/| /' "$ac_site_file" >&5
1557    . "$ac_site_file"
1558  fi
1559done
1560
1561if 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
1566echo "$as_me: loading cache $cache_file" >&6;}
1567    case $cache_file in
1568      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1569      *)                      . "./$cache_file";;
1570    esac
1571  fi
1572else
1573  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1574echo "$as_me: creating cache $cache_file" >&6;}
1575  >$cache_file
1576fi
1577
1578# Check that the precious variables saved in the cache have kept the same
1579# value.
1580ac_cache_corrupted=false
1581for 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
1589echo "$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
1593echo "$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
1599echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1600	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1601echo "$as_me:   former value:  $ac_old_val" >&2;}
1602	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1603echo "$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
1618done
1619if $ac_cache_corrupted; then
1620  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1621echo "$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
1623echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1624   { (exit 1); exit 1; }; }
1625fi
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
1651ac_ext=c
1652ac_cpp='$CPP $CPPFLAGS'
1653ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1654ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1655ac_compiler_gnu=$ac_cv_c_compiler_gnu
1656
1657
1658
1659
1660
1661am__api_version='1.10'
1662
1663ac_aux_dir=
1664for 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
1678done
1679if test -z "$ac_aux_dir"; then
1680  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1681echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1682   { (exit 1); exit 1; }; }
1683fi
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.
1689ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1690ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1691ac_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
1708echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1709if test -z "$INSTALL"; then
1710if test "${ac_cv_path_install+set}" = set; then
1711  echo $ECHO_N "(cached) $ECHO_C" >&6
1712else
1713  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1714for as_dir in $PATH
1715do
1716  IFS=$as_save_IFS
1717  test -z "$as_dir" && as_dir=.
1718  # Account for people who put trailing slashes in PATH elements.
1719case $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    ;;
1747esac
1748done
1749IFS=$as_save_IFS
1750
1751
1752fi
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
1762fi
1763{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1764echo "${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.
1768test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1769
1770test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1771
1772test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1773
1774{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1775echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1776# Just in case
1777sleep 1
1778echo 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).
1784if (
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
1799alias in your environment" >&5
1800echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1801alias in your environment" >&2;}
1802   { (exit 1); exit 1; }; }
1803   fi
1804
1805   test "$2" = conftest.file
1806   )
1807then
1808   # Ok.
1809   :
1810else
1811   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1812Check your system clock" >&5
1813echo "$as_me: error: newly created file is older than distributed files!
1814Check your system clock" >&2;}
1815   { (exit 1); exit 1; }; }
1816fi
1817{ echo "$as_me:$LINENO: result: yes" >&5
1818echo "${ECHO_T}yes" >&6; }
1819test "$program_prefix" != NONE &&
1820  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1821# Use a double $ so make ignores it.
1822test "$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.
1826cat <<\_ACEOF >conftest.sed
1827s/[\\$]/&&/g;s/;s,x,x,$//
1828_ACEOF
1829program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1830rm -f conftest.sed
1831
1832# expand $ac_aux_dir to an absolute path
1833am_aux_dir=`cd $ac_aux_dir && pwd`
1834
1835test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1836# Use eval to expand $SHELL
1837if eval "$MISSING --run true"; then
1838  am_missing_run="$MISSING --run "
1839else
1840  am_missing_run=
1841  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1842echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1843fi
1844
1845{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1846echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1847if test -z "$MKDIR_P"; then
1848  if test "${ac_cv_path_mkdir+set}" = set; then
1849  echo $ECHO_N "(cached) $ECHO_C" >&6
1850else
1851  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1852for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1853do
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
1868done
1869IFS=$as_save_IFS
1870
1871fi
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
1883fi
1884{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1885echo "${ECHO_T}$MKDIR_P" >&6; }
1886
1887mkdir_p="$MKDIR_P"
1888case $mkdir_p in
1889  [\\/$]* | ?:[\\/]*) ;;
1890  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1891esac
1892
1893for ac_prog in gawk mawk nawk awk
1894do
1895  # Extract the first word of "$ac_prog", so it can be a program name with args.
1896set dummy $ac_prog; ac_word=$2
1897{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1898echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1899if test "${ac_cv_prog_AWK+set}" = set; then
1900  echo $ECHO_N "(cached) $ECHO_C" >&6
1901else
1902  if test -n "$AWK"; then
1903  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1904else
1905as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1906for as_dir in $PATH
1907do
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
1916done
1917done
1918IFS=$as_save_IFS
1919
1920fi
1921fi
1922AWK=$ac_cv_prog_AWK
1923if test -n "$AWK"; then
1924  { echo "$as_me:$LINENO: result: $AWK" >&5
1925echo "${ECHO_T}$AWK" >&6; }
1926else
1927  { echo "$as_me:$LINENO: result: no" >&5
1928echo "${ECHO_T}no" >&6; }
1929fi
1930
1931
1932  test -n "$AWK" && break
1933done
1934
1935{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1936echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1937set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1938if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1939  echo $ECHO_N "(cached) $ECHO_C" >&6
1940else
1941  cat >conftest.make <<\_ACEOF
1942SHELL = /bin/sh
1943all:
1944	@echo '@@@%%%=$(MAKE)=@@@%%%'
1945_ACEOF
1946# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1947case `${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;;
1952esac
1953rm -f conftest.make
1954fi
1955if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1956  { echo "$as_me:$LINENO: result: yes" >&5
1957echo "${ECHO_T}yes" >&6; }
1958  SET_MAKE=
1959else
1960  { echo "$as_me:$LINENO: result: no" >&5
1961echo "${ECHO_T}no" >&6; }
1962  SET_MAKE="MAKE=${MAKE-make}"
1963fi
1964
1965rm -rf .tst 2>/dev/null
1966mkdir .tst 2>/dev/null
1967if test -d .tst; then
1968  am__leading_dot=.
1969else
1970  am__leading_dot=_
1971fi
1972rmdir .tst 2>/dev/null
1973
1974if 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
1981echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1982   { (exit 1); exit 1; }; }
1983  fi
1984fi
1985
1986# test whether we have cygpath
1987if 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
1993fi
1994
1995
1996# Define the identity of the package.
1997 PACKAGE='icon-naming-utils'
1998 VERSION='0.8.90'
1999
2000
2001cat >>confdefs.h <<_ACEOF
2002#define PACKAGE "$PACKAGE"
2003_ACEOF
2004
2005
2006cat >>confdefs.h <<_ACEOF
2007#define VERSION "$VERSION"
2008_ACEOF
2009
2010# Some tools Automake needs.
2011
2012ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2013
2014
2015AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2016
2017
2018AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2019
2020
2021AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2022
2023
2024MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2025
2026install_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.
2032if 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.
2035set dummy ${ac_tool_prefix}strip; ac_word=$2
2036{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2037echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2038if test "${ac_cv_prog_STRIP+set}" = set; then
2039  echo $ECHO_N "(cached) $ECHO_C" >&6
2040else
2041  if test -n "$STRIP"; then
2042  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2043else
2044as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2045for as_dir in $PATH
2046do
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
2055done
2056done
2057IFS=$as_save_IFS
2058
2059fi
2060fi
2061STRIP=$ac_cv_prog_STRIP
2062if test -n "$STRIP"; then
2063  { echo "$as_me:$LINENO: result: $STRIP" >&5
2064echo "${ECHO_T}$STRIP" >&6; }
2065else
2066  { echo "$as_me:$LINENO: result: no" >&5
2067echo "${ECHO_T}no" >&6; }
2068fi
2069
2070
2071fi
2072if 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.
2075set dummy strip; ac_word=$2
2076{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2077echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2078if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2079  echo $ECHO_N "(cached) $ECHO_C" >&6
2080else
2081  if test -n "$ac_ct_STRIP"; then
2082  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2083else
2084as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2085for as_dir in $PATH
2086do
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
2095done
2096done
2097IFS=$as_save_IFS
2098
2099fi
2100fi
2101ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2102if test -n "$ac_ct_STRIP"; then
2103  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2104echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2105else
2106  { echo "$as_me:$LINENO: result: no" >&5
2107echo "${ECHO_T}no" >&6; }
2108fi
2109
2110  if test "x$ac_ct_STRIP" = x; then
2111    STRIP=":"
2112  else
2113    case $cross_compiling:$ac_tool_warned in
2114yes:)
2115{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2116whose name does not start with the host triplet.  If you think this
2117configuration is useful to you, please write to autoconf@gnu.org." >&5
2118echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2119whose name does not start with the host triplet.  If you think this
2120configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2121ac_tool_warned=yes ;;
2122esac
2123    STRIP=$ac_ct_STRIP
2124  fi
2125else
2126  STRIP="$ac_cv_prog_STRIP"
2127fi
2128
2129fi
2130INSTALL_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
2136AMTAR=${AMTAR-"${am_missing_run}tar"}
2137
2138am__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
2146echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2147    # Check whether --enable-maintainer-mode was given.
2148if test "${enable_maintainer_mode+set}" = set; then
2149  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2150else
2151  USE_MAINTAINER_MODE=no
2152fi
2153
2154  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2155echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2156   if test $USE_MAINTAINER_MODE = yes; then
2157  MAINTAINER_MODE_TRUE=
2158  MAINTAINER_MODE_FALSE='#'
2159else
2160  MAINTAINER_MODE_TRUE='#'
2161  MAINTAINER_MODE_FALSE=
2162fi
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.
2169set dummy perl; ac_word=$2
2170{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2171echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2172if test "${ac_cv_path_PERL+set}" = set; then
2173  echo $ECHO_N "(cached) $ECHO_C" >&6
2174else
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
2181for as_dir in $PATH
2182do
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
2191done
2192done
2193IFS=$as_save_IFS
2194
2195  ;;
2196esac
2197fi
2198PERL=$ac_cv_path_PERL
2199if test -n "$PERL"; then
2200  { echo "$as_me:$LINENO: result: $PERL" >&5
2201echo "${ECHO_T}$PERL" >&6; }
2202else
2203  { echo "$as_me:$LINENO: result: no" >&5
2204echo "${ECHO_T}no" >&6; }
2205fi
2206
2207
2208if test -z "$PERL"; then
2209   { { echo "$as_me:$LINENO: error: perl not found" >&5
2210echo "$as_me: error: perl not found" >&2;}
2211   { (exit 1); exit 1; }; }
2212fi
2213if 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
2215echo "$as_me: error: perl 5.x required for icon-naming-utils" >&2;}
2216   { (exit 1); exit 1; }; }
2217fi
2218{ echo "$as_me:$LINENO: checking for XML::Simple" >&5
2219echo $ECHO_N "checking for XML::Simple... $ECHO_C" >&6; }
2220if `$PERL -e "require XML::Simple" 2>/dev/null`; then
2221   { echo "$as_me:$LINENO: result: ok" >&5
2222echo "${ECHO_T}ok" >&6; }
2223else
2224   { { echo "$as_me:$LINENO: error: XML::Simple perl module is required for icon-naming-utils" >&5
2225echo "$as_me: error: XML::Simple perl module is required for icon-naming-utils" >&2;}
2226   { (exit 1); exit 1; }; }
2227fi
2228
2229ac_config_files="$ac_config_files Makefile icon-naming-utils.pc icon-naming-utils-uninstalled.pc"
2230
2231
2232cat >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
2260echo "$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
2293if 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
2297echo "$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
2301echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2302  fi
2303fi
2304rm -f confcache
2305
2306test "x$prefix" = xNONE && prefix=$ac_default_prefix
2307# Let make expand exec_prefix.
2308test "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.
2317ac_script='
2318t clear
2319:clear
2320s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
2321t quote
2322s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
2323t quote
2324b any
2325:quote
2326s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2327s/\[/\\&/g
2328s/\]/\\&/g
2329s/\$/$$/g
2330H
2331:any
2332${
2333	g
2334	s/^\n//
2335	s/\n/ /g
2336	p
2337}
2338'
2339DEFS=`sed -n "$ac_script" confdefs.h`
2340
2341
2342ac_libobjs=
2343ac_ltlibobjs=
2344for 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'
2352done
2353LIBOBJS=$ac_libobjs
2354
2355LTLIBOBJS=$ac_ltlibobjs
2356
2357
2358if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2359  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
2360Usually this means the macro was only invoked conditionally." >&5
2361echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
2362Usually this means the macro was only invoked conditionally." >&2;}
2363   { (exit 1); exit 1; }; }
2364fi
2365
2366: ${CONFIG_STATUS=./config.status}
2367ac_clean_files_save=$ac_clean_files
2368ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2369{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2370echo "$as_me: creating $CONFIG_STATUS" >&6;}
2371cat >$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
2378debug=false
2379ac_cs_recheck=false
2380ac_cs_silent=false
2381SHELL=\${CONFIG_SHELL-$SHELL}
2382_ACEOF
2383
2384cat >>$CONFIG_STATUS <<\_ACEOF
2385## --------------------- ##
2386## M4sh Initialization.  ##
2387## --------------------- ##
2388
2389# Be more Bourne compatible
2390DUALCASE=1; export DUALCASE # for MKS sh
2391if 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
2398else
2399  case `(set -o) 2>/dev/null` in
2400  *posix*) set -o posix ;;
2401esac
2402
2403fi
2404
2405
2406
2407
2408# PATH needs CR
2409# Avoid depending upon Character Ranges.
2410as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2411as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2412as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2413as_cr_digits='0123456789'
2414as_cr_alnum=$as_cr_Letters$as_cr_digits
2415
2416# The user is always right.
2417if 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
2427fi
2428
2429# Support unset when possible.
2430if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2431  as_unset=unset
2432else
2433  as_unset=false
2434fi
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.)
2442as_nl='
2443'
2444IFS=" ""	$as_nl"
2445
2446# Find who we are.  Look in the path if we contain no directory separator.
2447case $0 in
2448  *[\\/]* ) as_myself=$0 ;;
2449  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2450for as_dir in $PATH
2451do
2452  IFS=$as_save_IFS
2453  test -z "$as_dir" && as_dir=.
2454  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2455done
2456IFS=$as_save_IFS
2457
2458     ;;
2459esac
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.
2462if test "x$as_myself" = x; then
2463  as_myself=$0
2464fi
2465if 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; }
2468fi
2469
2470# Work around bugs in pre-3.0 UWIN ksh.
2471for as_var in ENV MAIL MAILPATH
2472do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2473done
2474PS1='$ '
2475PS2='> '
2476PS4='+ '
2477
2478# NLS nuisances.
2479for 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
2483do
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
2489done
2490
2491# Required to use basename.
2492if expr a : '\(a\)' >/dev/null 2>&1 &&
2493   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2494  as_expr=expr
2495else
2496  as_expr=false
2497fi
2498
2499if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2500  as_basename=basename
2501else
2502  as_basename=false
2503fi
2504
2505
2506# Name of the executable.
2507as_me=`$as_basename -- "$0" ||
2508$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2509	 X"$0" : 'X\(//\)$' \| \
2510	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2511echo 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
2574if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2575  as_dirname=dirname
2576else
2577  as_dirname=false
2578fi
2579
2580ECHO_C= ECHO_N= ECHO_T=
2581case `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';;
2589esac
2590
2591if expr a : '\(a\)' >/dev/null 2>&1 &&
2592   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2593  as_expr=expr
2594else
2595  as_expr=false
2596fi
2597
2598rm -f conf$$ conf$$.exe conf$$.file
2599if test -d conf$$.dir; then
2600  rm -f conf$$.dir/conf$$.file
2601else
2602  rm -f conf$$.dir
2603  mkdir conf$$.dir
2604fi
2605echo >conf$$.file
2606if 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'
2614elif ln conf$$.file conf$$ 2>/dev/null; then
2615  as_ln_s=ln
2616else
2617  as_ln_s='cp -p'
2618fi
2619rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2620rmdir conf$$.dir 2>/dev/null
2621
2622if mkdir -p . 2>/dev/null; then
2623  as_mkdir_p=:
2624else
2625  test -d ./-p && rmdir ./-p
2626  as_mkdir_p=false
2627fi
2628
2629if test -x / >/dev/null 2>&1; then
2630  as_test_x='test -x'
2631else
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  '
2649fi
2650as_executable_p=$as_test_x
2651
2652# Sed expression to map a string onto a valid CPP name.
2653as_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.
2656as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2657
2658
2659exec 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.
2664ac_log="
2665This file was extended by icon-naming-utils $as_me 0.8.90, which was
2666generated 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
2674on `(hostname || uname -n) 2>/dev/null | sed 1q`
2675"
2676
2677_ACEOF
2678
2679cat >>$CONFIG_STATUS <<_ACEOF
2680# Files that config.status was made for.
2681config_files="$ac_config_files"
2682
2683_ACEOF
2684
2685cat >>$CONFIG_STATUS <<\_ACEOF
2686ac_cs_usage="\
2687\`$as_me' instantiates files from templates according to the
2688current configuration.
2689
2690Usage: $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
2700Configuration files:
2701$config_files
2702
2703Report bugs to <bug-autoconf@gnu.org>."
2704
2705_ACEOF
2706cat >>$CONFIG_STATUS <<_ACEOF
2707ac_cs_version="\\
2708icon-naming-utils config.status 0.8.90
2709configured by $0, generated by GNU Autoconf 2.61,
2710  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2711
2712Copyright (C) 2006 Free Software Foundation, Inc.
2713This config.status script is free software; the Free Software Foundation
2714gives unlimited permission to copy, distribute and modify it."
2715
2716ac_pwd='$ac_pwd'
2717srcdir='$srcdir'
2718INSTALL='$INSTALL'
2719MKDIR_P='$MKDIR_P'
2720_ACEOF
2721
2722cat >>$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.
2725ac_need_defaults=:
2726while test $# != 0
2727do
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
2761Try \`$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
2769done
2770
2771ac_configure_extra_args=
2772
2773if $ac_cs_silent; then
2774  exec 6>/dev/null
2775  ac_configure_extra_args="$ac_configure_extra_args --silent"
2776fi
2777
2778_ACEOF
2779cat >>$CONFIG_STATUS <<_ACEOF
2780if \$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
2785fi
2786
2787_ACEOF
2788cat >>$CONFIG_STATUS <<\_ACEOF
2789exec 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
2799cat >>$CONFIG_STATUS <<_ACEOF
2800_ACEOF
2801
2802cat >>$CONFIG_STATUS <<\_ACEOF
2803
2804# Handling of arguments.
2805for ac_config_target in $ac_config_targets
2806do
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
2813echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2814   { (exit 1); exit 1; }; };;
2815  esac
2816done
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.
2823if $ac_need_defaults; then
2824  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2825fi
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
2862if test -n "$CONFIG_FILES"; then
2863
2864_ACEOF
2865
2866
2867
2868ac_delim='%!_!# '
2869for ac_last_try in false false false false false :; do
2870  cat >conf$$subs.sed <<_ACEOF
2871SHELL!$SHELL$ac_delim
2872PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2873PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2874PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2875PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2876PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2877PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2878exec_prefix!$exec_prefix$ac_delim
2879prefix!$prefix$ac_delim
2880program_transform_name!$program_transform_name$ac_delim
2881bindir!$bindir$ac_delim
2882sbindir!$sbindir$ac_delim
2883libexecdir!$libexecdir$ac_delim
2884datarootdir!$datarootdir$ac_delim
2885datadir!$datadir$ac_delim
2886sysconfdir!$sysconfdir$ac_delim
2887sharedstatedir!$sharedstatedir$ac_delim
2888localstatedir!$localstatedir$ac_delim
2889includedir!$includedir$ac_delim
2890oldincludedir!$oldincludedir$ac_delim
2891docdir!$docdir$ac_delim
2892infodir!$infodir$ac_delim
2893htmldir!$htmldir$ac_delim
2894dvidir!$dvidir$ac_delim
2895pdfdir!$pdfdir$ac_delim
2896psdir!$psdir$ac_delim
2897libdir!$libdir$ac_delim
2898localedir!$localedir$ac_delim
2899mandir!$mandir$ac_delim
2900DEFS!$DEFS$ac_delim
2901ECHO_C!$ECHO_C$ac_delim
2902ECHO_N!$ECHO_N$ac_delim
2903ECHO_T!$ECHO_T$ac_delim
2904LIBS!$LIBS$ac_delim
2905build_alias!$build_alias$ac_delim
2906host_alias!$host_alias$ac_delim
2907target_alias!$target_alias$ac_delim
2908INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
2909INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
2910INSTALL_DATA!$INSTALL_DATA$ac_delim
2911am__isrc!$am__isrc$ac_delim
2912CYGPATH_W!$CYGPATH_W$ac_delim
2913PACKAGE!$PACKAGE$ac_delim
2914VERSION!$VERSION$ac_delim
2915ACLOCAL!$ACLOCAL$ac_delim
2916AUTOCONF!$AUTOCONF$ac_delim
2917AUTOMAKE!$AUTOMAKE$ac_delim
2918AUTOHEADER!$AUTOHEADER$ac_delim
2919MAKEINFO!$MAKEINFO$ac_delim
2920install_sh!$install_sh$ac_delim
2921STRIP!$STRIP$ac_delim
2922INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
2923mkdir_p!$mkdir_p$ac_delim
2924AWK!$AWK$ac_delim
2925SET_MAKE!$SET_MAKE$ac_delim
2926am__leading_dot!$am__leading_dot$ac_delim
2927AMTAR!$AMTAR$ac_delim
2928am__tar!$am__tar$ac_delim
2929am__untar!$am__untar$ac_delim
2930MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
2931MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
2932MAINT!$MAINT$ac_delim
2933PERL!$PERL$ac_delim
2934LIBOBJS!$LIBOBJS$ac_delim
2935LTLIBOBJS!$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
2942echo "$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
2947done
2948
2949ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2950if test -n "$ac_eof"; then
2951  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2952  ac_eof=`expr $ac_eof + 1`
2953fi
2954
2955cat >>$CONFIG_STATUS <<_ACEOF
2956cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2957/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2958_ACEOF
2959sed '
2960s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2961s/^/s,@/; s/!/@,|#_!!_#|/
2962:n
2963t n
2964s/'"$ac_delim"'$/,g/; t
2965s/$/\\/; p
2966N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2967' >>$CONFIG_STATUS <conf$$subs.sed
2968rm -f conf$$subs.sed
2969cat >>$CONFIG_STATUS <<_ACEOF
2970:end
2971s/|#_!!_#|//g
2972CEOF$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).
2980if test "x$srcdir" = x.; then
2981  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
2982s/:*\$(srcdir):*/:/
2983s/:*\${srcdir}:*/:/
2984s/:*@srcdir@:*/:/
2985s/^\([^=]*=[	 ]*\):*/\1/
2986s/:*$//
2987s/^[^=]*=[	 ]*$//
2988}'
2989fi
2990
2991cat >>$CONFIG_STATUS <<\_ACEOF
2992fi # test -n "$CONFIG_FILES"
2993
2994
2995for ac_tag in  :F $CONFIG_FILES
2996do
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
3003echo "$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
3033echo "$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
3047echo "$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 ||
3061echo 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 ||
3096echo 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
3118echo "$as_me: error: cannot create directory $as_dir" >&2;}
3119   { (exit 1); exit 1; }; }; }
3120  ac_builddir=.
3121
3122case "$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 ;;
3132esac
3133ac_abs_top_builddir=$ac_pwd
3134ac_abs_builddir=$ac_pwd$ac_dir_suffix
3135# for backward compatibility:
3136ac_top_builddir=$ac_top_build_prefix
3137
3138case $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 ;;
3151esac
3152ac_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
3172cat >>$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.
3175ac_datarootdir_hack=; ac_datarootdir_seen=
3176
3177case `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
3190echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3191_ACEOF
3192cat >>$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' ;;
3200esac
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?
3206cat >>$CONFIG_STATUS <<_ACEOF
3207  sed "$ac_vpsub
3208$extrasub
3209_ACEOF
3210cat >>$CONFIG_STATUS <<\_ACEOF
3211:t
3212/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3213s&@configure_input@&$configure_input&;t t
3214s&@top_builddir@&$ac_top_builddir_sub&;t t
3215s&@srcdir@&$ac_srcdir&;t t
3216s&@abs_srcdir@&$ac_abs_srcdir&;t t
3217s&@top_srcdir@&$ac_top_srcdir&;t t
3218s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3219s&@builddir@&$ac_builddir&;t t
3220s&@abs_builddir@&$ac_abs_builddir&;t t
3221s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3222s&@INSTALL@&$ac_INSTALL&;t t
3223s&@MKDIR_P@&$ac_MKDIR_P&;t t
3224$ac_datarootdir_hack
3225" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3226
3227test -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'
3231which seems to be undefined.  Please make sure it is defined." >&5
3232echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3233which 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
3246done # for ac_tag
3247
3248
3249{ (exit 0); exit 0; }
3250_ACEOF
3251chmod +x $CONFIG_STATUS
3252ac_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.
3263if 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; }
3274fi
3275
3276
3277