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