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