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