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