Add new netstatus plugin ported from GNOME netstatus panel applet.
[lxde/lxpanel.git] / configure
CommitLineData
a52c2257
HJYP
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
66c88ea4 3# Generated by GNU Autoconf 2.60 for lxpanel 0.1.
a52c2257
HJYP
4#
5# Report bugs to <http://lxpanel.sourceforge.net/>.
6#
7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization. ##
13## --------------------- ##
14
15# Be Bourne compatible
16if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23else
24 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
25fi
26BIN_SH=xpg4; export BIN_SH # for Tru64
27DUALCASE=1; export DUALCASE # for MKS sh
28
29
30# PATH needs CR
31# Avoid depending upon Character Ranges.
32as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35as_cr_digits='0123456789'
36as_cr_alnum=$as_cr_Letters$as_cr_digits
37
38# The user is always right.
39if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
42 chmod +x conf$$.sh
43 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44 PATH_SEPARATOR=';'
45 else
46 PATH_SEPARATOR=:
47 fi
48 rm -f conf$$.sh
49fi
50
51# Support unset when possible.
52if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53 as_unset=unset
54else
55 as_unset=false
56fi
57
58
59# IFS
60# We need space, tab and new line, in precisely that order. Quoting is
61# there to prevent editors from complaining about space-tab.
62# (If _AS_PATH_WALK were called with IFS unset, it would disable word
63# splitting by setting IFS to empty value.)
64as_nl='
65'
66IFS=" "" $as_nl"
67
68# Find who we are. Look in the path if we contain no directory separator.
69case $0 in
70 *[\\/]* ) as_myself=$0 ;;
71 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72for as_dir in $PATH
73do
74 IFS=$as_save_IFS
75 test -z "$as_dir" && as_dir=.
76 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
77done
78IFS=$as_save_IFS
79
80 ;;
81esac
82# We did not find ourselves, most probably we were run as `sh COMMAND'
83# in which case we are not to be found in the path.
84if test "x$as_myself" = x; then
85 as_myself=$0
86fi
87if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
89 { (exit 1); exit 1; }
90fi
91
92# Work around bugs in pre-3.0 UWIN ksh.
93for as_var in ENV MAIL MAILPATH
94do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
95done
96PS1='$ '
97PS2='> '
98PS4='+ '
99
100# NLS nuisances.
101for as_var in \
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
104 LC_TELEPHONE LC_TIME
105do
106 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C; export $as_var
108 else
109 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
110 fi
111done
112
113# Required to use basename.
114if expr a : '\(a\)' >/dev/null 2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001; then
116 as_expr=expr
117else
118 as_expr=false
119fi
120
121if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
122 as_basename=basename
123else
124 as_basename=false
125fi
126
127
128# Name of the executable.
129as_me=`$as_basename -- "$0" ||
130$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
133echo X/"$0" |
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
135 s//\1/
136 q
137 }
138 /^X\/\(\/\/\)$/{
139 s//\1/
140 q
141 }
142 /^X\/\(\/\).*/{
143 s//\1/
144 q
145 }
146 s/.*/./; q'`
147
148# CDPATH.
149$as_unset CDPATH
150
151
152if test "x$CONFIG_SHELL" = x; then
153 if (eval ":") 2>/dev/null; then
154 as_have_required=yes
155else
156 as_have_required=no
157fi
158
159 if test $as_have_required = yes && (eval ":
160(as_func_return () {
161 (exit \$1)
162}
163as_func_success () {
164 as_func_return 0
165}
166as_func_failure () {
167 as_func_return 1
168}
169as_func_ret_success () {
170 return 0
171}
172as_func_ret_failure () {
173 return 1
174}
175
176exitcode=0
177if as_func_success; then
178 :
179else
180 exitcode=1
181 echo as_func_success failed.
182fi
183
184if as_func_failure; then
185 exitcode=1
186 echo as_func_failure succeeded.
187fi
188
189if as_func_ret_success; then
190 :
191else
192 exitcode=1
193 echo as_func_ret_success failed.
194fi
195
196if as_func_ret_failure; then
197 exitcode=1
198 echo as_func_ret_failure succeeded.
199fi
200
201if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
202 :
203else
204 exitcode=1
205 echo positional parameters were not saved.
206fi
207
208test \$exitcode = 0) || { (exit 1); exit 1; }
209
210(
211 as_lineno_1=\$LINENO
212 as_lineno_2=\$LINENO
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215") 2> /dev/null; then
216 :
217else
218 as_candidate_shells=
219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222 IFS=$as_save_IFS
223 test -z "$as_dir" && as_dir=.
224 case $as_dir in
225 /*)
226 for as_base in sh bash ksh sh5; do
227 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
228 done;;
229 esac
230done
231IFS=$as_save_IFS
232
233
234 for as_shell in $as_candidate_shells $SHELL; do
235 # Try only shells that exist, to save several forks.
236 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
237 { ("$as_shell") 2> /dev/null <<\_ASEOF
238# Be Bourne compatible
239if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240 emulate sh
241 NULLCMD=:
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
245 setopt NO_GLOB_SUBST
246else
247 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
248fi
249BIN_SH=xpg4; export BIN_SH # for Tru64
250DUALCASE=1; export DUALCASE # for MKS sh
251
252:
253_ASEOF
254}; then
255 CONFIG_SHELL=$as_shell
256 as_have_required=yes
257 if { "$as_shell" 2> /dev/null <<\_ASEOF
258# Be Bourne compatible
259if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260 emulate sh
261 NULLCMD=:
262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
265 setopt NO_GLOB_SUBST
266else
267 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
268fi
269BIN_SH=xpg4; export BIN_SH # for Tru64
270DUALCASE=1; export DUALCASE # for MKS sh
271
272:
273(as_func_return () {
274 (exit $1)
275}
276as_func_success () {
277 as_func_return 0
278}
279as_func_failure () {
280 as_func_return 1
281}
282as_func_ret_success () {
283 return 0
284}
285as_func_ret_failure () {
286 return 1
287}
288
289exitcode=0
290if as_func_success; then
291 :
292else
293 exitcode=1
294 echo as_func_success failed.
295fi
296
297if as_func_failure; then
298 exitcode=1
299 echo as_func_failure succeeded.
300fi
301
302if as_func_ret_success; then
303 :
304else
305 exitcode=1
306 echo as_func_ret_success failed.
307fi
308
309if as_func_ret_failure; then
310 exitcode=1
311 echo as_func_ret_failure succeeded.
312fi
313
314if ( set x; as_func_ret_success y && test x = "$1" ); then
315 :
316else
317 exitcode=1
318 echo positional parameters were not saved.
319fi
320
321test $exitcode = 0) || { (exit 1); exit 1; }
322
323(
324 as_lineno_1=$LINENO
325 as_lineno_2=$LINENO
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
328
329_ASEOF
330}; then
331 break
332fi
333
334fi
335
336 done
337
338 if test "x$CONFIG_SHELL" != x; then
339 for as_var in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
341 done
342 export CONFIG_SHELL
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
344fi
345
346
347 if test $as_have_required = no; then
348 echo This script requires a shell more modern than all the
349 echo shells that I found on your system. Please install a
350 echo modern shell, or manually run the script under such a
351 echo shell if you do have one.
352 { (exit 1); exit 1; }
353fi
354
355
356fi
357
358fi
359
360
361
362(eval "as_func_return () {
363 (exit \$1)
364}
365as_func_success () {
366 as_func_return 0
367}
368as_func_failure () {
369 as_func_return 1
370}
371as_func_ret_success () {
372 return 0
373}
374as_func_ret_failure () {
375 return 1
376}
377
378exitcode=0
379if as_func_success; then
380 :
381else
382 exitcode=1
383 echo as_func_success failed.
384fi
385
386if as_func_failure; then
387 exitcode=1
388 echo as_func_failure succeeded.
389fi
390
391if as_func_ret_success; then
392 :
393else
394 exitcode=1
395 echo as_func_ret_success failed.
396fi
397
398if as_func_ret_failure; then
399 exitcode=1
400 echo as_func_ret_failure succeeded.
401fi
402
403if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
404 :
405else
406 exitcode=1
407 echo positional parameters were not saved.
408fi
409
410test \$exitcode = 0") || {
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system,
413 echo including any error possibly output before this
414 echo message
415}
416
417
418
419 as_lineno_1=$LINENO
420 as_lineno_2=$LINENO
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
423
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
430 # case at line end.
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
434 sed -n '
435 p
436 /[$]LINENO/=
437 ' <$as_myself |
438 sed '
439 s/[$]LINENO.*/&-/
440 t lineno
441 b
442 :lineno
443 N
444 :loop
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
446 t loop
447 s/-\n.*//
448 ' >$as_me.lineno &&
449 chmod +x "$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); exit 1; }; }
452
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
456 . "./$as_me.lineno"
457 # Exit status is that of the last command.
458 exit
459}
460
461
462if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
463 as_dirname=dirname
464else
465 as_dirname=false
466fi
467
468ECHO_C= ECHO_N= ECHO_T=
469case `echo -n x` in
470-n*)
471 case `echo 'x\c'` in
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
473 *) ECHO_C='\c';;
474 esac;;
475*)
476 ECHO_N='-n';;
477esac
478
479if expr a : '\(a\)' >/dev/null 2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001; then
481 as_expr=expr
482else
483 as_expr=false
484fi
485
486rm -f conf$$ conf$$.exe conf$$.file
487if test -d conf$$.dir; then
488 rm -f conf$$.dir/conf$$.file
489else
490 rm -f conf$$.dir
491 mkdir conf$$.dir
492fi
493echo >conf$$.file
494if ln -s conf$$.file conf$$ 2>/dev/null; then
495 as_ln_s='ln -s'
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 as_ln_s='cp -p'
502elif ln conf$$.file conf$$ 2>/dev/null; then
503 as_ln_s=ln
504else
505 as_ln_s='cp -p'
506fi
507rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
508rmdir conf$$.dir 2>/dev/null
509
510if mkdir -p . 2>/dev/null; then
511 as_mkdir_p=:
512else
513 test -d ./-p && rmdir ./-p
514 as_mkdir_p=false
515fi
516
517# Find out whether ``test -x'' works. Don't use a zero-byte file, as
518# systems may use methods other than mode bits to determine executability.
519cat >conf$$.file <<_ASEOF
520#! /bin/sh
521exit 0
522_ASEOF
523chmod +x conf$$.file
524if test -x conf$$.file >/dev/null 2>&1; then
525 as_executable_p="test -x"
526else
527 as_executable_p=:
528fi
529rm -f conf$$.file
530
531# Sed expression to map a string onto a valid CPP name.
532as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533
534# Sed expression to map a string onto a valid variable name.
535as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
536
537
538
539exec 7<&0 </dev/null 6>&1
540
541# Name of the host.
542# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543# so uname gets run too.
544ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545
546#
547# Initializations.
548#
549ac_default_prefix=/usr/local
550ac_clean_files=
551ac_config_libobj_dir=.
552LIBOBJS=
553cross_compiling=no
554subdirs=
555MFLAGS=
556MAKEFLAGS=
557SHELL=${CONFIG_SHELL-/bin/sh}
558
559# Identity of this package.
560PACKAGE_NAME='lxpanel'
561PACKAGE_TARNAME='lxpanel'
562PACKAGE_VERSION='0.1'
563PACKAGE_STRING='lxpanel 0.1'
564PACKAGE_BUGREPORT='http://lxpanel.sourceforge.net/'
565
566ac_unique_file="src/bg.c"
567# Factoring default headers for most tests.
568ac_includes_default="\
569#include <stdio.h>
66c88ea4 570#if HAVE_SYS_TYPES_H
a52c2257
HJYP
571# include <sys/types.h>
572#endif
66c88ea4 573#if HAVE_SYS_STAT_H
a52c2257
HJYP
574# include <sys/stat.h>
575#endif
66c88ea4 576#if STDC_HEADERS
a52c2257
HJYP
577# include <stdlib.h>
578# include <stddef.h>
579#else
66c88ea4 580# if HAVE_STDLIB_H
a52c2257
HJYP
581# include <stdlib.h>
582# endif
583#endif
66c88ea4
HJYP
584#if HAVE_STRING_H
585# if !STDC_HEADERS && HAVE_MEMORY_H
a52c2257
HJYP
586# include <memory.h>
587# endif
588# include <string.h>
589#endif
66c88ea4 590#if HAVE_STRINGS_H
a52c2257
HJYP
591# include <strings.h>
592#endif
66c88ea4 593#if HAVE_INTTYPES_H
a52c2257
HJYP
594# include <inttypes.h>
595#endif
66c88ea4 596#if HAVE_STDINT_H
a52c2257
HJYP
597# include <stdint.h>
598#endif
66c88ea4 599#if HAVE_UNISTD_H
a52c2257
HJYP
600# include <unistd.h>
601#endif"
602
603ac_subst_vars='SHELL
604PATH_SEPARATOR
605PACKAGE_NAME
606PACKAGE_TARNAME
607PACKAGE_VERSION
608PACKAGE_STRING
609PACKAGE_BUGREPORT
610exec_prefix
611prefix
612program_transform_name
613bindir
614sbindir
615libexecdir
616datarootdir
617datadir
618sysconfdir
619sharedstatedir
620localstatedir
621includedir
622oldincludedir
623docdir
624infodir
625htmldir
626dvidir
627pdfdir
628psdir
629libdir
630localedir
631mandir
632DEFS
633ECHO_C
634ECHO_N
635ECHO_T
636LIBS
637build_alias
638host_alias
639target_alias
640INSTALL_PROGRAM
641INSTALL_SCRIPT
642INSTALL_DATA
643CYGPATH_W
644PACKAGE
645VERSION
646ACLOCAL
647AUTOCONF
648AUTOMAKE
649AUTOHEADER
650MAKEINFO
651install_sh
652STRIP
653INSTALL_STRIP_PROGRAM
654mkdir_p
655AWK
656SET_MAKE
657am__leading_dot
658AMTAR
659am__tar
660am__untar
661CC
662CFLAGS
663LDFLAGS
664CPPFLAGS
665ac_ct_CC
666EXEEXT
667OBJEXT
668DEPDIR
669am__include
670am__quote
671AMDEP_TRUE
672AMDEP_FALSE
673AMDEPBACKSLASH
674CCDEPMODE
675am__fastdepCC_TRUE
676am__fastdepCC_FALSE
677LN_S
678INTLTOOL_DESKTOP_RULE
679INTLTOOL_DIRECTORY_RULE
680INTLTOOL_KEYS_RULE
681INTLTOOL_PROP_RULE
682INTLTOOL_OAF_RULE
683INTLTOOL_PONG_RULE
684INTLTOOL_SERVER_RULE
685INTLTOOL_SHEET_RULE
686INTLTOOL_SOUNDLIST_RULE
687INTLTOOL_UI_RULE
688INTLTOOL_XAM_RULE
689INTLTOOL_KBD_RULE
690INTLTOOL_XML_RULE
691INTLTOOL_XML_NOMERGE_RULE
692INTLTOOL_CAVES_RULE
693INTLTOOL_SCHEMAS_RULE
694INTLTOOL_THEME_RULE
695INTLTOOL_SERVICE_RULE
696INTLTOOL_EXTRACT
697INTLTOOL_MERGE
698INTLTOOL_UPDATE
699INTLTOOL_PERL
700INTLTOOL_ICONV
701INTLTOOL_MSGFMT
702INTLTOOL_MSGMERGE
703INTLTOOL_XGETTEXT
704ALL_LINGUAS
705PKG_CONFIG
706PACKAGE_CFLAGS
707PACKAGE_LIBS
708XMKMF
709CPP
710GREP
711EGREP
712LIBOBJS
66c88ea4 713MKINSTALLDIRS
a52c2257
HJYP
714USE_NLS
715MSGFMT
716GMSGFMT
a52c2257 717XGETTEXT
a52c2257
HJYP
718MSGMERGE
719build
720build_cpu
721build_vendor
722build_os
723host
724host_cpu
725host_vendor
726host_os
727INTL_MACOSX_LIBS
728LIBICONV
729LTLIBICONV
730INTLLIBS
731LIBINTL
732LTLIBINTL
733POSUB
734GETTEXT_PACKAGE
735CATALOGS
736CATOBJEXT
737DATADIRNAME
738GMOFILES
739INSTOBJEXT
740PO_IN_DATADIR_TRUE
741PO_IN_DATADIR_FALSE
742POFILES
a52c2257
HJYP
743LTLIBOBJS'
744ac_subst_files=''
745 ac_precious_vars='build_alias
746host_alias
747target_alias
748CC
749CFLAGS
750LDFLAGS
751CPPFLAGS
752PKG_CONFIG
753PACKAGE_CFLAGS
754PACKAGE_LIBS
755XMKMF
756CPP'
757
758
759# Initialize some variables set by options.
760ac_init_help=
761ac_init_version=false
762# The variables have the same names as the options, with
763# dashes changed to underlines.
764cache_file=/dev/null
765exec_prefix=NONE
766no_create=
767no_recursion=
768prefix=NONE
769program_prefix=NONE
770program_suffix=NONE
771program_transform_name=s,x,x,
772silent=
773site=
774srcdir=
775verbose=
776x_includes=NONE
777x_libraries=NONE
778
779# Installation directory options.
780# These are left unexpanded so users can "make install exec_prefix=/foo"
781# and all the variables that are supposed to be based on exec_prefix
782# by default will actually change.
783# Use braces instead of parens because sh, perl, etc. also accept them.
784# (The list follows the same order as the GNU Coding Standards.)
785bindir='${exec_prefix}/bin'
786sbindir='${exec_prefix}/sbin'
787libexecdir='${exec_prefix}/libexec'
788datarootdir='${prefix}/share'
789datadir='${datarootdir}'
790sysconfdir='${prefix}/etc'
791sharedstatedir='${prefix}/com'
792localstatedir='${prefix}/var'
793includedir='${prefix}/include'
794oldincludedir='/usr/include'
795docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
796infodir='${datarootdir}/info'
797htmldir='${docdir}'
798dvidir='${docdir}'
799pdfdir='${docdir}'
800psdir='${docdir}'
801libdir='${exec_prefix}/lib'
802localedir='${datarootdir}/locale'
803mandir='${datarootdir}/man'
804
805ac_prev=
806ac_dashdash=
807for ac_option
808do
809 # If the previous option needs an argument, assign it.
810 if test -n "$ac_prev"; then
811 eval $ac_prev=\$ac_option
812 ac_prev=
813 continue
814 fi
815
816 case $ac_option in
817 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
818 *) ac_optarg=yes ;;
819 esac
820
821 # Accept the important Cygnus configure options, so we can diagnose typos.
822
823 case $ac_dashdash$ac_option in
824 --)
825 ac_dashdash=yes ;;
826
827 -bindir | --bindir | --bindi | --bind | --bin | --bi)
828 ac_prev=bindir ;;
829 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
830 bindir=$ac_optarg ;;
831
832 -build | --build | --buil | --bui | --bu)
833 ac_prev=build_alias ;;
834 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
835 build_alias=$ac_optarg ;;
836
837 -cache-file | --cache-file | --cache-fil | --cache-fi \
838 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
839 ac_prev=cache_file ;;
840 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
841 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
842 cache_file=$ac_optarg ;;
843
844 --config-cache | -C)
845 cache_file=config.cache ;;
846
847 -datadir | --datadir | --datadi | --datad)
848 ac_prev=datadir ;;
849 -datadir=* | --datadir=* | --datadi=* | --datad=*)
850 datadir=$ac_optarg ;;
851
852 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
853 | --dataroo | --dataro | --datar)
854 ac_prev=datarootdir ;;
855 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
856 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
857 datarootdir=$ac_optarg ;;
858
859 -disable-* | --disable-*)
860 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
861 # Reject names that are not valid shell variable names.
862 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
863 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
864 { (exit 1); exit 1; }; }
865 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
866 eval enable_$ac_feature=no ;;
867
868 -docdir | --docdir | --docdi | --doc | --do)
869 ac_prev=docdir ;;
870 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
871 docdir=$ac_optarg ;;
872
873 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
874 ac_prev=dvidir ;;
875 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
876 dvidir=$ac_optarg ;;
877
878 -enable-* | --enable-*)
879 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
880 # Reject names that are not valid shell variable names.
881 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
882 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
883 { (exit 1); exit 1; }; }
884 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
885 eval enable_$ac_feature=\$ac_optarg ;;
886
887 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
888 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
889 | --exec | --exe | --ex)
890 ac_prev=exec_prefix ;;
891 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
892 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
893 | --exec=* | --exe=* | --ex=*)
894 exec_prefix=$ac_optarg ;;
895
896 -gas | --gas | --ga | --g)
897 # Obsolete; use --with-gas.
898 with_gas=yes ;;
899
900 -help | --help | --hel | --he | -h)
901 ac_init_help=long ;;
902 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
903 ac_init_help=recursive ;;
904 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
905 ac_init_help=short ;;
906
907 -host | --host | --hos | --ho)
908 ac_prev=host_alias ;;
909 -host=* | --host=* | --hos=* | --ho=*)
910 host_alias=$ac_optarg ;;
911
912 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
913 ac_prev=htmldir ;;
914 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
915 | --ht=*)
916 htmldir=$ac_optarg ;;
917
918 -includedir | --includedir | --includedi | --included | --include \
919 | --includ | --inclu | --incl | --inc)
920 ac_prev=includedir ;;
921 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
922 | --includ=* | --inclu=* | --incl=* | --inc=*)
923 includedir=$ac_optarg ;;
924
925 -infodir | --infodir | --infodi | --infod | --info | --inf)
926 ac_prev=infodir ;;
927 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
928 infodir=$ac_optarg ;;
929
930 -libdir | --libdir | --libdi | --libd)
931 ac_prev=libdir ;;
932 -libdir=* | --libdir=* | --libdi=* | --libd=*)
933 libdir=$ac_optarg ;;
934
935 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
936 | --libexe | --libex | --libe)
937 ac_prev=libexecdir ;;
938 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
939 | --libexe=* | --libex=* | --libe=*)
940 libexecdir=$ac_optarg ;;
941
942 -localedir | --localedir | --localedi | --localed | --locale)
943 ac_prev=localedir ;;
944 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
945 localedir=$ac_optarg ;;
946
947 -localstatedir | --localstatedir | --localstatedi | --localstated \
948 | --localstate | --localstat | --localsta | --localst | --locals)
949 ac_prev=localstatedir ;;
950 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
951 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
952 localstatedir=$ac_optarg ;;
953
954 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
955 ac_prev=mandir ;;
956 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
957 mandir=$ac_optarg ;;
958
959 -nfp | --nfp | --nf)
960 # Obsolete; use --without-fp.
961 with_fp=no ;;
962
963 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
964 | --no-cr | --no-c | -n)
965 no_create=yes ;;
966
967 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
968 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
969 no_recursion=yes ;;
970
971 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
972 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
973 | --oldin | --oldi | --old | --ol | --o)
974 ac_prev=oldincludedir ;;
975 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
976 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
977 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
978 oldincludedir=$ac_optarg ;;
979
980 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
981 ac_prev=prefix ;;
982 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
983 prefix=$ac_optarg ;;
984
985 -program-prefix | --program-prefix | --program-prefi | --program-pref \
986 | --program-pre | --program-pr | --program-p)
987 ac_prev=program_prefix ;;
988 -program-prefix=* | --program-prefix=* | --program-prefi=* \
989 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
990 program_prefix=$ac_optarg ;;
991
992 -program-suffix | --program-suffix | --program-suffi | --program-suff \
993 | --program-suf | --program-su | --program-s)
994 ac_prev=program_suffix ;;
995 -program-suffix=* | --program-suffix=* | --program-suffi=* \
996 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
997 program_suffix=$ac_optarg ;;
998
999 -program-transform-name | --program-transform-name \
1000 | --program-transform-nam | --program-transform-na \
1001 | --program-transform-n | --program-transform- \
1002 | --program-transform | --program-transfor \
1003 | --program-transfo | --program-transf \
1004 | --program-trans | --program-tran \
1005 | --progr-tra | --program-tr | --program-t)
1006 ac_prev=program_transform_name ;;
1007 -program-transform-name=* | --program-transform-name=* \
1008 | --program-transform-nam=* | --program-transform-na=* \
1009 | --program-transform-n=* | --program-transform-=* \
1010 | --program-transform=* | --program-transfor=* \
1011 | --program-transfo=* | --program-transf=* \
1012 | --program-trans=* | --program-tran=* \
1013 | --progr-tra=* | --program-tr=* | --program-t=*)
1014 program_transform_name=$ac_optarg ;;
1015
1016 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1017 ac_prev=pdfdir ;;
1018 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1019 pdfdir=$ac_optarg ;;
1020
1021 -psdir | --psdir | --psdi | --psd | --ps)
1022 ac_prev=psdir ;;
1023 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1024 psdir=$ac_optarg ;;
1025
1026 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1027 | -silent | --silent | --silen | --sile | --sil)
1028 silent=yes ;;
1029
1030 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1031 ac_prev=sbindir ;;
1032 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1033 | --sbi=* | --sb=*)
1034 sbindir=$ac_optarg ;;
1035
1036 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1037 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1038 | --sharedst | --shareds | --shared | --share | --shar \
1039 | --sha | --sh)
1040 ac_prev=sharedstatedir ;;
1041 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1042 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1043 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1044 | --sha=* | --sh=*)
1045 sharedstatedir=$ac_optarg ;;
1046
1047 -site | --site | --sit)
1048 ac_prev=site ;;
1049 -site=* | --site=* | --sit=*)
1050 site=$ac_optarg ;;
1051
1052 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1053 ac_prev=srcdir ;;
1054 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1055 srcdir=$ac_optarg ;;
1056
1057 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1058 | --syscon | --sysco | --sysc | --sys | --sy)
1059 ac_prev=sysconfdir ;;
1060 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1061 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1062 sysconfdir=$ac_optarg ;;
1063
1064 -target | --target | --targe | --targ | --tar | --ta | --t)
1065 ac_prev=target_alias ;;
1066 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1067 target_alias=$ac_optarg ;;
1068
1069 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1070 verbose=yes ;;
1071
1072 -version | --version | --versio | --versi | --vers | -V)
1073 ac_init_version=: ;;
1074
1075 -with-* | --with-*)
1076 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1077 # Reject names that are not valid shell variable names.
1078 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1079 { echo "$as_me: error: invalid package name: $ac_package" >&2
1080 { (exit 1); exit 1; }; }
1081 ac_package=`echo $ac_package| sed 's/-/_/g'`
1082 eval with_$ac_package=\$ac_optarg ;;
1083
1084 -without-* | --without-*)
1085 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1086 # Reject names that are not valid shell variable names.
1087 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1088 { echo "$as_me: error: invalid package name: $ac_package" >&2
1089 { (exit 1); exit 1; }; }
1090 ac_package=`echo $ac_package | sed 's/-/_/g'`
1091 eval with_$ac_package=no ;;
1092
1093 --x)
1094 # Obsolete; use --with-x.
1095 with_x=yes ;;
1096
1097 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1098 | --x-incl | --x-inc | --x-in | --x-i)
1099 ac_prev=x_includes ;;
1100 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1101 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1102 x_includes=$ac_optarg ;;
1103
1104 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1105 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1106 ac_prev=x_libraries ;;
1107 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1108 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1109 x_libraries=$ac_optarg ;;
1110
1111 -*) { echo "$as_me: error: unrecognized option: $ac_option
1112Try \`$0 --help' for more information." >&2
1113 { (exit 1); exit 1; }; }
1114 ;;
1115
1116 *=*)
1117 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1120 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1121 { (exit 1); exit 1; }; }
1122 eval $ac_envvar=\$ac_optarg
1123 export $ac_envvar ;;
1124
1125 *)
1126 # FIXME: should be removed in autoconf 3.0.
1127 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1128 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1129 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1130 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1131 ;;
1132
1133 esac
1134done
1135
1136if test -n "$ac_prev"; then
1137 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1138 { echo "$as_me: error: missing argument to $ac_option" >&2
1139 { (exit 1); exit 1; }; }
1140fi
1141
1142# Be sure to have absolute directory names.
1143for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1144 datadir sysconfdir sharedstatedir localstatedir includedir \
1145 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1146 libdir localedir mandir
1147do
1148 eval ac_val=\$$ac_var
1149 case $ac_val in
1150 [\\/$]* | ?:[\\/]* ) continue;;
1151 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1152 esac
1153 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1154 { (exit 1); exit 1; }; }
1155done
1156
1157# There might be people who depend on the old broken behavior: `$host'
1158# used to hold the argument of --host etc.
1159# FIXME: To remove some day.
1160build=$build_alias
1161host=$host_alias
1162target=$target_alias
1163
1164# FIXME: To remove some day.
1165if test "x$host_alias" != x; then
1166 if test "x$build_alias" = x; then
1167 cross_compiling=maybe
1168 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1169 If a cross compiler is detected then cross compile mode will be used." >&2
1170 elif test "x$build_alias" != "x$host_alias"; then
1171 cross_compiling=yes
1172 fi
1173fi
1174
1175ac_tool_prefix=
1176test -n "$host_alias" && ac_tool_prefix=$host_alias-
1177
1178test "$silent" = yes && exec 6>/dev/null
1179
1180
1181ac_pwd=`pwd` && test -n "$ac_pwd" &&
1182ac_ls_di=`ls -di .` &&
1183ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1184 { echo "$as_me: error: Working directory cannot be determined" >&2
1185 { (exit 1); exit 1; }; }
1186test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1187 { echo "$as_me: error: pwd does not report name of working directory" >&2
1188 { (exit 1); exit 1; }; }
1189
1190
1191# Find the source files, if location was not specified.
1192if test -z "$srcdir"; then
1193 ac_srcdir_defaulted=yes
1194 # Try the directory containing this script, then the parent directory.
1195 ac_confdir=`$as_dirname -- "$0" ||
1196$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1197 X"$0" : 'X\(//\)[^/]' \| \
1198 X"$0" : 'X\(//\)$' \| \
1199 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1200echo X"$0" |
1201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1202 s//\1/
1203 q
1204 }
1205 /^X\(\/\/\)[^/].*/{
1206 s//\1/
1207 q
1208 }
1209 /^X\(\/\/\)$/{
1210 s//\1/
1211 q
1212 }
1213 /^X\(\/\).*/{
1214 s//\1/
1215 q
1216 }
1217 s/.*/./; q'`
1218 srcdir=$ac_confdir
1219 if test ! -r "$srcdir/$ac_unique_file"; then
1220 srcdir=..
1221 fi
1222else
1223 ac_srcdir_defaulted=no
1224fi
1225if test ! -r "$srcdir/$ac_unique_file"; then
1226 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1227 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1228 { (exit 1); exit 1; }; }
1229fi
1230ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1231ac_abs_confdir=`(
1232 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1233 { (exit 1); exit 1; }; }
1234 pwd)`
1235# When building in place, set srcdir=.
1236if test "$ac_abs_confdir" = "$ac_pwd"; then
1237 srcdir=.
1238fi
1239# Remove unnecessary trailing slashes from srcdir.
1240# Double slashes in file names in object file debugging info
1241# mess up M-x gdb in Emacs.
1242case $srcdir in
1243*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1244esac
1245for ac_var in $ac_precious_vars; do
1246 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1247 eval ac_env_${ac_var}_value=\$${ac_var}
1248 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1249 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1250done
1251
1252#
1253# Report the --help message.
1254#
1255if test "$ac_init_help" = "long"; then
1256 # Omit some internal or obsolete options to make the list less imposing.
1257 # This message is too long to be a string in the A/UX 3.1 sh.
1258 cat <<_ACEOF
1259\`configure' configures lxpanel 0.1 to adapt to many kinds of systems.
1260
1261Usage: $0 [OPTION]... [VAR=VALUE]...
1262
1263To assign environment variables (e.g., CC, CFLAGS...), specify them as
1264VAR=VALUE. See below for descriptions of some of the useful variables.
1265
1266Defaults for the options are specified in brackets.
1267
1268Configuration:
1269 -h, --help display this help and exit
1270 --help=short display options specific to this package
1271 --help=recursive display the short help of all the included packages
1272 -V, --version display version information and exit
1273 -q, --quiet, --silent do not print \`checking...' messages
1274 --cache-file=FILE cache test results in FILE [disabled]
1275 -C, --config-cache alias for \`--cache-file=config.cache'
1276 -n, --no-create do not create output files
1277 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1278
1279Installation directories:
1280 --prefix=PREFIX install architecture-independent files in PREFIX
1281 [$ac_default_prefix]
1282 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1283 [PREFIX]
1284
1285By default, \`make install' will install all the files in
1286\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1287an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1288for instance \`--prefix=\$HOME'.
1289
1290For better control, use the options below.
1291
1292Fine tuning of the installation directories:
1293 --bindir=DIR user executables [EPREFIX/bin]
1294 --sbindir=DIR system admin executables [EPREFIX/sbin]
1295 --libexecdir=DIR program executables [EPREFIX/libexec]
1296 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1297 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1298 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1299 --libdir=DIR object code libraries [EPREFIX/lib]
1300 --includedir=DIR C header files [PREFIX/include]
1301 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1302 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1303 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1304 --infodir=DIR info documentation [DATAROOTDIR/info]
1305 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1306 --mandir=DIR man documentation [DATAROOTDIR/man]
1307 --docdir=DIR documentation root [DATAROOTDIR/doc/lxpanel]
1308 --htmldir=DIR html documentation [DOCDIR]
1309 --dvidir=DIR dvi documentation [DOCDIR]
1310 --pdfdir=DIR pdf documentation [DOCDIR]
1311 --psdir=DIR ps documentation [DOCDIR]
1312_ACEOF
1313
1314 cat <<\_ACEOF
1315
1316Program names:
1317 --program-prefix=PREFIX prepend PREFIX to installed program names
1318 --program-suffix=SUFFIX append SUFFIX to installed program names
1319 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1320
1321X features:
1322 --x-includes=DIR X include files are in DIR
1323 --x-libraries=DIR X library files are in DIR
1324
1325System types:
1326 --build=BUILD configure for building on BUILD [guessed]
1327 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1328_ACEOF
1329fi
1330
1331if test -n "$ac_init_help"; then
1332 case $ac_init_help in
1333 short | recursive ) echo "Configuration of lxpanel 0.1:";;
1334 esac
1335 cat <<\_ACEOF
1336
1337Optional Features:
1338 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1339 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1340 --disable-dependency-tracking speeds up one-time build
1341 --enable-dependency-tracking do not reject slow dependency extractors
1342 --disable-nls do not use Native Language Support
1343 --disable-rpath do not hardcode runtime library paths
1344
1345Optional Packages:
1346 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1347 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1348 --with-x use the X Window System
1349 --with-gnu-ld assume the C compiler uses GNU ld default=no
1350 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1351 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1352 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1353 --without-libintl-prefix don't search for libintl in includedir and libdir
1354
1355Some influential environment variables:
1356 CC C compiler command
1357 CFLAGS C compiler flags
1358 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1359 nonstandard directory <lib dir>
1360 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1361 you have headers in a nonstandard directory <include dir>
1362 PKG_CONFIG path to pkg-config utility
1363 PACKAGE_CFLAGS
1364 C compiler flags for PACKAGE, overriding pkg-config
1365 PACKAGE_LIBS
1366 linker flags for PACKAGE, overriding pkg-config
1367 XMKMF Path to xmkmf, Makefile generator for X Window System
1368 CPP C preprocessor
1369
1370Use these variables to override the choices made by `configure' or to help
1371it to find libraries and programs with nonstandard names/locations.
1372
1373Report bugs to <http://lxpanel.sourceforge.net/>.
1374_ACEOF
1375ac_status=$?
1376fi
1377
1378if test "$ac_init_help" = "recursive"; then
1379 # If there are subdirs, report their specific --help.
1380 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1381 test -d "$ac_dir" || continue
1382 ac_builddir=.
1383
1384case "$ac_dir" in
1385.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1386*)
1387 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1388 # A ".." for each directory in $ac_dir_suffix.
1389 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1390 case $ac_top_builddir_sub in
1391 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1392 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1393 esac ;;
1394esac
1395ac_abs_top_builddir=$ac_pwd
1396ac_abs_builddir=$ac_pwd$ac_dir_suffix
1397# for backward compatibility:
1398ac_top_builddir=$ac_top_build_prefix
1399
1400case $srcdir in
1401 .) # We are building in place.
1402 ac_srcdir=.
1403 ac_top_srcdir=$ac_top_builddir_sub
1404 ac_abs_top_srcdir=$ac_pwd ;;
1405 [\\/]* | ?:[\\/]* ) # Absolute name.
1406 ac_srcdir=$srcdir$ac_dir_suffix;
1407 ac_top_srcdir=$srcdir
1408 ac_abs_top_srcdir=$srcdir ;;
1409 *) # Relative name.
1410 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1411 ac_top_srcdir=$ac_top_build_prefix$srcdir
1412 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1413esac
1414ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1415
1416 cd "$ac_dir" || { ac_status=$?; continue; }
1417 # Check for guested configure.
1418 if test -f "$ac_srcdir/configure.gnu"; then
1419 echo &&
1420 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1421 elif test -f "$ac_srcdir/configure"; then
1422 echo &&
1423 $SHELL "$ac_srcdir/configure" --help=recursive
1424 else
1425 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1426 fi || ac_status=$?
1427 cd "$ac_pwd" || { ac_status=$?; break; }
1428 done
1429fi
1430
1431test -n "$ac_init_help" && exit $ac_status
1432if $ac_init_version; then
1433 cat <<\_ACEOF
1434lxpanel configure 0.1
66c88ea4 1435generated by GNU Autoconf 2.60
a52c2257
HJYP
1436
1437Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
14382002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1439This configure script is free software; the Free Software Foundation
1440gives unlimited permission to copy, distribute and modify it.
1441_ACEOF
1442 exit
1443fi
1444cat >config.log <<_ACEOF
1445This file contains any messages produced by compilers while
1446running configure, to aid debugging if configure makes a mistake.
1447
1448It was created by lxpanel $as_me 0.1, which was
66c88ea4 1449generated by GNU Autoconf 2.60. Invocation command line was
a52c2257
HJYP
1450
1451 $ $0 $@
1452
1453_ACEOF
1454exec 5>>config.log
1455{
1456cat <<_ASUNAME
1457## --------- ##
1458## Platform. ##
1459## --------- ##
1460
1461hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1462uname -m = `(uname -m) 2>/dev/null || echo unknown`
1463uname -r = `(uname -r) 2>/dev/null || echo unknown`
1464uname -s = `(uname -s) 2>/dev/null || echo unknown`
1465uname -v = `(uname -v) 2>/dev/null || echo unknown`
1466
1467/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1468/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1469
1470/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1471/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1472/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1473/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1474/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1475/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1476/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1477
1478_ASUNAME
1479
1480as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1481for as_dir in $PATH
1482do
1483 IFS=$as_save_IFS
1484 test -z "$as_dir" && as_dir=.
1485 echo "PATH: $as_dir"
1486done
1487IFS=$as_save_IFS
1488
1489} >&5
1490
1491cat >&5 <<_ACEOF
1492
1493
1494## ----------- ##
1495## Core tests. ##
1496## ----------- ##
1497
1498_ACEOF
1499
1500
1501# Keep a trace of the command line.
1502# Strip out --no-create and --no-recursion so they do not pile up.
1503# Strip out --silent because we don't want to record it for future runs.
1504# Also quote any args containing shell meta-characters.
1505# Make two passes to allow for proper duplicate-argument suppression.
1506ac_configure_args=
1507ac_configure_args0=
1508ac_configure_args1=
1509ac_must_keep_next=false
1510for ac_pass in 1 2
1511do
1512 for ac_arg
1513 do
1514 case $ac_arg in
1515 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1516 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1517 | -silent | --silent | --silen | --sile | --sil)
1518 continue ;;
1519 *\'*)
1520 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1521 esac
1522 case $ac_pass in
1523 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1524 2)
1525 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1526 if test $ac_must_keep_next = true; then
1527 ac_must_keep_next=false # Got value, back to normal.
1528 else
1529 case $ac_arg in
1530 *=* | --config-cache | -C | -disable-* | --disable-* \
1531 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1532 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1533 | -with-* | --with-* | -without-* | --without-* | --x)
1534 case "$ac_configure_args0 " in
1535 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1536 esac
1537 ;;
1538 -* ) ac_must_keep_next=true ;;
1539 esac
1540 fi
1541 ac_configure_args="$ac_configure_args '$ac_arg'"
1542 ;;
1543 esac
1544 done
1545done
1546$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1547$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1548
1549# When interrupted or exit'd, cleanup temporary files, and complete
1550# config.log. We remove comments because anyway the quotes in there
1551# would cause problems or look ugly.
1552# WARNING: Use '\'' to represent an apostrophe within the trap.
1553# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1554trap 'exit_status=$?
1555 # Save into config.log some information that might help in debugging.
1556 {
1557 echo
1558
1559 cat <<\_ASBOX
1560## ---------------- ##
1561## Cache variables. ##
1562## ---------------- ##
1563_ASBOX
1564 echo
1565 # The following way of writing the cache mishandles newlines in values,
1566(
1567 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1568 eval ac_val=\$$ac_var
1569 case $ac_val in #(
1570 *${as_nl}*)
1571 case $ac_var in #(
1572 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1573echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1574 esac
1575 case $ac_var in #(
1576 _ | IFS | as_nl) ;; #(
1577 *) $as_unset $ac_var ;;
1578 esac ;;
1579 esac
1580 done
1581 (set) 2>&1 |
1582 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1583 *${as_nl}ac_space=\ *)
1584 sed -n \
1585 "s/'\''/'\''\\\\'\'''\''/g;
1586 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1587 ;; #(
1588 *)
1589 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1590 ;;
1591 esac |
1592 sort
1593)
1594 echo
1595
1596 cat <<\_ASBOX
1597## ----------------- ##
1598## Output variables. ##
1599## ----------------- ##
1600_ASBOX
1601 echo
1602 for ac_var in $ac_subst_vars
1603 do
1604 eval ac_val=\$$ac_var
1605 case $ac_val in
1606 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1607 esac
1608 echo "$ac_var='\''$ac_val'\''"
1609 done | sort
1610 echo
1611
1612 if test -n "$ac_subst_files"; then
1613 cat <<\_ASBOX
1614## ------------------- ##
1615## File substitutions. ##
1616## ------------------- ##
1617_ASBOX
1618 echo
1619 for ac_var in $ac_subst_files
1620 do
1621 eval ac_val=\$$ac_var
1622 case $ac_val in
1623 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1624 esac
1625 echo "$ac_var='\''$ac_val'\''"
1626 done | sort
1627 echo
1628 fi
1629
1630 if test -s confdefs.h; then
1631 cat <<\_ASBOX
1632## ----------- ##
1633## confdefs.h. ##
1634## ----------- ##
1635_ASBOX
1636 echo
1637 cat confdefs.h
1638 echo
1639 fi
1640 test "$ac_signal" != 0 &&
1641 echo "$as_me: caught signal $ac_signal"
1642 echo "$as_me: exit $exit_status"
1643 } >&5
1644 rm -f core *.core core.conftest.* &&
1645 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1646 exit $exit_status
1647' 0
1648for ac_signal in 1 2 13 15; do
1649 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1650done
1651ac_signal=0
1652
1653# confdefs.h avoids OS command line length limits that DEFS can exceed.
1654rm -f -r conftest* confdefs.h
1655
1656# Predefined preprocessor variables.
1657
1658cat >>confdefs.h <<_ACEOF
1659#define PACKAGE_NAME "$PACKAGE_NAME"
1660_ACEOF
1661
1662
1663cat >>confdefs.h <<_ACEOF
1664#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1665_ACEOF
1666
1667
1668cat >>confdefs.h <<_ACEOF
1669#define PACKAGE_VERSION "$PACKAGE_VERSION"
1670_ACEOF
1671
1672
1673cat >>confdefs.h <<_ACEOF
1674#define PACKAGE_STRING "$PACKAGE_STRING"
1675_ACEOF
1676
1677
1678cat >>confdefs.h <<_ACEOF
1679#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1680_ACEOF
1681
1682
1683# Let the site file select an alternate cache file if it wants to.
1684# Prefer explicitly selected file to automatically selected ones.
1685if test -n "$CONFIG_SITE"; then
1686 set x "$CONFIG_SITE"
1687elif test "x$prefix" != xNONE; then
1688 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1689else
1690 set x "$ac_default_prefix/share/config.site" \
1691 "$ac_default_prefix/etc/config.site"
1692fi
1693shift
1694for ac_site_file
1695do
1696 if test -r "$ac_site_file"; then
1697 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1698echo "$as_me: loading site script $ac_site_file" >&6;}
1699 sed 's/^/| /' "$ac_site_file" >&5
1700 . "$ac_site_file"
1701 fi
1702done
1703
1704if test -r "$cache_file"; then
1705 # Some versions of bash will fail to source /dev/null (special
1706 # files actually), so we avoid doing that.
1707 if test -f "$cache_file"; then
1708 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1709echo "$as_me: loading cache $cache_file" >&6;}
1710 case $cache_file in
1711 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1712 *) . "./$cache_file";;
1713 esac
1714 fi
1715else
1716 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1717echo "$as_me: creating cache $cache_file" >&6;}
1718 >$cache_file
1719fi
1720
1721# Check that the precious variables saved in the cache have kept the same
1722# value.
1723ac_cache_corrupted=false
1724for ac_var in $ac_precious_vars; do
1725 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1726 eval ac_new_set=\$ac_env_${ac_var}_set
1727 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1728 eval ac_new_val=\$ac_env_${ac_var}_value
1729 case $ac_old_set,$ac_new_set in
1730 set,)
1731 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1732echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1733 ac_cache_corrupted=: ;;
1734 ,set)
1735 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1736echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1737 ac_cache_corrupted=: ;;
1738 ,);;
1739 *)
1740 if test "x$ac_old_val" != "x$ac_new_val"; then
1741 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1742echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1743 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1744echo "$as_me: former value: $ac_old_val" >&2;}
1745 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1746echo "$as_me: current value: $ac_new_val" >&2;}
1747 ac_cache_corrupted=:
1748 fi;;
1749 esac
1750 # Pass precious variables to config.status.
1751 if test "$ac_new_set" = set; then
1752 case $ac_new_val in
1753 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1754 *) ac_arg=$ac_var=$ac_new_val ;;
1755 esac
1756 case " $ac_configure_args " in
1757 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1758 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1759 esac
1760 fi
1761done
1762if $ac_cache_corrupted; then
1763 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1764echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1765 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1766echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1767 { (exit 1); exit 1; }; }
1768fi
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794ac_ext=c
1795ac_cpp='$CPP $CPPFLAGS'
1796ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1797ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1798ac_compiler_gnu=$ac_cv_c_compiler_gnu
1799
1800
1801am__api_version="1.9"
1802ac_aux_dir=
1803for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1804 if test -f "$ac_dir/install-sh"; then
1805 ac_aux_dir=$ac_dir
1806 ac_install_sh="$ac_aux_dir/install-sh -c"
1807 break
1808 elif test -f "$ac_dir/install.sh"; then
1809 ac_aux_dir=$ac_dir
1810 ac_install_sh="$ac_aux_dir/install.sh -c"
1811 break
1812 elif test -f "$ac_dir/shtool"; then
1813 ac_aux_dir=$ac_dir
1814 ac_install_sh="$ac_aux_dir/shtool install -c"
1815 break
1816 fi
1817done
1818if test -z "$ac_aux_dir"; then
1819 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1820echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1821 { (exit 1); exit 1; }; }
1822fi
1823
1824# These three variables are undocumented and unsupported,
1825# and are intended to be withdrawn in a future Autoconf release.
1826# They can cause serious problems if a builder's source tree is in a directory
1827# whose full name contains unusual characters.
1828ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1829ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1830ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1831
1832
1833# Find a good install program. We prefer a C program (faster),
1834# so one script is as good as another. But avoid the broken or
1835# incompatible versions:
1836# SysV /etc/install, /usr/sbin/install
1837# SunOS /usr/etc/install
1838# IRIX /sbin/install
1839# AIX /bin/install
1840# AmigaOS /C/install, which installs bootblocks on floppy discs
1841# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1842# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1843# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1844# OS/2's system install, which has a completely different semantic
1845# ./install, which can be erroneously created by make from ./install.sh.
1846{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1847echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1848if test -z "$INSTALL"; then
1849if test "${ac_cv_path_install+set}" = set; then
1850 echo $ECHO_N "(cached) $ECHO_C" >&6
1851else
1852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1853for as_dir in $PATH
1854do
1855 IFS=$as_save_IFS
1856 test -z "$as_dir" && as_dir=.
1857 # Account for people who put trailing slashes in PATH elements.
1858case $as_dir/ in
1859 ./ | .// | /cC/* | \
1860 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1861 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1862 /usr/ucb/* ) ;;
1863 *)
1864 # OSF1 and SCO ODT 3.0 have their own names for install.
1865 # Don't use installbsd from OSF since it installs stuff as root
1866 # by default.
1867 for ac_prog in ginstall scoinst install; do
1868 for ac_exec_ext in '' $ac_executable_extensions; do
1869 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1870 if test $ac_prog = install &&
1871 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1872 # AIX install. It has an incompatible calling convention.
1873 :
1874 elif test $ac_prog = install &&
1875 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1876 # program-specific install script used by HP pwplus--don't use.
1877 :
1878 else
1879 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1880 break 3
1881 fi
1882 fi
1883 done
1884 done
1885 ;;
1886esac
1887done
1888IFS=$as_save_IFS
1889
1890
1891fi
1892 if test "${ac_cv_path_install+set}" = set; then
1893 INSTALL=$ac_cv_path_install
1894 else
1895 # As a last resort, use the slow shell script. Don't cache a
1896 # value for INSTALL within a source directory, because that will
1897 # break other packages using the cache if that directory is
1898 # removed, or if the value is a relative name.
1899 INSTALL=$ac_install_sh
1900 fi
1901fi
1902{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1903echo "${ECHO_T}$INSTALL" >&6; }
1904
1905# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1906# It thinks the first close brace ends the variable substitution.
1907test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1908
1909test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1910
1911test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1912
1913{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1914echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1915# Just in case
1916sleep 1
1917echo timestamp > conftest.file
1918# Do `set' in a subshell so we don't clobber the current shell's
1919# arguments. Must try -L first in case configure is actually a
1920# symlink; some systems play weird games with the mod time of symlinks
1921# (eg FreeBSD returns the mod time of the symlink's containing
1922# directory).
1923if (
1924 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1925 if test "$*" = "X"; then
1926 # -L didn't work.
1927 set X `ls -t $srcdir/configure conftest.file`
1928 fi
1929 rm -f conftest.file
1930 if test "$*" != "X $srcdir/configure conftest.file" \
1931 && test "$*" != "X conftest.file $srcdir/configure"; then
1932
1933 # If neither matched, then we have a broken ls. This can happen
1934 # if, for instance, CONFIG_SHELL is bash and it inherits a
1935 # broken ls alias from the environment. This has actually
1936 # happened. Such a system could not be considered "sane".
1937 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1938alias in your environment" >&5
1939echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1940alias in your environment" >&2;}
1941 { (exit 1); exit 1; }; }
1942 fi
1943
1944 test "$2" = conftest.file
1945 )
1946then
1947 # Ok.
1948 :
1949else
1950 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1951Check your system clock" >&5
1952echo "$as_me: error: newly created file is older than distributed files!
1953Check your system clock" >&2;}
1954 { (exit 1); exit 1; }; }
1955fi
1956{ echo "$as_me:$LINENO: result: yes" >&5
1957echo "${ECHO_T}yes" >&6; }
1958test "$program_prefix" != NONE &&
1959 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1960# Use a double $ so make ignores it.
1961test "$program_suffix" != NONE &&
1962 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1963# Double any \ or $. echo might interpret backslashes.
1964# By default was `s,x,x', remove it if useless.
1965cat <<\_ACEOF >conftest.sed
1966s/[\\$]/&&/g;s/;s,x,x,$//
1967_ACEOF
1968program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1969rm -f conftest.sed
1970
1971# expand $ac_aux_dir to an absolute path
1972am_aux_dir=`cd $ac_aux_dir && pwd`
1973
1974test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1975# Use eval to expand $SHELL
1976if eval "$MISSING --run true"; then
1977 am_missing_run="$MISSING --run "
1978else
1979 am_missing_run=
1980 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1981echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1982fi
1983
1984if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1985 # We used to keeping the `.' as first argument, in order to
1986 # allow $(mkdir_p) to be used without argument. As in
1987 # $(mkdir_p) $(somedir)
1988 # where $(somedir) is conditionally defined. However this is wrong
1989 # for two reasons:
1990 # 1. if the package is installed by a user who cannot write `.'
1991 # make install will fail,
1992 # 2. the above comment should most certainly read
1993 # $(mkdir_p) $(DESTDIR)$(somedir)
1994 # so it does not work when $(somedir) is undefined and
1995 # $(DESTDIR) is not.
1996 # To support the latter case, we have to write
1997 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1998 # so the `.' trick is pointless.
1999 mkdir_p='mkdir -p --'
2000else
2001 # On NextStep and OpenStep, the `mkdir' command does not
2002 # recognize any option. It will interpret all options as
2003 # directories to create, and then abort because `.' already
2004 # exists.
2005 for d in ./-p ./--version;
2006 do
2007 test -d $d && rmdir $d
2008 done
2009 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2010 if test -f "$ac_aux_dir/mkinstalldirs"; then
2011 mkdir_p='$(mkinstalldirs)'
2012 else
2013 mkdir_p='$(install_sh) -d'
2014 fi
2015fi
2016
2017for ac_prog in gawk mawk nawk awk
2018do
2019 # Extract the first word of "$ac_prog", so it can be a program name with args.
2020set dummy $ac_prog; ac_word=$2
2021{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2022echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2023if test "${ac_cv_prog_AWK+set}" = set; then
2024 echo $ECHO_N "(cached) $ECHO_C" >&6
2025else
2026 if test -n "$AWK"; then
2027 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2028else
2029as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2030for as_dir in $PATH
2031do
2032 IFS=$as_save_IFS
2033 test -z "$as_dir" && as_dir=.
2034 for ac_exec_ext in '' $ac_executable_extensions; do
2035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2036 ac_cv_prog_AWK="$ac_prog"
2037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2038 break 2
2039 fi
2040done
2041done
2042IFS=$as_save_IFS
2043
2044fi
2045fi
2046AWK=$ac_cv_prog_AWK
2047if test -n "$AWK"; then
2048 { echo "$as_me:$LINENO: result: $AWK" >&5
2049echo "${ECHO_T}$AWK" >&6; }
2050else
2051 { echo "$as_me:$LINENO: result: no" >&5
2052echo "${ECHO_T}no" >&6; }
2053fi
2054
2055
2056 test -n "$AWK" && break
2057done
2058
2059{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2060echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2061set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2062if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2063 echo $ECHO_N "(cached) $ECHO_C" >&6
2064else
2065 cat >conftest.make <<\_ACEOF
2066SHELL = /bin/sh
2067all:
2068 @echo '@@@%%%=$(MAKE)=@@@%%%'
2069_ACEOF
2070# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2071case `${MAKE-make} -f conftest.make 2>/dev/null` in
2072 *@@@%%%=?*=@@@%%%*)
2073 eval ac_cv_prog_make_${ac_make}_set=yes;;
2074 *)
2075 eval ac_cv_prog_make_${ac_make}_set=no;;
2076esac
2077rm -f conftest.make
2078fi
2079if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2080 { echo "$as_me:$LINENO: result: yes" >&5
2081echo "${ECHO_T}yes" >&6; }
2082 SET_MAKE=
2083else
2084 { echo "$as_me:$LINENO: result: no" >&5
2085echo "${ECHO_T}no" >&6; }
2086 SET_MAKE="MAKE=${MAKE-make}"
2087fi
2088
2089rm -rf .tst 2>/dev/null
2090mkdir .tst 2>/dev/null
2091if test -d .tst; then
2092 am__leading_dot=.
2093else
2094 am__leading_dot=_
2095fi
2096rmdir .tst 2>/dev/null
2097
2098# test to see if srcdir already configured
2099if test "`cd $srcdir && pwd`" != "`pwd`" &&
2100 test -f $srcdir/config.status; then
2101 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2102echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2103 { (exit 1); exit 1; }; }
2104fi
2105
2106# test whether we have cygpath
2107if test -z "$CYGPATH_W"; then
2108 if (cygpath --version) >/dev/null 2>/dev/null; then
2109 CYGPATH_W='cygpath -w'
2110 else
2111 CYGPATH_W=echo
2112 fi
2113fi
2114
2115
2116# Define the identity of the package.
2117 PACKAGE='lxpanel'
2118 VERSION='0.1'
2119
2120
2121cat >>confdefs.h <<_ACEOF
2122#define PACKAGE "$PACKAGE"
2123_ACEOF
2124
2125
2126cat >>confdefs.h <<_ACEOF
2127#define VERSION "$VERSION"
2128_ACEOF
2129
2130# Some tools Automake needs.
2131
2132ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2133
2134
2135AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2136
2137
2138AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2139
2140
2141AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2142
2143
2144MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2145
2146install_sh=${install_sh-"$am_aux_dir/install-sh"}
2147
2148# Installed binaries are usually stripped using `strip' when the user
2149# run `make install-strip'. However `strip' might not be the right
2150# tool to use in cross-compilation environments, therefore Automake
2151# will honor the `STRIP' environment variable to overrule this program.
2152if test "$cross_compiling" != no; then
2153 if test -n "$ac_tool_prefix"; then
2154 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2155set dummy ${ac_tool_prefix}strip; ac_word=$2
2156{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2157echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2158if test "${ac_cv_prog_STRIP+set}" = set; then
2159 echo $ECHO_N "(cached) $ECHO_C" >&6
2160else
2161 if test -n "$STRIP"; then
2162 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2163else
2164as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2165for as_dir in $PATH
2166do
2167 IFS=$as_save_IFS
2168 test -z "$as_dir" && as_dir=.
2169 for ac_exec_ext in '' $ac_executable_extensions; do
2170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2171 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2173 break 2
2174 fi
2175done
2176done
2177IFS=$as_save_IFS
2178
2179fi
2180fi
2181STRIP=$ac_cv_prog_STRIP
2182if test -n "$STRIP"; then
2183 { echo "$as_me:$LINENO: result: $STRIP" >&5
2184echo "${ECHO_T}$STRIP" >&6; }
2185else
2186 { echo "$as_me:$LINENO: result: no" >&5
2187echo "${ECHO_T}no" >&6; }
2188fi
2189
2190
2191fi
2192if test -z "$ac_cv_prog_STRIP"; then
2193 ac_ct_STRIP=$STRIP
2194 # Extract the first word of "strip", so it can be a program name with args.
2195set dummy strip; ac_word=$2
2196{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2197echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2198if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2199 echo $ECHO_N "(cached) $ECHO_C" >&6
2200else
2201 if test -n "$ac_ct_STRIP"; then
2202 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2203else
2204as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2205for as_dir in $PATH
2206do
2207 IFS=$as_save_IFS
2208 test -z "$as_dir" && as_dir=.
2209 for ac_exec_ext in '' $ac_executable_extensions; do
2210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2211 ac_cv_prog_ac_ct_STRIP="strip"
2212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2213 break 2
2214 fi
2215done
2216done
2217IFS=$as_save_IFS
2218
2219fi
2220fi
2221ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2222if test -n "$ac_ct_STRIP"; then
2223 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2224echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2225else
2226 { echo "$as_me:$LINENO: result: no" >&5
2227echo "${ECHO_T}no" >&6; }
2228fi
2229
2230 if test "x$ac_ct_STRIP" = x; then
2231 STRIP=":"
2232 else
2233 case $cross_compiling:$ac_tool_warned in
2234yes:)
2235{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2236whose name does not start with the host triplet. If you think this
2237configuration is useful to you, please write to autoconf@gnu.org." >&5
2238echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2239whose name does not start with the host triplet. If you think this
2240configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2241ac_tool_warned=yes ;;
2242esac
2243 STRIP=$ac_ct_STRIP
2244 fi
2245else
2246 STRIP="$ac_cv_prog_STRIP"
2247fi
2248
2249fi
2250INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2251
2252# We need awk for the "check" target. The system "awk" is bad on
2253# some platforms.
2254# Always define AMTAR for backward compatibility.
2255
2256AMTAR=${AMTAR-"${am_missing_run}tar"}
2257
2258am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2259
2260
2261
2262
2263
2264
2265ac_config_headers="$ac_config_headers config.h"
2266
2267
2268# Checks for programs.
2269ac_ext=c
2270ac_cpp='$CPP $CPPFLAGS'
2271ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2272ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2273ac_compiler_gnu=$ac_cv_c_compiler_gnu
2274if test -n "$ac_tool_prefix"; then
2275 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2276set dummy ${ac_tool_prefix}gcc; ac_word=$2
2277{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2278echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2279if test "${ac_cv_prog_CC+set}" = set; then
2280 echo $ECHO_N "(cached) $ECHO_C" >&6
2281else
2282 if test -n "$CC"; then
2283 ac_cv_prog_CC="$CC" # Let the user override the test.
2284else
2285as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2286for as_dir in $PATH
2287do
2288 IFS=$as_save_IFS
2289 test -z "$as_dir" && as_dir=.
2290 for ac_exec_ext in '' $ac_executable_extensions; do
2291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2292 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2294 break 2
2295 fi
2296done
2297done
2298IFS=$as_save_IFS
2299
2300fi
2301fi
2302CC=$ac_cv_prog_CC
2303if test -n "$CC"; then
2304 { echo "$as_me:$LINENO: result: $CC" >&5
2305echo "${ECHO_T}$CC" >&6; }
2306else
2307 { echo "$as_me:$LINENO: result: no" >&5
2308echo "${ECHO_T}no" >&6; }
2309fi
2310
2311
2312fi
2313if test -z "$ac_cv_prog_CC"; then
2314 ac_ct_CC=$CC
2315 # Extract the first word of "gcc", so it can be a program name with args.
2316set dummy gcc; ac_word=$2
2317{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2318echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2319if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2320 echo $ECHO_N "(cached) $ECHO_C" >&6
2321else
2322 if test -n "$ac_ct_CC"; then
2323 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2324else
2325as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2326for as_dir in $PATH
2327do
2328 IFS=$as_save_IFS
2329 test -z "$as_dir" && as_dir=.
2330 for ac_exec_ext in '' $ac_executable_extensions; do
2331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2332 ac_cv_prog_ac_ct_CC="gcc"
2333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2334 break 2
2335 fi
2336done
2337done
2338IFS=$as_save_IFS
2339
2340fi
2341fi
2342ac_ct_CC=$ac_cv_prog_ac_ct_CC
2343if test -n "$ac_ct_CC"; then
2344 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2345echo "${ECHO_T}$ac_ct_CC" >&6; }
2346else
2347 { echo "$as_me:$LINENO: result: no" >&5
2348echo "${ECHO_T}no" >&6; }
2349fi
2350
2351 if test "x$ac_ct_CC" = x; then
2352 CC=""
2353 else
2354 case $cross_compiling:$ac_tool_warned in
2355yes:)
2356{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2357whose name does not start with the host triplet. If you think this
2358configuration is useful to you, please write to autoconf@gnu.org." >&5
2359echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2360whose name does not start with the host triplet. If you think this
2361configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2362ac_tool_warned=yes ;;
2363esac
2364 CC=$ac_ct_CC
2365 fi
2366else
2367 CC="$ac_cv_prog_CC"
2368fi
2369
2370if test -z "$CC"; then
2371 if test -n "$ac_tool_prefix"; then
2372 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2373set dummy ${ac_tool_prefix}cc; ac_word=$2
2374{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2375echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2376if test "${ac_cv_prog_CC+set}" = set; then
2377 echo $ECHO_N "(cached) $ECHO_C" >&6
2378else
2379 if test -n "$CC"; then
2380 ac_cv_prog_CC="$CC" # Let the user override the test.
2381else
2382as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2383for as_dir in $PATH
2384do
2385 IFS=$as_save_IFS
2386 test -z "$as_dir" && as_dir=.
2387 for ac_exec_ext in '' $ac_executable_extensions; do
2388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2389 ac_cv_prog_CC="${ac_tool_prefix}cc"
2390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2391 break 2
2392 fi
2393done
2394done
2395IFS=$as_save_IFS
2396
2397fi
2398fi
2399CC=$ac_cv_prog_CC
2400if test -n "$CC"; then
2401 { echo "$as_me:$LINENO: result: $CC" >&5
2402echo "${ECHO_T}$CC" >&6; }
2403else
2404 { echo "$as_me:$LINENO: result: no" >&5
2405echo "${ECHO_T}no" >&6; }
2406fi
2407
2408
2409 fi
2410fi
2411if test -z "$CC"; then
2412 # Extract the first word of "cc", so it can be a program name with args.
2413set dummy cc; ac_word=$2
2414{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2415echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2416if test "${ac_cv_prog_CC+set}" = set; then
2417 echo $ECHO_N "(cached) $ECHO_C" >&6
2418else
2419 if test -n "$CC"; then
2420 ac_cv_prog_CC="$CC" # Let the user override the test.
2421else
2422 ac_prog_rejected=no
2423as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2424for as_dir in $PATH
2425do
2426 IFS=$as_save_IFS
2427 test -z "$as_dir" && as_dir=.
2428 for ac_exec_ext in '' $ac_executable_extensions; do
2429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2430 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2431 ac_prog_rejected=yes
2432 continue
2433 fi
2434 ac_cv_prog_CC="cc"
2435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2436 break 2
2437 fi
2438done
2439done
2440IFS=$as_save_IFS
2441
2442if test $ac_prog_rejected = yes; then
2443 # We found a bogon in the path, so make sure we never use it.
2444 set dummy $ac_cv_prog_CC
2445 shift
2446 if test $# != 0; then
2447 # We chose a different compiler from the bogus one.
2448 # However, it has the same basename, so the bogon will be chosen
2449 # first if we set CC to just the basename; use the full file name.
2450 shift
2451 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2452 fi
2453fi
2454fi
2455fi
2456CC=$ac_cv_prog_CC
2457if test -n "$CC"; then
2458 { echo "$as_me:$LINENO: result: $CC" >&5
2459echo "${ECHO_T}$CC" >&6; }
2460else
2461 { echo "$as_me:$LINENO: result: no" >&5
2462echo "${ECHO_T}no" >&6; }
2463fi
2464
2465
2466fi
2467if test -z "$CC"; then
2468 if test -n "$ac_tool_prefix"; then
2469 for ac_prog in cl.exe
2470 do
2471 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2472set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2473{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2474echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2475if test "${ac_cv_prog_CC+set}" = set; then
2476 echo $ECHO_N "(cached) $ECHO_C" >&6
2477else
2478 if test -n "$CC"; then
2479 ac_cv_prog_CC="$CC" # Let the user override the test.
2480else
2481as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2482for as_dir in $PATH
2483do
2484 IFS=$as_save_IFS
2485 test -z "$as_dir" && as_dir=.
2486 for ac_exec_ext in '' $ac_executable_extensions; do
2487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2488 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2490 break 2
2491 fi
2492done
2493done
2494IFS=$as_save_IFS
2495
2496fi
2497fi
2498CC=$ac_cv_prog_CC
2499if test -n "$CC"; then
2500 { echo "$as_me:$LINENO: result: $CC" >&5
2501echo "${ECHO_T}$CC" >&6; }
2502else
2503 { echo "$as_me:$LINENO: result: no" >&5
2504echo "${ECHO_T}no" >&6; }
2505fi
2506
2507
2508 test -n "$CC" && break
2509 done
2510fi
2511if test -z "$CC"; then
2512 ac_ct_CC=$CC
2513 for ac_prog in cl.exe
2514do
2515 # Extract the first word of "$ac_prog", so it can be a program name with args.
2516set dummy $ac_prog; ac_word=$2
2517{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2518echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2519if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2520 echo $ECHO_N "(cached) $ECHO_C" >&6
2521else
2522 if test -n "$ac_ct_CC"; then
2523 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2524else
2525as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2526for as_dir in $PATH
2527do
2528 IFS=$as_save_IFS
2529 test -z "$as_dir" && as_dir=.
2530 for ac_exec_ext in '' $ac_executable_extensions; do
2531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2532 ac_cv_prog_ac_ct_CC="$ac_prog"
2533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2534 break 2
2535 fi
2536done
2537done
2538IFS=$as_save_IFS
2539
2540fi
2541fi
2542ac_ct_CC=$ac_cv_prog_ac_ct_CC
2543if test -n "$ac_ct_CC"; then
2544 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2545echo "${ECHO_T}$ac_ct_CC" >&6; }
2546else
2547 { echo "$as_me:$LINENO: result: no" >&5
2548echo "${ECHO_T}no" >&6; }
2549fi
2550
2551
2552 test -n "$ac_ct_CC" && break
2553done
2554
2555 if test "x$ac_ct_CC" = x; then
2556 CC=""
2557 else
2558 case $cross_compiling:$ac_tool_warned in
2559yes:)
2560{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2561whose name does not start with the host triplet. If you think this
2562configuration is useful to you, please write to autoconf@gnu.org." >&5
2563echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2564whose name does not start with the host triplet. If you think this
2565configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2566ac_tool_warned=yes ;;
2567esac
2568 CC=$ac_ct_CC
2569 fi
2570fi
2571
2572fi
2573
2574
2575test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2576See \`config.log' for more details." >&5
2577echo "$as_me: error: no acceptable C compiler found in \$PATH
2578See \`config.log' for more details." >&2;}
2579 { (exit 1); exit 1; }; }
2580
2581# Provide some information about the compiler.
2582echo "$as_me:$LINENO: checking for C compiler version" >&5
2583ac_compiler=`set X $ac_compile; echo $2`
2584{ (ac_try="$ac_compiler --version >&5"
2585case "(($ac_try" in
2586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2587 *) ac_try_echo=$ac_try;;
2588esac
2589eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2590 (eval "$ac_compiler --version >&5") 2>&5
2591 ac_status=$?
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }
2594{ (ac_try="$ac_compiler -v >&5"
2595case "(($ac_try" in
2596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2597 *) ac_try_echo=$ac_try;;
2598esac
2599eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2600 (eval "$ac_compiler -v >&5") 2>&5
2601 ac_status=$?
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }
2604{ (ac_try="$ac_compiler -V >&5"
2605case "(($ac_try" in
2606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2607 *) ac_try_echo=$ac_try;;
2608esac
2609eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2610 (eval "$ac_compiler -V >&5") 2>&5
2611 ac_status=$?
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); }
2614
2615cat >conftest.$ac_ext <<_ACEOF
2616/* confdefs.h. */
2617_ACEOF
2618cat confdefs.h >>conftest.$ac_ext
2619cat >>conftest.$ac_ext <<_ACEOF
2620/* end confdefs.h. */
2621
2622int
2623main ()
2624{
2625
2626 ;
2627 return 0;
2628}
2629_ACEOF
2630ac_clean_files_save=$ac_clean_files
2631ac_clean_files="$ac_clean_files a.out a.exe b.out"
2632# Try to create an executable without -o first, disregard a.out.
2633# It will help us diagnose broken compilers, and finding out an intuition
2634# of exeext.
2635{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2636echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2637ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2638#
2639# List of possible output files, starting from the most likely.
2640# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2641# only as a last resort. b.out is created by i960 compilers.
2642ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2643#
2644# The IRIX 6 linker writes into existing files which may not be
2645# executable, retaining their permissions. Remove them first so a
2646# subsequent execution test works.
2647ac_rmfiles=
2648for ac_file in $ac_files
2649do
2650 case $ac_file in
2651 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2652 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2653 esac
2654done
2655rm -f $ac_rmfiles
2656
2657if { (ac_try="$ac_link_default"
2658case "(($ac_try" in
2659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2660 *) ac_try_echo=$ac_try;;
2661esac
2662eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2663 (eval "$ac_link_default") 2>&5
2664 ac_status=$?
2665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666 (exit $ac_status); }; then
2667 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2668# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2669# in a Makefile. We should not override ac_cv_exeext if it was cached,
2670# so that the user can short-circuit this test for compilers unknown to
2671# Autoconf.
66c88ea4 2672for ac_file in $ac_files
a52c2257
HJYP
2673do
2674 test -f "$ac_file" || continue
2675 case $ac_file in
2676 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2677 ;;
2678 [ab].out )
2679 # We found the default executable, but exeext='' is most
2680 # certainly right.
2681 break;;
2682 *.* )
2683 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2684 then :; else
2685 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2686 fi
2687 # We set ac_cv_exeext here because the later test for it is not
2688 # safe: cross compilers may not add the suffix if given an `-o'
2689 # argument, so we may need to know it at that point already.
2690 # Even if this section looks crufty: it has the advantage of
2691 # actually working.
2692 break;;
2693 * )
2694 break;;
2695 esac
2696done
2697test "$ac_cv_exeext" = no && ac_cv_exeext=
2698
2699else
a52c2257
HJYP
2700 echo "$as_me: failed program was:" >&5
2701sed 's/^/| /' conftest.$ac_ext >&5
2702
2703{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2704See \`config.log' for more details." >&5
2705echo "$as_me: error: C compiler cannot create executables
2706See \`config.log' for more details." >&2;}
2707 { (exit 77); exit 77; }; }
2708fi
2709
2710ac_exeext=$ac_cv_exeext
66c88ea4
HJYP
2711{ echo "$as_me:$LINENO: result: $ac_file" >&5
2712echo "${ECHO_T}$ac_file" >&6; }
a52c2257
HJYP
2713
2714# Check that the compiler produces executables we can run. If not, either
2715# the compiler is broken, or we cross compile.
2716{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2717echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2718# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2719# If not cross compiling, check that we can run a simple program.
2720if test "$cross_compiling" != yes; then
2721 if { ac_try='./$ac_file'
2722 { (case "(($ac_try" in
2723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2724 *) ac_try_echo=$ac_try;;
2725esac
2726eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2727 (eval "$ac_try") 2>&5
2728 ac_status=$?
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); }; }; then
2731 cross_compiling=no
2732 else
2733 if test "$cross_compiling" = maybe; then
2734 cross_compiling=yes
2735 else
2736 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2737If you meant to cross compile, use \`--host'.
2738See \`config.log' for more details." >&5
2739echo "$as_me: error: cannot run C compiled programs.
2740If you meant to cross compile, use \`--host'.
2741See \`config.log' for more details." >&2;}
2742 { (exit 1); exit 1; }; }
2743 fi
2744 fi
2745fi
2746{ echo "$as_me:$LINENO: result: yes" >&5
2747echo "${ECHO_T}yes" >&6; }
2748
2749rm -f a.out a.exe conftest$ac_cv_exeext b.out
2750ac_clean_files=$ac_clean_files_save
2751# Check that the compiler produces executables we can run. If not, either
2752# the compiler is broken, or we cross compile.
2753{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2754echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2755{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2756echo "${ECHO_T}$cross_compiling" >&6; }
2757
2758{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2759echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2760if { (ac_try="$ac_link"
2761case "(($ac_try" in
2762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2763 *) ac_try_echo=$ac_try;;
2764esac
2765eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2766 (eval "$ac_link") 2>&5
2767 ac_status=$?
2768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); }; then
2770 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2771# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2772# work properly (i.e., refer to `conftest.exe'), while it won't with
2773# `rm'.
2774for ac_file in conftest.exe conftest conftest.*; do
2775 test -f "$ac_file" || continue
2776 case $ac_file in
2777 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2778 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2779 break;;
2780 * ) break;;
2781 esac
2782done
2783else
2784 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2785See \`config.log' for more details." >&5
2786echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2787See \`config.log' for more details." >&2;}
2788 { (exit 1); exit 1; }; }
2789fi
2790
2791rm -f conftest$ac_cv_exeext
2792{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2793echo "${ECHO_T}$ac_cv_exeext" >&6; }
2794
2795rm -f conftest.$ac_ext
2796EXEEXT=$ac_cv_exeext
2797ac_exeext=$EXEEXT
2798{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2799echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2800if test "${ac_cv_objext+set}" = set; then
2801 echo $ECHO_N "(cached) $ECHO_C" >&6
2802else
2803 cat >conftest.$ac_ext <<_ACEOF
2804/* confdefs.h. */
2805_ACEOF
2806cat confdefs.h >>conftest.$ac_ext
2807cat >>conftest.$ac_ext <<_ACEOF
2808/* end confdefs.h. */
2809
2810int
2811main ()
2812{
2813
2814 ;
2815 return 0;
2816}
2817_ACEOF
2818rm -f conftest.o conftest.obj
2819if { (ac_try="$ac_compile"
2820case "(($ac_try" in
2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2822 *) ac_try_echo=$ac_try;;
2823esac
2824eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2825 (eval "$ac_compile") 2>&5
2826 ac_status=$?
2827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2828 (exit $ac_status); }; then
2829 for ac_file in conftest.o conftest.obj conftest.*; do
2830 test -f "$ac_file" || continue;
2831 case $ac_file in
2832 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2833 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2834 break;;
2835 esac
2836done
2837else
2838 echo "$as_me: failed program was:" >&5
2839sed 's/^/| /' conftest.$ac_ext >&5
2840
2841{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2842See \`config.log' for more details." >&5
2843echo "$as_me: error: cannot compute suffix of object files: cannot compile
2844See \`config.log' for more details." >&2;}
2845 { (exit 1); exit 1; }; }
2846fi
2847
2848rm -f conftest.$ac_cv_objext conftest.$ac_ext
2849fi
2850{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2851echo "${ECHO_T}$ac_cv_objext" >&6; }
2852OBJEXT=$ac_cv_objext
2853ac_objext=$OBJEXT
2854{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2855echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2856if test "${ac_cv_c_compiler_gnu+set}" = set; then
2857 echo $ECHO_N "(cached) $ECHO_C" >&6
2858else
2859 cat >conftest.$ac_ext <<_ACEOF
2860/* confdefs.h. */
2861_ACEOF
2862cat confdefs.h >>conftest.$ac_ext
2863cat >>conftest.$ac_ext <<_ACEOF
2864/* end confdefs.h. */
2865
2866int
2867main ()
2868{
2869#ifndef __GNUC__
2870 choke me
2871#endif
2872
2873 ;
2874 return 0;
2875}
2876_ACEOF
2877rm -f conftest.$ac_objext
2878if { (ac_try="$ac_compile"
2879case "(($ac_try" in
2880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2881 *) ac_try_echo=$ac_try;;
2882esac
2883eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2884 (eval "$ac_compile") 2>conftest.er1
2885 ac_status=$?
2886 grep -v '^ *+' conftest.er1 >conftest.err
2887 rm -f conftest.er1
2888 cat conftest.err >&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); } &&
2891 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2892 { (case "(($ac_try" in
2893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2894 *) ac_try_echo=$ac_try;;
2895esac
2896eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2897 (eval "$ac_try") 2>&5
2898 ac_status=$?
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); }; } &&
2901 { ac_try='test -s conftest.$ac_objext'
2902 { (case "(($ac_try" in
2903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2904 *) ac_try_echo=$ac_try;;
2905esac
2906eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2907 (eval "$ac_try") 2>&5
2908 ac_status=$?
2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910 (exit $ac_status); }; }; then
2911 ac_compiler_gnu=yes
2912else
2913 echo "$as_me: failed program was:" >&5
2914sed 's/^/| /' conftest.$ac_ext >&5
2915
2916 ac_compiler_gnu=no
2917fi
2918
2919rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2920ac_cv_c_compiler_gnu=$ac_compiler_gnu
2921
2922fi
2923{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2924echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2925GCC=`test $ac_compiler_gnu = yes && echo yes`
2926ac_test_CFLAGS=${CFLAGS+set}
2927ac_save_CFLAGS=$CFLAGS
2928{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2929echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2930if test "${ac_cv_prog_cc_g+set}" = set; then
2931 echo $ECHO_N "(cached) $ECHO_C" >&6
2932else
2933 ac_save_c_werror_flag=$ac_c_werror_flag
2934 ac_c_werror_flag=yes
2935 ac_cv_prog_cc_g=no
2936 CFLAGS="-g"
2937 cat >conftest.$ac_ext <<_ACEOF
2938/* confdefs.h. */
2939_ACEOF
2940cat confdefs.h >>conftest.$ac_ext
2941cat >>conftest.$ac_ext <<_ACEOF
2942/* end confdefs.h. */
2943
2944int
2945main ()
2946{
2947
2948 ;
2949 return 0;
2950}
2951_ACEOF
2952rm -f conftest.$ac_objext
2953if { (ac_try="$ac_compile"
2954case "(($ac_try" in
2955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956 *) ac_try_echo=$ac_try;;
2957esac
2958eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2959 (eval "$ac_compile") 2>conftest.er1
2960 ac_status=$?
2961 grep -v '^ *+' conftest.er1 >conftest.err
2962 rm -f conftest.er1
2963 cat conftest.err >&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); } &&
2966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2967 { (case "(($ac_try" in
2968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2969 *) ac_try_echo=$ac_try;;
2970esac
2971eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2972 (eval "$ac_try") 2>&5
2973 ac_status=$?
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); }; } &&
2976 { ac_try='test -s conftest.$ac_objext'
2977 { (case "(($ac_try" in
2978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2979 *) ac_try_echo=$ac_try;;
2980esac
2981eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2982 (eval "$ac_try") 2>&5
2983 ac_status=$?
2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); }; }; then
2986 ac_cv_prog_cc_g=yes
2987else
2988 echo "$as_me: failed program was:" >&5
2989sed 's/^/| /' conftest.$ac_ext >&5
2990
2991 CFLAGS=""
2992 cat >conftest.$ac_ext <<_ACEOF
2993/* confdefs.h. */
2994_ACEOF
2995cat confdefs.h >>conftest.$ac_ext
2996cat >>conftest.$ac_ext <<_ACEOF
2997/* end confdefs.h. */
2998
2999int
3000main ()
3001{
3002
3003 ;
3004 return 0;
3005}
3006_ACEOF
3007rm -f conftest.$ac_objext
3008if { (ac_try="$ac_compile"
3009case "(($ac_try" in
3010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3011 *) ac_try_echo=$ac_try;;
3012esac
3013eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3014 (eval "$ac_compile") 2>conftest.er1
3015 ac_status=$?
3016 grep -v '^ *+' conftest.er1 >conftest.err
3017 rm -f conftest.er1
3018 cat conftest.err >&5
3019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020 (exit $ac_status); } &&
3021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3022 { (case "(($ac_try" in
3023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3024 *) ac_try_echo=$ac_try;;
3025esac
3026eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3027 (eval "$ac_try") 2>&5
3028 ac_status=$?
3029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030 (exit $ac_status); }; } &&
3031 { ac_try='test -s conftest.$ac_objext'
3032 { (case "(($ac_try" in
3033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3034 *) ac_try_echo=$ac_try;;
3035esac
3036eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3037 (eval "$ac_try") 2>&5
3038 ac_status=$?
3039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3040 (exit $ac_status); }; }; then
3041 :
3042else
3043 echo "$as_me: failed program was:" >&5
3044sed 's/^/| /' conftest.$ac_ext >&5
3045
3046 ac_c_werror_flag=$ac_save_c_werror_flag
3047 CFLAGS="-g"
3048 cat >conftest.$ac_ext <<_ACEOF
3049/* confdefs.h. */
3050_ACEOF
3051cat confdefs.h >>conftest.$ac_ext
3052cat >>conftest.$ac_ext <<_ACEOF
3053/* end confdefs.h. */
3054
3055int
3056main ()
3057{
3058
3059 ;
3060 return 0;
3061}
3062_ACEOF
3063rm -f conftest.$ac_objext
3064if { (ac_try="$ac_compile"
3065case "(($ac_try" in
3066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3067 *) ac_try_echo=$ac_try;;
3068esac
3069eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3070 (eval "$ac_compile") 2>conftest.er1
3071 ac_status=$?
3072 grep -v '^ *+' conftest.er1 >conftest.err
3073 rm -f conftest.er1
3074 cat conftest.err >&5
3075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076 (exit $ac_status); } &&
3077 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3078 { (case "(($ac_try" in
3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3080 *) ac_try_echo=$ac_try;;
3081esac
3082eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3083 (eval "$ac_try") 2>&5
3084 ac_status=$?
3085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086 (exit $ac_status); }; } &&
3087 { ac_try='test -s conftest.$ac_objext'
3088 { (case "(($ac_try" in
3089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090 *) ac_try_echo=$ac_try;;
3091esac
3092eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3093 (eval "$ac_try") 2>&5
3094 ac_status=$?
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); }; }; then
3097 ac_cv_prog_cc_g=yes
3098else
3099 echo "$as_me: failed program was:" >&5
3100sed 's/^/| /' conftest.$ac_ext >&5
3101
3102
3103fi
3104
3105rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3106fi
3107
3108rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3109fi
3110
3111rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3112 ac_c_werror_flag=$ac_save_c_werror_flag
3113fi
3114{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3115echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3116if test "$ac_test_CFLAGS" = set; then
3117 CFLAGS=$ac_save_CFLAGS
3118elif test $ac_cv_prog_cc_g = yes; then
3119 if test "$GCC" = yes; then
3120 CFLAGS="-g -O2"
3121 else
3122 CFLAGS="-g"
3123 fi
3124else
3125 if test "$GCC" = yes; then
3126 CFLAGS="-O2"
3127 else
3128 CFLAGS=
3129 fi
3130fi
3131{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3132echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3133if test "${ac_cv_prog_cc_c89+set}" = set; then
3134 echo $ECHO_N "(cached) $ECHO_C" >&6
3135else
3136 ac_cv_prog_cc_c89=no
3137ac_save_CC=$CC
3138cat >conftest.$ac_ext <<_ACEOF
3139/* confdefs.h. */
3140_ACEOF
3141cat confdefs.h >>conftest.$ac_ext
3142cat >>conftest.$ac_ext <<_ACEOF
3143/* end confdefs.h. */
3144#include <stdarg.h>
3145#include <stdio.h>
3146#include <sys/types.h>
3147#include <sys/stat.h>
3148/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3149struct buf { int x; };
3150FILE * (*rcsopen) (struct buf *, struct stat *, int);
3151static char *e (p, i)
3152 char **p;
3153 int i;
3154{
3155 return p[i];
3156}
3157static char *f (char * (*g) (char **, int), char **p, ...)
3158{
3159 char *s;
3160 va_list v;
3161 va_start (v,p);
3162 s = g (p, va_arg (v,int));
3163 va_end (v);
3164 return s;
3165}
3166
3167/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3168 function prototypes and stuff, but not '\xHH' hex character constants.
3169 These don't provoke an error unfortunately, instead are silently treated
3170 as 'x'. The following induces an error, until -std is added to get
3171 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3172 array size at least. It's necessary to write '\x00'==0 to get something
3173 that's true only with -std. */
3174int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3175
3176/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3177 inside strings and character constants. */
3178#define FOO(x) 'x'
3179int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3180
3181int test (int i, double x);
3182struct s1 {int (*f) (int a);};
3183struct s2 {int (*f) (double a);};
3184int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3185int argc;
3186char **argv;
3187int
3188main ()
3189{
3190return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3191 ;
3192 return 0;
3193}
3194_ACEOF
3195for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3196 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3197do
3198 CC="$ac_save_CC $ac_arg"
3199 rm -f conftest.$ac_objext
3200if { (ac_try="$ac_compile"
3201case "(($ac_try" in
3202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3203 *) ac_try_echo=$ac_try;;
3204esac
3205eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3206 (eval "$ac_compile") 2>conftest.er1
3207 ac_status=$?
3208 grep -v '^ *+' conftest.er1 >conftest.err
3209 rm -f conftest.er1
3210 cat conftest.err >&5
3211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 (exit $ac_status); } &&
3213 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3214 { (case "(($ac_try" in
3215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3216 *) ac_try_echo=$ac_try;;
3217esac
3218eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3219 (eval "$ac_try") 2>&5
3220 ac_status=$?
3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); }; } &&
3223 { ac_try='test -s conftest.$ac_objext'
3224 { (case "(($ac_try" in
3225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3226 *) ac_try_echo=$ac_try;;
3227esac
3228eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3229 (eval "$ac_try") 2>&5
3230 ac_status=$?
3231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232 (exit $ac_status); }; }; then
3233 ac_cv_prog_cc_c89=$ac_arg
3234else
3235 echo "$as_me: failed program was:" >&5
3236sed 's/^/| /' conftest.$ac_ext >&5
3237
3238
3239fi
3240
3241rm -f core conftest.err conftest.$ac_objext
3242 test "x$ac_cv_prog_cc_c89" != "xno" && break
3243done
3244rm -f conftest.$ac_ext
3245CC=$ac_save_CC
3246
3247fi
3248# AC_CACHE_VAL
3249case "x$ac_cv_prog_cc_c89" in
3250 x)
3251 { echo "$as_me:$LINENO: result: none needed" >&5
3252echo "${ECHO_T}none needed" >&6; } ;;
3253 xno)
3254 { echo "$as_me:$LINENO: result: unsupported" >&5
3255echo "${ECHO_T}unsupported" >&6; } ;;
3256 *)
3257 CC="$CC $ac_cv_prog_cc_c89"
3258 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3259echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3260esac
3261
3262
3263ac_ext=c
3264ac_cpp='$CPP $CPPFLAGS'
3265ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3266ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3267ac_compiler_gnu=$ac_cv_c_compiler_gnu
3268DEPDIR="${am__leading_dot}deps"
3269
3270ac_config_commands="$ac_config_commands depfiles"
3271
3272
3273am_make=${MAKE-make}
3274cat > confinc << 'END'
3275am__doit:
3276 @echo done
3277.PHONY: am__doit
3278END
3279# If we don't find an include directive, just comment out the code.
3280{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3281echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3282am__include="#"
3283am__quote=
3284_am_result=none
3285# First try GNU make style include.
3286echo "include confinc" > confmf
3287# We grep out `Entering directory' and `Leaving directory'
3288# messages which can occur if `w' ends up in MAKEFLAGS.
3289# In particular we don't look at `^make:' because GNU make might
3290# be invoked under some other name (usually "gmake"), in which
3291# case it prints its new name instead of `make'.
3292if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3293 am__include=include
3294 am__quote=
3295 _am_result=GNU
3296fi
3297# Now try BSD make style include.
3298if test "$am__include" = "#"; then
3299 echo '.include "confinc"' > confmf
3300 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3301 am__include=.include
3302 am__quote="\""
3303 _am_result=BSD
3304 fi
3305fi
3306
3307
3308{ echo "$as_me:$LINENO: result: $_am_result" >&5
3309echo "${ECHO_T}$_am_result" >&6; }
3310rm -f confinc confmf
3311
3312# Check whether --enable-dependency-tracking was given.
3313if test "${enable_dependency_tracking+set}" = set; then
3314 enableval=$enable_dependency_tracking;
3315fi
3316
3317if test "x$enable_dependency_tracking" != xno; then
3318 am_depcomp="$ac_aux_dir/depcomp"
3319 AMDEPBACKSLASH='\'
3320fi
3321
3322
3323if test "x$enable_dependency_tracking" != xno; then
3324 AMDEP_TRUE=
3325 AMDEP_FALSE='#'
3326else
3327 AMDEP_TRUE='#'
3328 AMDEP_FALSE=
3329fi
3330
3331
3332
3333
3334depcc="$CC" am_compiler_list=
3335
3336{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3337echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3338if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3339 echo $ECHO_N "(cached) $ECHO_C" >&6
3340else
3341 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3342 # We make a subdir and do the tests there. Otherwise we can end up
3343 # making bogus files that we don't know about and never remove. For
3344 # instance it was reported that on HP-UX the gcc test will end up
3345 # making a dummy file named `D' -- because `-MD' means `put the output
3346 # in D'.
3347 mkdir conftest.dir
3348 # Copy depcomp to subdir because otherwise we won't find it if we're
3349 # using a relative directory.
3350 cp "$am_depcomp" conftest.dir
3351 cd conftest.dir
3352 # We will build objects and dependencies in a subdirectory because
3353 # it helps to detect inapplicable dependency modes. For instance
3354 # both Tru64's cc and ICC support -MD to output dependencies as a
3355 # side effect of compilation, but ICC will put the dependencies in
3356 # the current directory while Tru64 will put them in the object
3357 # directory.
3358 mkdir sub
3359
3360 am_cv_CC_dependencies_compiler_type=none
3361 if test "$am_compiler_list" = ""; then
3362 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3363 fi
3364 for depmode in $am_compiler_list; do
3365 # Setup a source with many dependencies, because some compilers
3366 # like to wrap large dependency lists on column 80 (with \), and
3367 # we should not choose a depcomp mode which is confused by this.
3368 #
3369 # We need to recreate these files for each test, as the compiler may
3370 # overwrite some of them when testing with obscure command lines.
3371 # This happens at least with the AIX C compiler.
3372 : > sub/conftest.c
3373 for i in 1 2 3 4 5 6; do
3374 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3375 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3376 # Solaris 8's {/usr,}/bin/sh.
3377 touch sub/conftst$i.h
3378 done
3379 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3380
3381 case $depmode in
3382 nosideeffect)
3383 # after this tag, mechanisms are not by side-effect, so they'll
3384 # only be used when explicitly requested
3385 if test "x$enable_dependency_tracking" = xyes; then
3386 continue
3387 else
3388 break
3389 fi
3390 ;;
3391 none) break ;;
3392 esac
3393 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3394 # mode. It turns out that the SunPro C++ compiler does not properly
3395 # handle `-M -o', and we need to detect this.
3396 if depmode=$depmode \
3397 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3398 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3399 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3400 >/dev/null 2>conftest.err &&
3401 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3402 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3403 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3404 # icc doesn't choke on unknown options, it will just issue warnings
3405 # or remarks (even with -Werror). So we grep stderr for any message
3406 # that says an option was ignored or not supported.
3407 # When given -MP, icc 7.0 and 7.1 complain thusly:
3408 # icc: Command line warning: ignoring option '-M'; no argument required
3409 # The diagnosis changed in icc 8.0:
3410 # icc: Command line remark: option '-MP' not supported
3411 if (grep 'ignoring option' conftest.err ||
3412 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3413 am_cv_CC_dependencies_compiler_type=$depmode
3414 break
3415 fi
3416 fi
3417 done
3418
3419 cd ..
3420 rm -rf conftest.dir
3421else
3422 am_cv_CC_dependencies_compiler_type=none
3423fi
3424
3425fi
3426{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3427echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3428CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3429
3430
3431
3432if
3433 test "x$enable_dependency_tracking" != xno \
3434 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3435 am__fastdepCC_TRUE=
3436 am__fastdepCC_FALSE='#'
3437else
3438 am__fastdepCC_TRUE='#'
3439 am__fastdepCC_FALSE=
3440fi
3441
3442
3443# Find a good install program. We prefer a C program (faster),
3444# so one script is as good as another. But avoid the broken or
3445# incompatible versions:
3446# SysV /etc/install, /usr/sbin/install
3447# SunOS /usr/etc/install
3448# IRIX /sbin/install
3449# AIX /bin/install
3450# AmigaOS /C/install, which installs bootblocks on floppy discs
3451# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3452# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3453# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3454# OS/2's system install, which has a completely different semantic
3455# ./install, which can be erroneously created by make from ./install.sh.
3456{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3457echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3458if test -z "$INSTALL"; then
3459if test "${ac_cv_path_install+set}" = set; then
3460 echo $ECHO_N "(cached) $ECHO_C" >&6
3461else
3462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3463for as_dir in $PATH
3464do
3465 IFS=$as_save_IFS
3466 test -z "$as_dir" && as_dir=.
3467 # Account for people who put trailing slashes in PATH elements.
3468case $as_dir/ in
3469 ./ | .// | /cC/* | \
3470 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3471 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3472 /usr/ucb/* ) ;;
3473 *)
3474 # OSF1 and SCO ODT 3.0 have their own names for install.
3475 # Don't use installbsd from OSF since it installs stuff as root
3476 # by default.
3477 for ac_prog in ginstall scoinst install; do
3478 for ac_exec_ext in '' $ac_executable_extensions; do
3479 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
3480 if test $ac_prog = install &&
3481 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3482 # AIX install. It has an incompatible calling convention.
3483 :
3484 elif test $ac_prog = install &&
3485 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3486 # program-specific install script used by HP pwplus--don't use.
3487 :
3488 else
3489 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3490 break 3
3491 fi
3492 fi
3493 done
3494 done
3495 ;;
3496esac
3497done
3498IFS=$as_save_IFS
3499
3500
3501fi
3502 if test "${ac_cv_path_install+set}" = set; then
3503 INSTALL=$ac_cv_path_install
3504 else
3505 # As a last resort, use the slow shell script. Don't cache a
3506 # value for INSTALL within a source directory, because that will
3507 # break other packages using the cache if that directory is
3508 # removed, or if the value is a relative name.
3509 INSTALL=$ac_install_sh
3510 fi
3511fi
3512{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3513echo "${ECHO_T}$INSTALL" >&6; }
3514
3515# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3516# It thinks the first close brace ends the variable substitution.
3517test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3518
3519test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3520
3521test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3522
3523{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
3524echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3525LN_S=$as_ln_s
3526if test "$LN_S" = "ln -s"; then
3527 { echo "$as_me:$LINENO: result: yes" >&5
3528echo "${ECHO_T}yes" >&6; }
3529else
3530 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3531echo "${ECHO_T}no, using $LN_S" >&6; }
3532fi
3533
3534
3535case "$am__api_version" in
3536 1.01234)
3537 { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
3538echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
3539 { (exit 1); exit 1; }; }
3540 ;;
3541 *)
3542 ;;
3543esac
3544
3545if test -n ""; then
3546 { echo "$as_me:$LINENO: checking for intltool >= " >&5
3547echo $ECHO_N "checking for intltool >= ... $ECHO_C" >&6; }
3548
3549 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3550 INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
3551 INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in`
3552
3553 { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
3554echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
3555 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3556 { { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool or later." >&5
3557echo "$as_me: error: Your intltool is too old. You need intltool or later." >&2;}
3558 { (exit 1); exit 1; }; }
3559fi
3560
3561 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 $< $@'
3562INTLTOOL_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 $< $@'
3563 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 $< $@'
3564 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 $< $@'
3565 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
3566 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 $< $@'
3567 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 $< $@'
3568 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 $< $@'
3569INTLTOOL_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 $< $@'
3570 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 $< $@'
3571 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 $< $@'
3572 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
3573 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 $< $@'
3574 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 $< $@'
3575 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 $< $@'
3576 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 $< $@'
3577 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 $< $@'
3578 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 $< $@'
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599# Use the tools built into the package, not the ones that are installed.
3600INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
3601
3602INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
3603
3604INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
3605
3606
3607# Extract the first word of "perl", so it can be a program name with args.
3608set dummy perl; ac_word=$2
3609{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3610echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3611if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
3612 echo $ECHO_N "(cached) $ECHO_C" >&6
3613else
3614 case $INTLTOOL_PERL in
3615 [\\/]* | ?:[\\/]*)
3616 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
3617 ;;
3618 *)
3619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3620for as_dir in $PATH
3621do
3622 IFS=$as_save_IFS
3623 test -z "$as_dir" && as_dir=.
3624 for ac_exec_ext in '' $ac_executable_extensions; do
3625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3626 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
3627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3628 break 2
3629 fi
3630done
3631done
3632IFS=$as_save_IFS
3633
3634 ;;
3635esac
3636fi
3637INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
3638if test -n "$INTLTOOL_PERL"; then
3639 { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
3640echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
3641else
3642 { echo "$as_me:$LINENO: result: no" >&5
3643echo "${ECHO_T}no" >&6; }
3644fi
3645
3646
3647if test -z "$INTLTOOL_PERL"; then
3648 { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
3649echo "$as_me: error: perl not found; required for intltool" >&2;}
3650 { (exit 1); exit 1; }; }
3651fi
3652if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
3653 { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
3654echo "$as_me: error: perl 5.x required for intltool" >&2;}
3655 { (exit 1); exit 1; }; }
3656fi
3657if test "xno-xml" != "xno-xml"; then
3658 { echo "$as_me:$LINENO: checking for XML::Parser" >&5
3659echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
3660 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
3661 { echo "$as_me:$LINENO: result: ok" >&5
3662echo "${ECHO_T}ok" >&6; }
3663 else
3664 { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
3665echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
3666 { (exit 1); exit 1; }; }
3667 fi
3668fi
3669
3670# Extract the first word of "iconv", so it can be a program name with args.
3671set dummy iconv; ac_word=$2
3672{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3673echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3674if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then
3675 echo $ECHO_N "(cached) $ECHO_C" >&6
3676else
3677 case $INTLTOOL_ICONV in
3678 [\\/]* | ?:[\\/]*)
3679 ac_cv_path_INTLTOOL_ICONV="$INTLTOOL_ICONV" # Let the user override the test with a path.
3680 ;;
3681 *)
3682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3683for as_dir in $PATH
3684do
3685 IFS=$as_save_IFS
3686 test -z "$as_dir" && as_dir=.
3687 for ac_exec_ext in '' $ac_executable_extensions; do
3688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3689 ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext"
3690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3691 break 2
3692 fi
3693done
3694done
3695IFS=$as_save_IFS
3696
3697 test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv"
3698 ;;
3699esac
3700fi
3701INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV
3702if test -n "$INTLTOOL_ICONV"; then
3703 { echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5
3704echo "${ECHO_T}$INTLTOOL_ICONV" >&6; }
3705else
3706 { echo "$as_me:$LINENO: result: no" >&5
3707echo "${ECHO_T}no" >&6; }
3708fi
3709
3710
3711# Extract the first word of "msgfmt", so it can be a program name with args.
3712set dummy msgfmt; ac_word=$2
3713{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3714echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3715if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then
3716 echo $ECHO_N "(cached) $ECHO_C" >&6
3717else
3718 case $INTLTOOL_MSGFMT in
3719 [\\/]* | ?:[\\/]*)
3720 ac_cv_path_INTLTOOL_MSGFMT="$INTLTOOL_MSGFMT" # Let the user override the test with a path.
3721 ;;
3722 *)
3723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3724for as_dir in $PATH
3725do
3726 IFS=$as_save_IFS
3727 test -z "$as_dir" && as_dir=.
3728 for ac_exec_ext in '' $ac_executable_extensions; do
3729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3730 ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
3731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3732 break 2
3733 fi
3734done
3735done
3736IFS=$as_save_IFS
3737
3738 test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt"
3739 ;;
3740esac
3741fi
3742INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT
3743if test -n "$INTLTOOL_MSGFMT"; then
3744 { echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5
3745echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6; }
3746else
3747 { echo "$as_me:$LINENO: result: no" >&5
3748echo "${ECHO_T}no" >&6; }
3749fi
3750
3751
3752# Extract the first word of "msgmerge", so it can be a program name with args.
3753set dummy msgmerge; ac_word=$2
3754{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3755echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3756if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then
3757 echo $ECHO_N "(cached) $ECHO_C" >&6
3758else
3759 case $INTLTOOL_MSGMERGE in
3760 [\\/]* | ?:[\\/]*)
3761 ac_cv_path_INTLTOOL_MSGMERGE="$INTLTOOL_MSGMERGE" # Let the user override the test with a path.
3762 ;;
3763 *)
3764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3765for as_dir in $PATH
3766do
3767 IFS=$as_save_IFS
3768 test -z "$as_dir" && as_dir=.
3769 for ac_exec_ext in '' $ac_executable_extensions; do
3770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3771 ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
3772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3773 break 2
3774 fi
3775done
3776done
3777IFS=$as_save_IFS
3778
3779 test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge"
3780 ;;
3781esac
3782fi
3783INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE
3784if test -n "$INTLTOOL_MSGMERGE"; then
3785 { echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5
3786echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6; }
3787else
3788 { echo "$as_me:$LINENO: result: no" >&5
3789echo "${ECHO_T}no" >&6; }
3790fi
3791
3792
3793# Extract the first word of "xgettext", so it can be a program name with args.
3794set dummy xgettext; ac_word=$2
3795{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3796echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3797if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then
3798 echo $ECHO_N "(cached) $ECHO_C" >&6
3799else
3800 case $INTLTOOL_XGETTEXT in
3801 [\\/]* | ?:[\\/]*)
3802 ac_cv_path_INTLTOOL_XGETTEXT="$INTLTOOL_XGETTEXT" # Let the user override the test with a path.
3803 ;;
3804 *)
3805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3806for as_dir in $PATH
3807do
3808 IFS=$as_save_IFS
3809 test -z "$as_dir" && as_dir=.
3810 for ac_exec_ext in '' $ac_executable_extensions; do
3811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3812 ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
3813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3814 break 2
3815 fi
3816done
3817done
3818IFS=$as_save_IFS
3819
3820 test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext"
3821 ;;
3822esac
3823fi
3824INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT
3825if test -n "$INTLTOOL_XGETTEXT"; then
3826 { echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5
3827echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6; }
3828else
3829 { echo "$as_me:$LINENO: result: no" >&5
3830echo "${ECHO_T}no" >&6; }
3831fi
3832
3833
3834
3835# Substitute ALL_LINGUAS so we can use it in po/Makefile
3836
3837
3838
3839
3840
3841ac_config_commands="$ac_config_commands intltool"
3842
3843
3844
3845
3846# Checks for libraries.
3847pkg_modules="gtk+-2.0 >= 2.6.0 \
3848 gthread-2.0 \
3849 libstartup-notification-1.0"
3850
3851
3852if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3853 if test -n "$ac_tool_prefix"; then
3854 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3855set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3856{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3857echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3858if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3859 echo $ECHO_N "(cached) $ECHO_C" >&6
3860else
3861 case $PKG_CONFIG in
3862 [\\/]* | ?:[\\/]*)
3863 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3864 ;;
3865 *)
3866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3867for as_dir in $PATH
3868do
3869 IFS=$as_save_IFS
3870 test -z "$as_dir" && as_dir=.
3871 for ac_exec_ext in '' $ac_executable_extensions; do
3872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3873 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3875 break 2
3876 fi
3877done
3878done
3879IFS=$as_save_IFS
3880
3881 ;;
3882esac
3883fi
3884PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3885if test -n "$PKG_CONFIG"; then
3886 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3887echo "${ECHO_T}$PKG_CONFIG" >&6; }
3888else
3889 { echo "$as_me:$LINENO: result: no" >&5
3890echo "${ECHO_T}no" >&6; }
3891fi
3892
3893
3894fi
3895if test -z "$ac_cv_path_PKG_CONFIG"; then
3896 ac_pt_PKG_CONFIG=$PKG_CONFIG
3897 # Extract the first word of "pkg-config", so it can be a program name with args.
3898set dummy pkg-config; ac_word=$2
3899{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3900echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3901if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3902 echo $ECHO_N "(cached) $ECHO_C" >&6
3903else
3904 case $ac_pt_PKG_CONFIG in
3905 [\\/]* | ?:[\\/]*)
3906 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3907 ;;
3908 *)
3909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3910for as_dir in $PATH
3911do
3912 IFS=$as_save_IFS
3913 test -z "$as_dir" && as_dir=.
3914 for ac_exec_ext in '' $ac_executable_extensions; do
3915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3916 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3918 break 2
3919 fi
3920done
3921done
3922IFS=$as_save_IFS
3923
3924 ;;
3925esac
3926fi
3927ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3928if test -n "$ac_pt_PKG_CONFIG"; then
3929 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3930echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3931else
3932 { echo "$as_me:$LINENO: result: no" >&5
3933echo "${ECHO_T}no" >&6; }
3934fi
3935
3936 if test "x$ac_pt_PKG_CONFIG" = x; then
3937 PKG_CONFIG=""
3938 else
3939 case $cross_compiling:$ac_tool_warned in
3940yes:)
3941{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3942whose name does not start with the host triplet. If you think this
3943configuration is useful to you, please write to autoconf@gnu.org." >&5
3944echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3945whose name does not start with the host triplet. If you think this
3946configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3947ac_tool_warned=yes ;;
3948esac
3949 PKG_CONFIG=$ac_pt_PKG_CONFIG
3950 fi
3951else
3952 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3953fi
3954
3955fi
3956if test -n "$PKG_CONFIG"; then
3957 _pkg_min_version=0.9.0
3958 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3959echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
3960 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3961 { echo "$as_me:$LINENO: result: yes" >&5
3962echo "${ECHO_T}yes" >&6; }
3963 else
3964 { echo "$as_me:$LINENO: result: no" >&5
3965echo "${ECHO_T}no" >&6; }
3966 PKG_CONFIG=""
3967 fi
3968
3969fi
3970
3971pkg_failed=no
3972{ echo "$as_me:$LINENO: checking for PACKAGE" >&5
3973echo $ECHO_N "checking for PACKAGE... $ECHO_C" >&6; }
3974
3975if test -n "$PKG_CONFIG"; then
3976 if test -n "$PACKAGE_CFLAGS"; then
3977 pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"
3978 else
3979 if test -n "$PKG_CONFIG" && \
3980 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
3981 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
3982 ac_status=$?
3983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3984 (exit $ac_status); }; then
3985 pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null`
3986else
3987 pkg_failed=yes
3988fi
3989 fi
3990else
3991 pkg_failed=untried
3992fi
3993if test -n "$PKG_CONFIG"; then
3994 if test -n "$PACKAGE_LIBS"; then
3995 pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"
3996 else
3997 if test -n "$PKG_CONFIG" && \
3998 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
3999 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
4000 ac_status=$?
4001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4002 (exit $ac_status); }; then
4003 pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null`
4004else
4005 pkg_failed=yes
4006fi
4007 fi
4008else
4009 pkg_failed=untried
4010fi
4011
4012
4013
4014if test $pkg_failed = yes; then
4015
4016if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4017 _pkg_short_errors_supported=yes
4018else
4019 _pkg_short_errors_supported=no
4020fi
4021 if test $_pkg_short_errors_supported = yes; then
4022 PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$pkg_modules"`
4023 else
4024 PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_modules"`
4025 fi
4026 # Put the nasty error message in config.log where it belongs
4027 echo "$PACKAGE_PKG_ERRORS" >&5
4028
4029 { { echo "$as_me:$LINENO: error: Package requirements ($pkg_modules) were not met:
4030
4031$PACKAGE_PKG_ERRORS
4032
4033Consider adjusting the PKG_CONFIG_PATH environment variable if you
4034installed software in a non-standard prefix.
4035
4036Alternatively, you may set the environment variables PACKAGE_CFLAGS
4037and PACKAGE_LIBS to avoid the need to call pkg-config.
4038See the pkg-config man page for more details.
4039" >&5
4040echo "$as_me: error: Package requirements ($pkg_modules) were not met:
4041
4042$PACKAGE_PKG_ERRORS
4043
4044Consider adjusting the PKG_CONFIG_PATH environment variable if you
4045installed software in a non-standard prefix.
4046
4047