blob: b3021deb92e7851433506820035e1a484ff6445c [file] [log] [blame]
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
Ward Vandewegeebc92182008-08-06 20:37:38 +00003# Generated by GNU Autoconf 2.61.
Stefan Reinauerb34eea32008-02-15 18:16:06 +00004#
Ward Vandewegeebc92182008-08-06 20:37:38 +00005# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
Stefan Reinauerb34eea32008-02-15 18:16:06 +00007# 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
Ward Vandewegeebc92182008-08-06 20:37:38 +000013# Be more Bourne compatible
14DUALCASE=1; export DUALCASE # for MKS sh
Stefan Reinauerb34eea32008-02-15 18:16:06 +000015if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
Ward Vandewegeebc92182008-08-06 20:37:38 +000021 setopt NO_GLOB_SUBST
Stefan Reinauerb34eea32008-02-15 18:16:06 +000022else
Ward Vandewegeebc92182008-08-06 20:37:38 +000023 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
25esac
26
Stefan Reinauerb34eea32008-02-15 18:16:06 +000027fi
28
29
Stefan Reinauerb34eea32008-02-15 18:16:06 +000030
31
Ward Vandewegeebc92182008-08-06 20:37:38 +000032# PATH needs CR
Stefan Reinauerb34eea32008-02-15 18:16:06 +000033# Avoid depending upon Character Ranges.
34as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37as_cr_digits='0123456789'
38as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40# The user is always right.
41if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
44 chmod +x conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46 PATH_SEPARATOR=';'
47 else
48 PATH_SEPARATOR=:
49 fi
50 rm -f conf$$.sh
51fi
52
Ward Vandewegeebc92182008-08-06 20:37:38 +000053# Support unset when possible.
54if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55 as_unset=unset
56else
57 as_unset=false
58fi
Stefan Reinauerb34eea32008-02-15 18:16:06 +000059
Ward Vandewegeebc92182008-08-06 20:37:38 +000060
61# IFS
62# We need space, tab and new line, in precisely that order. Quoting is
63# there to prevent editors from complaining about space-tab.
64# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65# splitting by setting IFS to empty value.)
66as_nl='
67'
68IFS=" "" $as_nl"
69
70# Find who we are. Look in the path if we contain no directory separator.
71case $0 in
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Stefan Reinauerb34eea32008-02-15 18:16:06 +000074for as_dir in $PATH
75do
76 IFS=$as_save_IFS
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79done
Ward Vandewegeebc92182008-08-06 20:37:38 +000080IFS=$as_save_IFS
Stefan Reinauerb34eea32008-02-15 18:16:06 +000081
Ward Vandewegeebc92182008-08-06 20:37:38 +000082 ;;
83esac
84# We did not find ourselves, most probably we were run as `sh COMMAND'
85# in which case we are not to be found in the path.
86if test "x$as_myself" = x; then
87 as_myself=$0
88fi
89if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 { (exit 1); exit 1; }
92fi
93
94# Work around bugs in pre-3.0 UWIN ksh.
95for as_var in ENV MAIL MAILPATH
96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97done
98PS1='$ '
99PS2='> '
100PS4='+ '
101
102# NLS nuisances.
103for as_var in \
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 LC_TELEPHONE LC_TIME
107do
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
110 else
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000112 fi
Ward Vandewegeebc92182008-08-06 20:37:38 +0000113done
114
115# Required to use basename.
116if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
118 as_expr=expr
119else
120 as_expr=false
121fi
122
123if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124 as_basename=basename
125else
126 as_basename=false
127fi
128
129
130# Name of the executable.
131as_me=`$as_basename -- "$0" ||
132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135echo X/"$0" |
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
137 s//\1/
138 q
139 }
140 /^X\/\(\/\/\)$/{
141 s//\1/
142 q
143 }
144 /^X\/\(\/\).*/{
145 s//\1/
146 q
147 }
148 s/.*/./; q'`
149
150# CDPATH.
151$as_unset CDPATH
152
153
154if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
156 as_have_required=yes
157else
158 as_have_required=no
159fi
160
161 if test $as_have_required = yes && (eval ":
162(as_func_return () {
163 (exit \$1)
164}
165as_func_success () {
166 as_func_return 0
167}
168as_func_failure () {
169 as_func_return 1
170}
171as_func_ret_success () {
172 return 0
173}
174as_func_ret_failure () {
175 return 1
176}
177
178exitcode=0
179if as_func_success; then
180 :
181else
182 exitcode=1
183 echo as_func_success failed.
184fi
185
186if as_func_failure; then
187 exitcode=1
188 echo as_func_failure succeeded.
189fi
190
191if as_func_ret_success; then
192 :
193else
194 exitcode=1
195 echo as_func_ret_success failed.
196fi
197
198if as_func_ret_failure; then
199 exitcode=1
200 echo as_func_ret_failure succeeded.
201fi
202
203if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204 :
205else
206 exitcode=1
207 echo positional parameters were not saved.
208fi
209
210test \$exitcode = 0) || { (exit 1); exit 1; }
211
212(
213 as_lineno_1=\$LINENO
214 as_lineno_2=\$LINENO
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217") 2> /dev/null; then
218 :
219else
220 as_candidate_shells=
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223do
224 IFS=$as_save_IFS
225 test -z "$as_dir" && as_dir=.
Ward Vandewegeebc92182008-08-06 20:37:38 +0000226 case $as_dir in
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000227 /*)
Ward Vandewegeebc92182008-08-06 20:37:38 +0000228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230 done;;
231 esac
232done
233IFS=$as_save_IFS
234
235
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 emulate sh
242 NULLCMD=:
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
246 setopt NO_GLOB_SUBST
247else
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
250esac
251
252fi
253
254
255:
256_ASEOF
257}; then
258 CONFIG_SHELL=$as_shell
259 as_have_required=yes
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271esac
272
273fi
274
275
276:
277(as_func_return () {
278 (exit $1)
279}
280as_func_success () {
281 as_func_return 0
282}
283as_func_failure () {
284 as_func_return 1
285}
286as_func_ret_success () {
287 return 0
288}
289as_func_ret_failure () {
290 return 1
291}
292
293exitcode=0
294if as_func_success; then
295 :
296else
297 exitcode=1
298 echo as_func_success failed.
299fi
300
301if as_func_failure; then
302 exitcode=1
303 echo as_func_failure succeeded.
304fi
305
306if as_func_ret_success; then
307 :
308else
309 exitcode=1
310 echo as_func_ret_success failed.
311fi
312
313if as_func_ret_failure; then
314 exitcode=1
315 echo as_func_ret_failure succeeded.
316fi
317
318if ( set x; as_func_ret_success y && test x = "$1" ); then
319 :
320else
321 exitcode=1
322 echo positional parameters were not saved.
323fi
324
325test $exitcode = 0) || { (exit 1); exit 1; }
326
327(
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000328 as_lineno_1=$LINENO
329 as_lineno_2=$LINENO
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000330 test "x$as_lineno_1" != "x$as_lineno_2" &&
Ward Vandewegeebc92182008-08-06 20:37:38 +0000331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
333_ASEOF
334}; then
335 break
336fi
337
338fi
339
340 done
341
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345 done
346 export CONFIG_SHELL
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348fi
349
350
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
357fi
358
359
360fi
361
362fi
363
364
365
366(eval "as_func_return () {
367 (exit \$1)
368}
369as_func_success () {
370 as_func_return 0
371}
372as_func_failure () {
373 as_func_return 1
374}
375as_func_ret_success () {
376 return 0
377}
378as_func_ret_failure () {
379 return 1
380}
381
382exitcode=0
383if as_func_success; then
384 :
385else
386 exitcode=1
387 echo as_func_success failed.
388fi
389
390if as_func_failure; then
391 exitcode=1
392 echo as_func_failure succeeded.
393fi
394
395if as_func_ret_success; then
396 :
397else
398 exitcode=1
399 echo as_func_ret_success failed.
400fi
401
402if as_func_ret_failure; then
403 exitcode=1
404 echo as_func_ret_failure succeeded.
405fi
406
407if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408 :
409else
410 exitcode=1
411 echo positional parameters were not saved.
412fi
413
414test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
418 echo message
419}
420
421
422
423 as_lineno_1=$LINENO
424 as_lineno_2=$LINENO
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000427
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
Ward Vandewegeebc92182008-08-06 20:37:38 +0000430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
434 # case at line end.
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
Ward Vandewegeebc92182008-08-06 20:37:38 +0000436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
438 sed -n '
439 p
440 /[$]LINENO/=
441 ' <$as_myself |
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000442 sed '
Ward Vandewegeebc92182008-08-06 20:37:38 +0000443 s/[$]LINENO.*/&-/
444 t lineno
445 b
446 :lineno
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000447 N
Ward Vandewegeebc92182008-08-06 20:37:38 +0000448 :loop
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000450 t loop
Ward Vandewegeebc92182008-08-06 20:37:38 +0000451 s/-\n.*//
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000452 ' >$as_me.lineno &&
Ward Vandewegeebc92182008-08-06 20:37:38 +0000453 chmod +x "$as_me.lineno" ||
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
456
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
Ward Vandewegeebc92182008-08-06 20:37:38 +0000459 # original and so on. Autoconf is especially sensitive to this).
460 . "./$as_me.lineno"
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000461 # Exit status is that of the last command.
462 exit
463}
464
465
Ward Vandewegeebc92182008-08-06 20:37:38 +0000466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467 as_dirname=dirname
468else
469 as_dirname=false
470fi
471
472ECHO_C= ECHO_N= ECHO_T=
473case `echo -n x` in
474-n*)
475 case `echo 'x\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) ECHO_C='\c';;
478 esac;;
479*)
480 ECHO_N='-n';;
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000481esac
482
Ward Vandewegeebc92182008-08-06 20:37:38 +0000483if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000485 as_expr=expr
486else
487 as_expr=false
488fi
489
490rm -f conf$$ conf$$.exe conf$$.file
Ward Vandewegeebc92182008-08-06 20:37:38 +0000491if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
493else
494 rm -f conf$$.dir
495 mkdir conf$$.dir
496fi
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000497echo >conf$$.file
498if ln -s conf$$.file conf$$ 2>/dev/null; then
Ward Vandewegeebc92182008-08-06 20:37:38 +0000499 as_ln_s='ln -s'
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000505 as_ln_s='cp -p'
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000506elif ln conf$$.file conf$$ 2>/dev/null; then
507 as_ln_s=ln
508else
509 as_ln_s='cp -p'
510fi
Ward Vandewegeebc92182008-08-06 20:37:38 +0000511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512rmdir conf$$.dir 2>/dev/null
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000513
514if mkdir -p . 2>/dev/null; then
515 as_mkdir_p=:
516else
517 test -d ./-p && rmdir ./-p
518 as_mkdir_p=false
519fi
520
Ward Vandewegeebc92182008-08-06 20:37:38 +0000521if test -x / >/dev/null 2>&1; then
522 as_test_x='test -x'
523else
524 if ls -dL / >/dev/null 2>&1; then
525 as_ls_L_option=L
526 else
527 as_ls_L_option=
528 fi
529 as_test_x='
530 eval sh -c '\''
531 if test -d "$1"; then
532 test -d "$1/.";
533 else
534 case $1 in
535 -*)set "./$1";;
536 esac;
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
539 '\'' sh
540 '
541fi
542as_executable_p=$as_test_x
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000543
544# Sed expression to map a string onto a valid CPP name.
545as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546
547# Sed expression to map a string onto a valid variable name.
548as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
550
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000551
Ward Vandewegeebc92182008-08-06 20:37:38 +0000552exec 7<&0 </dev/null 6>&1
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000553
554# Name of the host.
555# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556# so uname gets run too.
557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000559#
560# Initializations.
561#
562ac_default_prefix=/usr/local
Ward Vandewegeebc92182008-08-06 20:37:38 +0000563ac_clean_files=
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000564ac_config_libobj_dir=.
Ward Vandewegeebc92182008-08-06 20:37:38 +0000565LIBOBJS=
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000566cross_compiling=no
567subdirs=
568MFLAGS=
569MAKEFLAGS=
570SHELL=${CONFIG_SHELL-/bin/sh}
571
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000572# Identity of this package.
573PACKAGE_NAME=
574PACKAGE_TARNAME=
575PACKAGE_VERSION=
576PACKAGE_STRING=
577PACKAGE_BUGREPORT=
578
579ac_unique_file="Makefile.conf.in"
580# Factoring default headers for most tests.
581ac_includes_default="\
582#include <stdio.h>
Ward Vandewegeebc92182008-08-06 20:37:38 +0000583#ifdef HAVE_SYS_TYPES_H
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000584# include <sys/types.h>
585#endif
Ward Vandewegeebc92182008-08-06 20:37:38 +0000586#ifdef HAVE_SYS_STAT_H
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000587# include <sys/stat.h>
588#endif
Ward Vandewegeebc92182008-08-06 20:37:38 +0000589#ifdef STDC_HEADERS
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000590# include <stdlib.h>
591# include <stddef.h>
592#else
Ward Vandewegeebc92182008-08-06 20:37:38 +0000593# ifdef HAVE_STDLIB_H
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000594# include <stdlib.h>
595# endif
596#endif
Ward Vandewegeebc92182008-08-06 20:37:38 +0000597#ifdef HAVE_STRING_H
598# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000599# include <memory.h>
600# endif
601# include <string.h>
602#endif
Ward Vandewegeebc92182008-08-06 20:37:38 +0000603#ifdef HAVE_STRINGS_H
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000604# include <strings.h>
605#endif
Ward Vandewegeebc92182008-08-06 20:37:38 +0000606#ifdef HAVE_INTTYPES_H
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000607# include <inttypes.h>
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000608#endif
Ward Vandewegeebc92182008-08-06 20:37:38 +0000609#ifdef HAVE_STDINT_H
610# include <stdint.h>
611#endif
612#ifdef HAVE_UNISTD_H
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000613# include <unistd.h>
614#endif"
615
Ward Vandewegeebc92182008-08-06 20:37:38 +0000616ac_subst_vars='SHELL
617PATH_SEPARATOR
618PACKAGE_NAME
619PACKAGE_TARNAME
620PACKAGE_VERSION
621PACKAGE_STRING
622PACKAGE_BUGREPORT
623exec_prefix
624prefix
625program_transform_name
626bindir
627sbindir
628libexecdir
629datarootdir
630datadir
631sysconfdir
632sharedstatedir
633localstatedir
634includedir
635oldincludedir
636docdir
637infodir
638htmldir
639dvidir
640pdfdir
641psdir
642libdir
643localedir
644mandir
645DEFS
646ECHO_C
647ECHO_N
648ECHO_T
649LIBS
650build_alias
651host_alias
652target_alias
653build
654build_cpu
655build_vendor
656build_os
657host
658host_cpu
659host_vendor
660host_os
661CC
662CFLAGS
663LDFLAGS
664CPPFLAGS
665ac_ct_CC
666EXEEXT
667OBJEXT
668MKDIR
669RM
670CP
671LN
672TAR
673RPM
674SED
675FIND
676CPP
677GREP
678EGREP
679LD
680AS
681OBJCOPY
682I386_CC
683I386_CPP
684I386_LD
685I386_AS
686I386_OBJCOPY
687IA64_CC
688IA64_CPP
689IA64_LD
690IA64_AS
691IA64_OBJCOPY
692HOST_CC
693HOST_CFLAGS
694I386_CFLAGS
695I386_ASFLAGS
696I386_LDFLAGS
697IA64_CFLAGS
698IA64_ASFLAGS
699IA64_LDFLAGS
700LIBOBJS
701LTLIBOBJS'
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000702ac_subst_files=''
Ward Vandewegeebc92182008-08-06 20:37:38 +0000703 ac_precious_vars='build_alias
704host_alias
705target_alias
706CC
707CFLAGS
708LDFLAGS
709LIBS
710CPPFLAGS
711CPP'
712
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000713
714# Initialize some variables set by options.
715ac_init_help=
716ac_init_version=false
717# The variables have the same names as the options, with
718# dashes changed to underlines.
719cache_file=/dev/null
720exec_prefix=NONE
721no_create=
722no_recursion=
723prefix=NONE
724program_prefix=NONE
725program_suffix=NONE
726program_transform_name=s,x,x,
727silent=
728site=
729srcdir=
730verbose=
731x_includes=NONE
732x_libraries=NONE
733
734# Installation directory options.
735# These are left unexpanded so users can "make install exec_prefix=/foo"
736# and all the variables that are supposed to be based on exec_prefix
737# by default will actually change.
738# Use braces instead of parens because sh, perl, etc. also accept them.
Ward Vandewegeebc92182008-08-06 20:37:38 +0000739# (The list follows the same order as the GNU Coding Standards.)
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000740bindir='${exec_prefix}/bin'
741sbindir='${exec_prefix}/sbin'
742libexecdir='${exec_prefix}/libexec'
Ward Vandewegeebc92182008-08-06 20:37:38 +0000743datarootdir='${prefix}/share'
744datadir='${datarootdir}'
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000745sysconfdir='${prefix}/etc'
746sharedstatedir='${prefix}/com'
747localstatedir='${prefix}/var'
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000748includedir='${prefix}/include'
749oldincludedir='/usr/include'
Ward Vandewegeebc92182008-08-06 20:37:38 +0000750docdir='${datarootdir}/doc/${PACKAGE}'
751infodir='${datarootdir}/info'
752htmldir='${docdir}'
753dvidir='${docdir}'
754pdfdir='${docdir}'
755psdir='${docdir}'
756libdir='${exec_prefix}/lib'
757localedir='${datarootdir}/locale'
758mandir='${datarootdir}/man'
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000759
760ac_prev=
Ward Vandewegeebc92182008-08-06 20:37:38 +0000761ac_dashdash=
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000762for ac_option
763do
764 # If the previous option needs an argument, assign it.
765 if test -n "$ac_prev"; then
Ward Vandewegeebc92182008-08-06 20:37:38 +0000766 eval $ac_prev=\$ac_option
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000767 ac_prev=
768 continue
769 fi
770
Ward Vandewegeebc92182008-08-06 20:37:38 +0000771 case $ac_option in
772 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
773 *) ac_optarg=yes ;;
774 esac
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000775
776 # Accept the important Cygnus configure options, so we can diagnose typos.
777
Ward Vandewegeebc92182008-08-06 20:37:38 +0000778 case $ac_dashdash$ac_option in
779 --)
780 ac_dashdash=yes ;;
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000781
782 -bindir | --bindir | --bindi | --bind | --bin | --bi)
783 ac_prev=bindir ;;
784 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
785 bindir=$ac_optarg ;;
786
787 -build | --build | --buil | --bui | --bu)
788 ac_prev=build_alias ;;
789 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
790 build_alias=$ac_optarg ;;
791
792 -cache-file | --cache-file | --cache-fil | --cache-fi \
793 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
794 ac_prev=cache_file ;;
795 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
796 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
797 cache_file=$ac_optarg ;;
798
799 --config-cache | -C)
800 cache_file=config.cache ;;
801
Ward Vandewegeebc92182008-08-06 20:37:38 +0000802 -datadir | --datadir | --datadi | --datad)
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000803 ac_prev=datadir ;;
Ward Vandewegeebc92182008-08-06 20:37:38 +0000804 -datadir=* | --datadir=* | --datadi=* | --datad=*)
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000805 datadir=$ac_optarg ;;
806
Ward Vandewegeebc92182008-08-06 20:37:38 +0000807 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
808 | --dataroo | --dataro | --datar)
809 ac_prev=datarootdir ;;
810 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
811 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
812 datarootdir=$ac_optarg ;;
813
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000814 -disable-* | --disable-*)
815 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
816 # Reject names that are not valid shell variable names.
Ward Vandewegeebc92182008-08-06 20:37:38 +0000817 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000818 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
819 { (exit 1); exit 1; }; }
Ward Vandewegeebc92182008-08-06 20:37:38 +0000820 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
821 eval enable_$ac_feature=no ;;
822
823 -docdir | --docdir | --docdi | --doc | --do)
824 ac_prev=docdir ;;
825 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
826 docdir=$ac_optarg ;;
827
828 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
829 ac_prev=dvidir ;;
830 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
831 dvidir=$ac_optarg ;;
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000832
833 -enable-* | --enable-*)
834 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
835 # Reject names that are not valid shell variable names.
Ward Vandewegeebc92182008-08-06 20:37:38 +0000836 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000837 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
838 { (exit 1); exit 1; }; }
Ward Vandewegeebc92182008-08-06 20:37:38 +0000839 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
840 eval enable_$ac_feature=\$ac_optarg ;;
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000841
842 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
843 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
844 | --exec | --exe | --ex)
845 ac_prev=exec_prefix ;;
846 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
847 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
848 | --exec=* | --exe=* | --ex=*)
849 exec_prefix=$ac_optarg ;;
850
851 -gas | --gas | --ga | --g)
852 # Obsolete; use --with-gas.
853 with_gas=yes ;;
854
855 -help | --help | --hel | --he | -h)
856 ac_init_help=long ;;
857 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
858 ac_init_help=recursive ;;
859 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
860 ac_init_help=short ;;
861
862 -host | --host | --hos | --ho)
863 ac_prev=host_alias ;;
864 -host=* | --host=* | --hos=* | --ho=*)
865 host_alias=$ac_optarg ;;
866
Ward Vandewegeebc92182008-08-06 20:37:38 +0000867 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
868 ac_prev=htmldir ;;
869 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
870 | --ht=*)
871 htmldir=$ac_optarg ;;
872
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000873 -includedir | --includedir | --includedi | --included | --include \
874 | --includ | --inclu | --incl | --inc)
875 ac_prev=includedir ;;
876 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
877 | --includ=* | --inclu=* | --incl=* | --inc=*)
878 includedir=$ac_optarg ;;
879
880 -infodir | --infodir | --infodi | --infod | --info | --inf)
881 ac_prev=infodir ;;
882 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
883 infodir=$ac_optarg ;;
884
885 -libdir | --libdir | --libdi | --libd)
886 ac_prev=libdir ;;
887 -libdir=* | --libdir=* | --libdi=* | --libd=*)
888 libdir=$ac_optarg ;;
889
890 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
891 | --libexe | --libex | --libe)
892 ac_prev=libexecdir ;;
893 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
894 | --libexe=* | --libex=* | --libe=*)
895 libexecdir=$ac_optarg ;;
896
Ward Vandewegeebc92182008-08-06 20:37:38 +0000897 -localedir | --localedir | --localedi | --localed | --locale)
898 ac_prev=localedir ;;
899 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
900 localedir=$ac_optarg ;;
901
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000902 -localstatedir | --localstatedir | --localstatedi | --localstated \
Ward Vandewegeebc92182008-08-06 20:37:38 +0000903 | --localstate | --localstat | --localsta | --localst | --locals)
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000904 ac_prev=localstatedir ;;
905 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
Ward Vandewegeebc92182008-08-06 20:37:38 +0000906 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000907 localstatedir=$ac_optarg ;;
908
909 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
910 ac_prev=mandir ;;
911 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
912 mandir=$ac_optarg ;;
913
914 -nfp | --nfp | --nf)
915 # Obsolete; use --without-fp.
916 with_fp=no ;;
917
918 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
919 | --no-cr | --no-c | -n)
920 no_create=yes ;;
921
922 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
923 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
924 no_recursion=yes ;;
925
926 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
927 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
928 | --oldin | --oldi | --old | --ol | --o)
929 ac_prev=oldincludedir ;;
930 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
931 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
932 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
933 oldincludedir=$ac_optarg ;;
934
935 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
936 ac_prev=prefix ;;
937 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
938 prefix=$ac_optarg ;;
939
940 -program-prefix | --program-prefix | --program-prefi | --program-pref \
941 | --program-pre | --program-pr | --program-p)
942 ac_prev=program_prefix ;;
943 -program-prefix=* | --program-prefix=* | --program-prefi=* \
944 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
945 program_prefix=$ac_optarg ;;
946
947 -program-suffix | --program-suffix | --program-suffi | --program-suff \
948 | --program-suf | --program-su | --program-s)
949 ac_prev=program_suffix ;;
950 -program-suffix=* | --program-suffix=* | --program-suffi=* \
951 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
952 program_suffix=$ac_optarg ;;
953
954 -program-transform-name | --program-transform-name \
955 | --program-transform-nam | --program-transform-na \
956 | --program-transform-n | --program-transform- \
957 | --program-transform | --program-transfor \
958 | --program-transfo | --program-transf \
959 | --program-trans | --program-tran \
960 | --progr-tra | --program-tr | --program-t)
961 ac_prev=program_transform_name ;;
962 -program-transform-name=* | --program-transform-name=* \
963 | --program-transform-nam=* | --program-transform-na=* \
964 | --program-transform-n=* | --program-transform-=* \
965 | --program-transform=* | --program-transfor=* \
966 | --program-transfo=* | --program-transf=* \
967 | --program-trans=* | --program-tran=* \
968 | --progr-tra=* | --program-tr=* | --program-t=*)
969 program_transform_name=$ac_optarg ;;
970
Ward Vandewegeebc92182008-08-06 20:37:38 +0000971 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
972 ac_prev=pdfdir ;;
973 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
974 pdfdir=$ac_optarg ;;
975
976 -psdir | --psdir | --psdi | --psd | --ps)
977 ac_prev=psdir ;;
978 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
979 psdir=$ac_optarg ;;
980
Stefan Reinauerb34eea32008-02-15 18:16:06 +0000981 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
982 | -silent | --silent | --silen | --sile | --sil)
983 silent=yes ;;
984
985 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
986 ac_prev=sbindir ;;
987 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
988 | --sbi=* | --sb=*)
989 sbindir=$ac_optarg ;;
990
991 -sharedstatedir | --sharedstatedir | --sharedstatedi \
992 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
993 | --sharedst | --shareds | --shared | --share | --shar \
994 | --sha | --sh)
995 ac_prev=sharedstatedir ;;
996 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
997 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
998 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
999 | --sha=* | --sh=*)
1000 sharedstatedir=$ac_optarg ;;
1001
1002 -site | --site | --sit)
1003 ac_prev=site ;;
1004 -site=* | --site=* | --sit=*)
1005 site=$ac_optarg ;;
1006
1007 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1008 ac_prev=srcdir ;;
1009 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1010 srcdir=$ac_optarg ;;
1011
1012 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1013 | --syscon | --sysco | --sysc | --sys | --sy)
1014 ac_prev=sysconfdir ;;
1015 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1016 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1017 sysconfdir=$ac_optarg ;;
1018
1019 -target | --target | --targe | --targ | --tar | --ta | --t)
1020 ac_prev=target_alias ;;
1021 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1022 target_alias=$ac_optarg ;;
1023
1024 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1025 verbose=yes ;;
1026
1027 -version | --version | --versio | --versi | --vers | -V)
1028 ac_init_version=: ;;
1029
1030 -with-* | --with-*)
1031 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1032 # Reject names that are not valid shell variable names.
Ward Vandewegeebc92182008-08-06 20:37:38 +00001033 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001034 { echo "$as_me: error: invalid package name: $ac_package" >&2
1035 { (exit 1); exit 1; }; }
Ward Vandewegeebc92182008-08-06 20:37:38 +00001036 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1037 eval with_$ac_package=\$ac_optarg ;;
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001038
1039 -without-* | --without-*)
1040 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1041 # Reject names that are not valid shell variable names.
Ward Vandewegeebc92182008-08-06 20:37:38 +00001042 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001043 { echo "$as_me: error: invalid package name: $ac_package" >&2
1044 { (exit 1); exit 1; }; }
Ward Vandewegeebc92182008-08-06 20:37:38 +00001045 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1046 eval with_$ac_package=no ;;
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001047
1048 --x)
1049 # Obsolete; use --with-x.
1050 with_x=yes ;;
1051
1052 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1053 | --x-incl | --x-inc | --x-in | --x-i)
1054 ac_prev=x_includes ;;
1055 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1056 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1057 x_includes=$ac_optarg ;;
1058
1059 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1060 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1061 ac_prev=x_libraries ;;
1062 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1063 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1064 x_libraries=$ac_optarg ;;
1065
1066 -*) { echo "$as_me: error: unrecognized option: $ac_option
1067Try \`$0 --help' for more information." >&2
1068 { (exit 1); exit 1; }; }
1069 ;;
1070
1071 *=*)
1072 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1073 # Reject names that are not valid shell variable names.
1074 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1075 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1076 { (exit 1); exit 1; }; }
Ward Vandewegeebc92182008-08-06 20:37:38 +00001077 eval $ac_envvar=\$ac_optarg
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001078 export $ac_envvar ;;
1079
1080 *)
1081 # FIXME: should be removed in autoconf 3.0.
1082 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1083 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1084 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1085 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1086 ;;
1087
1088 esac
1089done
1090
1091if test -n "$ac_prev"; then
1092 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1093 { echo "$as_me: error: missing argument to $ac_option" >&2
1094 { (exit 1); exit 1; }; }
1095fi
1096
Ward Vandewegeebc92182008-08-06 20:37:38 +00001097# Be sure to have absolute directory names.
1098for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1099 datadir sysconfdir sharedstatedir localstatedir includedir \
1100 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1101 libdir localedir mandir
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001102do
Ward Vandewegeebc92182008-08-06 20:37:38 +00001103 eval ac_val=\$$ac_var
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001104 case $ac_val in
Ward Vandewegeebc92182008-08-06 20:37:38 +00001105 [\\/$]* | ?:[\\/]* ) continue;;
1106 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001107 esac
Ward Vandewegeebc92182008-08-06 20:37:38 +00001108 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1109 { (exit 1); exit 1; }; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001110done
1111
1112# There might be people who depend on the old broken behavior: `$host'
1113# used to hold the argument of --host etc.
1114# FIXME: To remove some day.
1115build=$build_alias
1116host=$host_alias
1117target=$target_alias
1118
1119# FIXME: To remove some day.
1120if test "x$host_alias" != x; then
1121 if test "x$build_alias" = x; then
1122 cross_compiling=maybe
1123 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1124 If a cross compiler is detected then cross compile mode will be used." >&2
1125 elif test "x$build_alias" != "x$host_alias"; then
1126 cross_compiling=yes
1127 fi
1128fi
1129
1130ac_tool_prefix=
1131test -n "$host_alias" && ac_tool_prefix=$host_alias-
1132
1133test "$silent" = yes && exec 6>/dev/null
1134
1135
Ward Vandewegeebc92182008-08-06 20:37:38 +00001136ac_pwd=`pwd` && test -n "$ac_pwd" &&
1137ac_ls_di=`ls -di .` &&
1138ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1139 { echo "$as_me: error: Working directory cannot be determined" >&2
1140 { (exit 1); exit 1; }; }
1141test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1142 { echo "$as_me: error: pwd does not report name of working directory" >&2
1143 { (exit 1); exit 1; }; }
1144
1145
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001146# Find the source files, if location was not specified.
1147if test -z "$srcdir"; then
1148 ac_srcdir_defaulted=yes
Ward Vandewegeebc92182008-08-06 20:37:38 +00001149 # Try the directory containing this script, then the parent directory.
1150 ac_confdir=`$as_dirname -- "$0" ||
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001151$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1152 X"$0" : 'X\(//\)[^/]' \| \
1153 X"$0" : 'X\(//\)$' \| \
Ward Vandewegeebc92182008-08-06 20:37:38 +00001154 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001155echo X"$0" |
Ward Vandewegeebc92182008-08-06 20:37:38 +00001156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1157 s//\1/
1158 q
1159 }
1160 /^X\(\/\/\)[^/].*/{
1161 s//\1/
1162 q
1163 }
1164 /^X\(\/\/\)$/{
1165 s//\1/
1166 q
1167 }
1168 /^X\(\/\).*/{
1169 s//\1/
1170 q
1171 }
1172 s/.*/./; q'`
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001173 srcdir=$ac_confdir
Ward Vandewegeebc92182008-08-06 20:37:38 +00001174 if test ! -r "$srcdir/$ac_unique_file"; then
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001175 srcdir=..
1176 fi
1177else
1178 ac_srcdir_defaulted=no
1179fi
Ward Vandewegeebc92182008-08-06 20:37:38 +00001180if test ! -r "$srcdir/$ac_unique_file"; then
1181 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1182 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001183 { (exit 1); exit 1; }; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001184fi
Ward Vandewegeebc92182008-08-06 20:37:38 +00001185ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1186ac_abs_confdir=`(
1187 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001188 { (exit 1); exit 1; }; }
Ward Vandewegeebc92182008-08-06 20:37:38 +00001189 pwd)`
1190# When building in place, set srcdir=.
1191if test "$ac_abs_confdir" = "$ac_pwd"; then
1192 srcdir=.
1193fi
1194# Remove unnecessary trailing slashes from srcdir.
1195# Double slashes in file names in object file debugging info
1196# mess up M-x gdb in Emacs.
1197case $srcdir in
1198*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1199esac
1200for ac_var in $ac_precious_vars; do
1201 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1202 eval ac_env_${ac_var}_value=\$${ac_var}
1203 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1204 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1205done
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001206
1207#
1208# Report the --help message.
1209#
1210if test "$ac_init_help" = "long"; then
1211 # Omit some internal or obsolete options to make the list less imposing.
1212 # This message is too long to be a string in the A/UX 3.1 sh.
1213 cat <<_ACEOF
1214\`configure' configures this package to adapt to many kinds of systems.
1215
1216Usage: $0 [OPTION]... [VAR=VALUE]...
1217
1218To assign environment variables (e.g., CC, CFLAGS...), specify them as
1219VAR=VALUE. See below for descriptions of some of the useful variables.
1220
1221Defaults for the options are specified in brackets.
1222
1223Configuration:
1224 -h, --help display this help and exit
1225 --help=short display options specific to this package
1226 --help=recursive display the short help of all the included packages
1227 -V, --version display version information and exit
1228 -q, --quiet, --silent do not print \`checking...' messages
1229 --cache-file=FILE cache test results in FILE [disabled]
1230 -C, --config-cache alias for \`--cache-file=config.cache'
1231 -n, --no-create do not create output files
1232 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1233
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001234Installation directories:
1235 --prefix=PREFIX install architecture-independent files in PREFIX
1236 [$ac_default_prefix]
1237 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1238 [PREFIX]
1239
1240By default, \`make install' will install all the files in
1241\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1242an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1243for instance \`--prefix=\$HOME'.
1244
1245For better control, use the options below.
1246
1247Fine tuning of the installation directories:
1248 --bindir=DIR user executables [EPREFIX/bin]
1249 --sbindir=DIR system admin executables [EPREFIX/sbin]
1250 --libexecdir=DIR program executables [EPREFIX/libexec]
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001251 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1252 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1253 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1254 --libdir=DIR object code libraries [EPREFIX/lib]
1255 --includedir=DIR C header files [PREFIX/include]
1256 --oldincludedir=DIR C header files for non-gcc [/usr/include]
Ward Vandewegeebc92182008-08-06 20:37:38 +00001257 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1258 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1259 --infodir=DIR info documentation [DATAROOTDIR/info]
1260 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1261 --mandir=DIR man documentation [DATAROOTDIR/man]
1262 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1263 --htmldir=DIR html documentation [DOCDIR]
1264 --dvidir=DIR dvi documentation [DOCDIR]
1265 --pdfdir=DIR pdf documentation [DOCDIR]
1266 --psdir=DIR ps documentation [DOCDIR]
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001267_ACEOF
1268
1269 cat <<\_ACEOF
1270
1271System types:
1272 --build=BUILD configure for building on BUILD [guessed]
1273 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1274_ACEOF
1275fi
1276
1277if test -n "$ac_init_help"; then
1278
1279 cat <<\_ACEOF
1280
1281Optional Packages:
1282 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1283 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1284 --with-i386 enable building i386 code
1285 --with-ia64 enable building ia64 code
1286
1287Some influential environment variables:
1288 CC C compiler command
1289 CFLAGS C compiler flags
1290 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1291 nonstandard directory <lib dir>
Ward Vandewegeebc92182008-08-06 20:37:38 +00001292 LIBS libraries to pass to the linker, e.g. -l<library>
1293 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1294 you have headers in a nonstandard directory <include dir>
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001295 CPP C preprocessor
1296
1297Use these variables to override the choices made by `configure' or to help
1298it to find libraries and programs with nonstandard names/locations.
1299
1300_ACEOF
Ward Vandewegeebc92182008-08-06 20:37:38 +00001301ac_status=$?
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001302fi
1303
1304if test "$ac_init_help" = "recursive"; then
1305 # If there are subdirs, report their specific --help.
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001306 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
Ward Vandewegeebc92182008-08-06 20:37:38 +00001307 test -d "$ac_dir" || continue
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001308 ac_builddir=.
1309
Ward Vandewegeebc92182008-08-06 20:37:38 +00001310case "$ac_dir" in
1311.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1312*)
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001313 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
Ward Vandewegeebc92182008-08-06 20:37:38 +00001314 # A ".." for each directory in $ac_dir_suffix.
1315 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1316 case $ac_top_builddir_sub in
1317 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1318 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1319 esac ;;
1320esac
1321ac_abs_top_builddir=$ac_pwd
1322ac_abs_builddir=$ac_pwd$ac_dir_suffix
1323# for backward compatibility:
1324ac_top_builddir=$ac_top_build_prefix
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001325
1326case $srcdir in
Ward Vandewegeebc92182008-08-06 20:37:38 +00001327 .) # We are building in place.
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001328 ac_srcdir=.
Ward Vandewegeebc92182008-08-06 20:37:38 +00001329 ac_top_srcdir=$ac_top_builddir_sub
1330 ac_abs_top_srcdir=$ac_pwd ;;
1331 [\\/]* | ?:[\\/]* ) # Absolute name.
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001332 ac_srcdir=$srcdir$ac_dir_suffix;
Ward Vandewegeebc92182008-08-06 20:37:38 +00001333 ac_top_srcdir=$srcdir
1334 ac_abs_top_srcdir=$srcdir ;;
1335 *) # Relative name.
1336 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1337 ac_top_srcdir=$ac_top_build_prefix$srcdir
1338 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001339esac
Ward Vandewegeebc92182008-08-06 20:37:38 +00001340ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001341
Ward Vandewegeebc92182008-08-06 20:37:38 +00001342 cd "$ac_dir" || { ac_status=$?; continue; }
1343 # Check for guested configure.
1344 if test -f "$ac_srcdir/configure.gnu"; then
1345 echo &&
1346 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1347 elif test -f "$ac_srcdir/configure"; then
1348 echo &&
1349 $SHELL "$ac_srcdir/configure" --help=recursive
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001350 else
1351 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
Ward Vandewegeebc92182008-08-06 20:37:38 +00001352 fi || ac_status=$?
1353 cd "$ac_pwd" || { ac_status=$?; break; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001354 done
1355fi
1356
Ward Vandewegeebc92182008-08-06 20:37:38 +00001357test -n "$ac_init_help" && exit $ac_status
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001358if $ac_init_version; then
1359 cat <<\_ACEOF
Ward Vandewegeebc92182008-08-06 20:37:38 +00001360configure
1361generated by GNU Autoconf 2.61
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001362
Ward Vandewegeebc92182008-08-06 20:37:38 +00001363Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
13642002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001365This configure script is free software; the Free Software Foundation
1366gives unlimited permission to copy, distribute and modify it.
1367_ACEOF
Ward Vandewegeebc92182008-08-06 20:37:38 +00001368 exit
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001369fi
Ward Vandewegeebc92182008-08-06 20:37:38 +00001370cat >config.log <<_ACEOF
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001371This file contains any messages produced by compilers while
1372running configure, to aid debugging if configure makes a mistake.
1373
1374It was created by $as_me, which was
Ward Vandewegeebc92182008-08-06 20:37:38 +00001375generated by GNU Autoconf 2.61. Invocation command line was
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001376
1377 $ $0 $@
1378
1379_ACEOF
Ward Vandewegeebc92182008-08-06 20:37:38 +00001380exec 5>>config.log
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001381{
1382cat <<_ASUNAME
1383## --------- ##
1384## Platform. ##
1385## --------- ##
1386
1387hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1388uname -m = `(uname -m) 2>/dev/null || echo unknown`
1389uname -r = `(uname -r) 2>/dev/null || echo unknown`
1390uname -s = `(uname -s) 2>/dev/null || echo unknown`
1391uname -v = `(uname -v) 2>/dev/null || echo unknown`
1392
1393/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1394/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1395
1396/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1397/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1398/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
Ward Vandewegeebc92182008-08-06 20:37:38 +00001399/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001400/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1401/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1402/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1403
1404_ASUNAME
1405
1406as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1407for as_dir in $PATH
1408do
1409 IFS=$as_save_IFS
1410 test -z "$as_dir" && as_dir=.
1411 echo "PATH: $as_dir"
1412done
Ward Vandewegeebc92182008-08-06 20:37:38 +00001413IFS=$as_save_IFS
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001414
1415} >&5
1416
1417cat >&5 <<_ACEOF
1418
1419
1420## ----------- ##
1421## Core tests. ##
1422## ----------- ##
1423
1424_ACEOF
1425
1426
1427# Keep a trace of the command line.
1428# Strip out --no-create and --no-recursion so they do not pile up.
1429# Strip out --silent because we don't want to record it for future runs.
1430# Also quote any args containing shell meta-characters.
1431# Make two passes to allow for proper duplicate-argument suppression.
1432ac_configure_args=
1433ac_configure_args0=
1434ac_configure_args1=
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001435ac_must_keep_next=false
1436for ac_pass in 1 2
1437do
1438 for ac_arg
1439 do
1440 case $ac_arg in
1441 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1442 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1443 | -silent | --silent | --silen | --sile | --sil)
1444 continue ;;
Ward Vandewegeebc92182008-08-06 20:37:38 +00001445 *\'*)
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001446 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1447 esac
1448 case $ac_pass in
1449 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1450 2)
1451 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1452 if test $ac_must_keep_next = true; then
1453 ac_must_keep_next=false # Got value, back to normal.
1454 else
1455 case $ac_arg in
1456 *=* | --config-cache | -C | -disable-* | --disable-* \
1457 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1458 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1459 | -with-* | --with-* | -without-* | --without-* | --x)
1460 case "$ac_configure_args0 " in
1461 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1462 esac
1463 ;;
1464 -* ) ac_must_keep_next=true ;;
1465 esac
1466 fi
Ward Vandewegeebc92182008-08-06 20:37:38 +00001467 ac_configure_args="$ac_configure_args '$ac_arg'"
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001468 ;;
1469 esac
1470 done
1471done
1472$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1473$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1474
1475# When interrupted or exit'd, cleanup temporary files, and complete
1476# config.log. We remove comments because anyway the quotes in there
1477# would cause problems or look ugly.
Ward Vandewegeebc92182008-08-06 20:37:38 +00001478# WARNING: Use '\'' to represent an apostrophe within the trap.
1479# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001480trap 'exit_status=$?
1481 # Save into config.log some information that might help in debugging.
1482 {
1483 echo
1484
1485 cat <<\_ASBOX
1486## ---------------- ##
1487## Cache variables. ##
1488## ---------------- ##
1489_ASBOX
1490 echo
1491 # The following way of writing the cache mishandles newlines in values,
Ward Vandewegeebc92182008-08-06 20:37:38 +00001492(
1493 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1494 eval ac_val=\$$ac_var
1495 case $ac_val in #(
1496 *${as_nl}*)
1497 case $ac_var in #(
1498 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1499echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1500 esac
1501 case $ac_var in #(
1502 _ | IFS | as_nl) ;; #(
1503 *) $as_unset $ac_var ;;
1504 esac ;;
1505 esac
1506 done
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001507 (set) 2>&1 |
Ward Vandewegeebc92182008-08-06 20:37:38 +00001508 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1509 *${as_nl}ac_space=\ *)
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001510 sed -n \
Ward Vandewegeebc92182008-08-06 20:37:38 +00001511 "s/'\''/'\''\\\\'\'''\''/g;
1512 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1513 ;; #(
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001514 *)
Ward Vandewegeebc92182008-08-06 20:37:38 +00001515 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001516 ;;
Ward Vandewegeebc92182008-08-06 20:37:38 +00001517 esac |
1518 sort
1519)
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001520 echo
1521
1522 cat <<\_ASBOX
1523## ----------------- ##
1524## Output variables. ##
1525## ----------------- ##
1526_ASBOX
1527 echo
1528 for ac_var in $ac_subst_vars
1529 do
Ward Vandewegeebc92182008-08-06 20:37:38 +00001530 eval ac_val=\$$ac_var
1531 case $ac_val in
1532 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1533 esac
1534 echo "$ac_var='\''$ac_val'\''"
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001535 done | sort
1536 echo
1537
1538 if test -n "$ac_subst_files"; then
1539 cat <<\_ASBOX
Ward Vandewegeebc92182008-08-06 20:37:38 +00001540## ------------------- ##
1541## File substitutions. ##
1542## ------------------- ##
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001543_ASBOX
1544 echo
1545 for ac_var in $ac_subst_files
1546 do
Ward Vandewegeebc92182008-08-06 20:37:38 +00001547 eval ac_val=\$$ac_var
1548 case $ac_val in
1549 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1550 esac
1551 echo "$ac_var='\''$ac_val'\''"
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001552 done | sort
1553 echo
1554 fi
1555
1556 if test -s confdefs.h; then
1557 cat <<\_ASBOX
1558## ----------- ##
1559## confdefs.h. ##
1560## ----------- ##
1561_ASBOX
1562 echo
Ward Vandewegeebc92182008-08-06 20:37:38 +00001563 cat confdefs.h
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001564 echo
1565 fi
1566 test "$ac_signal" != 0 &&
1567 echo "$as_me: caught signal $ac_signal"
1568 echo "$as_me: exit $exit_status"
1569 } >&5
Ward Vandewegeebc92182008-08-06 20:37:38 +00001570 rm -f core *.core core.conftest.* &&
1571 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001572 exit $exit_status
Ward Vandewegeebc92182008-08-06 20:37:38 +00001573' 0
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001574for ac_signal in 1 2 13 15; do
1575 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1576done
1577ac_signal=0
1578
1579# confdefs.h avoids OS command line length limits that DEFS can exceed.
Ward Vandewegeebc92182008-08-06 20:37:38 +00001580rm -f -r conftest* confdefs.h
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001581
1582# Predefined preprocessor variables.
1583
1584cat >>confdefs.h <<_ACEOF
1585#define PACKAGE_NAME "$PACKAGE_NAME"
1586_ACEOF
1587
1588
1589cat >>confdefs.h <<_ACEOF
1590#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1591_ACEOF
1592
1593
1594cat >>confdefs.h <<_ACEOF
1595#define PACKAGE_VERSION "$PACKAGE_VERSION"
1596_ACEOF
1597
1598
1599cat >>confdefs.h <<_ACEOF
1600#define PACKAGE_STRING "$PACKAGE_STRING"
1601_ACEOF
1602
1603
1604cat >>confdefs.h <<_ACEOF
1605#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1606_ACEOF
1607
1608
1609# Let the site file select an alternate cache file if it wants to.
1610# Prefer explicitly selected file to automatically selected ones.
Ward Vandewegeebc92182008-08-06 20:37:38 +00001611if test -n "$CONFIG_SITE"; then
1612 set x "$CONFIG_SITE"
1613elif test "x$prefix" != xNONE; then
1614 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1615else
1616 set x "$ac_default_prefix/share/config.site" \
1617 "$ac_default_prefix/etc/config.site"
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001618fi
Ward Vandewegeebc92182008-08-06 20:37:38 +00001619shift
1620for ac_site_file
1621do
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001622 if test -r "$ac_site_file"; then
1623 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1624echo "$as_me: loading site script $ac_site_file" >&6;}
1625 sed 's/^/| /' "$ac_site_file" >&5
1626 . "$ac_site_file"
1627 fi
1628done
1629
1630if test -r "$cache_file"; then
1631 # Some versions of bash will fail to source /dev/null (special
1632 # files actually), so we avoid doing that.
1633 if test -f "$cache_file"; then
1634 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1635echo "$as_me: loading cache $cache_file" >&6;}
1636 case $cache_file in
Ward Vandewegeebc92182008-08-06 20:37:38 +00001637 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1638 *) . "./$cache_file";;
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001639 esac
1640 fi
1641else
1642 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1643echo "$as_me: creating cache $cache_file" >&6;}
1644 >$cache_file
1645fi
1646
1647# Check that the precious variables saved in the cache have kept the same
1648# value.
1649ac_cache_corrupted=false
Ward Vandewegeebc92182008-08-06 20:37:38 +00001650for ac_var in $ac_precious_vars; do
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001651 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1652 eval ac_new_set=\$ac_env_${ac_var}_set
Ward Vandewegeebc92182008-08-06 20:37:38 +00001653 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1654 eval ac_new_val=\$ac_env_${ac_var}_value
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001655 case $ac_old_set,$ac_new_set in
1656 set,)
1657 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1658echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1659 ac_cache_corrupted=: ;;
1660 ,set)
1661 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1662echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1663 ac_cache_corrupted=: ;;
1664 ,);;
1665 *)
1666 if test "x$ac_old_val" != "x$ac_new_val"; then
1667 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1668echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1669 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1670echo "$as_me: former value: $ac_old_val" >&2;}
1671 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1672echo "$as_me: current value: $ac_new_val" >&2;}
1673 ac_cache_corrupted=:
1674 fi;;
1675 esac
1676 # Pass precious variables to config.status.
1677 if test "$ac_new_set" = set; then
1678 case $ac_new_val in
Ward Vandewegeebc92182008-08-06 20:37:38 +00001679 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001680 *) ac_arg=$ac_var=$ac_new_val ;;
1681 esac
1682 case " $ac_configure_args " in
1683 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1684 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1685 esac
1686 fi
1687done
1688if $ac_cache_corrupted; then
1689 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1690echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1691 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1692echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1693 { (exit 1); exit 1; }; }
1694fi
1695
Ward Vandewegeebc92182008-08-06 20:37:38 +00001696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001712ac_ext=c
1713ac_cpp='$CPP $CPPFLAGS'
1714ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1715ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1716ac_compiler_gnu=$ac_cv_c_compiler_gnu
1717
1718
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001719ac_aux_dir=
Ward Vandewegeebc92182008-08-06 20:37:38 +00001720for ac_dir in ./config "$srcdir"/./config; do
1721 if test -f "$ac_dir/install-sh"; then
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001722 ac_aux_dir=$ac_dir
1723 ac_install_sh="$ac_aux_dir/install-sh -c"
1724 break
Ward Vandewegeebc92182008-08-06 20:37:38 +00001725 elif test -f "$ac_dir/install.sh"; then
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001726 ac_aux_dir=$ac_dir
1727 ac_install_sh="$ac_aux_dir/install.sh -c"
1728 break
Ward Vandewegeebc92182008-08-06 20:37:38 +00001729 elif test -f "$ac_dir/shtool"; then
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001730 ac_aux_dir=$ac_dir
1731 ac_install_sh="$ac_aux_dir/shtool install -c"
1732 break
1733 fi
1734done
1735if test -z "$ac_aux_dir"; then
Ward Vandewegeebc92182008-08-06 20:37:38 +00001736 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ./config \"$srcdir\"/./config" >&5
1737echo "$as_me: error: cannot find install-sh or install.sh in ./config \"$srcdir\"/./config" >&2;}
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001738 { (exit 1); exit 1; }; }
1739fi
Ward Vandewegeebc92182008-08-06 20:37:38 +00001740
1741# These three variables are undocumented and unsupported,
1742# and are intended to be withdrawn in a future Autoconf release.
1743# They can cause serious problems if a builder's source tree is in a directory
1744# whose full name contains unusual characters.
1745ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1746ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1747ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1748
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001749
1750
1751
1752
1753# Make sure we can run config.sub.
Ward Vandewegeebc92182008-08-06 20:37:38 +00001754$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1755 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1756echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001757 { (exit 1); exit 1; }; }
1758
Ward Vandewegeebc92182008-08-06 20:37:38 +00001759{ echo "$as_me:$LINENO: checking build system type" >&5
1760echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001761if test "${ac_cv_build+set}" = set; then
1762 echo $ECHO_N "(cached) $ECHO_C" >&6
1763else
Ward Vandewegeebc92182008-08-06 20:37:38 +00001764 ac_build_alias=$build_alias
1765test "x$ac_build_alias" = x &&
1766 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1767test "x$ac_build_alias" = x &&
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001768 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1769echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1770 { (exit 1); exit 1; }; }
Ward Vandewegeebc92182008-08-06 20:37:38 +00001771ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1772 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1773echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001774 { (exit 1); exit 1; }; }
1775
1776fi
Ward Vandewegeebc92182008-08-06 20:37:38 +00001777{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1778echo "${ECHO_T}$ac_cv_build" >&6; }
1779case $ac_cv_build in
1780*-*-*) ;;
1781*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1782echo "$as_me: error: invalid value of canonical build" >&2;}
1783 { (exit 1); exit 1; }; };;
1784esac
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001785build=$ac_cv_build
Ward Vandewegeebc92182008-08-06 20:37:38 +00001786ac_save_IFS=$IFS; IFS='-'
1787set x $ac_cv_build
1788shift
1789build_cpu=$1
1790build_vendor=$2
1791shift; shift
1792# Remember, the first character of IFS is used to create $*,
1793# except with old shells:
1794build_os=$*
1795IFS=$ac_save_IFS
1796case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001797
1798
Ward Vandewegeebc92182008-08-06 20:37:38 +00001799{ echo "$as_me:$LINENO: checking host system type" >&5
1800echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001801if test "${ac_cv_host+set}" = set; then
1802 echo $ECHO_N "(cached) $ECHO_C" >&6
1803else
Ward Vandewegeebc92182008-08-06 20:37:38 +00001804 if test "x$host_alias" = x; then
1805 ac_cv_host=$ac_cv_build
1806else
1807 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1808 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1809echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001810 { (exit 1); exit 1; }; }
Ward Vandewegeebc92182008-08-06 20:37:38 +00001811fi
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001812
1813fi
Ward Vandewegeebc92182008-08-06 20:37:38 +00001814{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1815echo "${ECHO_T}$ac_cv_host" >&6; }
1816case $ac_cv_host in
1817*-*-*) ;;
1818*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1819echo "$as_me: error: invalid value of canonical host" >&2;}
1820 { (exit 1); exit 1; }; };;
1821esac
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001822host=$ac_cv_host
Ward Vandewegeebc92182008-08-06 20:37:38 +00001823ac_save_IFS=$IFS; IFS='-'
1824set x $ac_cv_host
1825shift
1826host_cpu=$1
1827host_vendor=$2
1828shift; shift
1829# Remember, the first character of IFS is used to create $*,
1830# except with old shells:
1831host_os=$*
1832IFS=$ac_save_IFS
1833case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001834
1835
1836#AC_CANONICAL_TARGET
1837
1838
1839case $host_cpu in
1840 i?86 )
1841 target_cpu="i386"
1842 ;;
1843 * )
1844 target_cpu="$host_cpu"
1845 ;;
1846esac
1847
1848targets=""
1849
1850
Ward Vandewegeebc92182008-08-06 20:37:38 +00001851# Check whether --with-i386 was given.
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001852if test "${with_i386+set}" = set; then
Ward Vandewegeebc92182008-08-06 20:37:38 +00001853 withval=$with_i386; if test "withval" = "yes" ; then with_i386="i386"; else with_i386="$withval"; fi
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001854else
1855 with_i386="no"
Ward Vandewegeebc92182008-08-06 20:37:38 +00001856fi
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001857
1858
Ward Vandewegeebc92182008-08-06 20:37:38 +00001859
1860# Check whether --with-ia64 was given.
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001861if test "${with_ia64+set}" = set; then
Ward Vandewegeebc92182008-08-06 20:37:38 +00001862 withval=$with_ia64; if test "withval" = "yes" ; then with_ia64="ia64"; else with_ia64="$withval"; fi
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001863else
1864 with_ia64="no"
Ward Vandewegeebc92182008-08-06 20:37:38 +00001865fi
1866
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001867
1868with_default="no"
1869if test "$with_i386" = "no" &&
1870 test "$with_ia64" = "no" ; then
1871 with_default=`echo $target_cpu | tr a-z A-Z`
1872fi
1873
1874{ echo "$as_me:$LINENO: with_default=$with_default" >&5
1875echo "$as_me: with_default=$with_default" >&6;}
1876{ echo "$as_me:$LINENO: with_i386=$with_i386" >&5
1877echo "$as_me: with_i386=$with_i386" >&6;}
1878{ echo "$as_me:$LINENO: with_ia64=$with_ia64" >&5
1879echo "$as_me: with_ia64=$with_ia64" >&6;}
1880
1881
1882ac_ext=c
1883ac_cpp='$CPP $CPPFLAGS'
1884ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1885ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1886ac_compiler_gnu=$ac_cv_c_compiler_gnu
1887if test -n "$ac_tool_prefix"; then
1888 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1889set dummy ${ac_tool_prefix}gcc; ac_word=$2
Ward Vandewegeebc92182008-08-06 20:37:38 +00001890{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1891echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001892if test "${ac_cv_prog_CC+set}" = set; then
1893 echo $ECHO_N "(cached) $ECHO_C" >&6
1894else
1895 if test -n "$CC"; then
1896 ac_cv_prog_CC="$CC" # Let the user override the test.
1897else
1898as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1899for as_dir in $PATH
1900do
1901 IFS=$as_save_IFS
1902 test -z "$as_dir" && as_dir=.
1903 for ac_exec_ext in '' $ac_executable_extensions; do
Ward Vandewegeebc92182008-08-06 20:37:38 +00001904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001905 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1907 break 2
1908 fi
1909done
1910done
Ward Vandewegeebc92182008-08-06 20:37:38 +00001911IFS=$as_save_IFS
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001912
1913fi
1914fi
1915CC=$ac_cv_prog_CC
1916if test -n "$CC"; then
Ward Vandewegeebc92182008-08-06 20:37:38 +00001917 { echo "$as_me:$LINENO: result: $CC" >&5
1918echo "${ECHO_T}$CC" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001919else
Ward Vandewegeebc92182008-08-06 20:37:38 +00001920 { echo "$as_me:$LINENO: result: no" >&5
1921echo "${ECHO_T}no" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001922fi
1923
Ward Vandewegeebc92182008-08-06 20:37:38 +00001924
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001925fi
1926if test -z "$ac_cv_prog_CC"; then
1927 ac_ct_CC=$CC
1928 # Extract the first word of "gcc", so it can be a program name with args.
1929set dummy gcc; ac_word=$2
Ward Vandewegeebc92182008-08-06 20:37:38 +00001930{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1931echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001932if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1933 echo $ECHO_N "(cached) $ECHO_C" >&6
1934else
1935 if test -n "$ac_ct_CC"; then
1936 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1937else
1938as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1939for as_dir in $PATH
1940do
1941 IFS=$as_save_IFS
1942 test -z "$as_dir" && as_dir=.
1943 for ac_exec_ext in '' $ac_executable_extensions; do
Ward Vandewegeebc92182008-08-06 20:37:38 +00001944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001945 ac_cv_prog_ac_ct_CC="gcc"
1946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1947 break 2
1948 fi
1949done
1950done
Ward Vandewegeebc92182008-08-06 20:37:38 +00001951IFS=$as_save_IFS
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001952
1953fi
1954fi
1955ac_ct_CC=$ac_cv_prog_ac_ct_CC
1956if test -n "$ac_ct_CC"; then
Ward Vandewegeebc92182008-08-06 20:37:38 +00001957 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1958echo "${ECHO_T}$ac_ct_CC" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001959else
Ward Vandewegeebc92182008-08-06 20:37:38 +00001960 { echo "$as_me:$LINENO: result: no" >&5
1961echo "${ECHO_T}no" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001962fi
1963
Ward Vandewegeebc92182008-08-06 20:37:38 +00001964 if test "x$ac_ct_CC" = x; then
1965 CC=""
1966 else
1967 case $cross_compiling:$ac_tool_warned in
1968yes:)
1969{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1970whose name does not start with the host triplet. If you think this
1971configuration is useful to you, please write to autoconf@gnu.org." >&5
1972echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1973whose name does not start with the host triplet. If you think this
1974configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1975ac_tool_warned=yes ;;
1976esac
1977 CC=$ac_ct_CC
1978 fi
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001979else
1980 CC="$ac_cv_prog_CC"
1981fi
1982
1983if test -z "$CC"; then
Ward Vandewegeebc92182008-08-06 20:37:38 +00001984 if test -n "$ac_tool_prefix"; then
1985 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001986set dummy ${ac_tool_prefix}cc; ac_word=$2
Ward Vandewegeebc92182008-08-06 20:37:38 +00001987{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1988echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001989if test "${ac_cv_prog_CC+set}" = set; then
1990 echo $ECHO_N "(cached) $ECHO_C" >&6
1991else
1992 if test -n "$CC"; then
1993 ac_cv_prog_CC="$CC" # Let the user override the test.
1994else
1995as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1996for as_dir in $PATH
1997do
1998 IFS=$as_save_IFS
1999 test -z "$as_dir" && as_dir=.
2000 for ac_exec_ext in '' $ac_executable_extensions; do
Ward Vandewegeebc92182008-08-06 20:37:38 +00002001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002002 ac_cv_prog_CC="${ac_tool_prefix}cc"
2003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2004 break 2
2005 fi
2006done
2007done
Ward Vandewegeebc92182008-08-06 20:37:38 +00002008IFS=$as_save_IFS
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002009
2010fi
2011fi
2012CC=$ac_cv_prog_CC
2013if test -n "$CC"; then
Ward Vandewegeebc92182008-08-06 20:37:38 +00002014 { echo "$as_me:$LINENO: result: $CC" >&5
2015echo "${ECHO_T}$CC" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002016else
Ward Vandewegeebc92182008-08-06 20:37:38 +00002017 { echo "$as_me:$LINENO: result: no" >&5
2018echo "${ECHO_T}no" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002019fi
2020
Ward Vandewegeebc92182008-08-06 20:37:38 +00002021
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002022 fi
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002023fi
2024if test -z "$CC"; then
2025 # Extract the first word of "cc", so it can be a program name with args.
2026set dummy cc; ac_word=$2
Ward Vandewegeebc92182008-08-06 20:37:38 +00002027{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2028echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002029if test "${ac_cv_prog_CC+set}" = set; then
2030 echo $ECHO_N "(cached) $ECHO_C" >&6
2031else
2032 if test -n "$CC"; then
2033 ac_cv_prog_CC="$CC" # Let the user override the test.
2034else
2035 ac_prog_rejected=no
2036as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2037for as_dir in $PATH
2038do
2039 IFS=$as_save_IFS
2040 test -z "$as_dir" && as_dir=.
2041 for ac_exec_ext in '' $ac_executable_extensions; do
Ward Vandewegeebc92182008-08-06 20:37:38 +00002042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002043 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2044 ac_prog_rejected=yes
2045 continue
2046 fi
2047 ac_cv_prog_CC="cc"
2048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2049 break 2
2050 fi
2051done
2052done
Ward Vandewegeebc92182008-08-06 20:37:38 +00002053IFS=$as_save_IFS
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002054
2055if test $ac_prog_rejected = yes; then
2056 # We found a bogon in the path, so make sure we never use it.
2057 set dummy $ac_cv_prog_CC
2058 shift
2059 if test $# != 0; then
2060 # We chose a different compiler from the bogus one.
2061 # However, it has the same basename, so the bogon will be chosen
2062 # first if we set CC to just the basename; use the full file name.
2063 shift
2064 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2065 fi
2066fi
2067fi
2068fi
2069CC=$ac_cv_prog_CC
2070if test -n "$CC"; then
Ward Vandewegeebc92182008-08-06 20:37:38 +00002071 { echo "$as_me:$LINENO: result: $CC" >&5
2072echo "${ECHO_T}$CC" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002073else
Ward Vandewegeebc92182008-08-06 20:37:38 +00002074 { echo "$as_me:$LINENO: result: no" >&5
2075echo "${ECHO_T}no" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002076fi
2077
Ward Vandewegeebc92182008-08-06 20:37:38 +00002078
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002079fi
2080if test -z "$CC"; then
2081 if test -n "$ac_tool_prefix"; then
Ward Vandewegeebc92182008-08-06 20:37:38 +00002082 for ac_prog in cl.exe
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002083 do
2084 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2085set dummy $ac_tool_prefix$ac_prog; ac_word=$2
Ward Vandewegeebc92182008-08-06 20:37:38 +00002086{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2087echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002088if test "${ac_cv_prog_CC+set}" = set; then
2089 echo $ECHO_N "(cached) $ECHO_C" >&6
2090else
2091 if test -n "$CC"; then
2092 ac_cv_prog_CC="$CC" # Let the user override the test.
2093else
2094as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095for as_dir in $PATH
2096do
2097 IFS=$as_save_IFS
2098 test -z "$as_dir" && as_dir=.
2099 for ac_exec_ext in '' $ac_executable_extensions; do
Ward Vandewegeebc92182008-08-06 20:37:38 +00002100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002101 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2103 break 2
2104 fi
2105done
2106done
Ward Vandewegeebc92182008-08-06 20:37:38 +00002107IFS=$as_save_IFS
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002108
2109fi
2110fi
2111CC=$ac_cv_prog_CC
2112if test -n "$CC"; then
Ward Vandewegeebc92182008-08-06 20:37:38 +00002113 { echo "$as_me:$LINENO: result: $CC" >&5
2114echo "${ECHO_T}$CC" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002115else
Ward Vandewegeebc92182008-08-06 20:37:38 +00002116 { echo "$as_me:$LINENO: result: no" >&5
2117echo "${ECHO_T}no" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002118fi
2119
Ward Vandewegeebc92182008-08-06 20:37:38 +00002120
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002121 test -n "$CC" && break
2122 done
2123fi
2124if test -z "$CC"; then
2125 ac_ct_CC=$CC
Ward Vandewegeebc92182008-08-06 20:37:38 +00002126 for ac_prog in cl.exe
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002127do
2128 # Extract the first word of "$ac_prog", so it can be a program name with args.
2129set dummy $ac_prog; ac_word=$2
Ward Vandewegeebc92182008-08-06 20:37:38 +00002130{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2131echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002132if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2133 echo $ECHO_N "(cached) $ECHO_C" >&6
2134else
2135 if test -n "$ac_ct_CC"; then
2136 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2137else
2138as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2139for as_dir in $PATH
2140do
2141 IFS=$as_save_IFS
2142 test -z "$as_dir" && as_dir=.
2143 for ac_exec_ext in '' $ac_executable_extensions; do
Ward Vandewegeebc92182008-08-06 20:37:38 +00002144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002145 ac_cv_prog_ac_ct_CC="$ac_prog"
2146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2147 break 2
2148 fi
2149done
2150done
Ward Vandewegeebc92182008-08-06 20:37:38 +00002151IFS=$as_save_IFS
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002152
2153fi
2154fi
2155ac_ct_CC=$ac_cv_prog_ac_ct_CC
2156if test -n "$ac_ct_CC"; then
Ward Vandewegeebc92182008-08-06 20:37:38 +00002157 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2158echo "${ECHO_T}$ac_ct_CC" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002159else
Ward Vandewegeebc92182008-08-06 20:37:38 +00002160 { echo "$as_me:$LINENO: result: no" >&5
2161echo "${ECHO_T}no" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002162fi
2163
Ward Vandewegeebc92182008-08-06 20:37:38 +00002164
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002165 test -n "$ac_ct_CC" && break
2166done
2167
Ward Vandewegeebc92182008-08-06 20:37:38 +00002168 if test "x$ac_ct_CC" = x; then
2169 CC=""
2170 else
2171 case $cross_compiling:$ac_tool_warned in
2172yes:)
2173{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2174whose name does not start with the host triplet. If you think this
2175configuration is useful to you, please write to autoconf@gnu.org." >&5
2176echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2177whose name does not start with the host triplet. If you think this
2178configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2179ac_tool_warned=yes ;;
2180esac
2181 CC=$ac_ct_CC
2182 fi
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002183fi
2184
2185fi
2186
2187
2188test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2189See \`config.log' for more details." >&5
2190echo "$as_me: error: no acceptable C compiler found in \$PATH
2191See \`config.log' for more details." >&2;}
2192 { (exit 1); exit 1; }; }
2193
2194# Provide some information about the compiler.
Ward Vandewegeebc92182008-08-06 20:37:38 +00002195echo "$as_me:$LINENO: checking for C compiler version" >&5
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002196ac_compiler=`set X $ac_compile; echo $2`
Ward Vandewegeebc92182008-08-06 20:37:38 +00002197{ (ac_try="$ac_compiler --version >&5"
2198case "(($ac_try" in
2199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2200 *) ac_try_echo=$ac_try;;
2201esac
2202eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2203 (eval "$ac_compiler --version >&5") 2>&5
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002204 ac_status=$?
2205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206 (exit $ac_status); }
Ward Vandewegeebc92182008-08-06 20:37:38 +00002207{ (ac_try="$ac_compiler -v >&5"
2208case "(($ac_try" in
2209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2210 *) ac_try_echo=$ac_try;;
2211esac
2212eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2213 (eval "$ac_compiler -v >&5") 2>&5
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002214 ac_status=$?
2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216 (exit $ac_status); }
Ward Vandewegeebc92182008-08-06 20:37:38 +00002217{ (ac_try="$ac_compiler -V >&5"
2218case "(($ac_try" in
2219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2220 *) ac_try_echo=$ac_try;;
2221esac
2222eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2223 (eval "$ac_compiler -V >&5") 2>&5
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002224 ac_status=$?
2225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2226 (exit $ac_status); }
2227
2228cat >conftest.$ac_ext <<_ACEOF
2229/* confdefs.h. */
2230_ACEOF
2231cat confdefs.h >>conftest.$ac_ext
2232cat >>conftest.$ac_ext <<_ACEOF
2233/* end confdefs.h. */
2234
2235int
2236main ()
2237{
2238
2239 ;
2240 return 0;
2241}
2242_ACEOF
2243ac_clean_files_save=$ac_clean_files
2244ac_clean_files="$ac_clean_files a.out a.exe b.out"
2245# Try to create an executable without -o first, disregard a.out.
2246# It will help us diagnose broken compilers, and finding out an intuition
2247# of exeext.
Ward Vandewegeebc92182008-08-06 20:37:38 +00002248{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2249echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002250ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
Ward Vandewegeebc92182008-08-06 20:37:38 +00002251#
2252# List of possible output files, starting from the most likely.
2253# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2254# only as a last resort. b.out is created by i960 compilers.
2255ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2256#
2257# The IRIX 6 linker writes into existing files which may not be
2258# executable, retaining their permissions. Remove them first so a
2259# subsequent execution test works.
2260ac_rmfiles=
2261for ac_file in $ac_files
2262do
2263 case $ac_file in
2264 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2265 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2266 esac
2267done
2268rm -f $ac_rmfiles
2269
2270if { (ac_try="$ac_link_default"
2271case "(($ac_try" in
2272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2273 *) ac_try_echo=$ac_try;;
2274esac
2275eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2276 (eval "$ac_link_default") 2>&5
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002277 ac_status=$?
2278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 (exit $ac_status); }; then
Ward Vandewegeebc92182008-08-06 20:37:38 +00002280 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2281# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2282# in a Makefile. We should not override ac_cv_exeext if it was cached,
2283# so that the user can short-circuit this test for compilers unknown to
2284# Autoconf.
2285for ac_file in $ac_files ''
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002286do
2287 test -f "$ac_file" || continue
2288 case $ac_file in
Ward Vandewegeebc92182008-08-06 20:37:38 +00002289 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002290 ;;
2291 [ab].out )
2292 # We found the default executable, but exeext='' is most
2293 # certainly right.
2294 break;;
2295 *.* )
Ward Vandewegeebc92182008-08-06 20:37:38 +00002296 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2297 then :; else
2298 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2299 fi
2300 # We set ac_cv_exeext here because the later test for it is not
2301 # safe: cross compilers may not add the suffix if given an `-o'
2302 # argument, so we may need to know it at that point already.
2303 # Even if this section looks crufty: it has the advantage of
2304 # actually working.
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002305 break;;
2306 * )
2307 break;;
2308 esac
2309done
Ward Vandewegeebc92182008-08-06 20:37:38 +00002310test "$ac_cv_exeext" = no && ac_cv_exeext=
2311
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002312else
Ward Vandewegeebc92182008-08-06 20:37:38 +00002313 ac_file=''
2314fi
2315
2316{ echo "$as_me:$LINENO: result: $ac_file" >&5
2317echo "${ECHO_T}$ac_file" >&6; }
2318if test -z "$ac_file"; then
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002319 echo "$as_me: failed program was:" >&5
2320sed 's/^/| /' conftest.$ac_ext >&5
2321
2322{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2323See \`config.log' for more details." >&5
2324echo "$as_me: error: C compiler cannot create executables
2325See \`config.log' for more details." >&2;}
2326 { (exit 77); exit 77; }; }
2327fi
2328
2329ac_exeext=$ac_cv_exeext
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002330
Ward Vandewegeebc92182008-08-06 20:37:38 +00002331# Check that the compiler produces executables we can run. If not, either
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002332# the compiler is broken, or we cross compile.
Ward Vandewegeebc92182008-08-06 20:37:38 +00002333{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2334echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002335# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2336# If not cross compiling, check that we can run a simple program.
2337if test "$cross_compiling" != yes; then
2338 if { ac_try='./$ac_file'
Ward Vandewegeebc92182008-08-06 20:37:38 +00002339 { (case "(($ac_try" in
2340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2341 *) ac_try_echo=$ac_try;;
2342esac
2343eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2344 (eval "$ac_try") 2>&5
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002345 ac_status=$?
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); }; }; then
2348 cross_compiling=no
2349 else
2350 if test "$cross_compiling" = maybe; then
2351 cross_compiling=yes
2352 else
2353 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2354If you meant to cross compile, use \`--host'.
2355See \`config.log' for more details." >&5
2356echo "$as_me: error: cannot run C compiled programs.
2357If you meant to cross compile, use \`--host'.
2358See \`config.log' for more details." >&2;}
2359 { (exit 1); exit 1; }; }
2360 fi
2361 fi
2362fi
Ward Vandewegeebc92182008-08-06 20:37:38 +00002363{ echo "$as_me:$LINENO: result: yes" >&5
2364echo "${ECHO_T}yes" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002365
2366rm -f a.out a.exe conftest$ac_cv_exeext b.out
2367ac_clean_files=$ac_clean_files_save
Ward Vandewegeebc92182008-08-06 20:37:38 +00002368# Check that the compiler produces executables we can run. If not, either
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002369# the compiler is broken, or we cross compile.
Ward Vandewegeebc92182008-08-06 20:37:38 +00002370{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2371echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2372{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2373echo "${ECHO_T}$cross_compiling" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002374
Ward Vandewegeebc92182008-08-06 20:37:38 +00002375{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2376echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2377if { (ac_try="$ac_link"
2378case "(($ac_try" in
2379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2380 *) ac_try_echo=$ac_try;;
2381esac
2382eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2383 (eval "$ac_link") 2>&5
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002384 ac_status=$?
2385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386 (exit $ac_status); }; then
2387 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2388# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2389# work properly (i.e., refer to `conftest.exe'), while it won't with
2390# `rm'.
2391for ac_file in conftest.exe conftest conftest.*; do
2392 test -f "$ac_file" || continue
2393 case $ac_file in
Ward Vandewegeebc92182008-08-06 20:37:38 +00002394 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002395 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002396 break;;
2397 * ) break;;
2398 esac
2399done
2400else
2401 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2402See \`config.log' for more details." >&5
2403echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2404See \`config.log' for more details." >&2;}
2405 { (exit 1); exit 1; }; }
2406fi
2407
2408rm -f conftest$ac_cv_exeext
Ward Vandewegeebc92182008-08-06 20:37:38 +00002409{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2410echo "${ECHO_T}$ac_cv_exeext" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002411
2412rm -f conftest.$ac_ext
2413EXEEXT=$ac_cv_exeext
2414ac_exeext=$EXEEXT
Ward Vandewegeebc92182008-08-06 20:37:38 +00002415{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2416echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002417if test "${ac_cv_objext+set}" = set; then
2418 echo $ECHO_N "(cached) $ECHO_C" >&6
2419else
2420 cat >conftest.$ac_ext <<_ACEOF
2421/* confdefs.h. */
2422_ACEOF
2423cat confdefs.h >>conftest.$ac_ext
2424cat >>conftest.$ac_ext <<_ACEOF
2425/* end confdefs.h. */
2426
2427int
2428main ()
2429{
2430
2431 ;
2432 return 0;
2433}
2434_ACEOF
2435rm -f conftest.o conftest.obj
Ward Vandewegeebc92182008-08-06 20:37:38 +00002436if { (ac_try="$ac_compile"
2437case "(($ac_try" in
2438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2439 *) ac_try_echo=$ac_try;;
2440esac
2441eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2442 (eval "$ac_compile") 2>&5
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002443 ac_status=$?
2444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2445 (exit $ac_status); }; then
Ward Vandewegeebc92182008-08-06 20:37:38 +00002446 for ac_file in conftest.o conftest.obj conftest.*; do
2447 test -f "$ac_file" || continue;
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002448 case $ac_file in
Ward Vandewegeebc92182008-08-06 20:37:38 +00002449 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002450 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2451 break;;
2452 esac
2453done
2454else
2455 echo "$as_me: failed program was:" >&5
2456sed 's/^/| /' conftest.$ac_ext >&5
2457
2458{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2459See \`config.log' for more details." >&5
2460echo "$as_me: error: cannot compute suffix of object files: cannot compile
2461See \`config.log' for more details." >&2;}
2462 { (exit 1); exit 1; }; }
2463fi
2464
2465rm -f conftest.$ac_cv_objext conftest.$ac_ext
2466fi
Ward Vandewegeebc92182008-08-06 20:37:38 +00002467{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2468echo "${ECHO_T}$ac_cv_objext" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002469OBJEXT=$ac_cv_objext
2470ac_objext=$OBJEXT
Ward Vandewegeebc92182008-08-06 20:37:38 +00002471{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2472echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002473if test "${ac_cv_c_compiler_gnu+set}" = set; then
2474 echo $ECHO_N "(cached) $ECHO_C" >&6
2475else
2476 cat >conftest.$ac_ext <<_ACEOF
2477/* confdefs.h. */
2478_ACEOF
2479cat confdefs.h >>conftest.$ac_ext
2480cat >>conftest.$ac_ext <<_ACEOF
2481/* end confdefs.h. */
2482
2483int
2484main ()
2485{
2486#ifndef __GNUC__
2487 choke me
2488#endif
2489
2490 ;
2491 return 0;
2492}
2493_ACEOF
2494rm -f conftest.$ac_objext
Ward Vandewegeebc92182008-08-06 20:37:38 +00002495if { (ac_try="$ac_compile"
2496case "(($ac_try" in
2497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2498 *) ac_try_echo=$ac_try;;
2499esac
2500eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2501 (eval "$ac_compile") 2>conftest.er1
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002502 ac_status=$?
2503 grep -v '^ *+' conftest.er1 >conftest.err
2504 rm -f conftest.er1
2505 cat conftest.err >&5
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
Ward Vandewegeebc92182008-08-06 20:37:38 +00002507 (exit $ac_status); } && {
2508 test -z "$ac_c_werror_flag" ||
2509 test ! -s conftest.err
2510 } && test -s conftest.$ac_objext; then
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002511 ac_compiler_gnu=yes
2512else
2513 echo "$as_me: failed program was:" >&5
2514sed 's/^/| /' conftest.$ac_ext >&5
2515
Ward Vandewegeebc92182008-08-06 20:37:38 +00002516 ac_compiler_gnu=no
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002517fi
Ward Vandewegeebc92182008-08-06 20:37:38 +00002518
2519rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002520ac_cv_c_compiler_gnu=$ac_compiler_gnu
2521
2522fi
Ward Vandewegeebc92182008-08-06 20:37:38 +00002523{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2524echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002525GCC=`test $ac_compiler_gnu = yes && echo yes`
2526ac_test_CFLAGS=${CFLAGS+set}
2527ac_save_CFLAGS=$CFLAGS
Ward Vandewegeebc92182008-08-06 20:37:38 +00002528{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2529echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002530if test "${ac_cv_prog_cc_g+set}" = set; then
2531 echo $ECHO_N "(cached) $ECHO_C" >&6
2532else
Ward Vandewegeebc92182008-08-06 20:37:38 +00002533 ac_save_c_werror_flag=$ac_c_werror_flag
2534 ac_c_werror_flag=yes
2535 ac_cv_prog_cc_g=no
2536 CFLAGS="-g"
2537 cat >conftest.$ac_ext <<_ACEOF
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002538/* confdefs.h. */
2539_ACEOF
2540cat confdefs.h >>conftest.$ac_ext
2541cat >>conftest.$ac_ext <<_ACEOF
2542/* end confdefs.h. */
2543
2544int
2545main ()
2546{
2547
2548 ;
2549 return 0;
2550}
2551_ACEOF
2552rm -f conftest.$ac_objext
Ward Vandewegeebc92182008-08-06 20:37:38 +00002553if { (ac_try="$ac_compile"
2554case "(($ac_try" in
2555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2556 *) ac_try_echo=$ac_try;;
2557esac
2558eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2559 (eval "$ac_compile") 2>conftest.er1
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002560 ac_status=$?
2561 grep -v '^ *+' conftest.er1 >conftest.err
2562 rm -f conftest.er1
2563 cat conftest.err >&5
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
Ward Vandewegeebc92182008-08-06 20:37:38 +00002565 (exit $ac_status); } && {
2566 test -z "$ac_c_werror_flag" ||
2567 test ! -s conftest.err
2568 } && test -s conftest.$ac_objext; then
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002569 ac_cv_prog_cc_g=yes
2570else
2571 echo "$as_me: failed program was:" >&5
2572sed 's/^/| /' conftest.$ac_ext >&5
2573
Ward Vandewegeebc92182008-08-06 20:37:38 +00002574 CFLAGS=""
2575 cat >conftest.$ac_ext <<_ACEOF
2576/* confdefs.h. */
2577_ACEOF
2578cat confdefs.h >>conftest.$ac_ext
2579cat >>conftest.$ac_ext <<_ACEOF
2580/* end confdefs.h. */
2581
2582int
2583main ()
2584{
2585
2586 ;
2587 return 0;
2588}
2589_ACEOF
2590rm -f conftest.$ac_objext
2591if { (ac_try="$ac_compile"
2592case "(($ac_try" in
2593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2594 *) ac_try_echo=$ac_try;;
2595esac
2596eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2597 (eval "$ac_compile") 2>conftest.er1
2598 ac_status=$?
2599 grep -v '^ *+' conftest.er1 >conftest.err
2600 rm -f conftest.er1
2601 cat conftest.err >&5
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); } && {
2604 test -z "$ac_c_werror_flag" ||
2605 test ! -s conftest.err
2606 } && test -s conftest.$ac_objext; then
2607 :
2608else
2609 echo "$as_me: failed program was:" >&5
2610sed 's/^/| /' conftest.$ac_ext >&5
2611
2612 ac_c_werror_flag=$ac_save_c_werror_flag
2613 CFLAGS="-g"
2614 cat >conftest.$ac_ext <<_ACEOF
2615/* confdefs.h. */
2616_ACEOF
2617cat confdefs.h >>conftest.$ac_ext
2618cat >>conftest.$ac_ext <<_ACEOF
2619/* end confdefs.h. */
2620
2621int
2622main ()
2623{
2624
2625 ;
2626 return 0;
2627}
2628_ACEOF
2629rm -f conftest.$ac_objext
2630if { (ac_try="$ac_compile"
2631case "(($ac_try" in
2632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2633 *) ac_try_echo=$ac_try;;
2634esac
2635eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2636 (eval "$ac_compile") 2>conftest.er1
2637 ac_status=$?
2638 grep -v '^ *+' conftest.er1 >conftest.err
2639 rm -f conftest.er1
2640 cat conftest.err >&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); } && {
2643 test -z "$ac_c_werror_flag" ||
2644 test ! -s conftest.err
2645 } && test -s conftest.$ac_objext; then
2646 ac_cv_prog_cc_g=yes
2647else
2648 echo "$as_me: failed program was:" >&5
2649sed 's/^/| /' conftest.$ac_ext >&5
2650
2651
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002652fi
Ward Vandewegeebc92182008-08-06 20:37:38 +00002653
2654rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002655fi
Ward Vandewegeebc92182008-08-06 20:37:38 +00002656
2657rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2658fi
2659
2660rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2661 ac_c_werror_flag=$ac_save_c_werror_flag
2662fi
2663{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2664echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002665if test "$ac_test_CFLAGS" = set; then
2666 CFLAGS=$ac_save_CFLAGS
2667elif test $ac_cv_prog_cc_g = yes; then
2668 if test "$GCC" = yes; then
2669 CFLAGS="-g -O2"
2670 else
2671 CFLAGS="-g"
2672 fi
2673else
2674 if test "$GCC" = yes; then
2675 CFLAGS="-O2"
2676 else
2677 CFLAGS=
2678 fi
2679fi
Ward Vandewegeebc92182008-08-06 20:37:38 +00002680{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2681echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2682if test "${ac_cv_prog_cc_c89+set}" = set; then
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002683 echo $ECHO_N "(cached) $ECHO_C" >&6
2684else
Ward Vandewegeebc92182008-08-06 20:37:38 +00002685 ac_cv_prog_cc_c89=no
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002686ac_save_CC=$CC
2687cat >conftest.$ac_ext <<_ACEOF
2688/* confdefs.h. */
2689_ACEOF
2690cat confdefs.h >>conftest.$ac_ext
2691cat >>conftest.$ac_ext <<_ACEOF
2692/* end confdefs.h. */
2693#include <stdarg.h>
2694#include <stdio.h>
2695#include <sys/types.h>
2696#include <sys/stat.h>
2697/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2698struct buf { int x; };
2699FILE * (*rcsopen) (struct buf *, struct stat *, int);
2700static char *e (p, i)
2701 char **p;
2702 int i;
2703{
2704 return p[i];
2705}
2706static char *f (char * (*g) (char **, int), char **p, ...)
2707{
2708 char *s;
2709 va_list v;
2710 va_start (v,p);
2711 s = g (p, va_arg (v,int));
2712 va_end (v);
2713 return s;
2714}
2715
2716/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2717 function prototypes and stuff, but not '\xHH' hex character constants.
2718 These don't provoke an error unfortunately, instead are silently treated
Ward Vandewegeebc92182008-08-06 20:37:38 +00002719 as 'x'. The following induces an error, until -std is added to get
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002720 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2721 array size at least. It's necessary to write '\x00'==0 to get something
Ward Vandewegeebc92182008-08-06 20:37:38 +00002722 that's true only with -std. */
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002723int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2724
Ward Vandewegeebc92182008-08-06 20:37:38 +00002725/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2726 inside strings and character constants. */
2727#define FOO(x) 'x'
2728int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2729
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002730int test (int i, double x);
2731struct s1 {int (*f) (int a);};
2732struct s2 {int (*f) (double a);};
2733int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2734int argc;
2735char **argv;
2736int
2737main ()
2738{
2739return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2740 ;
2741 return 0;
2742}
2743_ACEOF
Ward Vandewegeebc92182008-08-06 20:37:38 +00002744for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2745 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002746do
2747 CC="$ac_save_CC $ac_arg"
2748 rm -f conftest.$ac_objext
Ward Vandewegeebc92182008-08-06 20:37:38 +00002749if { (ac_try="$ac_compile"
2750case "(($ac_try" in
2751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2752 *) ac_try_echo=$ac_try;;
2753esac
2754eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2755 (eval "$ac_compile") 2>conftest.er1
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002756 ac_status=$?
2757 grep -v '^ *+' conftest.er1 >conftest.err
2758 rm -f conftest.er1
2759 cat conftest.err >&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
Ward Vandewegeebc92182008-08-06 20:37:38 +00002761 (exit $ac_status); } && {
2762 test -z "$ac_c_werror_flag" ||
2763 test ! -s conftest.err
2764 } && test -s conftest.$ac_objext; then
2765 ac_cv_prog_cc_c89=$ac_arg
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002766else
2767 echo "$as_me: failed program was:" >&5
2768sed 's/^/| /' conftest.$ac_ext >&5
2769
Ward Vandewegeebc92182008-08-06 20:37:38 +00002770
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002771fi
Ward Vandewegeebc92182008-08-06 20:37:38 +00002772
2773rm -f core conftest.err conftest.$ac_objext
2774 test "x$ac_cv_prog_cc_c89" != "xno" && break
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002775done
Ward Vandewegeebc92182008-08-06 20:37:38 +00002776rm -f conftest.$ac_ext
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002777CC=$ac_save_CC
2778
2779fi
Ward Vandewegeebc92182008-08-06 20:37:38 +00002780# AC_CACHE_VAL
2781case "x$ac_cv_prog_cc_c89" in
2782 x)
2783 { echo "$as_me:$LINENO: result: none needed" >&5
2784echo "${ECHO_T}none needed" >&6; } ;;
2785 xno)
2786 { echo "$as_me:$LINENO: result: unsupported" >&5
2787echo "${ECHO_T}unsupported" >&6; } ;;
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002788 *)
Ward Vandewegeebc92182008-08-06 20:37:38 +00002789 CC="$CC $ac_cv_prog_cc_c89"
2790 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2791echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002792esac
2793
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002794
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002795ac_ext=c
2796ac_cpp='$CPP $CPPFLAGS'
2797ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2798ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2799ac_compiler_gnu=$ac_cv_c_compiler_gnu
2800
2801
2802
2803# Extract the first word of "mkdir", so it can be a program name with args.
2804set dummy mkdir; ac_word=$2
Ward Vandewegeebc92182008-08-06 20:37:38 +00002805{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2806echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002807if test "${ac_cv_prog_MKDIR+set}" = set; then
2808 echo $ECHO_N "(cached) $ECHO_C" >&6
2809else
2810 if test -n "$MKDIR"; then
2811 ac_cv_prog_MKDIR="$MKDIR" # Let the user override the test.
2812else
2813as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2814for as_dir in $PATH
2815do
2816 IFS=$as_save_IFS
2817 test -z "$as_dir" && as_dir=.
2818 for ac_exec_ext in '' $ac_executable_extensions; do
Ward Vandewegeebc92182008-08-06 20:37:38 +00002819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002820 ac_cv_prog_MKDIR="mkdir"
2821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2822 break 2
2823 fi
2824done
2825done
Ward Vandewegeebc92182008-08-06 20:37:38 +00002826IFS=$as_save_IFS
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002827
2828fi
2829fi
2830MKDIR=$ac_cv_prog_MKDIR
2831if test -n "$MKDIR"; then
Ward Vandewegeebc92182008-08-06 20:37:38 +00002832 { echo "$as_me:$LINENO: result: $MKDIR" >&5
2833echo "${ECHO_T}$MKDIR" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002834else
Ward Vandewegeebc92182008-08-06 20:37:38 +00002835 { echo "$as_me:$LINENO: result: no" >&5
2836echo "${ECHO_T}no" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002837fi
2838
Ward Vandewegeebc92182008-08-06 20:37:38 +00002839
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002840# Extract the first word of "rm", so it can be a program name with args.
2841set dummy rm; ac_word=$2
Ward Vandewegeebc92182008-08-06 20:37:38 +00002842{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2843echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002844if test "${ac_cv_prog_RM+set}" = set; then
2845 echo $ECHO_N "(cached) $ECHO_C" >&6
2846else
2847 if test -n "$RM"; then
2848 ac_cv_prog_RM="$RM" # Let the user override the test.
2849else
2850as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851for as_dir in $PATH
2852do
2853 IFS=$as_save_IFS
2854 test -z "$as_dir" && as_dir=.
2855 for ac_exec_ext in '' $ac_executable_extensions; do
Ward Vandewegeebc92182008-08-06 20:37:38 +00002856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002857 ac_cv_prog_RM="rm"
2858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2859 break 2
2860 fi
2861done
2862done
Ward Vandewegeebc92182008-08-06 20:37:38 +00002863IFS=$as_save_IFS
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002864
2865fi
2866fi
2867RM=$ac_cv_prog_RM
2868if test -n "$RM"; then
Ward Vandewegeebc92182008-08-06 20:37:38 +00002869 { echo "$as_me:$LINENO: result: $RM" >&5
2870echo "${ECHO_T}$RM" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002871else
Ward Vandewegeebc92182008-08-06 20:37:38 +00002872 { echo "$as_me:$LINENO: result: no" >&5
2873echo "${ECHO_T}no" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002874fi
2875
Ward Vandewegeebc92182008-08-06 20:37:38 +00002876
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002877# Extract the first word of "cp", so it can be a program name with args.
2878set dummy cp; ac_word=$2
Ward Vandewegeebc92182008-08-06 20:37:38 +00002879{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2880echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002881if test "${ac_cv_prog_CP+set}" = set; then
2882 echo $ECHO_N "(cached) $ECHO_C" >&6
2883else
2884 if test -n "$CP"; then
2885 ac_cv_prog_CP="$CP" # Let the user override the test.
2886else
2887as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2888for as_dir in $PATH
2889do
2890 IFS=$as_save_IFS
2891 test -z "$as_dir" && as_dir=.
2892 for ac_exec_ext in '' $ac_executable_extensions; do
Ward Vandewegeebc92182008-08-06 20:37:38 +00002893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Stefan Reinauerb34eea32008-02-15 18:16:06 +00002894 ac_cv_prog_CP="cp"
2895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2896 break 2
2897 fi
2898done
2899done
Ward Vandewegeebc921