ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/lsys/configure
(Generate patch)

Comparing lsys/configure (file contents):
Revision 1.1 by root, Thu Nov 6 14:31:24 2008 UTC vs.
Revision 1.3 by root, Wed Nov 7 12:50:17 2018 UTC

1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.61. 3# Generated by GNU Autoconf 2.69.
4# 4#
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 5#
6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
7# This configure script is free software; the Free Software Foundation 9# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it. 10# gives unlimited permission to copy, distribute and modify it.
9## --------------------- ## 11## -------------------- ##
10## M4sh Initialization. ## 12## M4sh Initialization. ##
11## --------------------- ## 13## -------------------- ##
12 14
13# Be more Bourne compatible 15# Be more Bourne compatible
14DUALCASE=1; export DUALCASE # for MKS sh 16DUALCASE=1; export DUALCASE # for MKS sh
15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16 emulate sh 18 emulate sh
17 NULLCMD=: 19 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature. 21 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"' 22 alias -g '${1+"$@"}'='"$@"'
21 setopt NO_GLOB_SUBST 23 setopt NO_GLOB_SUBST
22else 24else
23 case `(set -o) 2>/dev/null` in 25 case `(set -o) 2>/dev/null` in #(
24 *posix*) set -o posix ;; 26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
25esac 30esac
26
27fi 31fi
28 32
29 33
30 34as_nl='
31 35'
32# PATH needs CR 36export as_nl
33# Avoid depending upon Character Ranges. 37# Printing a long string crashes Solaris 7 /usr/bin/printf.
34as_cr_letters='abcdefghijklmnopqrstuvwxyz' 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
36as_cr_Letters=$as_cr_letters$as_cr_LETTERS 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
37as_cr_digits='0123456789' 41# Prefer a ksh shell builtin over an external printf program on Solaris,
38as_cr_alnum=$as_cr_Letters$as_cr_digits 42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70fi
39 71
40# The user is always right. 72# The user is always right.
41if test "${PATH_SEPARATOR+set}" != set; then 73if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh 74 PATH_SEPARATOR=:
43 echo "exit 0" >>conf$$.sh 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
44 chmod +x conf$$.sh 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46 PATH_SEPARATOR=';' 77 PATH_SEPARATOR=';'
47 else 78 }
48 PATH_SEPARATOR=:
49 fi
50 rm -f conf$$.sh
51fi
52
53# Support unset when possible.
54if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55 as_unset=unset
56else
57 as_unset=false
58fi 79fi
59 80
60 81
61# IFS 82# IFS
62# We need space, tab and new line, in precisely that order. Quoting is 83# We need space, tab and new line, in precisely that order. Quoting is
63# there to prevent editors from complaining about space-tab. 84# there to prevent editors from complaining about space-tab.
64# (If _AS_PATH_WALK were called with IFS unset, it would disable word 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65# splitting by setting IFS to empty value.) 86# splitting by setting IFS to empty value.)
66as_nl='
67'
68IFS=" "" $as_nl" 87IFS=" "" $as_nl"
69 88
70# Find who we are. Look in the path if we contain no directory separator. 89# Find who we are. Look in the path if we contain no directory separator.
90as_myself=
71case $0 in 91case $0 in #((
72 *[\\/]* ) as_myself=$0 ;; 92 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74for as_dir in $PATH 94for as_dir in $PATH
75do 95do
76 IFS=$as_save_IFS 96 IFS=$as_save_IFS
77 test -z "$as_dir" && as_dir=. 97 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79done 99 done
80IFS=$as_save_IFS 100IFS=$as_save_IFS
81 101
82 ;; 102 ;;
83esac 103esac
84# We did not find ourselves, most probably we were run as `sh COMMAND' 104# 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. 105# in which case we are not to be found in the path.
86if test "x$as_myself" = x; then 106if test "x$as_myself" = x; then
87 as_myself=$0 107 as_myself=$0
88fi 108fi
89if test ! -f "$as_myself"; then 109if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 { (exit 1); exit 1; } 111 exit 1
92fi 112fi
93 113
94# Work around bugs in pre-3.0 UWIN ksh. 114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there. '((' could
117# trigger a bug in pdksh 5.2.14.
95for as_var in ENV MAIL MAILPATH 118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
97done 121done
98PS1='$ ' 122PS1='$ '
99PS2='> ' 123PS2='> '
100PS4='+ ' 124PS4='+ '
101 125
102# NLS nuisances. 126# NLS nuisances.
103for as_var in \ 127LC_ALL=C
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 128export LC_ALL
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 129LANGUAGE=C
106 LC_TELEPHONE LC_TIME 130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
173 ;;
174esac
175fi
176"
177 as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191 exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
201 as_have_required=yes
202else
203 as_have_required=no
204fi
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207else
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209as_found=false
210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
107do 211do
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 212 IFS=$as_save_IFS
109 eval $as_var=C; export $as_var 213 test -z "$as_dir" && as_dir=.
214 as_found=:
215 case $as_dir in #(
216 /*)
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 break 2
225fi
226fi
227 done;;
228 esac
229 as_found=false
230done
231$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
234fi; }
235IFS=$as_save_IFS
236
237
238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
240 # We cannot yet assume a decent shell, so we have to provide a
241# neutralization value for shells without unset; and this also
242# works around shells that cannot unset nonexistent variables.
243# Preserve -v and -x to the replacement shell.
244BASH_ENV=/dev/null
245ENV=/dev/null
246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252esac
253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254# Admittedly, this is quite paranoid, since all the known shells bail
255# out after a failed `exec'.
256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257exit 255
258fi
259
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
110 else 266 else
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268$0: including any error possibly output before this
269$0: message. Then install a modern shell, or manually run
270$0: the script under such a shell if you do have one."
112 fi 271 fi
113done 272 exit 1
273fi
274fi
275fi
276SHELL=${CONFIG_SHELL-/bin/sh}
277export SHELL
278# Unset more variables known to interfere with behavior of common tools.
279CLICOLOR_FORCE= GREP_OPTIONS=
280unset CLICOLOR_FORCE GREP_OPTIONS
114 281
115# Required to use basename. 282## --------------------- ##
283## M4sh Shell Functions. ##
284## --------------------- ##
285# as_fn_unset VAR
286# ---------------
287# Portably unset VAR.
288as_fn_unset ()
289{
290 { eval $1=; unset $1;}
291}
292as_unset=as_fn_unset
293
294# as_fn_set_status STATUS
295# -----------------------
296# Set $? to STATUS, without forking.
297as_fn_set_status ()
298{
299 return $1
300} # as_fn_set_status
301
302# as_fn_exit STATUS
303# -----------------
304# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305as_fn_exit ()
306{
307 set +e
308 as_fn_set_status $1
309 exit $1
310} # as_fn_exit
311
312# as_fn_mkdir_p
313# -------------
314# Create "$as_dir" as a directory, including parents if necessary.
315as_fn_mkdir_p ()
316{
317
318 case $as_dir in #(
319 -*) as_dir=./$as_dir;;
320 esac
321 test -d "$as_dir" || eval $as_mkdir_p || {
322 as_dirs=
323 while :; do
324 case $as_dir in #(
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326 *) as_qdir=$as_dir;;
327 esac
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334$as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 s//\1/
337 q
338 }
339 /^X\(\/\/\)[^/].*/{
340 s//\1/
341 q
342 }
343 /^X\(\/\/\)$/{
344 s//\1/
345 q
346 }
347 /^X\(\/\).*/{
348 s//\1/
349 q
350 }
351 s/.*/./; q'`
352 test -d "$as_dir" && break
353 done
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
356
357
358} # as_fn_mkdir_p
359
360# as_fn_executable_p FILE
361# -----------------------
362# Test if FILE is an executable regular file.
363as_fn_executable_p ()
364{
365 test -f "$1" && test -x "$1"
366} # as_fn_executable_p
367# as_fn_append VAR VALUE
368# ----------------------
369# Append the text in VALUE to the end of the definition contained in VAR. Take
370# advantage of any shell optimizations that allow amortized linear growth over
371# repeated appends, instead of the typical quadratic growth present in naive
372# implementations.
373if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
375 {
376 eval $1+=\$2
377 }'
378else
379 as_fn_append ()
380 {
381 eval $1=\$$1\$2
382 }
383fi # as_fn_append
384
385# as_fn_arith ARG...
386# ------------------
387# Perform arithmetic evaluation on the ARGs, and store the result in the
388# global $as_val. Take advantage of shells that can avoid forks. The arguments
389# must be portable across $(()) and expr.
390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391 eval 'as_fn_arith ()
392 {
393 as_val=$(( $* ))
394 }'
395else
396 as_fn_arith ()
397 {
398 as_val=`expr "$@" || test $? -eq 1`
399 }
400fi # as_fn_arith
401
402
403# as_fn_error STATUS ERROR [LINENO LOG_FD]
404# ----------------------------------------
405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407# script with STATUS, using 1 if that was 0.
408as_fn_error ()
409{
410 as_status=$1; test $as_status -eq 0 && as_status=1
411 if test "$4"; then
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 fi
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
417} # as_fn_error
418
116if expr a : '\(a\)' >/dev/null 2>&1 && 419if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then 420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
118 as_expr=expr 421 as_expr=expr
119else 422else
120 as_expr=false 423 as_expr=false
124 as_basename=basename 427 as_basename=basename
125else 428else
126 as_basename=false 429 as_basename=false
127fi 430fi
128 431
432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433 as_dirname=dirname
434else
435 as_dirname=false
436fi
129 437
130# Name of the executable.
131as_me=`$as_basename -- "$0" || 438as_me=`$as_basename -- "$0" ||
132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \ 440 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null || 441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135echo X/"$0" | 442$as_echo X/"$0" |
136 sed '/^.*\/\([^/][^/]*\)\/*$/{ 443 sed '/^.*\/\([^/][^/]*\)\/*$/{
137 s//\1/ 444 s//\1/
138 q 445 q
139 } 446 }
140 /^X\/\(\/\/\)$/{ 447 /^X\/\(\/\/\)$/{
145 s//\1/ 452 s//\1/
146 q 453 q
147 } 454 }
148 s/.*/./; q'` 455 s/.*/./; q'`
149 456
150# CDPATH. 457# Avoid depending upon Character Ranges.
151$as_unset CDPATH 458as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461as_cr_digits='0123456789'
462as_cr_alnum=$as_cr_Letters$as_cr_digits
152 463
153 464
154if test "x$CONFIG_SHELL" = x; then 465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
155 if (eval ":") 2>/dev/null; then 466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
156 as_have_required=yes
157else
158 as_have_required=no
159fi
160
161 if test $as_have_required = yes && (eval ":
162(as_func_return () {
163 (exit \$1)
164}
165as_func_success () {
166 as_func_return 0
167}
168as_func_failure () {
169 as_func_return 1
170}
171as_func_ret_success () {
172 return 0
173}
174as_func_ret_failure () {
175 return 1
176}
177
178exitcode=0
179if as_func_success; then
180 :
181else
182 exitcode=1
183 echo as_func_success failed.
184fi
185
186if as_func_failure; then
187 exitcode=1
188 echo as_func_failure succeeded.
189fi
190
191if as_func_ret_success; then
192 :
193else
194 exitcode=1
195 echo as_func_ret_success failed.
196fi
197
198if as_func_ret_failure; then
199 exitcode=1
200 echo as_func_ret_failure succeeded.
201fi
202
203if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204 :
205else
206 exitcode=1
207 echo positional parameters were not saved.
208fi
209
210test \$exitcode = 0) || { (exit 1); exit 1; }
211
212(
213 as_lineno_1=\$LINENO
214 as_lineno_2=\$LINENO
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217") 2> /dev/null; then
218 :
219else
220 as_candidate_shells=
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223do
224 IFS=$as_save_IFS
225 test -z "$as_dir" && as_dir=.
226 case $as_dir in
227 /*)
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230 done;;
231 esac
232done
233IFS=$as_save_IFS
234
235
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 emulate sh
242 NULLCMD=:
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
246 setopt NO_GLOB_SUBST
247else
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
250esac
251
252fi
253
254
255:
256_ASEOF
257}; then
258 CONFIG_SHELL=$as_shell
259 as_have_required=yes
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271esac
272
273fi
274
275
276:
277(as_func_return () {
278 (exit $1)
279}
280as_func_success () {
281 as_func_return 0
282}
283as_func_failure () {
284 as_func_return 1
285}
286as_func_ret_success () {
287 return 0
288}
289as_func_ret_failure () {
290 return 1
291}
292
293exitcode=0
294if as_func_success; then
295 :
296else
297 exitcode=1
298 echo as_func_success failed.
299fi
300
301if as_func_failure; then
302 exitcode=1
303 echo as_func_failure succeeded.
304fi
305
306if as_func_ret_success; then
307 :
308else
309 exitcode=1
310 echo as_func_ret_success failed.
311fi
312
313if as_func_ret_failure; then
314 exitcode=1
315 echo as_func_ret_failure succeeded.
316fi
317
318if ( set x; as_func_ret_success y && test x = "$1" ); then
319 :
320else
321 exitcode=1
322 echo positional parameters were not saved.
323fi
324
325test $exitcode = 0) || { (exit 1); exit 1; }
326
327(
328 as_lineno_1=$LINENO
329 as_lineno_2=$LINENO
330 test "x$as_lineno_1" != "x$as_lineno_2" && 467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
333_ASEOF
334}; then
335 break
336fi
337
338fi
339
340 done
341
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345 done
346 export CONFIG_SHELL
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348fi
349
350
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
357fi
358
359
360fi
361
362fi
363
364
365
366(eval "as_func_return () {
367 (exit \$1)
368}
369as_func_success () {
370 as_func_return 0
371}
372as_func_failure () {
373 as_func_return 1
374}
375as_func_ret_success () {
376 return 0
377}
378as_func_ret_failure () {
379 return 1
380}
381
382exitcode=0
383if as_func_success; then
384 :
385else
386 exitcode=1
387 echo as_func_success failed.
388fi
389
390if as_func_failure; then
391 exitcode=1
392 echo as_func_failure succeeded.
393fi
394
395if as_func_ret_success; then
396 :
397else
398 exitcode=1
399 echo as_func_ret_success failed.
400fi
401
402if as_func_ret_failure; then
403 exitcode=1
404 echo as_func_ret_failure succeeded.
405fi
406
407if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408 :
409else
410 exitcode=1
411 echo positional parameters were not saved.
412fi
413
414test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
418 echo message
419}
420
421
422
423 as_lineno_1=$LINENO
424 as_lineno_2=$LINENO
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
427
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
434 # case at line end.
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-) 469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
438 sed -n ' 470 sed -n '
439 p 471 p
440 /[$]LINENO/= 472 /[$]LINENO/=
441 ' <$as_myself | 473 ' <$as_myself |
442 sed ' 474 sed '
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 t loop 482 t loop
451 s/-\n.*// 483 s/-\n.*//
452 ' >$as_me.lineno && 484 ' >$as_me.lineno &&
453 chmod +x "$as_me.lineno" || 485 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 { (exit 1); exit 1; }; }
456 487
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
457 # Don't try to exec as it changes $[0], causing all sort of problems 492 # 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 493 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this). 494 # original and so on. Autoconf is especially sensitive to this).
460 . "./$as_me.lineno" 495 . "./$as_me.lineno"
461 # Exit status is that of the last command. 496 # Exit status is that of the last command.
462 exit 497 exit
463} 498}
464 499
465
466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467 as_dirname=dirname
468else
469 as_dirname=false
470fi
471
472ECHO_C= ECHO_N= ECHO_T= 500ECHO_C= ECHO_N= ECHO_T=
473case `echo -n x` in 501case `echo -n x` in #(((((
474-n*) 502-n*)
475 case `echo 'x\c'` in 503 case `echo 'xy\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) ECHO_C='\c';; 505 xy) ECHO_C='\c';;
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
507 ECHO_T=' ';;
478 esac;; 508 esac;;
479*) 509*)
480 ECHO_N='-n';; 510 ECHO_N='-n';;
481esac 511esac
482 512
483if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
485 as_expr=expr
486else
487 as_expr=false
488fi
489
490rm -f conf$$ conf$$.exe conf$$.file 513rm -f conf$$ conf$$.exe conf$$.file
491if test -d conf$$.dir; then 514if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file 515 rm -f conf$$.dir/conf$$.file
493else 516else
494 rm -f conf$$.dir 517 rm -f conf$$.dir
495 mkdir conf$$.dir 518 mkdir conf$$.dir 2>/dev/null
496fi 519fi
497echo >conf$$.file 520if (echo >conf$$.file) 2>/dev/null; then
498if ln -s conf$$.file conf$$ 2>/dev/null; then 521 if ln -s conf$$.file conf$$ 2>/dev/null; then
499 as_ln_s='ln -s' 522 as_ln_s='ln -s'
500 # ... but there are two gotchas: 523 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 524 # 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. 525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'. 526 # In both cases, we have to default to `cp -pR'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505 as_ln_s='cp -p' 528 as_ln_s='cp -pR'
506elif ln conf$$.file conf$$ 2>/dev/null; then 529 elif ln conf$$.file conf$$ 2>/dev/null; then
507 as_ln_s=ln 530 as_ln_s=ln
508else 531 else
532 as_ln_s='cp -pR'
533 fi
534else
509 as_ln_s='cp -p' 535 as_ln_s='cp -pR'
510fi 536fi
511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512rmdir conf$$.dir 2>/dev/null 538rmdir conf$$.dir 2>/dev/null
513 539
514if mkdir -p . 2>/dev/null; then 540if mkdir -p . 2>/dev/null; then
515 as_mkdir_p=: 541 as_mkdir_p='mkdir -p "$as_dir"'
516else 542else
517 test -d ./-p && rmdir ./-p 543 test -d ./-p && rmdir ./-p
518 as_mkdir_p=false 544 as_mkdir_p=false
519fi 545fi
520 546
521if test -x / >/dev/null 2>&1; then
522 as_test_x='test -x' 547as_test_x='test -x'
523else 548as_executable_p=as_fn_executable_p
524 if ls -dL / >/dev/null 2>&1; then
525 as_ls_L_option=L
526 else
527 as_ls_L_option=
528 fi
529 as_test_x='
530 eval sh -c '\''
531 if test -d "$1"; then
532 test -d "$1/.";
533 else
534 case $1 in
535 -*)set "./$1";;
536 esac;
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
539 '\'' sh
540 '
541fi
542as_executable_p=$as_test_x
543 549
544# Sed expression to map a string onto a valid CPP name. 550# 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'" 551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546 552
547# Sed expression to map a string onto a valid variable name. 553# Sed expression to map a string onto a valid variable name.
548as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 554as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549 555
550 556
551 557test -n "$DJDIR" || exec 7<&0 </dev/null
552exec 7<&0 </dev/null 6>&1 558exec 6>&1
553 559
554# Name of the host. 560# Name of the host.
555# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556# so uname gets run too. 562# so uname gets run too.
557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558 564
559# 565#
560# Initializations. 566# Initializations.
565LIBOBJS= 571LIBOBJS=
566cross_compiling=no 572cross_compiling=no
567subdirs= 573subdirs=
568MFLAGS= 574MFLAGS=
569MAKEFLAGS= 575MAKEFLAGS=
570SHELL=${CONFIG_SHELL-/bin/sh}
571 576
572# Identity of this package. 577# Identity of this package.
573PACKAGE_NAME= 578PACKAGE_NAME=
574PACKAGE_TARNAME= 579PACKAGE_TARNAME=
575PACKAGE_VERSION= 580PACKAGE_VERSION=
576PACKAGE_STRING= 581PACKAGE_STRING=
577PACKAGE_BUGREPORT= 582PACKAGE_BUGREPORT=
583PACKAGE_URL=
578 584
579ac_unique_file="parser.g" 585ac_unique_file="parser.g"
580# Factoring default headers for most tests. 586# Factoring default headers for most tests.
581ac_includes_default="\ 587ac_includes_default="\
582#include <stdio.h> 588#include <stdio.h>
611#endif 617#endif
612#ifdef HAVE_UNISTD_H 618#ifdef HAVE_UNISTD_H
613# include <unistd.h> 619# include <unistd.h>
614#endif" 620#endif"
615 621
616ac_subst_vars='SHELL 622ac_subst_vars='LTLIBOBJS
623LIBOBJS
624HAVE_PCCTS_FALSE
625HAVE_PCCTS_TRUE
626DLG
627ANTLR
628XMKMF
629CXXCPP
630am__fastdepCXX_FALSE
631am__fastdepCXX_TRUE
632CXXDEPMODE
633ac_ct_CXX
634CXXFLAGS
635CXX
636EGREP
637GREP
638CPP
639am__fastdepCC_FALSE
640am__fastdepCC_TRUE
641CCDEPMODE
642AMDEPBACKSLASH
643AMDEP_FALSE
644AMDEP_TRUE
645am__quote
646am__include
647DEPDIR
648OBJEXT
649EXEEXT
650ac_ct_CC
651CPPFLAGS
652LDFLAGS
653CFLAGS
654CC
655am__untar
656am__tar
657AMTAR
658am__leading_dot
659SET_MAKE
660AWK
661mkdir_p
662MKDIR_P
663INSTALL_STRIP_PROGRAM
664STRIP
665install_sh
666MAKEINFO
667AUTOHEADER
668AUTOMAKE
669AUTOCONF
670ACLOCAL
671VERSION
672PACKAGE
673CYGPATH_W
674am__isrc
675INSTALL_DATA
676INSTALL_SCRIPT
677INSTALL_PROGRAM
678target_alias
679host_alias
680build_alias
681LIBS
682ECHO_T
683ECHO_N
684ECHO_C
685DEFS
686mandir
687localedir
688libdir
689psdir
690pdfdir
691dvidir
692htmldir
693infodir
694docdir
695oldincludedir
696includedir
697runstatedir
698localstatedir
699sharedstatedir
700sysconfdir
701datadir
702datarootdir
703libexecdir
704sbindir
705bindir
706program_transform_name
707prefix
708exec_prefix
709PACKAGE_URL
710PACKAGE_BUGREPORT
711PACKAGE_STRING
712PACKAGE_VERSION
713PACKAGE_TARNAME
714PACKAGE_NAME
617PATH_SEPARATOR 715PATH_SEPARATOR
618PACKAGE_NAME 716SHELL'
619PACKAGE_TARNAME
620PACKAGE_VERSION
621PACKAGE_STRING
622PACKAGE_BUGREPORT
623exec_prefix
624prefix
625program_transform_name
626bindir
627sbindir
628libexecdir
629datarootdir
630datadir
631sysconfdir
632sharedstatedir
633localstatedir
634includedir
635oldincludedir
636docdir
637infodir
638htmldir
639dvidir
640pdfdir
641psdir
642libdir
643localedir
644mandir
645DEFS
646ECHO_C
647ECHO_N
648ECHO_T
649LIBS
650build_alias
651host_alias
652target_alias
653INSTALL_PROGRAM
654INSTALL_SCRIPT
655INSTALL_DATA
656CYGPATH_W
657PACKAGE
658VERSION
659ACLOCAL
660AUTOCONF
661AUTOMAKE
662AUTOHEADER
663MAKEINFO
664AMTAR
665install_sh
666STRIP
667INSTALL_STRIP_PROGRAM
668AWK
669SET_MAKE
670am__leading_dot
671CC
672CFLAGS
673LDFLAGS
674CPPFLAGS
675ac_ct_CC
676EXEEXT
677OBJEXT
678DEPDIR
679am__include
680am__quote
681AMDEP_TRUE
682AMDEP_FALSE
683AMDEPBACKSLASH
684CCDEPMODE
685am__fastdepCC_TRUE
686am__fastdepCC_FALSE
687CPP
688GREP
689EGREP
690CXX
691CXXFLAGS
692ac_ct_CXX
693CXXDEPMODE
694am__fastdepCXX_TRUE
695am__fastdepCXX_FALSE
696CXXCPP
697XMKMF
698ANTLR
699DLG
700HAVE_PCCTS_TRUE
701HAVE_PCCTS_FALSE
702LIBOBJS
703LTLIBOBJS'
704ac_subst_files='' 717ac_subst_files=''
718ac_user_opts='
719enable_option_checking
720enable_dependency_tracking
721with_x
722'
705 ac_precious_vars='build_alias 723 ac_precious_vars='build_alias
706host_alias 724host_alias
707target_alias 725target_alias
708CC 726CC
709CFLAGS 727CFLAGS
719 737
720 738
721# Initialize some variables set by options. 739# Initialize some variables set by options.
722ac_init_help= 740ac_init_help=
723ac_init_version=false 741ac_init_version=false
742ac_unrecognized_opts=
743ac_unrecognized_sep=
724# The variables have the same names as the options, with 744# The variables have the same names as the options, with
725# dashes changed to underlines. 745# dashes changed to underlines.
726cache_file=/dev/null 746cache_file=/dev/null
727exec_prefix=NONE 747exec_prefix=NONE
728no_create= 748no_create=
750datarootdir='${prefix}/share' 770datarootdir='${prefix}/share'
751datadir='${datarootdir}' 771datadir='${datarootdir}'
752sysconfdir='${prefix}/etc' 772sysconfdir='${prefix}/etc'
753sharedstatedir='${prefix}/com' 773sharedstatedir='${prefix}/com'
754localstatedir='${prefix}/var' 774localstatedir='${prefix}/var'
775runstatedir='${localstatedir}/run'
755includedir='${prefix}/include' 776includedir='${prefix}/include'
756oldincludedir='/usr/include' 777oldincludedir='/usr/include'
757docdir='${datarootdir}/doc/${PACKAGE}' 778docdir='${datarootdir}/doc/${PACKAGE}'
758infodir='${datarootdir}/info' 779infodir='${datarootdir}/info'
759htmldir='${docdir}' 780htmldir='${docdir}'
774 ac_prev= 795 ac_prev=
775 continue 796 continue
776 fi 797 fi
777 798
778 case $ac_option in 799 case $ac_option in
779 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 800 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
801 *=) ac_optarg= ;;
780 *) ac_optarg=yes ;; 802 *) ac_optarg=yes ;;
781 esac 803 esac
782 804
783 # Accept the important Cygnus configure options, so we can diagnose typos. 805 # Accept the important Cygnus configure options, so we can diagnose typos.
784 806
785 case $ac_dashdash$ac_option in 807 case $ac_dashdash$ac_option in
817 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 839 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
818 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 840 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
819 datarootdir=$ac_optarg ;; 841 datarootdir=$ac_optarg ;;
820 842
821 -disable-* | --disable-*) 843 -disable-* | --disable-*)
822 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 844 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
823 # Reject names that are not valid shell variable names. 845 # Reject names that are not valid shell variable names.
824 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 846 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
825 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 847 as_fn_error $? "invalid feature name: $ac_useropt"
826 { (exit 1); exit 1; }; } 848 ac_useropt_orig=$ac_useropt
827 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 849 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
850 case $ac_user_opts in
851 *"
852"enable_$ac_useropt"
853"*) ;;
854 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
855 ac_unrecognized_sep=', ';;
856 esac
828 eval enable_$ac_feature=no ;; 857 eval enable_$ac_useropt=no ;;
829 858
830 -docdir | --docdir | --docdi | --doc | --do) 859 -docdir | --docdir | --docdi | --doc | --do)
831 ac_prev=docdir ;; 860 ac_prev=docdir ;;
832 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 861 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
833 docdir=$ac_optarg ;; 862 docdir=$ac_optarg ;;
836 ac_prev=dvidir ;; 865 ac_prev=dvidir ;;
837 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 866 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
838 dvidir=$ac_optarg ;; 867 dvidir=$ac_optarg ;;
839 868
840 -enable-* | --enable-*) 869 -enable-* | --enable-*)
841 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 870 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
842 # Reject names that are not valid shell variable names. 871 # Reject names that are not valid shell variable names.
843 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 872 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
844 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 873 as_fn_error $? "invalid feature name: $ac_useropt"
845 { (exit 1); exit 1; }; } 874 ac_useropt_orig=$ac_useropt
846 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 875 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
876 case $ac_user_opts in
877 *"
878"enable_$ac_useropt"
879"*) ;;
880 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
881 ac_unrecognized_sep=', ';;
882 esac
847 eval enable_$ac_feature=\$ac_optarg ;; 883 eval enable_$ac_useropt=\$ac_optarg ;;
848 884
849 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 885 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
850 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 886 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
851 | --exec | --exe | --ex) 887 | --exec | --exe | --ex)
852 ac_prev=exec_prefix ;; 888 ac_prev=exec_prefix ;;
987 1023
988 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1024 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
989 | -silent | --silent | --silen | --sile | --sil) 1025 | -silent | --silent | --silen | --sile | --sil)
990 silent=yes ;; 1026 silent=yes ;;
991 1027
1028 -runstatedir | --runstatedir | --runstatedi | --runstated \
1029 | --runstate | --runstat | --runsta | --runst | --runs \
1030 | --run | --ru | --r)
1031 ac_prev=runstatedir ;;
1032 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1033 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1034 | --run=* | --ru=* | --r=*)
1035 runstatedir=$ac_optarg ;;
1036
992 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1037 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
993 ac_prev=sbindir ;; 1038 ac_prev=sbindir ;;
994 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1039 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
995 | --sbi=* | --sb=*) 1040 | --sbi=* | --sb=*)
996 sbindir=$ac_optarg ;; 1041 sbindir=$ac_optarg ;;
1033 1078
1034 -version | --version | --versio | --versi | --vers | -V) 1079 -version | --version | --versio | --versi | --vers | -V)
1035 ac_init_version=: ;; 1080 ac_init_version=: ;;
1036 1081
1037 -with-* | --with-*) 1082 -with-* | --with-*)
1038 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1083 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1039 # Reject names that are not valid shell variable names. 1084 # Reject names that are not valid shell variable names.
1040 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1041 { echo "$as_me: error: invalid package name: $ac_package" >&2 1086 as_fn_error $? "invalid package name: $ac_useropt"
1042 { (exit 1); exit 1; }; } 1087 ac_useropt_orig=$ac_useropt
1043 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1088 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1089 case $ac_user_opts in
1090 *"
1091"with_$ac_useropt"
1092"*) ;;
1093 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1094 ac_unrecognized_sep=', ';;
1095 esac
1044 eval with_$ac_package=\$ac_optarg ;; 1096 eval with_$ac_useropt=\$ac_optarg ;;
1045 1097
1046 -without-* | --without-*) 1098 -without-* | --without-*)
1047 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1099 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1048 # Reject names that are not valid shell variable names. 1100 # Reject names that are not valid shell variable names.
1049 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1050 { echo "$as_me: error: invalid package name: $ac_package" >&2 1102 as_fn_error $? "invalid package name: $ac_useropt"
1051 { (exit 1); exit 1; }; } 1103 ac_useropt_orig=$ac_useropt
1052 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1104 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105 case $ac_user_opts in
1106 *"
1107"with_$ac_useropt"
1108"*) ;;
1109 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1110 ac_unrecognized_sep=', ';;
1111 esac
1053 eval with_$ac_package=no ;; 1112 eval with_$ac_useropt=no ;;
1054 1113
1055 --x) 1114 --x)
1056 # Obsolete; use --with-x. 1115 # Obsolete; use --with-x.
1057 with_x=yes ;; 1116 with_x=yes ;;
1058 1117
1068 ac_prev=x_libraries ;; 1127 ac_prev=x_libraries ;;
1069 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1128 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1070 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1129 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1071 x_libraries=$ac_optarg ;; 1130 x_libraries=$ac_optarg ;;
1072 1131
1073 -*) { echo "$as_me: error: unrecognized option: $ac_option 1132 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1074Try \`$0 --help' for more information." >&2 1133Try \`$0 --help' for more information"
1075 { (exit 1); exit 1; }; }
1076 ;; 1134 ;;
1077 1135
1078 *=*) 1136 *=*)
1079 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1137 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1080 # Reject names that are not valid shell variable names. 1138 # Reject names that are not valid shell variable names.
1081 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1139 case $ac_envvar in #(
1140 '' | [0-9]* | *[!_$as_cr_alnum]* )
1082 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1141 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1083 { (exit 1); exit 1; }; } 1142 esac
1084 eval $ac_envvar=\$ac_optarg 1143 eval $ac_envvar=\$ac_optarg
1085 export $ac_envvar ;; 1144 export $ac_envvar ;;
1086 1145
1087 *) 1146 *)
1088 # FIXME: should be removed in autoconf 3.0. 1147 # FIXME: should be removed in autoconf 3.0.
1089 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1148 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1090 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1149 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1091 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1150 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1092 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1151 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1093 ;; 1152 ;;
1094 1153
1095 esac 1154 esac
1096done 1155done
1097 1156
1098if test -n "$ac_prev"; then 1157if test -n "$ac_prev"; then
1099 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1158 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1100 { echo "$as_me: error: missing argument to $ac_option" >&2 1159 as_fn_error $? "missing argument to $ac_option"
1101 { (exit 1); exit 1; }; }
1102fi 1160fi
1103 1161
1104# Be sure to have absolute directory names. 1162if test -n "$ac_unrecognized_opts"; then
1163 case $enable_option_checking in
1164 no) ;;
1165 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1166 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1167 esac
1168fi
1169
1170# Check all directory arguments for consistency.
1105for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1171for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1106 datadir sysconfdir sharedstatedir localstatedir includedir \ 1172 datadir sysconfdir sharedstatedir localstatedir includedir \
1107 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1173 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1108 libdir localedir mandir 1174 libdir localedir mandir runstatedir
1109do 1175do
1110 eval ac_val=\$$ac_var 1176 eval ac_val=\$$ac_var
1177 # Remove trailing slashes.
1178 case $ac_val in
1179 */ )
1180 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1181 eval $ac_var=\$ac_val;;
1182 esac
1183 # Be sure to have absolute directory names.
1111 case $ac_val in 1184 case $ac_val in
1112 [\\/$]* | ?:[\\/]* ) continue;; 1185 [\\/$]* | ?:[\\/]* ) continue;;
1113 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1186 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1114 esac 1187 esac
1115 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1188 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1116 { (exit 1); exit 1; }; }
1117done 1189done
1118 1190
1119# There might be people who depend on the old broken behavior: `$host' 1191# There might be people who depend on the old broken behavior: `$host'
1120# used to hold the argument of --host etc. 1192# used to hold the argument of --host etc.
1121# FIXME: To remove some day. 1193# FIXME: To remove some day.
1125 1197
1126# FIXME: To remove some day. 1198# FIXME: To remove some day.
1127if test "x$host_alias" != x; then 1199if test "x$host_alias" != x; then
1128 if test "x$build_alias" = x; then 1200 if test "x$build_alias" = x; then
1129 cross_compiling=maybe 1201 cross_compiling=maybe
1130 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1131 If a cross compiler is detected then cross compile mode will be used." >&2
1132 elif test "x$build_alias" != "x$host_alias"; then 1202 elif test "x$build_alias" != "x$host_alias"; then
1133 cross_compiling=yes 1203 cross_compiling=yes
1134 fi 1204 fi
1135fi 1205fi
1136 1206
1141 1211
1142 1212
1143ac_pwd=`pwd` && test -n "$ac_pwd" && 1213ac_pwd=`pwd` && test -n "$ac_pwd" &&
1144ac_ls_di=`ls -di .` && 1214ac_ls_di=`ls -di .` &&
1145ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1215ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1146 { echo "$as_me: error: Working directory cannot be determined" >&2 1216 as_fn_error $? "working directory cannot be determined"
1147 { (exit 1); exit 1; }; }
1148test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1217test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1149 { echo "$as_me: error: pwd does not report name of working directory" >&2 1218 as_fn_error $? "pwd does not report name of working directory"
1150 { (exit 1); exit 1; }; }
1151 1219
1152 1220
1153# Find the source files, if location was not specified. 1221# Find the source files, if location was not specified.
1154if test -z "$srcdir"; then 1222if test -z "$srcdir"; then
1155 ac_srcdir_defaulted=yes 1223 ac_srcdir_defaulted=yes
1156 # Try the directory containing this script, then the parent directory. 1224 # Try the directory containing this script, then the parent directory.
1157 ac_confdir=`$as_dirname -- "$0" || 1225 ac_confdir=`$as_dirname -- "$as_myself" ||
1158$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1226$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1159 X"$0" : 'X\(//\)[^/]' \| \ 1227 X"$as_myself" : 'X\(//\)[^/]' \| \
1160 X"$0" : 'X\(//\)$' \| \ 1228 X"$as_myself" : 'X\(//\)$' \| \
1161 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1229 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1162echo X"$0" | 1230$as_echo X"$as_myself" |
1163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1164 s//\1/ 1232 s//\1/
1165 q 1233 q
1166 } 1234 }
1167 /^X\(\/\/\)[^/].*/{ 1235 /^X\(\/\/\)[^/].*/{
1184else 1252else
1185 ac_srcdir_defaulted=no 1253 ac_srcdir_defaulted=no
1186fi 1254fi
1187if test ! -r "$srcdir/$ac_unique_file"; then 1255if test ! -r "$srcdir/$ac_unique_file"; then
1188 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1256 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1189 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1257 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1190 { (exit 1); exit 1; }; }
1191fi 1258fi
1192ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1259ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1193ac_abs_confdir=`( 1260ac_abs_confdir=`(
1194 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1261 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1195 { (exit 1); exit 1; }; }
1196 pwd)` 1262 pwd)`
1197# When building in place, set srcdir=. 1263# When building in place, set srcdir=.
1198if test "$ac_abs_confdir" = "$ac_pwd"; then 1264if test "$ac_abs_confdir" = "$ac_pwd"; then
1199 srcdir=. 1265 srcdir=.
1200fi 1266fi
1230Configuration: 1296Configuration:
1231 -h, --help display this help and exit 1297 -h, --help display this help and exit
1232 --help=short display options specific to this package 1298 --help=short display options specific to this package
1233 --help=recursive display the short help of all the included packages 1299 --help=recursive display the short help of all the included packages
1234 -V, --version display version information and exit 1300 -V, --version display version information and exit
1235 -q, --quiet, --silent do not print \`checking...' messages 1301 -q, --quiet, --silent do not print \`checking ...' messages
1236 --cache-file=FILE cache test results in FILE [disabled] 1302 --cache-file=FILE cache test results in FILE [disabled]
1237 -C, --config-cache alias for \`--cache-file=config.cache' 1303 -C, --config-cache alias for \`--cache-file=config.cache'
1238 -n, --no-create do not create output files 1304 -n, --no-create do not create output files
1239 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1305 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1240 1306
1241Installation directories: 1307Installation directories:
1242 --prefix=PREFIX install architecture-independent files in PREFIX 1308 --prefix=PREFIX install architecture-independent files in PREFIX
1243 [$ac_default_prefix] 1309 [$ac_default_prefix]
1244 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1310 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1245 [PREFIX] 1311 [PREFIX]
1246 1312
1247By default, \`make install' will install all the files in 1313By default, \`make install' will install all the files in
1248\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1314\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1249an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1315an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1250for instance \`--prefix=\$HOME'. 1316for instance \`--prefix=\$HOME'.
1251 1317
1252For better control, use the options below. 1318For better control, use the options below.
1253 1319
1254Fine tuning of the installation directories: 1320Fine tuning of the installation directories:
1255 --bindir=DIR user executables [EPREFIX/bin] 1321 --bindir=DIR user executables [EPREFIX/bin]
1256 --sbindir=DIR system admin executables [EPREFIX/sbin] 1322 --sbindir=DIR system admin executables [EPREFIX/sbin]
1257 --libexecdir=DIR program executables [EPREFIX/libexec] 1323 --libexecdir=DIR program executables [EPREFIX/libexec]
1258 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1324 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1259 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1325 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1260 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1326 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1327 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1261 --libdir=DIR object code libraries [EPREFIX/lib] 1328 --libdir=DIR object code libraries [EPREFIX/lib]
1262 --includedir=DIR C header files [PREFIX/include] 1329 --includedir=DIR C header files [PREFIX/include]
1263 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1330 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1264 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1331 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1265 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1332 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1266 --infodir=DIR info documentation [DATAROOTDIR/info] 1333 --infodir=DIR info documentation [DATAROOTDIR/info]
1267 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1334 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1268 --mandir=DIR man documentation [DATAROOTDIR/man] 1335 --mandir=DIR man documentation [DATAROOTDIR/man]
1269 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1336 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1270 --htmldir=DIR html documentation [DOCDIR] 1337 --htmldir=DIR html documentation [DOCDIR]
1271 --dvidir=DIR dvi documentation [DOCDIR] 1338 --dvidir=DIR dvi documentation [DOCDIR]
1272 --pdfdir=DIR pdf documentation [DOCDIR] 1339 --pdfdir=DIR pdf documentation [DOCDIR]
1273 --psdir=DIR ps documentation [DOCDIR] 1340 --psdir=DIR ps documentation [DOCDIR]
1274_ACEOF 1341_ACEOF
1275 1342
1276 cat <<\_ACEOF 1343 cat <<\_ACEOF
1277 1344
1278Program names: 1345Program names:
1289if test -n "$ac_init_help"; then 1356if test -n "$ac_init_help"; then
1290 1357
1291 cat <<\_ACEOF 1358 cat <<\_ACEOF
1292 1359
1293Optional Features: 1360Optional Features:
1361 --disable-option-checking ignore unrecognized --enable/--with options
1294 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1362 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1295 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1363 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1296 --disable-dependency-tracking Speeds up one-time builds 1364 --disable-dependency-tracking speeds up one-time build
1297 --enable-dependency-tracking Do not reject slow dependency extractors 1365 --enable-dependency-tracking do not reject slow dependency extractors
1298 1366
1299Optional Packages: 1367Optional Packages:
1300 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1368 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1301 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1369 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1302 --with-x use the X Window System 1370 --with-x use the X Window System
1305 CC C compiler command 1373 CC C compiler command
1306 CFLAGS C compiler flags 1374 CFLAGS C compiler flags
1307 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1375 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1308 nonstandard directory <lib dir> 1376 nonstandard directory <lib dir>
1309 LIBS libraries to pass to the linker, e.g. -l<library> 1377 LIBS libraries to pass to the linker, e.g. -l<library>
1310 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1378 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1311 you have headers in a nonstandard directory <include dir> 1379 you have headers in a nonstandard directory <include dir>
1312 CPP C preprocessor 1380 CPP C preprocessor
1313 CXX C++ compiler command 1381 CXX C++ compiler command
1314 CXXFLAGS C++ compiler flags 1382 CXXFLAGS C++ compiler flags
1315 CXXCPP C++ preprocessor 1383 CXXCPP C++ preprocessor
1316 XMKMF Path to xmkmf, Makefile generator for X Window System 1384 XMKMF Path to xmkmf, Makefile generator for X Window System
1317 1385
1318Use these variables to override the choices made by `configure' or to help 1386Use these variables to override the choices made by `configure' or to help
1319it to find libraries and programs with nonstandard names/locations. 1387it to find libraries and programs with nonstandard names/locations.
1320 1388
1389Report bugs to the package provider.
1321_ACEOF 1390_ACEOF
1322ac_status=$? 1391ac_status=$?
1323fi 1392fi
1324 1393
1325if test "$ac_init_help" = "recursive"; then 1394if test "$ac_init_help" = "recursive"; then
1326 # If there are subdirs, report their specific --help. 1395 # If there are subdirs, report their specific --help.
1327 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1396 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1328 test -d "$ac_dir" || continue 1397 test -d "$ac_dir" ||
1398 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1399 continue
1329 ac_builddir=. 1400 ac_builddir=.
1330 1401
1331case "$ac_dir" in 1402case "$ac_dir" in
1332.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1403.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1333*) 1404*)
1334 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1405 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1335 # A ".." for each directory in $ac_dir_suffix. 1406 # A ".." for each directory in $ac_dir_suffix.
1336 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1407 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1337 case $ac_top_builddir_sub in 1408 case $ac_top_builddir_sub in
1338 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1409 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1339 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1410 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1340 esac ;; 1411 esac ;;
1341esac 1412esac
1367 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1438 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1368 elif test -f "$ac_srcdir/configure"; then 1439 elif test -f "$ac_srcdir/configure"; then
1369 echo && 1440 echo &&
1370 $SHELL "$ac_srcdir/configure" --help=recursive 1441 $SHELL "$ac_srcdir/configure" --help=recursive
1371 else 1442 else
1372 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1443 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1373 fi || ac_status=$? 1444 fi || ac_status=$?
1374 cd "$ac_pwd" || { ac_status=$?; break; } 1445 cd "$ac_pwd" || { ac_status=$?; break; }
1375 done 1446 done
1376fi 1447fi
1377 1448
1378test -n "$ac_init_help" && exit $ac_status 1449test -n "$ac_init_help" && exit $ac_status
1379if $ac_init_version; then 1450if $ac_init_version; then
1380 cat <<\_ACEOF 1451 cat <<\_ACEOF
1381configure 1452configure
1382generated by GNU Autoconf 2.61 1453generated by GNU Autoconf 2.69
1383 1454
1384Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1455Copyright (C) 2012 Free Software Foundation, Inc.
13852002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1386This configure script is free software; the Free Software Foundation 1456This configure script is free software; the Free Software Foundation
1387gives unlimited permission to copy, distribute and modify it. 1457gives unlimited permission to copy, distribute and modify it.
1388_ACEOF 1458_ACEOF
1389 exit 1459 exit
1390fi 1460fi
1461
1462## ------------------------ ##
1463## Autoconf initialization. ##
1464## ------------------------ ##
1465
1466# ac_fn_c_try_compile LINENO
1467# --------------------------
1468# Try to compile conftest.$ac_ext, and return whether this succeeded.
1469ac_fn_c_try_compile ()
1470{
1471 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1472 rm -f conftest.$ac_objext
1473 if { { ac_try="$ac_compile"
1474case "(($ac_try" in
1475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1476 *) ac_try_echo=$ac_try;;
1477esac
1478eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1479$as_echo "$ac_try_echo"; } >&5
1480 (eval "$ac_compile") 2>conftest.err
1481 ac_status=$?
1482 if test -s conftest.err; then
1483 grep -v '^ *+' conftest.err >conftest.er1
1484 cat conftest.er1 >&5
1485 mv -f conftest.er1 conftest.err
1486 fi
1487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1488 test $ac_status = 0; } && {
1489 test -z "$ac_c_werror_flag" ||
1490 test ! -s conftest.err
1491 } && test -s conftest.$ac_objext; then :
1492 ac_retval=0
1493else
1494 $as_echo "$as_me: failed program was:" >&5
1495sed 's/^/| /' conftest.$ac_ext >&5
1496
1497 ac_retval=1
1498fi
1499 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1500 as_fn_set_status $ac_retval
1501
1502} # ac_fn_c_try_compile
1503
1504# ac_fn_c_try_cpp LINENO
1505# ----------------------
1506# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1507ac_fn_c_try_cpp ()
1508{
1509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1510 if { { ac_try="$ac_cpp conftest.$ac_ext"
1511case "(($ac_try" in
1512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1513 *) ac_try_echo=$ac_try;;
1514esac
1515eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1516$as_echo "$ac_try_echo"; } >&5
1517 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1518 ac_status=$?
1519 if test -s conftest.err; then
1520 grep -v '^ *+' conftest.err >conftest.er1
1521 cat conftest.er1 >&5
1522 mv -f conftest.er1 conftest.err
1523 fi
1524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1525 test $ac_status = 0; } > conftest.i && {
1526 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1527 test ! -s conftest.err
1528 }; then :
1529 ac_retval=0
1530else
1531 $as_echo "$as_me: failed program was:" >&5
1532sed 's/^/| /' conftest.$ac_ext >&5
1533
1534 ac_retval=1
1535fi
1536 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1537 as_fn_set_status $ac_retval
1538
1539} # ac_fn_c_try_cpp
1540
1541# ac_fn_c_try_run LINENO
1542# ----------------------
1543# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1544# that executables *can* be run.
1545ac_fn_c_try_run ()
1546{
1547 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1548 if { { ac_try="$ac_link"
1549case "(($ac_try" in
1550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1551 *) ac_try_echo=$ac_try;;
1552esac
1553eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1554$as_echo "$ac_try_echo"; } >&5
1555 (eval "$ac_link") 2>&5
1556 ac_status=$?
1557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1558 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1559 { { case "(($ac_try" in
1560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1561 *) ac_try_echo=$ac_try;;
1562esac
1563eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1564$as_echo "$ac_try_echo"; } >&5
1565 (eval "$ac_try") 2>&5
1566 ac_status=$?
1567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1568 test $ac_status = 0; }; }; then :
1569 ac_retval=0
1570else
1571 $as_echo "$as_me: program exited with status $ac_status" >&5
1572 $as_echo "$as_me: failed program was:" >&5
1573sed 's/^/| /' conftest.$ac_ext >&5
1574
1575 ac_retval=$ac_status
1576fi
1577 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1578 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1579 as_fn_set_status $ac_retval
1580
1581} # ac_fn_c_try_run
1582
1583# ac_fn_cxx_try_compile LINENO
1584# ----------------------------
1585# Try to compile conftest.$ac_ext, and return whether this succeeded.
1586ac_fn_cxx_try_compile ()
1587{
1588 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1589 rm -f conftest.$ac_objext
1590 if { { ac_try="$ac_compile"
1591case "(($ac_try" in
1592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1593 *) ac_try_echo=$ac_try;;
1594esac
1595eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1596$as_echo "$ac_try_echo"; } >&5
1597 (eval "$ac_compile") 2>conftest.err
1598 ac_status=$?
1599 if test -s conftest.err; then
1600 grep -v '^ *+' conftest.err >conftest.er1
1601 cat conftest.er1 >&5
1602 mv -f conftest.er1 conftest.err
1603 fi
1604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1605 test $ac_status = 0; } && {
1606 test -z "$ac_cxx_werror_flag" ||
1607 test ! -s conftest.err
1608 } && test -s conftest.$ac_objext; then :
1609 ac_retval=0
1610else
1611 $as_echo "$as_me: failed program was:" >&5
1612sed 's/^/| /' conftest.$ac_ext >&5
1613
1614 ac_retval=1
1615fi
1616 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1617 as_fn_set_status $ac_retval
1618
1619} # ac_fn_cxx_try_compile
1620
1621# ac_fn_cxx_try_cpp LINENO
1622# ------------------------
1623# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1624ac_fn_cxx_try_cpp ()
1625{
1626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627 if { { ac_try="$ac_cpp conftest.$ac_ext"
1628case "(($ac_try" in
1629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1630 *) ac_try_echo=$ac_try;;
1631esac
1632eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633$as_echo "$ac_try_echo"; } >&5
1634 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1635 ac_status=$?
1636 if test -s conftest.err; then
1637 grep -v '^ *+' conftest.err >conftest.er1
1638 cat conftest.er1 >&5
1639 mv -f conftest.er1 conftest.err
1640 fi
1641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642 test $ac_status = 0; } > conftest.i && {
1643 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1644 test ! -s conftest.err
1645 }; then :
1646 ac_retval=0
1647else
1648 $as_echo "$as_me: failed program was:" >&5
1649sed 's/^/| /' conftest.$ac_ext >&5
1650
1651 ac_retval=1
1652fi
1653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654 as_fn_set_status $ac_retval
1655
1656} # ac_fn_cxx_try_cpp
1657
1658# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1659# ---------------------------------------------------------
1660# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1661# the include files in INCLUDES and setting the cache variable VAR
1662# accordingly.
1663ac_fn_cxx_check_header_mongrel ()
1664{
1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666 if eval \${$3+:} false; then :
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1668$as_echo_n "checking for $2... " >&6; }
1669if eval \${$3+:} false; then :
1670 $as_echo_n "(cached) " >&6
1671fi
1672eval ac_res=\$$3
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1674$as_echo "$ac_res" >&6; }
1675else
1676 # Is the header compilable?
1677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1678$as_echo_n "checking $2 usability... " >&6; }
1679cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1680/* end confdefs.h. */
1681$4
1682#include <$2>
1683_ACEOF
1684if ac_fn_cxx_try_compile "$LINENO"; then :
1685 ac_header_compiler=yes
1686else
1687 ac_header_compiler=no
1688fi
1689rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1691$as_echo "$ac_header_compiler" >&6; }
1692
1693# Is the header present?
1694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1695$as_echo_n "checking $2 presence... " >&6; }
1696cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1697/* end confdefs.h. */
1698#include <$2>
1699_ACEOF
1700if ac_fn_cxx_try_cpp "$LINENO"; then :
1701 ac_header_preproc=yes
1702else
1703 ac_header_preproc=no
1704fi
1705rm -f conftest.err conftest.i conftest.$ac_ext
1706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1707$as_echo "$ac_header_preproc" >&6; }
1708
1709# So? What about this header?
1710case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1711 yes:no: )
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1713$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1715$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1716 ;;
1717 no:yes:* )
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1719$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1721$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1723$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1725$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1727$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1728 ;;
1729esac
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1731$as_echo_n "checking for $2... " >&6; }
1732if eval \${$3+:} false; then :
1733 $as_echo_n "(cached) " >&6
1734else
1735 eval "$3=\$ac_header_compiler"
1736fi
1737eval ac_res=\$$3
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1739$as_echo "$ac_res" >&6; }
1740fi
1741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1742
1743} # ac_fn_cxx_check_header_mongrel
1744
1745# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1746# ---------------------------------------------------------
1747# Tests whether HEADER exists and can be compiled using the include files in
1748# INCLUDES, setting the cache variable VAR accordingly.
1749ac_fn_cxx_check_header_compile ()
1750{
1751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1753$as_echo_n "checking for $2... " >&6; }
1754if eval \${$3+:} false; then :
1755 $as_echo_n "(cached) " >&6
1756else
1757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1758/* end confdefs.h. */
1759$4
1760#include <$2>
1761_ACEOF
1762if ac_fn_cxx_try_compile "$LINENO"; then :
1763 eval "$3=yes"
1764else
1765 eval "$3=no"
1766fi
1767rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1768fi
1769eval ac_res=\$$3
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1771$as_echo "$ac_res" >&6; }
1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773
1774} # ac_fn_cxx_check_header_compile
1775
1776# ac_fn_cxx_try_link LINENO
1777# -------------------------
1778# Try to link conftest.$ac_ext, and return whether this succeeded.
1779ac_fn_cxx_try_link ()
1780{
1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782 rm -f conftest.$ac_objext conftest$ac_exeext
1783 if { { ac_try="$ac_link"
1784case "(($ac_try" in
1785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1786 *) ac_try_echo=$ac_try;;
1787esac
1788eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1789$as_echo "$ac_try_echo"; } >&5
1790 (eval "$ac_link") 2>conftest.err
1791 ac_status=$?
1792 if test -s conftest.err; then
1793 grep -v '^ *+' conftest.err >conftest.er1
1794 cat conftest.er1 >&5
1795 mv -f conftest.er1 conftest.err
1796 fi
1797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1798 test $ac_status = 0; } && {
1799 test -z "$ac_cxx_werror_flag" ||
1800 test ! -s conftest.err
1801 } && test -s conftest$ac_exeext && {
1802 test "$cross_compiling" = yes ||
1803 test -x conftest$ac_exeext
1804 }; then :
1805 ac_retval=0
1806else
1807 $as_echo "$as_me: failed program was:" >&5
1808sed 's/^/| /' conftest.$ac_ext >&5
1809
1810 ac_retval=1
1811fi
1812 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1813 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1814 # interfere with the next link command; also delete a directory that is
1815 # left behind by Apple's compiler. We do this before executing the actions.
1816 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1818 as_fn_set_status $ac_retval
1819
1820} # ac_fn_cxx_try_link
1821
1822# ac_fn_cxx_check_func LINENO FUNC VAR
1823# ------------------------------------
1824# Tests whether FUNC exists, setting the cache variable VAR accordingly
1825ac_fn_cxx_check_func ()
1826{
1827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1829$as_echo_n "checking for $2... " >&6; }
1830if eval \${$3+:} false; then :
1831 $as_echo_n "(cached) " >&6
1832else
1833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1834/* end confdefs.h. */
1835/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1837#define $2 innocuous_$2
1838
1839/* System header to define __stub macros and hopefully few prototypes,
1840 which can conflict with char $2 (); below.
1841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1842 <limits.h> exists even on freestanding compilers. */
1843
1844#ifdef __STDC__
1845# include <limits.h>
1846#else
1847# include <assert.h>
1848#endif
1849
1850#undef $2
1851
1852/* Override any GCC internal prototype to avoid an error.
1853 Use char because int might match the return type of a GCC
1854 builtin and then its argument prototype would still apply. */
1855#ifdef __cplusplus
1856extern "C"
1857#endif
1858char $2 ();
1859/* The GNU C library defines this for functions which it implements
1860 to always fail with ENOSYS. Some functions are actually named
1861 something starting with __ and the normal name is an alias. */
1862#if defined __stub_$2 || defined __stub___$2
1863choke me
1864#endif
1865
1866int
1867main ()
1868{
1869return $2 ();
1870 ;
1871 return 0;
1872}
1873_ACEOF
1874if ac_fn_cxx_try_link "$LINENO"; then :
1875 eval "$3=yes"
1876else
1877 eval "$3=no"
1878fi
1879rm -f core conftest.err conftest.$ac_objext \
1880 conftest$ac_exeext conftest.$ac_ext
1881fi
1882eval ac_res=\$$3
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1884$as_echo "$ac_res" >&6; }
1885 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1886
1887} # ac_fn_cxx_check_func
1391cat >config.log <<_ACEOF 1888cat >config.log <<_ACEOF
1392This file contains any messages produced by compilers while 1889This file contains any messages produced by compilers while
1393running configure, to aid debugging if configure makes a mistake. 1890running configure, to aid debugging if configure makes a mistake.
1394 1891
1395It was created by $as_me, which was 1892It was created by $as_me, which was
1396generated by GNU Autoconf 2.61. Invocation command line was 1893generated by GNU Autoconf 2.69. Invocation command line was
1397 1894
1398 $ $0 $@ 1895 $ $0 $@
1399 1896
1400_ACEOF 1897_ACEOF
1401exec 5>>config.log 1898exec 5>>config.log
1427as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1924as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1428for as_dir in $PATH 1925for as_dir in $PATH
1429do 1926do
1430 IFS=$as_save_IFS 1927 IFS=$as_save_IFS
1431 test -z "$as_dir" && as_dir=. 1928 test -z "$as_dir" && as_dir=.
1432 echo "PATH: $as_dir" 1929 $as_echo "PATH: $as_dir"
1433done 1930 done
1434IFS=$as_save_IFS 1931IFS=$as_save_IFS
1435 1932
1436} >&5 1933} >&5
1437 1934
1438cat >&5 <<_ACEOF 1935cat >&5 <<_ACEOF
1462 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1959 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1463 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1960 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1464 | -silent | --silent | --silen | --sile | --sil) 1961 | -silent | --silent | --silen | --sile | --sil)
1465 continue ;; 1962 continue ;;
1466 *\'*) 1963 *\'*)
1467 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1964 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1468 esac 1965 esac
1469 case $ac_pass in 1966 case $ac_pass in
1470 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1967 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1471 2) 1968 2)
1472 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1969 as_fn_append ac_configure_args1 " '$ac_arg'"
1473 if test $ac_must_keep_next = true; then 1970 if test $ac_must_keep_next = true; then
1474 ac_must_keep_next=false # Got value, back to normal. 1971 ac_must_keep_next=false # Got value, back to normal.
1475 else 1972 else
1476 case $ac_arg in 1973 case $ac_arg in
1477 *=* | --config-cache | -C | -disable-* | --disable-* \ 1974 *=* | --config-cache | -C | -disable-* | --disable-* \
1483 esac 1980 esac
1484 ;; 1981 ;;
1485 -* ) ac_must_keep_next=true ;; 1982 -* ) ac_must_keep_next=true ;;
1486 esac 1983 esac
1487 fi 1984 fi
1488 ac_configure_args="$ac_configure_args '$ac_arg'" 1985 as_fn_append ac_configure_args " '$ac_arg'"
1489 ;; 1986 ;;
1490 esac 1987 esac
1491 done 1988 done
1492done 1989done
1493$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1990{ ac_configure_args0=; unset ac_configure_args0;}
1494$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1991{ ac_configure_args1=; unset ac_configure_args1;}
1495 1992
1496# When interrupted or exit'd, cleanup temporary files, and complete 1993# When interrupted or exit'd, cleanup temporary files, and complete
1497# config.log. We remove comments because anyway the quotes in there 1994# config.log. We remove comments because anyway the quotes in there
1498# would cause problems or look ugly. 1995# would cause problems or look ugly.
1499# WARNING: Use '\'' to represent an apostrophe within the trap. 1996# WARNING: Use '\'' to represent an apostrophe within the trap.
1501trap 'exit_status=$? 1998trap 'exit_status=$?
1502 # Save into config.log some information that might help in debugging. 1999 # Save into config.log some information that might help in debugging.
1503 { 2000 {
1504 echo 2001 echo
1505 2002
1506 cat <<\_ASBOX
1507## ---------------- ## 2003 $as_echo "## ---------------- ##
1508## Cache variables. ## 2004## Cache variables. ##
1509## ---------------- ## 2005## ---------------- ##"
1510_ASBOX
1511 echo 2006 echo
1512 # The following way of writing the cache mishandles newlines in values, 2007 # The following way of writing the cache mishandles newlines in values,
1513( 2008(
1514 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2009 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1515 eval ac_val=\$$ac_var 2010 eval ac_val=\$$ac_var
1516 case $ac_val in #( 2011 case $ac_val in #(
1517 *${as_nl}*) 2012 *${as_nl}*)
1518 case $ac_var in #( 2013 case $ac_var in #(
1519 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 2014 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1520echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 2015$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1521 esac 2016 esac
1522 case $ac_var in #( 2017 case $ac_var in #(
1523 _ | IFS | as_nl) ;; #( 2018 _ | IFS | as_nl) ;; #(
1524 *) $as_unset $ac_var ;; 2019 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2020 *) { eval $ac_var=; unset $ac_var;} ;;
1525 esac ;; 2021 esac ;;
1526 esac 2022 esac
1527 done 2023 done
1528 (set) 2>&1 | 2024 (set) 2>&1 |
1529 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2025 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1538 esac | 2034 esac |
1539 sort 2035 sort
1540) 2036)
1541 echo 2037 echo
1542 2038
1543 cat <<\_ASBOX
1544## ----------------- ## 2039 $as_echo "## ----------------- ##
1545## Output variables. ## 2040## Output variables. ##
1546## ----------------- ## 2041## ----------------- ##"
1547_ASBOX
1548 echo 2042 echo
1549 for ac_var in $ac_subst_vars 2043 for ac_var in $ac_subst_vars
1550 do 2044 do
1551 eval ac_val=\$$ac_var 2045 eval ac_val=\$$ac_var
1552 case $ac_val in 2046 case $ac_val in
1553 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2047 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1554 esac 2048 esac
1555 echo "$ac_var='\''$ac_val'\''" 2049 $as_echo "$ac_var='\''$ac_val'\''"
1556 done | sort 2050 done | sort
1557 echo 2051 echo
1558 2052
1559 if test -n "$ac_subst_files"; then 2053 if test -n "$ac_subst_files"; then
1560 cat <<\_ASBOX
1561## ------------------- ## 2054 $as_echo "## ------------------- ##
1562## File substitutions. ## 2055## File substitutions. ##
1563## ------------------- ## 2056## ------------------- ##"
1564_ASBOX
1565 echo 2057 echo
1566 for ac_var in $ac_subst_files 2058 for ac_var in $ac_subst_files
1567 do 2059 do
1568 eval ac_val=\$$ac_var 2060 eval ac_val=\$$ac_var
1569 case $ac_val in 2061 case $ac_val in
1570 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2062 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1571 esac 2063 esac
1572 echo "$ac_var='\''$ac_val'\''" 2064 $as_echo "$ac_var='\''$ac_val'\''"
1573 done | sort 2065 done | sort
1574 echo 2066 echo
1575 fi 2067 fi
1576 2068
1577 if test -s confdefs.h; then 2069 if test -s confdefs.h; then
1578 cat <<\_ASBOX 2070 $as_echo "## ----------- ##
1579## ----------- ##
1580## confdefs.h. ## 2071## confdefs.h. ##
1581## ----------- ## 2072## ----------- ##"
1582_ASBOX
1583 echo 2073 echo
1584 cat confdefs.h 2074 cat confdefs.h
1585 echo 2075 echo
1586 fi 2076 fi
1587 test "$ac_signal" != 0 && 2077 test "$ac_signal" != 0 &&
1588 echo "$as_me: caught signal $ac_signal" 2078 $as_echo "$as_me: caught signal $ac_signal"
1589 echo "$as_me: exit $exit_status" 2079 $as_echo "$as_me: exit $exit_status"
1590 } >&5 2080 } >&5
1591 rm -f core *.core core.conftest.* && 2081 rm -f core *.core core.conftest.* &&
1592 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2082 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1593 exit $exit_status 2083 exit $exit_status
1594' 0 2084' 0
1595for ac_signal in 1 2 13 15; do 2085for ac_signal in 1 2 13 15; do
1596 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2086 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1597done 2087done
1598ac_signal=0 2088ac_signal=0
1599 2089
1600# confdefs.h avoids OS command line length limits that DEFS can exceed. 2090# confdefs.h avoids OS command line length limits that DEFS can exceed.
1601rm -f -r conftest* confdefs.h 2091rm -f -r conftest* confdefs.h
1602 2092
2093$as_echo "/* confdefs.h */" > confdefs.h
2094
1603# Predefined preprocessor variables. 2095# Predefined preprocessor variables.
1604 2096
1605cat >>confdefs.h <<_ACEOF 2097cat >>confdefs.h <<_ACEOF
1606#define PACKAGE_NAME "$PACKAGE_NAME" 2098#define PACKAGE_NAME "$PACKAGE_NAME"
1607_ACEOF 2099_ACEOF
1608 2100
1609
1610cat >>confdefs.h <<_ACEOF 2101cat >>confdefs.h <<_ACEOF
1611#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2102#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1612_ACEOF 2103_ACEOF
1613 2104
1614
1615cat >>confdefs.h <<_ACEOF 2105cat >>confdefs.h <<_ACEOF
1616#define PACKAGE_VERSION "$PACKAGE_VERSION" 2106#define PACKAGE_VERSION "$PACKAGE_VERSION"
1617_ACEOF 2107_ACEOF
1618 2108
1619
1620cat >>confdefs.h <<_ACEOF 2109cat >>confdefs.h <<_ACEOF
1621#define PACKAGE_STRING "$PACKAGE_STRING" 2110#define PACKAGE_STRING "$PACKAGE_STRING"
1622_ACEOF 2111_ACEOF
1623 2112
1624
1625cat >>confdefs.h <<_ACEOF 2113cat >>confdefs.h <<_ACEOF
1626#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2114#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1627_ACEOF 2115_ACEOF
1628 2116
2117cat >>confdefs.h <<_ACEOF
2118#define PACKAGE_URL "$PACKAGE_URL"
2119_ACEOF
2120
1629 2121
1630# Let the site file select an alternate cache file if it wants to. 2122# Let the site file select an alternate cache file if it wants to.
1631# Prefer explicitly selected file to automatically selected ones. 2123# Prefer an explicitly selected file to automatically selected ones.
2124ac_site_file1=NONE
2125ac_site_file2=NONE
1632if test -n "$CONFIG_SITE"; then 2126if test -n "$CONFIG_SITE"; then
1633 set x "$CONFIG_SITE" 2127 # We do not want a PATH search for config.site.
2128 case $CONFIG_SITE in #((
2129 -*) ac_site_file1=./$CONFIG_SITE;;
2130 */*) ac_site_file1=$CONFIG_SITE;;
2131 *) ac_site_file1=./$CONFIG_SITE;;
2132 esac
1634elif test "x$prefix" != xNONE; then 2133elif test "x$prefix" != xNONE; then
1635 set x "$prefix/share/config.site" "$prefix/etc/config.site" 2134 ac_site_file1=$prefix/share/config.site
2135 ac_site_file2=$prefix/etc/config.site
1636else 2136else
1637 set x "$ac_default_prefix/share/config.site" \ 2137 ac_site_file1=$ac_default_prefix/share/config.site
1638 "$ac_default_prefix/etc/config.site" 2138 ac_site_file2=$ac_default_prefix/etc/config.site
1639fi 2139fi
1640shift 2140for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1641for ac_site_file
1642do 2141do
1643 if test -r "$ac_site_file"; then 2142 test "x$ac_site_file" = xNONE && continue
2143 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1644 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 2144 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1645echo "$as_me: loading site script $ac_site_file" >&6;} 2145$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1646 sed 's/^/| /' "$ac_site_file" >&5 2146 sed 's/^/| /' "$ac_site_file" >&5
1647 . "$ac_site_file" 2147 . "$ac_site_file" \
2148 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2149$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2150as_fn_error $? "failed to load site script $ac_site_file
2151See \`config.log' for more details" "$LINENO" 5; }
1648 fi 2152 fi
1649done 2153done
1650 2154
1651if test -r "$cache_file"; then 2155if test -r "$cache_file"; then
1652 # Some versions of bash will fail to source /dev/null (special 2156 # Some versions of bash will fail to source /dev/null (special files
1653 # files actually), so we avoid doing that. 2157 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1654 if test -f "$cache_file"; then 2158 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1655 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 2159 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1656echo "$as_me: loading cache $cache_file" >&6;} 2160$as_echo "$as_me: loading cache $cache_file" >&6;}
1657 case $cache_file in 2161 case $cache_file in
1658 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2162 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1659 *) . "./$cache_file";; 2163 *) . "./$cache_file";;
1660 esac 2164 esac
1661 fi 2165 fi
1662else 2166else
1663 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 2167 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1664echo "$as_me: creating cache $cache_file" >&6;} 2168$as_echo "$as_me: creating cache $cache_file" >&6;}
1665 >$cache_file 2169 >$cache_file
1666fi 2170fi
1667 2171
1668# Check that the precious variables saved in the cache have kept the same 2172# Check that the precious variables saved in the cache have kept the same
1669# value. 2173# value.
1673 eval ac_new_set=\$ac_env_${ac_var}_set 2177 eval ac_new_set=\$ac_env_${ac_var}_set
1674 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2178 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1675 eval ac_new_val=\$ac_env_${ac_var}_value 2179 eval ac_new_val=\$ac_env_${ac_var}_value
1676 case $ac_old_set,$ac_new_set in 2180 case $ac_old_set,$ac_new_set in
1677 set,) 2181 set,)
1678 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2182 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1679echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2183$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1680 ac_cache_corrupted=: ;; 2184 ac_cache_corrupted=: ;;
1681 ,set) 2185 ,set)
1682 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 2186 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1683echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2187$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1684 ac_cache_corrupted=: ;; 2188 ac_cache_corrupted=: ;;
1685 ,);; 2189 ,);;
1686 *) 2190 *)
1687 if test "x$ac_old_val" != "x$ac_new_val"; then 2191 if test "x$ac_old_val" != "x$ac_new_val"; then
2192 # differences in whitespace do not lead to failure.
2193 ac_old_val_w=`echo x $ac_old_val`
2194 ac_new_val_w=`echo x $ac_new_val`
2195 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1688 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2196 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1689echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2197$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1690 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1691echo "$as_me: former value: $ac_old_val" >&2;}
1692 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1693echo "$as_me: current value: $ac_new_val" >&2;}
1694 ac_cache_corrupted=: 2198 ac_cache_corrupted=:
2199 else
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2201$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2202 eval $ac_var=\$ac_old_val
2203 fi
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2205$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2207$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1695 fi;; 2208 fi;;
1696 esac 2209 esac
1697 # Pass precious variables to config.status. 2210 # Pass precious variables to config.status.
1698 if test "$ac_new_set" = set; then 2211 if test "$ac_new_set" = set; then
1699 case $ac_new_val in 2212 case $ac_new_val in
1700 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2213 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1701 *) ac_arg=$ac_var=$ac_new_val ;; 2214 *) ac_arg=$ac_var=$ac_new_val ;;
1702 esac 2215 esac
1703 case " $ac_configure_args " in 2216 case " $ac_configure_args " in
1704 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2217 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1705 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2218 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1706 esac 2219 esac
1707 fi 2220 fi
1708done 2221done
1709if $ac_cache_corrupted; then 2222if $ac_cache_corrupted; then
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2224$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1710 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2225 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1711echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2226$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1712 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1713echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 2227 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1714 { (exit 1); exit 1; }; }
1715fi 2228fi
1716 2229## -------------------- ##
1717 2230## Main body of script. ##
1718 2231## -------------------- ##
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732 2232
1733ac_ext=c 2233ac_ext=c
1734ac_cpp='$CPP $CPPFLAGS' 2234ac_cpp='$CPP $CPPFLAGS'
1735ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2235ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1736ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2236ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1737ac_compiler_gnu=$ac_cv_c_compiler_gnu 2237ac_compiler_gnu=$ac_cv_c_compiler_gnu
1738 2238
1739 2239
1740 2240
1741am__api_version="1.7" 2241am__api_version='1.10'
2242
1742ac_aux_dir= 2243ac_aux_dir=
1743for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2244for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1744 if test -f "$ac_dir/install-sh"; then 2245 if test -f "$ac_dir/install-sh"; then
1745 ac_aux_dir=$ac_dir 2246 ac_aux_dir=$ac_dir
1746 ac_install_sh="$ac_aux_dir/install-sh -c" 2247 ac_install_sh="$ac_aux_dir/install-sh -c"
1754 ac_install_sh="$ac_aux_dir/shtool install -c" 2255 ac_install_sh="$ac_aux_dir/shtool install -c"
1755 break 2256 break
1756 fi 2257 fi
1757done 2258done
1758if test -z "$ac_aux_dir"; then 2259if test -z "$ac_aux_dir"; then
1759 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1760echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2260 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1761 { (exit 1); exit 1; }; }
1762fi 2261fi
1763 2262
1764# These three variables are undocumented and unsupported, 2263# These three variables are undocumented and unsupported,
1765# and are intended to be withdrawn in a future Autoconf release. 2264# and are intended to be withdrawn in a future Autoconf release.
1766# They can cause serious problems if a builder's source tree is in a directory 2265# They can cause serious problems if a builder's source tree is in a directory
1781# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2280# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1782# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2281# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1783# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2282# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1784# OS/2's system install, which has a completely different semantic 2283# OS/2's system install, which has a completely different semantic
1785# ./install, which can be erroneously created by make from ./install.sh. 2284# ./install, which can be erroneously created by make from ./install.sh.
2285# Reject install programs that cannot install multiple files.
1786{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1787echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2287$as_echo_n "checking for a BSD-compatible install... " >&6; }
1788if test -z "$INSTALL"; then 2288if test -z "$INSTALL"; then
1789if test "${ac_cv_path_install+set}" = set; then 2289if ${ac_cv_path_install+:} false; then :
1790 echo $ECHO_N "(cached) $ECHO_C" >&6 2290 $as_echo_n "(cached) " >&6
1791else 2291else
1792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1793for as_dir in $PATH 2293for as_dir in $PATH
1794do 2294do
1795 IFS=$as_save_IFS 2295 IFS=$as_save_IFS
1796 test -z "$as_dir" && as_dir=. 2296 test -z "$as_dir" && as_dir=.
1797 # Account for people who put trailing slashes in PATH elements. 2297 # Account for people who put trailing slashes in PATH elements.
1798case $as_dir/ in 2298case $as_dir/ in #((
1799 ./ | .// | /cC/* | \ 2299 ./ | .// | /[cC]/* | \
1800 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2300 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1801 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2301 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1802 /usr/ucb/* ) ;; 2302 /usr/ucb/* ) ;;
1803 *) 2303 *)
1804 # OSF1 and SCO ODT 3.0 have their own names for install. 2304 # OSF1 and SCO ODT 3.0 have their own names for install.
1805 # Don't use installbsd from OSF since it installs stuff as root 2305 # Don't use installbsd from OSF since it installs stuff as root
1806 # by default. 2306 # by default.
1807 for ac_prog in ginstall scoinst install; do 2307 for ac_prog in ginstall scoinst install; do
1808 for ac_exec_ext in '' $ac_executable_extensions; do 2308 for ac_exec_ext in '' $ac_executable_extensions; do
1809 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2309 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1810 if test $ac_prog = install && 2310 if test $ac_prog = install &&
1811 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2311 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1812 # AIX install. It has an incompatible calling convention. 2312 # AIX install. It has an incompatible calling convention.
1813 : 2313 :
1814 elif test $ac_prog = install && 2314 elif test $ac_prog = install &&
1815 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2315 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1816 # program-specific install script used by HP pwplus--don't use. 2316 # program-specific install script used by HP pwplus--don't use.
1817 : 2317 :
1818 else 2318 else
2319 rm -rf conftest.one conftest.two conftest.dir
2320 echo one > conftest.one
2321 echo two > conftest.two
2322 mkdir conftest.dir
2323 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2324 test -s conftest.one && test -s conftest.two &&
2325 test -s conftest.dir/conftest.one &&
2326 test -s conftest.dir/conftest.two
2327 then
1819 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2328 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1820 break 3 2329 break 3
2330 fi
1821 fi 2331 fi
1822 fi 2332 fi
1823 done 2333 done
1824 done 2334 done
1825 ;; 2335 ;;
1826esac 2336esac
2337
1827done 2338 done
1828IFS=$as_save_IFS 2339IFS=$as_save_IFS
1829 2340
2341rm -rf conftest.one conftest.two conftest.dir
1830 2342
1831fi 2343fi
1832 if test "${ac_cv_path_install+set}" = set; then 2344 if test "${ac_cv_path_install+set}" = set; then
1833 INSTALL=$ac_cv_path_install 2345 INSTALL=$ac_cv_path_install
1834 else 2346 else
1837 # break other packages using the cache if that directory is 2349 # break other packages using the cache if that directory is
1838 # removed, or if the value is a relative name. 2350 # removed, or if the value is a relative name.
1839 INSTALL=$ac_install_sh 2351 INSTALL=$ac_install_sh
1840 fi 2352 fi
1841fi 2353fi
1842{ echo "$as_me:$LINENO: result: $INSTALL" >&5 2354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1843echo "${ECHO_T}$INSTALL" >&6; } 2355$as_echo "$INSTALL" >&6; }
1844 2356
1845# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2357# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1846# It thinks the first close brace ends the variable substitution. 2358# It thinks the first close brace ends the variable substitution.
1847test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2359test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1848 2360
1849test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2361test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1850 2362
1851test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2363test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1852 2364
1853{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1854echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 2366$as_echo_n "checking whether build environment is sane... " >&6; }
1855# Just in case 2367# Just in case
1856sleep 1 2368sleep 1
1857echo timestamp > conftest.file 2369echo timestamp > conftest.file
1858# Do `set' in a subshell so we don't clobber the current shell's 2370# Do `set' in a subshell so we don't clobber the current shell's
1859# arguments. Must try -L first in case configure is actually a 2371# arguments. Must try -L first in case configure is actually a
1872 2384
1873 # If neither matched, then we have a broken ls. This can happen 2385 # If neither matched, then we have a broken ls. This can happen
1874 # if, for instance, CONFIG_SHELL is bash and it inherits a 2386 # if, for instance, CONFIG_SHELL is bash and it inherits a
1875 # broken ls alias from the environment. This has actually 2387 # broken ls alias from the environment. This has actually
1876 # happened. Such a system could not be considered "sane". 2388 # happened. Such a system could not be considered "sane".
1877 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1878alias in your environment" >&5
1879echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 2389 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1880alias in your environment" >&2;} 2390alias in your environment" "$LINENO" 5
1881 { (exit 1); exit 1; }; }
1882 fi 2391 fi
1883 2392
1884 test "$2" = conftest.file 2393 test "$2" = conftest.file
1885 ) 2394 )
1886then 2395then
1887 # Ok. 2396 # Ok.
1888 : 2397 :
1889else 2398else
1890 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1891Check your system clock" >&5
1892echo "$as_me: error: newly created file is older than distributed files! 2399 as_fn_error $? "newly created file is older than distributed files!
1893Check your system clock" >&2;} 2400Check your system clock" "$LINENO" 5
1894 { (exit 1); exit 1; }; }
1895fi 2401fi
1896{ echo "$as_me:$LINENO: result: yes" >&5 2402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1897echo "${ECHO_T}yes" >&6; } 2403$as_echo "yes" >&6; }
1898test "$program_prefix" != NONE && 2404test "$program_prefix" != NONE &&
1899 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2405 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1900# Use a double $ so make ignores it. 2406# Use a double $ so make ignores it.
1901test "$program_suffix" != NONE && 2407test "$program_suffix" != NONE &&
1902 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2408 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1903# Double any \ or $. echo might interpret backslashes. 2409# Double any \ or $.
1904# By default was `s,x,x', remove it if useless. 2410# By default was `s,x,x', remove it if useless.
1905cat <<\_ACEOF >conftest.sed
1906s/[\\$]/&&/g;s/;s,x,x,$// 2411ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1907_ACEOF
1908program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 2412program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1909rm -f conftest.sed
1910
1911 2413
1912# expand $ac_aux_dir to an absolute path 2414# expand $ac_aux_dir to an absolute path
1913am_aux_dir=`cd $ac_aux_dir && pwd` 2415am_aux_dir=`cd $ac_aux_dir && pwd`
1914 2416
1915test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 2417test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1916# Use eval to expand $SHELL 2418# Use eval to expand $SHELL
1917if eval "$MISSING --run true"; then 2419if eval "$MISSING --run true"; then
1918 am_missing_run="$MISSING --run " 2420 am_missing_run="$MISSING --run "
1919else 2421else
1920 am_missing_run= 2422 am_missing_run=
1921 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1922echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2424$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1923fi 2425fi
2426
2427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2428$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2429if test -z "$MKDIR_P"; then
2430 if ${ac_cv_path_mkdir+:} false; then :
2431 $as_echo_n "(cached) " >&6
2432else
2433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2435do
2436 IFS=$as_save_IFS
2437 test -z "$as_dir" && as_dir=.
2438 for ac_prog in mkdir gmkdir; do
2439 for ac_exec_ext in '' $ac_executable_extensions; do
2440 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2441 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2442 'mkdir (GNU coreutils) '* | \
2443 'mkdir (coreutils) '* | \
2444 'mkdir (fileutils) '4.1*)
2445 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2446 break 3;;
2447 esac
2448 done
2449 done
2450 done
2451IFS=$as_save_IFS
2452
2453fi
2454
2455 test -d ./--version && rmdir ./--version
2456 if test "${ac_cv_path_mkdir+set}" = set; then
2457 MKDIR_P="$ac_cv_path_mkdir -p"
2458 else
2459 # As a last resort, use the slow shell script. Don't cache a
2460 # value for MKDIR_P within a source directory, because that will
2461 # break other packages using the cache if that directory is
2462 # removed, or if the value is a relative name.
2463 MKDIR_P="$ac_install_sh -d"
2464 fi
2465fi
2466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2467$as_echo "$MKDIR_P" >&6; }
2468
2469mkdir_p="$MKDIR_P"
2470case $mkdir_p in
2471 [\\/$]* | ?:[\\/]*) ;;
2472 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2473esac
1924 2474
1925for ac_prog in gawk mawk nawk awk 2475for ac_prog in gawk mawk nawk awk
1926do 2476do
1927 # Extract the first word of "$ac_prog", so it can be a program name with args. 2477 # Extract the first word of "$ac_prog", so it can be a program name with args.
1928set dummy $ac_prog; ac_word=$2 2478set dummy $ac_prog; ac_word=$2
1929{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1930echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2480$as_echo_n "checking for $ac_word... " >&6; }
1931if test "${ac_cv_prog_AWK+set}" = set; then 2481if ${ac_cv_prog_AWK+:} false; then :
1932 echo $ECHO_N "(cached) $ECHO_C" >&6 2482 $as_echo_n "(cached) " >&6
1933else 2483else
1934 if test -n "$AWK"; then 2484 if test -n "$AWK"; then
1935 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2485 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1936else 2486else
1937as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2487as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938for as_dir in $PATH 2488for as_dir in $PATH
1939do 2489do
1940 IFS=$as_save_IFS 2490 IFS=$as_save_IFS
1941 test -z "$as_dir" && as_dir=. 2491 test -z "$as_dir" && as_dir=.
1942 for ac_exec_ext in '' $ac_executable_extensions; do 2492 for ac_exec_ext in '' $ac_executable_extensions; do
1943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1944 ac_cv_prog_AWK="$ac_prog" 2494 ac_cv_prog_AWK="$ac_prog"
1945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1946 break 2 2496 break 2
1947 fi 2497 fi
1948done 2498done
1949done 2499 done
1950IFS=$as_save_IFS 2500IFS=$as_save_IFS
1951 2501
1952fi 2502fi
1953fi 2503fi
1954AWK=$ac_cv_prog_AWK 2504AWK=$ac_cv_prog_AWK
1955if test -n "$AWK"; then 2505if test -n "$AWK"; then
1956 { echo "$as_me:$LINENO: result: $AWK" >&5 2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
1957echo "${ECHO_T}$AWK" >&6; } 2507$as_echo "$AWK" >&6; }
1958else 2508else
1959 { echo "$as_me:$LINENO: result: no" >&5 2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1960echo "${ECHO_T}no" >&6; } 2510$as_echo "no" >&6; }
1961fi 2511fi
1962 2512
1963 2513
1964 test -n "$AWK" && break 2514 test -n "$AWK" && break
1965done 2515done
1966 2516
1967{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1968echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 2518$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2519set x ${MAKE-make}
1969set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2520ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1970if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2521if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
1971 echo $ECHO_N "(cached) $ECHO_C" >&6 2522 $as_echo_n "(cached) " >&6
1972else 2523else
1973 cat >conftest.make <<\_ACEOF 2524 cat >conftest.make <<\_ACEOF
1974SHELL = /bin/sh 2525SHELL = /bin/sh
1975all: 2526all:
1976 @echo '@@@%%%=$(MAKE)=@@@%%%' 2527 @echo '@@@%%%=$(MAKE)=@@@%%%'
1977_ACEOF 2528_ACEOF
1978# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2529# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1979case `${MAKE-make} -f conftest.make 2>/dev/null` in 2530case `${MAKE-make} -f conftest.make 2>/dev/null` in
1980 *@@@%%%=?*=@@@%%%*) 2531 *@@@%%%=?*=@@@%%%*)
1981 eval ac_cv_prog_make_${ac_make}_set=yes;; 2532 eval ac_cv_prog_make_${ac_make}_set=yes;;
1982 *) 2533 *)
1983 eval ac_cv_prog_make_${ac_make}_set=no;; 2534 eval ac_cv_prog_make_${ac_make}_set=no;;
1984esac 2535esac
1985rm -f conftest.make 2536rm -f conftest.make
1986fi 2537fi
1987if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2538if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1988 { echo "$as_me:$LINENO: result: yes" >&5 2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1989echo "${ECHO_T}yes" >&6; } 2540$as_echo "yes" >&6; }
1990 SET_MAKE= 2541 SET_MAKE=
1991else 2542else
1992 { echo "$as_me:$LINENO: result: no" >&5 2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1993echo "${ECHO_T}no" >&6; } 2544$as_echo "no" >&6; }
1994 SET_MAKE="MAKE=${MAKE-make}" 2545 SET_MAKE="MAKE=${MAKE-make}"
1995fi 2546fi
1996 2547
1997rm -rf .tst 2>/dev/null 2548rm -rf .tst 2>/dev/null
1998mkdir .tst 2>/dev/null 2549mkdir .tst 2>/dev/null
2001else 2552else
2002 am__leading_dot=_ 2553 am__leading_dot=_
2003fi 2554fi
2004rmdir .tst 2>/dev/null 2555rmdir .tst 2>/dev/null
2005 2556
2557if test "`cd $srcdir && pwd`" != "`pwd`"; then
2558 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2559 # is not polluted with repeated "-I."
2560 am__isrc=' -I$(srcdir)'
2006 # test to see if srcdir already configured 2561 # test to see if srcdir already configured
2007if test "`cd $srcdir && pwd`" != "`pwd`" &&
2008 test -f $srcdir/config.status; then 2562 if test -f $srcdir/config.status; then
2009 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2010echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2563 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2011 { (exit 1); exit 1; }; } 2564 fi
2012fi 2565fi
2013 2566
2014# test whether we have cygpath 2567# test whether we have cygpath
2015if test -z "$CYGPATH_W"; then 2568if test -z "$CYGPATH_W"; then
2016 if (cygpath --version) >/dev/null 2>/dev/null; then 2569 if (cygpath --version) >/dev/null 2>/dev/null; then
2021fi 2574fi
2022 2575
2023 2576
2024# Define the identity of the package. 2577# Define the identity of the package.
2025 PACKAGE=lsys 2578 PACKAGE=lsys
2026 VERSION=0.6 2579 VERSION=0.8
2027 2580
2028 2581
2029cat >>confdefs.h <<_ACEOF 2582cat >>confdefs.h <<_ACEOF
2030#define PACKAGE "$PACKAGE" 2583#define PACKAGE "$PACKAGE"
2031_ACEOF 2584_ACEOF
2049AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2602AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2050 2603
2051 2604
2052MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2605MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2053 2606
2054
2055AMTAR=${AMTAR-"${am_missing_run}tar"}
2056
2057install_sh=${install_sh-"$am_aux_dir/install-sh"} 2607install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2058 2608
2059# Installed binaries are usually stripped using `strip' when the user 2609# Installed binaries are usually stripped using `strip' when the user
2060# run `make install-strip'. However `strip' might not be the right 2610# run `make install-strip'. However `strip' might not be the right
2061# tool to use in cross-compilation environments, therefore Automake 2611# tool to use in cross-compilation environments, therefore Automake
2062# will honor the `STRIP' environment variable to overrule this program. 2612# will honor the `STRIP' environment variable to overrule this program.
2063if test "$cross_compiling" != no; then 2613if test "$cross_compiling" != no; then
2064 if test -n "$ac_tool_prefix"; then 2614 if test -n "$ac_tool_prefix"; then
2065 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2615 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2066set dummy ${ac_tool_prefix}strip; ac_word=$2 2616set dummy ${ac_tool_prefix}strip; ac_word=$2
2067{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2068echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2618$as_echo_n "checking for $ac_word... " >&6; }
2069if test "${ac_cv_prog_STRIP+set}" = set; then 2619if ${ac_cv_prog_STRIP+:} false; then :
2070 echo $ECHO_N "(cached) $ECHO_C" >&6 2620 $as_echo_n "(cached) " >&6
2071else 2621else
2072 if test -n "$STRIP"; then 2622 if test -n "$STRIP"; then
2073 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2623 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2074else 2624else
2075as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2625as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076for as_dir in $PATH 2626for as_dir in $PATH
2077do 2627do
2078 IFS=$as_save_IFS 2628 IFS=$as_save_IFS
2079 test -z "$as_dir" && as_dir=. 2629 test -z "$as_dir" && as_dir=.
2080 for ac_exec_ext in '' $ac_executable_extensions; do 2630 for ac_exec_ext in '' $ac_executable_extensions; do
2081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2082 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2632 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2084 break 2 2634 break 2
2085 fi 2635 fi
2086done 2636done
2087done 2637 done
2088IFS=$as_save_IFS 2638IFS=$as_save_IFS
2089 2639
2090fi 2640fi
2091fi 2641fi
2092STRIP=$ac_cv_prog_STRIP 2642STRIP=$ac_cv_prog_STRIP
2093if test -n "$STRIP"; then 2643if test -n "$STRIP"; then
2094 { echo "$as_me:$LINENO: result: $STRIP" >&5 2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2095echo "${ECHO_T}$STRIP" >&6; } 2645$as_echo "$STRIP" >&6; }
2096else 2646else
2097 { echo "$as_me:$LINENO: result: no" >&5 2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2098echo "${ECHO_T}no" >&6; } 2648$as_echo "no" >&6; }
2099fi 2649fi
2100 2650
2101 2651
2102fi 2652fi
2103if test -z "$ac_cv_prog_STRIP"; then 2653if test -z "$ac_cv_prog_STRIP"; then
2104 ac_ct_STRIP=$STRIP 2654 ac_ct_STRIP=$STRIP
2105 # Extract the first word of "strip", so it can be a program name with args. 2655 # Extract the first word of "strip", so it can be a program name with args.
2106set dummy strip; ac_word=$2 2656set dummy strip; ac_word=$2
2107{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2108echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2658$as_echo_n "checking for $ac_word... " >&6; }
2109if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2659if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2110 echo $ECHO_N "(cached) $ECHO_C" >&6 2660 $as_echo_n "(cached) " >&6
2111else 2661else
2112 if test -n "$ac_ct_STRIP"; then 2662 if test -n "$ac_ct_STRIP"; then
2113 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2663 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2114else 2664else
2115as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2665as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2116for as_dir in $PATH 2666for as_dir in $PATH
2117do 2667do
2118 IFS=$as_save_IFS 2668 IFS=$as_save_IFS
2119 test -z "$as_dir" && as_dir=. 2669 test -z "$as_dir" && as_dir=.
2120 for ac_exec_ext in '' $ac_executable_extensions; do 2670 for ac_exec_ext in '' $ac_executable_extensions; do
2121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2122 ac_cv_prog_ac_ct_STRIP="strip" 2672 ac_cv_prog_ac_ct_STRIP="strip"
2123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2124 break 2 2674 break 2
2125 fi 2675 fi
2126done 2676done
2127done 2677 done
2128IFS=$as_save_IFS 2678IFS=$as_save_IFS
2129 2679
2130fi 2680fi
2131fi 2681fi
2132ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2682ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2133if test -n "$ac_ct_STRIP"; then 2683if test -n "$ac_ct_STRIP"; then
2134 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2135echo "${ECHO_T}$ac_ct_STRIP" >&6; } 2685$as_echo "$ac_ct_STRIP" >&6; }
2136else 2686else
2137 { echo "$as_me:$LINENO: result: no" >&5 2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2138echo "${ECHO_T}no" >&6; } 2688$as_echo "no" >&6; }
2139fi 2689fi
2140 2690
2141 if test "x$ac_ct_STRIP" = x; then 2691 if test "x$ac_ct_STRIP" = x; then
2142 STRIP=":" 2692 STRIP=":"
2143 else 2693 else
2144 case $cross_compiling:$ac_tool_warned in 2694 case $cross_compiling:$ac_tool_warned in
2145yes:) 2695yes:)
2146{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2696{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2147whose name does not start with the host triplet. If you think this 2697$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2148configuration is useful to you, please write to autoconf@gnu.org." >&5
2149echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2150whose name does not start with the host triplet. If you think this
2151configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2152ac_tool_warned=yes ;; 2698ac_tool_warned=yes ;;
2153esac 2699esac
2154 STRIP=$ac_ct_STRIP 2700 STRIP=$ac_ct_STRIP
2155 fi 2701 fi
2156else 2702else
2157 STRIP="$ac_cv_prog_STRIP" 2703 STRIP="$ac_cv_prog_STRIP"
2158fi 2704fi
2159 2705
2160fi 2706fi
2161INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 2707INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2162 2708
2163# We need awk for the "check" target. The system "awk" is bad on 2709# We need awk for the "check" target. The system "awk" is bad on
2164# some platforms. 2710# some platforms.
2711# Always define AMTAR for backward compatibility.
2712
2713AMTAR=${AMTAR-"${am_missing_run}tar"}
2714
2715am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2716
2717
2165 2718
2166 2719
2167 2720
2168 2721
2169ac_config_headers="$ac_config_headers config.h" 2722ac_config_headers="$ac_config_headers config.h"
2175ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2728ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2176ac_compiler_gnu=$ac_cv_c_compiler_gnu 2729ac_compiler_gnu=$ac_cv_c_compiler_gnu
2177if test -n "$ac_tool_prefix"; then 2730if test -n "$ac_tool_prefix"; then
2178 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2731 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2179set dummy ${ac_tool_prefix}gcc; ac_word=$2 2732set dummy ${ac_tool_prefix}gcc; ac_word=$2
2180{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2181echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2734$as_echo_n "checking for $ac_word... " >&6; }
2182if test "${ac_cv_prog_CC+set}" = set; then 2735if ${ac_cv_prog_CC+:} false; then :
2183 echo $ECHO_N "(cached) $ECHO_C" >&6 2736 $as_echo_n "(cached) " >&6
2184else 2737else
2185 if test -n "$CC"; then 2738 if test -n "$CC"; then
2186 ac_cv_prog_CC="$CC" # Let the user override the test. 2739 ac_cv_prog_CC="$CC" # Let the user override the test.
2187else 2740else
2188as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2741as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2189for as_dir in $PATH 2742for as_dir in $PATH
2190do 2743do
2191 IFS=$as_save_IFS 2744 IFS=$as_save_IFS
2192 test -z "$as_dir" && as_dir=. 2745 test -z "$as_dir" && as_dir=.
2193 for ac_exec_ext in '' $ac_executable_extensions; do 2746 for ac_exec_ext in '' $ac_executable_extensions; do
2194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2195 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2748 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2197 break 2 2750 break 2
2198 fi 2751 fi
2199done 2752done
2200done 2753 done
2201IFS=$as_save_IFS 2754IFS=$as_save_IFS
2202 2755
2203fi 2756fi
2204fi 2757fi
2205CC=$ac_cv_prog_CC 2758CC=$ac_cv_prog_CC
2206if test -n "$CC"; then 2759if test -n "$CC"; then
2207 { echo "$as_me:$LINENO: result: $CC" >&5 2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2208echo "${ECHO_T}$CC" >&6; } 2761$as_echo "$CC" >&6; }
2209else 2762else
2210 { echo "$as_me:$LINENO: result: no" >&5 2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2211echo "${ECHO_T}no" >&6; } 2764$as_echo "no" >&6; }
2212fi 2765fi
2213 2766
2214 2767
2215fi 2768fi
2216if test -z "$ac_cv_prog_CC"; then 2769if test -z "$ac_cv_prog_CC"; then
2217 ac_ct_CC=$CC 2770 ac_ct_CC=$CC
2218 # Extract the first word of "gcc", so it can be a program name with args. 2771 # Extract the first word of "gcc", so it can be a program name with args.
2219set dummy gcc; ac_word=$2 2772set dummy gcc; ac_word=$2
2220{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2221echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2774$as_echo_n "checking for $ac_word... " >&6; }
2222if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2775if ${ac_cv_prog_ac_ct_CC+:} false; then :
2223 echo $ECHO_N "(cached) $ECHO_C" >&6 2776 $as_echo_n "(cached) " >&6
2224else 2777else
2225 if test -n "$ac_ct_CC"; then 2778 if test -n "$ac_ct_CC"; then
2226 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2779 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2227else 2780else
2228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2781as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2229for as_dir in $PATH 2782for as_dir in $PATH
2230do 2783do
2231 IFS=$as_save_IFS 2784 IFS=$as_save_IFS
2232 test -z "$as_dir" && as_dir=. 2785 test -z "$as_dir" && as_dir=.
2233 for ac_exec_ext in '' $ac_executable_extensions; do 2786 for ac_exec_ext in '' $ac_executable_extensions; do
2234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2235 ac_cv_prog_ac_ct_CC="gcc" 2788 ac_cv_prog_ac_ct_CC="gcc"
2236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2237 break 2 2790 break 2
2238 fi 2791 fi
2239done 2792done
2240done 2793 done
2241IFS=$as_save_IFS 2794IFS=$as_save_IFS
2242 2795
2243fi 2796fi
2244fi 2797fi
2245ac_ct_CC=$ac_cv_prog_ac_ct_CC 2798ac_ct_CC=$ac_cv_prog_ac_ct_CC
2246if test -n "$ac_ct_CC"; then 2799if test -n "$ac_ct_CC"; then
2247 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2248echo "${ECHO_T}$ac_ct_CC" >&6; } 2801$as_echo "$ac_ct_CC" >&6; }
2249else 2802else
2250 { echo "$as_me:$LINENO: result: no" >&5 2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2251echo "${ECHO_T}no" >&6; } 2804$as_echo "no" >&6; }
2252fi 2805fi
2253 2806
2254 if test "x$ac_ct_CC" = x; then 2807 if test "x$ac_ct_CC" = x; then
2255 CC="" 2808 CC=""
2256 else 2809 else
2257 case $cross_compiling:$ac_tool_warned in 2810 case $cross_compiling:$ac_tool_warned in
2258yes:) 2811yes:)
2259{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2812{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2260whose name does not start with the host triplet. If you think this 2813$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2261configuration is useful to you, please write to autoconf@gnu.org." >&5
2262echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2263whose name does not start with the host triplet. If you think this
2264configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2265ac_tool_warned=yes ;; 2814ac_tool_warned=yes ;;
2266esac 2815esac
2267 CC=$ac_ct_CC 2816 CC=$ac_ct_CC
2268 fi 2817 fi
2269else 2818else
2272 2821
2273if test -z "$CC"; then 2822if test -z "$CC"; then
2274 if test -n "$ac_tool_prefix"; then 2823 if test -n "$ac_tool_prefix"; then
2275 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2824 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2276set dummy ${ac_tool_prefix}cc; ac_word=$2 2825set dummy ${ac_tool_prefix}cc; ac_word=$2
2277{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2278echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2827$as_echo_n "checking for $ac_word... " >&6; }
2279if test "${ac_cv_prog_CC+set}" = set; then 2828if ${ac_cv_prog_CC+:} false; then :
2280 echo $ECHO_N "(cached) $ECHO_C" >&6 2829 $as_echo_n "(cached) " >&6
2281else 2830else
2282 if test -n "$CC"; then 2831 if test -n "$CC"; then
2283 ac_cv_prog_CC="$CC" # Let the user override the test. 2832 ac_cv_prog_CC="$CC" # Let the user override the test.
2284else 2833else
2285as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2834as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2286for as_dir in $PATH 2835for as_dir in $PATH
2287do 2836do
2288 IFS=$as_save_IFS 2837 IFS=$as_save_IFS
2289 test -z "$as_dir" && as_dir=. 2838 test -z "$as_dir" && as_dir=.
2290 for ac_exec_ext in '' $ac_executable_extensions; do 2839 for ac_exec_ext in '' $ac_executable_extensions; do
2291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2292 ac_cv_prog_CC="${ac_tool_prefix}cc" 2841 ac_cv_prog_CC="${ac_tool_prefix}cc"
2293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2294 break 2 2843 break 2
2295 fi 2844 fi
2296done 2845done
2297done 2846 done
2298IFS=$as_save_IFS 2847IFS=$as_save_IFS
2299 2848
2300fi 2849fi
2301fi 2850fi
2302CC=$ac_cv_prog_CC 2851CC=$ac_cv_prog_CC
2303if test -n "$CC"; then 2852if test -n "$CC"; then
2304 { echo "$as_me:$LINENO: result: $CC" >&5 2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2305echo "${ECHO_T}$CC" >&6; } 2854$as_echo "$CC" >&6; }
2306else 2855else
2307 { echo "$as_me:$LINENO: result: no" >&5 2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2308echo "${ECHO_T}no" >&6; } 2857$as_echo "no" >&6; }
2309fi 2858fi
2310 2859
2311 2860
2312 fi 2861 fi
2313fi 2862fi
2314if test -z "$CC"; then 2863if test -z "$CC"; then
2315 # Extract the first word of "cc", so it can be a program name with args. 2864 # Extract the first word of "cc", so it can be a program name with args.
2316set dummy cc; ac_word=$2 2865set dummy cc; ac_word=$2
2317{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2318echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2867$as_echo_n "checking for $ac_word... " >&6; }
2319if test "${ac_cv_prog_CC+set}" = set; then 2868if ${ac_cv_prog_CC+:} false; then :
2320 echo $ECHO_N "(cached) $ECHO_C" >&6 2869 $as_echo_n "(cached) " >&6
2321else 2870else
2322 if test -n "$CC"; then 2871 if test -n "$CC"; then
2323 ac_cv_prog_CC="$CC" # Let the user override the test. 2872 ac_cv_prog_CC="$CC" # Let the user override the test.
2324else 2873else
2325 ac_prog_rejected=no 2874 ac_prog_rejected=no
2326as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2875as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2327for as_dir in $PATH 2876for as_dir in $PATH
2328do 2877do
2329 IFS=$as_save_IFS 2878 IFS=$as_save_IFS
2330 test -z "$as_dir" && as_dir=. 2879 test -z "$as_dir" && as_dir=.
2331 for ac_exec_ext in '' $ac_executable_extensions; do 2880 for ac_exec_ext in '' $ac_executable_extensions; do
2332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2333 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2882 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2334 ac_prog_rejected=yes 2883 ac_prog_rejected=yes
2335 continue 2884 continue
2336 fi 2885 fi
2337 ac_cv_prog_CC="cc" 2886 ac_cv_prog_CC="cc"
2338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2339 break 2 2888 break 2
2340 fi 2889 fi
2341done 2890done
2342done 2891 done
2343IFS=$as_save_IFS 2892IFS=$as_save_IFS
2344 2893
2345if test $ac_prog_rejected = yes; then 2894if test $ac_prog_rejected = yes; then
2346 # We found a bogon in the path, so make sure we never use it. 2895 # We found a bogon in the path, so make sure we never use it.
2347 set dummy $ac_cv_prog_CC 2896 set dummy $ac_cv_prog_CC
2356fi 2905fi
2357fi 2906fi
2358fi 2907fi
2359CC=$ac_cv_prog_CC 2908CC=$ac_cv_prog_CC
2360if test -n "$CC"; then 2909if test -n "$CC"; then
2361 { echo "$as_me:$LINENO: result: $CC" >&5 2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2362echo "${ECHO_T}$CC" >&6; } 2911$as_echo "$CC" >&6; }
2363else 2912else
2364 { echo "$as_me:$LINENO: result: no" >&5 2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2365echo "${ECHO_T}no" >&6; } 2914$as_echo "no" >&6; }
2366fi 2915fi
2367 2916
2368 2917
2369fi 2918fi
2370if test -z "$CC"; then 2919if test -z "$CC"; then
2371 if test -n "$ac_tool_prefix"; then 2920 if test -n "$ac_tool_prefix"; then
2372 for ac_prog in cl.exe 2921 for ac_prog in cl.exe
2373 do 2922 do
2374 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2923 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2375set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2924set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2376{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2377echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2926$as_echo_n "checking for $ac_word... " >&6; }
2378if test "${ac_cv_prog_CC+set}" = set; then 2927if ${ac_cv_prog_CC+:} false; then :
2379 echo $ECHO_N "(cached) $ECHO_C" >&6 2928 $as_echo_n "(cached) " >&6
2380else 2929else
2381 if test -n "$CC"; then 2930 if test -n "$CC"; then
2382 ac_cv_prog_CC="$CC" # Let the user override the test. 2931 ac_cv_prog_CC="$CC" # Let the user override the test.
2383else 2932else
2384as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2933as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2385for as_dir in $PATH 2934for as_dir in $PATH
2386do 2935do
2387 IFS=$as_save_IFS 2936 IFS=$as_save_IFS
2388 test -z "$as_dir" && as_dir=. 2937 test -z "$as_dir" && as_dir=.
2389 for ac_exec_ext in '' $ac_executable_extensions; do 2938 for ac_exec_ext in '' $ac_executable_extensions; do
2390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2391 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2940 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2393 break 2 2942 break 2
2394 fi 2943 fi
2395done 2944done
2396done 2945 done
2397IFS=$as_save_IFS 2946IFS=$as_save_IFS
2398 2947
2399fi 2948fi
2400fi 2949fi
2401CC=$ac_cv_prog_CC 2950CC=$ac_cv_prog_CC
2402if test -n "$CC"; then 2951if test -n "$CC"; then
2403 { echo "$as_me:$LINENO: result: $CC" >&5 2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2404echo "${ECHO_T}$CC" >&6; } 2953$as_echo "$CC" >&6; }
2405else 2954else
2406 { echo "$as_me:$LINENO: result: no" >&5 2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2407echo "${ECHO_T}no" >&6; } 2956$as_echo "no" >&6; }
2408fi 2957fi
2409 2958
2410 2959
2411 test -n "$CC" && break 2960 test -n "$CC" && break
2412 done 2961 done
2415 ac_ct_CC=$CC 2964 ac_ct_CC=$CC
2416 for ac_prog in cl.exe 2965 for ac_prog in cl.exe
2417do 2966do
2418 # Extract the first word of "$ac_prog", so it can be a program name with args. 2967 # Extract the first word of "$ac_prog", so it can be a program name with args.
2419set dummy $ac_prog; ac_word=$2 2968set dummy $ac_prog; ac_word=$2
2420{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2421echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2970$as_echo_n "checking for $ac_word... " >&6; }
2422if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2971if ${ac_cv_prog_ac_ct_CC+:} false; then :
2423 echo $ECHO_N "(cached) $ECHO_C" >&6 2972 $as_echo_n "(cached) " >&6
2424else 2973else
2425 if test -n "$ac_ct_CC"; then 2974 if test -n "$ac_ct_CC"; then
2426 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2975 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2427else 2976else
2428as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2977as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2429for as_dir in $PATH 2978for as_dir in $PATH
2430do 2979do
2431 IFS=$as_save_IFS 2980 IFS=$as_save_IFS
2432 test -z "$as_dir" && as_dir=. 2981 test -z "$as_dir" && as_dir=.
2433 for ac_exec_ext in '' $ac_executable_extensions; do 2982 for ac_exec_ext in '' $ac_executable_extensions; do
2434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2435 ac_cv_prog_ac_ct_CC="$ac_prog" 2984 ac_cv_prog_ac_ct_CC="$ac_prog"
2436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2437 break 2 2986 break 2
2438 fi 2987 fi
2439done 2988done
2440done 2989 done
2441IFS=$as_save_IFS 2990IFS=$as_save_IFS
2442 2991
2443fi 2992fi
2444fi 2993fi
2445ac_ct_CC=$ac_cv_prog_ac_ct_CC 2994ac_ct_CC=$ac_cv_prog_ac_ct_CC
2446if test -n "$ac_ct_CC"; then 2995if test -n "$ac_ct_CC"; then
2447 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2448echo "${ECHO_T}$ac_ct_CC" >&6; } 2997$as_echo "$ac_ct_CC" >&6; }
2449else 2998else
2450 { echo "$as_me:$LINENO: result: no" >&5 2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2451echo "${ECHO_T}no" >&6; } 3000$as_echo "no" >&6; }
2452fi 3001fi
2453 3002
2454 3003
2455 test -n "$ac_ct_CC" && break 3004 test -n "$ac_ct_CC" && break
2456done 3005done
2458 if test "x$ac_ct_CC" = x; then 3007 if test "x$ac_ct_CC" = x; then
2459 CC="" 3008 CC=""
2460 else 3009 else
2461 case $cross_compiling:$ac_tool_warned in 3010 case $cross_compiling:$ac_tool_warned in
2462yes:) 3011yes:)
2463{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3012{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2464whose name does not start with the host triplet. If you think this 3013$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2465configuration is useful to you, please write to autoconf@gnu.org." >&5
2466echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2467whose name does not start with the host triplet. If you think this
2468configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2469ac_tool_warned=yes ;; 3014ac_tool_warned=yes ;;
2470esac 3015esac
2471 CC=$ac_ct_CC 3016 CC=$ac_ct_CC
2472 fi 3017 fi
2473fi 3018fi
2474 3019
2475fi 3020fi
2476 3021
2477 3022
2478test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 3023test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2479See \`config.log' for more details." >&5 3024$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2480echo "$as_me: error: no acceptable C compiler found in \$PATH 3025as_fn_error $? "no acceptable C compiler found in \$PATH
2481See \`config.log' for more details." >&2;} 3026See \`config.log' for more details" "$LINENO" 5; }
2482 { (exit 1); exit 1; }; }
2483 3027
2484# Provide some information about the compiler. 3028# Provide some information about the compiler.
2485echo "$as_me:$LINENO: checking for C compiler version" >&5 3029$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2486ac_compiler=`set X $ac_compile; echo $2` 3030set X $ac_compile
3031ac_compiler=$2
3032for ac_option in --version -v -V -qversion; do
2487{ (ac_try="$ac_compiler --version >&5" 3033 { { ac_try="$ac_compiler $ac_option >&5"
2488case "(($ac_try" in 3034case "(($ac_try" in
2489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2490 *) ac_try_echo=$ac_try;; 3036 *) ac_try_echo=$ac_try;;
2491esac 3037esac
2492eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3038eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2493 (eval "$ac_compiler --version >&5") 2>&5 3039$as_echo "$ac_try_echo"; } >&5
3040 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2494 ac_status=$? 3041 ac_status=$?
3042 if test -s conftest.err; then
3043 sed '10a\
3044... rest of stderr output deleted ...
3045 10q' conftest.err >conftest.er1
3046 cat conftest.er1 >&5
3047 fi
3048 rm -f conftest.er1 conftest.err
2495 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2496 (exit $ac_status); } 3050 test $ac_status = 0; }
2497{ (ac_try="$ac_compiler -v >&5" 3051done
3052
3053cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3054/* end confdefs.h. */
3055
3056int
3057main ()
3058{
3059
3060 ;
3061 return 0;
3062}
3063_ACEOF
3064ac_clean_files_save=$ac_clean_files
3065ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3066# Try to create an executable without -o first, disregard a.out.
3067# It will help us diagnose broken compilers, and finding out an intuition
3068# of exeext.
3069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3070$as_echo_n "checking whether the C compiler works... " >&6; }
3071ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3072
3073# The possible output files:
3074ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3075
3076ac_rmfiles=
3077for ac_file in $ac_files
3078do
3079 case $ac_file in
3080 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3081 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3082 esac
3083done
3084rm -f $ac_rmfiles
3085
3086if { { ac_try="$ac_link_default"
2498case "(($ac_try" in 3087case "(($ac_try" in
2499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2500 *) ac_try_echo=$ac_try;; 3089 *) ac_try_echo=$ac_try;;
2501esac 3090esac
2502eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3091eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2503 (eval "$ac_compiler -v >&5") 2>&5 3092$as_echo "$ac_try_echo"; } >&5
2504 ac_status=$?
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }
2507{ (ac_try="$ac_compiler -V >&5"
2508case "(($ac_try" in
2509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2510 *) ac_try_echo=$ac_try;;
2511esac
2512eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2513 (eval "$ac_compiler -V >&5") 2>&5
2514 ac_status=$?
2515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516 (exit $ac_status); }
2517
2518cat >conftest.$ac_ext <<_ACEOF
2519/* confdefs.h. */
2520_ACEOF
2521cat confdefs.h >>conftest.$ac_ext
2522cat >>conftest.$ac_ext <<_ACEOF
2523/* end confdefs.h. */
2524
2525int
2526main ()
2527{
2528
2529 ;
2530 return 0;
2531}
2532_ACEOF
2533ac_clean_files_save=$ac_clean_files
2534ac_clean_files="$ac_clean_files a.out a.exe b.out"
2535# Try to create an executable without -o first, disregard a.out.
2536# It will help us diagnose broken compilers, and finding out an intuition
2537# of exeext.
2538{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2539echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2540ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2541#
2542# List of possible output files, starting from the most likely.
2543# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2544# only as a last resort. b.out is created by i960 compilers.
2545ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2546#
2547# The IRIX 6 linker writes into existing files which may not be
2548# executable, retaining their permissions. Remove them first so a
2549# subsequent execution test works.
2550ac_rmfiles=
2551for ac_file in $ac_files
2552do
2553 case $ac_file in
2554 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2555 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2556 esac
2557done
2558rm -f $ac_rmfiles
2559
2560if { (ac_try="$ac_link_default"
2561case "(($ac_try" in
2562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2563 *) ac_try_echo=$ac_try;;
2564esac
2565eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2566 (eval "$ac_link_default") 2>&5 3093 (eval "$ac_link_default") 2>&5
2567 ac_status=$? 3094 ac_status=$?
2568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2569 (exit $ac_status); }; then 3096 test $ac_status = 0; }; then :
2570 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3097 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2571# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3098# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2572# in a Makefile. We should not override ac_cv_exeext if it was cached, 3099# in a Makefile. We should not override ac_cv_exeext if it was cached,
2573# so that the user can short-circuit this test for compilers unknown to 3100# so that the user can short-circuit this test for compilers unknown to
2574# Autoconf. 3101# Autoconf.
2575for ac_file in $ac_files '' 3102for ac_file in $ac_files ''
2576do 3103do
2577 test -f "$ac_file" || continue 3104 test -f "$ac_file" || continue
2578 case $ac_file in 3105 case $ac_file in
2579 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 3106 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2580 ;; 3107 ;;
2581 [ab].out ) 3108 [ab].out )
2582 # We found the default executable, but exeext='' is most 3109 # We found the default executable, but exeext='' is most
2583 # certainly right. 3110 # certainly right.
2584 break;; 3111 break;;
2585 *.* ) 3112 *.* )
2586 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3113 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2587 then :; else 3114 then :; else
2588 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3115 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2589 fi 3116 fi
2590 # We set ac_cv_exeext here because the later test for it is not 3117 # We set ac_cv_exeext here because the later test for it is not
2591 # safe: cross compilers may not add the suffix if given an `-o' 3118 # safe: cross compilers may not add the suffix if given an `-o'
2600test "$ac_cv_exeext" = no && ac_cv_exeext= 3127test "$ac_cv_exeext" = no && ac_cv_exeext=
2601 3128
2602else 3129else
2603 ac_file='' 3130 ac_file=''
2604fi 3131fi
2605
2606{ echo "$as_me:$LINENO: result: $ac_file" >&5
2607echo "${ECHO_T}$ac_file" >&6; }
2608if test -z "$ac_file"; then 3132if test -z "$ac_file"; then :
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3134$as_echo "no" >&6; }
2609 echo "$as_me: failed program was:" >&5 3135$as_echo "$as_me: failed program was:" >&5
2610sed 's/^/| /' conftest.$ac_ext >&5 3136sed 's/^/| /' conftest.$ac_ext >&5
2611 3137
2612{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 3138{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2613See \`config.log' for more details." >&5 3139$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2614echo "$as_me: error: C compiler cannot create executables 3140as_fn_error 77 "C compiler cannot create executables
2615See \`config.log' for more details." >&2;} 3141See \`config.log' for more details" "$LINENO" 5; }
2616 { (exit 77); exit 77; }; } 3142else
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3144$as_echo "yes" >&6; }
2617fi 3145fi
2618 3146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3147$as_echo_n "checking for C compiler default output file name... " >&6; }
3148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3149$as_echo "$ac_file" >&6; }
2619ac_exeext=$ac_cv_exeext 3150ac_exeext=$ac_cv_exeext
2620 3151
2621# Check that the compiler produces executables we can run. If not, either
2622# the compiler is broken, or we cross compile.
2623{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2624echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2625# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2626# If not cross compiling, check that we can run a simple program.
2627if test "$cross_compiling" != yes; then
2628 if { ac_try='./$ac_file'
2629 { (case "(($ac_try" in
2630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2631 *) ac_try_echo=$ac_try;;
2632esac
2633eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2634 (eval "$ac_try") 2>&5
2635 ac_status=$?
2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); }; }; then
2638 cross_compiling=no
2639 else
2640 if test "$cross_compiling" = maybe; then
2641 cross_compiling=yes
2642 else
2643 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2644If you meant to cross compile, use \`--host'.
2645See \`config.log' for more details." >&5
2646echo "$as_me: error: cannot run C compiled programs.
2647If you meant to cross compile, use \`--host'.
2648See \`config.log' for more details." >&2;}
2649 { (exit 1); exit 1; }; }
2650 fi
2651 fi
2652fi
2653{ echo "$as_me:$LINENO: result: yes" >&5
2654echo "${ECHO_T}yes" >&6; }
2655
2656rm -f a.out a.exe conftest$ac_cv_exeext b.out 3152rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2657ac_clean_files=$ac_clean_files_save 3153ac_clean_files=$ac_clean_files_save
2658# Check that the compiler produces executables we can run. If not, either
2659# the compiler is broken, or we cross compile.
2660{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2661echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2662{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2663echo "${ECHO_T}$cross_compiling" >&6; }
2664
2665{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 3154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2666echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 3155$as_echo_n "checking for suffix of executables... " >&6; }
2667if { (ac_try="$ac_link" 3156if { { ac_try="$ac_link"
2668case "(($ac_try" in 3157case "(($ac_try" in
2669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2670 *) ac_try_echo=$ac_try;; 3159 *) ac_try_echo=$ac_try;;
2671esac 3160esac
2672eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3161eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3162$as_echo "$ac_try_echo"; } >&5
2673 (eval "$ac_link") 2>&5 3163 (eval "$ac_link") 2>&5
2674 ac_status=$? 3164 ac_status=$?
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2676 (exit $ac_status); }; then 3166 test $ac_status = 0; }; then :
2677 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3167 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2678# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3168# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2679# work properly (i.e., refer to `conftest.exe'), while it won't with 3169# work properly (i.e., refer to `conftest.exe'), while it won't with
2680# `rm'. 3170# `rm'.
2681for ac_file in conftest.exe conftest conftest.*; do 3171for ac_file in conftest.exe conftest conftest.*; do
2682 test -f "$ac_file" || continue 3172 test -f "$ac_file" || continue
2683 case $ac_file in 3173 case $ac_file in
2684 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 3174 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2685 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3175 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2686 break;; 3176 break;;
2687 * ) break;; 3177 * ) break;;
2688 esac 3178 esac
2689done 3179done
2690else 3180else
2691 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3181 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2692See \`config.log' for more details." >&5 3182$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2693echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3183as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2694See \`config.log' for more details." >&2;} 3184See \`config.log' for more details" "$LINENO" 5; }
2695 { (exit 1); exit 1; }; }
2696fi 3185fi
2697
2698rm -f conftest$ac_cv_exeext 3186rm -f conftest conftest$ac_cv_exeext
2699{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2700echo "${ECHO_T}$ac_cv_exeext" >&6; } 3188$as_echo "$ac_cv_exeext" >&6; }
2701 3189
2702rm -f conftest.$ac_ext 3190rm -f conftest.$ac_ext
2703EXEEXT=$ac_cv_exeext 3191EXEEXT=$ac_cv_exeext
2704ac_exeext=$EXEEXT 3192ac_exeext=$EXEEXT
2705{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2706echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2707if test "${ac_cv_objext+set}" = set; then
2708 echo $ECHO_N "(cached) $ECHO_C" >&6
2709else
2710 cat >conftest.$ac_ext <<_ACEOF
2711/* confdefs.h. */
2712_ACEOF
2713cat confdefs.h >>conftest.$ac_ext 3193cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2714cat >>conftest.$ac_ext <<_ACEOF
2715/* end confdefs.h. */ 3194/* end confdefs.h. */
2716 3195#include <stdio.h>
2717int 3196int
2718main () 3197main ()
2719{ 3198{
3199FILE *f = fopen ("conftest.out", "w");
3200 return ferror (f) || fclose (f) != 0;
2720 3201
2721 ; 3202 ;
2722 return 0; 3203 return 0;
2723} 3204}
2724_ACEOF 3205_ACEOF
2725rm -f conftest.o conftest.obj 3206ac_clean_files="$ac_clean_files conftest.out"
2726if { (ac_try="$ac_compile" 3207# Check that the compiler produces executables we can run. If not, either
3208# the compiler is broken, or we cross compile.
3209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3210$as_echo_n "checking whether we are cross compiling... " >&6; }
3211if test "$cross_compiling" != yes; then
3212 { { ac_try="$ac_link"
2727case "(($ac_try" in 3213case "(($ac_try" in
2728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2729 *) ac_try_echo=$ac_try;; 3215 *) ac_try_echo=$ac_try;;
2730esac 3216esac
2731eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3217eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3218$as_echo "$ac_try_echo"; } >&5
3219 (eval "$ac_link") 2>&5
3220 ac_status=$?
3221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3222 test $ac_status = 0; }
3223 if { ac_try='./conftest$ac_cv_exeext'
3224 { { case "(($ac_try" in
3225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3226 *) ac_try_echo=$ac_try;;
3227esac
3228eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3229$as_echo "$ac_try_echo"; } >&5
3230 (eval "$ac_try") 2>&5
3231 ac_status=$?
3232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3233 test $ac_status = 0; }; }; then
3234 cross_compiling=no
3235 else
3236 if test "$cross_compiling" = maybe; then
3237 cross_compiling=yes
3238 else
3239 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3240$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3241as_fn_error $? "cannot run C compiled programs.
3242If you meant to cross compile, use \`--host'.
3243See \`config.log' for more details" "$LINENO" 5; }
3244 fi
3245 fi
3246fi
3247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3248$as_echo "$cross_compiling" >&6; }
3249
3250rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3251ac_clean_files=$ac_clean_files_save
3252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3253$as_echo_n "checking for suffix of object files... " >&6; }
3254if ${ac_cv_objext+:} false; then :
3255 $as_echo_n "(cached) " >&6
3256else
3257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3258/* end confdefs.h. */
3259
3260int
3261main ()
3262{
3263
3264 ;
3265 return 0;
3266}
3267_ACEOF
3268rm -f conftest.o conftest.obj
3269if { { ac_try="$ac_compile"
3270case "(($ac_try" in
3271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3272 *) ac_try_echo=$ac_try;;
3273esac
3274eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3275$as_echo "$ac_try_echo"; } >&5
2732 (eval "$ac_compile") 2>&5 3276 (eval "$ac_compile") 2>&5
2733 ac_status=$? 3277 ac_status=$?
2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2735 (exit $ac_status); }; then 3279 test $ac_status = 0; }; then :
2736 for ac_file in conftest.o conftest.obj conftest.*; do 3280 for ac_file in conftest.o conftest.obj conftest.*; do
2737 test -f "$ac_file" || continue; 3281 test -f "$ac_file" || continue;
2738 case $ac_file in 3282 case $ac_file in
2739 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 3283 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2740 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3284 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2741 break;; 3285 break;;
2742 esac 3286 esac
2743done 3287done
2744else 3288else
2745 echo "$as_me: failed program was:" >&5 3289 $as_echo "$as_me: failed program was:" >&5
2746sed 's/^/| /' conftest.$ac_ext >&5 3290sed 's/^/| /' conftest.$ac_ext >&5
2747 3291
2748{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3292{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2749See \`config.log' for more details." >&5 3293$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2750echo "$as_me: error: cannot compute suffix of object files: cannot compile 3294as_fn_error $? "cannot compute suffix of object files: cannot compile
2751See \`config.log' for more details." >&2;} 3295See \`config.log' for more details" "$LINENO" 5; }
2752 { (exit 1); exit 1; }; }
2753fi 3296fi
2754
2755rm -f conftest.$ac_cv_objext conftest.$ac_ext 3297rm -f conftest.$ac_cv_objext conftest.$ac_ext
2756fi 3298fi
2757{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2758echo "${ECHO_T}$ac_cv_objext" >&6; } 3300$as_echo "$ac_cv_objext" >&6; }
2759OBJEXT=$ac_cv_objext 3301OBJEXT=$ac_cv_objext
2760ac_objext=$OBJEXT 3302ac_objext=$OBJEXT
2761{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2762echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 3304$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2763if test "${ac_cv_c_compiler_gnu+set}" = set; then 3305if ${ac_cv_c_compiler_gnu+:} false; then :
2764 echo $ECHO_N "(cached) $ECHO_C" >&6 3306 $as_echo_n "(cached) " >&6
2765else 3307else
2766 cat >conftest.$ac_ext <<_ACEOF
2767/* confdefs.h. */
2768_ACEOF
2769cat confdefs.h >>conftest.$ac_ext 3308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2770cat >>conftest.$ac_ext <<_ACEOF
2771/* end confdefs.h. */ 3309/* end confdefs.h. */
2772 3310
2773int 3311int
2774main () 3312main ()
2775{ 3313{
2779 3317
2780 ; 3318 ;
2781 return 0; 3319 return 0;
2782} 3320}
2783_ACEOF 3321_ACEOF
2784rm -f conftest.$ac_objext 3322if ac_fn_c_try_compile "$LINENO"; then :
2785if { (ac_try="$ac_compile"
2786case "(($ac_try" in
2787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2788 *) ac_try_echo=$ac_try;;
2789esac
2790eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2791 (eval "$ac_compile") 2>conftest.er1
2792 ac_status=$?
2793 grep -v '^ *+' conftest.er1 >conftest.err
2794 rm -f conftest.er1
2795 cat conftest.err >&5
2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797 (exit $ac_status); } && {
2798 test -z "$ac_c_werror_flag" ||
2799 test ! -s conftest.err
2800 } && test -s conftest.$ac_objext; then
2801 ac_compiler_gnu=yes 3323 ac_compiler_gnu=yes
2802else 3324else
2803 echo "$as_me: failed program was:" >&5
2804sed 's/^/| /' conftest.$ac_ext >&5
2805
2806 ac_compiler_gnu=no 3325 ac_compiler_gnu=no
2807fi 3326fi
2808
2809rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3327rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2810ac_cv_c_compiler_gnu=$ac_compiler_gnu 3328ac_cv_c_compiler_gnu=$ac_compiler_gnu
2811 3329
2812fi 3330fi
2813{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2814echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 3332$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2815GCC=`test $ac_compiler_gnu = yes && echo yes` 3333if test $ac_compiler_gnu = yes; then
3334 GCC=yes
3335else
3336 GCC=
3337fi
2816ac_test_CFLAGS=${CFLAGS+set} 3338ac_test_CFLAGS=${CFLAGS+set}
2817ac_save_CFLAGS=$CFLAGS 3339ac_save_CFLAGS=$CFLAGS
2818{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2819echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 3341$as_echo_n "checking whether $CC accepts -g... " >&6; }
2820if test "${ac_cv_prog_cc_g+set}" = set; then 3342if ${ac_cv_prog_cc_g+:} false; then :
2821 echo $ECHO_N "(cached) $ECHO_C" >&6 3343 $as_echo_n "(cached) " >&6
2822else 3344else
2823 ac_save_c_werror_flag=$ac_c_werror_flag 3345 ac_save_c_werror_flag=$ac_c_werror_flag
2824 ac_c_werror_flag=yes 3346 ac_c_werror_flag=yes
2825 ac_cv_prog_cc_g=no 3347 ac_cv_prog_cc_g=no
2826 CFLAGS="-g" 3348 CFLAGS="-g"
2827 cat >conftest.$ac_ext <<_ACEOF
2828/* confdefs.h. */
2829_ACEOF
2830cat confdefs.h >>conftest.$ac_ext 3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2831cat >>conftest.$ac_ext <<_ACEOF
2832/* end confdefs.h. */ 3350/* end confdefs.h. */
2833 3351
2834int 3352int
2835main () 3353main ()
2836{ 3354{
2837 3355
2838 ; 3356 ;
2839 return 0; 3357 return 0;
2840} 3358}
2841_ACEOF 3359_ACEOF
2842rm -f conftest.$ac_objext 3360if ac_fn_c_try_compile "$LINENO"; then :
2843if { (ac_try="$ac_compile"
2844case "(($ac_try" in
2845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2846 *) ac_try_echo=$ac_try;;
2847esac
2848eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2849 (eval "$ac_compile") 2>conftest.er1
2850 ac_status=$?
2851 grep -v '^ *+' conftest.er1 >conftest.err
2852 rm -f conftest.er1
2853 cat conftest.err >&5
2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855 (exit $ac_status); } && {
2856 test -z "$ac_c_werror_flag" ||
2857 test ! -s conftest.err
2858 } && test -s conftest.$ac_objext; then
2859 ac_cv_prog_cc_g=yes 3361 ac_cv_prog_cc_g=yes
2860else 3362else
2861 echo "$as_me: failed program was:" >&5
2862sed 's/^/| /' conftest.$ac_ext >&5
2863
2864 CFLAGS="" 3363 CFLAGS=""
2865 cat >conftest.$ac_ext <<_ACEOF
2866/* confdefs.h. */
2867_ACEOF
2868cat confdefs.h >>conftest.$ac_ext 3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2869cat >>conftest.$ac_ext <<_ACEOF
2870/* end confdefs.h. */ 3365/* end confdefs.h. */
2871 3366
2872int 3367int
2873main () 3368main ()
2874{ 3369{
2875 3370
2876 ; 3371 ;
2877 return 0; 3372 return 0;
2878} 3373}
2879_ACEOF 3374_ACEOF
2880rm -f conftest.$ac_objext 3375if ac_fn_c_try_compile "$LINENO"; then :
2881if { (ac_try="$ac_compile"
2882case "(($ac_try" in
2883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2884 *) ac_try_echo=$ac_try;;
2885esac
2886eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2887 (eval "$ac_compile") 2>conftest.er1
2888 ac_status=$?
2889 grep -v '^ *+' conftest.er1 >conftest.err
2890 rm -f conftest.er1
2891 cat conftest.err >&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); } && {
2894 test -z "$ac_c_werror_flag" ||
2895 test ! -s conftest.err
2896 } && test -s conftest.$ac_objext; then
2897 :
2898else
2899 echo "$as_me: failed program was:" >&5
2900sed 's/^/| /' conftest.$ac_ext >&5
2901 3376
3377else
2902 ac_c_werror_flag=$ac_save_c_werror_flag 3378 ac_c_werror_flag=$ac_save_c_werror_flag
2903 CFLAGS="-g" 3379 CFLAGS="-g"
2904 cat >conftest.$ac_ext <<_ACEOF
2905/* confdefs.h. */
2906_ACEOF
2907cat confdefs.h >>conftest.$ac_ext 3380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2908cat >>conftest.$ac_ext <<_ACEOF
2909/* end confdefs.h. */ 3381/* end confdefs.h. */
2910 3382
2911int 3383int
2912main () 3384main ()
2913{ 3385{
2914 3386
2915 ; 3387 ;
2916 return 0; 3388 return 0;
2917} 3389}
2918_ACEOF 3390_ACEOF
2919rm -f conftest.$ac_objext 3391if ac_fn_c_try_compile "$LINENO"; then :
2920if { (ac_try="$ac_compile"
2921case "(($ac_try" in
2922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2923 *) ac_try_echo=$ac_try;;
2924esac
2925eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2926 (eval "$ac_compile") 2>conftest.er1
2927 ac_status=$?
2928 grep -v '^ *+' conftest.er1 >conftest.err
2929 rm -f conftest.er1
2930 cat conftest.err >&5
2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); } && {
2933 test -z "$ac_c_werror_flag" ||
2934 test ! -s conftest.err
2935 } && test -s conftest.$ac_objext; then
2936 ac_cv_prog_cc_g=yes 3392 ac_cv_prog_cc_g=yes
2937else
2938 echo "$as_me: failed program was:" >&5
2939sed 's/^/| /' conftest.$ac_ext >&5
2940
2941
2942fi 3393fi
2943
2944rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3394rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2945fi 3395fi
2946
2947rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3396rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2948fi 3397fi
2949
2950rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3398rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2951 ac_c_werror_flag=$ac_save_c_werror_flag 3399 ac_c_werror_flag=$ac_save_c_werror_flag
2952fi 3400fi
2953{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2954echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3402$as_echo "$ac_cv_prog_cc_g" >&6; }
2955if test "$ac_test_CFLAGS" = set; then 3403if test "$ac_test_CFLAGS" = set; then
2956 CFLAGS=$ac_save_CFLAGS 3404 CFLAGS=$ac_save_CFLAGS
2957elif test $ac_cv_prog_cc_g = yes; then 3405elif test $ac_cv_prog_cc_g = yes; then
2958 if test "$GCC" = yes; then 3406 if test "$GCC" = yes; then
2959 CFLAGS="-g -O2" 3407 CFLAGS="-g -O2"
2965 CFLAGS="-O2" 3413 CFLAGS="-O2"
2966 else 3414 else
2967 CFLAGS= 3415 CFLAGS=
2968 fi 3416 fi
2969fi 3417fi
2970{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2971echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3419$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2972if test "${ac_cv_prog_cc_c89+set}" = set; then 3420if ${ac_cv_prog_cc_c89+:} false; then :
2973 echo $ECHO_N "(cached) $ECHO_C" >&6 3421 $as_echo_n "(cached) " >&6
2974else 3422else
2975 ac_cv_prog_cc_c89=no 3423 ac_cv_prog_cc_c89=no
2976ac_save_CC=$CC 3424ac_save_CC=$CC
2977cat >conftest.$ac_ext <<_ACEOF
2978/* confdefs.h. */
2979_ACEOF
2980cat confdefs.h >>conftest.$ac_ext 3425cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2981cat >>conftest.$ac_ext <<_ACEOF
2982/* end confdefs.h. */ 3426/* end confdefs.h. */
2983#include <stdarg.h> 3427#include <stdarg.h>
2984#include <stdio.h> 3428#include <stdio.h>
2985#include <sys/types.h> 3429struct stat;
2986#include <sys/stat.h>
2987/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3430/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2988struct buf { int x; }; 3431struct buf { int x; };
2989FILE * (*rcsopen) (struct buf *, struct stat *, int); 3432FILE * (*rcsopen) (struct buf *, struct stat *, int);
2990static char *e (p, i) 3433static char *e (p, i)
2991 char **p; 3434 char **p;
3033_ACEOF 3476_ACEOF
3034for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3477for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3035 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3478 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3036do 3479do
3037 CC="$ac_save_CC $ac_arg" 3480 CC="$ac_save_CC $ac_arg"
3038 rm -f conftest.$ac_objext 3481 if ac_fn_c_try_compile "$LINENO"; then :
3039if { (ac_try="$ac_compile"
3040case "(($ac_try" in
3041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3042 *) ac_try_echo=$ac_try;;
3043esac
3044eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3045 (eval "$ac_compile") 2>conftest.er1
3046 ac_status=$?
3047 grep -v '^ *+' conftest.er1 >conftest.err
3048 rm -f conftest.er1
3049 cat conftest.err >&5
3050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051 (exit $ac_status); } && {
3052 test -z "$ac_c_werror_flag" ||
3053 test ! -s conftest.err
3054 } && test -s conftest.$ac_objext; then
3055 ac_cv_prog_cc_c89=$ac_arg 3482 ac_cv_prog_cc_c89=$ac_arg
3056else
3057 echo "$as_me: failed program was:" >&5
3058sed 's/^/| /' conftest.$ac_ext >&5
3059
3060
3061fi 3483fi
3062
3063rm -f core conftest.err conftest.$ac_objext 3484rm -f core conftest.err conftest.$ac_objext
3064 test "x$ac_cv_prog_cc_c89" != "xno" && break 3485 test "x$ac_cv_prog_cc_c89" != "xno" && break
3065done 3486done
3066rm -f conftest.$ac_ext 3487rm -f conftest.$ac_ext
3067CC=$ac_save_CC 3488CC=$ac_save_CC
3068 3489
3069fi 3490fi
3070# AC_CACHE_VAL 3491# AC_CACHE_VAL
3071case "x$ac_cv_prog_cc_c89" in 3492case "x$ac_cv_prog_cc_c89" in
3072 x) 3493 x)
3073 { echo "$as_me:$LINENO: result: none needed" >&5 3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3074echo "${ECHO_T}none needed" >&6; } ;; 3495$as_echo "none needed" >&6; } ;;
3075 xno) 3496 xno)
3076 { echo "$as_me:$LINENO: result: unsupported" >&5 3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3077echo "${ECHO_T}unsupported" >&6; } ;; 3498$as_echo "unsupported" >&6; } ;;
3078 *) 3499 *)
3079 CC="$CC $ac_cv_prog_cc_c89" 3500 CC="$CC $ac_cv_prog_cc_c89"
3080 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3081echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3502$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3082esac 3503esac
3504if test "x$ac_cv_prog_cc_c89" != xno; then :
3083 3505
3506fi
3084 3507
3085ac_ext=c 3508ac_ext=c
3086ac_cpp='$CPP $CPPFLAGS' 3509ac_cpp='$CPP $CPPFLAGS'
3087ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3510ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3088ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3511ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3097am__doit: 3520am__doit:
3098 @echo done 3521 @echo done
3099.PHONY: am__doit 3522.PHONY: am__doit
3100END 3523END
3101# If we don't find an include directive, just comment out the code. 3524# If we don't find an include directive, just comment out the code.
3102{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3103echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 3526$as_echo_n "checking for style of include used by $am_make... " >&6; }
3104am__include="#" 3527am__include="#"
3105am__quote= 3528am__quote=
3106_am_result=none 3529_am_result=none
3107# First try GNU make style include. 3530# First try GNU make style include.
3108echo "include confinc" > confmf 3531echo "include confinc" > confmf
3125 _am_result=BSD 3548 _am_result=BSD
3126 fi 3549 fi
3127fi 3550fi
3128 3551
3129 3552
3130{ echo "$as_me:$LINENO: result: $_am_result" >&5 3553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3131echo "${ECHO_T}$_am_result" >&6; } 3554$as_echo "$_am_result" >&6; }
3132rm -f confinc confmf 3555rm -f confinc confmf
3133 3556
3134# Check whether --enable-dependency-tracking was given. 3557# Check whether --enable-dependency-tracking was given.
3135if test "${enable_dependency_tracking+set}" = set; then 3558if test "${enable_dependency_tracking+set}" = set; then :
3136 enableval=$enable_dependency_tracking; 3559 enableval=$enable_dependency_tracking;
3137fi 3560fi
3138 3561
3139if test "x$enable_dependency_tracking" != xno; then 3562if test "x$enable_dependency_tracking" != xno; then
3140 am_depcomp="$ac_aux_dir/depcomp" 3563 am_depcomp="$ac_aux_dir/depcomp"
3141 AMDEPBACKSLASH='\' 3564 AMDEPBACKSLASH='\'
3142fi 3565fi
3143
3144
3145if test "x$enable_dependency_tracking" != xno; then 3566 if test "x$enable_dependency_tracking" != xno; then
3146 AMDEP_TRUE= 3567 AMDEP_TRUE=
3147 AMDEP_FALSE='#' 3568 AMDEP_FALSE='#'
3148else 3569else
3149 AMDEP_TRUE='#' 3570 AMDEP_TRUE='#'
3150 AMDEP_FALSE= 3571 AMDEP_FALSE=
3151fi 3572fi
3152 3573
3153 3574
3154 3575
3155
3156depcc="$CC" am_compiler_list= 3576depcc="$CC" am_compiler_list=
3157 3577
3158{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3159echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 3579$as_echo_n "checking dependency style of $depcc... " >&6; }
3160if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3580if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3161 echo $ECHO_N "(cached) $ECHO_C" >&6 3581 $as_echo_n "(cached) " >&6
3162else 3582else
3163 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3583 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3164 # We make a subdir and do the tests there. Otherwise we can end up 3584 # We make a subdir and do the tests there. Otherwise we can end up
3165 # making bogus files that we don't know about and never remove. For 3585 # making bogus files that we don't know about and never remove. For
3166 # instance it was reported that on HP-UX the gcc test will end up 3586 # instance it was reported that on HP-UX the gcc test will end up
3192 # overwrite some of them when testing with obscure command lines. 3612 # overwrite some of them when testing with obscure command lines.
3193 # This happens at least with the AIX C compiler. 3613 # This happens at least with the AIX C compiler.
3194 : > sub/conftest.c 3614 : > sub/conftest.c
3195 for i in 1 2 3 4 5 6; do 3615 for i in 1 2 3 4 5 6; do
3196 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3616 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3617 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3618 # Solaris 8's {/usr,}/bin/sh.
3197 : > sub/conftst$i.h 3619 touch sub/conftst$i.h
3198 done 3620 done
3199 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3621 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3200 3622
3201 case $depmode in 3623 case $depmode in
3202 nosideeffect) 3624 nosideeffect)
3216 if depmode=$depmode \ 3638 if depmode=$depmode \
3217 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3639 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3218 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3640 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3219 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3641 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3220 >/dev/null 2>conftest.err && 3642 >/dev/null 2>conftest.err &&
3643 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3221 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3644 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3222 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3645 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3223 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3646 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3224 # icc doesn't choke on unknown options, it will just issue warnings 3647 # icc doesn't choke on unknown options, it will just issue warnings
3225 # (even with -Werror). So we grep stderr for any message 3648 # or remarks (even with -Werror). So we grep stderr for any message
3226 # that says an option was ignored. 3649 # that says an option was ignored or not supported.
3650 # When given -MP, icc 7.0 and 7.1 complain thusly:
3651 # icc: Command line warning: ignoring option '-M'; no argument required
3652 # The diagnosis changed in icc 8.0:
3653 # icc: Command line remark: option '-MP' not supported
3654 if (grep 'ignoring option' conftest.err ||
3227 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 3655 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3228 am_cv_CC_dependencies_compiler_type=$depmode 3656 am_cv_CC_dependencies_compiler_type=$depmode
3229 break 3657 break
3230 fi 3658 fi
3231 fi 3659 fi
3232 done 3660 done
3236else 3664else
3237 am_cv_CC_dependencies_compiler_type=none 3665 am_cv_CC_dependencies_compiler_type=none
3238fi 3666fi
3239 3667
3240fi 3668fi
3241{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3242echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 3670$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3243CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3671CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3244 3672
3245
3246
3247if 3673 if
3248 test "x$enable_dependency_tracking" != xno \ 3674 test "x$enable_dependency_tracking" != xno \
3249 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3675 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3250 am__fastdepCC_TRUE= 3676 am__fastdepCC_TRUE=
3251 am__fastdepCC_FALSE='#' 3677 am__fastdepCC_FALSE='#'
3252else 3678else
3260ac_ext=c 3686ac_ext=c
3261ac_cpp='$CPP $CPPFLAGS' 3687ac_cpp='$CPP $CPPFLAGS'
3262ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3688ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3263ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3689ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3264ac_compiler_gnu=$ac_cv_c_compiler_gnu 3690ac_compiler_gnu=$ac_cv_c_compiler_gnu
3265{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3266echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3692$as_echo_n "checking how to run the C preprocessor... " >&6; }
3267# On Suns, sometimes $CPP names a directory. 3693# On Suns, sometimes $CPP names a directory.
3268if test -n "$CPP" && test -d "$CPP"; then 3694if test -n "$CPP" && test -d "$CPP"; then
3269 CPP= 3695 CPP=
3270fi 3696fi
3271if test -z "$CPP"; then 3697if test -z "$CPP"; then
3272 if test "${ac_cv_prog_CPP+set}" = set; then 3698 if ${ac_cv_prog_CPP+:} false; then :
3273 echo $ECHO_N "(cached) $ECHO_C" >&6 3699 $as_echo_n "(cached) " >&6
3274else 3700else
3275 # Double quotes because CPP needs to be expanded 3701 # Double quotes because CPP needs to be expanded
3276 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3702 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3277 do 3703 do
3278 ac_preproc_ok=false 3704 ac_preproc_ok=false
3282 # with a fresh cross-compiler works. 3708 # with a fresh cross-compiler works.
3283 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3709 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3284 # <limits.h> exists even on freestanding compilers. 3710 # <limits.h> exists even on freestanding compilers.
3285 # On the NeXT, cc -E runs the code through the compiler's parser, 3711 # On the NeXT, cc -E runs the code through the compiler's parser,
3286 # not just through cpp. "Syntax error" is here to catch this case. 3712 # not just through cpp. "Syntax error" is here to catch this case.
3287 cat >conftest.$ac_ext <<_ACEOF
3288/* confdefs.h. */
3289_ACEOF
3290cat confdefs.h >>conftest.$ac_ext 3713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3291cat >>conftest.$ac_ext <<_ACEOF
3292/* end confdefs.h. */ 3714/* end confdefs.h. */
3293#ifdef __STDC__ 3715#ifdef __STDC__
3294# include <limits.h> 3716# include <limits.h>
3295#else 3717#else
3296# include <assert.h> 3718# include <assert.h>
3297#endif 3719#endif
3298 Syntax error 3720 Syntax error
3299_ACEOF 3721_ACEOF
3300if { (ac_try="$ac_cpp conftest.$ac_ext" 3722if ac_fn_c_try_cpp "$LINENO"; then :
3301case "(($ac_try" in
3302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3303 *) ac_try_echo=$ac_try;;
3304esac
3305eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3306 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3307 ac_status=$?
3308 grep -v '^ *+' conftest.er1 >conftest.err
3309 rm -f conftest.er1
3310 cat conftest.err >&5
3311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312 (exit $ac_status); } >/dev/null && {
3313 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3314 test ! -s conftest.err
3315 }; then
3316 :
3317else
3318 echo "$as_me: failed program was:" >&5
3319sed 's/^/| /' conftest.$ac_ext >&5
3320 3723
3724else
3321 # Broken: fails on valid input. 3725 # Broken: fails on valid input.
3322continue 3726continue
3323fi 3727fi
3324
3325rm -f conftest.err conftest.$ac_ext 3728rm -f conftest.err conftest.i conftest.$ac_ext
3326 3729
3327 # OK, works on sane cases. Now check whether nonexistent headers 3730 # OK, works on sane cases. Now check whether nonexistent headers
3328 # can be detected and how. 3731 # can be detected and how.
3329 cat >conftest.$ac_ext <<_ACEOF
3330/* confdefs.h. */
3331_ACEOF
3332cat confdefs.h >>conftest.$ac_ext 3732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3333cat >>conftest.$ac_ext <<_ACEOF
3334/* end confdefs.h. */ 3733/* end confdefs.h. */
3335#include <ac_nonexistent.h> 3734#include <ac_nonexistent.h>
3336_ACEOF 3735_ACEOF
3337if { (ac_try="$ac_cpp conftest.$ac_ext" 3736if ac_fn_c_try_cpp "$LINENO"; then :
3338case "(($ac_try" in
3339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3340 *) ac_try_echo=$ac_try;;
3341esac
3342eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3343 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3344 ac_status=$?
3345 grep -v '^ *+' conftest.er1 >conftest.err
3346 rm -f conftest.er1
3347 cat conftest.err >&5
3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349 (exit $ac_status); } >/dev/null && {
3350 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3351 test ! -s conftest.err
3352 }; then
3353 # Broken: success on invalid input. 3737 # Broken: success on invalid input.
3354continue 3738continue
3355else 3739else
3356 echo "$as_me: failed program was:" >&5
3357sed 's/^/| /' conftest.$ac_ext >&5
3358
3359 # Passes both tests. 3740 # Passes both tests.
3360ac_preproc_ok=: 3741ac_preproc_ok=:
3361break 3742break
3362fi 3743fi
3363
3364rm -f conftest.err conftest.$ac_ext 3744rm -f conftest.err conftest.i conftest.$ac_ext
3365 3745
3366done 3746done
3367# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3747# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3368rm -f conftest.err conftest.$ac_ext 3748rm -f conftest.i conftest.err conftest.$ac_ext
3369if $ac_preproc_ok; then 3749if $ac_preproc_ok; then :
3370 break 3750 break
3371fi 3751fi
3372 3752
3373 done 3753 done
3374 ac_cv_prog_CPP=$CPP 3754 ac_cv_prog_CPP=$CPP
3376fi 3756fi
3377 CPP=$ac_cv_prog_CPP 3757 CPP=$ac_cv_prog_CPP
3378else 3758else
3379 ac_cv_prog_CPP=$CPP 3759 ac_cv_prog_CPP=$CPP
3380fi 3760fi
3381{ echo "$as_me:$LINENO: result: $CPP" >&5 3761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3382echo "${ECHO_T}$CPP" >&6; } 3762$as_echo "$CPP" >&6; }
3383ac_preproc_ok=false 3763ac_preproc_ok=false
3384for ac_c_preproc_warn_flag in '' yes 3764for ac_c_preproc_warn_flag in '' yes
3385do 3765do
3386 # Use a header file that comes with gcc, so configuring glibc 3766 # Use a header file that comes with gcc, so configuring glibc
3387 # with a fresh cross-compiler works. 3767 # with a fresh cross-compiler works.
3388 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3768 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3389 # <limits.h> exists even on freestanding compilers. 3769 # <limits.h> exists even on freestanding compilers.
3390 # On the NeXT, cc -E runs the code through the compiler's parser, 3770 # On the NeXT, cc -E runs the code through the compiler's parser,
3391 # not just through cpp. "Syntax error" is here to catch this case. 3771 # not just through cpp. "Syntax error" is here to catch this case.
3392 cat >conftest.$ac_ext <<_ACEOF
3393/* confdefs.h. */
3394_ACEOF
3395cat confdefs.h >>conftest.$ac_ext 3772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396cat >>conftest.$ac_ext <<_ACEOF
3397/* end confdefs.h. */ 3773/* end confdefs.h. */
3398#ifdef __STDC__ 3774#ifdef __STDC__
3399# include <limits.h> 3775# include <limits.h>
3400#else 3776#else
3401# include <assert.h> 3777# include <assert.h>
3402#endif 3778#endif
3403 Syntax error 3779 Syntax error
3404_ACEOF 3780_ACEOF
3405if { (ac_try="$ac_cpp conftest.$ac_ext" 3781if ac_fn_c_try_cpp "$LINENO"; then :
3406case "(($ac_try" in
3407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3408 *) ac_try_echo=$ac_try;;
3409esac
3410eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3411 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3412 ac_status=$?
3413 grep -v '^ *+' conftest.er1 >conftest.err
3414 rm -f conftest.er1
3415 cat conftest.err >&5
3416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 (exit $ac_status); } >/dev/null && {
3418 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3419 test ! -s conftest.err
3420 }; then
3421 :
3422else
3423 echo "$as_me: failed program was:" >&5
3424sed 's/^/| /' conftest.$ac_ext >&5
3425 3782
3783else
3426 # Broken: fails on valid input. 3784 # Broken: fails on valid input.
3427continue 3785continue
3428fi 3786fi
3429
3430rm -f conftest.err conftest.$ac_ext 3787rm -f conftest.err conftest.i conftest.$ac_ext
3431 3788
3432 # OK, works on sane cases. Now check whether nonexistent headers 3789 # OK, works on sane cases. Now check whether nonexistent headers
3433 # can be detected and how. 3790 # can be detected and how.
3434 cat >conftest.$ac_ext <<_ACEOF
3435/* confdefs.h. */
3436_ACEOF
3437cat confdefs.h >>conftest.$ac_ext 3791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3438cat >>conftest.$ac_ext <<_ACEOF
3439/* end confdefs.h. */ 3792/* end confdefs.h. */
3440#include <ac_nonexistent.h> 3793#include <ac_nonexistent.h>
3441_ACEOF 3794_ACEOF
3442if { (ac_try="$ac_cpp conftest.$ac_ext" 3795if ac_fn_c_try_cpp "$LINENO"; then :
3443case "(($ac_try" in
3444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3445 *) ac_try_echo=$ac_try;;
3446esac
3447eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3448 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3449 ac_status=$?
3450 grep -v '^ *+' conftest.er1 >conftest.err
3451 rm -f conftest.er1
3452 cat conftest.err >&5
3453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454 (exit $ac_status); } >/dev/null && {
3455 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3456 test ! -s conftest.err
3457 }; then
3458 # Broken: success on invalid input. 3796 # Broken: success on invalid input.
3459continue 3797continue
3460else 3798else
3461 echo "$as_me: failed program was:" >&5
3462sed 's/^/| /' conftest.$ac_ext >&5
3463
3464 # Passes both tests. 3799 # Passes both tests.
3465ac_preproc_ok=: 3800ac_preproc_ok=:
3466break 3801break
3467fi 3802fi
3468
3469rm -f conftest.err conftest.$ac_ext 3803rm -f conftest.err conftest.i conftest.$ac_ext
3470 3804
3471done 3805done
3472# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3806# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3473rm -f conftest.err conftest.$ac_ext 3807rm -f conftest.i conftest.err conftest.$ac_ext
3474if $ac_preproc_ok; then 3808if $ac_preproc_ok; then :
3475 : 3809
3476else 3810else
3477 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3478See \`config.log' for more details." >&5 3812$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3479echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3813as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3480See \`config.log' for more details." >&2;} 3814See \`config.log' for more details" "$LINENO" 5; }
3481 { (exit 1); exit 1; }; }
3482fi 3815fi
3483 3816
3484ac_ext=c 3817ac_ext=c
3485ac_cpp='$CPP $CPPFLAGS' 3818ac_cpp='$CPP $CPPFLAGS'
3486ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3819ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3487ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3820ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3488ac_compiler_gnu=$ac_cv_c_compiler_gnu 3821ac_compiler_gnu=$ac_cv_c_compiler_gnu
3489 3822
3490 3823
3491{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3492echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3825$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3493if test "${ac_cv_path_GREP+set}" = set; then 3826if ${ac_cv_path_GREP+:} false; then :
3494 echo $ECHO_N "(cached) $ECHO_C" >&6 3827 $as_echo_n "(cached) " >&6
3495else 3828else
3496 # Extract the first word of "grep ggrep" to use in msg output
3497if test -z "$GREP"; then 3829 if test -z "$GREP"; then
3498set dummy grep ggrep; ac_prog_name=$2
3499if test "${ac_cv_path_GREP+set}" = set; then
3500 echo $ECHO_N "(cached) $ECHO_C" >&6
3501else
3502 ac_path_GREP_found=false 3830 ac_path_GREP_found=false
3503# Loop through the user's path and test for each of PROGNAME-LIST 3831 # Loop through the user's path and test for each of PROGNAME-LIST
3504as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3505for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3833for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3506do 3834do
3507 IFS=$as_save_IFS 3835 IFS=$as_save_IFS
3508 test -z "$as_dir" && as_dir=. 3836 test -z "$as_dir" && as_dir=.
3509 for ac_prog in grep ggrep; do 3837 for ac_prog in grep ggrep; do
3510 for ac_exec_ext in '' $ac_executable_extensions; do 3838 for ac_exec_ext in '' $ac_executable_extensions; do
3511 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3839 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3512 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3840 as_fn_executable_p "$ac_path_GREP" || continue
3513 # Check for GNU ac_path_GREP and select it if it is found. 3841# Check for GNU ac_path_GREP and select it if it is found.
3514 # Check for GNU $ac_path_GREP 3842 # Check for GNU $ac_path_GREP
3515case `"$ac_path_GREP" --version 2>&1` in 3843case `"$ac_path_GREP" --version 2>&1` in
3516*GNU*) 3844*GNU*)
3517 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3845 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3518*) 3846*)
3519 ac_count=0 3847 ac_count=0
3520 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3848 $as_echo_n 0123456789 >"conftest.in"
3521 while : 3849 while :
3522 do 3850 do
3523 cat "conftest.in" "conftest.in" >"conftest.tmp" 3851 cat "conftest.in" "conftest.in" >"conftest.tmp"
3524 mv "conftest.tmp" "conftest.in" 3852 mv "conftest.tmp" "conftest.in"
3525 cp "conftest.in" "conftest.nl" 3853 cp "conftest.in" "conftest.nl"
3526 echo 'GREP' >> "conftest.nl" 3854 $as_echo 'GREP' >> "conftest.nl"
3527 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3855 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3528 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3856 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3529 ac_count=`expr $ac_count + 1` 3857 as_fn_arith $ac_count + 1 && ac_count=$as_val
3530 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3858 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3531 # Best one so far, save it but keep looking for a better one 3859 # Best one so far, save it but keep looking for a better one
3532 ac_cv_path_GREP="$ac_path_GREP" 3860 ac_cv_path_GREP="$ac_path_GREP"
3533 ac_path_GREP_max=$ac_count 3861 ac_path_GREP_max=$ac_count
3534 fi 3862 fi
3536 test $ac_count -gt 10 && break 3864 test $ac_count -gt 10 && break
3537 done 3865 done
3538 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3866 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3539esac 3867esac
3540 3868
3541
3542 $ac_path_GREP_found && break 3 3869 $ac_path_GREP_found && break 3
3870 done
3543 done 3871 done
3544done 3872 done
3545
3546done
3547IFS=$as_save_IFS 3873IFS=$as_save_IFS
3548
3549
3550fi
3551
3552GREP="$ac_cv_path_GREP"
3553if test -z "$GREP"; then 3874 if test -z "$ac_cv_path_GREP"; then
3554 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3875 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3555echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3876 fi
3556 { (exit 1); exit 1; }; }
3557fi
3558
3559else 3877else
3560 ac_cv_path_GREP=$GREP 3878 ac_cv_path_GREP=$GREP
3561fi 3879fi
3562 3880
3563
3564fi 3881fi
3565{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3566echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3883$as_echo "$ac_cv_path_GREP" >&6; }
3567 GREP="$ac_cv_path_GREP" 3884 GREP="$ac_cv_path_GREP"
3568 3885
3569 3886
3570{ echo "$as_me:$LINENO: checking for egrep" >&5 3887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3571echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 3888$as_echo_n "checking for egrep... " >&6; }
3572if test "${ac_cv_path_EGREP+set}" = set; then 3889if ${ac_cv_path_EGREP+:} false; then :
3573 echo $ECHO_N "(cached) $ECHO_C" >&6 3890 $as_echo_n "(cached) " >&6
3574else 3891else
3575 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3892 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3576 then ac_cv_path_EGREP="$GREP -E" 3893 then ac_cv_path_EGREP="$GREP -E"
3577 else 3894 else
3578 # Extract the first word of "egrep" to use in msg output
3579if test -z "$EGREP"; then 3895 if test -z "$EGREP"; then
3580set dummy egrep; ac_prog_name=$2
3581if test "${ac_cv_path_EGREP+set}" = set; then
3582 echo $ECHO_N "(cached) $ECHO_C" >&6
3583else
3584 ac_path_EGREP_found=false 3896 ac_path_EGREP_found=false
3585# Loop through the user's path and test for each of PROGNAME-LIST 3897 # Loop through the user's path and test for each of PROGNAME-LIST
3586as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3587for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3899for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3588do 3900do
3589 IFS=$as_save_IFS 3901 IFS=$as_save_IFS
3590 test -z "$as_dir" && as_dir=. 3902 test -z "$as_dir" && as_dir=.
3591 for ac_prog in egrep; do 3903 for ac_prog in egrep; do
3592 for ac_exec_ext in '' $ac_executable_extensions; do 3904 for ac_exec_ext in '' $ac_executable_extensions; do
3593 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3905 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3594 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3906 as_fn_executable_p "$ac_path_EGREP" || continue
3595 # Check for GNU ac_path_EGREP and select it if it is found. 3907# Check for GNU ac_path_EGREP and select it if it is found.
3596 # Check for GNU $ac_path_EGREP 3908 # Check for GNU $ac_path_EGREP
3597case `"$ac_path_EGREP" --version 2>&1` in 3909case `"$ac_path_EGREP" --version 2>&1` in
3598*GNU*) 3910*GNU*)
3599 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3911 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3600*) 3912*)
3601 ac_count=0 3913 ac_count=0
3602 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3914 $as_echo_n 0123456789 >"conftest.in"
3603 while : 3915 while :
3604 do 3916 do
3605 cat "conftest.in" "conftest.in" >"conftest.tmp" 3917 cat "conftest.in" "conftest.in" >"conftest.tmp"
3606 mv "conftest.tmp" "conftest.in" 3918 mv "conftest.tmp" "conftest.in"
3607 cp "conftest.in" "conftest.nl" 3919 cp "conftest.in" "conftest.nl"
3608 echo 'EGREP' >> "conftest.nl" 3920 $as_echo 'EGREP' >> "conftest.nl"
3609 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3921 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3610 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3922 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3611 ac_count=`expr $ac_count + 1` 3923 as_fn_arith $ac_count + 1 && ac_count=$as_val
3612 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3924 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3613 # Best one so far, save it but keep looking for a better one 3925 # Best one so far, save it but keep looking for a better one
3614 ac_cv_path_EGREP="$ac_path_EGREP" 3926 ac_cv_path_EGREP="$ac_path_EGREP"
3615 ac_path_EGREP_max=$ac_count 3927 ac_path_EGREP_max=$ac_count
3616 fi 3928 fi
3618 test $ac_count -gt 10 && break 3930 test $ac_count -gt 10 && break
3619 done 3931 done
3620 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3932 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3621esac 3933esac
3622 3934
3623
3624 $ac_path_EGREP_found && break 3 3935 $ac_path_EGREP_found && break 3
3936 done
3625 done 3937 done
3626done 3938 done
3627
3628done
3629IFS=$as_save_IFS 3939IFS=$as_save_IFS
3630
3631
3632fi
3633
3634EGREP="$ac_cv_path_EGREP"
3635if test -z "$EGREP"; then 3940 if test -z "$ac_cv_path_EGREP"; then
3636 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3941 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3637echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3942 fi
3638 { (exit 1); exit 1; }; }
3639fi
3640
3641else 3943else
3642 ac_cv_path_EGREP=$EGREP 3944 ac_cv_path_EGREP=$EGREP
3643fi 3945fi
3644 3946
3645
3646 fi 3947 fi
3647fi 3948fi
3648{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3649echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 3950$as_echo "$ac_cv_path_EGREP" >&6; }
3650 EGREP="$ac_cv_path_EGREP" 3951 EGREP="$ac_cv_path_EGREP"
3651 3952
3652 3953
3653{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3654echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 3955$as_echo_n "checking for ANSI C header files... " >&6; }
3655if test "${ac_cv_header_stdc+set}" = set; then 3956if ${ac_cv_header_stdc+:} false; then :
3656 echo $ECHO_N "(cached) $ECHO_C" >&6 3957 $as_echo_n "(cached) " >&6
3657else 3958else
3658 cat >conftest.$ac_ext <<_ACEOF
3659/* confdefs.h. */
3660_ACEOF
3661cat confdefs.h >>conftest.$ac_ext 3959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3662cat >>conftest.$ac_ext <<_ACEOF
3663/* end confdefs.h. */ 3960/* end confdefs.h. */
3664#include <stdlib.h> 3961#include <stdlib.h>
3665#include <stdarg.h> 3962#include <stdarg.h>
3666#include <string.h> 3963#include <string.h>
3667#include <float.h> 3964#include <float.h>
3672 3969
3673 ; 3970 ;
3674 return 0; 3971 return 0;
3675} 3972}
3676_ACEOF 3973_ACEOF
3677rm -f conftest.$ac_objext 3974if ac_fn_c_try_compile "$LINENO"; then :
3678if { (ac_try="$ac_compile"
3679case "(($ac_try" in
3680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3681 *) ac_try_echo=$ac_try;;
3682esac
3683eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3684 (eval "$ac_compile") 2>conftest.er1
3685 ac_status=$?
3686 grep -v '^ *+' conftest.er1 >conftest.err
3687 rm -f conftest.er1
3688 cat conftest.err >&5
3689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690 (exit $ac_status); } && {
3691 test -z "$ac_c_werror_flag" ||
3692 test ! -s conftest.err
3693 } && test -s conftest.$ac_objext; then
3694 ac_cv_header_stdc=yes 3975 ac_cv_header_stdc=yes
3695else 3976else
3696 echo "$as_me: failed program was:" >&5
3697sed 's/^/| /' conftest.$ac_ext >&5
3698
3699 ac_cv_header_stdc=no 3977 ac_cv_header_stdc=no
3700fi 3978fi
3701
3702rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3979rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3703 3980
3704if test $ac_cv_header_stdc = yes; then 3981if test $ac_cv_header_stdc = yes; then
3705 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3982 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3706 cat >conftest.$ac_ext <<_ACEOF
3707/* confdefs.h. */
3708_ACEOF
3709cat confdefs.h >>conftest.$ac_ext 3983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3710cat >>conftest.$ac_ext <<_ACEOF
3711/* end confdefs.h. */ 3984/* end confdefs.h. */
3712#include <string.h> 3985#include <string.h>
3713 3986
3714_ACEOF 3987_ACEOF
3715if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3988if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3716 $EGREP "memchr" >/dev/null 2>&1; then 3989 $EGREP "memchr" >/dev/null 2>&1; then :
3717 : 3990
3718else 3991else
3719 ac_cv_header_stdc=no 3992 ac_cv_header_stdc=no
3720fi 3993fi
3721rm -f conftest* 3994rm -f conftest*
3722 3995
3723fi 3996fi
3724 3997
3725if test $ac_cv_header_stdc = yes; then 3998if test $ac_cv_header_stdc = yes; then
3726 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3999 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3727 cat >conftest.$ac_ext <<_ACEOF
3728/* confdefs.h. */
3729_ACEOF
3730cat confdefs.h >>conftest.$ac_ext 4000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3731cat >>conftest.$ac_ext <<_ACEOF
3732/* end confdefs.h. */ 4001/* end confdefs.h. */
3733#include <stdlib.h> 4002#include <stdlib.h>
3734 4003
3735_ACEOF 4004_ACEOF
3736if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4005if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3737 $EGREP "free" >/dev/null 2>&1; then 4006 $EGREP "free" >/dev/null 2>&1; then :
3738 : 4007
3739else 4008else
3740 ac_cv_header_stdc=no 4009 ac_cv_header_stdc=no
3741fi 4010fi
3742rm -f conftest* 4011rm -f conftest*
3743 4012
3744fi 4013fi
3745 4014
3746if test $ac_cv_header_stdc = yes; then 4015if test $ac_cv_header_stdc = yes; then
3747 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4016 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3748 if test "$cross_compiling" = yes; then 4017 if test "$cross_compiling" = yes; then :
3749 : 4018 :
3750else 4019else
3751 cat >conftest.$ac_ext <<_ACEOF
3752/* confdefs.h. */
3753_ACEOF
3754cat confdefs.h >>conftest.$ac_ext 4020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3755cat >>conftest.$ac_ext <<_ACEOF
3756/* end confdefs.h. */ 4021/* end confdefs.h. */
3757#include <ctype.h> 4022#include <ctype.h>
3758#include <stdlib.h> 4023#include <stdlib.h>
3759#if ((' ' & 0x0FF) == 0x020) 4024#if ((' ' & 0x0FF) == 0x020)
3760# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4025# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3777 || toupper (i) != TOUPPER (i)) 4042 || toupper (i) != TOUPPER (i))
3778 return 2; 4043 return 2;
3779 return 0; 4044 return 0;
3780} 4045}
3781_ACEOF 4046_ACEOF
3782rm -f conftest$ac_exeext 4047if ac_fn_c_try_run "$LINENO"; then :
3783if { (ac_try="$ac_link"
3784case "(($ac_try" in
3785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3786 *) ac_try_echo=$ac_try;;
3787esac
3788eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3789 (eval "$ac_link") 2>&5
3790 ac_status=$?
3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3792 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3793 { (case "(($ac_try" in
3794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3795 *) ac_try_echo=$ac_try;;
3796esac
3797eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3798 (eval "$ac_try") 2>&5
3799 ac_status=$?
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); }; }; then
3802 :
3803else
3804 echo "$as_me: program exited with status $ac_status" >&5
3805echo "$as_me: failed program was:" >&5
3806sed 's/^/| /' conftest.$ac_ext >&5
3807 4048
3808( exit $ac_status ) 4049else
3809ac_cv_header_stdc=no 4050 ac_cv_header_stdc=no
3810fi 4051fi
3811rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4052rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4053 conftest.$ac_objext conftest.beam conftest.$ac_ext
3812fi 4054fi
3813 4055
3814
3815fi 4056fi
3816fi 4057fi
3817{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3818echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4059$as_echo "$ac_cv_header_stdc" >&6; }
3819if test $ac_cv_header_stdc = yes; then 4060if test $ac_cv_header_stdc = yes; then
3820 4061
3821cat >>confdefs.h <<\_ACEOF 4062$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3822#define STDC_HEADERS 1
3823_ACEOF
3824 4063
3825fi 4064fi
3826 4065
3827 4066
3828ac_ext=cpp 4067ac_ext=cpp
3837 if test -n "$ac_tool_prefix"; then 4076 if test -n "$ac_tool_prefix"; then
3838 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4077 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3839 do 4078 do
3840 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4079 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3841set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4080set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3842{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3843echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4082$as_echo_n "checking for $ac_word... " >&6; }
3844if test "${ac_cv_prog_CXX+set}" = set; then 4083if ${ac_cv_prog_CXX+:} false; then :
3845 echo $ECHO_N "(cached) $ECHO_C" >&6 4084 $as_echo_n "(cached) " >&6
3846else 4085else
3847 if test -n "$CXX"; then 4086 if test -n "$CXX"; then
3848 ac_cv_prog_CXX="$CXX" # Let the user override the test. 4087 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3849else 4088else
3850as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4089as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3851for as_dir in $PATH 4090for as_dir in $PATH
3852do 4091do
3853 IFS=$as_save_IFS 4092 IFS=$as_save_IFS
3854 test -z "$as_dir" && as_dir=. 4093 test -z "$as_dir" && as_dir=.
3855 for ac_exec_ext in '' $ac_executable_extensions; do 4094 for ac_exec_ext in '' $ac_executable_extensions; do
3856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3857 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 4096 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3859 break 2 4098 break 2
3860 fi 4099 fi
3861done 4100done
3862done 4101 done
3863IFS=$as_save_IFS 4102IFS=$as_save_IFS
3864 4103
3865fi 4104fi
3866fi 4105fi
3867CXX=$ac_cv_prog_CXX 4106CXX=$ac_cv_prog_CXX
3868if test -n "$CXX"; then 4107if test -n "$CXX"; then
3869 { echo "$as_me:$LINENO: result: $CXX" >&5 4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3870echo "${ECHO_T}$CXX" >&6; } 4109$as_echo "$CXX" >&6; }
3871else 4110else
3872 { echo "$as_me:$LINENO: result: no" >&5 4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3873echo "${ECHO_T}no" >&6; } 4112$as_echo "no" >&6; }
3874fi 4113fi
3875 4114
3876 4115
3877 test -n "$CXX" && break 4116 test -n "$CXX" && break
3878 done 4117 done
3881 ac_ct_CXX=$CXX 4120 ac_ct_CXX=$CXX
3882 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4121 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3883do 4122do
3884 # Extract the first word of "$ac_prog", so it can be a program name with args. 4123 # Extract the first word of "$ac_prog", so it can be a program name with args.
3885set dummy $ac_prog; ac_word=$2 4124set dummy $ac_prog; ac_word=$2
3886{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3887echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4126$as_echo_n "checking for $ac_word... " >&6; }
3888if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 4127if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3889 echo $ECHO_N "(cached) $ECHO_C" >&6 4128 $as_echo_n "(cached) " >&6
3890else 4129else
3891 if test -n "$ac_ct_CXX"; then 4130 if test -n "$ac_ct_CXX"; then
3892 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 4131 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3893else 4132else
3894as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4133as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3895for as_dir in $PATH 4134for as_dir in $PATH
3896do 4135do
3897 IFS=$as_save_IFS 4136 IFS=$as_save_IFS
3898 test -z "$as_dir" && as_dir=. 4137 test -z "$as_dir" && as_dir=.
3899 for ac_exec_ext in '' $ac_executable_extensions; do 4138 for ac_exec_ext in '' $ac_executable_extensions; do
3900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3901 ac_cv_prog_ac_ct_CXX="$ac_prog" 4140 ac_cv_prog_ac_ct_CXX="$ac_prog"
3902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3903 break 2 4142 break 2
3904 fi 4143 fi
3905done 4144done
3906done 4145 done
3907IFS=$as_save_IFS 4146IFS=$as_save_IFS
3908 4147
3909fi 4148fi
3910fi 4149fi
3911ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 4150ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3912if test -n "$ac_ct_CXX"; then 4151if test -n "$ac_ct_CXX"; then
3913 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3914echo "${ECHO_T}$ac_ct_CXX" >&6; } 4153$as_echo "$ac_ct_CXX" >&6; }
3915else 4154else
3916 { echo "$as_me:$LINENO: result: no" >&5 4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3917echo "${ECHO_T}no" >&6; } 4156$as_echo "no" >&6; }
3918fi 4157fi
3919 4158
3920 4159
3921 test -n "$ac_ct_CXX" && break 4160 test -n "$ac_ct_CXX" && break
3922done 4161done
3924 if test "x$ac_ct_CXX" = x; then 4163 if test "x$ac_ct_CXX" = x; then
3925 CXX="g++" 4164 CXX="g++"
3926 else 4165 else
3927 case $cross_compiling:$ac_tool_warned in 4166 case $cross_compiling:$ac_tool_warned in
3928yes:) 4167yes:)
3929{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 4168{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3930whose name does not start with the host triplet. If you think this 4169$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3931configuration is useful to you, please write to autoconf@gnu.org." >&5
3932echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3933whose name does not start with the host triplet. If you think this
3934configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3935ac_tool_warned=yes ;; 4170ac_tool_warned=yes ;;
3936esac 4171esac
3937 CXX=$ac_ct_CXX 4172 CXX=$ac_ct_CXX
3938 fi 4173 fi
3939fi 4174fi
3940 4175
3941 fi 4176 fi
3942fi 4177fi
3943# Provide some information about the compiler. 4178# Provide some information about the compiler.
3944echo "$as_me:$LINENO: checking for C++ compiler version" >&5 4179$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3945ac_compiler=`set X $ac_compile; echo $2` 4180set X $ac_compile
4181ac_compiler=$2
4182for ac_option in --version -v -V -qversion; do
3946{ (ac_try="$ac_compiler --version >&5" 4183 { { ac_try="$ac_compiler $ac_option >&5"
3947case "(($ac_try" in 4184case "(($ac_try" in
3948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3949 *) ac_try_echo=$ac_try;; 4186 *) ac_try_echo=$ac_try;;
3950esac 4187esac
3951eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4188eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3952 (eval "$ac_compiler --version >&5") 2>&5 4189$as_echo "$ac_try_echo"; } >&5
4190 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3953 ac_status=$? 4191 ac_status=$?
4192 if test -s conftest.err; then
4193 sed '10a\
4194... rest of stderr output deleted ...
4195 10q' conftest.err >conftest.er1
4196 cat conftest.er1 >&5
4197 fi
4198 rm -f conftest.er1 conftest.err
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3955 (exit $ac_status); } 4200 test $ac_status = 0; }
3956{ (ac_try="$ac_compiler -v >&5" 4201done
3957case "(($ac_try" in
3958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959 *) ac_try_echo=$ac_try;;
3960esac
3961eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3962 (eval "$ac_compiler -v >&5") 2>&5
3963 ac_status=$?
3964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965 (exit $ac_status); }
3966{ (ac_try="$ac_compiler -V >&5"
3967case "(($ac_try" in
3968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3969 *) ac_try_echo=$ac_try;;
3970esac
3971eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3972 (eval "$ac_compiler -V >&5") 2>&5
3973 ac_status=$?
3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975 (exit $ac_status); }
3976 4202
3977{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 4203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3978echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 4204$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3979if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 4205if ${ac_cv_cxx_compiler_gnu+:} false; then :
3980 echo $ECHO_N "(cached) $ECHO_C" >&6 4206 $as_echo_n "(cached) " >&6
3981else 4207else
3982 cat >conftest.$ac_ext <<_ACEOF
3983/* confdefs.h. */
3984_ACEOF
3985cat confdefs.h >>conftest.$ac_ext 4208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3986cat >>conftest.$ac_ext <<_ACEOF
3987/* end confdefs.h. */ 4209/* end confdefs.h. */
3988 4210
3989int 4211int
3990main () 4212main ()
3991{ 4213{
3995 4217
3996 ; 4218 ;
3997 return 0; 4219 return 0;
3998} 4220}
3999_ACEOF 4221_ACEOF
4000rm -f conftest.$ac_objext 4222if ac_fn_cxx_try_compile "$LINENO"; then :
4001if { (ac_try="$ac_compile"
4002case "(($ac_try" in
4003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4004 *) ac_try_echo=$ac_try;;
4005esac
4006eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4007 (eval "$ac_compile") 2>conftest.er1
4008 ac_status=$?
4009 grep -v '^ *+' conftest.er1 >conftest.err
4010 rm -f conftest.er1
4011 cat conftest.err >&5
4012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4013 (exit $ac_status); } && {
4014 test -z "$ac_cxx_werror_flag" ||
4015 test ! -s conftest.err
4016 } && test -s conftest.$ac_objext; then
4017 ac_compiler_gnu=yes 4223 ac_compiler_gnu=yes
4018else 4224else
4019 echo "$as_me: failed program was:" >&5
4020sed 's/^/| /' conftest.$ac_ext >&5
4021
4022 ac_compiler_gnu=no 4225 ac_compiler_gnu=no
4023fi 4226fi
4024
4025rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4026ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 4228ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4027 4229
4028fi 4230fi
4029{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 4231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4030echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 4232$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4031GXX=`test $ac_compiler_gnu = yes && echo yes` 4233if test $ac_compiler_gnu = yes; then
4234 GXX=yes
4235else
4236 GXX=
4237fi
4032ac_test_CXXFLAGS=${CXXFLAGS+set} 4238ac_test_CXXFLAGS=${CXXFLAGS+set}
4033ac_save_CXXFLAGS=$CXXFLAGS 4239ac_save_CXXFLAGS=$CXXFLAGS
4034{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 4240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4035echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 4241$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4036if test "${ac_cv_prog_cxx_g+set}" = set; then 4242if ${ac_cv_prog_cxx_g+:} false; then :
4037 echo $ECHO_N "(cached) $ECHO_C" >&6 4243 $as_echo_n "(cached) " >&6
4038else 4244else
4039 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 4245 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4040 ac_cxx_werror_flag=yes 4246 ac_cxx_werror_flag=yes
4041 ac_cv_prog_cxx_g=no 4247 ac_cv_prog_cxx_g=no
4042 CXXFLAGS="-g" 4248 CXXFLAGS="-g"
4043 cat >conftest.$ac_ext <<_ACEOF
4044/* confdefs.h. */
4045_ACEOF
4046cat confdefs.h >>conftest.$ac_ext 4249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4047cat >>conftest.$ac_ext <<_ACEOF
4048/* end confdefs.h. */ 4250/* end confdefs.h. */
4049 4251
4050int 4252int
4051main () 4253main ()
4052{ 4254{
4053 4255
4054 ; 4256 ;
4055 return 0; 4257 return 0;
4056} 4258}
4057_ACEOF 4259_ACEOF
4058rm -f conftest.$ac_objext 4260if ac_fn_cxx_try_compile "$LINENO"; then :
4059if { (ac_try="$ac_compile"
4060case "(($ac_try" in
4061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4062 *) ac_try_echo=$ac_try;;
4063esac
4064eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4065 (eval "$ac_compile") 2>conftest.er1
4066 ac_status=$?
4067 grep -v '^ *+' conftest.er1 >conftest.err
4068 rm -f conftest.er1
4069 cat conftest.err >&5
4070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4071 (exit $ac_status); } && {
4072 test -z "$ac_cxx_werror_flag" ||
4073 test ! -s conftest.err
4074 } && test -s conftest.$ac_objext; then
4075 ac_cv_prog_cxx_g=yes 4261 ac_cv_prog_cxx_g=yes
4076else 4262else
4077 echo "$as_me: failed program was:" >&5
4078sed 's/^/| /' conftest.$ac_ext >&5
4079
4080 CXXFLAGS="" 4263 CXXFLAGS=""
4081 cat >conftest.$ac_ext <<_ACEOF
4082/* confdefs.h. */
4083_ACEOF
4084cat confdefs.h >>conftest.$ac_ext 4264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4085cat >>conftest.$ac_ext <<_ACEOF
4086/* end confdefs.h. */ 4265/* end confdefs.h. */
4087 4266
4088int 4267int
4089main () 4268main ()
4090{ 4269{
4091 4270
4092 ; 4271 ;
4093 return 0; 4272 return 0;
4094} 4273}
4095_ACEOF 4274_ACEOF
4096rm -f conftest.$ac_objext 4275if ac_fn_cxx_try_compile "$LINENO"; then :
4097if { (ac_try="$ac_compile"
4098case "(($ac_try" in
4099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4100 *) ac_try_echo=$ac_try;;
4101esac
4102eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4103 (eval "$ac_compile") 2>conftest.er1
4104 ac_status=$?
4105 grep -v '^ *+' conftest.er1 >conftest.err
4106 rm -f conftest.er1
4107 cat conftest.err >&5
4108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109 (exit $ac_status); } && {
4110 test -z "$ac_cxx_werror_flag" ||
4111 test ! -s conftest.err
4112 } && test -s conftest.$ac_objext; then
4113 :
4114else
4115 echo "$as_me: failed program was:" >&5
4116sed 's/^/| /' conftest.$ac_ext >&5
4117 4276
4277else
4118 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4278 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4119 CXXFLAGS="-g" 4279 CXXFLAGS="-g"
4120 cat >conftest.$ac_ext <<_ACEOF
4121/* confdefs.h. */
4122_ACEOF
4123cat confdefs.h >>conftest.$ac_ext 4280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4124cat >>conftest.$ac_ext <<_ACEOF
4125/* end confdefs.h. */ 4281/* end confdefs.h. */
4126 4282
4127int 4283int
4128main () 4284main ()
4129{ 4285{
4130 4286
4131 ; 4287 ;
4132 return 0; 4288 return 0;
4133} 4289}
4134_ACEOF 4290_ACEOF
4135rm -f conftest.$ac_objext 4291if ac_fn_cxx_try_compile "$LINENO"; then :
4136if { (ac_try="$ac_compile"
4137case "(($ac_try" in
4138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4139 *) ac_try_echo=$ac_try;;
4140esac
4141eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4142 (eval "$ac_compile") 2>conftest.er1
4143 ac_status=$?
4144 grep -v '^ *+' conftest.er1 >conftest.err
4145 rm -f conftest.er1
4146 cat conftest.err >&5
4147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4148 (exit $ac_status); } && {
4149 test -z "$ac_cxx_werror_flag" ||
4150 test ! -s conftest.err
4151 } && test -s conftest.$ac_objext; then
4152 ac_cv_prog_cxx_g=yes 4292 ac_cv_prog_cxx_g=yes
4153else
4154 echo "$as_me: failed program was:" >&5
4155sed 's/^/| /' conftest.$ac_ext >&5
4156
4157
4158fi 4293fi
4159
4160rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4294rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4161fi 4295fi
4162
4163rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4296rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4164fi 4297fi
4165
4166rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4298rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4167 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4299 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4168fi 4300fi
4169{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 4301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4170echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 4302$as_echo "$ac_cv_prog_cxx_g" >&6; }
4171if test "$ac_test_CXXFLAGS" = set; then 4303if test "$ac_test_CXXFLAGS" = set; then
4172 CXXFLAGS=$ac_save_CXXFLAGS 4304 CXXFLAGS=$ac_save_CXXFLAGS
4173elif test $ac_cv_prog_cxx_g = yes; then 4305elif test $ac_cv_prog_cxx_g = yes; then
4174 if test "$GXX" = yes; then 4306 if test "$GXX" = yes; then
4175 CXXFLAGS="-g -O2" 4307 CXXFLAGS="-g -O2"
4189ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4321ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4190ac_compiler_gnu=$ac_cv_c_compiler_gnu 4322ac_compiler_gnu=$ac_cv_c_compiler_gnu
4191 4323
4192depcc="$CXX" am_compiler_list= 4324depcc="$CXX" am_compiler_list=
4193 4325
4194{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 4326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4195echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 4327$as_echo_n "checking dependency style of $depcc... " >&6; }
4196if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then 4328if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4197 echo $ECHO_N "(cached) $ECHO_C" >&6 4329 $as_echo_n "(cached) " >&6
4198else 4330else
4199 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4331 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4200 # We make a subdir and do the tests there. Otherwise we can end up 4332 # We make a subdir and do the tests there. Otherwise we can end up
4201 # making bogus files that we don't know about and never remove. For 4333 # making bogus files that we don't know about and never remove. For
4202 # instance it was reported that on HP-UX the gcc test will end up 4334 # instance it was reported that on HP-UX the gcc test will end up
4228 # overwrite some of them when testing with obscure command lines. 4360 # overwrite some of them when testing with obscure command lines.
4229 # This happens at least with the AIX C compiler. 4361 # This happens at least with the AIX C compiler.
4230 : > sub/conftest.c 4362 : > sub/conftest.c
4231 for i in 1 2 3 4 5 6; do 4363 for i in 1 2 3 4 5 6; do
4232 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4364 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4365 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4366 # Solaris 8's {/usr,}/bin/sh.
4233 : > sub/conftst$i.h 4367 touch sub/conftst$i.h
4234 done 4368 done
4235 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4369 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4236 4370
4237 case $depmode in 4371 case $depmode in
4238 nosideeffect) 4372 nosideeffect)
4252 if depmode=$depmode \ 4386 if depmode=$depmode \
4253 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 4387 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4254 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4388 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4255 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 4389 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4256 >/dev/null 2>conftest.err && 4390 >/dev/null 2>conftest.err &&
4391 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4257 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4392 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4258 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 4393 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4259 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4394 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4260 # icc doesn't choke on unknown options, it will just issue warnings 4395 # icc doesn't choke on unknown options, it will just issue warnings
4261 # (even with -Werror). So we grep stderr for any message 4396 # or remarks (even with -Werror). So we grep stderr for any message
4262 # that says an option was ignored. 4397 # that says an option was ignored or not supported.
4398 # When given -MP, icc 7.0 and 7.1 complain thusly:
4399 # icc: Command line warning: ignoring option '-M'; no argument required
4400 # The diagnosis changed in icc 8.0:
4401 # icc: Command line remark: option '-MP' not supported
4402 if (grep 'ignoring option' conftest.err ||
4263 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 4403 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4264 am_cv_CXX_dependencies_compiler_type=$depmode 4404 am_cv_CXX_dependencies_compiler_type=$depmode
4265 break 4405 break
4266 fi 4406 fi
4267 fi 4407 fi
4268 done 4408 done
4272else 4412else
4273 am_cv_CXX_dependencies_compiler_type=none 4413 am_cv_CXX_dependencies_compiler_type=none
4274fi 4414fi
4275 4415
4276fi 4416fi
4277{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 4417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4278echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } 4418$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4279CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 4419CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4280 4420
4281
4282
4283if 4421 if
4284 test "x$enable_dependency_tracking" != xno \ 4422 test "x$enable_dependency_tracking" != xno \
4285 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 4423 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4286 am__fastdepCXX_TRUE= 4424 am__fastdepCXX_TRUE=
4287 am__fastdepCXX_FALSE='#' 4425 am__fastdepCXX_FALSE='#'
4288else 4426else
4300 4438
4301 4439
4302 4440
4303 4441
4304 4442
4305
4306# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4317 inttypes.h stdint.h unistd.h
4318do
4319as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4320{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4321echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4322if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4323 echo $ECHO_N "(cached) $ECHO_C" >&6
4324else
4325 cat >conftest.$ac_ext <<_ACEOF
4326/* confdefs.h. */
4327_ACEOF
4328cat confdefs.h >>conftest.$ac_ext
4329cat >>conftest.$ac_ext <<_ACEOF
4330/* end confdefs.h. */
4331$ac_includes_default
4332
4333#include <$ac_header>
4334_ACEOF
4335rm -f conftest.$ac_objext
4336if { (ac_try="$ac_compile"
4337case "(($ac_try" in
4338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4339 *) ac_try_echo=$ac_try;;
4340esac
4341eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4342 (eval "$ac_compile") 2>conftest.er1
4343 ac_status=$?
4344 grep -v '^ *+' conftest.er1 >conftest.err
4345 rm -f conftest.er1
4346 cat conftest.err >&5
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); } && {
4349 test -z "$ac_cxx_werror_flag" ||
4350 test ! -s conftest.err
4351 } && test -s conftest.$ac_objext; then
4352 eval "$as_ac_Header=yes"
4353else
4354 echo "$as_me: failed program was:" >&5
4355sed 's/^/| /' conftest.$ac_ext >&5
4356
4357 eval "$as_ac_Header=no"
4358fi
4359
4360rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4361fi
4362ac_res=`eval echo '${'$as_ac_Header'}'`
4363 { echo "$as_me:$LINENO: result: $ac_res" >&5
4364echo "${ECHO_T}$ac_res" >&6; }
4365if test `eval echo '${'$as_ac_Header'}'` = yes; then
4366 cat >>confdefs.h <<_ACEOF
4367#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4368_ACEOF
4369
4370fi
4371
4372done
4373
4374
4375ac_ext=cpp 4443ac_ext=cpp
4376ac_cpp='$CXXCPP $CPPFLAGS' 4444ac_cpp='$CXXCPP $CPPFLAGS'
4377ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4445ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4378ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4446ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4379ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4447ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4380{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 4448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4381echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } 4449$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4382if test -z "$CXXCPP"; then 4450if test -z "$CXXCPP"; then
4383 if test "${ac_cv_prog_CXXCPP+set}" = set; then 4451 if ${ac_cv_prog_CXXCPP+:} false; then :
4384 echo $ECHO_N "(cached) $ECHO_C" >&6 4452 $as_echo_n "(cached) " >&6
4385else 4453else
4386 # Double quotes because CXXCPP needs to be expanded 4454 # Double quotes because CXXCPP needs to be expanded
4387 for CXXCPP in "$CXX -E" "/lib/cpp" 4455 for CXXCPP in "$CXX -E" "/lib/cpp"
4388 do 4456 do
4389 ac_preproc_ok=false 4457 ac_preproc_ok=false
4393 # with a fresh cross-compiler works. 4461 # with a fresh cross-compiler works.
4394 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4462 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4395 # <limits.h> exists even on freestanding compilers. 4463 # <limits.h> exists even on freestanding compilers.
4396 # On the NeXT, cc -E runs the code through the compiler's parser, 4464 # On the NeXT, cc -E runs the code through the compiler's parser,
4397 # not just through cpp. "Syntax error" is here to catch this case. 4465 # not just through cpp. "Syntax error" is here to catch this case.
4398 cat >conftest.$ac_ext <<_ACEOF
4399/* confdefs.h. */
4400_ACEOF
4401cat confdefs.h >>conftest.$ac_ext 4466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4402cat >>conftest.$ac_ext <<_ACEOF
4403/* end confdefs.h. */ 4467/* end confdefs.h. */
4404#ifdef __STDC__ 4468#ifdef __STDC__
4405# include <limits.h> 4469# include <limits.h>
4406#else 4470#else
4407# include <assert.h> 4471# include <assert.h>
4408#endif 4472#endif
4409 Syntax error 4473 Syntax error
4410_ACEOF 4474_ACEOF
4411if { (ac_try="$ac_cpp conftest.$ac_ext" 4475if ac_fn_cxx_try_cpp "$LINENO"; then :
4412case "(($ac_try" in
4413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4414 *) ac_try_echo=$ac_try;;
4415esac
4416eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4417 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4418 ac_status=$?
4419 grep -v '^ *+' conftest.er1 >conftest.err
4420 rm -f conftest.er1
4421 cat conftest.err >&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); } >/dev/null && {
4424 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4425 test ! -s conftest.err
4426 }; then
4427 :
4428else
4429 echo "$as_me: failed program was:" >&5
4430sed 's/^/| /' conftest.$ac_ext >&5
4431 4476
4477else
4432 # Broken: fails on valid input. 4478 # Broken: fails on valid input.
4433continue 4479continue
4434fi 4480fi
4435
4436rm -f conftest.err conftest.$ac_ext 4481rm -f conftest.err conftest.i conftest.$ac_ext
4437 4482
4438 # OK, works on sane cases. Now check whether nonexistent headers 4483 # OK, works on sane cases. Now check whether nonexistent headers
4439 # can be detected and how. 4484 # can be detected and how.
4440 cat >conftest.$ac_ext <<_ACEOF
4441/* confdefs.h. */
4442_ACEOF
4443cat confdefs.h >>conftest.$ac_ext 4485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4444cat >>conftest.$ac_ext <<_ACEOF
4445/* end confdefs.h. */ 4486/* end confdefs.h. */
4446#include <ac_nonexistent.h> 4487#include <ac_nonexistent.h>
4447_ACEOF 4488_ACEOF
4448if { (ac_try="$ac_cpp conftest.$ac_ext" 4489if ac_fn_cxx_try_cpp "$LINENO"; then :
4449case "(($ac_try" in
4450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4451 *) ac_try_echo=$ac_try;;
4452esac
4453eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4454 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4455 ac_status=$?
4456 grep -v '^ *+' conftest.er1 >conftest.err
4457 rm -f conftest.er1
4458 cat conftest.err >&5
4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460 (exit $ac_status); } >/dev/null && {
4461 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4462 test ! -s conftest.err
4463 }; then
4464 # Broken: success on invalid input. 4490 # Broken: success on invalid input.
4465continue 4491continue
4466else 4492else
4467 echo "$as_me: failed program was:" >&5
4468sed 's/^/| /' conftest.$ac_ext >&5
4469
4470 # Passes both tests. 4493 # Passes both tests.
4471ac_preproc_ok=: 4494ac_preproc_ok=:
4472break 4495break
4473fi 4496fi
4474
4475rm -f conftest.err conftest.$ac_ext 4497rm -f conftest.err conftest.i conftest.$ac_ext
4476 4498
4477done 4499done
4478# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4500# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4479rm -f conftest.err conftest.$ac_ext 4501rm -f conftest.i conftest.err conftest.$ac_ext
4480if $ac_preproc_ok; then 4502if $ac_preproc_ok; then :
4481 break 4503 break
4482fi 4504fi
4483 4505
4484 done 4506 done
4485 ac_cv_prog_CXXCPP=$CXXCPP 4507 ac_cv_prog_CXXCPP=$CXXCPP
4487fi 4509fi
4488 CXXCPP=$ac_cv_prog_CXXCPP 4510 CXXCPP=$ac_cv_prog_CXXCPP
4489else 4511else
4490 ac_cv_prog_CXXCPP=$CXXCPP 4512 ac_cv_prog_CXXCPP=$CXXCPP
4491fi 4513fi
4492{ echo "$as_me:$LINENO: result: $CXXCPP" >&5 4514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4493echo "${ECHO_T}$CXXCPP" >&6; } 4515$as_echo "$CXXCPP" >&6; }
4494ac_preproc_ok=false 4516ac_preproc_ok=false
4495for ac_cxx_preproc_warn_flag in '' yes 4517for ac_cxx_preproc_warn_flag in '' yes
4496do 4518do
4497 # Use a header file that comes with gcc, so configuring glibc 4519 # Use a header file that comes with gcc, so configuring glibc
4498 # with a fresh cross-compiler works. 4520 # with a fresh cross-compiler works.
4499 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4521 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4500 # <limits.h> exists even on freestanding compilers. 4522 # <limits.h> exists even on freestanding compilers.
4501 # On the NeXT, cc -E runs the code through the compiler's parser, 4523 # On the NeXT, cc -E runs the code through the compiler's parser,
4502 # not just through cpp. "Syntax error" is here to catch this case. 4524 # not just through cpp. "Syntax error" is here to catch this case.
4503 cat >conftest.$ac_ext <<_ACEOF
4504/* confdefs.h. */
4505_ACEOF
4506cat confdefs.h >>conftest.$ac_ext 4525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4507cat >>conftest.$ac_ext <<_ACEOF
4508/* end confdefs.h. */ 4526/* end confdefs.h. */
4509#ifdef __STDC__ 4527#ifdef __STDC__
4510# include <limits.h> 4528# include <limits.h>
4511#else 4529#else
4512# include <assert.h> 4530# include <assert.h>
4513#endif 4531#endif
4514 Syntax error 4532 Syntax error
4515_ACEOF 4533_ACEOF
4516if { (ac_try="$ac_cpp conftest.$ac_ext" 4534if ac_fn_cxx_try_cpp "$LINENO"; then :
4517case "(($ac_try" in
4518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4519 *) ac_try_echo=$ac_try;;
4520esac
4521eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4522 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4523 ac_status=$?
4524 grep -v '^ *+' conftest.er1 >conftest.err
4525 rm -f conftest.er1
4526 cat conftest.err >&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); } >/dev/null && {
4529 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4530 test ! -s conftest.err
4531 }; then
4532 :
4533else
4534 echo "$as_me: failed program was:" >&5
4535sed 's/^/| /' conftest.$ac_ext >&5
4536 4535
4536else
4537 # Broken: fails on valid input. 4537 # Broken: fails on valid input.
4538continue 4538continue
4539fi 4539fi
4540
4541rm -f conftest.err conftest.$ac_ext 4540rm -f conftest.err conftest.i conftest.$ac_ext
4542 4541
4543 # OK, works on sane cases. Now check whether nonexistent headers 4542 # OK, works on sane cases. Now check whether nonexistent headers
4544 # can be detected and how. 4543 # can be detected and how.
4545 cat >conftest.$ac_ext <<_ACEOF
4546/* confdefs.h. */
4547_ACEOF
4548cat confdefs.h >>conftest.$ac_ext 4544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4549cat >>conftest.$ac_ext <<_ACEOF
4550/* end confdefs.h. */ 4545/* end confdefs.h. */
4551#include <ac_nonexistent.h> 4546#include <ac_nonexistent.h>
4552_ACEOF 4547_ACEOF
4553if { (ac_try="$ac_cpp conftest.$ac_ext" 4548if ac_fn_cxx_try_cpp "$LINENO"; then :
4554case "(($ac_try" in
4555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4556 *) ac_try_echo=$ac_try;;
4557esac
4558eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4559 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4560 ac_status=$?
4561 grep -v '^ *+' conftest.er1 >conftest.err
4562 rm -f conftest.er1
4563 cat conftest.err >&5
4564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565 (exit $ac_status); } >/dev/null && {
4566 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4567 test ! -s conftest.err
4568 }; then
4569 # Broken: success on invalid input. 4549 # Broken: success on invalid input.
4570continue 4550continue
4571else 4551else
4572 echo "$as_me: failed program was:" >&5
4573sed 's/^/| /' conftest.$ac_ext >&5
4574
4575 # Passes both tests. 4552 # Passes both tests.
4576ac_preproc_ok=: 4553ac_preproc_ok=:
4577break 4554break
4578fi 4555fi
4579
4580rm -f conftest.err conftest.$ac_ext 4556rm -f conftest.err conftest.i conftest.$ac_ext
4581 4557
4582done 4558done
4583# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4559# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4584rm -f conftest.err conftest.$ac_ext 4560rm -f conftest.i conftest.err conftest.$ac_ext
4585if $ac_preproc_ok; then 4561if $ac_preproc_ok; then :
4586 : 4562
4587else 4563else
4588 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4589See \`config.log' for more details." >&5 4565$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4590echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4566as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
4591See \`config.log' for more details." >&2;} 4567See \`config.log' for more details" "$LINENO" 5; }
4592 { (exit 1); exit 1; }; }
4593fi 4568fi
4594 4569
4595ac_ext=cpp 4570ac_ext=cpp
4596ac_cpp='$CXXCPP $CPPFLAGS' 4571ac_cpp='$CXXCPP $CPPFLAGS'
4597ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4572ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4598ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4573ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4599ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4574ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4600 4575
4601 4576
4577# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4578for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4579 inttypes.h stdint.h unistd.h
4580do :
4581 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4582ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4583"
4584if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4585 cat >>confdefs.h <<_ACEOF
4586#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4587_ACEOF
4588
4589fi
4590
4591done
4592
4602 4593
4603for ac_header in GL/gl.h 4594for ac_header in GL/gl.h
4604do 4595do :
4605as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4596 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
4606if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4597if test "x$ac_cv_header_GL_gl_h" = xyes; then :
4607 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4608echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4609if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4610 echo $ECHO_N "(cached) $ECHO_C" >&6
4611fi
4612ac_res=`eval echo '${'$as_ac_Header'}'`
4613 { echo "$as_me:$LINENO: result: $ac_res" >&5
4614echo "${ECHO_T}$ac_res" >&6; }
4615else
4616 # Is the header compilable?
4617{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4618echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4619cat >conftest.$ac_ext <<_ACEOF
4620/* confdefs.h. */
4621_ACEOF
4622cat confdefs.h >>conftest.$ac_ext
4623cat >>conftest.$ac_ext <<_ACEOF
4624/* end confdefs.h. */
4625$ac_includes_default
4626#include <$ac_header>
4627_ACEOF
4628rm -f conftest.$ac_objext
4629if { (ac_try="$ac_compile"
4630case "(($ac_try" in
4631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4632 *) ac_try_echo=$ac_try;;
4633esac
4634eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4635 (eval "$ac_compile") 2>conftest.er1
4636 ac_status=$?
4637 grep -v '^ *+' conftest.er1 >conftest.err
4638 rm -f conftest.er1
4639 cat conftest.err >&5
4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641 (exit $ac_status); } && {
4642 test -z "$ac_cxx_werror_flag" ||
4643 test ! -s conftest.err
4644 } && test -s conftest.$ac_objext; then
4645 ac_header_compiler=yes
4646else
4647 echo "$as_me: failed program was:" >&5
4648sed 's/^/| /' conftest.$ac_ext >&5
4649
4650 ac_header_compiler=no
4651fi
4652
4653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4654{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4655echo "${ECHO_T}$ac_header_compiler" >&6; }
4656
4657# Is the header present?
4658{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4659echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4660cat >conftest.$ac_ext <<_ACEOF
4661/* confdefs.h. */
4662_ACEOF
4663cat confdefs.h >>conftest.$ac_ext
4664cat >>conftest.$ac_ext <<_ACEOF
4665/* end confdefs.h. */
4666#include <$ac_header>
4667_ACEOF
4668if { (ac_try="$ac_cpp conftest.$ac_ext"
4669case "(($ac_try" in
4670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4671 *) ac_try_echo=$ac_try;;
4672esac
4673eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4674 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4675 ac_status=$?
4676 grep -v '^ *+' conftest.er1 >conftest.err
4677 rm -f conftest.er1
4678 cat conftest.err >&5
4679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680 (exit $ac_status); } >/dev/null && {
4681 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4682 test ! -s conftest.err
4683 }; then
4684 ac_header_preproc=yes
4685else
4686 echo "$as_me: failed program was:" >&5
4687sed 's/^/| /' conftest.$ac_ext >&5
4688
4689 ac_header_preproc=no
4690fi
4691
4692rm -f conftest.err conftest.$ac_ext
4693{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4694echo "${ECHO_T}$ac_header_preproc" >&6; }
4695
4696# So? What about this header?
4697case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4698 yes:no: )
4699 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4700echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4701 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4702echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4703 ac_header_preproc=yes
4704 ;;
4705 no:yes:* )
4706 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4707echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4708 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4709echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4710 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4711echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4712 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4713echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4714 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4715echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4716 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4717echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4718
4719 ;;
4720esac
4721{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4722echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4723if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4724 echo $ECHO_N "(cached) $ECHO_C" >&6
4725else
4726 eval "$as_ac_Header=\$ac_header_preproc"
4727fi
4728ac_res=`eval echo '${'$as_ac_Header'}'`
4729 { echo "$as_me:$LINENO: result: $ac_res" >&5
4730echo "${ECHO_T}$ac_res" >&6; }
4731
4732fi
4733if test `eval echo '${'$as_ac_Header'}'` = yes; then
4734 cat >>confdefs.h <<_ACEOF 4598 cat >>confdefs.h <<_ACEOF
4735#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4599#define HAVE_GL_GL_H 1
4736_ACEOF 4600_ACEOF
4737 4601
4738
4739for ac_header in GL/glu.h 4602 for ac_header in GL/glu.h
4740do 4603do :
4741as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4604 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "$ac_includes_default"
4742if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4605if test "x$ac_cv_header_GL_glu_h" = xyes; then :
4743 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4744echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4745if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4746 echo $ECHO_N "(cached) $ECHO_C" >&6
4747fi
4748ac_res=`eval echo '${'$as_ac_Header'}'`
4749 { echo "$as_me:$LINENO: result: $ac_res" >&5
4750echo "${ECHO_T}$ac_res" >&6; }
4751else
4752 # Is the header compilable?
4753{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4754echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4755cat >conftest.$ac_ext <<_ACEOF
4756/* confdefs.h. */
4757_ACEOF
4758cat confdefs.h >>conftest.$ac_ext
4759cat >>conftest.$ac_ext <<_ACEOF
4760/* end confdefs.h. */
4761$ac_includes_default
4762#include <$ac_header>
4763_ACEOF
4764rm -f conftest.$ac_objext
4765if { (ac_try="$ac_compile"
4766case "(($ac_try" in
4767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4768 *) ac_try_echo=$ac_try;;
4769esac
4770eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4771 (eval "$ac_compile") 2>conftest.er1
4772 ac_status=$?
4773 grep -v '^ *+' conftest.er1 >conftest.err
4774 rm -f conftest.er1
4775 cat conftest.err >&5
4776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4777 (exit $ac_status); } && {
4778 test -z "$ac_cxx_werror_flag" ||
4779 test ! -s conftest.err
4780 } && test -s conftest.$ac_objext; then
4781 ac_header_compiler=yes
4782else
4783 echo "$as_me: failed program was:" >&5
4784sed 's/^/| /' conftest.$ac_ext >&5
4785
4786 ac_header_compiler=no
4787fi
4788
4789rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4790{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4791echo "${ECHO_T}$ac_header_compiler" >&6; }
4792
4793# Is the header present?
4794{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4795echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4796cat >conftest.$ac_ext <<_ACEOF
4797/* confdefs.h. */
4798_ACEOF
4799cat confdefs.h >>conftest.$ac_ext
4800cat >>conftest.$ac_ext <<_ACEOF
4801/* end confdefs.h. */
4802#include <$ac_header>
4803_ACEOF
4804if { (ac_try="$ac_cpp conftest.$ac_ext"
4805case "(($ac_try" in
4806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4807 *) ac_try_echo=$ac_try;;
4808esac
4809eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4810 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4811 ac_status=$?
4812 grep -v '^ *+' conftest.er1 >conftest.err
4813 rm -f conftest.er1
4814 cat conftest.err >&5
4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816 (exit $ac_status); } >/dev/null && {
4817 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4818 test ! -s conftest.err
4819 }; then
4820 ac_header_preproc=yes
4821else
4822 echo "$as_me: failed program was:" >&5
4823sed 's/^/| /' conftest.$ac_ext >&5
4824
4825 ac_header_preproc=no
4826fi
4827
4828rm -f conftest.err conftest.$ac_ext
4829{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4830echo "${ECHO_T}$ac_header_preproc" >&6; }
4831
4832# So? What about this header?
4833case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4834 yes:no: )
4835 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4836echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4838echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4839 ac_header_preproc=yes
4840 ;;
4841 no:yes:* )
4842 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4843echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4844 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4845echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4846 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4847echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4848 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4849echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4851echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4852 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4853echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4854
4855 ;;
4856esac
4857{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4858echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4859if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4860 echo $ECHO_N "(cached) $ECHO_C" >&6
4861else
4862 eval "$as_ac_Header=\$ac_header_preproc"
4863fi
4864ac_res=`eval echo '${'$as_ac_Header'}'`
4865 { echo "$as_me:$LINENO: result: $ac_res" >&5
4866echo "${ECHO_T}$ac_res" >&6; }
4867
4868fi
4869if test `eval echo '${'$as_ac_Header'}'` = yes; then
4870 cat >>confdefs.h <<_ACEOF 4606 cat >>confdefs.h <<_ACEOF
4871#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4607#define HAVE_GL_GLU_H 1
4872_ACEOF 4608_ACEOF
4873 4609
4874 { echo "$as_me:$LINENO: checking for X" >&5 4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
4875echo $ECHO_N "checking for X... $ECHO_C" >&6; } 4611$as_echo_n "checking for X... " >&6; }
4876 4612
4877 4613
4878# Check whether --with-x was given. 4614# Check whether --with-x was given.
4879if test "${with_x+set}" = set; then 4615if test "${with_x+set}" = set; then :
4880 withval=$with_x; 4616 withval=$with_x;
4881fi 4617fi
4882 4618
4883# $have_x is `yes', `no', `disabled', or empty when we do not yet know. 4619# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4884if test "x$with_x" = xno; then 4620if test "x$with_x" = xno; then
4885 # The user explicitly disabled X. 4621 # The user explicitly disabled X.
4886 have_x=disabled 4622 have_x=disabled
4887else 4623else
4888 case $x_includes,$x_libraries in #( 4624 case $x_includes,$x_libraries in #(
4889 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 4625 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
4890echo "$as_me: error: Cannot use X directory names containing '" >&2;}
4891 { (exit 1); exit 1; }; };; #(
4892 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then 4626 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
4893 echo $ECHO_N "(cached) $ECHO_C" >&6 4627 $as_echo_n "(cached) " >&6
4894else 4628else
4895 # One or both of the vars are not set, and there is no cached value. 4629 # One or both of the vars are not set, and there is no cached value.
4896ac_x_includes=no ac_x_libraries=no 4630ac_x_includes=no ac_x_libraries=no
4897rm -f -r conftest.dir 4631rm -f -r conftest.dir
4898if mkdir conftest.dir; then 4632if mkdir conftest.dir; then
4904 @echo usrlibdir='${USRLIBDIR}' 4638 @echo usrlibdir='${USRLIBDIR}'
4905libdir: 4639libdir:
4906 @echo libdir='${LIBDIR}' 4640 @echo libdir='${LIBDIR}'
4907_ACEOF 4641_ACEOF
4908 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 4642 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
4909 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 4643 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4910 for ac_var in incroot usrlibdir libdir; do 4644 for ac_var in incroot usrlibdir libdir; do
4911 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 4645 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4912 done 4646 done
4913 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 4647 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4914 for ac_extension in a so sl; do 4648 for ac_extension in a so sl dylib la dll; do
4915 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && 4649 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4916 test -f "$ac_im_libdir/libX11.$ac_extension"; then 4650 test -f "$ac_im_libdir/libX11.$ac_extension"; then
4917 ac_im_usrlibdir=$ac_im_libdir; break 4651 ac_im_usrlibdir=$ac_im_libdir; break
4918 fi 4652 fi
4919 done 4653 done
4923 case $ac_im_incroot in 4657 case $ac_im_incroot in
4924 /usr/include) ac_x_includes= ;; 4658 /usr/include) ac_x_includes= ;;
4925 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; 4659 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4926 esac 4660 esac
4927 case $ac_im_usrlibdir in 4661 case $ac_im_usrlibdir in
4928 /usr/lib | /lib) ;; 4662 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
4929 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; 4663 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4930 esac 4664 esac
4931 fi 4665 fi
4932 cd .. 4666 cd ..
4933 rm -f -r conftest.dir 4667 rm -f -r conftest.dir
4935 4669
4936# Standard set of common directories for X headers. 4670# Standard set of common directories for X headers.
4937# Check X11 before X11Rn because it is often a symlink to the current release. 4671# Check X11 before X11Rn because it is often a symlink to the current release.
4938ac_x_header_dirs=' 4672ac_x_header_dirs='
4939/usr/X11/include 4673/usr/X11/include
4674/usr/X11R7/include
4940/usr/X11R6/include 4675/usr/X11R6/include
4941/usr/X11R5/include 4676/usr/X11R5/include
4942/usr/X11R4/include 4677/usr/X11R4/include
4943 4678
4944/usr/include/X11 4679/usr/include/X11
4680/usr/include/X11R7
4945/usr/include/X11R6 4681/usr/include/X11R6
4946/usr/include/X11R5 4682/usr/include/X11R5
4947/usr/include/X11R4 4683/usr/include/X11R4
4948 4684
4949/usr/local/X11/include 4685/usr/local/X11/include
4686/usr/local/X11R7/include
4950/usr/local/X11R6/include 4687/usr/local/X11R6/include
4951/usr/local/X11R5/include 4688/usr/local/X11R5/include
4952/usr/local/X11R4/include 4689/usr/local/X11R4/include
4953 4690
4954/usr/local/include/X11 4691/usr/local/include/X11
4692/usr/local/include/X11R7
4955/usr/local/include/X11R6 4693/usr/local/include/X11R6
4956/usr/local/include/X11R5 4694/usr/local/include/X11R5
4957/usr/local/include/X11R4 4695/usr/local/include/X11R4
4958 4696
4959/usr/X386/include 4697/usr/X386/include
4971/usr/openwin/share/include' 4709/usr/openwin/share/include'
4972 4710
4973if test "$ac_x_includes" = no; then 4711if test "$ac_x_includes" = no; then
4974 # Guess where to find include files, by looking for Xlib.h. 4712 # Guess where to find include files, by looking for Xlib.h.
4975 # First, try using that file with no special directory specified. 4713 # First, try using that file with no special directory specified.
4976 cat >conftest.$ac_ext <<_ACEOF
4977/* confdefs.h. */
4978_ACEOF
4979cat confdefs.h >>conftest.$ac_ext 4714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4980cat >>conftest.$ac_ext <<_ACEOF
4981/* end confdefs.h. */ 4715/* end confdefs.h. */
4982#include <X11/Xlib.h> 4716#include <X11/Xlib.h>
4983_ACEOF 4717_ACEOF
4984if { (ac_try="$ac_cpp conftest.$ac_ext" 4718if ac_fn_cxx_try_cpp "$LINENO"; then :
4985case "(($ac_try" in
4986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4987 *) ac_try_echo=$ac_try;;
4988esac
4989eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4990 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4991 ac_status=$?
4992 grep -v '^ *+' conftest.er1 >conftest.err
4993 rm -f conftest.er1
4994 cat conftest.err >&5
4995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4996 (exit $ac_status); } >/dev/null && {
4997 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4998 test ! -s conftest.err
4999 }; then
5000 # We can compile using X headers with no special include directory. 4719 # We can compile using X headers with no special include directory.
5001ac_x_includes= 4720ac_x_includes=
5002else 4721else
5003 echo "$as_me: failed program was:" >&5
5004sed 's/^/| /' conftest.$ac_ext >&5
5005
5006 for ac_dir in $ac_x_header_dirs; do 4722 for ac_dir in $ac_x_header_dirs; do
5007 if test -r "$ac_dir/X11/Xlib.h"; then 4723 if test -r "$ac_dir/X11/Xlib.h"; then
5008 ac_x_includes=$ac_dir 4724 ac_x_includes=$ac_dir
5009 break 4725 break
5010 fi 4726 fi
5011done 4727done
5012fi 4728fi
5013
5014rm -f conftest.err conftest.$ac_ext 4729rm -f conftest.err conftest.i conftest.$ac_ext
5015fi # $ac_x_includes = no 4730fi # $ac_x_includes = no
5016 4731
5017if test "$ac_x_libraries" = no; then 4732if test "$ac_x_libraries" = no; then
5018 # Check for the libraries. 4733 # Check for the libraries.
5019 # See if we find them without any special options. 4734 # See if we find them without any special options.
5020 # Don't add to $LIBS permanently. 4735 # Don't add to $LIBS permanently.
5021 ac_save_LIBS=$LIBS 4736 ac_save_LIBS=$LIBS
5022 LIBS="-lX11 $LIBS" 4737 LIBS="-lX11 $LIBS"
5023 cat >conftest.$ac_ext <<_ACEOF
5024/* confdefs.h. */
5025_ACEOF
5026cat confdefs.h >>conftest.$ac_ext 4738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5027cat >>conftest.$ac_ext <<_ACEOF
5028/* end confdefs.h. */ 4739/* end confdefs.h. */
5029#include <X11/Xlib.h> 4740#include <X11/Xlib.h>
5030int 4741int
5031main () 4742main ()
5032{ 4743{
5033XrmInitialize () 4744XrmInitialize ()
5034 ; 4745 ;
5035 return 0; 4746 return 0;
5036} 4747}
5037_ACEOF 4748_ACEOF
5038rm -f conftest.$ac_objext conftest$ac_exeext 4749if ac_fn_cxx_try_link "$LINENO"; then :
5039if { (ac_try="$ac_link"
5040case "(($ac_try" in
5041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5042 *) ac_try_echo=$ac_try;;
5043esac
5044eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5045 (eval "$ac_link") 2>conftest.er1
5046 ac_status=$?
5047 grep -v '^ *+' conftest.er1 >conftest.err
5048 rm -f conftest.er1
5049 cat conftest.err >&5
5050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051 (exit $ac_status); } && {
5052 test -z "$ac_cxx_werror_flag" ||
5053 test ! -s conftest.err
5054 } && test -s conftest$ac_exeext &&
5055 $as_test_x conftest$ac_exeext; then
5056 LIBS=$ac_save_LIBS 4750 LIBS=$ac_save_LIBS
5057# We can link X programs with no special library path. 4751# We can link X programs with no special library path.
5058ac_x_libraries= 4752ac_x_libraries=
5059else 4753else
5060 echo "$as_me: failed program was:" >&5
5061sed 's/^/| /' conftest.$ac_ext >&5
5062
5063 LIBS=$ac_save_LIBS 4754 LIBS=$ac_save_LIBS
5064for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 4755for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5065do 4756do
5066 # Don't even attempt the hair of trying to link an X program! 4757 # Don't even attempt the hair of trying to link an X program!
5067 for ac_extension in a so sl; do 4758 for ac_extension in a so sl dylib la dll; do
5068 if test -r "$ac_dir/libX11.$ac_extension"; then 4759 if test -r "$ac_dir/libX11.$ac_extension"; then
5069 ac_x_libraries=$ac_dir 4760 ac_x_libraries=$ac_dir
5070 break 2 4761 break 2
5071 fi 4762 fi
5072 done 4763 done
5073done 4764done
5074fi 4765fi
5075
5076rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4766rm -f core conftest.err conftest.$ac_objext \
5077 conftest$ac_exeext conftest.$ac_ext 4767 conftest$ac_exeext conftest.$ac_ext
5078fi # $ac_x_libraries = no 4768fi # $ac_x_libraries = no
5079 4769
5080case $ac_x_includes,$ac_x_libraries in #( 4770case $ac_x_includes,$ac_x_libraries in #(
5081 no,* | *,no | *\'*) 4771 no,* | *,no | *\'*)
5082 # Didn't find X, or a directory has "'" in its name. 4772 # Didn't find X, or a directory has "'" in its name.
5093 esac 4783 esac
5094 eval "$ac_cv_have_x" 4784 eval "$ac_cv_have_x"
5095fi # $with_x != no 4785fi # $with_x != no
5096 4786
5097if test "$have_x" != yes; then 4787if test "$have_x" != yes; then
5098 { echo "$as_me:$LINENO: result: $have_x" >&5 4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
5099echo "${ECHO_T}$have_x" >&6; } 4789$as_echo "$have_x" >&6; }
5100 no_x=yes 4790 no_x=yes
5101else 4791else
5102 # If each of the values was on the command line, it overrides each guess. 4792 # If each of the values was on the command line, it overrides each guess.
5103 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 4793 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5104 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 4794 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5105 # Update the cache value to reflect the command line values. 4795 # Update the cache value to reflect the command line values.
5106 ac_cv_have_x="have_x=yes\ 4796 ac_cv_have_x="have_x=yes\
5107 ac_x_includes='$x_includes'\ 4797 ac_x_includes='$x_includes'\
5108 ac_x_libraries='$x_libraries'" 4798 ac_x_libraries='$x_libraries'"
5109 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
5110echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; } 4800$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
5111fi 4801fi
5112 4802
5113 CPPFLAGS="$CPPFLAGS -I$x_includes" 4803 CPPFLAGS="$CPPFLAGS"
5114 LIBS="$LIBS -L$x_libraries -lX11" 4804 LIBS="$LIBS -lX11"
5115 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
5116echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; } 4806$as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
5117if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then 4807if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
5118 echo $ECHO_N "(cached) $ECHO_C" >&6 4808 $as_echo_n "(cached) " >&6
5119else 4809else
5120 ac_check_lib_save_LIBS=$LIBS 4810 ac_check_lib_save_LIBS=$LIBS
5121LIBS="-lXext $LIBS" 4811LIBS="-lXext $LIBS"
5122cat >conftest.$ac_ext <<_ACEOF
5123/* confdefs.h. */
5124_ACEOF
5125cat confdefs.h >>conftest.$ac_ext 4812cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5126cat >>conftest.$ac_ext <<_ACEOF
5127/* end confdefs.h. */ 4813/* end confdefs.h. */
5128 4814
5129/* Override any GCC internal prototype to avoid an error. 4815/* Override any GCC internal prototype to avoid an error.
5130 Use char because int might match the return type of a GCC 4816 Use char because int might match the return type of a GCC
5131 builtin and then its argument prototype would still apply. */ 4817 builtin and then its argument prototype would still apply. */
5139return XShapeQueryExtension (); 4825return XShapeQueryExtension ();
5140 ; 4826 ;
5141 return 0; 4827 return 0;
5142} 4828}
5143_ACEOF 4829_ACEOF
5144rm -f conftest.$ac_objext conftest$ac_exeext 4830if ac_fn_cxx_try_link "$LINENO"; then :
5145if { (ac_try="$ac_link"
5146case "(($ac_try" in
5147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5148 *) ac_try_echo=$ac_try;;
5149esac
5150eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5151 (eval "$ac_link") 2>conftest.er1
5152 ac_status=$?
5153 grep -v '^ *+' conftest.er1 >conftest.err
5154 rm -f conftest.er1
5155 cat conftest.err >&5
5156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5157 (exit $ac_status); } && {
5158 test -z "$ac_cxx_werror_flag" ||
5159 test ! -s conftest.err
5160 } && test -s conftest$ac_exeext &&
5161 $as_test_x conftest$ac_exeext; then
5162 ac_cv_lib_Xext_XShapeQueryExtension=yes 4831 ac_cv_lib_Xext_XShapeQueryExtension=yes
5163else 4832else
5164 echo "$as_me: failed program was:" >&5
5165sed 's/^/| /' conftest.$ac_ext >&5
5166
5167 ac_cv_lib_Xext_XShapeQueryExtension=no 4833 ac_cv_lib_Xext_XShapeQueryExtension=no
5168fi 4834fi
5169
5170rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4835rm -f core conftest.err conftest.$ac_objext \
5171 conftest$ac_exeext conftest.$ac_ext 4836 conftest$ac_exeext conftest.$ac_ext
5172LIBS=$ac_check_lib_save_LIBS 4837LIBS=$ac_check_lib_save_LIBS
5173fi 4838fi
5174{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 4839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
5175echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } 4840$as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
5176if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then 4841if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
5177 4842
5178 LIBS="$LIBS -lXext" 4843 LIBS="$LIBS -lXext"
5179 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5 4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
5180echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; } 4845$as_echo_n "checking for glBegin in -lGL... " >&6; }
5181if test "${ac_cv_lib_GL_glBegin+set}" = set; then 4846if ${ac_cv_lib_GL_glBegin+:} false; then :
5182 echo $ECHO_N "(cached) $ECHO_C" >&6 4847 $as_echo_n "(cached) " >&6
5183else 4848else
5184 ac_check_lib_save_LIBS=$LIBS 4849 ac_check_lib_save_LIBS=$LIBS
5185LIBS="-lGL $LIBS -lpthread $LIBS" 4850LIBS="-lGL $LIBS -lpthread $LIBS"
5186cat >conftest.$ac_ext <<_ACEOF
5187/* confdefs.h. */
5188_ACEOF
5189cat confdefs.h >>conftest.$ac_ext 4851cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5190cat >>conftest.$ac_ext <<_ACEOF
5191/* end confdefs.h. */ 4852/* end confdefs.h. */
5192 4853
5193/* Override any GCC internal prototype to avoid an error. 4854/* Override any GCC internal prototype to avoid an error.
5194 Use char because int might match the return type of a GCC 4855 Use char because int might match the return type of a GCC
5195 builtin and then its argument prototype would still apply. */ 4856 builtin and then its argument prototype would still apply. */
5203return glBegin (); 4864return glBegin ();
5204 ; 4865 ;
5205 return 0; 4866 return 0;
5206} 4867}
5207_ACEOF 4868_ACEOF
5208rm -f conftest.$ac_objext conftest$ac_exeext 4869if ac_fn_cxx_try_link "$LINENO"; then :
5209if { (ac_try="$ac_link"
5210case "(($ac_try" in
5211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5212 *) ac_try_echo=$ac_try;;
5213esac
5214eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5215 (eval "$ac_link") 2>conftest.er1
5216 ac_status=$?
5217 grep -v '^ *+' conftest.er1 >conftest.err
5218 rm -f conftest.er1
5219 cat conftest.err >&5
5220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5221 (exit $ac_status); } && {
5222 test -z "$ac_cxx_werror_flag" ||
5223 test ! -s conftest.err
5224 } && test -s conftest$ac_exeext &&
5225 $as_test_x conftest$ac_exeext; then
5226 ac_cv_lib_GL_glBegin=yes 4870 ac_cv_lib_GL_glBegin=yes
5227else 4871else
5228 echo "$as_me: failed program was:" >&5
5229sed 's/^/| /' conftest.$ac_ext >&5
5230
5231 ac_cv_lib_GL_glBegin=no 4872 ac_cv_lib_GL_glBegin=no
5232fi 4873fi
5233
5234rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4874rm -f core conftest.err conftest.$ac_objext \
5235 conftest$ac_exeext conftest.$ac_ext 4875 conftest$ac_exeext conftest.$ac_ext
5236LIBS=$ac_check_lib_save_LIBS 4876LIBS=$ac_check_lib_save_LIBS
5237fi 4877fi
5238{ echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5 4878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
5239echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; } 4879$as_echo "$ac_cv_lib_GL_glBegin" >&6; }
5240if test $ac_cv_lib_GL_glBegin = yes; then 4880if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
5241 4881
5242 { echo "$as_me:$LINENO: checking for gluCylinder in -lGLU" >&5 4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluCylinder in -lGLU" >&5
5243echo $ECHO_N "checking for gluCylinder in -lGLU... $ECHO_C" >&6; } 4883$as_echo_n "checking for gluCylinder in -lGLU... " >&6; }
5244if test "${ac_cv_lib_GLU_gluCylinder+set}" = set; then 4884if ${ac_cv_lib_GLU_gluCylinder+:} false; then :
5245 echo $ECHO_N "(cached) $ECHO_C" >&6 4885 $as_echo_n "(cached) " >&6
5246else 4886else
5247 ac_check_lib_save_LIBS=$LIBS 4887 ac_check_lib_save_LIBS=$LIBS
5248LIBS="-lGLU $LIBS -lGL -lpthread $LIBS" 4888LIBS="-lGLU $LIBS -lGL -lpthread $LIBS"
5249cat >conftest.$ac_ext <<_ACEOF
5250/* confdefs.h. */
5251_ACEOF
5252cat confdefs.h >>conftest.$ac_ext 4889cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5253cat >>conftest.$ac_ext <<_ACEOF
5254/* end confdefs.h. */ 4890/* end confdefs.h. */
5255 4891
5256/* Override any GCC internal prototype to avoid an error. 4892/* Override any GCC internal prototype to avoid an error.
5257 Use char because int might match the return type of a GCC 4893 Use char because int might match the return type of a GCC
5258 builtin and then its argument prototype would still apply. */ 4894 builtin and then its argument prototype would still apply. */
5266return gluCylinder (); 4902return gluCylinder ();
5267 ; 4903 ;
5268 return 0; 4904 return 0;
5269} 4905}
5270_ACEOF 4906_ACEOF
5271rm -f conftest.$ac_objext conftest$ac_exeext 4907if ac_fn_cxx_try_link "$LINENO"; then :
5272if { (ac_try="$ac_link"
5273case "(($ac_try" in
5274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5275 *) ac_try_echo=$ac_try;;
5276esac
5277eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5278 (eval "$ac_link") 2>conftest.er1
5279 ac_status=$?
5280 grep -v '^ *+' conftest.er1 >conftest.err
5281 rm -f conftest.er1
5282 cat conftest.err >&5
5283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284 (exit $ac_status); } && {
5285 test -z "$ac_cxx_werror_flag" ||
5286 test ! -s conftest.err
5287 } && test -s conftest$ac_exeext &&
5288 $as_test_x conftest$ac_exeext; then
5289 ac_cv_lib_GLU_gluCylinder=yes 4908 ac_cv_lib_GLU_gluCylinder=yes
5290else 4909else
5291 echo "$as_me: failed program was:" >&5
5292sed 's/^/| /' conftest.$ac_ext >&5
5293
5294 ac_cv_lib_GLU_gluCylinder=no 4910 ac_cv_lib_GLU_gluCylinder=no
5295fi 4911fi
5296
5297rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4912rm -f core conftest.err conftest.$ac_objext \
5298 conftest$ac_exeext conftest.$ac_ext 4913 conftest$ac_exeext conftest.$ac_ext
5299LIBS=$ac_check_lib_save_LIBS 4914LIBS=$ac_check_lib_save_LIBS
5300fi 4915fi
5301{ echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluCylinder" >&5 4916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluCylinder" >&5
5302echo "${ECHO_T}$ac_cv_lib_GLU_gluCylinder" >&6; } 4917$as_echo "$ac_cv_lib_GLU_gluCylinder" >&6; }
5303if test $ac_cv_lib_GLU_gluCylinder = yes; then 4918if test "x$ac_cv_lib_GLU_gluCylinder" = xyes; then :
5304 4919
5305 LIBS="$LIBS -lGL -lGLU -lpthread" 4920 LIBS="$LIBS -lGL -lGLU -lpthread"
5306 have_gl=1 4921 have_gl=1
5307 4922
5308fi 4923fi
5309 4924
5310 4925
5311fi 4926fi
5312 4927
5313 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
5314echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 4929$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
5315if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 4930if ${ac_cv_lib_pthread_pthread_create+:} false; then :
5316 echo $ECHO_N "(cached) $ECHO_C" >&6 4931 $as_echo_n "(cached) " >&6
5317else 4932else
5318 ac_check_lib_save_LIBS=$LIBS 4933 ac_check_lib_save_LIBS=$LIBS
5319LIBS="-lpthread $LIBS" 4934LIBS="-lpthread $LIBS"
5320cat >conftest.$ac_ext <<_ACEOF
5321/* confdefs.h. */
5322_ACEOF
5323cat confdefs.h >>conftest.$ac_ext 4935cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5324cat >>conftest.$ac_ext <<_ACEOF
5325/* end confdefs.h. */ 4936/* end confdefs.h. */
5326 4937
5327/* Override any GCC internal prototype to avoid an error. 4938/* Override any GCC internal prototype to avoid an error.
5328 Use char because int might match the return type of a GCC 4939 Use char because int might match the return type of a GCC
5329 builtin and then its argument prototype would still apply. */ 4940 builtin and then its argument prototype would still apply. */
5337return pthread_create (); 4948return pthread_create ();
5338 ; 4949 ;
5339 return 0; 4950 return 0;
5340} 4951}
5341_ACEOF 4952_ACEOF
5342rm -f conftest.$ac_objext conftest$ac_exeext 4953if ac_fn_cxx_try_link "$LINENO"; then :
5343if { (ac_try="$ac_link"
5344case "(($ac_try" in
5345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5346 *) ac_try_echo=$ac_try;;
5347esac
5348eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5349 (eval "$ac_link") 2>conftest.er1
5350 ac_status=$?
5351 grep -v '^ *+' conftest.er1 >conftest.err
5352 rm -f conftest.er1
5353 cat conftest.err >&5
5354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5355 (exit $ac_status); } && {
5356 test -z "$ac_cxx_werror_flag" ||
5357 test ! -s conftest.err
5358 } && test -s conftest$ac_exeext &&
5359 $as_test_x conftest$ac_exeext; then
5360 ac_cv_lib_pthread_pthread_create=yes 4954 ac_cv_lib_pthread_pthread_create=yes
5361else 4955else
5362 echo "$as_me: failed program was:" >&5
5363sed 's/^/| /' conftest.$ac_ext >&5
5364
5365 ac_cv_lib_pthread_pthread_create=no 4956 ac_cv_lib_pthread_pthread_create=no
5366fi 4957fi
5367
5368rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4958rm -f core conftest.err conftest.$ac_objext \
5369 conftest$ac_exeext conftest.$ac_ext 4959 conftest$ac_exeext conftest.$ac_ext
5370LIBS=$ac_check_lib_save_LIBS 4960LIBS=$ac_check_lib_save_LIBS
5371fi 4961fi
5372{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 4962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
5373echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } 4963$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
5374if test $ac_cv_lib_pthread_pthread_create = yes; then 4964if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
5375 PTHREAD=-lpthread 4965 PTHREAD=-lpthread
5376fi 4966fi
5377 4967
5378 if test -z "$have_gl" ; then 4968 if test -z "$have_gl" ; then
5379 { echo "$as_me:$LINENO: checking for glBegin in -lMesaGL" >&5 4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lMesaGL" >&5
5380echo $ECHO_N "checking for glBegin in -lMesaGL... $ECHO_C" >&6; } 4970$as_echo_n "checking for glBegin in -lMesaGL... " >&6; }
5381if test "${ac_cv_lib_MesaGL_glBegin+set}" = set; then 4971if ${ac_cv_lib_MesaGL_glBegin+:} false; then :
5382 echo $ECHO_N "(cached) $ECHO_C" >&6 4972 $as_echo_n "(cached) " >&6
5383else 4973else
5384 ac_check_lib_save_LIBS=$LIBS 4974 ac_check_lib_save_LIBS=$LIBS
5385LIBS="-lMesaGL $PTHREAD $LIBS" 4975LIBS="-lMesaGL $PTHREAD $LIBS"
5386cat >conftest.$ac_ext <<_ACEOF
5387/* confdefs.h. */
5388_ACEOF
5389cat confdefs.h >>conftest.$ac_ext 4976cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5390cat >>conftest.$ac_ext <<_ACEOF
5391/* end confdefs.h. */ 4977/* end confdefs.h. */
5392 4978
5393/* Override any GCC internal prototype to avoid an error. 4979/* Override any GCC internal prototype to avoid an error.
5394 Use char because int might match the return type of a GCC 4980 Use char because int might match the return type of a GCC
5395 builtin and then its argument prototype would still apply. */ 4981 builtin and then its argument prototype would still apply. */
5403return glBegin (); 4989return glBegin ();
5404 ; 4990 ;
5405 return 0; 4991 return 0;
5406} 4992}
5407_ACEOF 4993_ACEOF
5408rm -f conftest.$ac_objext conftest$ac_exeext 4994if ac_fn_cxx_try_link "$LINENO"; then :
5409if { (ac_try="$ac_link"
5410case "(($ac_try" in
5411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5412 *) ac_try_echo=$ac_try;;
5413esac
5414eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5415 (eval "$ac_link") 2>conftest.er1
5416 ac_status=$?
5417 grep -v '^ *+' conftest.er1 >conftest.err
5418 rm -f conftest.er1
5419 cat conftest.err >&5
5420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5421 (exit $ac_status); } && {
5422 test -z "$ac_cxx_werror_flag" ||
5423 test ! -s conftest.err
5424 } && test -s conftest$ac_exeext &&
5425 $as_test_x conftest$ac_exeext; then
5426 ac_cv_lib_MesaGL_glBegin=yes 4995 ac_cv_lib_MesaGL_glBegin=yes
5427else 4996else
5428 echo "$as_me: failed program was:" >&5
5429sed 's/^/| /' conftest.$ac_ext >&5
5430
5431 ac_cv_lib_MesaGL_glBegin=no 4997 ac_cv_lib_MesaGL_glBegin=no
5432fi 4998fi
5433
5434rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4999rm -f core conftest.err conftest.$ac_objext \
5435 conftest$ac_exeext conftest.$ac_ext 5000 conftest$ac_exeext conftest.$ac_ext
5436LIBS=$ac_check_lib_save_LIBS 5001LIBS=$ac_check_lib_save_LIBS
5437fi 5002fi
5438{ echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glBegin" >&5 5003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glBegin" >&5
5439echo "${ECHO_T}$ac_cv_lib_MesaGL_glBegin" >&6; } 5004$as_echo "$ac_cv_lib_MesaGL_glBegin" >&6; }
5440if test $ac_cv_lib_MesaGL_glBegin = yes; then 5005if test "x$ac_cv_lib_MesaGL_glBegin" = xyes; then :
5441 5006
5442 { echo "$as_me:$LINENO: checking for gluCylinder in -lMesaGLU" >&5 5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluCylinder in -lMesaGLU" >&5
5443echo $ECHO_N "checking for gluCylinder in -lMesaGLU... $ECHO_C" >&6; } 5008$as_echo_n "checking for gluCylinder in -lMesaGLU... " >&6; }
5444if test "${ac_cv_lib_MesaGLU_gluCylinder+set}" = set; then 5009if ${ac_cv_lib_MesaGLU_gluCylinder+:} false; then :
5445 echo $ECHO_N "(cached) $ECHO_C" >&6 5010 $as_echo_n "(cached) " >&6
5446else 5011else
5447 ac_check_lib_save_LIBS=$LIBS 5012 ac_check_lib_save_LIBS=$LIBS
5448LIBS="-lMesaGLU -lMesaGL $PTHREAD $LIBS" 5013LIBS="-lMesaGLU -lMesaGL $PTHREAD $LIBS"
5449cat >conftest.$ac_ext <<_ACEOF
5450/* confdefs.h. */
5451_ACEOF
5452cat confdefs.h >>conftest.$ac_ext 5014cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5453cat >>conftest.$ac_ext <<_ACEOF
5454/* end confdefs.h. */ 5015/* end confdefs.h. */
5455 5016
5456/* Override any GCC internal prototype to avoid an error. 5017/* Override any GCC internal prototype to avoid an error.
5457 Use char because int might match the return type of a GCC 5018 Use char because int might match the return type of a GCC
5458 builtin and then its argument prototype would still apply. */ 5019 builtin and then its argument prototype would still apply. */
5466return gluCylinder (); 5027return gluCylinder ();
5467 ; 5028 ;
5468 return 0; 5029 return 0;
5469} 5030}
5470_ACEOF 5031_ACEOF
5471rm -f conftest.$ac_objext conftest$ac_exeext 5032if ac_fn_cxx_try_link "$LINENO"; then :
5472if { (ac_try="$ac_link"
5473case "(($ac_try" in
5474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5475 *) ac_try_echo=$ac_try;;
5476esac
5477eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5478 (eval "$ac_link") 2>conftest.er1
5479 ac_status=$?
5480 grep -v '^ *+' conftest.er1 >conftest.err
5481 rm -f conftest.er1
5482 cat conftest.err >&5
5483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5484 (exit $ac_status); } && {
5485 test -z "$ac_cxx_werror_flag" ||
5486 test ! -s conftest.err
5487 } && test -s conftest$ac_exeext &&
5488 $as_test_x conftest$ac_exeext; then
5489 ac_cv_lib_MesaGLU_gluCylinder=yes 5033 ac_cv_lib_MesaGLU_gluCylinder=yes
5490else 5034else
5491 echo "$as_me: failed program was:" >&5
5492sed 's/^/| /' conftest.$ac_ext >&5
5493
5494 ac_cv_lib_MesaGLU_gluCylinder=no 5035 ac_cv_lib_MesaGLU_gluCylinder=no
5495fi 5036fi
5496
5497rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5037rm -f core conftest.err conftest.$ac_objext \
5498 conftest$ac_exeext conftest.$ac_ext 5038 conftest$ac_exeext conftest.$ac_ext
5499LIBS=$ac_check_lib_save_LIBS 5039LIBS=$ac_check_lib_save_LIBS
5500fi 5040fi
5501{ echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGLU_gluCylinder" >&5 5041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGLU_gluCylinder" >&5
5502echo "${ECHO_T}$ac_cv_lib_MesaGLU_gluCylinder" >&6; } 5042$as_echo "$ac_cv_lib_MesaGLU_gluCylinder" >&6; }
5503if test $ac_cv_lib_MesaGLU_gluCylinder = yes; then 5043if test "x$ac_cv_lib_MesaGLU_gluCylinder" = xyes; then :
5504 5044
5505 LIBS="$LIBS -lMesaGL -lMesaGLU" 5045 LIBS="$LIBS -lMesaGL -lMesaGLU"
5506 have_gl=1 5046 have_gl=1
5507 if test -n "$PTHREAD" ; then 5047 if test -n "$PTHREAD" ; then
5508 { echo "$as_me:$LINENO: checking wether mesa requires $PTHREAD" >&5 5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking wether mesa requires $PTHREAD" >&5
5509echo $ECHO_N "checking wether mesa requires $PTHREAD... $ECHO_C" >&6; } 5049$as_echo_n "checking wether mesa requires $PTHREAD... " >&6; }
5510 cat >conftest.$ac_ext <<_ACEOF 5050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5511/* confdefs.h. */
5512_ACEOF
5513cat confdefs.h >>conftest.$ac_ext
5514cat >>conftest.$ac_ext <<_ACEOF
5515/* end confdefs.h. */ 5051/* end confdefs.h. */
5516 5052
5517int 5053int
5518main () 5054main ()
5519{ 5055{
5520glBegin() 5056glBegin()
5521 ; 5057 ;
5522 return 0; 5058 return 0;
5523} 5059}
5524_ACEOF 5060_ACEOF
5525rm -f conftest.$ac_objext conftest$ac_exeext 5061if ac_fn_cxx_try_link "$LINENO"; then :
5526if { (ac_try="$ac_link"
5527case "(($ac_try" in
5528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5529 *) ac_try_echo=$ac_try;;
5530esac
5531eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5532 (eval "$ac_link") 2>conftest.er1
5533 ac_status=$?
5534 grep -v '^ *+' conftest.er1 >conftest.err
5535 rm -f conftest.er1
5536 cat conftest.err >&5
5537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5538 (exit $ac_status); } && {
5539 test -z "$ac_cxx_werror_flag" ||
5540 test ! -s conftest.err
5541 } && test -s conftest$ac_exeext &&
5542 $as_test_x conftest$ac_exeext; then
5543 { echo "$as_me:$LINENO: result: no" >&5 5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5544echo "${ECHO_T}no" >&6; } 5063$as_echo "no" >&6; }
5545else 5064else
5546 echo "$as_me: failed program was:" >&5
5547sed 's/^/| /' conftest.$ac_ext >&5
5548
5549 { echo "$as_me:$LINENO: result: yes" >&5 5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5550echo "${ECHO_T}yes" >&6; } 5066$as_echo "yes" >&6; }
5551 LIBS="$LIBS $PTHREAD" 5067 LIBS="$LIBS $PTHREAD"
5552fi 5068fi
5553
5554rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5069rm -f core conftest.err conftest.$ac_objext \
5555 conftest$ac_exeext conftest.$ac_ext 5070 conftest$ac_exeext conftest.$ac_ext
5556 fi 5071 fi
5557 5072
5558fi 5073fi
5559 5074
5560 5075
5573fi 5088fi
5574 5089
5575done 5090done
5576 5091
5577 5092
5578{ echo "$as_me:$LINENO: checking for opengl support" >&5 5093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for opengl support" >&5
5579echo $ECHO_N "checking for opengl support... $ECHO_C" >&6; } 5094$as_echo_n "checking for opengl support... " >&6; }
5580if test -n "$have_gl" ; then 5095if test -n "$have_gl" ; then
5581 { echo "$as_me:$LINENO: result: yes" >&5 5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5582echo "${ECHO_T}yes" >&6; } 5097$as_echo "yes" >&6; }
5583 5098
5584cat >>confdefs.h <<\_ACEOF 5099$as_echo "#define HAVE_OPENGL 1" >>confdefs.h
5585#define HAVE_OPENGL 1
5586_ACEOF
5587 5100
5588else 5101else
5589 { echo "$as_me:$LINENO: result: no" >&5 5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5590echo "${ECHO_T}no" >&6; } 5103$as_echo "no" >&6; }
5591fi 5104fi
5592
5593
5594
5595
5596
5597
5598
5599 5105
5600for ac_header in vector algorithm queue map string cstring cmath 5106for ac_header in vector algorithm queue map string cstring cmath
5601do 5107do :
5602as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5108 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5603if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5109ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5604 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5110if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5605echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5606if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5607 echo $ECHO_N "(cached) $ECHO_C" >&6
5608fi
5609ac_res=`eval echo '${'$as_ac_Header'}'`
5610 { echo "$as_me:$LINENO: result: $ac_res" >&5
5611echo "${ECHO_T}$ac_res" >&6; }
5612else
5613 # Is the header compilable?
5614{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5615echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5616cat >conftest.$ac_ext <<_ACEOF
5617/* confdefs.h. */
5618_ACEOF
5619cat confdefs.h >>conftest.$ac_ext
5620cat >>conftest.$ac_ext <<_ACEOF
5621/* end confdefs.h. */
5622$ac_includes_default
5623#include <$ac_header>
5624_ACEOF
5625rm -f conftest.$ac_objext
5626if { (ac_try="$ac_compile"
5627case "(($ac_try" in
5628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5629 *) ac_try_echo=$ac_try;;
5630esac
5631eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5632 (eval "$ac_compile") 2>conftest.er1
5633 ac_status=$?
5634 grep -v '^ *+' conftest.er1 >conftest.err
5635 rm -f conftest.er1
5636 cat conftest.err >&5
5637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5638 (exit $ac_status); } && {
5639 test -z "$ac_cxx_werror_flag" ||
5640 test ! -s conftest.err
5641 } && test -s conftest.$ac_objext; then
5642 ac_header_compiler=yes
5643else
5644 echo "$as_me: failed program was:" >&5
5645sed 's/^/| /' conftest.$ac_ext >&5
5646
5647 ac_header_compiler=no
5648fi
5649
5650rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5651{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5652echo "${ECHO_T}$ac_header_compiler" >&6; }
5653
5654# Is the header present?
5655{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5656echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5657cat >conftest.$ac_ext <<_ACEOF
5658/* confdefs.h. */
5659_ACEOF
5660cat confdefs.h >>conftest.$ac_ext
5661cat >>conftest.$ac_ext <<_ACEOF
5662/* end confdefs.h. */
5663#include <$ac_header>
5664_ACEOF
5665if { (ac_try="$ac_cpp conftest.$ac_ext"
5666case "(($ac_try" in
5667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5668 *) ac_try_echo=$ac_try;;
5669esac
5670eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5671 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5672 ac_status=$?
5673 grep -v '^ *+' conftest.er1 >conftest.err
5674 rm -f conftest.er1
5675 cat conftest.err >&5
5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677 (exit $ac_status); } >/dev/null && {
5678 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5679 test ! -s conftest.err
5680 }; then
5681 ac_header_preproc=yes
5682else
5683 echo "$as_me: failed program was:" >&5
5684sed 's/^/| /' conftest.$ac_ext >&5
5685
5686 ac_header_preproc=no
5687fi
5688
5689rm -f conftest.err conftest.$ac_ext
5690{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5691echo "${ECHO_T}$ac_header_preproc" >&6; }
5692
5693# So? What about this header?
5694case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5695 yes:no: )
5696 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5697echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5698 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5699echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5700 ac_header_preproc=yes
5701 ;;
5702 no:yes:* )
5703 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5704echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5705 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5706echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5707 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5708echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5709 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5710echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5711 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5712echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5713 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5714echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5715
5716 ;;
5717esac
5718{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5719echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5720if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5721 echo $ECHO_N "(cached) $ECHO_C" >&6
5722else
5723 eval "$as_ac_Header=\$ac_header_preproc"
5724fi
5725ac_res=`eval echo '${'$as_ac_Header'}'`
5726 { echo "$as_me:$LINENO: result: $ac_res" >&5
5727echo "${ECHO_T}$ac_res" >&6; }
5728
5729fi
5730if test `eval echo '${'$as_ac_Header'}'` = yes; then
5731 cat >>confdefs.h <<_ACEOF 5111 cat >>confdefs.h <<_ACEOF
5732#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5112#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5733_ACEOF 5113_ACEOF
5734 5114
5735fi 5115fi
5736 5116
5737done 5117done
5738 5118
5739 5119
5740# Extract the first word of "antlr", so it can be a program name with args. 5120# Extract the first word of "antlr", so it can be a program name with args.
5741set dummy antlr; ac_word=$2 5121set dummy antlr; ac_word=$2
5742{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5743echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5123$as_echo_n "checking for $ac_word... " >&6; }
5744if test "${ac_cv_path_ANTLR+set}" = set; then 5124if ${ac_cv_path_ANTLR+:} false; then :
5745 echo $ECHO_N "(cached) $ECHO_C" >&6 5125 $as_echo_n "(cached) " >&6
5746else 5126else
5747 case $ANTLR in 5127 case $ANTLR in
5748 [\\/]* | ?:[\\/]*) 5128 [\\/]* | ?:[\\/]*)
5749 ac_cv_path_ANTLR="$ANTLR" # Let the user override the test with a path. 5129 ac_cv_path_ANTLR="$ANTLR" # Let the user override the test with a path.
5750 ;; 5130 ;;
5752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5753for as_dir in $PATH 5133for as_dir in $PATH
5754do 5134do
5755 IFS=$as_save_IFS 5135 IFS=$as_save_IFS
5756 test -z "$as_dir" && as_dir=. 5136 test -z "$as_dir" && as_dir=.
5757 for ac_exec_ext in '' $ac_executable_extensions; do 5137 for ac_exec_ext in '' $ac_executable_extensions; do
5758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5759 ac_cv_path_ANTLR="$as_dir/$ac_word$ac_exec_ext" 5139 ac_cv_path_ANTLR="$as_dir/$ac_word$ac_exec_ext"
5760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5761 break 2 5141 break 2
5762 fi 5142 fi
5763done 5143done
5764done 5144 done
5765IFS=$as_save_IFS 5145IFS=$as_save_IFS
5766 5146
5767 ;; 5147 ;;
5768esac 5148esac
5769fi 5149fi
5770ANTLR=$ac_cv_path_ANTLR 5150ANTLR=$ac_cv_path_ANTLR
5771if test -n "$ANTLR"; then 5151if test -n "$ANTLR"; then
5772 { echo "$as_me:$LINENO: result: $ANTLR" >&5 5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR" >&5
5773echo "${ECHO_T}$ANTLR" >&6; } 5153$as_echo "$ANTLR" >&6; }
5774else 5154else
5775 { echo "$as_me:$LINENO: result: no" >&5 5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5776echo "${ECHO_T}no" >&6; } 5156$as_echo "no" >&6; }
5777fi 5157fi
5778 5158
5779 5159
5780if test -n "$ANTLR" ; then 5160if test -n "$ANTLR" ; then
5781 { echo "$as_me:$LINENO: checking antlr version" >&5 5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking antlr version" >&5
5782echo $ECHO_N "checking antlr version... $ECHO_C" >&6; } 5162$as_echo_n "checking antlr version... " >&6; }
5783 ANTLR_VER=`$ANTLR 2>&1 | grep Version | sed -e 's/^.*Version \\([0-9MR.]\\+\\) .*$/\1/'` 5163 ANTLR_VER=`$ANTLR 2>&1 | grep Version | sed -e 's/^.*Version \\([0-9MR.]\\+\\) .*$/\1/'`
5784 if test "$ANTLR_VER" = "1.33MR33" ; then 5164 if test "$ANTLR_VER" = "1.33MR33" ; then
5785 { echo "$as_me:$LINENO: result: $ANTLR_VER, ok" >&5 5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_VER, ok" >&5
5786echo "${ECHO_T}$ANTLR_VER, ok" >&6; } 5166$as_echo "$ANTLR_VER, ok" >&6; }
5787 # Extract the first word of "dlg", so it can be a program name with args. 5167 # Extract the first word of "dlg", so it can be a program name with args.
5788set dummy dlg; ac_word=$2 5168set dummy dlg; ac_word=$2
5789{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5790echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5170$as_echo_n "checking for $ac_word... " >&6; }
5791if test "${ac_cv_path_DLG+set}" = set; then 5171if ${ac_cv_path_DLG+:} false; then :
5792 echo $ECHO_N "(cached) $ECHO_C" >&6 5172 $as_echo_n "(cached) " >&6
5793else 5173else
5794 case $DLG in 5174 case $DLG in
5795 [\\/]* | ?:[\\/]*) 5175 [\\/]* | ?:[\\/]*)
5796 ac_cv_path_DLG="$DLG" # Let the user override the test with a path. 5176 ac_cv_path_DLG="$DLG" # Let the user override the test with a path.
5797 ;; 5177 ;;
5799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5800for as_dir in $PATH 5180for as_dir in $PATH
5801do 5181do
5802 IFS=$as_save_IFS 5182 IFS=$as_save_IFS
5803 test -z "$as_dir" && as_dir=. 5183 test -z "$as_dir" && as_dir=.
5804 for ac_exec_ext in '' $ac_executable_extensions; do 5184 for ac_exec_ext in '' $ac_executable_extensions; do
5805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5806 ac_cv_path_DLG="$as_dir/$ac_word$ac_exec_ext" 5186 ac_cv_path_DLG="$as_dir/$ac_word$ac_exec_ext"
5807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5808 break 2 5188 break 2
5809 fi 5189 fi
5810done 5190done
5811done 5191 done
5812IFS=$as_save_IFS 5192IFS=$as_save_IFS
5813 5193
5814 ;; 5194 ;;
5815esac 5195esac
5816fi 5196fi
5817DLG=$ac_cv_path_DLG 5197DLG=$ac_cv_path_DLG
5818if test -n "$DLG"; then 5198if test -n "$DLG"; then
5819 { echo "$as_me:$LINENO: result: $DLG" >&5 5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLG" >&5
5820echo "${ECHO_T}$DLG" >&6; } 5200$as_echo "$DLG" >&6; }
5821else 5201else
5822 { echo "$as_me:$LINENO: result: no" >&5 5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5823echo "${ECHO_T}no" >&6; } 5203$as_echo "no" >&6; }
5824fi 5204fi
5825 5205
5826 5206
5827 if test -n "$DLG" ; then 5207 if test -n "$DLG" ; then
5828 { echo "$as_me:$LINENO: checking dlg version" >&5 5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dlg version" >&5
5829echo $ECHO_N "checking dlg version... $ECHO_C" >&6; } 5209$as_echo_n "checking dlg version... " >&6; }
5830 DLG_VER=`$DLG 2>&1 | grep Version | sed -e 's/^.*Version \([0-9MR.]\+\) .*$/\1/'` 5210 DLG_VER=`$DLG 2>&1 | grep Version | sed -e 's/^.*Version \([0-9MR.]\+\) .*$/\1/'`
5831 if test "$DLG_VER" = "1.33MR33" ; then 5211 if test "$DLG_VER" = "1.33MR33" ; then
5832 { echo "$as_me:$LINENO: result: $DLG_VER, ok" >&5 5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLG_VER, ok" >&5
5833echo "${ECHO_T}$DLG_VER, ok" >&6; } 5213$as_echo "$DLG_VER, ok" >&6; }
5834 HAVE_PCCTS=1 5214 HAVE_PCCTS=1
5835 else 5215 else
5836 { echo "$as_me:$LINENO: result: $DLG_VER, but need 1.33MR33" >&5 5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLG_VER, but need 1.33MR33" >&5
5837echo "${ECHO_T}$DLG_VER, but need 1.33MR33" >&6; } 5217$as_echo "$DLG_VER, but need 1.33MR33" >&6; }
5838 fi 5218 fi
5839 fi 5219 fi
5840 else 5220 else
5841 { echo "$as_me:$LINENO: result: $ANTLR_VER, but need 1.33MR33" >&5 5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_VER, but need 1.33MR33" >&5
5842echo "${ECHO_T}$ANTLR_VER, but need 1.33MR33" >&6; } 5222$as_echo "$ANTLR_VER, but need 1.33MR33" >&6; }
5843 fi 5223 fi
5844fi 5224fi
5845 5225
5846
5847
5848if test -n "$HAVE_PCCTS"; then 5226 if test -n "$HAVE_PCCTS"; then
5849 HAVE_PCCTS_TRUE= 5227 HAVE_PCCTS_TRUE=
5850 HAVE_PCCTS_FALSE='#' 5228 HAVE_PCCTS_FALSE='#'
5851else 5229else
5852 HAVE_PCCTS_TRUE='#' 5230 HAVE_PCCTS_TRUE='#'
5853 HAVE_PCCTS_FALSE= 5231 HAVE_PCCTS_FALSE=
5854fi 5232fi
5855 5233
5856 5234
5857
5858for ac_header in getopt.h 5235for ac_header in getopt.h
5859do 5236do :
5860as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5237 ac_fn_cxx_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
5861if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5238if test "x$ac_cv_header_getopt_h" = xyes; then :
5862 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5863echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5864if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5865 echo $ECHO_N "(cached) $ECHO_C" >&6
5866fi
5867ac_res=`eval echo '${'$as_ac_Header'}'`
5868 { echo "$as_me:$LINENO: result: $ac_res" >&5
5869echo "${ECHO_T}$ac_res" >&6; }
5870else
5871 # Is the header compilable?
5872{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5873echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5874cat >conftest.$ac_ext <<_ACEOF
5875/* confdefs.h. */
5876_ACEOF
5877cat confdefs.h >>conftest.$ac_ext
5878cat >>conftest.$ac_ext <<_ACEOF
5879/* end confdefs.h. */
5880$ac_includes_default
5881#include <$ac_header>
5882_ACEOF
5883rm -f conftest.$ac_objext
5884if { (ac_try="$ac_compile"
5885case "(($ac_try" in
5886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5887 *) ac_try_echo=$ac_try;;
5888esac
5889eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5890 (eval "$ac_compile") 2>conftest.er1
5891 ac_status=$?
5892 grep -v '^ *+' conftest.er1 >conftest.err
5893 rm -f conftest.er1
5894 cat conftest.err >&5
5895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5896 (exit $ac_status); } && {
5897 test -z "$ac_cxx_werror_flag" ||
5898 test ! -s conftest.err
5899 } && test -s conftest.$ac_objext; then
5900 ac_header_compiler=yes
5901else
5902 echo "$as_me: failed program was:" >&5
5903sed 's/^/| /' conftest.$ac_ext >&5
5904
5905 ac_header_compiler=no
5906fi
5907
5908rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5909{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5910echo "${ECHO_T}$ac_header_compiler" >&6; }
5911
5912# Is the header present?
5913{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5914echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5915cat >conftest.$ac_ext <<_ACEOF
5916/* confdefs.h. */
5917_ACEOF
5918cat confdefs.h >>conftest.$ac_ext
5919cat >>conftest.$ac_ext <<_ACEOF
5920/* end confdefs.h. */
5921#include <$ac_header>
5922_ACEOF
5923if { (ac_try="$ac_cpp conftest.$ac_ext"
5924case "(($ac_try" in
5925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5926 *) ac_try_echo=$ac_try;;
5927esac
5928eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5929 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5930 ac_status=$?
5931 grep -v '^ *+' conftest.er1 >conftest.err
5932 rm -f conftest.er1
5933 cat conftest.err >&5
5934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5935 (exit $ac_status); } >/dev/null && {
5936 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5937 test ! -s conftest.err
5938 }; then
5939 ac_header_preproc=yes
5940else
5941 echo "$as_me: failed program was:" >&5
5942sed 's/^/| /' conftest.$ac_ext >&5
5943
5944 ac_header_preproc=no
5945fi
5946
5947rm -f conftest.err conftest.$ac_ext
5948{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5949echo "${ECHO_T}$ac_header_preproc" >&6; }
5950
5951# So? What about this header?
5952case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5953 yes:no: )
5954 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5955echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5956 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5957echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5958 ac_header_preproc=yes
5959 ;;
5960 no:yes:* )
5961 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5962echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5963 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5964echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5965 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5966echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5967 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5968echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5969 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5970echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5971 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5972echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5973
5974 ;;
5975esac
5976{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5977echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5978if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5979 echo $ECHO_N "(cached) $ECHO_C" >&6
5980else
5981 eval "$as_ac_Header=\$ac_header_preproc"
5982fi
5983ac_res=`eval echo '${'$as_ac_Header'}'`
5984 { echo "$as_me:$LINENO: result: $ac_res" >&5
5985echo "${ECHO_T}$ac_res" >&6; }
5986
5987fi
5988if test `eval echo '${'$as_ac_Header'}'` = yes; then
5989 cat >>confdefs.h <<_ACEOF 5239 cat >>confdefs.h <<_ACEOF
5990#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5240#define HAVE_GETOPT_H 1
5991_ACEOF 5241_ACEOF
5992 5242
5993fi 5243fi
5994 5244
5995done 5245done
5996 5246
5997
5998for ac_func in getopt_long 5247for ac_func in getopt_long
5999do 5248do :
6000as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5249 ac_fn_cxx_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
6001{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5250if test "x$ac_cv_func_getopt_long" = xyes; then :
6002echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6003if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6004 echo $ECHO_N "(cached) $ECHO_C" >&6
6005else
6006 cat >conftest.$ac_ext <<_ACEOF
6007/* confdefs.h. */
6008_ACEOF
6009cat confdefs.h >>conftest.$ac_ext
6010cat >>conftest.$ac_ext <<_ACEOF
6011/* end confdefs.h. */
6012/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6014#define $ac_func innocuous_$ac_func
6015
6016/* System header to define __stub macros and hopefully few prototypes,
6017 which can conflict with char $ac_func (); below.
6018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6019 <limits.h> exists even on freestanding compilers. */
6020
6021#ifdef __STDC__
6022# include <limits.h>
6023#else
6024# include <assert.h>
6025#endif
6026
6027#undef $ac_func
6028
6029/* Override any GCC internal prototype to avoid an error.
6030 Use char because int might match the return type of a GCC
6031 builtin and then its argument prototype would still apply. */
6032#ifdef __cplusplus
6033extern "C"
6034#endif
6035char $ac_func ();
6036/* The GNU C library defines this for functions which it implements
6037 to always fail with ENOSYS. Some functions are actually named
6038 something starting with __ and the normal name is an alias. */
6039#if defined __stub_$ac_func || defined __stub___$ac_func
6040choke me
6041#endif
6042
6043int
6044main ()
6045{
6046return $ac_func ();
6047 ;
6048 return 0;
6049}
6050_ACEOF
6051rm -f conftest.$ac_objext conftest$ac_exeext
6052if { (ac_try="$ac_link"
6053case "(($ac_try" in
6054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6055 *) ac_try_echo=$ac_try;;
6056esac
6057eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6058 (eval "$ac_link") 2>conftest.er1
6059 ac_status=$?
6060 grep -v '^ *+' conftest.er1 >conftest.err
6061 rm -f conftest.er1
6062 cat conftest.err >&5
6063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064 (exit $ac_status); } && {
6065 test -z "$ac_cxx_werror_flag" ||
6066 test ! -s conftest.err
6067 } && test -s conftest$ac_exeext &&
6068 $as_test_x conftest$ac_exeext; then
6069 eval "$as_ac_var=yes"
6070else
6071 echo "$as_me: failed program was:" >&5
6072sed 's/^/| /' conftest.$ac_ext >&5
6073
6074 eval "$as_ac_var=no"
6075fi
6076
6077rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6078 conftest$ac_exeext conftest.$ac_ext
6079fi
6080ac_res=`eval echo '${'$as_ac_var'}'`
6081 { echo "$as_me:$LINENO: result: $ac_res" >&5
6082echo "${ECHO_T}$ac_res" >&6; }
6083if test `eval echo '${'$as_ac_var'}'` = yes; then
6084 cat >>confdefs.h <<_ACEOF 5251 cat >>confdefs.h <<_ACEOF
6085#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5252#define HAVE_GETOPT_LONG 1
6086_ACEOF 5253_ACEOF
6087 5254
6088else 5255else
6089 case " $LIBOBJS " in 5256 case " $LIBOBJS " in
6090 *" getopt.$ac_objext "* ) ;; 5257 *" getopt.$ac_objext "* ) ;;
6128 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 5295 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6129 eval ac_val=\$$ac_var 5296 eval ac_val=\$$ac_var
6130 case $ac_val in #( 5297 case $ac_val in #(
6131 *${as_nl}*) 5298 *${as_nl}*)
6132 case $ac_var in #( 5299 case $ac_var in #(
6133 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 5300 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6134echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 5301$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6135 esac 5302 esac
6136 case $ac_var in #( 5303 case $ac_var in #(
6137 _ | IFS | as_nl) ;; #( 5304 _ | IFS | as_nl) ;; #(
6138 *) $as_unset $ac_var ;; 5305 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5306 *) { eval $ac_var=; unset $ac_var;} ;;
6139 esac ;; 5307 esac ;;
6140 esac 5308 esac
6141 done 5309 done
6142 5310
6143 (set) 2>&1 | 5311 (set) 2>&1 |
6144 case $as_nl`(ac_space=' '; set) 2>&1` in #( 5312 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6145 *${as_nl}ac_space=\ *) 5313 *${as_nl}ac_space=\ *)
6146 # `set' does not quote correctly, so add quotes (double-quote 5314 # `set' does not quote correctly, so add quotes: double-quote
6147 # substitution turns \\\\ into \\, and sed turns \\ into \). 5315 # substitution turns \\\\ into \\, and sed turns \\ into \.
6148 sed -n \ 5316 sed -n \
6149 "s/'/'\\\\''/g; 5317 "s/'/'\\\\''/g;
6150 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5318 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6151 ;; #( 5319 ;; #(
6152 *) 5320 *)
6164 t end 5332 t end
6165 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5333 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6166 :end' >>confcache 5334 :end' >>confcache
6167if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 5335if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6168 if test -w "$cache_file"; then 5336 if test -w "$cache_file"; then
6169 test "x$cache_file" != "x/dev/null" && 5337 if test "x$cache_file" != "x/dev/null"; then
6170 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 5338 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6171echo "$as_me: updating cache $cache_file" >&6;} 5339$as_echo "$as_me: updating cache $cache_file" >&6;}
5340 if test ! -f "$cache_file" || test -h "$cache_file"; then
6172 cat confcache >$cache_file 5341 cat confcache >"$cache_file"
5342 else
5343 case $cache_file in #(
5344 */* | ?:*)
5345 mv -f confcache "$cache_file"$$ &&
5346 mv -f "$cache_file"$$ "$cache_file" ;; #(
5347 *)
5348 mv -f confcache "$cache_file" ;;
5349 esac
5350 fi
5351 fi
6173 else 5352 else
6174 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 5353 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6175echo "$as_me: not updating unwritable cache $cache_file" >&6;} 5354$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6176 fi 5355 fi
6177fi 5356fi
6178rm -f confcache 5357rm -f confcache
6179 5358
6180test "x$prefix" = xNONE && prefix=$ac_default_prefix 5359test "x$prefix" = xNONE && prefix=$ac_default_prefix
6183 5362
6184DEFS=-DHAVE_CONFIG_H 5363DEFS=-DHAVE_CONFIG_H
6185 5364
6186ac_libobjs= 5365ac_libobjs=
6187ac_ltlibobjs= 5366ac_ltlibobjs=
5367U=
6188for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5368for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6189 # 1. Remove the extension, and $U if already installed. 5369 # 1. Remove the extension, and $U if already installed.
6190 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 5370 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6191 ac_i=`echo "$ac_i" | sed "$ac_script"` 5371 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6192 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 5372 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6193 # will be set to the directory where LIBOBJS objects are built. 5373 # will be set to the directory where LIBOBJS objects are built.
6194 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 5374 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6195 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 5375 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6196done 5376done
6197LIBOBJS=$ac_libobjs 5377LIBOBJS=$ac_libobjs
6198 5378
6199LTLIBOBJS=$ac_ltlibobjs 5379LTLIBOBJS=$ac_ltlibobjs
6200 5380
6201 5381
6202if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 5382if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6203 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 5383 as_fn_error $? "conditional \"AMDEP\" was never defined.
6204Usually this means the macro was only invoked conditionally." >&5 5384Usually this means the macro was only invoked conditionally." "$LINENO" 5
6205echo "$as_me: error: conditional \"AMDEP\" was never defined.
6206Usually this means the macro was only invoked conditionally." >&2;}
6207 { (exit 1); exit 1; }; }
6208fi 5385fi
6209if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 5386if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6210 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 5387 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6211Usually this means the macro was only invoked conditionally." >&5 5388Usually this means the macro was only invoked conditionally." "$LINENO" 5
6212echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6213Usually this means the macro was only invoked conditionally." >&2;}
6214 { (exit 1); exit 1; }; }
6215fi 5389fi
6216if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 5390if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6217 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. 5391 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
6218Usually this means the macro was only invoked conditionally." >&5 5392Usually this means the macro was only invoked conditionally." "$LINENO" 5
6219echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
6220Usually this means the macro was only invoked conditionally." >&2;}
6221 { (exit 1); exit 1; }; }
6222fi 5393fi
6223if test -z "${HAVE_PCCTS_TRUE}" && test -z "${HAVE_PCCTS_FALSE}"; then 5394if test -z "${HAVE_PCCTS_TRUE}" && test -z "${HAVE_PCCTS_FALSE}"; then
6224 { { echo "$as_me:$LINENO: error: conditional \"HAVE_PCCTS\" was never defined. 5395 as_fn_error $? "conditional \"HAVE_PCCTS\" was never defined.
6225Usually this means the macro was only invoked conditionally." >&5 5396Usually this means the macro was only invoked conditionally." "$LINENO" 5
6226echo "$as_me: error: conditional \"HAVE_PCCTS\" was never defined.
6227Usually this means the macro was only invoked conditionally." >&2;}
6228 { (exit 1); exit 1; }; }
6229fi 5397fi
6230 5398
6231: ${CONFIG_STATUS=./config.status} 5399: "${CONFIG_STATUS=./config.status}"
5400ac_write_fail=0
6232ac_clean_files_save=$ac_clean_files 5401ac_clean_files_save=$ac_clean_files
6233ac_clean_files="$ac_clean_files $CONFIG_STATUS" 5402ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6234{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 5403{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6235echo "$as_me: creating $CONFIG_STATUS" >&6;} 5404$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6236cat >$CONFIG_STATUS <<_ACEOF 5405as_write_fail=0
5406cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6237#! $SHELL 5407#! $SHELL
6238# Generated by $as_me. 5408# Generated by $as_me.
6239# Run this file to recreate the current configuration. 5409# Run this file to recreate the current configuration.
6240# Compiler output produced by configure, useful for debugging 5410# Compiler output produced by configure, useful for debugging
6241# configure, is in config.log if it exists. 5411# configure, is in config.log if it exists.
6242 5412
6243debug=false 5413debug=false
6244ac_cs_recheck=false 5414ac_cs_recheck=false
6245ac_cs_silent=false 5415ac_cs_silent=false
5416
6246SHELL=\${CONFIG_SHELL-$SHELL} 5417SHELL=\${CONFIG_SHELL-$SHELL}
5418export SHELL
6247_ACEOF 5419_ASEOF
6248 5420cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6249cat >>$CONFIG_STATUS <<\_ACEOF
6250## --------------------- ## 5421## -------------------- ##
6251## M4sh Initialization. ## 5422## M4sh Initialization. ##
6252## --------------------- ## 5423## -------------------- ##
6253 5424
6254# Be more Bourne compatible 5425# Be more Bourne compatible
6255DUALCASE=1; export DUALCASE # for MKS sh 5426DUALCASE=1; export DUALCASE # for MKS sh
6256if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 5427if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6257 emulate sh 5428 emulate sh
6258 NULLCMD=: 5429 NULLCMD=:
6259 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 5430 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6260 # is contrary to our usage. Disable this feature. 5431 # is contrary to our usage. Disable this feature.
6261 alias -g '${1+"$@"}'='"$@"' 5432 alias -g '${1+"$@"}'='"$@"'
6262 setopt NO_GLOB_SUBST 5433 setopt NO_GLOB_SUBST
6263else 5434else
6264 case `(set -o) 2>/dev/null` in 5435 case `(set -o) 2>/dev/null` in #(
6265 *posix*) set -o posix ;; 5436 *posix*) :
5437 set -o posix ;; #(
5438 *) :
5439 ;;
6266esac 5440esac
6267
6268fi 5441fi
6269 5442
6270 5443
6271 5444as_nl='
6272 5445'
6273# PATH needs CR 5446export as_nl
6274# Avoid depending upon Character Ranges. 5447# Printing a long string crashes Solaris 7 /usr/bin/printf.
6275as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5448as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6276as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5449as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6277as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5450as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6278as_cr_digits='0123456789' 5451# Prefer a ksh shell builtin over an external printf program on Solaris,
6279as_cr_alnum=$as_cr_Letters$as_cr_digits 5452# but without wasting forks for bash or zsh.
5453if test -z "$BASH_VERSION$ZSH_VERSION" \
5454 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5455 as_echo='print -r --'
5456 as_echo_n='print -rn --'
5457elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5458 as_echo='printf %s\n'
5459 as_echo_n='printf %s'
5460else
5461 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5462 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5463 as_echo_n='/usr/ucb/echo -n'
5464 else
5465 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5466 as_echo_n_body='eval
5467 arg=$1;
5468 case $arg in #(
5469 *"$as_nl"*)
5470 expr "X$arg" : "X\\(.*\\)$as_nl";
5471 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5472 esac;
5473 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5474 '
5475 export as_echo_n_body
5476 as_echo_n='sh -c $as_echo_n_body as_echo'
5477 fi
5478 export as_echo_body
5479 as_echo='sh -c $as_echo_body as_echo'
5480fi
6280 5481
6281# The user is always right. 5482# The user is always right.
6282if test "${PATH_SEPARATOR+set}" != set; then 5483if test "${PATH_SEPARATOR+set}" != set; then
6283 echo "#! /bin/sh" >conf$$.sh 5484 PATH_SEPARATOR=:
6284 echo "exit 0" >>conf$$.sh 5485 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6285 chmod +x conf$$.sh 5486 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6286 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6287 PATH_SEPARATOR=';' 5487 PATH_SEPARATOR=';'
6288 else 5488 }
6289 PATH_SEPARATOR=:
6290 fi
6291 rm -f conf$$.sh
6292fi
6293
6294# Support unset when possible.
6295if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6296 as_unset=unset
6297else
6298 as_unset=false
6299fi 5489fi
6300 5490
6301 5491
6302# IFS 5492# IFS
6303# We need space, tab and new line, in precisely that order. Quoting is 5493# We need space, tab and new line, in precisely that order. Quoting is
6304# there to prevent editors from complaining about space-tab. 5494# there to prevent editors from complaining about space-tab.
6305# (If _AS_PATH_WALK were called with IFS unset, it would disable word 5495# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6306# splitting by setting IFS to empty value.) 5496# splitting by setting IFS to empty value.)
6307as_nl='
6308'
6309IFS=" "" $as_nl" 5497IFS=" "" $as_nl"
6310 5498
6311# Find who we are. Look in the path if we contain no directory separator. 5499# Find who we are. Look in the path if we contain no directory separator.
5500as_myself=
6312case $0 in 5501case $0 in #((
6313 *[\\/]* ) as_myself=$0 ;; 5502 *[\\/]* ) as_myself=$0 ;;
6314 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5503 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6315for as_dir in $PATH 5504for as_dir in $PATH
6316do 5505do
6317 IFS=$as_save_IFS 5506 IFS=$as_save_IFS
6318 test -z "$as_dir" && as_dir=. 5507 test -z "$as_dir" && as_dir=.
6319 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5508 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6320done 5509 done
6321IFS=$as_save_IFS 5510IFS=$as_save_IFS
6322 5511
6323 ;; 5512 ;;
6324esac 5513esac
6325# We did not find ourselves, most probably we were run as `sh COMMAND' 5514# We did not find ourselves, most probably we were run as `sh COMMAND'
6326# in which case we are not to be found in the path. 5515# in which case we are not to be found in the path.
6327if test "x$as_myself" = x; then 5516if test "x$as_myself" = x; then
6328 as_myself=$0 5517 as_myself=$0
6329fi 5518fi
6330if test ! -f "$as_myself"; then 5519if test ! -f "$as_myself"; then
6331 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5520 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6332 { (exit 1); exit 1; } 5521 exit 1
6333fi 5522fi
6334 5523
6335# Work around bugs in pre-3.0 UWIN ksh. 5524# Unset variables that we do not need and which cause bugs (e.g. in
5525# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5526# suppresses any "Segmentation fault" message there. '((' could
5527# trigger a bug in pdksh 5.2.14.
6336for as_var in ENV MAIL MAILPATH 5528for as_var in BASH_ENV ENV MAIL MAILPATH
5529do eval test x\${$as_var+set} = xset \
6337do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 5530 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6338done 5531done
6339PS1='$ ' 5532PS1='$ '
6340PS2='> ' 5533PS2='> '
6341PS4='+ ' 5534PS4='+ '
6342 5535
6343# NLS nuisances. 5536# NLS nuisances.
6344for as_var in \ 5537LC_ALL=C
6345 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 5538export LC_ALL
6346 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 5539LANGUAGE=C
6347 LC_TELEPHONE LC_TIME 5540export LANGUAGE
6348do 5541
6349 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 5542# CDPATH.
6350 eval $as_var=C; export $as_var 5543(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6351 else 5544
6352 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 5545
5546# as_fn_error STATUS ERROR [LINENO LOG_FD]
5547# ----------------------------------------
5548# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5549# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5550# script with STATUS, using 1 if that was 0.
5551as_fn_error ()
5552{
5553 as_status=$1; test $as_status -eq 0 && as_status=1
5554 if test "$4"; then
5555 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5556 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6353 fi 5557 fi
6354done 5558 $as_echo "$as_me: error: $2" >&2
5559 as_fn_exit $as_status
5560} # as_fn_error
6355 5561
6356# Required to use basename. 5562
5563# as_fn_set_status STATUS
5564# -----------------------
5565# Set $? to STATUS, without forking.
5566as_fn_set_status ()
5567{
5568 return $1
5569} # as_fn_set_status
5570
5571# as_fn_exit STATUS
5572# -----------------
5573# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5574as_fn_exit ()
5575{
5576 set +e
5577 as_fn_set_status $1
5578 exit $1
5579} # as_fn_exit
5580
5581# as_fn_unset VAR
5582# ---------------
5583# Portably unset VAR.
5584as_fn_unset ()
5585{
5586 { eval $1=; unset $1;}
5587}
5588as_unset=as_fn_unset
5589# as_fn_append VAR VALUE
5590# ----------------------
5591# Append the text in VALUE to the end of the definition contained in VAR. Take
5592# advantage of any shell optimizations that allow amortized linear growth over
5593# repeated appends, instead of the typical quadratic growth present in naive
5594# implementations.
5595if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5596 eval 'as_fn_append ()
5597 {
5598 eval $1+=\$2
5599 }'
5600else
5601 as_fn_append ()
5602 {
5603 eval $1=\$$1\$2
5604 }
5605fi # as_fn_append
5606
5607# as_fn_arith ARG...
5608# ------------------
5609# Perform arithmetic evaluation on the ARGs, and store the result in the
5610# global $as_val. Take advantage of shells that can avoid forks. The arguments
5611# must be portable across $(()) and expr.
5612if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5613 eval 'as_fn_arith ()
5614 {
5615 as_val=$(( $* ))
5616 }'
5617else
5618 as_fn_arith ()
5619 {
5620 as_val=`expr "$@" || test $? -eq 1`
5621 }
5622fi # as_fn_arith
5623
5624
6357if expr a : '\(a\)' >/dev/null 2>&1 && 5625if expr a : '\(a\)' >/dev/null 2>&1 &&
6358 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5626 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6359 as_expr=expr 5627 as_expr=expr
6360else 5628else
6361 as_expr=false 5629 as_expr=false
6365 as_basename=basename 5633 as_basename=basename
6366else 5634else
6367 as_basename=false 5635 as_basename=false
6368fi 5636fi
6369 5637
5638if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5639 as_dirname=dirname
5640else
5641 as_dirname=false
5642fi
6370 5643
6371# Name of the executable.
6372as_me=`$as_basename -- "$0" || 5644as_me=`$as_basename -- "$0" ||
6373$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5645$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6374 X"$0" : 'X\(//\)$' \| \ 5646 X"$0" : 'X\(//\)$' \| \
6375 X"$0" : 'X\(/\)' \| . 2>/dev/null || 5647 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6376echo X/"$0" | 5648$as_echo X/"$0" |
6377 sed '/^.*\/\([^/][^/]*\)\/*$/{ 5649 sed '/^.*\/\([^/][^/]*\)\/*$/{
6378 s//\1/ 5650 s//\1/
6379 q 5651 q
6380 } 5652 }
6381 /^X\/\(\/\/\)$/{ 5653 /^X\/\(\/\/\)$/{
6386 s//\1/ 5658 s//\1/
6387 q 5659 q
6388 } 5660 }
6389 s/.*/./; q'` 5661 s/.*/./; q'`
6390 5662
6391# CDPATH. 5663# Avoid depending upon Character Ranges.
6392$as_unset CDPATH 5664as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6393 5665as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6394 5666as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6395 5667as_cr_digits='0123456789'
6396 as_lineno_1=$LINENO 5668as_cr_alnum=$as_cr_Letters$as_cr_digits
6397 as_lineno_2=$LINENO
6398 test "x$as_lineno_1" != "x$as_lineno_2" &&
6399 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6400
6401 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6402 # uniformly replaced by the line number. The first 'sed' inserts a
6403 # line-number line after each line using $LINENO; the second 'sed'
6404 # does the real work. The second script uses 'N' to pair each
6405 # line-number line with the line containing $LINENO, and appends
6406 # trailing '-' during substitution so that $LINENO is not a special
6407 # case at line end.
6408 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6409 # scripts with optimization help from Paolo Bonzini. Blame Lee
6410 # E. McMahon (1931-1989) for sed's syntax. :-)
6411 sed -n '
6412 p
6413 /[$]LINENO/=
6414 ' <$as_myself |
6415 sed '
6416 s/[$]LINENO.*/&-/
6417 t lineno
6418 b
6419 :lineno
6420 N
6421 :loop
6422 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6423 t loop
6424 s/-\n.*//
6425 ' >$as_me.lineno &&
6426 chmod +x "$as_me.lineno" ||
6427 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6428 { (exit 1); exit 1; }; }
6429
6430 # Don't try to exec as it changes $[0], causing all sort of problems
6431 # (the dirname of $[0] is not the place where we might find the
6432 # original and so on. Autoconf is especially sensitive to this).
6433 . "./$as_me.lineno"
6434 # Exit status is that of the last command.
6435 exit
6436}
6437
6438
6439if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6440 as_dirname=dirname
6441else
6442 as_dirname=false
6443fi
6444 5669
6445ECHO_C= ECHO_N= ECHO_T= 5670ECHO_C= ECHO_N= ECHO_T=
6446case `echo -n x` in 5671case `echo -n x` in #(((((
6447-n*) 5672-n*)
6448 case `echo 'x\c'` in 5673 case `echo 'xy\c'` in
6449 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5674 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6450 *) ECHO_C='\c';; 5675 xy) ECHO_C='\c';;
5676 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5677 ECHO_T=' ';;
6451 esac;; 5678 esac;;
6452*) 5679*)
6453 ECHO_N='-n';; 5680 ECHO_N='-n';;
6454esac 5681esac
6455 5682
6456if expr a : '\(a\)' >/dev/null 2>&1 &&
6457 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6458 as_expr=expr
6459else
6460 as_expr=false
6461fi
6462
6463rm -f conf$$ conf$$.exe conf$$.file 5683rm -f conf$$ conf$$.exe conf$$.file
6464if test -d conf$$.dir; then 5684if test -d conf$$.dir; then
6465 rm -f conf$$.dir/conf$$.file 5685 rm -f conf$$.dir/conf$$.file
6466else 5686else
6467 rm -f conf$$.dir 5687 rm -f conf$$.dir
6468 mkdir conf$$.dir 5688 mkdir conf$$.dir 2>/dev/null
6469fi 5689fi
6470echo >conf$$.file 5690if (echo >conf$$.file) 2>/dev/null; then
6471if ln -s conf$$.file conf$$ 2>/dev/null; then 5691 if ln -s conf$$.file conf$$ 2>/dev/null; then
6472 as_ln_s='ln -s' 5692 as_ln_s='ln -s'
6473 # ... but there are two gotchas: 5693 # ... but there are two gotchas:
6474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5694 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5695 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6476 # In both cases, we have to default to `cp -p'. 5696 # In both cases, we have to default to `cp -pR'.
6477 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5697 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6478 as_ln_s='cp -p' 5698 as_ln_s='cp -pR'
6479elif ln conf$$.file conf$$ 2>/dev/null; then 5699 elif ln conf$$.file conf$$ 2>/dev/null; then
6480 as_ln_s=ln 5700 as_ln_s=ln
6481else 5701 else
5702 as_ln_s='cp -pR'
5703 fi
5704else
6482 as_ln_s='cp -p' 5705 as_ln_s='cp -pR'
6483fi 5706fi
6484rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5707rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6485rmdir conf$$.dir 2>/dev/null 5708rmdir conf$$.dir 2>/dev/null
6486 5709
6487if mkdir -p . 2>/dev/null; then 5710
6488 as_mkdir_p=: 5711# as_fn_mkdir_p
6489else 5712# -------------
6490 test -d ./-p && rmdir ./-p 5713# Create "$as_dir" as a directory, including parents if necessary.
6491 as_mkdir_p=false 5714as_fn_mkdir_p ()
6492fi
6493
6494if test -x / >/dev/null 2>&1; then
6495 as_test_x='test -x'
6496else
6497 if ls -dL / >/dev/null 2>&1; then
6498 as_ls_L_option=L
6499 else
6500 as_ls_L_option=
6501 fi
6502 as_test_x='
6503 eval sh -c '\''
6504 if test -d "$1"; then
6505 test -d "$1/.";
6506 else
6507 case $1 in
6508 -*)set "./$1";;
6509 esac;
6510 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6511 ???[sx]*):;;*)false;;esac;fi
6512 '\'' sh
6513 '
6514fi
6515as_executable_p=$as_test_x
6516
6517# Sed expression to map a string onto a valid CPP name.
6518as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6519
6520# Sed expression to map a string onto a valid variable name.
6521as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6522
6523
6524exec 6>&1
6525
6526# Save the log message, to keep $[0] and so on meaningful, and to
6527# report actual input values of CONFIG_FILES etc. instead of their
6528# values after options handling.
6529ac_log="
6530This file was extended by $as_me, which was
6531generated by GNU Autoconf 2.61. Invocation command line was
6532
6533 CONFIG_FILES = $CONFIG_FILES
6534 CONFIG_HEADERS = $CONFIG_HEADERS
6535 CONFIG_LINKS = $CONFIG_LINKS
6536 CONFIG_COMMANDS = $CONFIG_COMMANDS
6537 $ $0 $@
6538
6539on `(hostname || uname -n) 2>/dev/null | sed 1q`
6540"
6541
6542_ACEOF
6543
6544cat >>$CONFIG_STATUS <<_ACEOF
6545# Files that config.status was made for.
6546config_files="$ac_config_files"
6547config_headers="$ac_config_headers"
6548config_commands="$ac_config_commands"
6549
6550_ACEOF
6551
6552cat >>$CONFIG_STATUS <<\_ACEOF
6553ac_cs_usage="\
6554\`$as_me' instantiates files from templates according to the
6555current configuration.
6556
6557Usage: $0 [OPTIONS] [FILE]...
6558
6559 -h, --help print this help, then exit
6560 -V, --version print version number and configuration settings, then exit
6561 -q, --quiet do not print progress messages
6562 -d, --debug don't remove temporary files
6563 --recheck update $as_me by reconfiguring in the same conditions
6564 --file=FILE[:TEMPLATE]
6565 instantiate the configuration file FILE
6566 --header=FILE[:TEMPLATE]
6567 instantiate the configuration header FILE
6568
6569Configuration files:
6570$config_files
6571
6572Configuration headers:
6573$config_headers
6574
6575Configuration commands:
6576$config_commands
6577
6578Report bugs to <bug-autoconf@gnu.org>."
6579
6580_ACEOF
6581cat >>$CONFIG_STATUS <<_ACEOF
6582ac_cs_version="\\
6583config.status
6584configured by $0, generated by GNU Autoconf 2.61,
6585 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6586
6587Copyright (C) 2006 Free Software Foundation, Inc.
6588This config.status script is free software; the Free Software Foundation
6589gives unlimited permission to copy, distribute and modify it."
6590
6591ac_pwd='$ac_pwd'
6592srcdir='$srcdir'
6593INSTALL='$INSTALL'
6594_ACEOF
6595
6596cat >>$CONFIG_STATUS <<\_ACEOF
6597# If no file are specified by the user, then we need to provide default
6598# value. By we need to know if files were specified by the user.
6599ac_need_defaults=:
6600while test $# != 0
6601do
6602 case $1 in
6603 --*=*)
6604 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6605 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6606 ac_shift=:
6607 ;;
6608 *)
6609 ac_option=$1
6610 ac_optarg=$2
6611 ac_shift=shift
6612 ;;
6613 esac
6614
6615 case $ac_option in
6616 # Handling of the options.
6617 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6618 ac_cs_recheck=: ;;
6619 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6620 echo "$ac_cs_version"; exit ;;
6621 --debug | --debu | --deb | --de | --d | -d )
6622 debug=: ;;
6623 --file | --fil | --fi | --f )
6624 $ac_shift
6625 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6626 ac_need_defaults=false;;
6627 --header | --heade | --head | --hea )
6628 $ac_shift
6629 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6630 ac_need_defaults=false;;
6631 --he | --h)
6632 # Conflict between --help and --header
6633 { echo "$as_me: error: ambiguous option: $1
6634Try \`$0 --help' for more information." >&2
6635 { (exit 1); exit 1; }; };;
6636 --help | --hel | -h )
6637 echo "$ac_cs_usage"; exit ;;
6638 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6639 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6640 ac_cs_silent=: ;;
6641
6642 # This is an error.
6643 -*) { echo "$as_me: error: unrecognized option: $1
6644Try \`$0 --help' for more information." >&2
6645 { (exit 1); exit 1; }; } ;;
6646
6647 *) ac_config_targets="$ac_config_targets $1"
6648 ac_need_defaults=false ;;
6649
6650 esac
6651 shift
6652done
6653
6654ac_configure_extra_args=
6655
6656if $ac_cs_silent; then
6657 exec 6>/dev/null
6658 ac_configure_extra_args="$ac_configure_extra_args --silent"
6659fi
6660
6661_ACEOF
6662cat >>$CONFIG_STATUS <<_ACEOF
6663if \$ac_cs_recheck; then
6664 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6665 CONFIG_SHELL=$SHELL
6666 export CONFIG_SHELL
6667 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6668fi
6669
6670_ACEOF
6671cat >>$CONFIG_STATUS <<\_ACEOF
6672exec 5>>config.log
6673{ 5715{
6674 echo
6675 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6676## Running $as_me. ##
6677_ASBOX
6678 echo "$ac_log"
6679} >&5
6680 5716
6681_ACEOF
6682cat >>$CONFIG_STATUS <<_ACEOF
6683#
6684# INIT-COMMANDS
6685#
6686AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6687
6688_ACEOF
6689
6690cat >>$CONFIG_STATUS <<\_ACEOF
6691
6692# Handling of arguments.
6693for ac_config_target in $ac_config_targets
6694do
6695 case $ac_config_target in
6696 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6697 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6698 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6699
6700 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6701echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6702 { (exit 1); exit 1; }; };;
6703 esac
6704done
6705
6706
6707# If the user did not use the arguments to specify the items to instantiate,
6708# then the envvar interface is used. Set only those that are not.
6709# We use the long form for the default assignment because of an extremely
6710# bizarre bug on SunOS 4.1.3.
6711if $ac_need_defaults; then
6712 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6713 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6714 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6715fi
6716
6717# Have a temporary directory for convenience. Make it in the build tree
6718# simply because there is no reason against having it here, and in addition,
6719# creating and moving files from /tmp can sometimes cause problems.
6720# Hook for its removal unless debugging.
6721# Note that there is a small window in which the directory will not be cleaned:
6722# after its creation but before its name has been assigned to `$tmp'.
6723$debug ||
6724{
6725 tmp=
6726 trap 'exit_status=$?
6727 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6728' 0
6729 trap '{ (exit 1); exit 1; }' 1 2 13 15
6730}
6731# Create a (secure) tmp directory for tmp files.
6732
6733{
6734 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6735 test -n "$tmp" && test -d "$tmp"
6736} ||
6737{
6738 tmp=./conf$$-$RANDOM
6739 (umask 077 && mkdir "$tmp")
6740} ||
6741{
6742 echo "$me: cannot create a temporary directory in ." >&2
6743 { (exit 1); exit 1; }
6744}
6745
6746#
6747# Set up the sed scripts for CONFIG_FILES section.
6748#
6749
6750# No need to generate the scripts if there are no CONFIG_FILES.
6751# This happens for instance when ./config.status config.h
6752if test -n "$CONFIG_FILES"; then
6753
6754_ACEOF
6755
6756
6757
6758ac_delim='%!_!# '
6759for ac_last_try in false false false false false :; do
6760 cat >conf$$subs.sed <<_ACEOF
6761SHELL!$SHELL$ac_delim
6762PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6763PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6764PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6765PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6766PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6767PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6768exec_prefix!$exec_prefix$ac_delim
6769prefix!$prefix$ac_delim
6770program_transform_name!$program_transform_name$ac_delim
6771bindir!$bindir$ac_delim
6772sbindir!$sbindir$ac_delim
6773libexecdir!$libexecdir$ac_delim
6774datarootdir!$datarootdir$ac_delim
6775datadir!$datadir$ac_delim
6776sysconfdir!$sysconfdir$ac_delim
6777sharedstatedir!$sharedstatedir$ac_delim
6778localstatedir!$localstatedir$ac_delim
6779includedir!$includedir$ac_delim
6780oldincludedir!$oldincludedir$ac_delim
6781docdir!$docdir$ac_delim
6782infodir!$infodir$ac_delim
6783htmldir!$htmldir$ac_delim
6784dvidir!$dvidir$ac_delim
6785pdfdir!$pdfdir$ac_delim
6786psdir!$psdir$ac_delim
6787libdir!$libdir$ac_delim
6788localedir!$localedir$ac_delim
6789mandir!$mandir$ac_delim
6790DEFS!$DEFS$ac_delim
6791ECHO_C!$ECHO_C$ac_delim
6792ECHO_N!$ECHO_N$ac_delim
6793ECHO_T!$ECHO_T$ac_delim
6794LIBS!$LIBS$ac_delim
6795build_alias!$build_alias$ac_delim
6796host_alias!$host_alias$ac_delim
6797target_alias!$target_alias$ac_delim
6798INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
6799INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
6800INSTALL_DATA!$INSTALL_DATA$ac_delim
6801CYGPATH_W!$CYGPATH_W$ac_delim
6802PACKAGE!$PACKAGE$ac_delim
6803VERSION!$VERSION$ac_delim
6804ACLOCAL!$ACLOCAL$ac_delim
6805AUTOCONF!$AUTOCONF$ac_delim
6806AUTOMAKE!$AUTOMAKE$ac_delim
6807AUTOHEADER!$AUTOHEADER$ac_delim
6808MAKEINFO!$MAKEINFO$ac_delim
6809AMTAR!$AMTAR$ac_delim
6810install_sh!$install_sh$ac_delim
6811STRIP!$STRIP$ac_delim
6812INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
6813AWK!$AWK$ac_delim
6814SET_MAKE!$SET_MAKE$ac_delim
6815am__leading_dot!$am__leading_dot$ac_delim
6816CC!$CC$ac_delim
6817CFLAGS!$CFLAGS$ac_delim
6818LDFLAGS!$LDFLAGS$ac_delim
6819CPPFLAGS!$CPPFLAGS$ac_delim
6820ac_ct_CC!$ac_ct_CC$ac_delim
6821EXEEXT!$EXEEXT$ac_delim
6822OBJEXT!$OBJEXT$ac_delim
6823DEPDIR!$DEPDIR$ac_delim
6824am__include!$am__include$ac_delim
6825am__quote!$am__quote$ac_delim
6826AMDEP_TRUE!$AMDEP_TRUE$ac_delim
6827AMDEP_FALSE!$AMDEP_FALSE$ac_delim
6828AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
6829CCDEPMODE!$CCDEPMODE$ac_delim
6830am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
6831am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
6832CPP!$CPP$ac_delim
6833GREP!$GREP$ac_delim
6834EGREP!$EGREP$ac_delim
6835CXX!$CXX$ac_delim
6836CXXFLAGS!$CXXFLAGS$ac_delim
6837ac_ct_CXX!$ac_ct_CXX$ac_delim
6838CXXDEPMODE!$CXXDEPMODE$ac_delim
6839am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
6840am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
6841CXXCPP!$CXXCPP$ac_delim
6842XMKMF!$XMKMF$ac_delim
6843ANTLR!$ANTLR$ac_delim
6844DLG!$DLG$ac_delim
6845HAVE_PCCTS_TRUE!$HAVE_PCCTS_TRUE$ac_delim
6846HAVE_PCCTS_FALSE!$HAVE_PCCTS_FALSE$ac_delim
6847LIBOBJS!$LIBOBJS$ac_delim
6848LTLIBOBJS!$LTLIBOBJS$ac_delim
6849_ACEOF
6850
6851 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 88; then
6852 break
6853 elif $ac_last_try; then
6854 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6855echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6856 { (exit 1); exit 1; }; }
6857 else
6858 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6859 fi
6860done
6861
6862ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6863if test -n "$ac_eof"; then
6864 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6865 ac_eof=`expr $ac_eof + 1`
6866fi
6867
6868cat >>$CONFIG_STATUS <<_ACEOF
6869cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6870/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6871_ACEOF
6872sed '
6873s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6874s/^/s,@/; s/!/@,|#_!!_#|/
6875:n
6876t n
6877s/'"$ac_delim"'$/,g/; t
6878s/$/\\/; p
6879N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6880' >>$CONFIG_STATUS <conf$$subs.sed
6881rm -f conf$$subs.sed
6882cat >>$CONFIG_STATUS <<_ACEOF
6883:end
6884s/|#_!!_#|//g
6885CEOF$ac_eof
6886_ACEOF
6887
6888
6889# VPATH may cause trouble with some makes, so we remove $(srcdir),
6890# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6891# trailing colons and then remove the whole line if VPATH becomes empty
6892# (actually we leave an empty line to preserve line numbers).
6893if test "x$srcdir" = x.; then
6894 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6895s/:*\$(srcdir):*/:/
6896s/:*\${srcdir}:*/:/
6897s/:*@srcdir@:*/:/
6898s/^\([^=]*=[ ]*\):*/\1/
6899s/:*$//
6900s/^[^=]*=[ ]*$//
6901}'
6902fi
6903
6904cat >>$CONFIG_STATUS <<\_ACEOF
6905fi # test -n "$CONFIG_FILES"
6906
6907
6908for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
6909do
6910 case $ac_tag in
6911 :[FHLC]) ac_mode=$ac_tag; continue;;
6912 esac
6913 case $ac_mode$ac_tag in
6914 :[FHL]*:*);;
6915 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6916echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6917 { (exit 1); exit 1; }; };;
6918 :[FH]-) ac_tag=-:-;;
6919 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6920 esac
6921 ac_save_IFS=$IFS
6922 IFS=:
6923 set x $ac_tag
6924 IFS=$ac_save_IFS
6925 shift
6926 ac_file=$1
6927 shift
6928
6929 case $ac_mode in
6930 :L) ac_source=$1;;
6931 :[FH])
6932 ac_file_inputs=
6933 for ac_f
6934 do
6935 case $ac_f in
6936 -) ac_f="$tmp/stdin";;
6937 *) # Look for the file first in the build tree, then in the source tree
6938 # (if the path is not absolute). The absolute path cannot be DOS-style,
6939 # because $ac_f cannot contain `:'.
6940 test -f "$ac_f" ||
6941 case $ac_f in
6942 [\\/$]*) false;;
6943 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6944 esac ||
6945 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6946echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6947 { (exit 1); exit 1; }; };;
6948 esac
6949 ac_file_inputs="$ac_file_inputs $ac_f"
6950 done
6951
6952 # Let's still pretend it is `configure' which instantiates (i.e., don't
6953 # use $as_me), people would be surprised to read:
6954 # /* config.h. Generated by config.status. */
6955 configure_input="Generated from "`IFS=:
6956 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6957 if test x"$ac_file" != x-; then
6958 configure_input="$ac_file. $configure_input"
6959 { echo "$as_me:$LINENO: creating $ac_file" >&5
6960echo "$as_me: creating $ac_file" >&6;}
6961 fi
6962
6963 case $ac_tag in
6964 *:-:* | *:-) cat >"$tmp/stdin";;
6965 esac
6966 ;;
6967 esac
6968
6969 ac_dir=`$as_dirname -- "$ac_file" ||
6970$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6971 X"$ac_file" : 'X\(//\)[^/]' \| \
6972 X"$ac_file" : 'X\(//\)$' \| \
6973 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6974echo X"$ac_file" |
6975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6976 s//\1/
6977 q
6978 }
6979 /^X\(\/\/\)[^/].*/{
6980 s//\1/
6981 q
6982 }
6983 /^X\(\/\/\)$/{
6984 s//\1/
6985 q
6986 }
6987 /^X\(\/\).*/{
6988 s//\1/
6989 q
6990 }
6991 s/.*/./; q'`
6992 { as_dir="$ac_dir"
6993 case $as_dir in #( 5717 case $as_dir in #(
6994 -*) as_dir=./$as_dir;; 5718 -*) as_dir=./$as_dir;;
6995 esac 5719 esac
6996 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 5720 test -d "$as_dir" || eval $as_mkdir_p || {
6997 as_dirs= 5721 as_dirs=
6998 while :; do 5722 while :; do
6999 case $as_dir in #( 5723 case $as_dir in #(
7000 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 5724 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7001 *) as_qdir=$as_dir;; 5725 *) as_qdir=$as_dir;;
7002 esac 5726 esac
7003 as_dirs="'$as_qdir' $as_dirs" 5727 as_dirs="'$as_qdir' $as_dirs"
7004 as_dir=`$as_dirname -- "$as_dir" || 5728 as_dir=`$as_dirname -- "$as_dir" ||
7005$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5729$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7006 X"$as_dir" : 'X\(//\)[^/]' \| \ 5730 X"$as_dir" : 'X\(//\)[^/]' \| \
7007 X"$as_dir" : 'X\(//\)$' \| \ 5731 X"$as_dir" : 'X\(//\)$' \| \
7008 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5732 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7009echo X"$as_dir" | 5733$as_echo X"$as_dir" |
7010 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7011 s//\1/ 5735 s//\1/
7012 q 5736 q
7013 } 5737 }
7014 /^X\(\/\/\)[^/].*/{ 5738 /^X\(\/\/\)[^/].*/{
7025 } 5749 }
7026 s/.*/./; q'` 5750 s/.*/./; q'`
7027 test -d "$as_dir" && break 5751 test -d "$as_dir" && break
7028 done 5752 done
7029 test -z "$as_dirs" || eval "mkdir $as_dirs" 5753 test -z "$as_dirs" || eval "mkdir $as_dirs"
7030 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 5754 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7031echo "$as_me: error: cannot create directory $as_dir" >&2;} 5755
7032 { (exit 1); exit 1; }; }; } 5756
5757} # as_fn_mkdir_p
5758if mkdir -p . 2>/dev/null; then
5759 as_mkdir_p='mkdir -p "$as_dir"'
5760else
5761 test -d ./-p && rmdir ./-p
5762 as_mkdir_p=false
5763fi
5764
5765
5766# as_fn_executable_p FILE
5767# -----------------------
5768# Test if FILE is an executable regular file.
5769as_fn_executable_p ()
5770{
5771 test -f "$1" && test -x "$1"
5772} # as_fn_executable_p
5773as_test_x='test -x'
5774as_executable_p=as_fn_executable_p
5775
5776# Sed expression to map a string onto a valid CPP name.
5777as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5778
5779# Sed expression to map a string onto a valid variable name.
5780as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5781
5782
5783exec 6>&1
5784## ----------------------------------- ##
5785## Main body of $CONFIG_STATUS script. ##
5786## ----------------------------------- ##
5787_ASEOF
5788test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5789
5790cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5791# Save the log message, to keep $0 and so on meaningful, and to
5792# report actual input values of CONFIG_FILES etc. instead of their
5793# values after options handling.
5794ac_log="
5795This file was extended by $as_me, which was
5796generated by GNU Autoconf 2.69. Invocation command line was
5797
5798 CONFIG_FILES = $CONFIG_FILES
5799 CONFIG_HEADERS = $CONFIG_HEADERS
5800 CONFIG_LINKS = $CONFIG_LINKS
5801 CONFIG_COMMANDS = $CONFIG_COMMANDS
5802 $ $0 $@
5803
5804on `(hostname || uname -n) 2>/dev/null | sed 1q`
5805"
5806
5807_ACEOF
5808
5809case $ac_config_files in *"
5810"*) set x $ac_config_files; shift; ac_config_files=$*;;
5811esac
5812
5813case $ac_config_headers in *"
5814"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5815esac
5816
5817
5818cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5819# Files that config.status was made for.
5820config_files="$ac_config_files"
5821config_headers="$ac_config_headers"
5822config_commands="$ac_config_commands"
5823
5824_ACEOF
5825
5826cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5827ac_cs_usage="\
5828\`$as_me' instantiates files and other configuration actions
5829from templates according to the current configuration. Unless the files
5830and actions are specified as TAGs, all are instantiated by default.
5831
5832Usage: $0 [OPTION]... [TAG]...
5833
5834 -h, --help print this help, then exit
5835 -V, --version print version number and configuration settings, then exit
5836 --config print configuration, then exit
5837 -q, --quiet, --silent
5838 do not print progress messages
5839 -d, --debug don't remove temporary files
5840 --recheck update $as_me by reconfiguring in the same conditions
5841 --file=FILE[:TEMPLATE]
5842 instantiate the configuration file FILE
5843 --header=FILE[:TEMPLATE]
5844 instantiate the configuration header FILE
5845
5846Configuration files:
5847$config_files
5848
5849Configuration headers:
5850$config_headers
5851
5852Configuration commands:
5853$config_commands
5854
5855Report bugs to the package provider."
5856
5857_ACEOF
5858cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5859ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5860ac_cs_version="\\
5861config.status
5862configured by $0, generated by GNU Autoconf 2.69,
5863 with options \\"\$ac_cs_config\\"
5864
5865Copyright (C) 2012 Free Software Foundation, Inc.
5866This config.status script is free software; the Free Software Foundation
5867gives unlimited permission to copy, distribute and modify it."
5868
5869ac_pwd='$ac_pwd'
5870srcdir='$srcdir'
5871INSTALL='$INSTALL'
5872MKDIR_P='$MKDIR_P'
5873AWK='$AWK'
5874test -n "\$AWK" || AWK=awk
5875_ACEOF
5876
5877cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5878# The default lists apply if the user does not specify any file.
5879ac_need_defaults=:
5880while test $# != 0
5881do
5882 case $1 in
5883 --*=?*)
5884 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5885 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5886 ac_shift=:
5887 ;;
5888 --*=)
5889 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5890 ac_optarg=
5891 ac_shift=:
5892 ;;
5893 *)
5894 ac_option=$1
5895 ac_optarg=$2
5896 ac_shift=shift
5897 ;;
5898 esac
5899
5900 case $ac_option in
5901 # Handling of the options.
5902 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5903 ac_cs_recheck=: ;;
5904 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5905 $as_echo "$ac_cs_version"; exit ;;
5906 --config | --confi | --conf | --con | --co | --c )
5907 $as_echo "$ac_cs_config"; exit ;;
5908 --debug | --debu | --deb | --de | --d | -d )
5909 debug=: ;;
5910 --file | --fil | --fi | --f )
5911 $ac_shift
5912 case $ac_optarg in
5913 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5914 '') as_fn_error $? "missing file argument" ;;
5915 esac
5916 as_fn_append CONFIG_FILES " '$ac_optarg'"
5917 ac_need_defaults=false;;
5918 --header | --heade | --head | --hea )
5919 $ac_shift
5920 case $ac_optarg in
5921 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5922 esac
5923 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5924 ac_need_defaults=false;;
5925 --he | --h)
5926 # Conflict between --help and --header
5927 as_fn_error $? "ambiguous option: \`$1'
5928Try \`$0 --help' for more information.";;
5929 --help | --hel | -h )
5930 $as_echo "$ac_cs_usage"; exit ;;
5931 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5932 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5933 ac_cs_silent=: ;;
5934
5935 # This is an error.
5936 -*) as_fn_error $? "unrecognized option: \`$1'
5937Try \`$0 --help' for more information." ;;
5938
5939 *) as_fn_append ac_config_targets " $1"
5940 ac_need_defaults=false ;;
5941
5942 esac
5943 shift
5944done
5945
5946ac_configure_extra_args=
5947
5948if $ac_cs_silent; then
5949 exec 6>/dev/null
5950 ac_configure_extra_args="$ac_configure_extra_args --silent"
5951fi
5952
5953_ACEOF
5954cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5955if \$ac_cs_recheck; then
5956 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5957 shift
5958 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5959 CONFIG_SHELL='$SHELL'
5960 export CONFIG_SHELL
5961 exec "\$@"
5962fi
5963
5964_ACEOF
5965cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5966exec 5>>config.log
5967{
5968 echo
5969 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5970## Running $as_me. ##
5971_ASBOX
5972 $as_echo "$ac_log"
5973} >&5
5974
5975_ACEOF
5976cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5977#
5978# INIT-COMMANDS
5979#
5980AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5981
5982_ACEOF
5983
5984cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5985
5986# Handling of arguments.
5987for ac_config_target in $ac_config_targets
5988do
5989 case $ac_config_target in
5990 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5991 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5992 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5993
5994 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5995 esac
5996done
5997
5998
5999# If the user did not use the arguments to specify the items to instantiate,
6000# then the envvar interface is used. Set only those that are not.
6001# We use the long form for the default assignment because of an extremely
6002# bizarre bug on SunOS 4.1.3.
6003if $ac_need_defaults; then
6004 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6005 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6006 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6007fi
6008
6009# Have a temporary directory for convenience. Make it in the build tree
6010# simply because there is no reason against having it here, and in addition,
6011# creating and moving files from /tmp can sometimes cause problems.
6012# Hook for its removal unless debugging.
6013# Note that there is a small window in which the directory will not be cleaned:
6014# after its creation but before its name has been assigned to `$tmp'.
6015$debug ||
6016{
6017 tmp= ac_tmp=
6018 trap 'exit_status=$?
6019 : "${ac_tmp:=$tmp}"
6020 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6021' 0
6022 trap 'as_fn_exit 1' 1 2 13 15
6023}
6024# Create a (secure) tmp directory for tmp files.
6025
6026{
6027 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6028 test -d "$tmp"
6029} ||
6030{
6031 tmp=./conf$$-$RANDOM
6032 (umask 077 && mkdir "$tmp")
6033} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6034ac_tmp=$tmp
6035
6036# Set up the scripts for CONFIG_FILES section.
6037# No need to generate them if there are no CONFIG_FILES.
6038# This happens for instance with `./config.status config.h'.
6039if test -n "$CONFIG_FILES"; then
6040
6041
6042ac_cr=`echo X | tr X '\015'`
6043# On cygwin, bash can eat \r inside `` if the user requested igncr.
6044# But we know of no other shell where ac_cr would be empty at this
6045# point, so we can use a bashism as a fallback.
6046if test "x$ac_cr" = x; then
6047 eval ac_cr=\$\'\\r\'
6048fi
6049ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6050if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6051 ac_cs_awk_cr='\\r'
6052else
6053 ac_cs_awk_cr=$ac_cr
6054fi
6055
6056echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6057_ACEOF
6058
6059
6060{
6061 echo "cat >conf$$subs.awk <<_ACEOF" &&
6062 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6063 echo "_ACEOF"
6064} >conf$$subs.sh ||
6065 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6066ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6067ac_delim='%!_!# '
6068for ac_last_try in false false false false false :; do
6069 . ./conf$$subs.sh ||
6070 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6071
6072 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6073 if test $ac_delim_n = $ac_delim_num; then
6074 break
6075 elif $ac_last_try; then
6076 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6077 else
6078 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6079 fi
6080done
6081rm -f conf$$subs.sh
6082
6083cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6084cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6085_ACEOF
6086sed -n '
6087h
6088s/^/S["/; s/!.*/"]=/
6089p
6090g
6091s/^[^!]*!//
6092:repl
6093t repl
6094s/'"$ac_delim"'$//
6095t delim
6096:nl
6097h
6098s/\(.\{148\}\)..*/\1/
6099t more1
6100s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6101p
6102n
6103b repl
6104:more1
6105s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6106p
6107g
6108s/.\{148\}//
6109t nl
6110:delim
6111h
6112s/\(.\{148\}\)..*/\1/
6113t more2
6114s/["\\]/\\&/g; s/^/"/; s/$/"/
6115p
6116b
6117:more2
6118s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6119p
6120g
6121s/.\{148\}//
6122t delim
6123' <conf$$subs.awk | sed '
6124/^[^""]/{
6125 N
6126 s/\n//
6127}
6128' >>$CONFIG_STATUS || ac_write_fail=1
6129rm -f conf$$subs.awk
6130cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6131_ACAWK
6132cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6133 for (key in S) S_is_set[key] = 1
6134 FS = ""
6135
6136}
6137{
6138 line = $ 0
6139 nfields = split(line, field, "@")
6140 substed = 0
6141 len = length(field[1])
6142 for (i = 2; i < nfields; i++) {
6143 key = field[i]
6144 keylen = length(key)
6145 if (S_is_set[key]) {
6146 value = S[key]
6147 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6148 len += length(value) + length(field[++i])
6149 substed = 1
6150 } else
6151 len += 1 + keylen
6152 }
6153
6154 print line
6155}
6156
6157_ACAWK
6158_ACEOF
6159cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6160if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6161 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6162else
6163 cat
6164fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6165 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6166_ACEOF
6167
6168# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6169# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6170# trailing colons and then remove the whole line if VPATH becomes empty
6171# (actually we leave an empty line to preserve line numbers).
6172if test "x$srcdir" = x.; then
6173 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6174h
6175s///
6176s/^/:/
6177s/[ ]*$/:/
6178s/:\$(srcdir):/:/g
6179s/:\${srcdir}:/:/g
6180s/:@srcdir@:/:/g
6181s/^:*//
6182s/:*$//
6183x
6184s/\(=[ ]*\).*/\1/
6185G
6186s/\n//
6187s/^[^=]*=[ ]*$//
6188}'
6189fi
6190
6191cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6192fi # test -n "$CONFIG_FILES"
6193
6194# Set up the scripts for CONFIG_HEADERS section.
6195# No need to generate them if there are no CONFIG_HEADERS.
6196# This happens for instance with `./config.status Makefile'.
6197if test -n "$CONFIG_HEADERS"; then
6198cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6199BEGIN {
6200_ACEOF
6201
6202# Transform confdefs.h into an awk script `defines.awk', embedded as
6203# here-document in config.status, that substitutes the proper values into
6204# config.h.in to produce config.h.
6205
6206# Create a delimiter string that does not exist in confdefs.h, to ease
6207# handling of long lines.
6208ac_delim='%!_!# '
6209for ac_last_try in false false :; do
6210 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6211 if test -z "$ac_tt"; then
6212 break
6213 elif $ac_last_try; then
6214 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6215 else
6216 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6217 fi
6218done
6219
6220# For the awk script, D is an array of macro values keyed by name,
6221# likewise P contains macro parameters if any. Preserve backslash
6222# newline sequences.
6223
6224ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6225sed -n '
6226s/.\{148\}/&'"$ac_delim"'/g
6227t rset
6228:rset
6229s/^[ ]*#[ ]*define[ ][ ]*/ /
6230t def
6231d
6232:def
6233s/\\$//
6234t bsnl
6235s/["\\]/\\&/g
6236s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6237D["\1"]=" \3"/p
6238s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6239d
6240:bsnl
6241s/["\\]/\\&/g
6242s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6243D["\1"]=" \3\\\\\\n"\\/p
6244t cont
6245s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6246t cont
6247d
6248:cont
6249n
6250s/.\{148\}/&'"$ac_delim"'/g
6251t clear
6252:clear
6253s/\\$//
6254t bsnlc
6255s/["\\]/\\&/g; s/^/"/; s/$/"/p
6256d
6257:bsnlc
6258s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6259b cont
6260' <confdefs.h | sed '
6261s/'"$ac_delim"'/"\\\
6262"/g' >>$CONFIG_STATUS || ac_write_fail=1
6263
6264cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6265 for (key in D) D_is_set[key] = 1
6266 FS = ""
6267}
6268/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6269 line = \$ 0
6270 split(line, arg, " ")
6271 if (arg[1] == "#") {
6272 defundef = arg[2]
6273 mac1 = arg[3]
6274 } else {
6275 defundef = substr(arg[1], 2)
6276 mac1 = arg[2]
6277 }
6278 split(mac1, mac2, "(") #)
6279 macro = mac2[1]
6280 prefix = substr(line, 1, index(line, defundef) - 1)
6281 if (D_is_set[macro]) {
6282 # Preserve the white space surrounding the "#".
6283 print prefix "define", macro P[macro] D[macro]
6284 next
6285 } else {
6286 # Replace #undef with comments. This is necessary, for example,
6287 # in the case of _POSIX_SOURCE, which is predefined and required
6288 # on some systems where configure will not decide to define it.
6289 if (defundef == "undef") {
6290 print "/*", prefix defundef, macro, "*/"
6291 next
6292 }
6293 }
6294}
6295{ print }
6296_ACAWK
6297_ACEOF
6298cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6299 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6300fi # test -n "$CONFIG_HEADERS"
6301
6302
6303eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6304shift
6305for ac_tag
6306do
6307 case $ac_tag in
6308 :[FHLC]) ac_mode=$ac_tag; continue;;
6309 esac
6310 case $ac_mode$ac_tag in
6311 :[FHL]*:*);;
6312 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6313 :[FH]-) ac_tag=-:-;;
6314 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6315 esac
6316 ac_save_IFS=$IFS
6317 IFS=:
6318 set x $ac_tag
6319 IFS=$ac_save_IFS
6320 shift
6321 ac_file=$1
6322 shift
6323
6324 case $ac_mode in
6325 :L) ac_source=$1;;
6326 :[FH])
6327 ac_file_inputs=
6328 for ac_f
6329 do
6330 case $ac_f in
6331 -) ac_f="$ac_tmp/stdin";;
6332 *) # Look for the file first in the build tree, then in the source tree
6333 # (if the path is not absolute). The absolute path cannot be DOS-style,
6334 # because $ac_f cannot contain `:'.
6335 test -f "$ac_f" ||
6336 case $ac_f in
6337 [\\/$]*) false;;
6338 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6339 esac ||
6340 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6341 esac
6342 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6343 as_fn_append ac_file_inputs " '$ac_f'"
6344 done
6345
6346 # Let's still pretend it is `configure' which instantiates (i.e., don't
6347 # use $as_me), people would be surprised to read:
6348 # /* config.h. Generated by config.status. */
6349 configure_input='Generated from '`
6350 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6351 `' by configure.'
6352 if test x"$ac_file" != x-; then
6353 configure_input="$ac_file. $configure_input"
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6355$as_echo "$as_me: creating $ac_file" >&6;}
6356 fi
6357 # Neutralize special characters interpreted by sed in replacement strings.
6358 case $configure_input in #(
6359 *\&* | *\|* | *\\* )
6360 ac_sed_conf_input=`$as_echo "$configure_input" |
6361 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6362 *) ac_sed_conf_input=$configure_input;;
6363 esac
6364
6365 case $ac_tag in
6366 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6367 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6368 esac
6369 ;;
6370 esac
6371
6372 ac_dir=`$as_dirname -- "$ac_file" ||
6373$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6374 X"$ac_file" : 'X\(//\)[^/]' \| \
6375 X"$ac_file" : 'X\(//\)$' \| \
6376 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6377$as_echo X"$ac_file" |
6378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6379 s//\1/
6380 q
6381 }
6382 /^X\(\/\/\)[^/].*/{
6383 s//\1/
6384 q
6385 }
6386 /^X\(\/\/\)$/{
6387 s//\1/
6388 q
6389 }
6390 /^X\(\/\).*/{
6391 s//\1/
6392 q
6393 }
6394 s/.*/./; q'`
6395 as_dir="$ac_dir"; as_fn_mkdir_p
7033 ac_builddir=. 6396 ac_builddir=.
7034 6397
7035case "$ac_dir" in 6398case "$ac_dir" in
7036.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 6399.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7037*) 6400*)
7038 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 6401 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7039 # A ".." for each directory in $ac_dir_suffix. 6402 # A ".." for each directory in $ac_dir_suffix.
7040 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 6403 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7041 case $ac_top_builddir_sub in 6404 case $ac_top_builddir_sub in
7042 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 6405 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7043 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 6406 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7044 esac ;; 6407 esac ;;
7045esac 6408esac
7073 6436
7074 case $INSTALL in 6437 case $INSTALL in
7075 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 6438 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7076 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 6439 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7077 esac 6440 esac
6441 ac_MKDIR_P=$MKDIR_P
6442 case $MKDIR_P in
6443 [\\/$]* | ?:[\\/]* ) ;;
6444 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6445 esac
7078_ACEOF 6446_ACEOF
7079 6447
7080cat >>$CONFIG_STATUS <<\_ACEOF 6448cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7081# If the template does not know about datarootdir, expand it. 6449# If the template does not know about datarootdir, expand it.
7082# FIXME: This hack should be removed a few years after 2.60. 6450# FIXME: This hack should be removed a few years after 2.60.
7083ac_datarootdir_hack=; ac_datarootdir_seen= 6451ac_datarootdir_hack=; ac_datarootdir_seen=
7084 6452ac_sed_dataroot='
7085case `sed -n '/datarootdir/ { 6453/datarootdir/ {
7086 p 6454 p
7087 q 6455 q
7088} 6456}
7089/@datadir@/p 6457/@datadir@/p
7090/@docdir@/p 6458/@docdir@/p
7091/@infodir@/p 6459/@infodir@/p
7092/@localedir@/p 6460/@localedir@/p
7093/@mandir@/p 6461/@mandir@/p'
7094' $ac_file_inputs` in 6462case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7095*datarootdir*) ac_datarootdir_seen=yes;; 6463*datarootdir*) ac_datarootdir_seen=yes;;
7096*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 6464*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7097 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 6465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7098echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 6466$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7099_ACEOF 6467_ACEOF
7100cat >>$CONFIG_STATUS <<_ACEOF 6468cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7101 ac_datarootdir_hack=' 6469 ac_datarootdir_hack='
7102 s&@datadir@&$datadir&g 6470 s&@datadir@&$datadir&g
7103 s&@docdir@&$docdir&g 6471 s&@docdir@&$docdir&g
7104 s&@infodir@&$infodir&g 6472 s&@infodir@&$infodir&g
7105 s&@localedir@&$localedir&g 6473 s&@localedir@&$localedir&g
7106 s&@mandir@&$mandir&g 6474 s&@mandir@&$mandir&g
7107 s&\\\${datarootdir}&$datarootdir&g' ;; 6475 s&\\\${datarootdir}&$datarootdir&g' ;;
7108esac 6476esac
7109_ACEOF 6477_ACEOF
7110 6478
7111# Neutralize VPATH when `$srcdir' = `.'. 6479# Neutralize VPATH when `$srcdir' = `.'.
7112# Shell code in configure.ac might set extrasub. 6480# Shell code in configure.ac might set extrasub.
7113# FIXME: do we really want to maintain this feature? 6481# FIXME: do we really want to maintain this feature?
7114cat >>$CONFIG_STATUS <<_ACEOF 6482cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7115 sed "$ac_vpsub 6483ac_sed_extra="$ac_vpsub
7116$extrasub 6484$extrasub
7117_ACEOF 6485_ACEOF
7118cat >>$CONFIG_STATUS <<\_ACEOF 6486cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7119:t 6487:t
7120/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6488/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7121s&@configure_input@&$configure_input&;t t 6489s|@configure_input@|$ac_sed_conf_input|;t t
7122s&@top_builddir@&$ac_top_builddir_sub&;t t 6490s&@top_builddir@&$ac_top_builddir_sub&;t t
6491s&@top_build_prefix@&$ac_top_build_prefix&;t t
7123s&@srcdir@&$ac_srcdir&;t t 6492s&@srcdir@&$ac_srcdir&;t t
7124s&@abs_srcdir@&$ac_abs_srcdir&;t t 6493s&@abs_srcdir@&$ac_abs_srcdir&;t t
7125s&@top_srcdir@&$ac_top_srcdir&;t t 6494s&@top_srcdir@&$ac_top_srcdir&;t t
7126s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 6495s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7127s&@builddir@&$ac_builddir&;t t 6496s&@builddir@&$ac_builddir&;t t
7128s&@abs_builddir@&$ac_abs_builddir&;t t 6497s&@abs_builddir@&$ac_abs_builddir&;t t
7129s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 6498s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7130s&@INSTALL@&$ac_INSTALL&;t t 6499s&@INSTALL@&$ac_INSTALL&;t t
6500s&@MKDIR_P@&$ac_MKDIR_P&;t t
7131$ac_datarootdir_hack 6501$ac_datarootdir_hack
7132" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 6502"
6503eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6504 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7133 6505
7134test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6506test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7135 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 6507 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7136 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 6508 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6509 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7137 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7138which seems to be undefined. Please make sure it is defined." >&5 6511which seems to be undefined. Please make sure it is defined" >&5
7139echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6512$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7140which seems to be undefined. Please make sure it is defined." >&2;} 6513which seems to be undefined. Please make sure it is defined" >&2;}
7141 6514
7142 rm -f "$tmp/stdin" 6515 rm -f "$ac_tmp/stdin"
7143 case $ac_file in 6516 case $ac_file in
7144 -) cat "$tmp/out"; rm -f "$tmp/out";; 6517 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7145 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 6518 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7146 esac 6519 esac \
6520 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7147 ;; 6521 ;;
7148 :H) 6522 :H)
7149 # 6523 #
7150 # CONFIG_HEADER 6524 # CONFIG_HEADER
7151 # 6525 #
7152_ACEOF
7153
7154# Transform confdefs.h into a sed script `conftest.defines', that
7155# substitutes the proper values into config.h.in to produce config.h.
7156rm -f conftest.defines conftest.tail
7157# First, append a space to every undef/define line, to ease matching.
7158echo 's/$/ /' >conftest.defines
7159# Then, protect against being on the right side of a sed subst, or in
7160# an unquoted here document, in config.status. If some macros were
7161# called several times there might be several #defines for the same
7162# symbol, which is useless. But do not sort them, since the last
7163# AC_DEFINE must be honored.
7164ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7165# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7166# NAME is the cpp macro being defined, VALUE is the value it is being given.
7167# PARAMS is the parameter list in the macro definition--in most cases, it's
7168# just an empty string.
7169ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
7170ac_dB='\\)[ (].*,\\1define\\2'
7171ac_dC=' '
7172ac_dD=' ,'
7173
7174uniq confdefs.h |
7175 sed -n '
7176 t rset
7177 :rset
7178 s/^[ ]*#[ ]*define[ ][ ]*//
7179 t ok
7180 d
7181 :ok
7182 s/[\\&,]/\\&/g
7183 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
7184 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
7185 ' >>conftest.defines
7186
7187# Remove the space that was appended to ease matching.
7188# Then replace #undef with comments. This is necessary, for
7189# example, in the case of _POSIX_SOURCE, which is predefined and required
7190# on some systems where configure will not decide to define it.
7191# (The regexp can be short, since the line contains either #define or #undef.)
7192echo 's/ $//
7193s,^[ #]*u.*,/* & */,' >>conftest.defines
7194
7195# Break up conftest.defines:
7196ac_max_sed_lines=50
7197
7198# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
7199# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
7200# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
7201# et cetera.
7202ac_in='$ac_file_inputs'
7203ac_out='"$tmp/out1"'
7204ac_nxt='"$tmp/out2"'
7205
7206while :
7207do
7208 # Write a here document:
7209 cat >>$CONFIG_STATUS <<_ACEOF
7210 # First, check the format of the line:
7211 cat >"\$tmp/defines.sed" <<\\CEOF
7212/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
7213/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
7214b
7215:def
7216_ACEOF
7217 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
7218 echo 'CEOF
7219 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
7220 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
7221 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
7222 grep . conftest.tail >/dev/null || break
7223 rm -f conftest.defines
7224 mv conftest.tail conftest.defines
7225done
7226rm -f conftest.defines conftest.tail
7227
7228echo "ac_result=$ac_in" >>$CONFIG_STATUS
7229cat >>$CONFIG_STATUS <<\_ACEOF
7230 if test x"$ac_file" != x-; then 6526 if test x"$ac_file" != x-; then
6527 {
7231 echo "/* $configure_input */" >"$tmp/config.h" 6528 $as_echo "/* $configure_input */" \
7232 cat "$ac_result" >>"$tmp/config.h" 6529 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6530 } >"$ac_tmp/config.h" \
6531 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7233 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 6532 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7234 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 6533 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7235echo "$as_me: $ac_file is unchanged" >&6;} 6534$as_echo "$as_me: $ac_file is unchanged" >&6;}
7236 else 6535 else
7237 rm -f $ac_file 6536 rm -f "$ac_file"
7238 mv "$tmp/config.h" $ac_file 6537 mv "$ac_tmp/config.h" "$ac_file" \
6538 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7239 fi 6539 fi
7240 else 6540 else
7241 echo "/* $configure_input */" 6541 $as_echo "/* $configure_input */" \
7242 cat "$ac_result" 6542 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6543 || as_fn_error $? "could not create -" "$LINENO" 5
7243 fi 6544 fi
7244 rm -f "$tmp/out12"
7245# Compute $ac_file's index in $config_headers. 6545# Compute "$ac_file"'s index in $config_headers.
6546_am_arg="$ac_file"
7246_am_stamp_count=1 6547_am_stamp_count=1
7247for _am_header in $config_headers :; do 6548for _am_header in $config_headers :; do
7248 case $_am_header in 6549 case $_am_header in
7249 $ac_file | $ac_file:* ) 6550 $_am_arg | $_am_arg:* )
7250 break ;; 6551 break ;;
7251 * ) 6552 * )
7252 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 6553 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7253 esac 6554 esac
7254done 6555done
7255echo "timestamp for $ac_file" >`$as_dirname -- $ac_file || 6556echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7256$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6557$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7257 X$ac_file : 'X\(//\)[^/]' \| \ 6558 X"$_am_arg" : 'X\(//\)[^/]' \| \
7258 X$ac_file : 'X\(//\)$' \| \ 6559 X"$_am_arg" : 'X\(//\)$' \| \
7259 X$ac_file : 'X\(/\)' \| . 2>/dev/null || 6560 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7260echo X$ac_file | 6561$as_echo X"$_am_arg" |
7261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6562 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7262 s//\1/ 6563 s//\1/
7263 q 6564 q
7264 } 6565 }
7265 /^X\(\/\/\)[^/].*/{ 6566 /^X\(\/\/\)[^/].*/{
7275 q 6576 q
7276 } 6577 }
7277 s/.*/./; q'`/stamp-h$_am_stamp_count 6578 s/.*/./; q'`/stamp-h$_am_stamp_count
7278 ;; 6579 ;;
7279 6580
7280 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 6581 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7281echo "$as_me: executing $ac_file commands" >&6;} 6582$as_echo "$as_me: executing $ac_file commands" >&6;}
7282 ;; 6583 ;;
7283 esac 6584 esac
7284 6585
7285 6586
7286 case $ac_file$ac_mode in 6587 case $ac_file$ac_mode in
7290 # Check whether this is an Automake generated Makefile or not. 6591 # Check whether this is an Automake generated Makefile or not.
7291 # We used to match only the files named `Makefile.in', but 6592 # We used to match only the files named `Makefile.in', but
7292 # some people rename them; so instead we look at the file content. 6593 # some people rename them; so instead we look at the file content.
7293 # Grep'ing the first line is not enough: some people post-process 6594 # Grep'ing the first line is not enough: some people post-process
7294 # each Makefile.in and add a new line on top of each file to say so. 6595 # each Makefile.in and add a new line on top of each file to say so.
7295 # So let's grep whole file. 6596 # Grep'ing the whole file is not good either: AIX grep has a line
6597 # limit of 2048, but all sed's we know have understand at least 4000.
7296 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 6598 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7297 dirpart=`$as_dirname -- "$mf" || 6599 dirpart=`$as_dirname -- "$mf" ||
7298$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6600$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7299 X"$mf" : 'X\(//\)[^/]' \| \ 6601 X"$mf" : 'X\(//\)[^/]' \| \
7300 X"$mf" : 'X\(//\)$' \| \ 6602 X"$mf" : 'X\(//\)$' \| \
7301 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 6603 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7302echo X"$mf" | 6604$as_echo X"$mf" |
7303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6605 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7304 s//\1/ 6606 s//\1/
7305 q 6607 q
7306 } 6608 }
7307 /^X\(\/\/\)[^/].*/{ 6609 /^X\(\/\/\)[^/].*/{
7318 } 6620 }
7319 s/.*/./; q'` 6621 s/.*/./; q'`
7320 else 6622 else
7321 continue 6623 continue
7322 fi 6624 fi
7323 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 6625 # Extract the definition of DEPDIR, am__include, and am__quote
7324 # Extract the definition of DEP_FILES from the Makefile without 6626 # from the Makefile without running `make'.
7325 # running `make'.
7326 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 6627 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7327 test -z "$DEPDIR" && continue 6628 test -z "$DEPDIR" && continue
6629 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6630 test -z "am__include" && continue
6631 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7328 # When using ansi2knr, U may be empty or an underscore; expand it 6632 # When using ansi2knr, U may be empty or an underscore; expand it
7329 U=`sed -n -e '/^U = / s///p' < "$mf"` 6633 U=`sed -n 's/^U = //p' < "$mf"`
7330 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 6634 # Find all dependency output files, they are included files with
7331 # We invoke sed twice because it is the simplest approach to 6635 # $(DEPDIR) in their names. We invoke sed twice because it is the
7332 # changing $(DEPDIR) to its actual value in the expansion. 6636 # simplest approach to changing $(DEPDIR) to its actual value in the
6637 # expansion.
7333 for file in `sed -n -e ' 6638 for file in `sed -n "
7334 /^DEP_FILES = .*\\\\$/ { 6639 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7335 s/^DEP_FILES = //
7336 :loop
7337 s/\\\\$//
7338 p
7339 n
7340 /\\\\$/ b loop
7341 p
7342 }
7343 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7344 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 6640 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7345 # Make sure the directory exists. 6641 # Make sure the directory exists.
7346 test -f "$dirpart/$file" && continue 6642 test -f "$dirpart/$file" && continue
7347 fdir=`$as_dirname -- "$file" || 6643 fdir=`$as_dirname -- "$file" ||
7348$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6644$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7349 X"$file" : 'X\(//\)[^/]' \| \ 6645 X"$file" : 'X\(//\)[^/]' \| \
7350 X"$file" : 'X\(//\)$' \| \ 6646 X"$file" : 'X\(//\)$' \| \
7351 X"$file" : 'X\(/\)' \| . 2>/dev/null || 6647 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7352echo X"$file" | 6648$as_echo X"$file" |
7353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6649 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7354 s//\1/ 6650 s//\1/
7355 q 6651 q
7356 } 6652 }
7357 /^X\(\/\/\)[^/].*/{ 6653 /^X\(\/\/\)[^/].*/{
7365 /^X\(\/\).*/{ 6661 /^X\(\/\).*/{
7366 s//\1/ 6662 s//\1/
7367 q 6663 q
7368 } 6664 }
7369 s/.*/./; q'` 6665 s/.*/./; q'`
7370 { as_dir=$dirpart/$fdir 6666 as_dir=$dirpart/$fdir; as_fn_mkdir_p
7371 case $as_dir in #(
7372 -*) as_dir=./$as_dir;;
7373 esac
7374 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7375 as_dirs=
7376 while :; do
7377 case $as_dir in #(
7378 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7379 *) as_qdir=$as_dir;;
7380 esac
7381 as_dirs="'$as_qdir' $as_dirs"
7382 as_dir=`$as_dirname -- "$as_dir" ||
7383$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7384 X"$as_dir" : 'X\(//\)[^/]' \| \
7385 X"$as_dir" : 'X\(//\)$' \| \
7386 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7387echo X"$as_dir" |
7388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7389 s//\1/
7390 q
7391 }
7392 /^X\(\/\/\)[^/].*/{
7393 s//\1/
7394 q
7395 }
7396 /^X\(\/\/\)$/{
7397 s//\1/
7398 q
7399 }
7400 /^X\(\/\).*/{
7401 s//\1/
7402 q
7403 }
7404 s/.*/./; q'`
7405 test -d "$as_dir" && break
7406 done
7407 test -z "$as_dirs" || eval "mkdir $as_dirs"
7408 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7409echo "$as_me: error: cannot create directory $as_dir" >&2;}
7410 { (exit 1); exit 1; }; }; }
7411 # echo "creating $dirpart/$file" 6667 # echo "creating $dirpart/$file"
7412 echo '# dummy' > "$dirpart/$file" 6668 echo '# dummy' > "$dirpart/$file"
7413 done 6669 done
7414done 6670done
7415 ;; 6671 ;;
7416 6672
7417 esac 6673 esac
7418done # for ac_tag 6674done # for ac_tag
7419 6675
7420 6676
7421{ (exit 0); exit 0; } 6677as_fn_exit 0
7422_ACEOF 6678_ACEOF
7423chmod +x $CONFIG_STATUS
7424ac_clean_files=$ac_clean_files_save 6679ac_clean_files=$ac_clean_files_save
6680
6681test $ac_write_fail = 0 ||
6682 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7425 6683
7426 6684
7427# configure is writing to config.log, and then calls config.status. 6685# configure is writing to config.log, and then calls config.status.
7428# config.status does its own redirection, appending to config.log. 6686# config.status does its own redirection, appending to config.log.
7429# Unfortunately, on DOS this fails, as config.log is still kept open 6687# Unfortunately, on DOS this fails, as config.log is still kept open
7440 exec 5>/dev/null 6698 exec 5>/dev/null
7441 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6699 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7442 exec 5>>config.log 6700 exec 5>>config.log
7443 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6701 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7444 # would make configure fail if this is the last instruction. 6702 # would make configure fail if this is the last instruction.
7445 $ac_cs_success || { (exit 1); exit 1; } 6703 $ac_cs_success || as_fn_exit 1
7446fi 6704fi
6705if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6707$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6708fi
7447 6709

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines