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