9
by Arnold D. Robbins
Moving to 2.13.2. |
1 |
#! /bin/sh
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
2 |
# Guess values for system-dependent variables and create Makefiles.
|
731.14.38
by Arnold D. Robbins
Change version towards next release. |
3 |
# Generated by GNU Autoconf 2.69 for GNU Awk 4.2.60.
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
4 |
#
|
5 |
# Report bugs to <bug-gawk@gnu.org>.
|
|
6 |
#
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7 |
#
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
8 |
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
|
36
by Arnold D. Robbins
Move to 3.1.8. |
9 |
#
|
10 |
#
|
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
11 |
# This configure script is free software; the Free Software Foundation
|
12 |
# gives unlimited permission to copy, distribute and modify it.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
13 |
## -------------------- ##
|
14 |
## M4sh Initialization. ##
|
|
15 |
## -------------------- ##
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
16 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
17 |
# Be more Bourne compatible
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
18 |
DUALCASE=1; export DUALCASE # for MKS sh |
36
by Arnold D. Robbins
Move to 3.1.8. |
19 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
20 |
emulate sh |
21 |
NULLCMD=: |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
22 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
23 |
# is contrary to our usage. Disable this feature.
|
24 |
alias -g '${1+"$@"}'='"$@"' |
|
25 |
setopt NO_GLOB_SUBST |
|
26 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
27 |
case `(set -o) 2>/dev/null` in #( |
28 |
*posix*) :
|
|
29 |
set -o posix ;; #( |
|
30 |
*) :
|
|
31 |
;;
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
32 |
esac
|
33 |
fi
|
|
34 |
||
35 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
36 |
as_nl=' |
37 |
'
|
|
38 |
export as_nl
|
|
39 |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
|
40 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
41 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
42 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
43 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
44 |
# but without wasting forks for bash or zsh.
|
|
45 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
46 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
47 |
as_echo='print -r --' |
|
48 |
as_echo_n='print -rn --' |
|
49 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
50 |
as_echo='printf %s\n' |
51 |
as_echo_n='printf %s' |
|
52 |
else
|
|
53 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
54 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
55 |
as_echo_n='/usr/ucb/echo -n' |
|
56 |
else
|
|
57 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
58 |
as_echo_n_body='eval |
|
59 |
arg=$1;
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
60 |
case $arg in #(
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
61 |
*"$as_nl"*)
|
62 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
|
63 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
64 |
esac;
|
|
65 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|
66 |
'
|
|
67 |
export as_echo_n_body
|
|
68 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
69 |
fi
|
|
70 |
export as_echo_body
|
|
71 |
as_echo='sh -c $as_echo_body as_echo' |
|
72 |
fi
|
|
73 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
74 |
# The user is always right.
|
75 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
76 |
PATH_SEPARATOR=: |
77 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
78 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
79 |
PATH_SEPARATOR=';' |
|
80 |
}
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
81 |
fi
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
82 |
|
83 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
84 |
# IFS
|
85 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
86 |
# there to prevent editors from complaining about space-tab.
|
|
87 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
|
88 |
# splitting by setting IFS to empty value.)
|
|
89 |
IFS=" "" $as_nl" |
|
90 |
||
91 |
# Find who we are. Look in the path if we contain no directory separator.
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
92 |
as_myself= |
36
by Arnold D. Robbins
Move to 3.1.8. |
93 |
case $0 in #(( |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
94 |
*[\\/]* ) as_myself=$0 ;; |
95 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
96 |
for as_dir in $PATH |
|
97 |
do
|
|
98 |
IFS=$as_save_IFS |
|
99 |
test -z "$as_dir" && as_dir=. |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
100 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
101 |
done
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
102 |
IFS=$as_save_IFS |
103 |
||
104 |
;;
|
|
105 |
esac
|
|
106 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
107 |
# in which case we are not to be found in the path.
|
|
108 |
if test "x$as_myself" = x; then |
|
109 |
as_myself=$0 |
|
110 |
fi
|
|
111 |
if test ! -f "$as_myself"; then |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
112 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
36
by Arnold D. Robbins
Move to 3.1.8. |
113 |
exit 1 |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
114 |
fi
|
115 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
116 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
117 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
118 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
119 |
# trigger a bug in pdksh 5.2.14.
|
|
120 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
121 |
do eval test x\${$as_var+set} = xset \ |
|
122 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
123 |
done
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
124 |
PS1='$ ' |
125 |
PS2='> ' |
|
126 |
PS4='+ ' |
|
127 |
||
128 |
# NLS nuisances.
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
129 |
LC_ALL=C |
130 |
export LC_ALL
|
|
131 |
LANGUAGE=C |
|
132 |
export LANGUAGE
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
133 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
134 |
# CDPATH.
|
36
by Arnold D. Robbins
Move to 3.1.8. |
135 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
136 |
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
137 |
# Use a proper internal environment variable to ensure we don't fall
|
138 |
# into an infinite loop, continuously re-executing ourselves.
|
|
139 |
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
|
140 |
_as_can_reexec=no; export _as_can_reexec; |
|
141 |
# We cannot yet assume a decent shell, so we have to provide a
|
|
142 |
# neutralization value for shells without unset; and this also
|
|
143 |
# works around shells that cannot unset nonexistent variables.
|
|
144 |
# Preserve -v and -x to the replacement shell.
|
|
145 |
BASH_ENV=/dev/null |
|
146 |
ENV=/dev/null |
|
147 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
148 |
case $- in # (((( |
|
149 |
*v*x* | *x*v* ) as_opts=-vx ;; |
|
150 |
*v* ) as_opts=-v ;; |
|
151 |
*x* ) as_opts=-x ;; |
|
152 |
* ) as_opts= ;; |
|
153 |
esac
|
|
154 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
155 |
# Admittedly, this is quite paranoid, since all the known shells bail
|
|
156 |
# out after a failed `exec'.
|
|
157 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
158 |
as_fn_exit 255
|
|
159 |
fi
|
|
160 |
# We don't want this to propagate to other subprocesses.
|
|
161 |
{ _as_can_reexec=; unset _as_can_reexec;} |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
162 |
if test "x$CONFIG_SHELL" = x; then |
36
by Arnold D. Robbins
Move to 3.1.8. |
163 |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
164 |
emulate sh
|
|
165 |
NULLCMD=:
|
|
166 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
|
167 |
# is contrary to our usage. Disable this feature.
|
|
168 |
alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
|
169 |
setopt NO_GLOB_SUBST
|
|
170 |
else
|
|
171 |
case \`(set -o) 2>/dev/null\` in #(
|
|
172 |
*posix*) :
|
|
173 |
set -o posix ;; #(
|
|
174 |
*) :
|
|
175 |
;;
|
|
176 |
esac
|
|
177 |
fi
|
|
178 |
"
|
|
179 |
as_required="as_fn_return () { (exit \$1); } |
|
180 |
as_fn_success () { as_fn_return 0; }
|
|
181 |
as_fn_failure () { as_fn_return 1; }
|
|
182 |
as_fn_ret_success () { return 0; }
|
|
183 |
as_fn_ret_failure () { return 1; }
|
|
184 |
||
185 |
exitcode=0
|
|
186 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
|
187 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
|
188 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
|
189 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
|
190 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
|
191 |
||
192 |
else
|
|
193 |
exitcode=1; echo positional parameters were not saved.
|
|
194 |
fi
|
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
195 |
test x\$exitcode = x0 || exit 1
|
196 |
test -x / || exit 1"
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
197 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
198 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
|
199 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
|
200 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
|
319.2.12
by Andrew J. Schorr
Move libtool from top configure.ac into extension directory. |
201 |
test \$(( 1 + 1 )) = 2 || exit 1"
|
36
by Arnold D. Robbins
Move to 3.1.8. |
202 |
if (eval "$as_required") 2>/dev/null; then : |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
203 |
as_have_required=yes |
204 |
else
|
|
205 |
as_have_required=no |
|
206 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
207 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
208 |
||
209 |
else
|
|
210 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
211 |
as_found=false |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
212 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
213 |
do
|
|
214 |
IFS=$as_save_IFS |
|
215 |
test -z "$as_dir" && as_dir=. |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
216 |
as_found=: |
217 |
case $as_dir in #( |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
218 |
/*)
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
219 |
for as_base in sh bash ksh sh5; do |
36
by Arnold D. Robbins
Move to 3.1.8. |
220 |
# Try only shells that exist, to save several forks.
|
221 |
as_shell=$as_dir/$as_base |
|
222 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|
223 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
224 |
CONFIG_SHELL=$as_shell as_have_required=yes |
|
225 |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
226 |
break 2 |
|
227 |
fi
|
|
228 |
fi
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
229 |
done;; |
230 |
esac
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
231 |
as_found=false |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
232 |
done
|
36
by Arnold D. Robbins
Move to 3.1.8. |
233 |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
234 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
|
235 |
CONFIG_SHELL=$SHELL as_have_required=yes |
|
236 |
fi; } |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
237 |
IFS=$as_save_IFS |
238 |
||
239 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
240 |
if test "x$CONFIG_SHELL" != x; then : |
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
241 |
export CONFIG_SHELL
|
242 |
# We cannot yet assume a decent shell, so we have to provide a
|
|
243 |
# neutralization value for shells without unset; and this also
|
|
244 |
# works around shells that cannot unset nonexistent variables.
|
|
245 |
# Preserve -v and -x to the replacement shell.
|
|
246 |
BASH_ENV=/dev/null |
|
247 |
ENV=/dev/null |
|
248 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
249 |
case $- in # (((( |
|
250 |
*v*x* | *x*v* ) as_opts=-vx ;; |
|
251 |
*v* ) as_opts=-v ;; |
|
252 |
*x* ) as_opts=-x ;; |
|
253 |
* ) as_opts= ;; |
|
254 |
esac
|
|
255 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
256 |
# Admittedly, this is quite paranoid, since all the known shells bail
|
|
257 |
# out after a failed `exec'.
|
|
258 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
259 |
exit 255 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
260 |
fi
|
261 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
262 |
if test x$as_have_required = xno; then : |
263 |
$as_echo "$0: This script requires a shell more modern than all" |
|
264 |
$as_echo "$0: the shells that I found on your system." |
|
265 |
if test x${ZSH_VERSION+set} = xset ; then |
|
266 |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
|
267 |
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
|
268 |
else
|
|
269 |
$as_echo "$0: Please tell bug-autoconf@gnu.org and bug-gawk@gnu.org |
|
270 |
$0: about your system, including any error possibly output |
|
271 |
$0: before this message. Then install a modern shell, or |
|
272 |
$0: manually run the script under such a shell if you do |
|
273 |
$0: have one." |
|
274 |
fi
|
|
275 |
exit 1 |
|
276 |
fi
|
|
277 |
fi
|
|
278 |
fi
|
|
279 |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
280 |
export SHELL
|
|
281 |
# Unset more variables known to interfere with behavior of common tools.
|
|
282 |
CLICOLOR_FORCE= GREP_OPTIONS= |
|
283 |
unset CLICOLOR_FORCE GREP_OPTIONS
|
|
284 |
||
285 |
## --------------------- ##
|
|
286 |
## M4sh Shell Functions. ##
|
|
287 |
## --------------------- ##
|
|
288 |
# as_fn_unset VAR
|
|
289 |
# ---------------
|
|
290 |
# Portably unset VAR.
|
|
291 |
as_fn_unset ()
|
|
292 |
{
|
|
293 |
{ eval $1=; unset $1;} |
|
294 |
}
|
|
295 |
as_unset=as_fn_unset |
|
296 |
||
297 |
# as_fn_set_status STATUS
|
|
298 |
# -----------------------
|
|
299 |
# Set $? to STATUS, without forking.
|
|
300 |
as_fn_set_status ()
|
|
301 |
{
|
|
302 |
return $1 |
|
303 |
} # as_fn_set_status |
|
304 |
||
305 |
# as_fn_exit STATUS
|
|
306 |
# -----------------
|
|
307 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
308 |
as_fn_exit ()
|
|
309 |
{
|
|
310 |
set +e
|
|
311 |
as_fn_set_status $1
|
|
312 |
exit $1 |
|
313 |
} # as_fn_exit |
|
314 |
||
315 |
# as_fn_mkdir_p
|
|
316 |
# -------------
|
|
317 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
318 |
as_fn_mkdir_p ()
|
|
319 |
{
|
|
320 |
||
321 |
case $as_dir in #( |
|
322 |
-*) as_dir=./$as_dir;; |
|
323 |
esac
|
|
324 |
test -d "$as_dir" || eval $as_mkdir_p || { |
|
325 |
as_dirs= |
|
326 |
while :; do |
|
327 |
case $as_dir in #( |
|
328 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
329 |
*) as_qdir=$as_dir;; |
|
330 |
esac
|
|
331 |
as_dirs="'$as_qdir' $as_dirs" |
|
332 |
as_dir=`$as_dirname -- "$as_dir" || |
|
333 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
334 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
335 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
336 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
337 |
$as_echo X"$as_dir" | |
|
338 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
339 |
s//\1/
|
|
340 |
q
|
|
341 |
}
|
|
342 |
/^X\(\/\/\)[^/].*/{
|
|
343 |
s//\1/
|
|
344 |
q
|
|
345 |
}
|
|
346 |
/^X\(\/\/\)$/{
|
|
347 |
s//\1/
|
|
348 |
q
|
|
349 |
}
|
|
350 |
/^X\(\/\).*/{
|
|
351 |
s//\1/
|
|
352 |
q
|
|
353 |
}
|
|
354 |
s/.*/./; q'` |
|
355 |
test -d "$as_dir" && break |
|
356 |
done
|
|
357 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
358 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
36
by Arnold D. Robbins
Move to 3.1.8. |
359 |
|
360 |
||
361 |
} # as_fn_mkdir_p |
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
362 |
|
363 |
# as_fn_executable_p FILE
|
|
364 |
# -----------------------
|
|
365 |
# Test if FILE is an executable regular file.
|
|
366 |
as_fn_executable_p ()
|
|
367 |
{
|
|
368 |
test -f "$1" && test -x "$1" |
|
369 |
} # as_fn_executable_p |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
370 |
# as_fn_append VAR VALUE
|
371 |
# ----------------------
|
|
372 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
373 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
374 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
375 |
# implementations.
|
|
376 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
377 |
eval 'as_fn_append () |
|
378 |
{
|
|
379 |
eval $1+=\$2
|
|
380 |
}'
|
|
381 |
else
|
|
382 |
as_fn_append ()
|
|
383 |
{
|
|
384 |
eval $1=\$$1\$2 |
|
385 |
}
|
|
386 |
fi # as_fn_append |
|
387 |
||
388 |
# as_fn_arith ARG...
|
|
389 |
# ------------------
|
|
390 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
391 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
392 |
# must be portable across $(()) and expr.
|
|
393 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
394 |
eval 'as_fn_arith () |
|
395 |
{
|
|
396 |
as_val=$(( $* ))
|
|
397 |
}'
|
|
398 |
else
|
|
399 |
as_fn_arith ()
|
|
400 |
{
|
|
401 |
as_val=`expr "$@" || test $? -eq 1` |
|
402 |
}
|
|
403 |
fi # as_fn_arith |
|
404 |
||
405 |
||
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
406 |
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
407 |
# ----------------------------------------
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
408 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
409 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
410 |
# script with STATUS, using 1 if that was 0.
|
36
by Arnold D. Robbins
Move to 3.1.8. |
411 |
as_fn_error ()
|
412 |
{
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
413 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
414 |
if test "$4"; then |
|
415 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
416 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
417 |
fi
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
418 |
$as_echo "$as_me: error: $2" >&2 |
36
by Arnold D. Robbins
Move to 3.1.8. |
419 |
as_fn_exit $as_status
|
420 |
} # as_fn_error |
|
421 |
||
422 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
423 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
424 |
as_expr=expr |
|
425 |
else
|
|
426 |
as_expr=false |
|
427 |
fi
|
|
428 |
||
429 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
430 |
as_basename=basename |
|
431 |
else
|
|
432 |
as_basename=false |
|
433 |
fi
|
|
434 |
||
435 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
436 |
as_dirname=dirname |
|
437 |
else
|
|
438 |
as_dirname=false |
|
439 |
fi
|
|
440 |
||
441 |
as_me=`$as_basename -- "$0" || |
|
442 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
443 |
X"$0" : 'X\(//\)$' \| \ |
|
444 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
445 |
$as_echo X/"$0" | |
|
446 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
|
447 |
s//\1/
|
|
448 |
q
|
|
449 |
}
|
|
450 |
/^X\/\(\/\/\)$/{
|
|
451 |
s//\1/
|
|
452 |
q
|
|
453 |
}
|
|
454 |
/^X\/\(\/\).*/{
|
|
455 |
s//\1/
|
|
456 |
q
|
|
457 |
}
|
|
458 |
s/.*/./; q'` |
|
459 |
||
460 |
# Avoid depending upon Character Ranges.
|
|
461 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
462 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
463 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
464 |
as_cr_digits='0123456789' |
|
465 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
466 |
||
467 |
||
468 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO |
|
469 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO |
|
470 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
|
471 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
|
472 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
473 |
sed -n '
|
474 |
p
|
|
475 |
/[$]LINENO/=
|
|
476 |
' <$as_myself | |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
477 |
sed '
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
478 |
s/[$]LINENO.*/&-/
|
479 |
t lineno
|
|
480 |
b
|
|
481 |
:lineno
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
482 |
N
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
483 |
:loop
|
484 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
485 |
t loop
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
486 |
s/-\n.*//
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
487 |
' >$as_me.lineno && |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
488 |
chmod +x "$as_me.lineno" || |
36
by Arnold D. Robbins
Move to 3.1.8. |
489 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
490 |
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
491 |
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
|
492 |
# already done that, so ensure we don't try to do so again and fall
|
|
493 |
# in an infinite loop. This has already happened in practice.
|
|
494 |
_as_can_reexec=no; export _as_can_reexec |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
495 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
496 |
# (the dirname of $[0] is not the place where we might find the
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
497 |
# original and so on. Autoconf is especially sensitive to this).
|
498 |
. "./$as_me.lineno" |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
499 |
# Exit status is that of the last command.
|
500 |
exit
|
|
501 |
}
|
|
502 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
503 |
ECHO_C= ECHO_N= ECHO_T= |
36
by Arnold D. Robbins
Move to 3.1.8. |
504 |
case `echo -n x` in #((((( |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
505 |
-n*)
|
36
by Arnold D. Robbins
Move to 3.1.8. |
506 |
case `echo 'xy\c'` in |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
507 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
36
by Arnold D. Robbins
Move to 3.1.8. |
508 |
xy) ECHO_C='\c';; |
509 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
510 |
ECHO_T=' ';; |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
511 |
esac;; |
512 |
*)
|
|
513 |
ECHO_N='-n';; |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
514 |
esac
|
515 |
||
516 |
rm -f conf$$ conf$$.exe conf$$.file |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
517 |
if test -d conf$$.dir; then |
518 |
rm -f conf$$.dir/conf$$.file |
|
519 |
else
|
|
520 |
rm -f conf$$.dir
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
521 |
mkdir conf$$.dir 2>/dev/null |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
522 |
fi
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
523 |
if (echo >conf$$.file) 2>/dev/null; then |
524 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
525 |
as_ln_s='ln -s' |
|
526 |
# ... but there are two gotchas:
|
|
527 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
528 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
529 |
# In both cases, we have to default to `cp -pR'.
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
530 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
531 |
as_ln_s='cp -pR' |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
532 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
533 |
as_ln_s=ln |
|
534 |
else
|
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
535 |
as_ln_s='cp -pR' |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
536 |
fi
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
537 |
else
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
538 |
as_ln_s='cp -pR' |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
539 |
fi
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
540 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
541 |
rmdir conf$$.dir 2>/dev/null |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
542 |
|
543 |
if mkdir -p . 2>/dev/null; then |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
544 |
as_mkdir_p='mkdir -p "$as_dir"' |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
545 |
else
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
546 |
test -d ./-p && rmdir ./-p |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
547 |
as_mkdir_p=false |
548 |
fi
|
|
549 |
||
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
550 |
as_test_x='test -x' |
551 |
as_executable_p=as_fn_executable_p |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
552 |
|
553 |
# Sed expression to map a string onto a valid CPP name.
|
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
554 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
555 |
|
556 |
# Sed expression to map a string onto a valid variable name.
|
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
557 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
558 |
|
559 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
560 |
test -n "$DJDIR" || exec 7<&0 </dev/null |
561 |
exec 6>&1 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
562 |
|
563 |
# Name of the host.
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
564 |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
565 |
# so uname gets run too.
|
566 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
|
567 |
||
568 |
#
|
|
569 |
# Initializations.
|
|
570 |
#
|
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
571 |
ac_default_prefix=/usr/local |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
572 |
ac_clean_files= |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
573 |
ac_config_libobj_dir=. |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
574 |
LIBOBJS= |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
575 |
cross_compiling=no |
576 |
subdirs= |
|
577 |
MFLAGS= |
|
578 |
MAKEFLAGS= |
|
579 |
||
580 |
# Identity of this package.
|
|
581 |
PACKAGE_NAME='GNU Awk' |
|
582 |
PACKAGE_TARNAME='gawk' |
|
731.14.38
by Arnold D. Robbins
Change version towards next release. |
583 |
PACKAGE_VERSION='4.2.60' |
584 |
PACKAGE_STRING='GNU Awk 4.2.60' |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
585 |
PACKAGE_BUGREPORT='bug-gawk@gnu.org' |
36
by Arnold D. Robbins
Move to 3.1.8. |
586 |
PACKAGE_URL='http://www.gnu.org/software/gawk/' |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
587 |
|
588 |
# Factoring default headers for most tests.
|
|
589 |
ac_includes_default="\ |
|
590 |
#include <stdio.h>
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
591 |
#ifdef HAVE_SYS_TYPES_H
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
592 |
# include <sys/types.h>
|
593 |
#endif
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
594 |
#ifdef HAVE_SYS_STAT_H
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
595 |
# include <sys/stat.h>
|
596 |
#endif
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
597 |
#ifdef STDC_HEADERS
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
598 |
# include <stdlib.h>
|
599 |
# include <stddef.h>
|
|
600 |
#else
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
601 |
# ifdef HAVE_STDLIB_H
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
602 |
# include <stdlib.h>
|
603 |
# endif
|
|
604 |
#endif
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
605 |
#ifdef HAVE_STRING_H
|
606 |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
607 |
# include <memory.h>
|
608 |
# endif
|
|
609 |
# include <string.h>
|
|
610 |
#endif
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
611 |
#ifdef HAVE_STRINGS_H
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
612 |
# include <strings.h>
|
613 |
#endif
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
614 |
#ifdef HAVE_INTTYPES_H
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
615 |
# include <inttypes.h>
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
616 |
#endif
|
617 |
#ifdef HAVE_STDINT_H
|
|
618 |
# include <stdint.h>
|
|
619 |
#endif
|
|
620 |
#ifdef HAVE_UNISTD_H
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
621 |
# include <unistd.h>
|
622 |
#endif"
|
|
623 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
624 |
gt_needs= |
625 |
ac_header_list= |
|
626 |
ac_func_list= |
|
319.2.12
by Andrew J. Schorr
Move libtool from top configure.ac into extension directory. |
627 |
enable_option_checking=no |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
628 |
ac_subst_vars='am__EXEEXT_FALSE |
629 |
am__EXEEXT_TRUE
|
|
630 |
LTLIBOBJS
|
|
319.2.12
by Andrew J. Schorr
Move libtool from top configure.ac into extension directory. |
631 |
subdirs
|
319.2.70
by Andrew J. Schorr
Minor configure.ac/Makefile.am change for more elegant shared library support. |
632 |
GAWKLIBEXT
|
302
by john haque
Finish builtins for MPFR. |
633 |
LIBMPFR
|
40
by Arnold D. Robbins
Bring latest byte code gawk into git. Hurray! |
634 |
LIBREADLINE
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
635 |
SOCKET_LIBS
|
408.21.1
by Arnold D. Robbins
Rework zOS patches; keep separate from autotools. |
636 |
ENABLE_EXTENSIONS_FALSE
|
637 |
ENABLE_EXTENSIONS_TRUE
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
638 |
LIBSIGSEGV_PREFIX
|
639 |
LTLIBSIGSEGV
|
|
640 |
LIBSIGSEGV
|
|
641 |
HAVE_LIBSIGSEGV
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
642 |
LIBOBJS
|
403
by Arnold D. Robbins
Additional changes for cross-compiling. |
643 |
TEST_CROSS_COMPILE_FALSE
|
644 |
TEST_CROSS_COMPILE_TRUE
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
645 |
POSUB
|
646 |
LTLIBINTL
|
|
647 |
LIBINTL
|
|
648 |
INTLLIBS
|
|
649 |
LTLIBICONV
|
|
650 |
LIBICONV
|
|
651 |
INTL_MACOSX_LIBS
|
|
652 |
XGETTEXT_EXTRA_OPTIONS
|
|
653 |
MSGMERGE
|
|
654 |
XGETTEXT_015
|
|
655 |
XGETTEXT
|
|
656 |
GMSGFMT_015
|
|
657 |
MSGFMT_015
|
|
658 |
GMSGFMT
|
|
659 |
MSGFMT
|
|
660 |
GETTEXT_MACRO_VERSION
|
|
661 |
USE_NLS
|
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
662 |
SED
|
299.3.1
by Andrew J. Schorr
xgawk + derived files needed to build |
663 |
acl_shlibext
|
731.1.10
by Arnold D. Robbins
Add small regex fix. Add support directory. |
664 |
RANLIB
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
665 |
LN_S
|
666 |
YFLAGS
|
|
667 |
YACC
|
|
668 |
EGREP
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
669 |
GREP
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
670 |
CPP
|
671 |
am__fastdepCC_FALSE
|
|
672 |
am__fastdepCC_TRUE
|
|
673 |
CCDEPMODE
|
|
277.1.131
by Arnold D. Robbins
Move to automake 1.11.4. |
674 |
am__nodep
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
675 |
AMDEPBACKSLASH
|
676 |
AMDEP_FALSE
|
|
677 |
AMDEP_TRUE
|
|
678 |
am__include
|
|
679 |
DEPDIR
|
|
680 |
OBJEXT
|
|
681 |
EXEEXT
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
682 |
ac_ct_CC
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
683 |
CPPFLAGS
|
684 |
LDFLAGS
|
|
685 |
CFLAGS
|
|
686 |
CC
|
|
408.4.94
by Arnold D. Robbins
Make extensions controlled by configure time option. |
687 |
host_os
|
688 |
host_vendor
|
|
689 |
host_cpu
|
|
690 |
host
|
|
691 |
build_os
|
|
692 |
build_vendor
|
|
693 |
build_cpu
|
|
694 |
build
|
|
731.11.240
by Arnold D. Robbins
Add --enable-versioned-extension-dir configure option. |
695 |
pkgextensiondir
|
408.2.40
by Arnold D. Robbins
Update to automake 1.13.1. |
696 |
AM_BACKSLASH
|
697 |
AM_DEFAULT_VERBOSITY
|
|
698 |
AM_DEFAULT_V
|
|
699 |
AM_V
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
700 |
am__untar
|
701 |
am__tar
|
|
702 |
AMTAR
|
|
703 |
am__leading_dot
|
|
704 |
SET_MAKE
|
|
705 |
AWK
|
|
706 |
mkdir_p
|
|
707 |
MKDIR_P
|
|
708 |
INSTALL_STRIP_PROGRAM
|
|
709 |
STRIP
|
|
710 |
install_sh
|
|
711 |
MAKEINFO
|
|
712 |
AUTOHEADER
|
|
713 |
AUTOMAKE
|
|
714 |
AUTOCONF
|
|
715 |
ACLOCAL
|
|
716 |
VERSION
|
|
717 |
PACKAGE
|
|
718 |
CYGPATH_W
|
|
719 |
am__isrc
|
|
720 |
INSTALL_DATA
|
|
721 |
INSTALL_SCRIPT
|
|
722 |
INSTALL_PROGRAM
|
|
723 |
target_alias
|
|
724 |
host_alias
|
|
725 |
build_alias
|
|
726 |
LIBS
|
|
727 |
ECHO_T
|
|
728 |
ECHO_N
|
|
729 |
ECHO_C
|
|
730 |
DEFS
|
|
731 |
mandir
|
|
732 |
localedir
|
|
733 |
libdir
|
|
734 |
psdir
|
|
735 |
pdfdir
|
|
736 |
dvidir
|
|
737 |
htmldir
|
|
738 |
infodir
|
|
739 |
docdir
|
|
740 |
oldincludedir
|
|
741 |
includedir
|
|
742 |
localstatedir
|
|
743 |
sharedstatedir
|
|
744 |
sysconfdir
|
|
745 |
datadir
|
|
746 |
datarootdir
|
|
747 |
libexecdir
|
|
748 |
sbindir
|
|
749 |
bindir
|
|
750 |
program_transform_name
|
|
751 |
prefix
|
|
752 |
exec_prefix
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
753 |
PACKAGE_URL
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
754 |
PACKAGE_BUGREPORT
|
755 |
PACKAGE_STRING
|
|
756 |
PACKAGE_VERSION
|
|
757 |
PACKAGE_TARNAME
|
|
758 |
PACKAGE_NAME
|
|
759 |
PATH_SEPARATOR
|
|
731.17.29
by Arnold D. Robbins
Upgrade to Automake 1.16.1. |
760 |
SHELL
|
761 |
am__quote'
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
762 |
ac_subst_files='' |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
763 |
ac_user_opts=' |
764 |
enable_option_checking
|
|
408.2.40
by Arnold D. Robbins
Update to automake 1.13.1. |
765 |
enable_silent_rules
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
766 |
enable_lint
|
731.11.53
by Arnold D. Robbins
Rename intdiv to intdiv0, require it to be configured in. |
767 |
enable_builtin_intdiv0
|
731.8.45
by Arnold D. Robbins
Fix 64-bit compilation without MPFR. |
768 |
enable_mpfr
|
731.11.240
by Arnold D. Robbins
Add --enable-versioned-extension-dir configure option. |
769 |
enable_versioned_extension_dir
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
770 |
enable_dependency_tracking
|
771 |
enable_largefile
|
|
772 |
enable_nls
|
|
319.2.12
by Andrew J. Schorr
Move libtool from top configure.ac into extension directory. |
773 |
with_gnu_ld
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
774 |
enable_rpath
|
775 |
with_libiconv_prefix
|
|
776 |
with_libintl_prefix
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
777 |
with_libsigsegv_prefix
|
408.4.94
by Arnold D. Robbins
Make extensions controlled by configure time option. |
778 |
enable_extensions
|
40
by Arnold D. Robbins
Bring latest byte code gawk into git. Hurray! |
779 |
with_readline
|
302
by john haque
Finish builtins for MPFR. |
780 |
with_mpfr
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
781 |
'
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
782 |
ac_precious_vars='build_alias |
783 |
host_alias
|
|
784 |
target_alias
|
|
785 |
CC
|
|
786 |
CFLAGS
|
|
787 |
LDFLAGS
|
|
788 |
LIBS
|
|
789 |
CPPFLAGS
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
790 |
CPP
|
791 |
YACC
|
|
284
by Arnold D. Robbins
Fix warning messages after merge with gawk_performance. |
792 |
YFLAGS'
|
319.2.12
by Andrew J. Schorr
Move libtool from top configure.ac into extension directory. |
793 |
ac_subdirs_all='extension' |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
794 |
|
795 |
# Initialize some variables set by options.
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
796 |
ac_init_help= |
797 |
ac_init_version=false |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
798 |
ac_unrecognized_opts= |
799 |
ac_unrecognized_sep= |
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
800 |
# The variables have the same names as the options, with
|
801 |
# dashes changed to underlines.
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
802 |
cache_file=/dev/null |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
803 |
exec_prefix=NONE |
804 |
no_create= |
|
805 |
no_recursion= |
|
806 |
prefix=NONE |
|
807 |
program_prefix=NONE |
|
808 |
program_suffix=NONE |
|
809 |
program_transform_name=s,x,x, |
|
810 |
silent= |
|
811 |
site= |
|
812 |
srcdir= |
|
813 |
verbose= |
|
814 |
x_includes=NONE |
|
815 |
x_libraries=NONE |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
816 |
|
817 |
# Installation directory options.
|
|
818 |
# These are left unexpanded so users can "make install exec_prefix=/foo"
|
|
819 |
# and all the variables that are supposed to be based on exec_prefix
|
|
820 |
# by default will actually change.
|
|
821 |
# Use braces instead of parens because sh, perl, etc. also accept them.
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
822 |
# (The list follows the same order as the GNU Coding Standards.)
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
823 |
bindir='${exec_prefix}/bin' |
824 |
sbindir='${exec_prefix}/sbin' |
|
825 |
libexecdir='${exec_prefix}/libexec' |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
826 |
datarootdir='${prefix}/share' |
827 |
datadir='${datarootdir}' |
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
828 |
sysconfdir='${prefix}/etc' |
829 |
sharedstatedir='${prefix}/com' |
|
830 |
localstatedir='${prefix}/var' |
|
831 |
includedir='${prefix}/include' |
|
832 |
oldincludedir='/usr/include' |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
833 |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
834 |
infodir='${datarootdir}/info' |
|
835 |
htmldir='${docdir}' |
|
836 |
dvidir='${docdir}' |
|
837 |
pdfdir='${docdir}' |
|
838 |
psdir='${docdir}' |
|
839 |
libdir='${exec_prefix}/lib' |
|
840 |
localedir='${datarootdir}/locale' |
|
841 |
mandir='${datarootdir}/man' |
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
842 |
|
843 |
ac_prev= |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
844 |
ac_dashdash= |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
845 |
for ac_option
|
846 |
do
|
|
847 |
# If the previous option needs an argument, assign it.
|
|
848 |
if test -n "$ac_prev"; then |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
849 |
eval $ac_prev=\$ac_option |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
850 |
ac_prev= |
851 |
continue
|
|
852 |
fi
|
|
853 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
854 |
case $ac_option in |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
855 |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
856 |
*=) ac_optarg= ;; |
|
857 |
*) ac_optarg=yes ;; |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
858 |
esac
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
859 |
|
860 |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
|
861 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
862 |
case $ac_dashdash$ac_option in |
863 |
--)
|
|
864 |
ac_dashdash=yes ;; |
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
865 |
|
866 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
|
867 |
ac_prev=bindir ;; |
|
868 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
869 |
bindir=$ac_optarg ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
870 |
|
871 |
-build | --build | --buil | --bui | --bu) |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
872 |
ac_prev=build_alias ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
873 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
874 |
build_alias=$ac_optarg ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
875 |
|
876 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
|
877 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|
878 |
ac_prev=cache_file ;; |
|
879 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|
880 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
881 |
cache_file=$ac_optarg ;; |
882 |
||
883 |
--config-cache | -C) |
|
884 |
cache_file=config.cache ;; |
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
885 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
886 |
-datadir | --datadir | --datadi | --datad) |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
887 |
ac_prev=datadir ;; |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
888 |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
889 |
datadir=$ac_optarg ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
890 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
891 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
892 |
| --dataroo | --dataro | --datar) |
|
893 |
ac_prev=datarootdir ;; |
|
894 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
|
895 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
|
896 |
datarootdir=$ac_optarg ;; |
|
897 |
||
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
898 |
-disable-* | --disable-*) |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
899 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
900 |
# Reject names that are not valid shell variable names.
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
901 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
902 |
as_fn_error $? "invalid feature name: $ac_useropt" |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
903 |
ac_useropt_orig=$ac_useropt |
904 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
905 |
case $ac_user_opts in |
|
906 |
*"
|
|
907 |
"enable_$ac_useropt" |
|
908 |
"*) ;; |
|
909 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
|
910 |
ac_unrecognized_sep=', ';; |
|
911 |
esac
|
|
912 |
eval enable_$ac_useropt=no ;; |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
913 |
|
914 |
-docdir | --docdir | --docdi | --doc | --do) |
|
915 |
ac_prev=docdir ;; |
|
916 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
|
917 |
docdir=$ac_optarg ;; |
|
918 |
||
919 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
|
920 |
ac_prev=dvidir ;; |
|
921 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
|
922 |
dvidir=$ac_optarg ;; |
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
923 |
|
924 |
-enable-* | --enable-*) |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
925 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
926 |
# Reject names that are not valid shell variable names.
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
927 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
928 |
as_fn_error $? "invalid feature name: $ac_useropt" |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
929 |
ac_useropt_orig=$ac_useropt |
930 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
931 |
case $ac_user_opts in |
|
932 |
*"
|
|
933 |
"enable_$ac_useropt" |
|
934 |
"*) ;; |
|
935 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
|
936 |
ac_unrecognized_sep=', ';; |
|
937 |
esac
|
|
938 |
eval enable_$ac_useropt=\$ac_optarg ;; |
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
939 |
|
940 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
|
941 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|
942 |
| --exec | --exe | --ex) |
|
943 |
ac_prev=exec_prefix ;; |
|
944 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
|
945 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
|
946 |
| --exec=* | --exe=* | --ex=*) |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
947 |
exec_prefix=$ac_optarg ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
948 |
|
949 |
-gas | --gas | --ga | --g) |
|
950 |
# Obsolete; use --with-gas.
|
|
951 |
with_gas=yes ;; |
|
952 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
953 |
-help | --help | --hel | --he | -h) |
954 |
ac_init_help=long ;; |
|
955 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
|
956 |
ac_init_help=recursive ;; |
|
957 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
|
958 |
ac_init_help=short ;; |
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
959 |
|
960 |
-host | --host | --hos | --ho) |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
961 |
ac_prev=host_alias ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
962 |
-host=* | --host=* | --hos=* | --ho=*) |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
963 |
host_alias=$ac_optarg ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
964 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
965 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
966 |
ac_prev=htmldir ;; |
|
967 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
|
968 |
| --ht=*) |
|
969 |
htmldir=$ac_optarg ;; |
|
970 |
||
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
971 |
-includedir | --includedir | --includedi | --included | --include \ |
972 |
| --includ | --inclu | --incl | --inc) |
|
973 |
ac_prev=includedir ;; |
|
974 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
|
975 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
976 |
includedir=$ac_optarg ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
977 |
|
978 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
|
979 |
ac_prev=infodir ;; |
|
980 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
981 |
infodir=$ac_optarg ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
982 |
|
983 |
-libdir | --libdir | --libdi | --libd) |
|
984 |
ac_prev=libdir ;; |
|
985 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
986 |
libdir=$ac_optarg ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
987 |
|
988 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
|
989 |
| --libexe | --libex | --libe) |
|
990 |
ac_prev=libexecdir ;; |
|
991 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
|
992 |
| --libexe=* | --libex=* | --libe=*) |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
993 |
libexecdir=$ac_optarg ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
994 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
995 |
-localedir | --localedir | --localedi | --localed | --locale) |
996 |
ac_prev=localedir ;; |
|
997 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
|
998 |
localedir=$ac_optarg ;; |
|
999 |
||
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1000 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1001 |
| --localstate | --localstat | --localsta | --localst | --locals) |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1002 |
ac_prev=localstatedir ;; |
1003 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1004 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1005 |
localstatedir=$ac_optarg ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1006 |
|
1007 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|
1008 |
ac_prev=mandir ;; |
|
1009 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1010 |
mandir=$ac_optarg ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1011 |
|
1012 |
-nfp | --nfp | --nf) |
|
1013 |
# Obsolete; use --without-fp.
|
|
1014 |
with_fp=no ;; |
|
1015 |
||
1016 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1017 |
| --no-cr | --no-c | -n) |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1018 |
no_create=yes ;; |
1019 |
||
1020 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
1021 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|
1022 |
no_recursion=yes ;; |
|
1023 |
||
1024 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
|
1025 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
|
1026 |
| --oldin | --oldi | --old | --ol | --o) |
|
1027 |
ac_prev=oldincludedir ;; |
|
1028 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
|
1029 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
|
1030 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1031 |
oldincludedir=$ac_optarg ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1032 |
|
1033 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|
1034 |
ac_prev=prefix ;; |
|
1035 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1036 |
prefix=$ac_optarg ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1037 |
|
1038 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
|
1039 |
| --program-pre | --program-pr | --program-p) |
|
1040 |
ac_prev=program_prefix ;; |
|
1041 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
|
1042 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1043 |
program_prefix=$ac_optarg ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1044 |
|
1045 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
|
1046 |
| --program-suf | --program-su | --program-s) |
|
1047 |
ac_prev=program_suffix ;; |
|
1048 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
|
1049 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1050 |
program_suffix=$ac_optarg ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1051 |
|
1052 |
-program-transform-name | --program-transform-name \ |
|
1053 |
| --program-transform-nam | --program-transform-na \ |
|
1054 |
| --program-transform-n | --program-transform- \ |
|
1055 |
| --program-transform | --program-transfor \ |
|
1056 |
| --program-transfo | --program-transf \ |
|
1057 |
| --program-trans | --program-tran \ |
|
1058 |
| --progr-tra | --program-tr | --program-t) |
|
1059 |
ac_prev=program_transform_name ;; |
|
1060 |
-program-transform-name=* | --program-transform-name=* \ |
|
1061 |
| --program-transform-nam=* | --program-transform-na=* \ |
|
1062 |
| --program-transform-n=* | --program-transform-=* \ |
|
1063 |
| --program-transform=* | --program-transfor=* \ |
|
1064 |
| --program-transfo=* | --program-transf=* \ |
|
1065 |
| --program-trans=* | --program-tran=* \ |
|
1066 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1067 |
program_transform_name=$ac_optarg ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1068 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1069 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
1070 |
ac_prev=pdfdir ;; |
|
1071 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
|
1072 |
pdfdir=$ac_optarg ;; |
|
1073 |
||
1074 |
-psdir | --psdir | --psdi | --psd | --ps) |
|
1075 |
ac_prev=psdir ;; |
|
1076 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
|
1077 |
psdir=$ac_optarg ;; |
|
1078 |
||
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1079 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1080 |
| -silent | --silent | --silen | --sile | --sil) |
|
1081 |
silent=yes ;; |
|
1082 |
||
1083 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
|
1084 |
ac_prev=sbindir ;; |
|
1085 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|
1086 |
| --sbi=* | --sb=*) |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1087 |
sbindir=$ac_optarg ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1088 |
|
1089 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
|
1090 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
|
1091 |
| --sharedst | --shareds | --shared | --share | --shar \ |
|
1092 |
| --sha | --sh) |
|
1093 |
ac_prev=sharedstatedir ;; |
|
1094 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
|
1095 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
|
1096 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
|
1097 |
| --sha=* | --sh=*) |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1098 |
sharedstatedir=$ac_optarg ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1099 |
|
1100 |
-site | --site | --sit) |
|
1101 |
ac_prev=site ;; |
|
1102 |
-site=* | --site=* | --sit=*) |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1103 |
site=$ac_optarg ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1104 |
|
1105 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|
1106 |
ac_prev=srcdir ;; |
|
1107 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1108 |
srcdir=$ac_optarg ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1109 |
|
1110 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
|
1111 |
| --syscon | --sysco | --sysc | --sys | --sy) |
|
1112 |
ac_prev=sysconfdir ;; |
|
1113 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
|
1114 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1115 |
sysconfdir=$ac_optarg ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1116 |
|
1117 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1118 |
ac_prev=target_alias ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1119 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1120 |
target_alias=$ac_optarg ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1121 |
|
1122 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
|
1123 |
verbose=yes ;; |
|
1124 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1125 |
-version | --version | --versio | --versi | --vers | -V) |
1126 |
ac_init_version=: ;; |
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1127 |
|
1128 |
-with-* | --with-*) |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
1129 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1130 |
# Reject names that are not valid shell variable names.
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
1131 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1132 |
as_fn_error $? "invalid package name: $ac_useropt" |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
1133 |
ac_useropt_orig=$ac_useropt |
1134 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1135 |
case $ac_user_opts in |
|
1136 |
*"
|
|
1137 |
"with_$ac_useropt" |
|
1138 |
"*) ;; |
|
1139 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
|
1140 |
ac_unrecognized_sep=', ';; |
|
1141 |
esac
|
|
1142 |
eval with_$ac_useropt=\$ac_optarg ;; |
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1143 |
|
1144 |
-without-* | --without-*) |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
1145 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1146 |
# Reject names that are not valid shell variable names.
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
1147 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1148 |
as_fn_error $? "invalid package name: $ac_useropt" |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
1149 |
ac_useropt_orig=$ac_useropt |
1150 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1151 |
case $ac_user_opts in |
|
1152 |
*"
|
|
1153 |
"with_$ac_useropt" |
|
1154 |
"*) ;; |
|
1155 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
|
1156 |
ac_unrecognized_sep=', ';; |
|
1157 |
esac
|
|
1158 |
eval with_$ac_useropt=no ;; |
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1159 |
|
1160 |
--x)
|
|
1161 |
# Obsolete; use --with-x.
|
|
1162 |
with_x=yes ;; |
|
1163 |
||
1164 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
|
1165 |
| --x-incl | --x-inc | --x-in | --x-i) |
|
1166 |
ac_prev=x_includes ;; |
|
1167 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
|
1168 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1169 |
x_includes=$ac_optarg ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1170 |
|
1171 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
|
1172 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
|
1173 |
ac_prev=x_libraries ;; |
|
1174 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
|
1175 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1176 |
x_libraries=$ac_optarg ;; |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1177 |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1178 |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
1179 |
Try \`$0 --help' for more information" |
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1180 |
;;
|
1181 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1182 |
*=*) |
1183 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|
1184 |
# Reject names that are not valid shell variable names.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
1185 |
case $ac_envvar in #( |
1186 |
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1187 |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
36
by Arnold D. Robbins
Move to 3.1.8. |
1188 |
esac
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1189 |
eval $ac_envvar=\$ac_optarg |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1190 |
export $ac_envvar ;; |
1191 |
||
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1192 |
*)
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1193 |
# FIXME: should be removed in autoconf 3.0.
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
1194 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1195 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
1196 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1197 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1198 |
;;
|
1199 |
||
1200 |
esac
|
|
1201 |
done
|
|
1202 |
||
1203 |
if test -n "$ac_prev"; then |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1204 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1205 |
as_fn_error $? "missing argument to $ac_option" |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1206 |
fi
|
1207 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
1208 |
if test -n "$ac_unrecognized_opts"; then |
1209 |
case $enable_option_checking in |
|
1210 |
no) ;; |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1211 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
1212 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1213 |
esac
|
|
1214 |
fi
|
|
1215 |
||
1216 |
# Check all directory arguments for consistency.
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1217 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1218 |
datadir sysconfdir sharedstatedir localstatedir includedir \
|
|
1219 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
|
1220 |
libdir localedir mandir |
|
1221 |
do
|
|
1222 |
eval ac_val=\$$ac_var |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
1223 |
# Remove trailing slashes.
|
1224 |
case $ac_val in |
|
1225 |
*/ )
|
|
1226 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
|
1227 |
eval $ac_var=\$ac_val;; |
|
1228 |
esac
|
|
1229 |
# Be sure to have absolute directory names.
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1230 |
case $ac_val in |
1231 |
[\\/$]* | ?:[\\/]* ) continue;; |
|
1232 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
|
1233 |
esac
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1234 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1235 |
done
|
1236 |
||
1237 |
# There might be people who depend on the old broken behavior: `$host'
|
|
1238 |
# used to hold the argument of --host etc.
|
|
1239 |
# FIXME: To remove some day.
|
|
1240 |
build=$build_alias |
|
1241 |
host=$host_alias |
|
1242 |
target=$target_alias |
|
1243 |
||
1244 |
# FIXME: To remove some day.
|
|
1245 |
if test "x$host_alias" != x; then |
|
1246 |
if test "x$build_alias" = x; then |
|
1247 |
cross_compiling=maybe |
|
1248 |
elif test "x$build_alias" != "x$host_alias"; then |
|
1249 |
cross_compiling=yes |
|
1250 |
fi
|
|
1251 |
fi
|
|
1252 |
||
1253 |
ac_tool_prefix= |
|
1254 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|
1255 |
||
1256 |
test "$silent" = yes && exec 6>/dev/null |
|
1257 |
||
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1258 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1259 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
1260 |
ac_ls_di=`ls -di .` && |
|
1261 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1262 |
as_fn_error $? "working directory cannot be determined" |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1263 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1264 |
as_fn_error $? "pwd does not report name of working directory" |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1265 |
|
1266 |
||
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1267 |
# Find the source files, if location was not specified.
|
1268 |
if test -z "$srcdir"; then |
|
1269 |
ac_srcdir_defaulted=yes |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1270 |
# Try the directory containing this script, then the parent directory.
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
1271 |
ac_confdir=`$as_dirname -- "$as_myself" || |
1272 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
1273 |
X"$as_myself" : 'X\(//\)[^/]' \| \ |
|
1274 |
X"$as_myself" : 'X\(//\)$' \| \ |
|
1275 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
|
1276 |
$as_echo X"$as_myself" | |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1277 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1278 |
s//\1/
|
|
1279 |
q
|
|
1280 |
}
|
|
1281 |
/^X\(\/\/\)[^/].*/{
|
|
1282 |
s//\1/
|
|
1283 |
q
|
|
1284 |
}
|
|
1285 |
/^X\(\/\/\)$/{
|
|
1286 |
s//\1/
|
|
1287 |
q
|
|
1288 |
}
|
|
1289 |
/^X\(\/\).*/{
|
|
1290 |
s//\1/
|
|
1291 |
q
|
|
1292 |
}
|
|
1293 |
s/.*/./; q'` |
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1294 |
srcdir=$ac_confdir |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1295 |
if test ! -r "$srcdir/$ac_unique_file"; then |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
1296 |
srcdir=.. |
1297 |
fi
|
|
1298 |
else
|
|
1299 |
ac_srcdir_defaulted=no |
|
1300 |
fi
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1301 |
if test ! -r "$srcdir/$ac_unique_file"; then |
1302 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1303 |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1304 |
fi
|
1305 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
|
1306 |
ac_abs_confdir=`( |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1307 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1308 |
pwd)` |
1309 |
# When building in place, set srcdir=.
|
|
1310 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
|
1311 |
srcdir=. |
|
1312 |
fi
|
|
1313 |
# Remove unnecessary trailing slashes from srcdir.
|
|
1314 |
# Double slashes in file names in object file debugging info
|
|
1315 |
# mess up M-x gdb in Emacs.
|
|
1316 |
case $srcdir in |
|
1317 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
|
1318 |
esac
|
|
1319 |
for ac_var in $ac_precious_vars; do |
|
1320 |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
|
1321 |
eval ac_env_${ac_var}_value=\$${ac_var} |
|
1322 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
|
1323 |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
|
1324 |
done
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1325 |
|
1326 |
#
|
|
1327 |
# Report the --help message.
|
|
1328 |
#
|
|
1329 |
if test "$ac_init_help" = "long"; then |
|
1330 |
# Omit some internal or obsolete options to make the list less imposing.
|
|
1331 |
# This message is too long to be a string in the A/UX 3.1 sh.
|
|
1332 |
cat <<_ACEOF
|
|
731.14.38
by Arnold D. Robbins
Change version towards next release. |
1333 |
\`configure' configures GNU Awk 4.2.60 to adapt to many kinds of systems.
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1334 |
|
1335 |
Usage: $0 [OPTION]... [VAR=VALUE]...
|
|
1336 |
||
1337 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
|
1338 |
VAR=VALUE. See below for descriptions of some of the useful variables.
|
|
1339 |
||
1340 |
Defaults for the options are specified in brackets.
|
|
1341 |
||
1342 |
Configuration:
|
|
1343 |
-h, --help display this help and exit
|
|
1344 |
--help=short display options specific to this package
|
|
1345 |
--help=recursive display the short help of all the included packages
|
|
1346 |
-V, --version display version information and exit
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1347 |
-q, --quiet, --silent do not print \`checking ...' messages
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1348 |
--cache-file=FILE cache test results in FILE [disabled]
|
1349 |
-C, --config-cache alias for \`--cache-file=config.cache'
|
|
1350 |
-n, --no-create do not create output files
|
|
1351 |
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
|
1352 |
||
1353 |
Installation directories:
|
|
1354 |
--prefix=PREFIX install architecture-independent files in PREFIX
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
1355 |
[$ac_default_prefix]
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1356 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
1357 |
[PREFIX]
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1358 |
|
1359 |
By default, \`make install' will install all the files in
|
|
1360 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
|
1361 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
|
1362 |
for instance \`--prefix=\$HOME'.
|
|
1363 |
||
1364 |
For better control, use the options below.
|
|
1365 |
||
1366 |
Fine tuning of the installation directories:
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
1367 |
--bindir=DIR user executables [EPREFIX/bin]
|
1368 |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
|
1369 |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
|
1370 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
|
1371 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
|
1372 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
|
1373 |
--libdir=DIR object code libraries [EPREFIX/lib]
|
|
1374 |
--includedir=DIR C header files [PREFIX/include]
|
|
1375 |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
|
1376 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
|
1377 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
|
1378 |
--infodir=DIR info documentation [DATAROOTDIR/info]
|
|
1379 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
|
1380 |
--mandir=DIR man documentation [DATAROOTDIR/man]
|
|
1381 |
--docdir=DIR documentation root [DATAROOTDIR/doc/gawk]
|
|
1382 |
--htmldir=DIR html documentation [DOCDIR]
|
|
1383 |
--dvidir=DIR dvi documentation [DOCDIR]
|
|
1384 |
--pdfdir=DIR pdf documentation [DOCDIR]
|
|
1385 |
--psdir=DIR ps documentation [DOCDIR]
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1386 |
_ACEOF
|
1387 |
||
1388 |
cat <<\_ACEOF
|
|
1389 |
||
1390 |
Program names:
|
|
1391 |
--program-prefix=PREFIX prepend PREFIX to installed program names
|
|
1392 |
--program-suffix=SUFFIX append SUFFIX to installed program names
|
|
1393 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
|
1394 |
||
1395 |
System types:
|
|
1396 |
--build=BUILD configure for building on BUILD [guessed]
|
|
1397 |
--host=HOST cross-compile to build programs to run on HOST [BUILD]
|
|
1398 |
_ACEOF
|
|
1399 |
fi
|
|
1400 |
||
1401 |
if test -n "$ac_init_help"; then |
|
1402 |
case $ac_init_help in |
|
731.14.38
by Arnold D. Robbins
Change version towards next release. |
1403 |
short | recursive ) echo "Configuration of GNU Awk 4.2.60:";; |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1404 |
esac
|
1405 |
cat <<\_ACEOF
|
|
1406 |
||
1407 |
Optional Features:
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
1408 |
--disable-option-checking ignore unrecognized --enable/--with options
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1409 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
1410 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
|
408.2.40
by Arnold D. Robbins
Update to automake 1.13.1. |
1411 |
--enable-silent-rules less verbose build output (undo: "make V=1")
|
1412 |
--disable-silent-rules verbose build output (undo: "make V=0")
|
|
731.8.45
by Arnold D. Robbins
Fix 64-bit compilation without MPFR. |
1413 |
--disable-lint do not compile in gawk lint checking
|
731.11.53
by Arnold D. Robbins
Rename intdiv to intdiv0, require it to be configured in. |
1414 |
--enable-builtin-intdiv0
|
731.11.54
by Arnold D. Robbins
Merge branch 'master' into feature/api-mpfr |
1415 |
enable built-in intdiv0 function
|
731.8.45
by Arnold D. Robbins
Fix 64-bit compilation without MPFR. |
1416 |
--disable-mpfr do not check for MPFR
|
731.11.240
by Arnold D. Robbins
Add --enable-versioned-extension-dir configure option. |
1417 |
--enable-versioned-extension-dir
|
1418 |
use a versioned directory for extensions
|
|
319.2.11
by Arnold D. Robbins
Build infrastructure updated. |
1419 |
--enable-dependency-tracking
|
1420 |
do not reject slow dependency extractors
|
|
1421 |
--disable-dependency-tracking
|
|
1422 |
speeds up one-time build
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1423 |
--disable-largefile omit support for large files
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
1424 |
--disable-nls do not use Native Language Support
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1425 |
--disable-rpath do not hardcode runtime library paths
|
408.4.94
by Arnold D. Robbins
Make extensions controlled by configure time option. |
1426 |
--disable-extensions disable dynamic extensions (default is detect)
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1427 |
|
1428 |
Optional Packages:
|
|
1429 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
|
1430 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
1431 |
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
1432 |
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1433 |
--without-libiconv-prefix don't search for libiconv in includedir and libdir
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
1434 |
--with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1435 |
--without-libintl-prefix don't search for libintl in includedir and libdir
|
36
by Arnold D. Robbins
Move to 3.1.8. |
1436 |
--with-libsigsegv-prefix[=DIR] search for libsigsegv in DIR/include and DIR/lib
|
1437 |
--without-libsigsegv-prefix don't search for libsigsegv in includedir and libdir
|
|
40
by Arnold D. Robbins
Bring latest byte code gawk into git. Hurray! |
1438 |
--with-readline=DIR look for the readline library in DIR
|
302
by john haque
Finish builtins for MPFR. |
1439 |
--with-mpfr=DIR look for the mpfr and gmp libraries in DIR
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1440 |
|
1441 |
Some influential environment variables:
|
|
1442 |
CC C compiler command
|
|
1443 |
CFLAGS C compiler flags
|
|
1444 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
|
1445 |
nonstandard directory <lib dir>
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1446 |
LIBS libraries to pass to the linker, e.g. -l<library>
|
36
by Arnold D. Robbins
Move to 3.1.8. |
1447 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1448 |
you have headers in a nonstandard directory <include dir>
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1449 |
CPP C preprocessor
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1450 |
YACC The `Yet Another Compiler Compiler' implementation to use.
|
1451 |
Defaults to the first program found out of: `bison -y', `byacc',
|
|
1452 |
`yacc'.
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
1453 |
YFLAGS The list of arguments that will be passed by default to $YACC.
|
1454 |
This script will default YFLAGS to the empty string to avoid a
|
|
1455 |
default value of `-d' given by some make applications.
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1456 |
|
1457 |
Use these variables to override the choices made by `configure' or to help
|
|
1458 |
it to find libraries and programs with nonstandard names/locations.
|
|
1459 |
||
1460 |
Report bugs to <bug-gawk@gnu.org>.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
1461 |
GNU Awk home page: <http://www.gnu.org/software/gawk/>.
|
1462 |
General help using GNU software: <http://www.gnu.org/gethelp/>.
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1463 |
_ACEOF
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1464 |
ac_status=$? |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1465 |
fi
|
1466 |
||
1467 |
if test "$ac_init_help" = "recursive"; then |
|
1468 |
# If there are subdirs, report their specific --help.
|
|
1469 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
1470 |
test -d "$ac_dir" || |
1471 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
|
1472 |
continue
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1473 |
ac_builddir=. |
1474 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1475 |
case "$ac_dir" in |
1476 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1477 |
*)
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
1478 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1479 |
# A ".." for each directory in $ac_dir_suffix.
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
1480 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1481 |
case $ac_top_builddir_sub in |
1482 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1483 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
1484 |
esac ;; |
|
1485 |
esac
|
|
1486 |
ac_abs_top_builddir=$ac_pwd |
|
1487 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
1488 |
# for backward compatibility:
|
|
1489 |
ac_top_builddir=$ac_top_build_prefix |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1490 |
|
1491 |
case $srcdir in |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1492 |
.) # We are building in place. |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1493 |
ac_srcdir=. |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1494 |
ac_top_srcdir=$ac_top_builddir_sub |
1495 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
1496 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1497 |
ac_srcdir=$srcdir$ac_dir_suffix; |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1498 |
ac_top_srcdir=$srcdir |
1499 |
ac_abs_top_srcdir=$srcdir ;; |
|
1500 |
*) # Relative name. |
|
1501 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
1502 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
1503 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
1504 |
esac
|
|
1505 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
1506 |
||
1507 |
cd "$ac_dir" || { ac_status=$?; continue; } |
|
1508 |
# Check for guested configure.
|
|
1509 |
if test -f "$ac_srcdir/configure.gnu"; then |
|
1510 |
echo && |
|
1511 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
|
1512 |
elif test -f "$ac_srcdir/configure"; then |
|
1513 |
echo && |
|
1514 |
$SHELL "$ac_srcdir/configure" --help=recursive |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1515 |
else
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
1516 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1517 |
fi || ac_status=$? |
1518 |
cd "$ac_pwd" || { ac_status=$?; break; } |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1519 |
done
|
1520 |
fi
|
|
1521 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1522 |
test -n "$ac_init_help" && exit $ac_status |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1523 |
if $ac_init_version; then |
1524 |
cat <<\_ACEOF
|
|
731.14.38
by Arnold D. Robbins
Change version towards next release. |
1525 |
GNU Awk configure 4.2.60
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
1526 |
generated by GNU Autoconf 2.69
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1527 |
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
1528 |
Copyright (C) 2012 Free Software Foundation, Inc.
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1529 |
This configure script is free software; the Free Software Foundation
|
1530 |
gives unlimited permission to copy, distribute and modify it.
|
|
1531 |
_ACEOF
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
1532 |
exit
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
1533 |
fi
|
36
by Arnold D. Robbins
Move to 3.1.8. |
1534 |
|
1535 |
## ------------------------ ##
|
|
1536 |
## Autoconf initialization. ##
|
|
1537 |
## ------------------------ ##
|
|
1538 |
||
1539 |
# ac_fn_c_try_compile LINENO
|
|
1540 |
# --------------------------
|
|
1541 |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
|
1542 |
ac_fn_c_try_compile ()
|
|
1543 |
{
|
|
1544 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1545 |
rm -f conftest.$ac_objext
|
|
1546 |
if { { ac_try="$ac_compile" |
|
1547 |
case "(($ac_try" in |
|
1548 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1549 |
*) ac_try_echo=$ac_try;; |
|
1550 |
esac
|
|
1551 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1552 |
$as_echo "$ac_try_echo"; } >&5 |
|
1553 |
(eval "$ac_compile") 2>conftest.err |
|
1554 |
ac_status=$? |
|
1555 |
if test -s conftest.err; then |
|
1556 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1557 |
cat conftest.er1 >&5 |
|
1558 |
mv -f conftest.er1 conftest.err |
|
1559 |
fi
|
|
1560 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1561 |
test $ac_status = 0; } && { |
|
1562 |
test -z "$ac_c_werror_flag" || |
|
1563 |
test ! -s conftest.err
|
|
1564 |
} && test -s conftest.$ac_objext; then : |
|
1565 |
ac_retval=0 |
|
1566 |
else
|
|
1567 |
$as_echo "$as_me: failed program was:" >&5 |
|
1568 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1569 |
||
1570 |
ac_retval=1 |
|
1571 |
fi
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1572 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
36
by Arnold D. Robbins
Move to 3.1.8. |
1573 |
as_fn_set_status $ac_retval
|
1574 |
||
1575 |
} # ac_fn_c_try_compile |
|
1576 |
||
1577 |
# ac_fn_c_try_cpp LINENO
|
|
1578 |
# ----------------------
|
|
1579 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
|
1580 |
ac_fn_c_try_cpp ()
|
|
1581 |
{
|
|
1582 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1583 |
if { { ac_try="$ac_cpp conftest.$ac_ext" |
|
1584 |
case "(($ac_try" in |
|
1585 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1586 |
*) ac_try_echo=$ac_try;; |
|
1587 |
esac
|
|
1588 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1589 |
$as_echo "$ac_try_echo"; } >&5 |
|
1590 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
|
1591 |
ac_status=$? |
|
1592 |
if test -s conftest.err; then |
|
1593 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1594 |
cat conftest.er1 >&5 |
|
1595 |
mv -f conftest.er1 conftest.err |
|
1596 |
fi
|
|
1597 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1598 |
test $ac_status = 0; } > conftest.i && { |
36
by Arnold D. Robbins
Move to 3.1.8. |
1599 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1600 |
test ! -s conftest.err
|
|
1601 |
}; then : |
|
1602 |
ac_retval=0 |
|
1603 |
else
|
|
1604 |
$as_echo "$as_me: failed program was:" >&5 |
|
1605 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1606 |
||
1607 |
ac_retval=1 |
|
1608 |
fi
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1609 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
36
by Arnold D. Robbins
Move to 3.1.8. |
1610 |
as_fn_set_status $ac_retval
|
1611 |
||
1612 |
} # ac_fn_c_try_cpp |
|
1613 |
||
1614 |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
|
1615 |
# -------------------------------------------------------
|
|
1616 |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
|
1617 |
# the include files in INCLUDES and setting the cache variable VAR
|
|
1618 |
# accordingly.
|
|
1619 |
ac_fn_c_check_header_mongrel ()
|
|
1620 |
{
|
|
1621 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1622 |
if eval \${$3+:} false; then : |
36
by Arnold D. Robbins
Move to 3.1.8. |
1623 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1624 |
$as_echo_n "checking for $2... " >&6; } |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1625 |
if eval \${$3+:} false; then : |
36
by Arnold D. Robbins
Move to 3.1.8. |
1626 |
$as_echo_n "(cached) " >&6 |
1627 |
fi
|
|
1628 |
eval ac_res=\$$3 |
|
1629 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1630 |
$as_echo "$ac_res" >&6; } |
|
1631 |
else
|
|
1632 |
# Is the header compilable?
|
|
1633 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
|
1634 |
$as_echo_n "checking $2 usability... " >&6; } |
|
1635 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1636 |
/* end confdefs.h. */
|
|
1637 |
$4
|
|
1638 |
#include <$2>
|
|
1639 |
_ACEOF
|
|
1640 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1641 |
ac_header_compiler=yes |
|
1642 |
else
|
|
1643 |
ac_header_compiler=no |
|
1644 |
fi
|
|
1645 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1646 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
|
1647 |
$as_echo "$ac_header_compiler" >&6; } |
|
1648 |
||
1649 |
# Is the header present?
|
|
1650 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
|
1651 |
$as_echo_n "checking $2 presence... " >&6; } |
|
1652 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1653 |
/* end confdefs.h. */
|
|
1654 |
#include <$2>
|
|
1655 |
_ACEOF
|
|
1656 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
1657 |
ac_header_preproc=yes |
|
1658 |
else
|
|
1659 |
ac_header_preproc=no |
|
1660 |
fi
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1661 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
36
by Arnold D. Robbins
Move to 3.1.8. |
1662 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
1663 |
$as_echo "$ac_header_preproc" >&6; } |
|
1664 |
||
1665 |
# So? What about this header?
|
|
1666 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
|
1667 |
yes:no: )
|
|
1668 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
1669 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
1670 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
1671 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
1672 |
;;
|
|
1673 |
no:yes:* )
|
|
1674 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
|
1675 |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
|
1676 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
|
1677 |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
|
1678 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
|
1679 |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
|
1680 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
|
1681 |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
|
1682 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
1683 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1684 |
( $as_echo "## ------------------------------- ## |
36
by Arnold D. Robbins
Move to 3.1.8. |
1685 |
## Report this to bug-gawk@gnu.org ##
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1686 |
## ------------------------------- ##"
|
36
by Arnold D. Robbins
Move to 3.1.8. |
1687 |
) | sed "s/^/$as_me: WARNING: /" >&2 |
1688 |
;;
|
|
1689 |
esac
|
|
1690 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1691 |
$as_echo_n "checking for $2... " >&6; } |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1692 |
if eval \${$3+:} false; then : |
36
by Arnold D. Robbins
Move to 3.1.8. |
1693 |
$as_echo_n "(cached) " >&6 |
1694 |
else
|
|
1695 |
eval "$3=\$ac_header_compiler" |
|
1696 |
fi
|
|
1697 |
eval ac_res=\$$3 |
|
1698 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1699 |
$as_echo "$ac_res" >&6; } |
|
1700 |
fi
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1701 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
36
by Arnold D. Robbins
Move to 3.1.8. |
1702 |
|
1703 |
} # ac_fn_c_check_header_mongrel |
|
1704 |
||
1705 |
# ac_fn_c_try_run LINENO
|
|
1706 |
# ----------------------
|
|
1707 |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
|
1708 |
# that executables *can* be run.
|
|
1709 |
ac_fn_c_try_run ()
|
|
1710 |
{
|
|
1711 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1712 |
if { { ac_try="$ac_link" |
|
1713 |
case "(($ac_try" in |
|
1714 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1715 |
*) ac_try_echo=$ac_try;; |
|
1716 |
esac
|
|
1717 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1718 |
$as_echo "$ac_try_echo"; } >&5 |
|
1719 |
(eval "$ac_link") 2>&5 |
|
1720 |
ac_status=$? |
|
1721 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1722 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
|
1723 |
{ { case "(($ac_try" in |
|
1724 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1725 |
*) ac_try_echo=$ac_try;; |
|
1726 |
esac
|
|
1727 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1728 |
$as_echo "$ac_try_echo"; } >&5 |
|
1729 |
(eval "$ac_try") 2>&5 |
|
1730 |
ac_status=$? |
|
1731 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1732 |
test $ac_status = 0; }; }; then : |
|
1733 |
ac_retval=0 |
|
1734 |
else
|
|
1735 |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
|
1736 |
$as_echo "$as_me: failed program was:" >&5 |
|
1737 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1738 |
||
1739 |
ac_retval=$ac_status |
|
1740 |
fi
|
|
1741 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1742 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
36
by Arnold D. Robbins
Move to 3.1.8. |
1743 |
as_fn_set_status $ac_retval
|
1744 |
||
1745 |
} # ac_fn_c_try_run |
|
1746 |
||
1747 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
|
1748 |
# -------------------------------------------------------
|
|
1749 |
# Tests whether HEADER exists and can be compiled using the include files in
|
|
1750 |
# INCLUDES, setting the cache variable VAR accordingly.
|
|
1751 |
ac_fn_c_check_header_compile ()
|
|
1752 |
{
|
|
1753 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1754 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1755 |
$as_echo_n "checking for $2... " >&6; } |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1756 |
if eval \${$3+:} false; then : |
36
by Arnold D. Robbins
Move to 3.1.8. |
1757 |
$as_echo_n "(cached) " >&6 |
1758 |
else
|
|
1759 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1760 |
/* end confdefs.h. */
|
|
1761 |
$4
|
|
1762 |
#include <$2>
|
|
1763 |
_ACEOF
|
|
1764 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1765 |
eval "$3=yes" |
|
1766 |
else
|
|
1767 |
eval "$3=no" |
|
1768 |
fi
|
|
1769 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1770 |
fi
|
|
1771 |
eval ac_res=\$$3 |
|
1772 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1773 |
$as_echo "$ac_res" >&6; } |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1774 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
36
by Arnold D. Robbins
Move to 3.1.8. |
1775 |
|
1776 |
} # ac_fn_c_check_header_compile |
|
1777 |
||
1778 |
# ac_fn_c_try_link LINENO
|
|
1779 |
# -----------------------
|
|
1780 |
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
|
1781 |
ac_fn_c_try_link ()
|
|
1782 |
{
|
|
1783 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1784 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1785 |
if { { ac_try="$ac_link" |
|
1786 |
case "(($ac_try" in |
|
1787 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1788 |
*) ac_try_echo=$ac_try;; |
|
1789 |
esac
|
|
1790 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1791 |
$as_echo "$ac_try_echo"; } >&5 |
|
1792 |
(eval "$ac_link") 2>conftest.err |
|
1793 |
ac_status=$? |
|
1794 |
if test -s conftest.err; then |
|
1795 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1796 |
cat conftest.er1 >&5 |
|
1797 |
mv -f conftest.er1 conftest.err |
|
1798 |
fi
|
|
1799 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1800 |
test $ac_status = 0; } && { |
|
1801 |
test -z "$ac_c_werror_flag" || |
|
1802 |
test ! -s conftest.err
|
|
1803 |
} && test -s conftest$ac_exeext && { |
|
1804 |
test "$cross_compiling" = yes || |
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
1805 |
test -x conftest$ac_exeext |
36
by Arnold D. Robbins
Move to 3.1.8. |
1806 |
}; then : |
1807 |
ac_retval=0 |
|
1808 |
else
|
|
1809 |
$as_echo "$as_me: failed program was:" >&5 |
|
1810 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1811 |
||
1812 |
ac_retval=1 |
|
1813 |
fi
|
|
1814 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
|
1815 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
|
1816 |
# interfere with the next link command; also delete a directory that is
|
|
1817 |
# left behind by Apple's compiler. We do this before executing the actions.
|
|
1818 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1819 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
36
by Arnold D. Robbins
Move to 3.1.8. |
1820 |
as_fn_set_status $ac_retval
|
1821 |
||
1822 |
} # ac_fn_c_try_link |
|
1823 |
||
1824 |
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
|
|
1825 |
# -------------------------------------------
|
|
1826 |
# Tests whether TYPE exists after having included INCLUDES, setting cache
|
|
1827 |
# variable VAR accordingly.
|
|
1828 |
ac_fn_c_check_type ()
|
|
1829 |
{
|
|
1830 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1831 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1832 |
$as_echo_n "checking for $2... " >&6; } |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1833 |
if eval \${$3+:} false; then : |
36
by Arnold D. Robbins
Move to 3.1.8. |
1834 |
$as_echo_n "(cached) " >&6 |
1835 |
else
|
|
1836 |
eval "$3=no" |
|
1837 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1838 |
/* end confdefs.h. */
|
|
1839 |
$4
|
|
1840 |
int
|
|
1841 |
main ()
|
|
1842 |
{
|
|
1843 |
if (sizeof ($2))
|
|
1844 |
return 0;
|
|
1845 |
;
|
|
1846 |
return 0;
|
|
1847 |
}
|
|
1848 |
_ACEOF
|
|
1849 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1850 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1851 |
/* end confdefs.h. */
|
|
1852 |
$4
|
|
1853 |
int
|
|
1854 |
main ()
|
|
1855 |
{
|
|
1856 |
if (sizeof (($2)))
|
|
1857 |
return 0;
|
|
1858 |
;
|
|
1859 |
return 0;
|
|
1860 |
}
|
|
1861 |
_ACEOF
|
|
1862 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1863 |
||
1864 |
else
|
|
1865 |
eval "$3=yes" |
|
1866 |
fi
|
|
1867 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1868 |
fi
|
|
1869 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1870 |
fi
|
|
1871 |
eval ac_res=\$$3 |
|
1872 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1873 |
$as_echo "$ac_res" >&6; } |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
1874 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
36
by Arnold D. Robbins
Move to 3.1.8. |
1875 |
|
1876 |
} # ac_fn_c_check_type |
|
1877 |
||
1878 |
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
|
|
1879 |
# --------------------------------------------
|
|
1880 |
# Tries to find the compile-time value of EXPR in a program that includes
|
|
1881 |
# INCLUDES, setting VAR accordingly. Returns whether the value could be
|
|
1882 |
# computed
|
|
1883 |
ac_fn_c_compute_int ()
|
|
1884 |
{
|
|
1885 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1886 |
if test "$cross_compiling" = yes; then |
|
1887 |
# Depending upon the size, compute the lo and hi bounds.
|
|
1888 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1889 |
/* end confdefs.h. */
|
|
1890 |
$4
|
|
1891 |
int
|
|
1892 |
main ()
|
|
1893 |
{
|
|
1894 |
static int test_array [1 - 2 * !(($2) >= 0)];
|
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
1895 |
test_array [0] = 0;
|
1896 |
return test_array [0];
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
1897 |
|
1898 |
;
|
|
1899 |
return 0;
|
|
1900 |
}
|
|
1901 |
_ACEOF
|
|
1902 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1903 |
ac_lo=0 ac_mid=0 |
|
1904 |
while :; do |
|
1905 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1906 |
/* end confdefs.h. */
|
|
1907 |
$4
|
|
1908 |
int
|
|
1909 |
main ()
|
|
1910 |
{
|
|
1911 |
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
|
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
1912 |
test_array [0] = 0;
|
1913 |
return test_array [0];
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
1914 |
|
1915 |
;
|
|
1916 |
return 0;
|
|
1917 |
}
|
|
1918 |
_ACEOF
|
|
1919 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1920 |
ac_hi=$ac_mid; break |
|
1921 |
else
|
|
1922 |
as_fn_arith $ac_mid + 1 && ac_lo=$as_val |
|
1923 |
if test $ac_lo -le $ac_mid; then |
|
1924 |
ac_lo= ac_hi= |
|
1925 |
break
|
|
1926 |
fi
|
|
1927 |
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val |
|
1928 |
fi
|
|
1929 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1930 |
done
|
|
1931 |
else
|
|
1932 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1933 |
/* end confdefs.h. */
|
|
1934 |
$4
|
|
1935 |
int
|
|
1936 |
main ()
|
|
1937 |
{
|
|
1938 |
static int test_array [1 - 2 * !(($2) < 0)];
|
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
1939 |
test_array [0] = 0;
|
1940 |
return test_array [0];
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
1941 |
|
1942 |
;
|
|
1943 |
return 0;
|
|
1944 |
}
|
|
1945 |
_ACEOF
|
|
1946 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1947 |
ac_hi=-1 ac_mid=-1 |
|
1948 |
while :; do |
|
1949 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1950 |
/* end confdefs.h. */
|
|
1951 |
$4
|
|
1952 |
int
|
|
1953 |
main ()
|
|
1954 |
{
|
|
1955 |
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
|
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
1956 |
test_array [0] = 0;
|
1957 |
return test_array [0];
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
1958 |
|
1959 |
;
|
|
1960 |
return 0;
|
|
1961 |
}
|
|
1962 |
_ACEOF
|
|
1963 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1964 |
ac_lo=$ac_mid; break |
|
1965 |
else
|
|
1966 |
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val |
|
1967 |
if test $ac_mid -le $ac_hi; then |
|
1968 |
ac_lo= ac_hi= |
|
1969 |
break
|
|
1970 |
fi
|
|
1971 |
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val |
|
1972 |
fi
|
|
1973 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1974 |
done
|
|
1975 |
else
|
|
1976 |
ac_lo= ac_hi= |
|
1977 |
fi
|
|
1978 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1979 |
fi
|
|
1980 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1981 |
# Binary search between lo and hi bounds.
|
|
1982 |
while test "x$ac_lo" != "x$ac_hi"; do |
|
1983 |
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val |
|
1984 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1985 |
/* end confdefs.h. */
|
|
1986 |
$4
|
|
1987 |
int
|
|
1988 |
main ()
|
|
1989 |
{
|
|
1990 |
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
|
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
1991 |
test_array [0] = 0;
|
1992 |
return test_array [0];
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
1993 |
|
1994 |
;
|
|
1995 |
return 0;
|
|
1996 |
}
|
|
1997 |
_ACEOF
|
|
1998 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1999 |
ac_hi=$ac_mid |
|
2000 |
else
|
|
2001 |
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val |
|
2002 |
fi
|
|
2003 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
2004 |
done
|
|
2005 |
case $ac_lo in #(( |
|
2006 |
?*) eval "$3=\$ac_lo"; ac_retval=0 ;; |
|
2007 |
'') ac_retval=1 ;; |
|
2008 |
esac
|
|
2009 |
else
|
|
2010 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2011 |
/* end confdefs.h. */
|
|
2012 |
$4
|
|
2013 |
static long int longval () { return $2; }
|
|
2014 |
static unsigned long int ulongval () { return $2; }
|
|
2015 |
#include <stdio.h>
|
|
2016 |
#include <stdlib.h>
|
|
2017 |
int
|
|
2018 |
main ()
|
|
2019 |
{
|
|
2020 |
||
2021 |
FILE *f = fopen ("conftest.val", "w");
|
|
2022 |
if (! f)
|
|
2023 |
return 1;
|
|
2024 |
if (($2) < 0)
|
|
2025 |
{
|
|
2026 |
long int i = longval ();
|
|
2027 |
if (i != ($2))
|
|
2028 |
return 1;
|
|
2029 |
fprintf (f, "%ld", i);
|
|
2030 |
}
|
|
2031 |
else
|
|
2032 |
{
|
|
2033 |
unsigned long int i = ulongval ();
|
|
2034 |
if (i != ($2))
|
|
2035 |
return 1;
|
|
2036 |
fprintf (f, "%lu", i);
|
|
2037 |
}
|
|
2038 |
/* Do not output a trailing newline, as this causes \r\n confusion
|
|
2039 |
on some platforms. */
|
|
2040 |
return ferror (f) || fclose (f) != 0;
|
|
2041 |
||
2042 |
;
|
|
2043 |
return 0;
|
|
2044 |
}
|
|
2045 |
_ACEOF
|
|
2046 |
if ac_fn_c_try_run "$LINENO"; then : |
|
2047 |
echo >>conftest.val; read $3 <conftest.val; ac_retval=0 |
|
2048 |
else
|
|
2049 |
ac_retval=1 |
|
2050 |
fi
|
|
2051 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
2052 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
2053 |
rm -f conftest.val |
|
2054 |
||
2055 |
fi
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2056 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
36
by Arnold D. Robbins
Move to 3.1.8. |
2057 |
as_fn_set_status $ac_retval
|
2058 |
||
2059 |
} # ac_fn_c_compute_int |
|
2060 |
||
319.2.12
by Andrew J. Schorr
Move libtool from top configure.ac into extension directory. |
2061 |
# ac_fn_c_check_func LINENO FUNC VAR
|
2062 |
# ----------------------------------
|
|
2063 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly
|
|
2064 |
ac_fn_c_check_func ()
|
|
2065 |
{
|
|
2066 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
2067 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
2068 |
$as_echo_n "checking for $2... " >&6; } |
|
2069 |
if eval \${$3+:} false; then : |
|
2070 |
$as_echo_n "(cached) " >&6 |
|
2071 |
else
|
|
2072 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2073 |
/* end confdefs.h. */
|
|
2074 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
|
2075 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
2076 |
#define $2 innocuous_$2
|
|
2077 |
||
2078 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
2079 |
which can conflict with char $2 (); below.
|
|
2080 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
2081 |
<limits.h> exists even on freestanding compilers. */
|
|
2082 |
||
2083 |
#ifdef __STDC__
|
|
2084 |
# include <limits.h>
|
|
2085 |
#else
|
|
2086 |
# include <assert.h>
|
|
2087 |
#endif
|
|
2088 |
||
2089 |
#undef $2
|
|
2090 |
||
2091 |
/* Override any GCC internal prototype to avoid an error.
|
|
2092 |
Use char because int might match the return type of a GCC
|
|
2093 |
builtin and then its argument prototype would still apply. */
|
|
2094 |
#ifdef __cplusplus
|
|
2095 |
extern "C"
|
|
2096 |
#endif
|
|
2097 |
char $2 ();
|
|
2098 |
/* The GNU C library defines this for functions which it implements
|
|
2099 |
to always fail with ENOSYS. Some functions are actually named
|
|
2100 |
something starting with __ and the normal name is an alias. */
|
|
2101 |
#if defined __stub_$2 || defined __stub___$2
|
|
2102 |
choke me
|
|
2103 |
#endif
|
|
2104 |
||
2105 |
int
|
|
2106 |
main ()
|
|
2107 |
{
|
|
2108 |
return $2 ();
|
|
2109 |
;
|
|
2110 |
return 0;
|
|
2111 |
}
|
|
2112 |
_ACEOF
|
|
2113 |
if ac_fn_c_try_link "$LINENO"; then : |
|
2114 |
eval "$3=yes" |
|
2115 |
else
|
|
2116 |
eval "$3=no" |
|
2117 |
fi
|
|
2118 |
rm -f core conftest.err conftest.$ac_objext \ |
|
2119 |
conftest$ac_exeext conftest.$ac_ext |
|
2120 |
fi
|
|
2121 |
eval ac_res=\$$3 |
|
2122 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
2123 |
$as_echo "$ac_res" >&6; } |
|
2124 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
2125 |
||
2126 |
} # ac_fn_c_check_func |
|
2127 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
2128 |
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
|
2129 |
# ----------------------------------------------------
|
|
2130 |
# Tries to find if the field MEMBER exists in type AGGR, after including
|
|
2131 |
# INCLUDES, setting cache variable VAR accordingly.
|
|
2132 |
ac_fn_c_check_member ()
|
|
2133 |
{
|
|
2134 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
2135 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
|
2136 |
$as_echo_n "checking for $2.$3... " >&6; } |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2137 |
if eval \${$4+:} false; then : |
36
by Arnold D. Robbins
Move to 3.1.8. |
2138 |
$as_echo_n "(cached) " >&6 |
2139 |
else
|
|
2140 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2141 |
/* end confdefs.h. */
|
|
2142 |
$5
|
|
2143 |
int
|
|
2144 |
main ()
|
|
2145 |
{
|
|
2146 |
static $2 ac_aggr;
|
|
2147 |
if (ac_aggr.$3)
|
|
2148 |
return 0;
|
|
2149 |
;
|
|
2150 |
return 0;
|
|
2151 |
}
|
|
2152 |
_ACEOF
|
|
2153 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
2154 |
eval "$4=yes" |
|
2155 |
else
|
|
2156 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2157 |
/* end confdefs.h. */
|
|
2158 |
$5
|
|
2159 |
int
|
|
2160 |
main ()
|
|
2161 |
{
|
|
2162 |
static $2 ac_aggr;
|
|
2163 |
if (sizeof ac_aggr.$3)
|
|
2164 |
return 0;
|
|
2165 |
;
|
|
2166 |
return 0;
|
|
2167 |
}
|
|
2168 |
_ACEOF
|
|
2169 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
2170 |
eval "$4=yes" |
|
2171 |
else
|
|
2172 |
eval "$4=no" |
|
2173 |
fi
|
|
2174 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
2175 |
fi
|
|
2176 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
2177 |
fi
|
|
2178 |
eval ac_res=\$$4 |
|
2179 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
2180 |
$as_echo "$ac_res" >&6; } |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2181 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
36
by Arnold D. Robbins
Move to 3.1.8. |
2182 |
|
2183 |
} # ac_fn_c_check_member |
|
2184 |
||
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2185 |
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
|
2186 |
# ---------------------------------------------
|
|
2187 |
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
|
|
2188 |
# accordingly.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2189 |
ac_fn_c_check_decl ()
|
2190 |
{
|
|
2191 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2192 |
as_decl_name=`echo $2|sed 's/ *(.*//'` |
2193 |
as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
|
2194 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
|
2195 |
$as_echo_n "checking whether $as_decl_name is declared... " >&6; } |
|
2196 |
if eval \${$3+:} false; then : |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2197 |
$as_echo_n "(cached) " >&6 |
2198 |
else
|
|
2199 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2200 |
/* end confdefs.h. */
|
|
2201 |
$4
|
|
2202 |
int
|
|
2203 |
main ()
|
|
2204 |
{
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2205 |
#ifndef $as_decl_name
|
2206 |
#ifdef __cplusplus
|
|
2207 |
(void) $as_decl_use;
|
|
2208 |
#else
|
|
2209 |
(void) $as_decl_name;
|
|
2210 |
#endif
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2211 |
#endif
|
2212 |
||
2213 |
;
|
|
2214 |
return 0;
|
|
2215 |
}
|
|
2216 |
_ACEOF
|
|
2217 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
2218 |
eval "$3=yes" |
|
2219 |
else
|
|
2220 |
eval "$3=no" |
|
2221 |
fi
|
|
2222 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
2223 |
fi
|
|
2224 |
eval ac_res=\$$3 |
|
2225 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
2226 |
$as_echo "$ac_res" >&6; } |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2227 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
36
by Arnold D. Robbins
Move to 3.1.8. |
2228 |
|
2229 |
} # ac_fn_c_check_decl |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2230 |
cat >config.log <<_ACEOF
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2231 |
This file contains any messages produced by compilers while
|
2232 |
running configure, to aid debugging if configure makes a mistake.
|
|
2233 |
||
731.14.38
by Arnold D. Robbins
Change version towards next release. |
2234 |
It was created by GNU Awk $as_me 4.2.60, which was
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
2235 |
generated by GNU Autoconf 2.69. Invocation command line was
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2236 |
|
2237 |
$ $0 $@
|
|
2238 |
||
2239 |
_ACEOF
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2240 |
exec 5>>config.log |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2241 |
{
|
2242 |
cat <<_ASUNAME
|
|
2243 |
## --------- ##
|
|
2244 |
## Platform. ##
|
|
2245 |
## --------- ##
|
|
2246 |
||
2247 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
2248 |
uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
|
2249 |
uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
|
2250 |
uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
|
2251 |
uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
|
2252 |
||
2253 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
|
2254 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
|
2255 |
||
2256 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
|
2257 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
|
2258 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2259 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2260 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
2261 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
|
2262 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
|
2263 |
||
2264 |
_ASUNAME
|
|
2265 |
||
2266 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2267 |
for as_dir in $PATH |
|
2268 |
do
|
|
2269 |
IFS=$as_save_IFS |
|
2270 |
test -z "$as_dir" && as_dir=. |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2271 |
$as_echo "PATH: $as_dir" |
2272 |
done
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2273 |
IFS=$as_save_IFS |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2274 |
|
2275 |
} >&5 |
|
2276 |
||
2277 |
cat >&5 <<_ACEOF |
|
2278 |
||
2279 |
||
2280 |
## ----------- ##
|
|
2281 |
## Core tests. ##
|
|
2282 |
## ----------- ##
|
|
2283 |
||
2284 |
_ACEOF
|
|
2285 |
||
2286 |
||
2287 |
# Keep a trace of the command line.
|
|
2288 |
# Strip out --no-create and --no-recursion so they do not pile up.
|
|
2289 |
# Strip out --silent because we don't want to record it for future runs.
|
|
2290 |
# Also quote any args containing shell meta-characters.
|
|
2291 |
# Make two passes to allow for proper duplicate-argument suppression.
|
|
2292 |
ac_configure_args= |
|
2293 |
ac_configure_args0= |
|
2294 |
ac_configure_args1= |
|
2295 |
ac_must_keep_next=false |
|
2296 |
for ac_pass in 1 2 |
|
2297 |
do
|
|
2298 |
for ac_arg
|
|
2299 |
do
|
|
2300 |
case $ac_arg in |
|
2301 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
|
2302 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
2303 |
| -silent | --silent | --silen | --sile | --sil) |
|
2304 |
continue ;; |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2305 |
*\'*) |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2306 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2307 |
esac
|
2308 |
case $ac_pass in |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2309 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2310 |
2) |
36
by Arnold D. Robbins
Move to 3.1.8. |
2311 |
as_fn_append ac_configure_args1 " '$ac_arg'" |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2312 |
if test $ac_must_keep_next = true; then |
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
2313 |
ac_must_keep_next=false # Got value, back to normal. |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2314 |
else
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
2315 |
case $ac_arg in |
2316 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
|
2317 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
2318 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
2319 |
| -with-* | --with-* | -without-* | --without-* | --x) |
|
2320 |
case "$ac_configure_args0 " in |
|
2321 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
2322 |
esac
|
|
2323 |
;;
|
|
2324 |
-* ) ac_must_keep_next=true ;; |
|
2325 |
esac
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2326 |
fi
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2327 |
as_fn_append ac_configure_args " '$ac_arg'" |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2328 |
;;
|
2329 |
esac
|
|
2330 |
done
|
|
2331 |
done
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2332 |
{ ac_configure_args0=; unset ac_configure_args0;} |
2333 |
{ ac_configure_args1=; unset ac_configure_args1;} |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2334 |
|
2335 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
|
2336 |
# config.log. We remove comments because anyway the quotes in there
|
|
2337 |
# would cause problems or look ugly.
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2338 |
# WARNING: Use '\'' to represent an apostrophe within the trap.
|
2339 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2340 |
trap 'exit_status=$? |
2341 |
# Save into config.log some information that might help in debugging.
|
|
2342 |
{
|
|
2343 |
echo
|
|
2344 |
||
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2345 |
$as_echo "## ---------------- ##
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2346 |
## Cache variables. ##
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2347 |
## ---------------- ##"
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2348 |
echo
|
2349 |
# The following way of writing the cache mishandles newlines in values,
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2350 |
(
|
2351 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
|
2352 |
eval ac_val=\$$ac_var
|
|
2353 |
case $ac_val in #(
|
|
2354 |
*${as_nl}*)
|
|
2355 |
case $ac_var in #(
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2356 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2357 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2358 |
esac
|
2359 |
case $ac_var in #(
|
|
2360 |
_ | IFS | as_nl) ;; #(
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2361 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2362 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2363 |
esac ;;
|
2364 |
esac
|
|
2365 |
done
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2366 |
(set) 2>&1 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2367 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
2368 |
*${as_nl}ac_space=\ *)
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2369 |
sed -n \
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2370 |
"s/'\''/'\''\\\\'\'''\''/g; |
2371 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
|
2372 |
;; #(
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2373 |
*)
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2374 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2375 |
;;
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2376 |
esac |
|
2377 |
sort
|
|
2378 |
)
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2379 |
echo
|
2380 |
||
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2381 |
$as_echo "## ----------------- ##
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2382 |
## Output variables. ##
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2383 |
## ----------------- ##"
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2384 |
echo
|
2385 |
for ac_var in $ac_subst_vars
|
|
2386 |
do
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2387 |
eval ac_val=\$$ac_var
|
2388 |
case $ac_val in
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2389 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2390 |
esac
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2391 |
$as_echo "$ac_var='\''$ac_val'\''" |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2392 |
done | sort
|
2393 |
echo
|
|
2394 |
||
2395 |
if test -n "$ac_subst_files"; then
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2396 |
$as_echo "## ------------------- ##
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2397 |
## File substitutions. ##
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2398 |
## ------------------- ##"
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2399 |
echo
|
2400 |
for ac_var in $ac_subst_files
|
|
2401 |
do
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2402 |
eval ac_val=\$$ac_var
|
2403 |
case $ac_val in
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2404 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2405 |
esac
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2406 |
$as_echo "$ac_var='\''$ac_val'\''" |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2407 |
done | sort
|
2408 |
echo
|
|
2409 |
fi
|
|
2410 |
||
2411 |
if test -s confdefs.h; then
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2412 |
$as_echo "## ----------- ##
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2413 |
## confdefs.h. ##
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2414 |
## ----------- ##"
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2415 |
echo
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2416 |
cat confdefs.h
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2417 |
echo
|
2418 |
fi
|
|
2419 |
test "$ac_signal" != 0 &&
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2420 |
$as_echo "$as_me: caught signal $ac_signal"
|
2421 |
$as_echo "$as_me: exit $exit_status"
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2422 |
} >&5
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2423 |
rm -f core *.core core.conftest.* &&
|
2424 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2425 |
exit $exit_status
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2426 |
' 0 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2427 |
for ac_signal in 1 2 13 15; do |
36
by Arnold D. Robbins
Move to 3.1.8. |
2428 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2429 |
done
|
2430 |
ac_signal=0 |
|
2431 |
||
2432 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2433 |
rm -f -r conftest* confdefs.h |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2434 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2435 |
$as_echo "/* confdefs.h */" > confdefs.h |
2436 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2437 |
# Predefined preprocessor variables.
|
2438 |
||
2439 |
cat >>confdefs.h <<_ACEOF
|
|
2440 |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
|
2441 |
_ACEOF
|
|
2442 |
||
2443 |
cat >>confdefs.h <<_ACEOF
|
|
2444 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
|
2445 |
_ACEOF
|
|
2446 |
||
2447 |
cat >>confdefs.h <<_ACEOF
|
|
2448 |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
|
2449 |
_ACEOF
|
|
2450 |
||
2451 |
cat >>confdefs.h <<_ACEOF
|
|
2452 |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
|
2453 |
_ACEOF
|
|
2454 |
||
2455 |
cat >>confdefs.h <<_ACEOF
|
|
2456 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
|
2457 |
_ACEOF
|
|
2458 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
2459 |
cat >>confdefs.h <<_ACEOF
|
2460 |
#define PACKAGE_URL "$PACKAGE_URL"
|
|
2461 |
_ACEOF
|
|
2462 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2463 |
|
2464 |
# Let the site file select an alternate cache file if it wants to.
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2465 |
# Prefer an explicitly selected file to automatically selected ones.
|
2466 |
ac_site_file1=NONE |
|
2467 |
ac_site_file2=NONE |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2468 |
if test -n "$CONFIG_SITE"; then |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2469 |
# We do not want a PATH search for config.site.
|
2470 |
case $CONFIG_SITE in #(( |
|
2471 |
-*) ac_site_file1=./$CONFIG_SITE;; |
|
2472 |
*/*) ac_site_file1=$CONFIG_SITE;; |
|
2473 |
*) ac_site_file1=./$CONFIG_SITE;; |
|
2474 |
esac
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2475 |
elif test "x$prefix" != xNONE; then |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2476 |
ac_site_file1=$prefix/share/config.site |
2477 |
ac_site_file2=$prefix/etc/config.site |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2478 |
else
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2479 |
ac_site_file1=$ac_default_prefix/share/config.site |
2480 |
ac_site_file2=$ac_default_prefix/etc/config.site |
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
2481 |
fi
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2482 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2483 |
do
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2484 |
test "x$ac_site_file" = xNONE && continue |
36
by Arnold D. Robbins
Move to 3.1.8. |
2485 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2486 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2487 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2488 |
sed 's/^/| /' "$ac_site_file" >&5 |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2489 |
. "$ac_site_file" \ |
2490 |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2491 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2492 |
as_fn_error $? "failed to load site script $ac_site_file |
|
2493 |
See \`config.log' for more details" "$LINENO" 5; } |
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
2494 |
fi
|
2495 |
done
|
|
2496 |
||
2497 |
if test -r "$cache_file"; then |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2498 |
# Some versions of bash will fail to source /dev/null (special files
|
2499 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
|
2500 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
|
2501 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2502 |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2503 |
case $cache_file in |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2504 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
2505 |
*) . "./$cache_file";; |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2506 |
esac
|
2507 |
fi
|
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
2508 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2509 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2510 |
$as_echo "$as_me: creating cache $cache_file" >&6;} |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2511 |
>$cache_file
|
2512 |
fi
|
|
2513 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2514 |
gt_needs="$gt_needs " |
36
by Arnold D. Robbins
Move to 3.1.8. |
2515 |
as_fn_append ac_header_list " sys/time.h"
|
2516 |
as_fn_append ac_header_list " unistd.h"
|
|
2517 |
as_fn_append ac_func_list " alarm"
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2518 |
# Check that the precious variables saved in the cache have kept the same
|
2519 |
# value.
|
|
2520 |
ac_cache_corrupted=false |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2521 |
for ac_var in $ac_precious_vars; do |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2522 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
2523 |
eval ac_new_set=\$ac_env_${ac_var}_set |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2524 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
2525 |
eval ac_new_val=\$ac_env_${ac_var}_value |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2526 |
case $ac_old_set,$ac_new_set in |
2527 |
set,)
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2528 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2529 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2530 |
ac_cache_corrupted=: ;; |
2531 |
,set)
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2532 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2533 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2534 |
ac_cache_corrupted=: ;; |
2535 |
,);; |
|
2536 |
*)
|
|
2537 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2538 |
# differences in whitespace do not lead to failure.
|
2539 |
ac_old_val_w=`echo x $ac_old_val` |
|
2540 |
ac_new_val_w=`echo x $ac_new_val` |
|
2541 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2542 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2543 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
2544 |
ac_cache_corrupted=: |
|
2545 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2546 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2547 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
2548 |
eval $ac_var=\$ac_old_val |
|
2549 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2550 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2551 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
36
by Arnold D. Robbins
Move to 3.1.8. |
2552 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2553 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2554 |
fi;; |
2555 |
esac
|
|
2556 |
# Pass precious variables to config.status.
|
|
2557 |
if test "$ac_new_set" = set; then |
|
2558 |
case $ac_new_val in |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2559 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2560 |
*) ac_arg=$ac_var=$ac_new_val ;; |
2561 |
esac
|
|
2562 |
case " $ac_configure_args " in |
|
2563 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2564 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;; |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2565 |
esac
|
2566 |
fi
|
|
2567 |
done
|
|
2568 |
if $ac_cache_corrupted; then |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2569 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2570 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
36
by Arnold D. Robbins
Move to 3.1.8. |
2571 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2572 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2573 |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
2574 |
fi
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2575 |
## -------------------- ##
|
2576 |
## Main body of script. ##
|
|
2577 |
## -------------------- ##
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2578 |
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
2579 |
ac_ext=c |
23
by Arnold D. Robbins
Move to gawk-3.0.2. |
2580 |
ac_cpp='$CPP $CPPFLAGS' |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2581 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2582 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2583 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2584 |
||
2585 |
||
2586 |
||
2587 |
# This is a hack. Different versions of install on different systems
|
|
2588 |
# are just too different. Chuck it and use install-sh.
|
|
2589 |
#
|
|
2590 |
# If the user supplies $INSTALL, figure they know what they're doing.
|
|
2591 |
#
|
|
2592 |
# With Autoconf 2.5x, this needs to come very early on, but *after*
|
|
2593 |
# the INIT macro. Sigh.
|
|
2594 |
||
731.11.236
by Arnold D. Robbins
Improvements to configure.ac and extension/configure.ac. |
2595 |
if test "$INSTALL" = "" |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2596 |
then
|
2597 |
INSTALL="$srcdir/install-sh -c" |
|
2598 |
export INSTALL
|
|
2599 |
fi
|
|
2600 |
||
2601 |
||
731.17.29
by Arnold D. Robbins
Upgrade to Automake 1.16.1. |
2602 |
am__api_version='1.16' |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2603 |
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2604 |
ac_aux_dir= |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2605 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2606 |
if test -f "$ac_dir/install-sh"; then |
2607 |
ac_aux_dir=$ac_dir |
|
2608 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
|
2609 |
break
|
|
2610 |
elif test -f "$ac_dir/install.sh"; then |
|
2611 |
ac_aux_dir=$ac_dir |
|
2612 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
|
2613 |
break
|
|
2614 |
elif test -f "$ac_dir/shtool"; then |
|
2615 |
ac_aux_dir=$ac_dir |
|
2616 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
|
2617 |
break
|
|
2618 |
fi
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2619 |
done
|
2620 |
if test -z "$ac_aux_dir"; then |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2621 |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2622 |
fi
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2623 |
|
2624 |
# These three variables are undocumented and unsupported,
|
|
2625 |
# and are intended to be withdrawn in a future Autoconf release.
|
|
2626 |
# They can cause serious problems if a builder's source tree is in a directory
|
|
2627 |
# whose full name contains unusual characters.
|
|
2628 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
|
2629 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
|
2630 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|
2631 |
||
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
2632 |
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2633 |
# Find a good install program. We prefer a C program (faster),
|
2634 |
# so one script is as good as another. But avoid the broken or
|
|
2635 |
# incompatible versions:
|
|
2636 |
# SysV /etc/install, /usr/sbin/install
|
|
2637 |
# SunOS /usr/etc/install
|
|
2638 |
# IRIX /sbin/install
|
|
2639 |
# AIX /bin/install
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2640 |
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2641 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
2642 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
|
2643 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
2644 |
# OS/2's system install, which has a completely different semantic
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2645 |
# ./install, which can be erroneously created by make from ./install.sh.
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2646 |
# Reject install programs that cannot install multiple files.
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2647 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2648 |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2649 |
if test -z "$INSTALL"; then |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2650 |
if ${ac_cv_path_install+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2651 |
$as_echo_n "(cached) " >&6 |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2652 |
else
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2653 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2654 |
for as_dir in $PATH |
|
2655 |
do
|
|
2656 |
IFS=$as_save_IFS |
|
2657 |
test -z "$as_dir" && as_dir=. |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2658 |
# Account for people who put trailing slashes in PATH elements.
|
2659 |
case $as_dir/ in #(( |
|
2660 |
./ | .// | /[cC]/* | \ |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2661 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
36
by Arnold D. Robbins
Move to 3.1.8. |
2662 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2663 |
/usr/ucb/* ) ;; |
2664 |
*)
|
|
2665 |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
2666 |
# Don't use installbsd from OSF since it installs stuff as root
|
|
2667 |
# by default.
|
|
2668 |
for ac_prog in ginstall scoinst install; do |
|
2669 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
2670 |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
2671 |
if test $ac_prog = install && |
2672 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2673 |
# AIX install. It has an incompatible calling convention.
|
|
2674 |
: |
|
2675 |
elif test $ac_prog = install && |
|
2676 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2677 |
# program-specific install script used by HP pwplus--don't use.
|
|
2678 |
: |
|
2679 |
else
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2680 |
rm -rf conftest.one conftest.two conftest.dir |
2681 |
echo one > conftest.one
|
|
2682 |
echo two > conftest.two
|
|
2683 |
mkdir conftest.dir |
|
2684 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
|
2685 |
test -s conftest.one && test -s conftest.two && |
|
2686 |
test -s conftest.dir/conftest.one && |
|
2687 |
test -s conftest.dir/conftest.two
|
|
2688 |
then
|
|
2689 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|
2690 |
break 3 |
|
2691 |
fi
|
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
2692 |
fi
|
2693 |
fi
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2694 |
done
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2695 |
done
|
2696 |
;;
|
|
2697 |
esac
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2698 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2699 |
done
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2700 |
IFS=$as_save_IFS |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2701 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2702 |
rm -rf conftest.one conftest.two conftest.dir |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2703 |
|
2704 |
fi
|
|
2705 |
if test "${ac_cv_path_install+set}" = set; then |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2706 |
INSTALL=$ac_cv_path_install |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2707 |
else
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2708 |
# As a last resort, use the slow shell script. Don't cache a
|
2709 |
# value for INSTALL within a source directory, because that will
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2710 |
# break other packages using the cache if that directory is
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2711 |
# removed, or if the value is a relative name.
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2712 |
INSTALL=$ac_install_sh |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2713 |
fi
|
2714 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2715 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2716 |
$as_echo "$INSTALL" >&6; } |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2717 |
|
2718 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
|
2719 |
# It thinks the first close brace ends the variable substitution.
|
|
2720 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
2721 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2722 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2723 |
|
2724 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
2725 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
2726 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2727 |
$as_echo_n "checking whether build environment is sane... " >&6; } |
2728 |
# Reject unsafe characters in $srcdir or the absolute working directory
|
|
2729 |
# name. Accept space and tab only in the latter.
|
|
2730 |
am_lf=' |
|
2731 |
'
|
|
2732 |
case `pwd` in |
|
2733 |
*[\\\"\#\$\&\'\`$am_lf]*) |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2734 |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2735 |
esac
|
2736 |
case $srcdir in |
|
2737 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
2738 |
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2739 |
esac
|
2740 |
||
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
2741 |
# Do 'set' in a subshell so we don't clobber the current shell's
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2742 |
# arguments. Must try -L first in case configure is actually a
|
2743 |
# symlink; some systems play weird games with the mod time of symlinks
|
|
2744 |
# (eg FreeBSD returns the mod time of the symlink's containing
|
|
2745 |
# directory).
|
|
2746 |
if ( |
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
2747 |
am_has_slept=no |
2748 |
for am_try in 1 2; do |
|
2749 |
echo "timestamp, slept: $am_has_slept" > conftest.file |
|
2750 |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
|
2751 |
if test "$*" = "X"; then |
|
2752 |
# -L didn't work.
|
|
2753 |
set X `ls -t "$srcdir/configure" conftest.file` |
|
2754 |
fi
|
|
2755 |
if test "$*" != "X $srcdir/configure conftest.file" \ |
|
2756 |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
|
2757 |
||
2758 |
# If neither matched, then we have a broken ls. This can happen
|
|
2759 |
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
|
2760 |
# broken ls alias from the environment. This has actually
|
|
2761 |
# happened. Such a system could not be considered "sane".
|
|
2762 |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
|
2763 |
alias in your environment" "$LINENO" 5 |
|
2764 |
fi
|
|
2765 |
if test "$2" = conftest.file || test $am_try -eq 2; then |
|
2766 |
break
|
|
2767 |
fi
|
|
2768 |
# Just in case.
|
|
2769 |
sleep 1
|
|
2770 |
am_has_slept=yes |
|
2771 |
done
|
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
2772 |
test "$2" = conftest.file |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2773 |
)
|
2774 |
then
|
|
2775 |
# Ok.
|
|
2776 |
: |
|
2777 |
else
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2778 |
as_fn_error $? "newly created file is older than distributed files! |
36
by Arnold D. Robbins
Move to 3.1.8. |
2779 |
Check your system clock" "$LINENO" 5 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2780 |
fi
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2781 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2782 |
$as_echo "yes" >&6; } |
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
2783 |
# If we didn't sleep, we still need to ensure time stamps of config.status and
|
2784 |
# generated files are strictly newer.
|
|
2785 |
am_sleep_pid= |
|
2786 |
if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
|
2787 |
( sleep 1 ) & |
|
2788 |
am_sleep_pid=$! |
|
2789 |
fi
|
|
2790 |
||
2791 |
rm -f conftest.file |
|
2792 |
||
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2793 |
test "$program_prefix" != NONE && |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2794 |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2795 |
# Use a double $ so make ignores it.
|
2796 |
test "$program_suffix" != NONE && |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2797 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2798 |
# Double any \ or $.
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2799 |
# By default was `s,x,x', remove it if useless.
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2800 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
2801 |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2802 |
|
408.13.51
by Arnold D. Robbins
Move to Automake 1.15. |
2803 |
# Expand $ac_aux_dir to an absolute path.
|
2804 |
am_aux_dir=`cd "$ac_aux_dir" && pwd` |
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2805 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2806 |
if test x"${MISSING+set}" != xset; then |
2807 |
case $am_aux_dir in |
|
2808 |
*\ * | *\ *) |
|
2809 |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
|
2810 |
*)
|
|
2811 |
MISSING="\${SHELL} $am_aux_dir/missing" ;; |
|
2812 |
esac
|
|
2813 |
fi
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2814 |
# Use eval to expand $SHELL
|
408.2.40
by Arnold D. Robbins
Update to automake 1.13.1. |
2815 |
if eval "$MISSING --is-lightweight"; then |
2816 |
am_missing_run="$MISSING " |
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2817 |
else
|
2818 |
am_missing_run= |
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
2819 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
2820 |
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2821 |
fi
|
2822 |
||
408.13.51
by Arnold D. Robbins
Move to Automake 1.15. |
2823 |
if test x"${install_sh+set}" != xset; then |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2824 |
case $am_aux_dir in |
2825 |
*\ * | *\ *) |
|
2826 |
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
|
2827 |
*)
|
|
2828 |
install_sh="\${SHELL} $am_aux_dir/install-sh" |
|
2829 |
esac
|
|
2830 |
fi
|
|
2831 |
||
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
2832 |
# Installed binaries are usually stripped using 'strip' when the user
|
2833 |
# run "make install-strip". However 'strip' might not be the right
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2834 |
# tool to use in cross-compilation environments, therefore Automake
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
2835 |
# will honor the 'STRIP' environment variable to overrule this program.
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2836 |
if test "$cross_compiling" != no; then |
2837 |
if test -n "$ac_tool_prefix"; then |
|
2838 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
|
2839 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2840 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2841 |
$as_echo_n "checking for $ac_word... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2842 |
if ${ac_cv_prog_STRIP+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2843 |
$as_echo_n "(cached) " >&6 |
2844 |
else
|
|
2845 |
if test -n "$STRIP"; then |
|
2846 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
2847 |
else
|
|
2848 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2849 |
for as_dir in $PATH |
|
2850 |
do
|
|
2851 |
IFS=$as_save_IFS |
|
2852 |
test -z "$as_dir" && as_dir=. |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2853 |
for ac_exec_ext in '' $ac_executable_extensions; do |
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
2854 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2855 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
36
by Arnold D. Robbins
Move to 3.1.8. |
2856 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2857 |
break 2 |
2858 |
fi
|
|
2859 |
done
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2860 |
done
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2861 |
IFS=$as_save_IFS |
2862 |
||
2863 |
fi
|
|
2864 |
fi
|
|
2865 |
STRIP=$ac_cv_prog_STRIP |
|
2866 |
if test -n "$STRIP"; then |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2867 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2868 |
$as_echo "$STRIP" >&6; } |
2869 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2870 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2871 |
$as_echo "no" >&6; } |
2872 |
fi
|
|
2873 |
||
2874 |
||
2875 |
fi
|
|
2876 |
if test -z "$ac_cv_prog_STRIP"; then |
|
2877 |
ac_ct_STRIP=$STRIP |
|
2878 |
# Extract the first word of "strip", so it can be a program name with args.
|
|
2879 |
set dummy strip; ac_word=$2 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2880 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2881 |
$as_echo_n "checking for $ac_word... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2882 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2883 |
$as_echo_n "(cached) " >&6 |
2884 |
else
|
|
2885 |
if test -n "$ac_ct_STRIP"; then |
|
2886 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
2887 |
else
|
|
2888 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2889 |
for as_dir in $PATH |
|
2890 |
do
|
|
2891 |
IFS=$as_save_IFS |
|
2892 |
test -z "$as_dir" && as_dir=. |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2893 |
for ac_exec_ext in '' $ac_executable_extensions; do |
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
2894 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2895 |
ac_cv_prog_ac_ct_STRIP="strip" |
36
by Arnold D. Robbins
Move to 3.1.8. |
2896 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2897 |
break 2 |
2898 |
fi
|
|
2899 |
done
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2900 |
done
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2901 |
IFS=$as_save_IFS |
2902 |
||
2903 |
fi
|
|
2904 |
fi
|
|
2905 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
2906 |
if test -n "$ac_ct_STRIP"; then |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2907 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2908 |
$as_echo "$ac_ct_STRIP" >&6; } |
2909 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2910 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2911 |
$as_echo "no" >&6; } |
2912 |
fi
|
|
2913 |
||
2914 |
if test "x$ac_ct_STRIP" = x; then |
|
2915 |
STRIP=":" |
|
2916 |
else
|
|
2917 |
case $cross_compiling:$ac_tool_warned in |
|
2918 |
yes:)
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2919 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2920 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2921 |
ac_tool_warned=yes ;; |
|
2922 |
esac
|
|
2923 |
STRIP=$ac_ct_STRIP |
|
2924 |
fi
|
|
2925 |
else
|
|
2926 |
STRIP="$ac_cv_prog_STRIP" |
|
2927 |
fi
|
|
2928 |
||
2929 |
fi
|
|
2930 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
|
2931 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
2932 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2933 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2934 |
if test -z "$MKDIR_P"; then |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2935 |
if ${ac_cv_path_mkdir+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2936 |
$as_echo_n "(cached) " >&6 |
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
2937 |
else
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2938 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2939 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
|
2940 |
do
|
|
2941 |
IFS=$as_save_IFS |
|
2942 |
test -z "$as_dir" && as_dir=. |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2943 |
for ac_prog in mkdir gmkdir; do |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2944 |
for ac_exec_ext in '' $ac_executable_extensions; do |
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
2945 |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2946 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
2947 |
'mkdir (GNU coreutils) '* | \ |
|
2948 |
'mkdir (coreutils) '* | \ |
|
2949 |
'mkdir (fileutils) '4.1*) |
|
2950 |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
|
2951 |
break 3;; |
|
2952 |
esac
|
|
2953 |
done
|
|
2954 |
done
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2955 |
done
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2956 |
IFS=$as_save_IFS |
2957 |
||
2958 |
fi
|
|
2959 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
2960 |
test -d ./--version && rmdir ./--version |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2961 |
if test "${ac_cv_path_mkdir+set}" = set; then |
2962 |
MKDIR_P="$ac_cv_path_mkdir -p" |
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
2963 |
else
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2964 |
# As a last resort, use the slow shell script. Don't cache a
|
2965 |
# value for MKDIR_P within a source directory, because that will
|
|
2966 |
# break other packages using the cache if that directory is
|
|
2967 |
# removed, or if the value is a relative name.
|
|
2968 |
MKDIR_P="$ac_install_sh -d" |
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
2969 |
fi
|
2970 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2971 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2972 |
$as_echo "$MKDIR_P" >&6; } |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2973 |
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2974 |
for ac_prog in gawk mawk nawk awk
|
2975 |
do
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2976 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2977 |
set dummy $ac_prog; ac_word=$2 |
36
by Arnold D. Robbins
Move to 3.1.8. |
2978 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2979 |
$as_echo_n "checking for $ac_word... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
2980 |
if ${ac_cv_prog_AWK+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
2981 |
$as_echo_n "(cached) " >&6 |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
2982 |
else
|
2983 |
if test -n "$AWK"; then |
|
2984 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
2985 |
else
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2986 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2987 |
for as_dir in $PATH |
|
2988 |
do
|
|
2989 |
IFS=$as_save_IFS |
|
2990 |
test -z "$as_dir" && as_dir=. |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2991 |
for ac_exec_ext in '' $ac_executable_extensions; do |
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
2992 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2993 |
ac_cv_prog_AWK="$ac_prog" |
36
by Arnold D. Robbins
Move to 3.1.8. |
2994 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
2995 |
break 2 |
2996 |
fi
|
|
2997 |
done
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
2998 |
done
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
2999 |
IFS=$as_save_IFS |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3000 |
|
3001 |
fi
|
|
3002 |
fi
|
|
3003 |
AWK=$ac_cv_prog_AWK |
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
3004 |
if test -n "$AWK"; then |
36
by Arnold D. Robbins
Move to 3.1.8. |
3005 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3006 |
$as_echo "$AWK" >&6; } |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
3007 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3008 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3009 |
$as_echo "no" >&6; } |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
3010 |
fi
|
3011 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3012 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3013 |
test -n "$AWK" && break |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
3014 |
done
|
3015 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
3016 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3017 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
3018 |
set x ${MAKE-make} |
|
3019 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
3020 |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3021 |
$as_echo_n "(cached) " >&6 |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
3022 |
else
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3023 |
cat >conftest.make <<\_ACEOF
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3024 |
SHELL = /bin/sh
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
3025 |
all:
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3026 |
@echo '@@@%%%=$(MAKE)=@@@%%%'
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3027 |
_ACEOF
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
3028 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3029 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
3030 |
*@@@%%%=?*=@@@%%%*) |
|
3031 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
|
3032 |
*)
|
|
3033 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
|
3034 |
esac
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3035 |
rm -f conftest.make |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
3036 |
fi
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3037 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
36
by Arnold D. Robbins
Move to 3.1.8. |
3038 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3039 |
$as_echo "yes" >&6; } |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
3040 |
SET_MAKE= |
3041 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3042 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3043 |
$as_echo "no" >&6; } |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
3044 |
SET_MAKE="MAKE=${MAKE-make}" |
3045 |
fi
|
|
3046 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3047 |
rm -rf .tst 2>/dev/null
|
3048 |
mkdir .tst 2>/dev/null
|
|
3049 |
if test -d .tst; then |
|
3050 |
am__leading_dot=. |
|
3051 |
else
|
|
3052 |
am__leading_dot=_ |
|
3053 |
fi
|
|
3054 |
rmdir .tst 2>/dev/null
|
|
3055 |
||
408.2.40
by Arnold D. Robbins
Update to automake 1.13.1. |
3056 |
# Check whether --enable-silent-rules was given.
|
3057 |
if test "${enable_silent_rules+set}" = set; then : |
|
3058 |
enableval=$enable_silent_rules; |
|
3059 |
fi
|
|
3060 |
||
3061 |
case $enable_silent_rules in # ((( |
|
3062 |
yes) AM_DEFAULT_VERBOSITY=0;; |
|
3063 |
no) AM_DEFAULT_VERBOSITY=1;; |
|
3064 |
*) AM_DEFAULT_VERBOSITY=1;; |
|
3065 |
esac
|
|
3066 |
am_make=${MAKE-make} |
|
3067 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
|
3068 |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
|
3069 |
if ${am_cv_make_support_nested_variables+:} false; then : |
|
3070 |
$as_echo_n "(cached) " >&6 |
|
3071 |
else
|
|
3072 |
if $as_echo 'TRUE=$(BAR$(V)) |
|
3073 |
BAR0=false
|
|
3074 |
BAR1=true
|
|
3075 |
V=1
|
|
3076 |
am__doit:
|
|
3077 |
@$(TRUE)
|
|
3078 |
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
|
3079 |
am_cv_make_support_nested_variables=yes |
|
3080 |
else
|
|
3081 |
am_cv_make_support_nested_variables=no |
|
3082 |
fi
|
|
3083 |
fi
|
|
3084 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
|
3085 |
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
|
3086 |
if test $am_cv_make_support_nested_variables = yes; then |
|
3087 |
AM_V='$(V)' |
|
3088 |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
|
3089 |
else
|
|
3090 |
AM_V=$AM_DEFAULT_VERBOSITY |
|
3091 |
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
|
3092 |
fi
|
|
3093 |
AM_BACKSLASH='\' |
|
3094 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3095 |
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
3096 |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
|
3097 |
# is not polluted with repeated "-I."
|
|
3098 |
am__isrc=' -I$(srcdir)' |
|
3099 |
# test to see if srcdir already configured
|
|
3100 |
if test -f $srcdir/config.status; then |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
3101 |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3102 |
fi
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3103 |
fi
|
3104 |
||
3105 |
# test whether we have cygpath
|
|
3106 |
if test -z "$CYGPATH_W"; then |
|
3107 |
if (cygpath --version) >/dev/null 2>/dev/null; then |
|
3108 |
CYGPATH_W='cygpath -w' |
|
3109 |
else
|
|
3110 |
CYGPATH_W=echo |
|
3111 |
fi
|
|
3112 |
fi
|
|
3113 |
||
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
3114 |
|
3115 |
# Define the identity of the package.
|
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
3116 |
PACKAGE='gawk' |
731.14.38
by Arnold D. Robbins
Change version towards next release. |
3117 |
VERSION='4.2.60' |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3118 |
|
3119 |
||
3120 |
cat >>confdefs.h <<_ACEOF
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
3121 |
#define PACKAGE "$PACKAGE"
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3122 |
_ACEOF
|
3123 |
||
3124 |
||
3125 |
cat >>confdefs.h <<_ACEOF
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
3126 |
#define VERSION "$VERSION"
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3127 |
_ACEOF
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
3128 |
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
3129 |
# Some tools Automake needs.
|
3130 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3131 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
3132 |
|
3133 |
||
3134 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
3135 |
||
3136 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3137 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
3138 |
|
3139 |
||
3140 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
3141 |
||
3142 |
||
3143 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
3144 |
||
319.1.18
by Arnold D. Robbins
Update infrastructure. |
3145 |
# For better backward compatibility. To be removed once Automake 1.9.x
|
3146 |
# dies out for good. For more background, see:
|
|
731.17.29
by Arnold D. Robbins
Upgrade to Automake 1.16.1. |
3147 |
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
|
3148 |
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
|
|
319.1.18
by Arnold D. Robbins
Update infrastructure. |
3149 |
mkdir_p='$(MKDIR_P)' |
3150 |
||
408.13.51
by Arnold D. Robbins
Move to Automake 1.15. |
3151 |
# We need awk for the "check" target (and possibly the TAP driver). The
|
3152 |
# system "awk" is bad on some platforms.
|
|
277.1.131
by Arnold D. Robbins
Move to automake 1.11.4. |
3153 |
# Always define AMTAR for backward compatibility. Yes, it's still used
|
3154 |
# in the wild :-( We should find a proper way to deprecate it ...
|
|
3155 |
AMTAR='$${TAR-tar}' |
|
3156 |
||
408.4.92
by Arnold D. Robbins
Update to automake 1.13.4 and libtool 2.4.2.418. |
3157 |
|
3158 |
# We'll loop over all known methods to create a tar archive until one works.
|
|
3159 |
_am_tools='gnutar pax cpio none' |
|
3160 |
||
277.1.131
by Arnold D. Robbins
Move to automake 1.11.4. |
3161 |
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
3162 |
|
3163 |
||
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
3164 |
|
3165 |
||
3166 |
||
3167 |
||
408.12.28
by Andrew J. Schorr
Updating autotools caused some changes in derived files. |
3168 |
# POSIX will say in a future version that running "rm -f" with no argument
|
3169 |
# is OK; and we want to be able to make that assumption in our Makefile
|
|
3170 |
# recipes. So use an aggressive probe to check that the usage we want is
|
|
3171 |
# actually supported "in the wild" to an acceptable degree.
|
|
3172 |
# See automake bug#10828.
|
|
3173 |
# To make any issue more visible, cause the running configure to be aborted
|
|
3174 |
# by default if the 'rm' program in use doesn't match our expectations; the
|
|
3175 |
# user can still override this though.
|
|
3176 |
if rm -f && rm -fr && rm -rf; then : OK; else |
|
3177 |
cat >&2 <<'END' |
|
3178 |
Oops!
|
|
3179 |
||
3180 |
Your 'rm' program seems unable to run without file operands specified
|
|
3181 |
on the command line, even when the '-f' option is present. This is contrary
|
|
3182 |
to the behaviour of most rm programs out there, and not conforming with
|
|
3183 |
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
|
|
3184 |
||
3185 |
Please tell bug-automake@gnu.org about your system, including the value
|
|
3186 |
of your $PATH and any error possibly output before this message. This
|
|
3187 |
can help us improve future automake versions.
|
|
3188 |
||
3189 |
END
|
|
3190 |
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
|
3191 |
echo 'Configuration will proceed anyway, since you have set the' >&2 |
|
3192 |
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
|
3193 |
echo >&2 |
|
3194 |
else
|
|
3195 |
cat >&2 <<'END' |
|
3196 |
Aborting the configuration process, to ensure you take notice of the issue.
|
|
3197 |
||
3198 |
You can download and install GNU coreutils to get an 'rm' implementation
|
|
731.17.29
by Arnold D. Robbins
Upgrade to Automake 1.16.1. |
3199 |
that behaves properly: <https://www.gnu.org/software/coreutils/>.
|
408.12.28
by Andrew J. Schorr
Updating autotools caused some changes in derived files. |
3200 |
|
3201 |
If you want to complete the configuration process using your problematic
|
|
3202 |
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
|
|
3203 |
to "yes", and re-run configure.
|
|
3204 |
||
3205 |
END
|
|
3206 |
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
|
3207 |
fi
|
|
3208 |
fi
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3209 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3210 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3211 |
|
408.4.92
by Arnold D. Robbins
Update to automake 1.13.4 and libtool 2.4.2.418. |
3212 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3213 |
# Check whether --enable-lint was given.
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3214 |
if test "${enable_lint+set}" = set; then : |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3215 |
enableval=$enable_lint; if test "$enableval" = no |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3216 |
then
|
3217 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
3218 |
$as_echo "#define NO_LINT 1" >>confdefs.h |
3219 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3220 |
fi
|
3221 |
||
3222 |
fi
|
|
3223 |
||
731.11.53
by Arnold D. Robbins
Rename intdiv to intdiv0, require it to be configured in. |
3224 |
# Check whether --enable-builtin-intdiv0 was given.
|
3225 |
if test "${enable_builtin_intdiv0+set}" = set; then : |
|
3226 |
enableval=$enable_builtin_intdiv0; if test "$enableval" = yes |
|
3227 |
then
|
|
3228 |
||
3229 |
$as_echo "#define SUPPLY_INTDIV 1" >>confdefs.h |
|
3230 |
||
3231 |
sed '/^@set PATCHLEVEL/a\
|
|
3232 |
@set INTDIV' < "$srcdir"/doc/gawktexi.in > foo |
|
3233 |
cp foo "$srcdir"/doc/gawktexi.in |
|
3234 |
rm foo |
|
3235 |
fi
|
|
3236 |
||
3237 |
fi
|
|
3238 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3239 |
|
731.8.45
by Arnold D. Robbins
Fix 64-bit compilation without MPFR. |
3240 |
SKIP_MPFR=no |
3241 |
# Check whether --enable-mpfr was given.
|
|
3242 |
if test "${enable_mpfr+set}" = set; then : |
|
3243 |
enableval=$enable_mpfr; if test "$enableval" = no |
|
3244 |
then
|
|
3245 |
SKIP_MPFR=yes |
|
3246 |
fi
|
|
3247 |
||
3248 |
fi
|
|
3249 |
||
3250 |
||
731.11.240
by Arnold D. Robbins
Add --enable-versioned-extension-dir configure option. |
3251 |
EXTENSIONDIR= |
3252 |
# Check whether --enable-versioned-extension-dir was given.
|
|
3253 |
if test "${enable_versioned_extension_dir+set}" = set; then : |
|
3254 |
enableval=$enable_versioned_extension_dir; if test "$enableval" = yes |
|
3255 |
then
|
|
3256 |
MAJOR=`awk '/define gawk_api_major_version/ { print $3 }' < $srcdir/gawkapi.h` |
|
3257 |
MINOR=`awk '/define gawk_api_minor_version/ { print $3 }' < $srcdir/gawkapi.h` |
|
3258 |
||
3259 |
# note leading slash on the value
|
|
3260 |
export EXTENSIONDIR=/ext-$MAJOR.$MINOR |
|
3261 |
fi
|
|
3262 |
||
3263 |
fi
|
|
3264 |
||
3265 |
||
3266 |
# set default shared library location
|
|
3267 |
pkgextensiondir='${pkglibdir}'${EXTENSIONDIR} |
|
3268 |
||
3269 |
||
408.4.94
by Arnold D. Robbins
Make extensions controlled by configure time option. |
3270 |
# Make sure we can run config.sub.
|
3271 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
|
3272 |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
|
3273 |
||
3274 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
|
3275 |
$as_echo_n "checking build system type... " >&6; } |
|
3276 |
if ${ac_cv_build+:} false; then : |
|
3277 |
$as_echo_n "(cached) " >&6 |
|
3278 |
else
|
|
3279 |
ac_build_alias=$build_alias |
|
3280 |
test "x$ac_build_alias" = x && |
|
3281 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
|
3282 |
test "x$ac_build_alias" = x && |
|
3283 |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
|
3284 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
|
3285 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
|
3286 |
||
3287 |
fi
|
|
3288 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
|
3289 |
$as_echo "$ac_cv_build" >&6; } |
|
3290 |
case $ac_cv_build in |
|
3291 |
*-*-*) ;; |
|
3292 |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
|
3293 |
esac
|
|
3294 |
build=$ac_cv_build |
|
3295 |
ac_save_IFS=$IFS; IFS='-' |
|
3296 |
set x $ac_cv_build |
|
3297 |
shift
|
|
3298 |
build_cpu=$1 |
|
3299 |
build_vendor=$2 |
|
3300 |
shift; shift |
|
3301 |
# Remember, the first character of IFS is used to create $*,
|
|
3302 |
# except with old shells:
|
|
3303 |
build_os=$* |
|
3304 |
IFS=$ac_save_IFS |
|
3305 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
|
3306 |
||
3307 |
||
3308 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
|
3309 |
$as_echo_n "checking host system type... " >&6; } |
|
3310 |
if ${ac_cv_host+:} false; then : |
|
3311 |
$as_echo_n "(cached) " >&6 |
|
3312 |
else
|
|
3313 |
if test "x$host_alias" = x; then |
|
3314 |
ac_cv_host=$ac_cv_build |
|
3315 |
else
|
|
3316 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
|
3317 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
|
3318 |
fi
|
|
3319 |
||
3320 |
fi
|
|
3321 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
|
3322 |
$as_echo "$ac_cv_host" >&6; } |
|
3323 |
case $ac_cv_host in |
|
3324 |
*-*-*) ;; |
|
3325 |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
|
3326 |
esac
|
|
3327 |
host=$ac_cv_host |
|
3328 |
ac_save_IFS=$IFS; IFS='-' |
|
3329 |
set x $ac_cv_host |
|
3330 |
shift
|
|
3331 |
host_cpu=$1 |
|
3332 |
host_vendor=$2 |
|
3333 |
shift; shift |
|
3334 |
# Remember, the first character of IFS is used to create $*,
|
|
3335 |
# except with old shells:
|
|
3336 |
host_os=$* |
|
3337 |
IFS=$ac_save_IFS |
|
3338 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
|
3339 |
||
3340 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3341 |
DEPDIR="${am__leading_dot}deps" |
3342 |
||
3343 |
ac_config_commands="$ac_config_commands depfiles" |
|
3344 |
||
731.17.29
by Arnold D. Robbins
Upgrade to Automake 1.16.1. |
3345 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 |
3346 |
$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } |
|
3347 |
cat > confinc.mk << 'END'
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3348 |
am__doit:
|
731.17.29
by Arnold D. Robbins
Upgrade to Automake 1.16.1. |
3349 |
@echo this is the am__doit target >confinc.out
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3350 |
.PHONY: am__doit
|
3351 |
END
|
|
3352 |
am__include="#" |
|
3353 |
am__quote= |
|
731.17.29
by Arnold D. Robbins
Upgrade to Automake 1.16.1. |
3354 |
# BSD make does it like this.
|
3355 |
echo '.include "confinc.mk" # ignored' > confmf.BSD |
|
3356 |
# Other make implementations (GNU, Solaris 10, AIX) do it like this.
|
|
3357 |
echo 'include confinc.mk # ignored' > confmf.GNU |
|
3358 |
_am_result=no |
|
3359 |
for s in GNU BSD; do |
|
3360 |
{ echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 |
|
3361 |
(${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 |
|
3362 |
ac_status=$? |
|
3363 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3364 |
(exit $ac_status); } |
|
3365 |
case $?:`cat confinc.out 2>/dev/null` in #( |
|
3366 |
'0:this is the am__doit target') : |
|
3367 |
case $s in #( |
|
3368 |
BSD) :
|
|
3369 |
am__include='.include' am__quote='"' ;; #( |
|
3370 |
*) :
|
|
3371 |
am__include='include' am__quote='' ;; |
|
3372 |
esac ;; #( |
|
3373 |
*) :
|
|
3374 |
;;
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3375 |
esac
|
731.17.29
by Arnold D. Robbins
Upgrade to Automake 1.16.1. |
3376 |
if test "$am__include" != "#"; then |
3377 |
_am_result="yes ($s style)" |
|
3378 |
break
|
|
3379 |
fi
|
|
3380 |
done
|
|
3381 |
rm -f confinc.* confmf.* |
|
3382 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 |
|
3383 |
$as_echo "${_am_result}" >&6; } |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3384 |
|
3385 |
# Check whether --enable-dependency-tracking was given.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3386 |
if test "${enable_dependency_tracking+set}" = set; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3387 |
enableval=$enable_dependency_tracking; |
3388 |
fi
|
|
3389 |
||
3390 |
if test "x$enable_dependency_tracking" != xno; then |
|
3391 |
am_depcomp="$ac_aux_dir/depcomp" |
|
3392 |
AMDEPBACKSLASH='\' |
|
277.1.131
by Arnold D. Robbins
Move to automake 1.11.4. |
3393 |
am__nodep='_no' |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3394 |
fi
|
3395 |
if test "x$enable_dependency_tracking" != xno; then |
|
3396 |
AMDEP_TRUE= |
|
3397 |
AMDEP_FALSE='#' |
|
3398 |
else
|
|
3399 |
AMDEP_TRUE='#' |
|
3400 |
AMDEP_FALSE= |
|
3401 |
fi
|
|
3402 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3403 |
|
3404 |
ac_ext=c |
|
3405 |
ac_cpp='$CPP $CPPFLAGS' |
|
3406 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3407 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3408 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3409 |
if test -n "$ac_tool_prefix"; then |
|
3410 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
|
3411 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3412 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3413 |
$as_echo_n "checking for $ac_word... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
3414 |
if ${ac_cv_prog_CC+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3415 |
$as_echo_n "(cached) " >&6 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3416 |
else
|
3417 |
if test -n "$CC"; then |
|
3418 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3419 |
else
|
|
3420 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3421 |
for as_dir in $PATH |
|
3422 |
do
|
|
3423 |
IFS=$as_save_IFS |
|
3424 |
test -z "$as_dir" && as_dir=. |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3425 |
for ac_exec_ext in '' $ac_executable_extensions; do |
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
3426 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3427 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
36
by Arnold D. Robbins
Move to 3.1.8. |
3428 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3429 |
break 2 |
3430 |
fi
|
|
3431 |
done
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3432 |
done
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3433 |
IFS=$as_save_IFS |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3434 |
|
3435 |
fi
|
|
3436 |
fi
|
|
3437 |
CC=$ac_cv_prog_CC |
|
3438 |
if test -n "$CC"; then |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3439 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3440 |
$as_echo "$CC" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3441 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3442 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3443 |
$as_echo "no" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3444 |
fi
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3445 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3446 |
|
3447 |
fi
|
|
3448 |
if test -z "$ac_cv_prog_CC"; then |
|
3449 |
ac_ct_CC=$CC |
|
3450 |
# Extract the first word of "gcc", so it can be a program name with args.
|
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
3451 |
set dummy gcc; ac_word=$2 |
36
by Arnold D. Robbins
Move to 3.1.8. |
3452 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3453 |
$as_echo_n "checking for $ac_word... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
3454 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3455 |
$as_echo_n "(cached) " >&6 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3456 |
else
|
3457 |
if test -n "$ac_ct_CC"; then |
|
3458 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
3459 |
else
|
|
3460 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3461 |
for as_dir in $PATH |
|
3462 |
do
|
|
3463 |
IFS=$as_save_IFS |
|
3464 |
test -z "$as_dir" && as_dir=. |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3465 |
for ac_exec_ext in '' $ac_executable_extensions; do |
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
3466 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3467 |
ac_cv_prog_ac_ct_CC="gcc" |
36
by Arnold D. Robbins
Move to 3.1.8. |
3468 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3469 |
break 2 |
3470 |
fi
|
|
3471 |
done
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3472 |
done
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3473 |
IFS=$as_save_IFS |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3474 |
|
3475 |
fi
|
|
3476 |
fi
|
|
3477 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
3478 |
if test -n "$ac_ct_CC"; then |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3479 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3480 |
$as_echo "$ac_ct_CC" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3481 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3482 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3483 |
$as_echo "no" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3484 |
fi
|
3485 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3486 |
if test "x$ac_ct_CC" = x; then |
3487 |
CC="" |
|
3488 |
else
|
|
3489 |
case $cross_compiling:$ac_tool_warned in |
|
3490 |
yes:)
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3491 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3492 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3493 |
ac_tool_warned=yes ;; |
3494 |
esac
|
|
3495 |
CC=$ac_ct_CC |
|
3496 |
fi
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3497 |
else
|
3498 |
CC="$ac_cv_prog_CC" |
|
3499 |
fi
|
|
3500 |
||
3501 |
if test -z "$CC"; then |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3502 |
if test -n "$ac_tool_prefix"; then |
3503 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3504 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
36
by Arnold D. Robbins
Move to 3.1.8. |
3505 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3506 |
$as_echo_n "checking for $ac_word... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
3507 |
if ${ac_cv_prog_CC+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3508 |
$as_echo_n "(cached) " >&6 |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
3509 |
else
|
3510 |
if test -n "$CC"; then |
|
3511 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3512 |
else
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3513 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3514 |
for as_dir in $PATH |
|
3515 |
do
|
|
3516 |
IFS=$as_save_IFS |
|
3517 |
test -z "$as_dir" && as_dir=. |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3518 |
for ac_exec_ext in '' $ac_executable_extensions; do |
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
3519 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3520 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
36
by Arnold D. Robbins
Move to 3.1.8. |
3521 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3522 |
break 2 |
3523 |
fi
|
|
3524 |
done
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3525 |
done
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3526 |
IFS=$as_save_IFS |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3527 |
|
3528 |
fi
|
|
3529 |
fi
|
|
3530 |
CC=$ac_cv_prog_CC |
|
23
by Arnold D. Robbins
Move to gawk-3.0.2. |
3531 |
if test -n "$CC"; then |
36
by Arnold D. Robbins
Move to 3.1.8. |
3532 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3533 |
$as_echo "$CC" >&6; } |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3534 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3535 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3536 |
$as_echo "no" >&6; } |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3537 |
fi
|
3538 |
||
3539 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3540 |
fi
|
3541 |
fi
|
|
23
by Arnold D. Robbins
Move to gawk-3.0.2. |
3542 |
if test -z "$CC"; then |
3543 |
# Extract the first word of "cc", so it can be a program name with args.
|
|
3544 |
set dummy cc; ac_word=$2 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3545 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3546 |
$as_echo_n "checking for $ac_word... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
3547 |
if ${ac_cv_prog_CC+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3548 |
$as_echo_n "(cached) " >&6 |
23
by Arnold D. Robbins
Move to gawk-3.0.2. |
3549 |
else
|
3550 |
if test -n "$CC"; then |
|
3551 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3552 |
else
|
|
3553 |
ac_prog_rejected=no |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3554 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3555 |
for as_dir in $PATH |
|
3556 |
do
|
|
3557 |
IFS=$as_save_IFS |
|
3558 |
test -z "$as_dir" && as_dir=. |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3559 |
for ac_exec_ext in '' $ac_executable_extensions; do |
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
3560 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3561 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3562 |
ac_prog_rejected=yes |
|
3563 |
continue
|
|
3564 |
fi
|
|
3565 |
ac_cv_prog_CC="cc" |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3566 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3567 |
break 2 |
3568 |
fi
|
|
3569 |
done
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3570 |
done
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3571 |
IFS=$as_save_IFS |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3572 |
|
23
by Arnold D. Robbins
Move to gawk-3.0.2. |
3573 |
if test $ac_prog_rejected = yes; then |
3574 |
# We found a bogon in the path, so make sure we never use it.
|
|
3575 |
set dummy $ac_cv_prog_CC |
|
3576 |
shift
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3577 |
if test $# != 0; then |
23
by Arnold D. Robbins
Move to gawk-3.0.2. |
3578 |
# We chose a different compiler from the bogus one.
|
3579 |
# However, it has the same basename, so the bogon will be chosen
|
|
3580 |
# first if we set CC to just the basename; use the full file name.
|
|
3581 |
shift
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3582 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
23
by Arnold D. Robbins
Move to gawk-3.0.2. |
3583 |
fi
|
3584 |
fi
|
|
3585 |
fi
|
|
3586 |
fi
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3587 |
CC=$ac_cv_prog_CC |
23
by Arnold D. Robbins
Move to gawk-3.0.2. |
3588 |
if test -n "$CC"; then |
36
by Arnold D. Robbins
Move to 3.1.8. |
3589 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3590 |
$as_echo "$CC" >&6; } |
23
by Arnold D. Robbins
Move to gawk-3.0.2. |
3591 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3592 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3593 |
$as_echo "no" >&6; } |
23
by Arnold D. Robbins
Move to gawk-3.0.2. |
3594 |
fi
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3595 |
|
23
by Arnold D. Robbins
Move to gawk-3.0.2. |
3596 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3597 |
fi
|
3598 |
if test -z "$CC"; then |
|
3599 |
if test -n "$ac_tool_prefix"; then |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3600 |
for ac_prog in cl.exe
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3601 |
do
|
3602 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
|
3603 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3604 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3605 |
$as_echo_n "checking for $ac_word... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
3606 |
if ${ac_cv_prog_CC+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3607 |
$as_echo_n "(cached) " >&6 |
26
by Arnold D. Robbins
Move to gawk-3.0.5. |
3608 |
else
|
3609 |
if test -n "$CC"; then |
|
3610 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3611 |
else
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3612 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3613 |
for as_dir in $PATH |
|
3614 |
do
|
|
3615 |
IFS=$as_save_IFS |
|
3616 |
test -z "$as_dir" && as_dir=. |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3617 |
for ac_exec_ext in '' $ac_executable_extensions; do |
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
3618 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3619 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
36
by Arnold D. Robbins
Move to 3.1.8. |
3620 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3621 |
break 2 |
3622 |
fi
|
|
3623 |
done
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3624 |
done
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3625 |
IFS=$as_save_IFS |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3626 |
|
3627 |
fi
|
|
3628 |
fi
|
|
3629 |
CC=$ac_cv_prog_CC |
|
3630 |
if test -n "$CC"; then |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3631 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3632 |
$as_echo "$CC" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3633 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3634 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3635 |
$as_echo "no" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3636 |
fi
|
3637 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3638 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3639 |
test -n "$CC" && break |
26
by Arnold D. Robbins
Move to gawk-3.0.5. |
3640 |
done
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3641 |
fi
|
3642 |
if test -z "$CC"; then |
|
3643 |
ac_ct_CC=$CC |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3644 |
for ac_prog in cl.exe
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3645 |
do
|
3646 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
3647 |
set dummy $ac_prog; ac_word=$2 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3648 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3649 |
$as_echo_n "checking for $ac_word... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
3650 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3651 |
$as_echo_n "(cached) " >&6 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3652 |
else
|
3653 |
if test -n "$ac_ct_CC"; then |
|
3654 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
3655 |
else
|
|
3656 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3657 |
for as_dir in $PATH |
|
3658 |
do
|
|
3659 |
IFS=$as_save_IFS |
|
3660 |
test -z "$as_dir" && as_dir=. |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3661 |
for ac_exec_ext in '' $ac_executable_extensions; do |
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
3662 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3663 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
36
by Arnold D. Robbins
Move to 3.1.8. |
3664 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3665 |
break 2 |
26
by Arnold D. Robbins
Move to gawk-3.0.5. |
3666 |
fi
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3667 |
done
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3668 |
done
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3669 |
IFS=$as_save_IFS |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3670 |
|
3671 |
fi
|
|
3672 |
fi
|
|
3673 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
3674 |
if test -n "$ac_ct_CC"; then |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3675 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3676 |
$as_echo "$ac_ct_CC" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3677 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3678 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3679 |
$as_echo "no" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3680 |
fi
|
3681 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3682 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3683 |
test -n "$ac_ct_CC" && break |
3684 |
done
|
|
3685 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3686 |
if test "x$ac_ct_CC" = x; then |
3687 |
CC="" |
|
3688 |
else
|
|
3689 |
case $cross_compiling:$ac_tool_warned in |
|
3690 |
yes:)
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3691 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3692 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3693 |
ac_tool_warned=yes ;; |
3694 |
esac
|
|
3695 |
CC=$ac_ct_CC |
|
3696 |
fi
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3697 |
fi
|
3698 |
||
3699 |
fi
|
|
3700 |
||
3701 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
3702 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3703 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
3704 |
as_fn_error $? "no acceptable C compiler found in \$PATH |
3705 |
See \`config.log' for more details" "$LINENO" 5; } |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3706 |
|
3707 |
# Provide some information about the compiler.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3708 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3709 |
set X $ac_compile |
3710 |
ac_compiler=$2 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3711 |
for ac_option in --version -v -V -qversion; do |
3712 |
{ { ac_try="$ac_compiler $ac_option >&5" |
|
3713 |
case "(($ac_try" in |
|
3714 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3715 |
*) ac_try_echo=$ac_try;; |
|
3716 |
esac
|
|
3717 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3718 |
$as_echo "$ac_try_echo"; } >&5 |
|
3719 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
3720 |
ac_status=$? |
|
3721 |
if test -s conftest.err; then |
|
3722 |
sed '10a\
|
|
3723 |
... rest of stderr output deleted ...
|
|
3724 |
10q' conftest.err >conftest.er1
|
|
3725 |
cat conftest.er1 >&5 |
|
3726 |
fi
|
|
3727 |
rm -f conftest.er1 conftest.err |
|
3728 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3729 |
test $ac_status = 0; } |
|
3730 |
done
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3731 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3732 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3733 |
/* end confdefs.h. */
|
3734 |
||
3735 |
int
|
|
3736 |
main ()
|
|
3737 |
{
|
|
3738 |
||
3739 |
;
|
|
3740 |
return 0;
|
|
3741 |
}
|
|
3742 |
_ACEOF
|
|
3743 |
ac_clean_files_save=$ac_clean_files |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3744 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3745 |
# Try to create an executable without -o first, disregard a.out.
|
3746 |
# It will help us diagnose broken compilers, and finding out an intuition
|
|
3747 |
# of exeext.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3748 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
3749 |
$as_echo_n "checking whether the C compiler works... " >&6; } |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3750 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
3751 |
||
3752 |
# The possible output files:
|
|
3753 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
|
3754 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3755 |
ac_rmfiles= |
3756 |
for ac_file in $ac_files |
|
3757 |
do
|
|
3758 |
case $ac_file in |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3759 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3760 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
3761 |
esac
|
|
3762 |
done
|
|
3763 |
rm -f $ac_rmfiles
|
|
3764 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
3765 |
if { { ac_try="$ac_link_default" |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3766 |
case "(($ac_try" in |
3767 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3768 |
*) ac_try_echo=$ac_try;; |
|
3769 |
esac
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3770 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3771 |
$as_echo "$ac_try_echo"; } >&5 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3772 |
(eval "$ac_link_default") 2>&5 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3773 |
ac_status=$? |
36
by Arnold D. Robbins
Move to 3.1.8. |
3774 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3775 |
test $ac_status = 0; }; then : |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3776 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
3777 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
|
3778 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
|
3779 |
# so that the user can short-circuit this test for compilers unknown to
|
|
3780 |
# Autoconf.
|
|
3781 |
for ac_file in $ac_files '' |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3782 |
do
|
3783 |
test -f "$ac_file" || continue |
|
3784 |
case $ac_file in |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3785 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
3786 |
;;
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3787 |
[ab].out ) |
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
3788 |
# We found the default executable, but exeext='' is most
|
3789 |
# certainly right.
|
|
3790 |
break;;
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3791 |
*.* )
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3792 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3793 |
then :; else |
3794 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
3795 |
fi
|
|
3796 |
# We set ac_cv_exeext here because the later test for it is not
|
|
3797 |
# safe: cross compilers may not add the suffix if given an `-o'
|
|
3798 |
# argument, so we may need to know it at that point already.
|
|
3799 |
# Even if this section looks crufty: it has the advantage of
|
|
3800 |
# actually working.
|
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
3801 |
break;;
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3802 |
* )
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
3803 |
break;;
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3804 |
esac
|
3805 |
done
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3806 |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
3807 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3808 |
else
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3809 |
ac_file='' |
3810 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3811 |
if test -z "$ac_file"; then : |
3812 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3813 |
$as_echo "no" >&6; } |
|
3814 |
$as_echo "$as_me: failed program was:" >&5 |
|
3815 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3816 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3817 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3818 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
3819 |
as_fn_error 77 "C compiler cannot create executables |
3820 |
See \`config.log' for more details" "$LINENO" 5; } |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3821 |
else
|
3822 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
3823 |
$as_echo "yes" >&6; } |
|
3824 |
fi
|
|
3825 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
|
3826 |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
|
3827 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3828 |
$as_echo "$ac_file" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3829 |
ac_exeext=$ac_cv_exeext |
3830 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3831 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3832 |
ac_clean_files=$ac_clean_files_save |
36
by Arnold D. Robbins
Move to 3.1.8. |
3833 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3834 |
$as_echo_n "checking for suffix of executables... " >&6; } |
36
by Arnold D. Robbins
Move to 3.1.8. |
3835 |
if { { ac_try="$ac_link" |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3836 |
case "(($ac_try" in |
3837 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3838 |
*) ac_try_echo=$ac_try;; |
|
3839 |
esac
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3840 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3841 |
$as_echo "$ac_try_echo"; } >&5 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3842 |
(eval "$ac_link") 2>&5 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3843 |
ac_status=$? |
36
by Arnold D. Robbins
Move to 3.1.8. |
3844 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3845 |
test $ac_status = 0; }; then : |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3846 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
3847 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
|
3848 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
|
3849 |
# `rm'.
|
|
3850 |
for ac_file in conftest.exe conftest conftest.*; do |
|
3851 |
test -f "$ac_file" || continue |
|
3852 |
case $ac_file in |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3853 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3854 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
3855 |
break;;
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3856 |
* ) break;; |
3857 |
esac
|
|
3858 |
done
|
|
3859 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3860 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3861 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
3862 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3863 |
See \`config.log' for more details" "$LINENO" 5; } |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3864 |
fi
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3865 |
rm -f conftest conftest$ac_cv_exeext
|
3866 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3867 |
$as_echo "$ac_cv_exeext" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3868 |
|
3869 |
rm -f conftest.$ac_ext
|
|
3870 |
EXEEXT=$ac_cv_exeext |
|
3871 |
ac_exeext=$EXEEXT |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3872 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3873 |
/* end confdefs.h. */
|
|
3874 |
#include <stdio.h>
|
|
3875 |
int
|
|
3876 |
main ()
|
|
3877 |
{
|
|
3878 |
FILE *f = fopen ("conftest.out", "w");
|
|
3879 |
return ferror (f) || fclose (f) != 0;
|
|
3880 |
||
3881 |
;
|
|
3882 |
return 0;
|
|
3883 |
}
|
|
3884 |
_ACEOF
|
|
3885 |
ac_clean_files="$ac_clean_files conftest.out" |
|
3886 |
# Check that the compiler produces executables we can run. If not, either
|
|
3887 |
# the compiler is broken, or we cross compile.
|
|
3888 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
|
3889 |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
|
3890 |
if test "$cross_compiling" != yes; then |
|
3891 |
{ { ac_try="$ac_link" |
|
3892 |
case "(($ac_try" in |
|
3893 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3894 |
*) ac_try_echo=$ac_try;; |
|
3895 |
esac
|
|
3896 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3897 |
$as_echo "$ac_try_echo"; } >&5 |
|
3898 |
(eval "$ac_link") 2>&5 |
|
3899 |
ac_status=$? |
|
3900 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3901 |
test $ac_status = 0; } |
|
3902 |
if { ac_try='./conftest$ac_cv_exeext' |
|
3903 |
{ { case "(($ac_try" in |
|
3904 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3905 |
*) ac_try_echo=$ac_try;; |
|
3906 |
esac
|
|
3907 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3908 |
$as_echo "$ac_try_echo"; } >&5 |
|
3909 |
(eval "$ac_try") 2>&5 |
|
3910 |
ac_status=$? |
|
3911 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3912 |
test $ac_status = 0; }; }; then |
|
3913 |
cross_compiling=no |
|
3914 |
else
|
|
3915 |
if test "$cross_compiling" = maybe; then |
|
3916 |
cross_compiling=yes |
|
3917 |
else
|
|
3918 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3919 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
3920 |
as_fn_error $? "cannot run C compiled programs. |
36
by Arnold D. Robbins
Move to 3.1.8. |
3921 |
If you meant to cross compile, use \`--host'.
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
3922 |
See \`config.log' for more details" "$LINENO" 5; } |
36
by Arnold D. Robbins
Move to 3.1.8. |
3923 |
fi
|
3924 |
fi
|
|
3925 |
fi
|
|
3926 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
|
3927 |
$as_echo "$cross_compiling" >&6; } |
|
3928 |
||
3929 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
|
3930 |
ac_clean_files=$ac_clean_files_save |
|
3931 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3932 |
$as_echo_n "checking for suffix of object files... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
3933 |
if ${ac_cv_objext+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3934 |
$as_echo_n "(cached) " >&6 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3935 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3936 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3937 |
/* end confdefs.h. */
|
3938 |
||
3939 |
int
|
|
3940 |
main ()
|
|
3941 |
{
|
|
3942 |
||
3943 |
;
|
|
3944 |
return 0;
|
|
3945 |
}
|
|
3946 |
_ACEOF
|
|
3947 |
rm -f conftest.o conftest.obj |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3948 |
if { { ac_try="$ac_compile" |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3949 |
case "(($ac_try" in |
3950 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3951 |
*) ac_try_echo=$ac_try;; |
|
3952 |
esac
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3953 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3954 |
$as_echo "$ac_try_echo"; } >&5 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3955 |
(eval "$ac_compile") 2>&5 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3956 |
ac_status=$? |
36
by Arnold D. Robbins
Move to 3.1.8. |
3957 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3958 |
test $ac_status = 0; }; then : |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
3959 |
for ac_file in conftest.o conftest.obj conftest.*; do |
3960 |
test -f "$ac_file" || continue; |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3961 |
case $ac_file in |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3962 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3963 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3964 |
break;;
|
|
3965 |
esac
|
|
3966 |
done
|
|
3967 |
else
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3968 |
$as_echo "$as_me: failed program was:" >&5 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3969 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3970 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
3971 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3972 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
3973 |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
3974 |
See \`config.log' for more details" "$LINENO" 5; } |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3975 |
fi
|
3976 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
|
3977 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3978 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3979 |
$as_echo "$ac_cv_objext" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
3980 |
OBJEXT=$ac_cv_objext |
3981 |
ac_objext=$OBJEXT |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3982 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3983 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
3984 |
if ${ac_cv_c_compiler_gnu+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3985 |
$as_echo_n "(cached) " >&6 |
3986 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
3987 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
3988 |
/* end confdefs.h. */
|
3989 |
||
3990 |
int
|
|
3991 |
main ()
|
|
3992 |
{
|
|
3993 |
#ifndef __GNUC__
|
|
3994 |
choke me
|
|
3995 |
#endif
|
|
3996 |
||
3997 |
;
|
|
3998 |
return 0;
|
|
3999 |
}
|
|
4000 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4001 |
if ac_fn_c_try_compile "$LINENO"; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4002 |
ac_compiler_gnu=yes |
4003 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4004 |
ac_compiler_gnu=no |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4005 |
fi
|
4006 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4007 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
4008 |
||
4009 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4010 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4011 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
4012 |
if test $ac_compiler_gnu = yes; then |
|
4013 |
GCC=yes |
|
4014 |
else
|
|
4015 |
GCC= |
|
4016 |
fi
|
|
4017 |
ac_test_CFLAGS=${CFLAGS+set} |
|
4018 |
ac_save_CFLAGS=$CFLAGS |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4019 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4020 |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
4021 |
if ${ac_cv_prog_cc_g+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4022 |
$as_echo_n "(cached) " >&6 |
4023 |
else
|
|
4024 |
ac_save_c_werror_flag=$ac_c_werror_flag |
|
4025 |
ac_c_werror_flag=yes |
|
4026 |
ac_cv_prog_cc_g=no |
|
4027 |
CFLAGS="-g" |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4028 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4029 |
/* end confdefs.h. */
|
4030 |
||
4031 |
int
|
|
4032 |
main ()
|
|
4033 |
{
|
|
4034 |
||
4035 |
;
|
|
4036 |
return 0;
|
|
4037 |
}
|
|
4038 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4039 |
if ac_fn_c_try_compile "$LINENO"; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4040 |
ac_cv_prog_cc_g=yes |
4041 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4042 |
CFLAGS="" |
4043 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4044 |
/* end confdefs.h. */
|
4045 |
||
4046 |
int
|
|
4047 |
main ()
|
|
4048 |
{
|
|
4049 |
||
4050 |
;
|
|
4051 |
return 0;
|
|
4052 |
}
|
|
4053 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4054 |
if ac_fn_c_try_compile "$LINENO"; then : |
4055 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4056 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4057 |
ac_c_werror_flag=$ac_save_c_werror_flag |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4058 |
CFLAGS="-g" |
36
by Arnold D. Robbins
Move to 3.1.8. |
4059 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4060 |
/* end confdefs.h. */
|
4061 |
||
4062 |
int
|
|
4063 |
main ()
|
|
4064 |
{
|
|
4065 |
||
4066 |
;
|
|
4067 |
return 0;
|
|
4068 |
}
|
|
4069 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4070 |
if ac_fn_c_try_compile "$LINENO"; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4071 |
ac_cv_prog_cc_g=yes |
36
by Arnold D. Robbins
Move to 3.1.8. |
4072 |
fi
|
4073 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4074 |
fi
|
|
4075 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4076 |
fi
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4077 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4078 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
4079 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4080 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4081 |
$as_echo "$ac_cv_prog_cc_g" >&6; } |
4082 |
if test "$ac_test_CFLAGS" = set; then |
|
4083 |
CFLAGS=$ac_save_CFLAGS |
|
4084 |
elif test $ac_cv_prog_cc_g = yes; then |
|
4085 |
if test "$GCC" = yes; then |
|
4086 |
CFLAGS="-g -O2" |
|
4087 |
else
|
|
4088 |
CFLAGS="-g" |
|
4089 |
fi
|
|
4090 |
else
|
|
4091 |
if test "$GCC" = yes; then |
|
4092 |
CFLAGS="-O2" |
|
4093 |
else
|
|
4094 |
CFLAGS= |
|
4095 |
fi
|
|
4096 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4097 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4098 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
4099 |
if ${ac_cv_prog_cc_c89+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4100 |
$as_echo_n "(cached) " >&6 |
4101 |
else
|
|
4102 |
ac_cv_prog_cc_c89=no |
|
4103 |
ac_save_CC=$CC |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4104 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4105 |
/* end confdefs.h. */
|
4106 |
#include <stdarg.h>
|
|
4107 |
#include <stdio.h>
|
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
4108 |
struct stat;
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4109 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
4110 |
struct buf { int x; };
|
|
4111 |
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
|
4112 |
static char *e (p, i)
|
|
4113 |
char **p;
|
|
4114 |
int i;
|
|
4115 |
{
|
|
4116 |
return p[i];
|
|
4117 |
}
|
|
4118 |
static char *f (char * (*g) (char **, int), char **p, ...)
|
|
4119 |
{
|
|
4120 |
char *s;
|
|
4121 |
va_list v;
|
|
4122 |
va_start (v,p);
|
|
4123 |
s = g (p, va_arg (v,int));
|
|
4124 |
va_end (v);
|
|
4125 |
return s;
|
|
4126 |
}
|
|
4127 |
||
4128 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
|
4129 |
function prototypes and stuff, but not '\xHH' hex character constants.
|
|
4130 |
These don't provoke an error unfortunately, instead are silently treated
|
|
4131 |
as 'x'. The following induces an error, until -std is added to get
|
|
4132 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
|
4133 |
array size at least. It's necessary to write '\x00'==0 to get something
|
|
4134 |
that's true only with -std. */
|
|
4135 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
|
4136 |
||
4137 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
|
4138 |
inside strings and character constants. */
|
|
4139 |
#define FOO(x) 'x'
|
|
4140 |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
|
4141 |
||
4142 |
int test (int i, double x);
|
|
4143 |
struct s1 {int (*f) (int a);};
|
|
4144 |
struct s2 {int (*f) (double a);};
|
|
4145 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
|
4146 |
int argc;
|
|
4147 |
char **argv;
|
|
4148 |
int
|
|
4149 |
main ()
|
|
4150 |
{
|
|
4151 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
|
4152 |
;
|
|
4153 |
return 0;
|
|
4154 |
}
|
|
4155 |
_ACEOF
|
|
4156 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
|
4157 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
4158 |
do
|
|
4159 |
CC="$ac_save_CC $ac_arg" |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4160 |
if ac_fn_c_try_compile "$LINENO"; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4161 |
ac_cv_prog_cc_c89=$ac_arg |
4162 |
fi
|
|
4163 |
rm -f core conftest.err conftest.$ac_objext
|
|
4164 |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
4165 |
done
|
|
4166 |
rm -f conftest.$ac_ext
|
|
4167 |
CC=$ac_save_CC |
|
4168 |
||
4169 |
fi
|
|
4170 |
# AC_CACHE_VAL
|
|
4171 |
case "x$ac_cv_prog_cc_c89" in |
|
4172 |
x)
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4173 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4174 |
$as_echo "none needed" >&6; } ;; |
4175 |
xno)
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4176 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4177 |
$as_echo "unsupported" >&6; } ;; |
4178 |
*)
|
|
4179 |
CC="$CC $ac_cv_prog_cc_c89" |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4180 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4181 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
4182 |
esac
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4183 |
if test "x$ac_cv_prog_cc_c89" != xno; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4184 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4185 |
fi
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4186 |
|
4187 |
ac_ext=c |
|
4188 |
ac_cpp='$CPP $CPPFLAGS' |
|
4189 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4190 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4191 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
4192 |
||
408.12.28
by Andrew J. Schorr
Updating autotools caused some changes in derived files. |
4193 |
ac_ext=c |
4194 |
ac_cpp='$CPP $CPPFLAGS' |
|
4195 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4196 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4197 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
4198 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
|
4199 |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
|
4200 |
if ${am_cv_prog_cc_c_o+:} false; then : |
|
4201 |
$as_echo_n "(cached) " >&6 |
|
4202 |
else
|
|
4203 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4204 |
/* end confdefs.h. */
|
|
4205 |
||
4206 |
int
|
|
4207 |
main ()
|
|
4208 |
{
|
|
4209 |
||
4210 |
;
|
|
4211 |
return 0;
|
|
4212 |
}
|
|
4213 |
_ACEOF
|
|
4214 |
# Make sure it works both with $CC and with simple cc.
|
|
4215 |
# Following AC_PROG_CC_C_O, we do the test twice because some
|
|
4216 |
# compilers refuse to overwrite an existing .o file with -o,
|
|
4217 |
# though they will create one.
|
|
4218 |
am_cv_prog_cc_c_o=yes |
|
4219 |
for am_i in 1 2; do |
|
4220 |
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
|
4221 |
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
|
4222 |
ac_status=$? |
|
4223 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4224 |
(exit $ac_status); } \ |
|
4225 |
&& test -f conftest2.$ac_objext; then |
|
4226 |
: OK |
|
4227 |
else
|
|
4228 |
am_cv_prog_cc_c_o=no |
|
4229 |
break
|
|
4230 |
fi
|
|
4231 |
done
|
|
4232 |
rm -f core conftest* |
|
4233 |
unset am_i
|
|
4234 |
fi
|
|
4235 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
|
4236 |
$as_echo "$am_cv_prog_cc_c_o" >&6; } |
|
4237 |
if test "$am_cv_prog_cc_c_o" != yes; then |
|
4238 |
# Losing compiler, so override with the script.
|
|
4239 |
# FIXME: It is wrong to rewrite CC.
|
|
4240 |
# But if we don't then we get into trouble of one sort or another.
|
|
4241 |
# A longer-term fix would be to have automake use am__CC in this case,
|
|
4242 |
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
|
|
4243 |
CC="$am_aux_dir/compile $CC" |
|
4244 |
fi
|
|
4245 |
ac_ext=c |
|
4246 |
ac_cpp='$CPP $CPPFLAGS' |
|
4247 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4248 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4249 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
4250 |
||
4251 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4252 |
depcc="$CC" am_compiler_list= |
4253 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
4254 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4255 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
4256 |
if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4257 |
$as_echo_n "(cached) " >&6 |
4258 |
else
|
|
4259 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
4260 |
# We make a subdir and do the tests there. Otherwise we can end up
|
|
4261 |
# making bogus files that we don't know about and never remove. For
|
|
4262 |
# instance it was reported that on HP-UX the gcc test will end up
|
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
4263 |
# making a dummy file named 'D' -- because '-MD' means "put the output
|
4264 |
# in D".
|
|
277.1.131
by Arnold D. Robbins
Move to automake 1.11.4. |
4265 |
rm -rf conftest.dir |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4266 |
mkdir conftest.dir |
4267 |
# Copy depcomp to subdir because otherwise we won't find it if we're
|
|
4268 |
# using a relative directory.
|
|
4269 |
cp "$am_depcomp" conftest.dir |
|
4270 |
cd conftest.dir
|
|
4271 |
# We will build objects and dependencies in a subdirectory because
|
|
4272 |
# it helps to detect inapplicable dependency modes. For instance
|
|
4273 |
# both Tru64's cc and ICC support -MD to output dependencies as a
|
|
4274 |
# side effect of compilation, but ICC will put the dependencies in
|
|
4275 |
# the current directory while Tru64 will put them in the object
|
|
4276 |
# directory.
|
|
4277 |
mkdir sub |
|
4278 |
||
4279 |
am_cv_CC_dependencies_compiler_type=none |
|
4280 |
if test "$am_compiler_list" = ""; then |
|
4281 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
4282 |
fi
|
|
4283 |
am__universal=false |
|
4284 |
case " $depcc " in #( |
|
4285 |
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
4286 |
esac
|
|
4287 |
||
4288 |
for depmode in $am_compiler_list; do |
|
4289 |
# Setup a source with many dependencies, because some compilers
|
|
4290 |
# like to wrap large dependency lists on column 80 (with \), and
|
|
4291 |
# we should not choose a depcomp mode which is confused by this.
|
|
4292 |
#
|
|
4293 |
# We need to recreate these files for each test, as the compiler may
|
|
4294 |
# overwrite some of them when testing with obscure command lines.
|
|
4295 |
# This happens at least with the AIX C compiler.
|
|
4296 |
: > sub/conftest.c |
|
4297 |
for i in 1 2 3 4 5 6; do |
|
4298 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
4299 |
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
|
4300 |
# Solaris 10 /bin/sh.
|
|
4301 |
echo '/* dummy */' > sub/conftst$i.h |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4302 |
done
|
4303 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
4304 |
||
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
4305 |
# We check with '-c' and '-o' for the sake of the "dashmstdout"
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4306 |
# mode. It turns out that the SunPro C++ compiler does not properly
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
4307 |
# handle '-M -o', and we need to detect this. Also, some Intel
|
4308 |
# versions had trouble with output in subdirs.
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4309 |
am__obj=sub/conftest.${OBJEXT-o} |
4310 |
am__minus_obj="-o $am__obj" |
|
4311 |
case $depmode in |
|
4312 |
gcc)
|
|
4313 |
# This depmode causes a compiler race in universal mode.
|
|
4314 |
test "$am__universal" = false || continue |
|
4315 |
;;
|
|
4316 |
nosideeffect)
|
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
4317 |
# After this tag, mechanisms are not by side-effect, so they'll
|
4318 |
# only be used when explicitly requested.
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4319 |
if test "x$enable_dependency_tracking" = xyes; then |
4320 |
continue
|
|
4321 |
else
|
|
4322 |
break
|
|
4323 |
fi
|
|
4324 |
;;
|
|
277.1.131
by Arnold D. Robbins
Move to automake 1.11.4. |
4325 |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
4326 |
# This compiler won't grok '-c -o', but also, the minuso test has
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4327 |
# not run yet. These depmodes are late enough in the game, and
|
4328 |
# so weak that their functioning should not be impacted.
|
|
4329 |
am__obj=conftest.${OBJEXT-o} |
|
4330 |
am__minus_obj= |
|
4331 |
;;
|
|
4332 |
none) break ;; |
|
4333 |
esac
|
|
4334 |
if depmode=$depmode \ |
|
4335 |
source=sub/conftest.c object=$am__obj \ |
|
4336 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
4337 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
|
4338 |
>/dev/null 2>conftest.err && |
|
4339 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
4340 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
4341 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
|
4342 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
4343 |
# icc doesn't choke on unknown options, it will just issue warnings
|
|
4344 |
# or remarks (even with -Werror). So we grep stderr for any message
|
|
4345 |
# that says an option was ignored or not supported.
|
|
4346 |
# When given -MP, icc 7.0 and 7.1 complain thusly:
|
|
4347 |
# icc: Command line warning: ignoring option '-M'; no argument required
|
|
4348 |
# The diagnosis changed in icc 8.0:
|
|
4349 |
# icc: Command line remark: option '-MP' not supported
|
|
4350 |
if (grep 'ignoring option' conftest.err || |
|
4351 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
4352 |
am_cv_CC_dependencies_compiler_type=$depmode |
|
4353 |
break
|
|
4354 |
fi
|
|
4355 |
fi
|
|
4356 |
done
|
|
4357 |
||
4358 |
cd ..
|
|
4359 |
rm -rf conftest.dir |
|
4360 |
else
|
|
4361 |
am_cv_CC_dependencies_compiler_type=none |
|
4362 |
fi
|
|
4363 |
||
4364 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4365 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4366 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
4367 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
|
4368 |
||
4369 |
if
|
|
4370 |
test "x$enable_dependency_tracking" != xno \ |
|
4371 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|
4372 |
am__fastdepCC_TRUE= |
|
4373 |
am__fastdepCC_FALSE='#' |
|
4374 |
else
|
|
4375 |
am__fastdepCC_TRUE='#' |
|
4376 |
am__fastdepCC_FALSE= |
|
4377 |
fi
|
|
4378 |
||
4379 |
||
4380 |
||
4381 |
ac_ext=c |
|
4382 |
ac_cpp='$CPP $CPPFLAGS' |
|
4383 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4384 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4385 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4386 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4387 |
$as_echo_n "checking how to run the C preprocessor... " >&6; } |
4388 |
# On Suns, sometimes $CPP names a directory.
|
|
4389 |
if test -n "$CPP" && test -d "$CPP"; then |
|
4390 |
CPP= |
|
4391 |
fi
|
|
4392 |
if test -z "$CPP"; then |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
4393 |
if ${ac_cv_prog_CPP+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4394 |
$as_echo_n "(cached) " >&6 |
4395 |
else
|
|
4396 |
# Double quotes because CPP needs to be expanded
|
|
4397 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
4398 |
do
|
|
4399 |
ac_preproc_ok=false |
|
4400 |
for ac_c_preproc_warn_flag in '' yes |
|
4401 |
do
|
|
4402 |
# Use a header file that comes with gcc, so configuring glibc
|
|
4403 |
# with a fresh cross-compiler works.
|
|
4404 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
4405 |
# <limits.h> exists even on freestanding compilers.
|
|
4406 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
4407 |
# not just through cpp. "Syntax error" is here to catch this case.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4408 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4409 |
/* end confdefs.h. */
|
4410 |
#ifdef __STDC__
|
|
4411 |
# include <limits.h>
|
|
4412 |
#else
|
|
4413 |
# include <assert.h>
|
|
4414 |
#endif
|
|
4415 |
Syntax error
|
|
4416 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4417 |
if ac_fn_c_try_cpp "$LINENO"; then : |
4418 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4419 |
else
|
4420 |
# Broken: fails on valid input.
|
|
4421 |
continue
|
|
4422 |
fi
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
4423 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4424 |
|
4425 |
# OK, works on sane cases. Now check whether nonexistent headers
|
|
4426 |
# can be detected and how.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4427 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4428 |
/* end confdefs.h. */
|
4429 |
#include <ac_nonexistent.h>
|
|
4430 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4431 |
if ac_fn_c_try_cpp "$LINENO"; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4432 |
# Broken: success on invalid input.
|
4433 |
continue
|
|
4434 |
else
|
|
4435 |
# Passes both tests.
|
|
4436 |
ac_preproc_ok=: |
|
4437 |
break
|
|
4438 |
fi
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
4439 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4440 |
|
4441 |
done
|
|
4442 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
4443 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4444 |
if $ac_preproc_ok; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4445 |
break
|
4446 |
fi
|
|
4447 |
||
4448 |
done
|
|
4449 |
ac_cv_prog_CPP=$CPP |
|
4450 |
||
4451 |
fi
|
|
4452 |
CPP=$ac_cv_prog_CPP |
|
4453 |
else
|
|
4454 |
ac_cv_prog_CPP=$CPP |
|
4455 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4456 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4457 |
$as_echo "$CPP" >&6; } |
4458 |
ac_preproc_ok=false |
|
4459 |
for ac_c_preproc_warn_flag in '' yes |
|
4460 |
do
|
|
4461 |
# Use a header file that comes with gcc, so configuring glibc
|
|
4462 |
# with a fresh cross-compiler works.
|
|
4463 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
4464 |
# <limits.h> exists even on freestanding compilers.
|
|
4465 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
4466 |
# not just through cpp. "Syntax error" is here to catch this case.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4467 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4468 |
/* end confdefs.h. */
|
4469 |
#ifdef __STDC__
|
|
4470 |
# include <limits.h>
|
|
4471 |
#else
|
|
4472 |
# include <assert.h>
|
|
4473 |
#endif
|
|
4474 |
Syntax error
|
|
4475 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4476 |
if ac_fn_c_try_cpp "$LINENO"; then : |
4477 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4478 |
else
|
4479 |
# Broken: fails on valid input.
|
|
4480 |
continue
|
|
4481 |
fi
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
4482 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4483 |
|
4484 |
# OK, works on sane cases. Now check whether nonexistent headers
|
|
4485 |
# can be detected and how.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4486 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4487 |
/* end confdefs.h. */
|
4488 |
#include <ac_nonexistent.h>
|
|
4489 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4490 |
if ac_fn_c_try_cpp "$LINENO"; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4491 |
# Broken: success on invalid input.
|
4492 |
continue
|
|
4493 |
else
|
|
4494 |
# Passes both tests.
|
|
4495 |
ac_preproc_ok=: |
|
4496 |
break
|
|
4497 |
fi
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
4498 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4499 |
|
4500 |
done
|
|
4501 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
4502 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4503 |
if $ac_preproc_ok; then : |
4504 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4505 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4506 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4507 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
4508 |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
4509 |
See \`config.log' for more details" "$LINENO" 5; } |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4510 |
fi
|
4511 |
||
4512 |
ac_ext=c |
|
4513 |
ac_cpp='$CPP $CPPFLAGS' |
|
4514 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4515 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4516 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
4517 |
||
4518 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
4519 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4520 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
4521 |
if ${ac_cv_path_GREP+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4522 |
$as_echo_n "(cached) " >&6 |
4523 |
else
|
|
4524 |
if test -z "$GREP"; then |
|
4525 |
ac_path_GREP_found=false |
|
4526 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
4527 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4528 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
4529 |
do
|
|
4530 |
IFS=$as_save_IFS |
|
4531 |
test -z "$as_dir" && as_dir=. |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4532 |
for ac_prog in grep ggrep; do |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4533 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4534 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
4535 |
as_fn_executable_p "$ac_path_GREP" || continue |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4536 |
# Check for GNU ac_path_GREP and select it if it is found.
|
4537 |
# Check for GNU $ac_path_GREP
|
|
4538 |
case `"$ac_path_GREP" --version 2>&1` in |
|
4539 |
*GNU*)
|
|
4540 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|
4541 |
*)
|
|
4542 |
ac_count=0 |
|
4543 |
$as_echo_n 0123456789 >"conftest.in" |
|
4544 |
while :
|
|
4545 |
do
|
|
4546 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4547 |
mv "conftest.tmp" "conftest.in" |
|
4548 |
cp "conftest.in" "conftest.nl" |
|
4549 |
$as_echo 'GREP' >> "conftest.nl" |
|
4550 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
4551 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4552 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4553 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
4554 |
# Best one so far, save it but keep looking for a better one
|
|
4555 |
ac_cv_path_GREP="$ac_path_GREP" |
|
4556 |
ac_path_GREP_max=$ac_count |
|
4557 |
fi
|
|
4558 |
# 10*(2^10) chars as input seems more than enough
|
|
4559 |
test $ac_count -gt 10 && break |
|
4560 |
done
|
|
4561 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
4562 |
esac
|
|
4563 |
||
4564 |
$ac_path_GREP_found && break 3 |
|
4565 |
done
|
|
4566 |
done
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4567 |
done
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4568 |
IFS=$as_save_IFS |
4569 |
if test -z "$ac_cv_path_GREP"; then |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
4570 |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4571 |
fi
|
4572 |
else
|
|
4573 |
ac_cv_path_GREP=$GREP |
|
4574 |
fi
|
|
4575 |
||
4576 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4577 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4578 |
$as_echo "$ac_cv_path_GREP" >&6; } |
4579 |
GREP="$ac_cv_path_GREP" |
|
4580 |
||
4581 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
4582 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4583 |
$as_echo_n "checking for egrep... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
4584 |
if ${ac_cv_path_EGREP+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4585 |
$as_echo_n "(cached) " >&6 |
4586 |
else
|
|
4587 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
4588 |
then ac_cv_path_EGREP="$GREP -E" |
|
4589 |
else
|
|
4590 |
if test -z "$EGREP"; then |
|
4591 |
ac_path_EGREP_found=false |
|
4592 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
4593 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4594 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
4595 |
do
|
|
4596 |
IFS=$as_save_IFS |
|
4597 |
test -z "$as_dir" && as_dir=. |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4598 |
for ac_prog in egrep; do |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4599 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4600 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
4601 |
as_fn_executable_p "$ac_path_EGREP" || continue |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4602 |
# Check for GNU ac_path_EGREP and select it if it is found.
|
4603 |
# Check for GNU $ac_path_EGREP
|
|
4604 |
case `"$ac_path_EGREP" --version 2>&1` in |
|
4605 |
*GNU*)
|
|
4606 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
4607 |
*)
|
|
4608 |
ac_count=0 |
|
4609 |
$as_echo_n 0123456789 >"conftest.in" |
|
4610 |
while :
|
|
4611 |
do
|
|
4612 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4613 |
mv "conftest.tmp" "conftest.in" |
|
4614 |
cp "conftest.in" "conftest.nl" |
|
4615 |
$as_echo 'EGREP' >> "conftest.nl" |
|
4616 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
4617 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4618 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4619 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
4620 |
# Best one so far, save it but keep looking for a better one
|
|
4621 |
ac_cv_path_EGREP="$ac_path_EGREP" |
|
4622 |
ac_path_EGREP_max=$ac_count |
|
4623 |
fi
|
|
4624 |
# 10*(2^10) chars as input seems more than enough
|
|
4625 |
test $ac_count -gt 10 && break |
|
4626 |
done
|
|
4627 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
4628 |
esac
|
|
4629 |
||
4630 |
$ac_path_EGREP_found && break 3 |
|
4631 |
done
|
|
4632 |
done
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4633 |
done
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4634 |
IFS=$as_save_IFS |
4635 |
if test -z "$ac_cv_path_EGREP"; then |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
4636 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4637 |
fi
|
4638 |
else
|
|
4639 |
ac_cv_path_EGREP=$EGREP |
|
4640 |
fi
|
|
4641 |
||
4642 |
fi
|
|
4643 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4644 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4645 |
$as_echo "$ac_cv_path_EGREP" >&6; } |
4646 |
EGREP="$ac_cv_path_EGREP" |
|
4647 |
||
4648 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
4649 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4650 |
$as_echo_n "checking for ANSI C header files... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
4651 |
if ${ac_cv_header_stdc+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4652 |
$as_echo_n "(cached) " >&6 |
4653 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4654 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4655 |
/* end confdefs.h. */
|
4656 |
#include <stdlib.h>
|
|
4657 |
#include <stdarg.h>
|
|
4658 |
#include <string.h>
|
|
4659 |
#include <float.h>
|
|
4660 |
||
4661 |
int
|
|
4662 |
main ()
|
|
4663 |
{
|
|
4664 |
||
4665 |
;
|
|
4666 |
return 0;
|
|
4667 |
}
|
|
4668 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4669 |
if ac_fn_c_try_compile "$LINENO"; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4670 |
ac_cv_header_stdc=yes |
4671 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4672 |
ac_cv_header_stdc=no |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4673 |
fi
|
4674 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4675 |
||
4676 |
if test $ac_cv_header_stdc = yes; then |
|
4677 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4678 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4679 |
/* end confdefs.h. */
|
4680 |
#include <string.h>
|
|
4681 |
||
4682 |
_ACEOF
|
|
4683 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4684 |
$EGREP "memchr" >/dev/null 2>&1; then : |
4685 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4686 |
else
|
4687 |
ac_cv_header_stdc=no |
|
4688 |
fi
|
|
4689 |
rm -f conftest* |
|
4690 |
||
4691 |
fi
|
|
4692 |
||
4693 |
if test $ac_cv_header_stdc = yes; then |
|
4694 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4695 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4696 |
/* end confdefs.h. */
|
4697 |
#include <stdlib.h>
|
|
4698 |
||
4699 |
_ACEOF
|
|
4700 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4701 |
$EGREP "free" >/dev/null 2>&1; then : |
4702 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4703 |
else
|
4704 |
ac_cv_header_stdc=no |
|
4705 |
fi
|
|
4706 |
rm -f conftest* |
|
4707 |
||
4708 |
fi
|
|
4709 |
||
4710 |
if test $ac_cv_header_stdc = yes; then |
|
4711 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4712 |
if test "$cross_compiling" = yes; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4713 |
: |
4714 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4715 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4716 |
/* end confdefs.h. */
|
4717 |
#include <ctype.h>
|
|
4718 |
#include <stdlib.h>
|
|
4719 |
#if ((' ' & 0x0FF) == 0x020)
|
|
4720 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
4721 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
4722 |
#else
|
|
4723 |
# define ISLOWER(c) \
|
|
4724 |
(('a' <= (c) && (c) <= 'i') \
|
|
4725 |
|| ('j' <= (c) && (c) <= 'r') \
|
|
4726 |
|| ('s' <= (c) && (c) <= 'z'))
|
|
4727 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
|
4728 |
#endif
|
|
4729 |
||
4730 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
|
4731 |
int
|
|
4732 |
main ()
|
|
4733 |
{
|
|
4734 |
int i;
|
|
4735 |
for (i = 0; i < 256; i++)
|
|
4736 |
if (XOR (islower (i), ISLOWER (i))
|
|
4737 |
|| toupper (i) != TOUPPER (i))
|
|
4738 |
return 2;
|
|
4739 |
return 0;
|
|
4740 |
}
|
|
4741 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4742 |
if ac_fn_c_try_run "$LINENO"; then : |
4743 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4744 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4745 |
ac_cv_header_stdc=no |
4746 |
fi
|
|
4747 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
4748 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
4749 |
fi
|
|
4750 |
||
4751 |
fi
|
|
4752 |
fi
|
|
4753 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4754 |
$as_echo "$ac_cv_header_stdc" >&6; } |
4755 |
if test $ac_cv_header_stdc = yes; then |
|
4756 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
4757 |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4758 |
|
4759 |
fi
|
|
4760 |
||
4761 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
|
4762 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
4763 |
inttypes.h stdint.h unistd.h |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4764 |
do :
|
4765 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
4766 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
|
4767 |
"
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
4768 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4769 |
cat >>confdefs.h <<_ACEOF
|
4770 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
4771 |
_ACEOF
|
|
4772 |
||
4773 |
fi
|
|
4774 |
||
4775 |
done
|
|
4776 |
||
4777 |
||
4778 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
4779 |
ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
4780 |
if test "x$ac_cv_header_minix_config_h" = xyes; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4781 |
MINIX=yes |
4782 |
else
|
|
4783 |
MINIX= |
|
4784 |
fi
|
|
4785 |
||
4786 |
||
4787 |
if test "$MINIX" = yes; then |
|
4788 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
4789 |
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h |
4790 |
||
4791 |
||
4792 |
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h |
|
4793 |
||
4794 |
||
4795 |
$as_echo "#define _MINIX 1" >>confdefs.h |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4796 |
|
4797 |
fi
|
|
4798 |
||
4799 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
4800 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4801 |
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
4802 |
if ${ac_cv_safe_to_define___extensions__+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4803 |
$as_echo_n "(cached) " >&6 |
4804 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4805 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4806 |
/* end confdefs.h. */
|
4807 |
||
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
4808 |
# define __EXTENSIONS__ 1
|
4809 |
$ac_includes_default
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4810 |
int
|
4811 |
main ()
|
|
4812 |
{
|
|
4813 |
||
4814 |
;
|
|
4815 |
return 0;
|
|
4816 |
}
|
|
4817 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4818 |
if ac_fn_c_try_compile "$LINENO"; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4819 |
ac_cv_safe_to_define___extensions__=yes |
4820 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4821 |
ac_cv_safe_to_define___extensions__=no |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4822 |
fi
|
4823 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4824 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4825 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4826 |
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } |
4827 |
test $ac_cv_safe_to_define___extensions__ = yes && |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4828 |
$as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
4829 |
||
4830 |
$as_echo "#define _ALL_SOURCE 1" >>confdefs.h |
|
4831 |
||
4832 |
$as_echo "#define _GNU_SOURCE 1" >>confdefs.h |
|
4833 |
||
4834 |
$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h |
|
4835 |
||
4836 |
$as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h |
|
4837 |
||
4838 |
||
4839 |
||
4840 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4841 |
$as_echo_n "checking for egrep... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
4842 |
if ${ac_cv_path_EGREP+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4843 |
$as_echo_n "(cached) " >&6 |
4844 |
else
|
|
4845 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
4846 |
then ac_cv_path_EGREP="$GREP -E" |
|
4847 |
else
|
|
4848 |
if test -z "$EGREP"; then |
|
4849 |
ac_path_EGREP_found=false |
|
4850 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
4851 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4852 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
4853 |
do
|
|
4854 |
IFS=$as_save_IFS |
|
4855 |
test -z "$as_dir" && as_dir=. |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4856 |
for ac_prog in egrep; do |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4857 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4858 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
4859 |
as_fn_executable_p "$ac_path_EGREP" || continue |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4860 |
# Check for GNU ac_path_EGREP and select it if it is found.
|
4861 |
# Check for GNU $ac_path_EGREP
|
|
4862 |
case `"$ac_path_EGREP" --version 2>&1` in |
|
4863 |
*GNU*)
|
|
4864 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
4865 |
*)
|
|
4866 |
ac_count=0 |
|
4867 |
$as_echo_n 0123456789 >"conftest.in" |
|
4868 |
while :
|
|
4869 |
do
|
|
4870 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4871 |
mv "conftest.tmp" "conftest.in" |
|
4872 |
cp "conftest.in" "conftest.nl" |
|
4873 |
$as_echo 'EGREP' >> "conftest.nl" |
|
4874 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
4875 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4876 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4877 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
4878 |
# Best one so far, save it but keep looking for a better one
|
|
4879 |
ac_cv_path_EGREP="$ac_path_EGREP" |
|
4880 |
ac_path_EGREP_max=$ac_count |
|
4881 |
fi
|
|
4882 |
# 10*(2^10) chars as input seems more than enough
|
|
4883 |
test $ac_count -gt 10 && break |
|
4884 |
done
|
|
4885 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
4886 |
esac
|
|
4887 |
||
4888 |
$ac_path_EGREP_found && break 3 |
|
4889 |
done
|
|
4890 |
done
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4891 |
done
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4892 |
IFS=$as_save_IFS |
4893 |
if test -z "$ac_cv_path_EGREP"; then |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
4894 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4895 |
fi
|
4896 |
else
|
|
4897 |
ac_cv_path_EGREP=$EGREP |
|
4898 |
fi
|
|
4899 |
||
4900 |
fi
|
|
4901 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4902 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4903 |
$as_echo "$ac_cv_path_EGREP" >&6; } |
4904 |
EGREP="$ac_cv_path_EGREP" |
|
4905 |
||
4906 |
||
4907 |
for ac_prog in 'bison -y' byacc |
|
4908 |
do
|
|
4909 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
4910 |
set dummy $ac_prog; ac_word=$2 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4911 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4912 |
$as_echo_n "checking for $ac_word... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
4913 |
if ${ac_cv_prog_YACC+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4914 |
$as_echo_n "(cached) " >&6 |
4915 |
else
|
|
4916 |
if test -n "$YACC"; then |
|
4917 |
ac_cv_prog_YACC="$YACC" # Let the user override the test. |
|
4918 |
else
|
|
4919 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4920 |
for as_dir in $PATH |
|
4921 |
do
|
|
4922 |
IFS=$as_save_IFS |
|
4923 |
test -z "$as_dir" && as_dir=. |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4924 |
for ac_exec_ext in '' $ac_executable_extensions; do |
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
4925 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4926 |
ac_cv_prog_YACC="$ac_prog" |
36
by Arnold D. Robbins
Move to 3.1.8. |
4927 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4928 |
break 2 |
4929 |
fi
|
|
4930 |
done
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4931 |
done
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4932 |
IFS=$as_save_IFS |
4933 |
||
4934 |
fi
|
|
4935 |
fi
|
|
4936 |
YACC=$ac_cv_prog_YACC |
|
4937 |
if test -n "$YACC"; then |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4938 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4939 |
$as_echo "$YACC" >&6; } |
4940 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4941 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4942 |
$as_echo "no" >&6; } |
4943 |
fi
|
|
4944 |
||
4945 |
||
4946 |
test -n "$YACC" && break |
|
4947 |
done
|
|
4948 |
test -n "$YACC" || YACC="yacc" |
|
4949 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
4950 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4951 |
$as_echo_n "checking whether ln -s works... " >&6; } |
4952 |
LN_S=$as_ln_s |
|
4953 |
if test "$LN_S" = "ln -s"; then |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4954 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4955 |
$as_echo "yes" >&6; } |
4956 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
4957 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4958 |
$as_echo "no, using $LN_S" >&6; } |
4959 |
fi
|
|
4960 |
||
408.20.129
by Arnold D. Robbins
Enable C99 compilation. Fix dfa.c. |
4961 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 |
4962 |
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } |
|
4963 |
if ${ac_cv_prog_cc_c99+:} false; then : |
|
4964 |
$as_echo_n "(cached) " >&6 |
|
4965 |
else
|
|
4966 |
ac_cv_prog_cc_c99=no |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4967 |
ac_save_CC=$CC |
36
by Arnold D. Robbins
Move to 3.1.8. |
4968 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4969 |
/* end confdefs.h. */
|
4970 |
#include <stdarg.h>
|
|
408.20.129
by Arnold D. Robbins
Enable C99 compilation. Fix dfa.c. |
4971 |
#include <stdbool.h>
|
4972 |
#include <stdlib.h>
|
|
4973 |
#include <wchar.h>
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
4974 |
#include <stdio.h>
|
408.20.129
by Arnold D. Robbins
Enable C99 compilation. Fix dfa.c. |
4975 |
|
4976 |
// Check varargs macros. These examples are taken from C99 6.10.3.5.
|
|
4977 |
#define debug(...) fprintf (stderr, __VA_ARGS__)
|
|
4978 |
#define showlist(...) puts (#__VA_ARGS__)
|
|
4979 |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
|
|
4980 |
static void
|
|
4981 |
test_varargs_macros (void)
|
|
4982 |
{
|
|
4983 |
int x = 1234;
|
|
4984 |
int y = 5678;
|
|
4985 |
debug ("Flag");
|
|
4986 |
debug ("X = %d\n", x);
|
|
4987 |
showlist (The first, second, and third items.);
|
|
4988 |
report (x>y, "x is %d but y is %d", x, y);
|
|
4989 |
}
|
|
4990 |
||
4991 |
// Check long long types.
|
|
4992 |
#define BIG64 18446744073709551615ull
|
|
4993 |
#define BIG32 4294967295ul
|
|
4994 |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
|
|
4995 |
#if !BIG_OK
|
|
4996 |
your preprocessor is broken;
|
|
4997 |
#endif
|
|
4998 |
#if BIG_OK
|
|
4999 |
#else
|
|
5000 |
your preprocessor is broken;
|
|
5001 |
#endif
|
|
5002 |
static long long int bignum = -9223372036854775807LL;
|
|
5003 |
static unsigned long long int ubignum = BIG64;
|
|
5004 |
||
5005 |
struct incomplete_array
|
|
5006 |
{
|
|
5007 |
int datasize;
|
|
5008 |
double data[];
|
|
5009 |
};
|
|
5010 |
||
5011 |
struct named_init {
|
|
5012 |
int number;
|
|
5013 |
const wchar_t *name;
|
|
5014 |
double average;
|
|
5015 |
};
|
|
5016 |
||
5017 |
typedef const char *ccp;
|
|
5018 |
||
5019 |
static inline int
|
|
5020 |
test_restrict (ccp restrict text)
|
|
5021 |
{
|
|
5022 |
// See if C++-style comments work.
|
|
5023 |
// Iterate through items via the restricted pointer.
|
|
5024 |
// Also check for declarations in for loops.
|
|
5025 |
for (unsigned int i = 0; *(text+i) != '\0'; ++i)
|
|
5026 |
continue;
|
|
5027 |
return 0;
|
|
5028 |
}
|
|
5029 |
||
5030 |
// Check varargs and va_copy.
|
|
5031 |
static void
|
|
5032 |
test_varargs (const char *format, ...)
|
|
5033 |
{
|
|
5034 |
va_list args;
|
|
5035 |
va_start (args, format);
|
|
5036 |
va_list args_copy;
|
|
5037 |
va_copy (args_copy, args);
|
|
5038 |
||
5039 |
const char *str;
|
|
5040 |
int number;
|
|
5041 |
float fnumber;
|
|
5042 |
||
5043 |
while (*format)
|
|
5044 |
{
|
|
5045 |
switch (*format++)
|
|
5046 |
{
|
|
5047 |
case 's': // string
|
|
5048 |
str = va_arg (args_copy, const char *);
|
|
5049 |
break;
|
|
5050 |
case 'd': // int
|
|
5051 |
number = va_arg (args_copy, int);
|
|
5052 |
break;
|
|
5053 |
case 'f': // float
|
|
5054 |
fnumber = va_arg (args_copy, double);
|
|
5055 |
break;
|
|
5056 |
default:
|
|
5057 |
break;
|
|
5058 |
}
|
|
5059 |
}
|
|
5060 |
va_end (args_copy);
|
|
5061 |
va_end (args);
|
|
5062 |
}
|
|
5063 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5064 |
int
|
5065 |
main ()
|
|
5066 |
{
|
|
408.20.129
by Arnold D. Robbins
Enable C99 compilation. Fix dfa.c. |
5067 |
|
5068 |
// Check bool.
|
|
5069 |
_Bool success = false;
|
|
5070 |
||
5071 |
// Check restrict.
|
|
5072 |
if (test_restrict ("String literal") == 0)
|
|
5073 |
success = true;
|
|
5074 |
char *restrict newvar = "Another string";
|
|
5075 |
||
5076 |
// Check varargs.
|
|
5077 |
test_varargs ("s, d' f .", "string", 65, 34.234);
|
|
5078 |
test_varargs_macros ();
|
|
5079 |
||
5080 |
// Check flexible array members.
|
|
5081 |
struct incomplete_array *ia =
|
|
5082 |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
|
|
5083 |
ia->datasize = 10;
|
|
5084 |
for (int i = 0; i < ia->datasize; ++i)
|
|
5085 |
ia->data[i] = i * 1.234;
|
|
5086 |
||
5087 |
// Check named initializers.
|
|
5088 |
struct named_init ni = {
|
|
5089 |
.number = 34,
|
|
5090 |
.name = L"Test wide string",
|
|
5091 |
.average = 543.34343,
|
|
5092 |
};
|
|
5093 |
||
5094 |
ni.number = 58;
|
|
5095 |
||
5096 |
int dynamic_array[ni.number];
|
|
5097 |
dynamic_array[ni.number - 1] = 543;
|
|
5098 |
||
5099 |
// work around unused variable warnings
|
|
5100 |
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
|
|
5101 |
|| dynamic_array[ni.number - 1] != 543);
|
|
5102 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5103 |
;
|
5104 |
return 0;
|
|
5105 |
}
|
|
5106 |
_ACEOF
|
|
408.20.129
by Arnold D. Robbins
Enable C99 compilation. Fix dfa.c. |
5107 |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5108 |
do
|
5109 |
CC="$ac_save_CC $ac_arg" |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5110 |
if ac_fn_c_try_compile "$LINENO"; then : |
408.20.129
by Arnold D. Robbins
Enable C99 compilation. Fix dfa.c. |
5111 |
ac_cv_prog_cc_c99=$ac_arg |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5112 |
fi
|
5113 |
rm -f core conftest.err conftest.$ac_objext
|
|
408.20.129
by Arnold D. Robbins
Enable C99 compilation. Fix dfa.c. |
5114 |
test "x$ac_cv_prog_cc_c99" != "xno" && break |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5115 |
done
|
5116 |
rm -f conftest.$ac_ext
|
|
5117 |
CC=$ac_save_CC |
|
5118 |
||
5119 |
fi
|
|
5120 |
# AC_CACHE_VAL
|
|
408.20.129
by Arnold D. Robbins
Enable C99 compilation. Fix dfa.c. |
5121 |
case "x$ac_cv_prog_cc_c99" in |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5122 |
x)
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5123 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5124 |
$as_echo "none needed" >&6; } ;; |
5125 |
xno)
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5126 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5127 |
$as_echo "unsupported" >&6; } ;; |
5128 |
*)
|
|
408.20.129
by Arnold D. Robbins
Enable C99 compilation. Fix dfa.c. |
5129 |
CC="$CC $ac_cv_prog_cc_c99" |
5130 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
|
5131 |
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5132 |
esac
|
408.20.129
by Arnold D. Robbins
Enable C99 compilation. Fix dfa.c. |
5133 |
if test "x$ac_cv_prog_cc_c99" != xno; then : |
5134 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5135 |
fi
|
5136 |
||
5137 |
||
5138 |
ac_ext=c |
|
5139 |
ac_cpp='$CPP $CPPFLAGS' |
|
5140 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
5141 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
5142 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5143 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5144 |
$as_echo_n "checking how to run the C preprocessor... " >&6; } |
5145 |
# On Suns, sometimes $CPP names a directory.
|
|
5146 |
if test -n "$CPP" && test -d "$CPP"; then |
|
5147 |
CPP= |
|
5148 |
fi
|
|
5149 |
if test -z "$CPP"; then |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
5150 |
if ${ac_cv_prog_CPP+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5151 |
$as_echo_n "(cached) " >&6 |
5152 |
else
|
|
5153 |
# Double quotes because CPP needs to be expanded
|
|
5154 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
5155 |
do
|
|
5156 |
ac_preproc_ok=false |
|
5157 |
for ac_c_preproc_warn_flag in '' yes |
|
5158 |
do
|
|
5159 |
# Use a header file that comes with gcc, so configuring glibc
|
|
5160 |
# with a fresh cross-compiler works.
|
|
5161 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
5162 |
# <limits.h> exists even on freestanding compilers.
|
|
5163 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
5164 |
# not just through cpp. "Syntax error" is here to catch this case.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5165 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5166 |
/* end confdefs.h. */
|
5167 |
#ifdef __STDC__
|
|
5168 |
# include <limits.h>
|
|
5169 |
#else
|
|
5170 |
# include <assert.h>
|
|
5171 |
#endif
|
|
5172 |
Syntax error
|
|
5173 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5174 |
if ac_fn_c_try_cpp "$LINENO"; then : |
5175 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5176 |
else
|
5177 |
# Broken: fails on valid input.
|
|
5178 |
continue
|
|
5179 |
fi
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
5180 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5181 |
|
5182 |
# OK, works on sane cases. Now check whether nonexistent headers
|
|
5183 |
# can be detected and how.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5184 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5185 |
/* end confdefs.h. */
|
5186 |
#include <ac_nonexistent.h>
|
|
5187 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5188 |
if ac_fn_c_try_cpp "$LINENO"; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5189 |
# Broken: success on invalid input.
|
5190 |
continue
|
|
5191 |
else
|
|
5192 |
# Passes both tests.
|
|
5193 |
ac_preproc_ok=: |
|
5194 |
break
|
|
5195 |
fi
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
5196 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5197 |
|
5198 |
done
|
|
5199 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
5200 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5201 |
if $ac_preproc_ok; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5202 |
break
|
5203 |
fi
|
|
5204 |
||
5205 |
done
|
|
5206 |
ac_cv_prog_CPP=$CPP |
|
5207 |
||
5208 |
fi
|
|
5209 |
CPP=$ac_cv_prog_CPP |
|
5210 |
else
|
|
5211 |
ac_cv_prog_CPP=$CPP |
|
5212 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5213 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5214 |
$as_echo "$CPP" >&6; } |
5215 |
ac_preproc_ok=false |
|
5216 |
for ac_c_preproc_warn_flag in '' yes |
|
5217 |
do
|
|
5218 |
# Use a header file that comes with gcc, so configuring glibc
|
|
5219 |
# with a fresh cross-compiler works.
|
|
5220 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
5221 |
# <limits.h> exists even on freestanding compilers.
|
|
5222 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
5223 |
# not just through cpp. "Syntax error" is here to catch this case.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5224 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5225 |
/* end confdefs.h. */
|
5226 |
#ifdef __STDC__
|
|
5227 |
# include <limits.h>
|
|
5228 |
#else
|
|
5229 |
# include <assert.h>
|
|
5230 |
#endif
|
|
5231 |
Syntax error
|
|
5232 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5233 |
if ac_fn_c_try_cpp "$LINENO"; then : |
5234 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5235 |
else
|
5236 |
# Broken: fails on valid input.
|
|
5237 |
continue
|
|
5238 |
fi
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
5239 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5240 |
|
5241 |
# OK, works on sane cases. Now check whether nonexistent headers
|
|
5242 |
# can be detected and how.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5243 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5244 |
/* end confdefs.h. */
|
5245 |
#include <ac_nonexistent.h>
|
|
5246 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5247 |
if ac_fn_c_try_cpp "$LINENO"; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5248 |
# Broken: success on invalid input.
|
5249 |
continue
|
|
5250 |
else
|
|
5251 |
# Passes both tests.
|
|
5252 |
ac_preproc_ok=: |
|
5253 |
break
|
|
5254 |
fi
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
5255 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5256 |
|
5257 |
done
|
|
5258 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
5259 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5260 |
if $ac_preproc_ok; then : |
5261 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5262 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5263 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5264 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
5265 |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
5266 |
See \`config.log' for more details" "$LINENO" 5; } |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5267 |
fi
|
5268 |
||
5269 |
ac_ext=c |
|
5270 |
ac_cpp='$CPP $CPPFLAGS' |
|
5271 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
5272 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
5273 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
5274 |
||
731.1.10
by Arnold D. Robbins
Add small regex fix. Add support directory. |
5275 |
if test -n "$ac_tool_prefix"; then |
5276 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
|
5277 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
|
5278 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5279 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5280 |
if ${ac_cv_prog_RANLIB+:} false; then : |
|
5281 |
$as_echo_n "(cached) " >&6 |
|
5282 |
else
|
|
5283 |
if test -n "$RANLIB"; then |
|
5284 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
|
5285 |
else
|
|
5286 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5287 |
for as_dir in $PATH |
|
5288 |
do
|
|
5289 |
IFS=$as_save_IFS |
|
5290 |
test -z "$as_dir" && as_dir=. |
|
5291 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5292 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5293 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
|
5294 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5295 |
break 2 |
|
5296 |
fi
|
|
5297 |
done
|
|
5298 |
done
|
|
5299 |
IFS=$as_save_IFS |
|
5300 |
||
5301 |
fi
|
|
5302 |
fi
|
|
5303 |
RANLIB=$ac_cv_prog_RANLIB |
|
5304 |
if test -n "$RANLIB"; then |
|
5305 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
|
5306 |
$as_echo "$RANLIB" >&6; } |
|
5307 |
else
|
|
5308 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5309 |
$as_echo "no" >&6; } |
|
5310 |
fi
|
|
5311 |
||
5312 |
||
5313 |
fi
|
|
5314 |
if test -z "$ac_cv_prog_RANLIB"; then |
|
5315 |
ac_ct_RANLIB=$RANLIB |
|
5316 |
# Extract the first word of "ranlib", so it can be a program name with args.
|
|
5317 |
set dummy ranlib; ac_word=$2 |
|
5318 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5319 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5320 |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
|
5321 |
$as_echo_n "(cached) " >&6 |
|
5322 |
else
|
|
5323 |
if test -n "$ac_ct_RANLIB"; then |
|
5324 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
|
5325 |
else
|
|
5326 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5327 |
for as_dir in $PATH |
|
5328 |
do
|
|
5329 |
IFS=$as_save_IFS |
|
5330 |
test -z "$as_dir" && as_dir=. |
|
5331 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5332 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5333 |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
|
5334 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5335 |
break 2 |
|
5336 |
fi
|
|
5337 |
done
|
|
5338 |
done
|
|
5339 |
IFS=$as_save_IFS |
|
5340 |
||
5341 |
fi
|
|
5342 |
fi
|
|
5343 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
|
5344 |
if test -n "$ac_ct_RANLIB"; then |
|
5345 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
|
5346 |
$as_echo "$ac_ct_RANLIB" >&6; } |
|
5347 |
else
|
|
5348 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5349 |
$as_echo "no" >&6; } |
|
5350 |
fi
|
|
5351 |
||
5352 |
if test "x$ac_ct_RANLIB" = x; then |
|
5353 |
RANLIB=":" |
|
5354 |
else
|
|
5355 |
case $cross_compiling:$ac_tool_warned in |
|
5356 |
yes:)
|
|
5357 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
5358 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
5359 |
ac_tool_warned=yes ;; |
|
5360 |
esac
|
|
5361 |
RANLIB=$ac_ct_RANLIB |
|
5362 |
fi
|
|
5363 |
else
|
|
5364 |
RANLIB="$ac_cv_prog_RANLIB" |
|
5365 |
fi
|
|
5366 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
5367 |
|
5368 |
||
5369 |
||
5370 |
||
5371 |
||
5372 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5373 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
5374 |
set x ${MAKE-make} |
|
5375 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
5376 |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5377 |
$as_echo_n "(cached) " >&6 |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
5378 |
else
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5379 |
cat >conftest.make <<\_ACEOF
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5380 |
SHELL = /bin/sh
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
5381 |
all:
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5382 |
@echo '@@@%%%=$(MAKE)=@@@%%%'
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5383 |
_ACEOF
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
5384 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5385 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
5386 |
*@@@%%%=?*=@@@%%%*) |
|
5387 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
|
5388 |
*)
|
|
5389 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
|
5390 |
esac
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5391 |
rm -f conftest.make |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
5392 |
fi
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5393 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
36
by Arnold D. Robbins
Move to 3.1.8. |
5394 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5395 |
$as_echo "yes" >&6; } |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
5396 |
SET_MAKE= |
5397 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5398 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5399 |
$as_echo "no" >&6; } |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
5400 |
SET_MAKE="MAKE=${MAKE-make}" |
5401 |
fi
|
|
5402 |
||
5403 |
||
26
by Arnold D. Robbins
Move to gawk-3.0.5. |
5404 |
# This is mainly for my use during testing and development.
|
5405 |
# Yes, it's a bit of a hack.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5406 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for special development options" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5407 |
$as_echo_n "checking for special development options... " >&6; } |
26
by Arnold D. Robbins
Move to gawk-3.0.5. |
5408 |
if test -f $srcdir/.developing |
5409 |
then
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
5410 |
# add other debug flags as appropriate, save GAWKDEBUG for emergencies
|
408.5.330
by Arnold D. Robbins
Add undocumented -Z option to set locale. |
5411 |
CFLAGS="$CFLAGS -DARRAYDEBUG -DYYDEBUG -DLOCALEDEBUG" |
408.13.76
by Arnold D. Robbins
Remove check for dbug library in configure.ac. |
5412 |
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
5413 |
# turn on compiler warnings if we're doing development
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5414 |
# enable debugging using macros also
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
5415 |
if test "$GCC" = yes |
5416 |
then
|
|
408.13.33
by Arnold D. Robbins
Update debug flags for compiling when developing. |
5417 |
CFLAGS="$CFLAGS -Wall -fno-builtin -g3" |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
5418 |
fi
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5419 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5420 |
$as_echo "yes" >&6; } |
5421 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5422 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5423 |
$as_echo "no" >&6; } |
319.2.96
by Arnold D. Robbins
Remove asserts for production build. |
5424 |
CFLAGS="$CFLAGS -DNDEBUG" # turn off assertions |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5425 |
fi
|
5426 |
||
5427 |
||
5428 |
||
299.3.1
by Andrew J. Schorr
xgawk + derived files needed to build |
5429 |
# shared library suffix for dynamic loading:
|
5430 |
||
5431 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5432 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5433 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for z/OS USS compilation" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5434 |
$as_echo_n "checking for z/OS USS compilation... " >&6; } |
408.21.1
by Arnold D. Robbins
Rework zOS patches; keep separate from autotools. |
5435 |
if ${ac_cv_zos_uss+:} false; then : |
5436 |
$as_echo_n "(cached) " >&6 |
|
5437 |
else
|
|
5438 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5439 |
if test "OS/390" = "`uname`" |
5440 |
then
|
|
5441 |
ac_cv_zos_uss=yes |
|
5442 |
else
|
|
5443 |
ac_cv_zos_uss=no |
|
5444 |
fi
|
|
408.21.1
by Arnold D. Robbins
Rework zOS patches; keep separate from autotools. |
5445 |
|
5446 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5447 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_zos_uss}" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5448 |
$as_echo "${ac_cv_zos_uss}" >&6; } |
408.21.9
by Arnold D. Robbins
Update configure machinery for z/OS. |
5449 |
if test "x$ac_cv_zos_uss" = "xyes" |
5450 |
then
|
|
408.21.12
by Arnold D. Robbins
Further zOS updates: Wrap C compiler. |
5451 |
ac_zos_uss_cc_id=unknown |
731.11.124
by Arnold D. Robbins
Integrate changes for z/OS. |
5452 |
echo " $CC " | $EGREP ' (/bin/)?c89[ |_]' >/dev/null && ac_zos_uss_cc_id=c89 |
5453 |
echo " $CC " | $EGREP ' (/bin/)?c99[ |_]' >/dev/null && ac_zos_uss_cc_id=xlc |
|
5454 |
echo " $CC " | $EGREP ' (/bin/)?cc[ |_]' >/dev/null && ac_zos_uss_cc_id=cc |
|
5455 |
echo " $CC " | $EGREP ' (/bin/)?xlc[ |_]' >/dev/null && ac_zos_uss_cc_id=xlc |
|
5456 |
echo " $CC " | $EGREP ' (/bin/)?xlC[ |_]' >/dev/null && ac_zos_uss_cc_id=xlc++ |
|
5457 |
echo " $CC " | $EGREP ' (/bin/)?xlc\+\+[ |_]' >/dev/null && ac_zos_uss_cc_id=xlc++ |
|
408.21.12
by Arnold D. Robbins
Further zOS updates: Wrap C compiler. |
5458 |
test "x$GCC" = "xyes" && ac_zos_uss_cc_id=gcc |
731.11.124
by Arnold D. Robbins
Integrate changes for z/OS. |
5459 |
CPPFLAGS="$CPPFLAGS -D_ALL_SOURCE -D_OPEN_SYS_UNLOCKED_EXT" |
408.21.12
by Arnold D. Robbins
Further zOS updates: Wrap C compiler. |
5460 |
test "$ac_zos_uss_cc_id" != xlc++ && CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=600" |
5461 |
case "$ac_zos_uss_cc_id" in |
|
5462 |
c89)
|
|
5463 |
if test -n "$_C89_OPTIONS" |
|
5464 |
then
|
|
5465 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: CC = $CC" >&5 |
|
5466 |
$as_echo "$as_me: CC = $CC" >&6;} |
|
5467 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: _C89_OPTIONS = $_C89_OPTIONS" >&5 |
|
408.21.9
by Arnold D. Robbins
Update configure machinery for z/OS. |
5468 |
$as_echo "$as_me: _C89_OPTIONS = $_C89_OPTIONS" >&6;} |
408.21.12
by Arnold D. Robbins
Further zOS updates: Wrap C compiler. |
5469 |
else
|
408.21.9
by Arnold D. Robbins
Update configure machinery for z/OS. |
5470 |
as_fn_error $? "c89-setup-required |
5471 |
To build GNU Awk using \"c89\", please set
|
|
5472 |
||
5473 |
_C89_OPTIONS=\"-W c,langlvl(stdc99,libext),haltonmsg(CCN3296)\"
|
|
5474 |
||
5475 |
in your environment, and reconfigure. (The above flags cannot be specified
|
|
5476 |
in CFLAGS/CPPFLAGS, due to the parentheses.)" "$LINENO" 5 |
|
5477 |
fi
|
|
408.21.12
by Arnold D. Robbins
Further zOS updates: Wrap C compiler. |
5478 |
;;
|
5479 |
gcc)
|
|
5480 |
;;
|
|
5481 |
cc)
|
|
5482 |
as_fn_error $? "cc-invalid |
|
5483 |
The z/OS \"cc\" compiler does not build GNU Awk correctly.
|
|
5484 |
||
5485 |
If the \"xlc\" or \"c89\" compiler is available, please set CC accordingly
|
|
5486 |
and reconfigure. (\"xlc\" is the recommended compiler on z/OS.)" "$LINENO" 5 |
|
5487 |
;;
|
|
5488 |
xlc*)
|
|
408.21.9
by Arnold D. Robbins
Update configure machinery for z/OS. |
5489 |
CFLAGS="$CFLAGS -qlanglvl=stdc99:libext" |
408.21.12
by Arnold D. Robbins
Further zOS updates: Wrap C compiler. |
5490 |
cat >zos-cc <<EOF
|
5491 |
#!/bin/sh
|
|
5492 |
#
|
|
5493 |
# This wrapper script addresses two annoying peculiarities of the IBM
|
|
5494 |
# xlc/c99 compiler on z/OS:
|
|
5495 |
#
|
|
5496 |
# 1. Missing header files are considered warnings by default rather
|
|
5497 |
# than fatal errors;
|
|
5498 |
#
|
|
5499 |
# 2. Include directories specified with -I are searched _after_ the
|
|
5500 |
# system include directories (for #include<> directives) rather
|
|
5501 |
# than before.
|
|
5502 |
#
|
|
5503 |
# This script allows the code and the build system to assume standard
|
|
5504 |
# compiler behavior.
|
|
5505 |
#
|
|
5506 |
||
5507 |
PS4='zos-cc: '
|
|
5508 |
REAL_CC="$CC"
|
|
5509 |
||
5510 |
set -x
|
|
5511 |
\$REAL_CC -qhaltonmsg=CCN3296 -qnosearch "\$@" -qsearch=/usr/include
|
|
5512 |
EOF
|
|
5513 |
chmod +x zos-cc |
|
5514 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: wrapping $CC with zos-cc to obtain standard behavior" >&5 |
|
5515 |
$as_echo "$as_me: wrapping $CC with zos-cc to obtain standard behavior" >&6;} |
|
5516 |
CC="`pwd`/zos-cc" |
|
5517 |
;;
|
|
5518 |
*)
|
|
5519 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized compiler environment" >&5 |
|
5520 |
$as_echo "$as_me: WARNING: unrecognized compiler environment" >&2;} |
|
5521 |
;;
|
|
5522 |
esac
|
|
5523 |
fi # ac_cv_zos_uss = yes |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5524 |
|
408.12.84
by Arnold D. Robbins
Updated autoconf (.ac) files. Remove RETSIGTYPE. |
5525 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 |
5526 |
$as_echo_n "checking for library containing strerror... " >&6; } |
|
5527 |
if ${ac_cv_search_strerror+:} false; then : |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5528 |
$as_echo_n "(cached) " >&6 |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5529 |
else
|
408.12.84
by Arnold D. Robbins
Updated autoconf (.ac) files. Remove RETSIGTYPE. |
5530 |
ac_func_search_save_LIBS=$LIBS |
36
by Arnold D. Robbins
Move to 3.1.8. |
5531 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5532 |
/* end confdefs.h. */
|
5533 |
||
5534 |
/* Override any GCC internal prototype to avoid an error.
|
|
5535 |
Use char because int might match the return type of a GCC
|
|
5536 |
builtin and then its argument prototype would still apply. */
|
|
5537 |
#ifdef __cplusplus
|
|
5538 |
extern "C"
|
|
5539 |
#endif
|
|
5540 |
char strerror ();
|
|
5541 |
int
|
|
5542 |
main ()
|
|
5543 |
{
|
|
5544 |
return strerror ();
|
|
5545 |
;
|
|
5546 |
return 0;
|
|
5547 |
}
|
|
5548 |
_ACEOF
|
|
408.12.84
by Arnold D. Robbins
Updated autoconf (.ac) files. Remove RETSIGTYPE. |
5549 |
for ac_lib in '' cposix; do |
5550 |
if test -z "$ac_lib"; then |
|
5551 |
ac_res="none required" |
|
5552 |
else
|
|
5553 |
ac_res=-l$ac_lib |
|
5554 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
5555 |
fi
|
|
5556 |
if ac_fn_c_try_link "$LINENO"; then : |
|
5557 |
ac_cv_search_strerror=$ac_res |
|
5558 |
fi
|
|
5559 |
rm -f core conftest.err conftest.$ac_objext \ |
|
5560 |
conftest$ac_exeext
|
|
5561 |
if ${ac_cv_search_strerror+:} false; then : |
|
5562 |
break
|
|
5563 |
fi
|
|
5564 |
done
|
|
5565 |
if ${ac_cv_search_strerror+:} false; then : |
|
5566 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5567 |
else
|
408.12.84
by Arnold D. Robbins
Updated autoconf (.ac) files. Remove RETSIGTYPE. |
5568 |
ac_cv_search_strerror=no |
5569 |
fi
|
|
5570 |
rm conftest.$ac_ext
|
|
5571 |
LIBS=$ac_func_search_save_LIBS |
|
5572 |
fi
|
|
5573 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 |
|
5574 |
$as_echo "$ac_cv_search_strerror" >&6; } |
|
5575 |
ac_res=$ac_cv_search_strerror |
|
5576 |
if test "$ac_res" != no; then : |
|
5577 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
5578 |
||
5579 |
fi
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5580 |
|
5581 |
# Check whether --enable-largefile was given.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5582 |
if test "${enable_largefile+set}" = set; then : |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5583 |
enableval=$enable_largefile; |
5584 |
fi
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5585 |
|
5586 |
if test "$enable_largefile" != no; then |
|
5587 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
5588 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5589 |
$as_echo_n "checking for special C compiler options needed for large files... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
5590 |
if ${ac_cv_sys_largefile_CC+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5591 |
$as_echo_n "(cached) " >&6 |
26
by Arnold D. Robbins
Move to gawk-3.0.5. |
5592 |
else
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
5593 |
ac_cv_sys_largefile_CC=no |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5594 |
if test "$GCC" != yes; then |
5595 |
ac_save_CC=$CC |
|
5596 |
while :; do |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5597 |
# IRIX 6.2 and later do not support large files by default,
|
5598 |
# so use the C compiler's -n32 option if that helps.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5599 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5600 |
/* end confdefs.h. */
|
5601 |
#include <sys/types.h>
|
|
5602 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
5603 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
|
5604 |
since some C++ compilers masquerading as C compilers
|
|
5605 |
incorrectly reject 9223372036854775807. */
|
|
408.19.33
by Arnold D. Robbins
Update autotools. |
5606 |
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5607 |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
5608 |
&& LARGE_OFF_T % 2147483647 == 1)
|
|
5609 |
? 1 : -1];
|
|
5610 |
int
|
|
5611 |
main ()
|
|
5612 |
{
|
|
5613 |
||
5614 |
;
|
|
5615 |
return 0;
|
|
5616 |
}
|
|
5617 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5618 |
if ac_fn_c_try_compile "$LINENO"; then : |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5619 |
break
|
5620 |
fi
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5621 |
rm -f core conftest.err conftest.$ac_objext
|
5622 |
CC="$CC -n32" |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5623 |
if ac_fn_c_try_compile "$LINENO"; then : |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5624 |
ac_cv_sys_largefile_CC=' -n32'; break |
5625 |
fi
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5626 |
rm -f core conftest.err conftest.$ac_objext
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
5627 |
break
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5628 |
done
|
5629 |
CC=$ac_save_CC |
|
5630 |
rm -f conftest.$ac_ext
|
|
5631 |
fi
|
|
5632 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5633 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5634 |
$as_echo "$ac_cv_sys_largefile_CC" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5635 |
if test "$ac_cv_sys_largefile_CC" != no; then |
5636 |
CC=$CC$ac_cv_sys_largefile_CC |
|
5637 |
fi
|
|
5638 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
5639 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5640 |
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
5641 |
if ${ac_cv_sys_file_offset_bits+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5642 |
$as_echo_n "(cached) " >&6 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5643 |
else
|
5644 |
while :; do |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5645 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5646 |
/* end confdefs.h. */
|
26
by Arnold D. Robbins
Move to gawk-3.0.5. |
5647 |
#include <sys/types.h>
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5648 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
5649 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
|
5650 |
since some C++ compilers masquerading as C compilers
|
|
5651 |
incorrectly reject 9223372036854775807. */
|
|
408.19.33
by Arnold D. Robbins
Update autotools. |
5652 |
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5653 |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
5654 |
&& LARGE_OFF_T % 2147483647 == 1)
|
|
5655 |
? 1 : -1];
|
|
5656 |
int
|
|
5657 |
main ()
|
|
5658 |
{
|
|
26
by Arnold D. Robbins
Move to gawk-3.0.5. |
5659 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5660 |
;
|
5661 |
return 0;
|
|
5662 |
}
|
|
5663 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5664 |
if ac_fn_c_try_compile "$LINENO"; then : |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5665 |
ac_cv_sys_file_offset_bits=no; break |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5666 |
fi
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5667 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
36
by Arnold D. Robbins
Move to 3.1.8. |
5668 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5669 |
/* end confdefs.h. */
|
26
by Arnold D. Robbins
Move to gawk-3.0.5. |
5670 |
#define _FILE_OFFSET_BITS 64
|
5671 |
#include <sys/types.h>
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5672 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
5673 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
|
5674 |
since some C++ compilers masquerading as C compilers
|
|
5675 |
incorrectly reject 9223372036854775807. */
|
|
408.19.33
by Arnold D. Robbins
Update autotools. |
5676 |
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5677 |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
5678 |
&& LARGE_OFF_T % 2147483647 == 1)
|
|
5679 |
? 1 : -1];
|
|
5680 |
int
|
|
5681 |
main ()
|
|
5682 |
{
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
5683 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5684 |
;
|
5685 |
return 0;
|
|
5686 |
}
|
|
5687 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5688 |
if ac_fn_c_try_compile "$LINENO"; then : |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5689 |
ac_cv_sys_file_offset_bits=64; break |
5690 |
fi
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5691 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5692 |
ac_cv_sys_file_offset_bits=unknown |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5693 |
break
|
5694 |
done
|
|
5695 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5696 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5697 |
$as_echo "$ac_cv_sys_file_offset_bits" >&6; } |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5698 |
case $ac_cv_sys_file_offset_bits in #( |
5699 |
no | unknown) ;; |
|
5700 |
*)
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5701 |
cat >>confdefs.h <<_ACEOF
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
5702 |
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5703 |
_ACEOF
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5704 |
;;
|
5705 |
esac
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5706 |
rm -rf conftest* |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5707 |
if test $ac_cv_sys_file_offset_bits = unknown; then |
36
by Arnold D. Robbins
Move to 3.1.8. |
5708 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5709 |
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
5710 |
if ${ac_cv_sys_large_files+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5711 |
$as_echo_n "(cached) " >&6 |
25
by Arnold D. Robbins
Move to gawk-3.0.4. |
5712 |
else
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5713 |
while :; do |
36
by Arnold D. Robbins
Move to 3.1.8. |
5714 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5715 |
/* end confdefs.h. */
|
26
by Arnold D. Robbins
Move to gawk-3.0.5. |
5716 |
#include <sys/types.h>
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5717 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
5718 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
|
5719 |
since some C++ compilers masquerading as C compilers
|
|
5720 |
incorrectly reject 9223372036854775807. */
|
|
408.19.33
by Arnold D. Robbins
Update autotools. |
5721 |
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5722 |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
5723 |
&& LARGE_OFF_T % 2147483647 == 1)
|
|
5724 |
? 1 : -1];
|
|
5725 |
int
|
|
5726 |
main ()
|
|
5727 |
{
|
|
26
by Arnold D. Robbins
Move to gawk-3.0.5. |
5728 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5729 |
;
|
5730 |
return 0;
|
|
5731 |
}
|
|
5732 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5733 |
if ac_fn_c_try_compile "$LINENO"; then : |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5734 |
ac_cv_sys_large_files=no; break |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5735 |
fi
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5736 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
36
by Arnold D. Robbins
Move to 3.1.8. |
5737 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5738 |
/* end confdefs.h. */
|
26
by Arnold D. Robbins
Move to gawk-3.0.5. |
5739 |
#define _LARGE_FILES 1
|
5740 |
#include <sys/types.h>
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5741 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
5742 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
|
5743 |
since some C++ compilers masquerading as C compilers
|
|
5744 |
incorrectly reject 9223372036854775807. */
|
|
408.19.33
by Arnold D. Robbins
Update autotools. |
5745 |
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5746 |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
5747 |
&& LARGE_OFF_T % 2147483647 == 1)
|
|
5748 |
? 1 : -1];
|
|
5749 |
int
|
|
5750 |
main ()
|
|
5751 |
{
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
5752 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5753 |
;
|
5754 |
return 0;
|
|
5755 |
}
|
|
5756 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5757 |
if ac_fn_c_try_compile "$LINENO"; then : |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5758 |
ac_cv_sys_large_files=1; break |
5759 |
fi
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5760 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5761 |
ac_cv_sys_large_files=unknown |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5762 |
break
|
5763 |
done
|
|
5764 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5765 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5766 |
$as_echo "$ac_cv_sys_large_files" >&6; } |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5767 |
case $ac_cv_sys_large_files in #( |
5768 |
no | unknown) ;; |
|
5769 |
*)
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5770 |
cat >>confdefs.h <<_ACEOF
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
5771 |
#define _LARGE_FILES $ac_cv_sys_large_files
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5772 |
_ACEOF
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5773 |
;;
|
5774 |
esac
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5775 |
rm -rf conftest* |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5776 |
fi
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
5777 |
|
5778 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5779 |
fi
|
5780 |
||
5781 |
||
408.21.1
by Arnold D. Robbins
Rework zOS patches; keep separate from autotools. |
5782 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we are using EBCDIC" >&5 |
5783 |
$as_echo_n "checking if we are using EBCDIC... " >&6; } |
|
5784 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5785 |
/* end confdefs.h. */
|
|
5786 |
#if 'a' == 0x81
|
|
5787 |
gnu_gawk_in_ebcdic
|
|
5788 |
#endif
|
|
5789 |
_ACEOF
|
|
5790 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
5791 |
$EGREP "gnu_gawk_in_ebcdic" >/dev/null 2>&1; then : |
|
5792 |
||
5793 |
$as_echo "#define USE_EBCDIC 1" >>confdefs.h |
|
5794 |
||
5795 |
use_ebcdic=yes |
|
5796 |
else
|
|
5797 |
use_ebcdic=no |
|
5798 |
fi
|
|
5799 |
rm -f conftest* |
|
5800 |
||
5801 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_ebcdic" >&5 |
|
5802 |
$as_echo "$use_ebcdic" >&6; } |
|
5803 |
||
89
by Arnold D. Robbins
Improve autoconf. More doc updates. |
5804 |
ac_ext=c |
5805 |
ac_cpp='$CPP $CPPFLAGS' |
|
5806 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
5807 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
5808 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
5809 |
||
5810 |
||
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
5811 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
5812 |
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
|
5813 |
if ${ac_cv_path_SED+:} false; then : |
|
5814 |
$as_echo_n "(cached) " >&6 |
|
5815 |
else
|
|
5816 |
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
|
5817 |
for ac_i in 1 2 3 4 5 6 7; do |
|
5818 |
ac_script="$ac_script$as_nl$ac_script" |
|
5819 |
done
|
|
5820 |
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed |
|
5821 |
{ ac_script=; unset ac_script;} |
|
5822 |
if test -z "$SED"; then |
|
5823 |
ac_path_SED_found=false |
|
5824 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
5825 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5826 |
for as_dir in $PATH |
|
5827 |
do
|
|
5828 |
IFS=$as_save_IFS |
|
5829 |
test -z "$as_dir" && as_dir=. |
|
5830 |
for ac_prog in sed gsed; do |
|
5831 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5832 |
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
|
5833 |
as_fn_executable_p "$ac_path_SED" || continue |
|
5834 |
# Check for GNU ac_path_SED and select it if it is found.
|
|
5835 |
# Check for GNU $ac_path_SED
|
|
5836 |
case `"$ac_path_SED" --version 2>&1` in |
|
5837 |
*GNU*)
|
|
5838 |
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; |
|
5839 |
*)
|
|
5840 |
ac_count=0 |
|
5841 |
$as_echo_n 0123456789 >"conftest.in" |
|
5842 |
while :
|
|
5843 |
do
|
|
5844 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
5845 |
mv "conftest.tmp" "conftest.in" |
|
5846 |
cp "conftest.in" "conftest.nl" |
|
5847 |
$as_echo '' >> "conftest.nl" |
|
5848 |
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
5849 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
5850 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
5851 |
if test $ac_count -gt ${ac_path_SED_max-0}; then |
|
5852 |
# Best one so far, save it but keep looking for a better one
|
|
5853 |
ac_cv_path_SED="$ac_path_SED" |
|
5854 |
ac_path_SED_max=$ac_count |
|
5855 |
fi
|
|
5856 |
# 10*(2^10) chars as input seems more than enough
|
|
5857 |
test $ac_count -gt 10 && break |
|
5858 |
done
|
|
5859 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
5860 |
esac
|
|
5861 |
||
5862 |
$ac_path_SED_found && break 3 |
|
5863 |
done
|
|
5864 |
done
|
|
5865 |
done
|
|
5866 |
IFS=$as_save_IFS |
|
5867 |
if test -z "$ac_cv_path_SED"; then |
|
5868 |
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
|
5869 |
fi
|
|
5870 |
else
|
|
5871 |
ac_cv_path_SED=$SED |
|
5872 |
fi
|
|
5873 |
||
5874 |
fi
|
|
5875 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 |
|
5876 |
$as_echo "$ac_cv_path_SED" >&6; } |
|
5877 |
SED="$ac_cv_path_SED" |
|
5878 |
rm -f conftest.sed |
|
5879 |
||
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
5880 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5881 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5882 |
$as_echo_n "checking whether NLS is requested... " >&6; } |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5883 |
# Check whether --enable-nls was given.
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5884 |
if test "${enable_nls+set}" = set; then : |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5885 |
enableval=$enable_nls; USE_NLS=$enableval |
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
5886 |
else
|
5887 |
USE_NLS=yes |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5888 |
fi
|
5889 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
5890 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5891 |
$as_echo "$USE_NLS" >&6; } |
5892 |
||
5893 |
||
5894 |
||
5895 |
||
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
5896 |
GETTEXT_MACRO_VERSION=0.19 |
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
5897 |
|
5898 |
||
5899 |
||
5900 |
||
5901 |
# Prepare PATH_SEPARATOR.
|
|
5902 |
# The user is always right.
|
|
5903 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
5904 |
# Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
|
5905 |
# contains only /bin. Note that ksh looks also at the FPATH variable,
|
|
5906 |
# so we have to set that as well for the test.
|
|
5907 |
PATH_SEPARATOR=: |
|
5908 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ |
|
5909 |
&& { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ |
|
5910 |
|| PATH_SEPARATOR=';' |
|
5911 |
}
|
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
5912 |
fi
|
5913 |
||
5914 |
# Find out how to test for executable files. Don't use a zero-byte file,
|
|
5915 |
# as systems may use methods other than mode bits to determine executability.
|
|
5916 |
cat >conf$$.file <<_ASEOF |
|
5917 |
#! /bin/sh
|
|
5918 |
exit 0
|
|
5919 |
_ASEOF
|
|
5920 |
chmod +x conf$$.file
|
|
5921 |
if test -x conf$$.file >/dev/null 2>&1; then |
|
5922 |
ac_executable_p="test -x" |
|
5923 |
else
|
|
5924 |
ac_executable_p="test -f" |
|
5925 |
fi
|
|
5926 |
rm -f conf$$.file
|
|
5927 |
||
5928 |
# Extract the first word of "msgfmt", so it can be a program name with args.
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5929 |
set dummy msgfmt; ac_word=$2 |
36
by Arnold D. Robbins
Move to 3.1.8. |
5930 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5931 |
$as_echo_n "checking for $ac_word... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
5932 |
if ${ac_cv_path_MSGFMT+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5933 |
$as_echo_n "(cached) " >&6 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5934 |
else
|
5935 |
case "$MSGFMT" in |
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
5936 |
[\\/]* | ?:[\\/]*) |
5937 |
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
|
5938 |
;;
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5939 |
*)
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
5940 |
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR |
5941 |
for ac_dir in $PATH; do |
|
5942 |
IFS="$ac_save_IFS" |
|
5943 |
test -z "$ac_dir" && ac_dir=. |
|
5944 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5945 |
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
5946 |
echo "$as_me: trying $ac_dir/$ac_word..." >&5 |
5947 |
if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5948 |
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then |
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
5949 |
ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" |
5950 |
break 2 |
|
5951 |
fi
|
|
5952 |
fi
|
|
5953 |
done
|
|
5954 |
done
|
|
5955 |
IFS="$ac_save_IFS" |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5956 |
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" |
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
5957 |
;;
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5958 |
esac
|
5959 |
fi
|
|
5960 |
MSGFMT="$ac_cv_path_MSGFMT" |
|
5961 |
if test "$MSGFMT" != ":"; then |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5962 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5963 |
$as_echo "$MSGFMT" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5964 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5965 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5966 |
$as_echo "no" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5967 |
fi
|
5968 |
||
5969 |
# Extract the first word of "gmsgfmt", so it can be a program name with args.
|
|
5970 |
set dummy gmsgfmt; ac_word=$2 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5971 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5972 |
$as_echo_n "checking for $ac_word... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
5973 |
if ${ac_cv_path_GMSGFMT+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
5974 |
$as_echo_n "(cached) " >&6 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5975 |
else
|
5976 |
case $GMSGFMT in |
|
5977 |
[\\/]* | ?:[\\/]*) |
|
5978 |
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
|
5979 |
;;
|
|
5980 |
*)
|
|
5981 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5982 |
for as_dir in $PATH |
|
5983 |
do
|
|
5984 |
IFS=$as_save_IFS |
|
5985 |
test -z "$as_dir" && as_dir=. |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5986 |
for ac_exec_ext in '' $ac_executable_extensions; do |
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
5987 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5988 |
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
36
by Arnold D. Robbins
Move to 3.1.8. |
5989 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5990 |
break 2 |
5991 |
fi
|
|
5992 |
done
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
5993 |
done
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
5994 |
IFS=$as_save_IFS |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
5995 |
|
5996 |
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
|
5997 |
;;
|
|
5998 |
esac
|
|
5999 |
fi
|
|
6000 |
GMSGFMT=$ac_cv_path_GMSGFMT |
|
6001 |
if test -n "$GMSGFMT"; then |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6002 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6003 |
$as_echo "$GMSGFMT" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6004 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6005 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6006 |
$as_echo "no" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6007 |
fi
|
6008 |
||
6009 |
||
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
6010 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6011 |
case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in |
6012 |
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; |
|
6013 |
*) MSGFMT_015=$MSGFMT ;; |
|
6014 |
esac
|
|
6015 |
||
6016 |
case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in |
|
6017 |
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; |
|
6018 |
*) GMSGFMT_015=$GMSGFMT ;; |
|
6019 |
esac
|
|
6020 |
||
6021 |
||
6022 |
||
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
6023 |
# Prepare PATH_SEPARATOR.
|
6024 |
# The user is always right.
|
|
6025 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
6026 |
# Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
|
6027 |
# contains only /bin. Note that ksh looks also at the FPATH variable,
|
|
6028 |
# so we have to set that as well for the test.
|
|
6029 |
PATH_SEPARATOR=: |
|
6030 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ |
|
6031 |
&& { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ |
|
6032 |
|| PATH_SEPARATOR=';' |
|
6033 |
}
|
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
6034 |
fi
|
6035 |
||
6036 |
# Find out how to test for executable files. Don't use a zero-byte file,
|
|
6037 |
# as systems may use methods other than mode bits to determine executability.
|
|
6038 |
cat >conf$$.file <<_ASEOF |
|
6039 |
#! /bin/sh
|
|
6040 |
exit 0
|
|
6041 |
_ASEOF
|
|
6042 |
chmod +x conf$$.file
|
|
6043 |
if test -x conf$$.file >/dev/null 2>&1; then |
|
6044 |
ac_executable_p="test -x" |
|
6045 |
else
|
|
6046 |
ac_executable_p="test -f" |
|
6047 |
fi
|
|
6048 |
rm -f conf$$.file
|
|
6049 |
||
6050 |
# Extract the first word of "xgettext", so it can be a program name with args.
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6051 |
set dummy xgettext; ac_word=$2 |
36
by Arnold D. Robbins
Move to 3.1.8. |
6052 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6053 |
$as_echo_n "checking for $ac_word... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
6054 |
if ${ac_cv_path_XGETTEXT+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6055 |
$as_echo_n "(cached) " >&6 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6056 |
else
|
6057 |
case "$XGETTEXT" in |
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
6058 |
[\\/]* | ?:[\\/]*) |
6059 |
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
|
6060 |
;;
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6061 |
*)
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
6062 |
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR |
6063 |
for ac_dir in $PATH; do |
|
6064 |
IFS="$ac_save_IFS" |
|
6065 |
test -z "$ac_dir" && ac_dir=. |
|
6066 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6067 |
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
6068 |
echo "$as_me: trying $ac_dir/$ac_word..." >&5 |
6069 |
if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && |
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
6070 |
(if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then |
6071 |
ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" |
|
6072 |
break 2 |
|
6073 |
fi
|
|
6074 |
fi
|
|
6075 |
done
|
|
6076 |
done
|
|
6077 |
IFS="$ac_save_IFS" |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6078 |
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" |
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
6079 |
;;
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6080 |
esac
|
6081 |
fi
|
|
6082 |
XGETTEXT="$ac_cv_path_XGETTEXT" |
|
6083 |
if test "$XGETTEXT" != ":"; then |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6084 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6085 |
$as_echo "$XGETTEXT" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6086 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6087 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6088 |
$as_echo "no" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6089 |
fi
|
6090 |
||
6091 |
rm -f messages.po |
|
6092 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6093 |
case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in |
6094 |
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; |
|
6095 |
*) XGETTEXT_015=$XGETTEXT ;; |
|
6096 |
esac
|
|
6097 |
||
6098 |
||
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
6099 |
|
6100 |
# Prepare PATH_SEPARATOR.
|
|
6101 |
# The user is always right.
|
|
6102 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
6103 |
# Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
|
6104 |
# contains only /bin. Note that ksh looks also at the FPATH variable,
|
|
6105 |
# so we have to set that as well for the test.
|
|
6106 |
PATH_SEPARATOR=: |
|
6107 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ |
|
6108 |
&& { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ |
|
6109 |
|| PATH_SEPARATOR=';' |
|
6110 |
}
|
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
6111 |
fi
|
6112 |
||
6113 |
# Find out how to test for executable files. Don't use a zero-byte file,
|
|
6114 |
# as systems may use methods other than mode bits to determine executability.
|
|
6115 |
cat >conf$$.file <<_ASEOF |
|
6116 |
#! /bin/sh
|
|
6117 |
exit 0
|
|
6118 |
_ASEOF
|
|
6119 |
chmod +x conf$$.file
|
|
6120 |
if test -x conf$$.file >/dev/null 2>&1; then |
|
6121 |
ac_executable_p="test -x" |
|
6122 |
else
|
|
6123 |
ac_executable_p="test -f" |
|
6124 |
fi
|
|
6125 |
rm -f conf$$.file
|
|
6126 |
||
6127 |
# Extract the first word of "msgmerge", so it can be a program name with args.
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6128 |
set dummy msgmerge; ac_word=$2 |
36
by Arnold D. Robbins
Move to 3.1.8. |
6129 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6130 |
$as_echo_n "checking for $ac_word... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
6131 |
if ${ac_cv_path_MSGMERGE+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6132 |
$as_echo_n "(cached) " >&6 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6133 |
else
|
6134 |
case "$MSGMERGE" in |
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
6135 |
[\\/]* | ?:[\\/]*) |
6136 |
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. |
|
6137 |
;;
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6138 |
*)
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
6139 |
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR |
6140 |
for ac_dir in $PATH; do |
|
6141 |
IFS="$ac_save_IFS" |
|
6142 |
test -z "$ac_dir" && ac_dir=. |
|
6143 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6144 |
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
6145 |
echo "$as_me: trying $ac_dir/$ac_word..." >&5 |
6146 |
if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then |
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
6147 |
ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" |
6148 |
break 2 |
|
6149 |
fi
|
|
6150 |
fi
|
|
6151 |
done
|
|
6152 |
done
|
|
6153 |
IFS="$ac_save_IFS" |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6154 |
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" |
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
6155 |
;;
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6156 |
esac
|
6157 |
fi
|
|
6158 |
MSGMERGE="$ac_cv_path_MSGMERGE" |
|
6159 |
if test "$MSGMERGE" != ":"; then |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6160 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6161 |
$as_echo "$MSGMERGE" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6162 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6163 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6164 |
$as_echo "no" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6165 |
fi
|
6166 |
||
6167 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6168 |
test -n "$localedir" || localedir='${datadir}/locale' |
6169 |
||
6170 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6171 |
test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= |
6172 |
||
6173 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6174 |
ac_config_commands="$ac_config_commands po-directories" |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6175 |
|
6176 |
||
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
6177 |
|
6178 |
if test "X$prefix" = "XNONE"; then |
|
6179 |
acl_final_prefix="$ac_default_prefix" |
|
6180 |
else
|
|
6181 |
acl_final_prefix="$prefix" |
|
6182 |
fi
|
|
6183 |
if test "X$exec_prefix" = "XNONE"; then |
|
6184 |
acl_final_exec_prefix='${prefix}' |
|
6185 |
else
|
|
6186 |
acl_final_exec_prefix="$exec_prefix" |
|
6187 |
fi
|
|
6188 |
acl_save_prefix="$prefix" |
|
6189 |
prefix="$acl_final_prefix" |
|
6190 |
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" |
|
6191 |
prefix="$acl_save_prefix" |
|
6192 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6193 |
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
6194 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6195 |
# Check whether --with-gnu-ld was given.
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6196 |
if test "${with_gnu_ld+set}" = set; then : |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6197 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6198 |
else
|
6199 |
with_gnu_ld=no |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6200 |
fi
|
6201 |
||
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
6202 |
# Prepare PATH_SEPARATOR.
|
6203 |
# The user is always right.
|
|
6204 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
6205 |
# Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
|
6206 |
# contains only /bin. Note that ksh looks also at the FPATH variable,
|
|
6207 |
# so we have to set that as well for the test.
|
|
6208 |
PATH_SEPARATOR=: |
|
6209 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ |
|
6210 |
&& { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ |
|
6211 |
|| PATH_SEPARATOR=';' |
|
6212 |
}
|
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
6213 |
fi
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
6214 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6215 |
ac_prog=ld |
6216 |
if test "$GCC" = yes; then |
|
6217 |
# Check if gcc -print-prog-name=ld gives a path.
|
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
6218 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
6219 |
$as_echo_n "checking for ld used by $CC... " >&6; } |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6220 |
case $host in |
6221 |
*-*-mingw*)
|
|
6222 |
# gcc leaves a trailing carriage return which upsets mingw
|
|
6223 |
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
|
6224 |
*)
|
|
6225 |
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
|
6226 |
esac
|
|
6227 |
case $ac_prog in |
|
6228 |
# Accept absolute paths.
|
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
6229 |
[\\/]* | ?:[\\/]*) |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6230 |
re_direlt='/[^/][^/]*/\.\./' |
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
6231 |
# Canonicalize the pathname of ld
|
6232 |
ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'` |
|
6233 |
while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do |
|
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
6234 |
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6235 |
done
|
6236 |
test -z "$LD" && LD="$ac_prog" |
|
6237 |
;;
|
|
6238 |
"") |
|
6239 |
# If it fails, then pretend we aren't using GCC.
|
|
6240 |
ac_prog=ld |
|
6241 |
;;
|
|
6242 |
*)
|
|
6243 |
# If it is relative, then search for the first ld in PATH.
|
|
6244 |
with_gnu_ld=unknown |
|
6245 |
;;
|
|
6246 |
esac
|
|
6247 |
elif test "$with_gnu_ld" = yes; then |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6248 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6249 |
$as_echo_n "checking for GNU ld... " >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6250 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6251 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6252 |
$as_echo_n "checking for non-GNU ld... " >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6253 |
fi
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
6254 |
if ${acl_cv_path_LD+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6255 |
$as_echo_n "(cached) " >&6 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6256 |
else
|
6257 |
if test -z "$LD"; then |
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
6258 |
acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6259 |
for ac_dir in $PATH; do |
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
6260 |
IFS="$acl_save_ifs" |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6261 |
test -z "$ac_dir" && ac_dir=. |
6262 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
|
6263 |
acl_cv_path_LD="$ac_dir/$ac_prog" |
|
6264 |
# Check to see if the program is GNU ld. I'd rather use --version,
|
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
6265 |
# but apparently some variants of GNU ld only accept -v.
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6266 |
# Break only if it was the GNU/non-GNU ld that we prefer.
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
6267 |
case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in |
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
6268 |
*GNU* | *'with BFD'*) |
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
6269 |
test "$with_gnu_ld" != no && break |
6270 |
;;
|
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
6271 |
*)
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
6272 |
test "$with_gnu_ld" != yes && break |
6273 |
;;
|
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
6274 |
esac
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6275 |
fi
|
6276 |
done
|
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
6277 |
IFS="$acl_save_ifs" |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6278 |
else
|
6279 |
acl_cv_path_LD="$LD" # Let the user override the test with a path. |
|
6280 |
fi
|
|
6281 |
fi
|
|
6282 |
||
6283 |
LD="$acl_cv_path_LD" |
|
6284 |
if test -n "$LD"; then |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6285 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6286 |
$as_echo "$LD" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6287 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6288 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6289 |
$as_echo "no" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6290 |
fi
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
6291 |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
36
by Arnold D. Robbins
Move to 3.1.8. |
6292 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6293 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
6294 |
if ${acl_cv_prog_gnu_ld+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6295 |
$as_echo_n "(cached) " >&6 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6296 |
else
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
6297 |
# I'd rather use --version here, but apparently some GNU lds only accept -v.
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
6298 |
case `$LD -v 2>&1 </dev/null` in |
6299 |
*GNU* | *'with BFD'*) |
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
6300 |
acl_cv_prog_gnu_ld=yes |
6301 |
;;
|
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
6302 |
*)
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
6303 |
acl_cv_prog_gnu_ld=no |
6304 |
;;
|
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
6305 |
esac
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6306 |
fi
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6307 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6308 |
$as_echo "$acl_cv_prog_gnu_ld" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6309 |
with_gnu_ld=$acl_cv_prog_gnu_ld |
6310 |
||
6311 |
||
6312 |
||
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
6313 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6314 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6315 |
$as_echo_n "checking for shared library run path origin... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
6316 |
if ${acl_cv_rpath+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6317 |
$as_echo_n "(cached) " >&6 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6318 |
else
|
6319 |
||
6320 |
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ |
|
6321 |
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh |
|
6322 |
. ./conftest.sh |
|
6323 |
rm -f ./conftest.sh |
|
6324 |
acl_cv_rpath=done |
|
6325 |
||
6326 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6327 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6328 |
$as_echo "$acl_cv_rpath" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6329 |
wl="$acl_cv_wl" |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6330 |
acl_libext="$acl_cv_libext" |
6331 |
acl_shlibext="$acl_cv_shlibext" |
|
6332 |
acl_libname_spec="$acl_cv_libname_spec" |
|
6333 |
acl_library_names_spec="$acl_cv_library_names_spec" |
|
6334 |
acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" |
|
6335 |
acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" |
|
6336 |
acl_hardcode_direct="$acl_cv_hardcode_direct" |
|
6337 |
acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6338 |
# Check whether --enable-rpath was given.
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6339 |
if test "${enable_rpath+set}" = set; then : |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6340 |
enableval=$enable_rpath; : |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6341 |
else
|
6342 |
enable_rpath=yes |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6343 |
fi
|
6344 |
||
6345 |
||
6346 |
||
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
6347 |
|
6348 |
acl_libdirstem=lib |
|
6349 |
acl_libdirstem2= |
|
6350 |
case "$host_os" in |
|
6351 |
solaris*)
|
|
6352 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 |
|
6353 |
$as_echo_n "checking for 64-bit host... " >&6; } |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
6354 |
if ${gl_cv_solaris_64bit+:} false; then : |
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
6355 |
$as_echo_n "(cached) " >&6 |
6356 |
else
|
|
6357 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
6358 |
/* end confdefs.h. */
|
|
6359 |
||
6360 |
#ifdef _LP64
|
|
6361 |
sixtyfour bits
|
|
6362 |
#endif
|
|
6363 |
||
6364 |
_ACEOF
|
|
6365 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
6366 |
$EGREP "sixtyfour bits" >/dev/null 2>&1; then : |
|
6367 |
gl_cv_solaris_64bit=yes |
|
6368 |
else
|
|
6369 |
gl_cv_solaris_64bit=no |
|
6370 |
fi
|
|
6371 |
rm -f conftest* |
|
6372 |
||
6373 |
||
6374 |
fi
|
|
6375 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 |
|
6376 |
$as_echo "$gl_cv_solaris_64bit" >&6; } |
|
6377 |
if test $gl_cv_solaris_64bit = yes; then |
|
6378 |
acl_libdirstem=lib/64 |
|
6379 |
case "$host_cpu" in |
|
6380 |
sparc*) acl_libdirstem2=lib/sparcv9 ;; |
|
6381 |
i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6382 |
esac
|
6383 |
fi
|
|
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
6384 |
;;
|
6385 |
*)
|
|
6386 |
searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` |
|
6387 |
if test -n "$searchpath"; then |
|
6388 |
acl_save_IFS="${IFS= }"; IFS=":" |
|
6389 |
for searchdir in $searchpath; do |
|
6390 |
if test -d "$searchdir"; then |
|
6391 |
case "$searchdir" in |
|
6392 |
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;; |
|
6393 |
*/../ | */.. ) |
|
6394 |
# Better ignore directories of this form. They are misleading.
|
|
6395 |
;;
|
|
6396 |
*) searchdir=`cd "$searchdir" && pwd` |
|
6397 |
case "$searchdir" in |
|
6398 |
*/lib64 ) acl_libdirstem=lib64 ;; |
|
6399 |
esac ;; |
|
6400 |
esac
|
|
6401 |
fi
|
|
6402 |
done
|
|
6403 |
IFS="$acl_save_IFS" |
|
6404 |
fi
|
|
6405 |
;;
|
|
6406 |
esac
|
|
6407 |
test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" |
|
6408 |
||
6409 |
||
6410 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6411 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6412 |
|
6413 |
||
6414 |
||
6415 |
||
6416 |
||
6417 |
||
6418 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6419 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6420 |
use_additional=yes |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6421 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6422 |
acl_save_prefix="$prefix" |
6423 |
prefix="$acl_final_prefix" |
|
6424 |
acl_save_exec_prefix="$exec_prefix" |
|
6425 |
exec_prefix="$acl_final_exec_prefix" |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6426 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6427 |
eval additional_includedir=\"$includedir\" |
6428 |
eval additional_libdir=\"$libdir\" |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6429 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6430 |
exec_prefix="$acl_save_exec_prefix" |
6431 |
prefix="$acl_save_prefix" |
|
6432 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6433 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6434 |
# Check whether --with-libiconv-prefix was given.
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6435 |
if test "${with_libiconv_prefix+set}" = set; then : |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6436 |
withval=$with_libiconv_prefix; |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6437 |
if test "X$withval" = "Xno"; then |
6438 |
use_additional=no |
|
6439 |
else
|
|
6440 |
if test "X$withval" = "X"; then |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6441 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6442 |
acl_save_prefix="$prefix" |
6443 |
prefix="$acl_final_prefix" |
|
6444 |
acl_save_exec_prefix="$exec_prefix" |
|
6445 |
exec_prefix="$acl_final_exec_prefix" |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6446 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6447 |
eval additional_includedir=\"$includedir\" |
6448 |
eval additional_libdir=\"$libdir\" |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6449 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6450 |
exec_prefix="$acl_save_exec_prefix" |
6451 |
prefix="$acl_save_prefix" |
|
6452 |
||
6453 |
else
|
|
6454 |
additional_includedir="$withval/include" |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6455 |
additional_libdir="$withval/$acl_libdirstem" |
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
6456 |
if test "$acl_libdirstem2" != "$acl_libdirstem" \ |
6457 |
&& ! test -d "$withval/$acl_libdirstem"; then |
|
6458 |
additional_libdir="$withval/$acl_libdirstem2" |
|
6459 |
fi
|
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6460 |
fi
|
6461 |
fi
|
|
6462 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6463 |
fi
|
6464 |
||
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6465 |
LIBICONV= |
6466 |
LTLIBICONV= |
|
6467 |
INCICONV= |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6468 |
LIBICONV_PREFIX= |
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
6469 |
HAVE_LIBICONV= |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6470 |
rpathdirs= |
6471 |
ltrpathdirs= |
|
6472 |
names_already_handled= |
|
6473 |
names_next_round='iconv ' |
|
6474 |
while test -n "$names_next_round"; do |
|
6475 |
names_this_round="$names_next_round" |
|
6476 |
names_next_round= |
|
6477 |
for name in $names_this_round; do |
|
6478 |
already_handled= |
|
6479 |
for n in $names_already_handled; do |
|
6480 |
if test "$n" = "$name"; then |
|
6481 |
already_handled=yes |
|
6482 |
break
|
|
6483 |
fi
|
|
6484 |
done
|
|
6485 |
if test -z "$already_handled"; then |
|
6486 |
names_already_handled="$names_already_handled $name" |
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
6487 |
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6488 |
eval value=\"\$HAVE_LIB$uppername\" |
6489 |
if test -n "$value"; then |
|
6490 |
if test "$value" = yes; then |
|
6491 |
eval value=\"\$LIB$uppername\" |
|
6492 |
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" |
|
6493 |
eval value=\"\$LTLIB$uppername\" |
|
6494 |
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" |
|
6495 |
else
|
|
6496 |
: |
|
6497 |
fi
|
|
6498 |
else
|
|
6499 |
found_dir= |
|
6500 |
found_la= |
|
6501 |
found_so= |
|
6502 |
found_a= |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6503 |
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name |
6504 |
if test -n "$acl_shlibext"; then |
|
6505 |
shrext=".$acl_shlibext" # typically: shrext=.so |
|
6506 |
else
|
|
6507 |
shrext= |
|
6508 |
fi
|
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6509 |
if test $use_additional = yes; then |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6510 |
dir="$additional_libdir" |
6511 |
if test -n "$acl_shlibext"; then |
|
6512 |
if test -f "$dir/$libname$shrext"; then |
|
6513 |
found_dir="$dir" |
|
6514 |
found_so="$dir/$libname$shrext" |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6515 |
else
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6516 |
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then |
6517 |
ver=`(cd "$dir" && \ |
|
6518 |
for f in "$libname$shrext".*; do echo "$f"; done \ |
|
6519 |
| sed -e "s,^$libname$shrext\\\\.,," \ |
|
6520 |
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
|
6521 |
| sed 1q ) 2>/dev/null` |
|
6522 |
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then |
|
6523 |
found_dir="$dir" |
|
6524 |
found_so="$dir/$libname$shrext.$ver" |
|
6525 |
fi
|
|
6526 |
else
|
|
6527 |
eval library_names=\"$acl_library_names_spec\" |
|
6528 |
for f in $library_names; do |
|
6529 |
if test -f "$dir/$f"; then |
|
6530 |
found_dir="$dir" |
|
6531 |
found_so="$dir/$f" |
|
6532 |
break
|
|
6533 |
fi
|
|
6534 |
done
|
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6535 |
fi
|
6536 |
fi
|
|
6537 |
fi
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6538 |
if test "X$found_dir" = "X"; then |
6539 |
if test -f "$dir/$libname.$acl_libext"; then |
|
6540 |
found_dir="$dir" |
|
6541 |
found_a="$dir/$libname.$acl_libext" |
|
6542 |
fi
|
|
6543 |
fi
|
|
6544 |
if test "X$found_dir" != "X"; then |
|
6545 |
if test -f "$dir/$libname.la"; then |
|
6546 |
found_la="$dir/$libname.la" |
|
6547 |
fi
|
|
6548 |
fi
|
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6549 |
fi
|
6550 |
if test "X$found_dir" = "X"; then |
|
6551 |
for x in $LDFLAGS $LTLIBICONV; do |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6552 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6553 |
acl_save_prefix="$prefix" |
6554 |
prefix="$acl_final_prefix" |
|
6555 |
acl_save_exec_prefix="$exec_prefix" |
|
6556 |
exec_prefix="$acl_final_exec_prefix" |
|
6557 |
eval x=\"$x\" |
|
6558 |
exec_prefix="$acl_save_exec_prefix" |
|
6559 |
prefix="$acl_save_prefix" |
|
6560 |
||
6561 |
case "$x" in |
|
6562 |
-L*)
|
|
6563 |
dir=`echo "X$x" | sed -e 's/^X-L//'` |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6564 |
if test -n "$acl_shlibext"; then |
6565 |
if test -f "$dir/$libname$shrext"; then |
|
6566 |
found_dir="$dir" |
|
6567 |
found_so="$dir/$libname$shrext" |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6568 |
else
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6569 |
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then |
6570 |
ver=`(cd "$dir" && \ |
|
6571 |
for f in "$libname$shrext".*; do echo "$f"; done \ |
|
6572 |
| sed -e "s,^$libname$shrext\\\\.,," \ |
|
6573 |
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
|
6574 |
| sed 1q ) 2>/dev/null` |
|
6575 |
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then |
|
6576 |
found_dir="$dir" |
|
6577 |
found_so="$dir/$libname$shrext.$ver" |
|
6578 |
fi
|
|
6579 |
else
|
|
6580 |
eval library_names=\"$acl_library_names_spec\" |
|
6581 |
for f in $library_names; do |
|
6582 |
if test -f "$dir/$f"; then |
|
6583 |
found_dir="$dir" |
|
6584 |
found_so="$dir/$f" |
|
6585 |
break
|
|
6586 |
fi
|
|
6587 |
done
|
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6588 |
fi
|
6589 |
fi
|
|
6590 |
fi
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6591 |
if test "X$found_dir" = "X"; then |
6592 |
if test -f "$dir/$libname.$acl_libext"; then |
|
6593 |
found_dir="$dir" |
|
6594 |
found_a="$dir/$libname.$acl_libext" |
|
6595 |
fi
|
|
6596 |
fi
|
|
6597 |
if test "X$found_dir" != "X"; then |
|
6598 |
if test -f "$dir/$libname.la"; then |
|
6599 |
found_la="$dir/$libname.la" |
|
6600 |
fi
|
|
6601 |
fi
|
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6602 |
;;
|
6603 |
esac
|
|
6604 |
if test "X$found_dir" != "X"; then |
|
6605 |
break
|
|
6606 |
fi
|
|
6607 |
done
|
|
6608 |
fi
|
|
6609 |
if test "X$found_dir" != "X"; then |
|
6610 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" |
|
6611 |
if test "X$found_so" != "X"; then |
|
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
6612 |
if test "$enable_rpath" = no \ |
6613 |
|| test "X$found_dir" = "X/usr/$acl_libdirstem" \ |
|
6614 |
|| test "X$found_dir" = "X/usr/$acl_libdirstem2"; then |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6615 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
6616 |
else
|
|
6617 |
haveit= |
|
6618 |
for x in $ltrpathdirs; do |
|
6619 |
if test "X$x" = "X$found_dir"; then |
|
6620 |
haveit=yes |
|
6621 |
break
|
|
6622 |
fi
|
|
6623 |
done
|
|
6624 |
if test -z "$haveit"; then |
|
6625 |
ltrpathdirs="$ltrpathdirs $found_dir" |
|
6626 |
fi
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6627 |
if test "$acl_hardcode_direct" = yes; then |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6628 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
6629 |
else
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6630 |
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6631 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
6632 |
haveit= |
|
6633 |
for x in $rpathdirs; do |
|
6634 |
if test "X$x" = "X$found_dir"; then |
|
6635 |
haveit=yes |
|
6636 |
break
|
|
6637 |
fi
|
|
6638 |
done
|
|
6639 |
if test -z "$haveit"; then |
|
6640 |
rpathdirs="$rpathdirs $found_dir" |
|
6641 |
fi
|
|
6642 |
else
|
|
6643 |
haveit= |
|
6644 |
for x in $LDFLAGS $LIBICONV; do |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6645 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6646 |
acl_save_prefix="$prefix" |
6647 |
prefix="$acl_final_prefix" |
|
6648 |
acl_save_exec_prefix="$exec_prefix" |
|
6649 |
exec_prefix="$acl_final_exec_prefix" |
|
6650 |
eval x=\"$x\" |
|
6651 |
exec_prefix="$acl_save_exec_prefix" |
|
6652 |
prefix="$acl_save_prefix" |
|
6653 |
||
6654 |
if test "X$x" = "X-L$found_dir"; then |
|
6655 |
haveit=yes |
|
6656 |
break
|
|
6657 |
fi
|
|
6658 |
done
|
|
6659 |
if test -z "$haveit"; then |
|
6660 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" |
|
6661 |
fi
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6662 |
if test "$acl_hardcode_minus_L" != no; then |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6663 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
6664 |
else
|
|
6665 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" |
|
6666 |
fi
|
|
6667 |
fi
|
|
6668 |
fi
|
|
6669 |
fi
|
|
6670 |
else
|
|
6671 |
if test "X$found_a" != "X"; then |
|
6672 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" |
|
6673 |
else
|
|
6674 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" |
|
6675 |
fi
|
|
6676 |
fi
|
|
6677 |
additional_includedir= |
|
6678 |
case "$found_dir" in |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6679 |
*/$acl_libdirstem | */$acl_libdirstem/) |
6680 |
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` |
|
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
6681 |
if test "$name" = 'iconv'; then |
6682 |
LIBICONV_PREFIX="$basedir" |
|
6683 |
fi
|
|
6684 |
additional_includedir="$basedir/include" |
|
6685 |
;;
|
|
6686 |
*/$acl_libdirstem2 | */$acl_libdirstem2/) |
|
6687 |
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` |
|
6688 |
if test "$name" = 'iconv'; then |
|
6689 |
LIBICONV_PREFIX="$basedir" |
|
6690 |
fi
|
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6691 |
additional_includedir="$basedir/include" |
6692 |
;;
|
|
6693 |
esac
|
|
6694 |
if test "X$additional_includedir" != "X"; then |
|
6695 |
if test "X$additional_includedir" != "X/usr/include"; then |
|
6696 |
haveit= |
|
6697 |
if test "X$additional_includedir" = "X/usr/local/include"; then |
|
6698 |
if test -n "$GCC"; then |
|
6699 |
case $host_os in |
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
6700 |
linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6701 |
esac
|
6702 |
fi
|
|
6703 |
fi
|
|
6704 |
if test -z "$haveit"; then |
|
6705 |
for x in $CPPFLAGS $INCICONV; do |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6706 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6707 |
acl_save_prefix="$prefix" |
6708 |
prefix="$acl_final_prefix" |
|
6709 |
acl_save_exec_prefix="$exec_prefix" |
|
6710 |
exec_prefix="$acl_final_exec_prefix" |
|
6711 |
eval x=\"$x\" |
|
6712 |
exec_prefix="$acl_save_exec_prefix" |
|
6713 |
prefix="$acl_save_prefix" |
|
6714 |
||
6715 |
if test "X$x" = "X-I$additional_includedir"; then |
|
6716 |
haveit=yes |
|
6717 |
break
|
|
6718 |
fi
|
|
6719 |
done
|
|
6720 |
if test -z "$haveit"; then |
|
6721 |
if test -d "$additional_includedir"; then |
|
6722 |
INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" |
|
6723 |
fi
|
|
6724 |
fi
|
|
6725 |
fi
|
|
6726 |
fi
|
|
6727 |
fi
|
|
6728 |
if test -n "$found_la"; then |
|
6729 |
save_libdir="$libdir" |
|
6730 |
case "$found_la" in |
|
6731 |
*/* | *\\*) . "$found_la" ;; |
|
6732 |
*) . "./$found_la" ;; |
|
6733 |
esac
|
|
6734 |
libdir="$save_libdir" |
|
6735 |
for dep in $dependency_libs; do |
|
6736 |
case "$dep" in |
|
6737 |
-L*)
|
|
6738 |
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` |
|
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
6739 |
if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ |
6740 |
&& test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6741 |
haveit= |
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
6742 |
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ |
6743 |
|| test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6744 |
if test -n "$GCC"; then |
6745 |
case $host_os in |
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
6746 |
linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6747 |
esac
|
6748 |
fi
|
|
6749 |
fi
|
|
6750 |
if test -z "$haveit"; then |
|
6751 |
haveit= |
|
6752 |
for x in $LDFLAGS $LIBICONV; do |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6753 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6754 |
acl_save_prefix="$prefix" |
6755 |
prefix="$acl_final_prefix" |
|
6756 |
acl_save_exec_prefix="$exec_prefix" |
|
6757 |
exec_prefix="$acl_final_exec_prefix" |
|
6758 |
eval x=\"$x\" |
|
6759 |
exec_prefix="$acl_save_exec_prefix" |
|
6760 |
prefix="$acl_save_prefix" |
|
6761 |
||
6762 |
if test "X$x" = "X-L$additional_libdir"; then |
|
6763 |
haveit=yes |
|
6764 |
break
|
|
6765 |
fi
|
|
6766 |
done
|
|
6767 |
if test -z "$haveit"; then |
|
6768 |
if test -d "$additional_libdir"; then |
|
6769 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" |
|
6770 |
fi
|
|
6771 |
fi
|
|
6772 |
haveit= |
|
6773 |
for x in $LDFLAGS $LTLIBICONV; do |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6774 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6775 |
acl_save_prefix="$prefix" |
6776 |
prefix="$acl_final_prefix" |
|
6777 |
acl_save_exec_prefix="$exec_prefix" |
|
6778 |
exec_prefix="$acl_final_exec_prefix" |
|
6779 |
eval x=\"$x\" |
|
6780 |
exec_prefix="$acl_save_exec_prefix" |
|
6781 |
prefix="$acl_save_prefix" |
|
6782 |
||
6783 |
if test "X$x" = "X-L$additional_libdir"; then |
|
6784 |
haveit=yes |
|
6785 |
break
|
|
6786 |
fi
|
|
6787 |
done
|
|
6788 |
if test -z "$haveit"; then |
|
6789 |
if test -d "$additional_libdir"; then |
|
6790 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" |
|
6791 |
fi
|
|
6792 |
fi
|
|
6793 |
fi
|
|
6794 |
fi
|
|
6795 |
;;
|
|
6796 |
-R*)
|
|
6797 |
dir=`echo "X$dep" | sed -e 's/^X-R//'` |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6798 |
if test "$enable_rpath" != no; then |
6799 |
haveit= |
|
6800 |
for x in $rpathdirs; do |
|
6801 |
if test "X$x" = "X$dir"; then |
|
6802 |
haveit=yes |
|
6803 |
break
|
|
6804 |
fi
|
|
6805 |
done
|
|
6806 |
if test -z "$haveit"; then |
|
6807 |
rpathdirs="$rpathdirs $dir" |
|
6808 |
fi
|
|
6809 |
haveit= |
|
6810 |
for x in $ltrpathdirs; do |
|
6811 |
if test "X$x" = "X$dir"; then |
|
6812 |
haveit=yes |
|
6813 |
break
|
|
6814 |
fi
|
|
6815 |
done
|
|
6816 |
if test -z "$haveit"; then |
|
6817 |
ltrpathdirs="$ltrpathdirs $dir" |
|
6818 |
fi
|
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6819 |
fi
|
6820 |
;;
|
|
6821 |
-l*)
|
|
6822 |
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` |
|
6823 |
;;
|
|
6824 |
*.la)
|
|
6825 |
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` |
|
6826 |
;;
|
|
6827 |
*)
|
|
6828 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" |
|
6829 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" |
|
6830 |
;;
|
|
6831 |
esac
|
|
6832 |
done
|
|
6833 |
fi
|
|
6834 |
else
|
|
6835 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" |
|
6836 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" |
|
6837 |
fi
|
|
6838 |
fi
|
|
6839 |
fi
|
|
6840 |
done
|
|
6841 |
done
|
|
6842 |
if test "X$rpathdirs" != "X"; then |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6843 |
if test -n "$acl_hardcode_libdir_separator"; then |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6844 |
alldirs= |
6845 |
for found_dir in $rpathdirs; do |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6846 |
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6847 |
done
|
6848 |
acl_save_libdir="$libdir" |
|
6849 |
libdir="$alldirs" |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6850 |
eval flag=\"$acl_hardcode_libdir_flag_spec\" |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6851 |
libdir="$acl_save_libdir" |
6852 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" |
|
6853 |
else
|
|
6854 |
for found_dir in $rpathdirs; do |
|
6855 |
acl_save_libdir="$libdir" |
|
6856 |
libdir="$found_dir" |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6857 |
eval flag=\"$acl_hardcode_libdir_flag_spec\" |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
6858 |
libdir="$acl_save_libdir" |
6859 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" |
|
6860 |
done
|
|
6861 |
fi
|
|
6862 |
fi
|
|
6863 |
if test "X$ltrpathdirs" != "X"; then |
|
6864 |
for found_dir in $ltrpathdirs; do |
|
6865 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" |
|
6866 |
done
|
|
6867 |
fi
|
|
6868 |
||
6869 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
6870 |
|
6871 |
||
6872 |
||
6873 |
||
6874 |
||
6875 |
||
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
6876 |
|
6877 |
||
6878 |
||
6879 |
||
6880 |
||
6881 |
||
6882 |
||
6883 |
||
6884 |
||
6885 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6886 |
|
6887 |
||
6888 |
||
6889 |
||
6890 |
||
6891 |
||
6892 |
||
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
6893 |
|
6894 |
||
6895 |
||
6896 |
||
6897 |
||
6898 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
6899 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6900 |
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
6901 |
if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6902 |
$as_echo_n "(cached) " >&6 |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
6903 |
else
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6904 |
gt_save_LIBS="$LIBS" |
6905 |
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6906 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
6907 |
/* end confdefs.h. */
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6908 |
#include <CoreFoundation/CFPreferences.h>
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
6909 |
int
|
6910 |
main ()
|
|
6911 |
{
|
|
6912 |
CFPreferencesCopyAppValue(NULL, NULL)
|
|
6913 |
;
|
|
6914 |
return 0;
|
|
6915 |
}
|
|
6916 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6917 |
if ac_fn_c_try_link "$LINENO"; then : |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
6918 |
gt_cv_func_CFPreferencesCopyAppValue=yes |
6919 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6920 |
gt_cv_func_CFPreferencesCopyAppValue=no |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
6921 |
fi
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6922 |
rm -f core conftest.err conftest.$ac_objext \ |
6923 |
conftest$ac_exeext conftest.$ac_ext |
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
6924 |
LIBS="$gt_save_LIBS" |
6925 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6926 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6927 |
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
6928 |
if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then |
6929 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
6930 |
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
6931 |
|
6932 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6933 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6934 |
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
6935 |
if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6936 |
$as_echo_n "(cached) " >&6 |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
6937 |
else
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6938 |
gt_save_LIBS="$LIBS" |
6939 |
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6940 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
6941 |
/* end confdefs.h. */
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6942 |
#include <CoreFoundation/CFLocale.h>
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
6943 |
int
|
6944 |
main ()
|
|
6945 |
{
|
|
6946 |
CFLocaleCopyCurrent();
|
|
6947 |
;
|
|
6948 |
return 0;
|
|
6949 |
}
|
|
6950 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6951 |
if ac_fn_c_try_link "$LINENO"; then : |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
6952 |
gt_cv_func_CFLocaleCopyCurrent=yes |
6953 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6954 |
gt_cv_func_CFLocaleCopyCurrent=no |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
6955 |
fi
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6956 |
rm -f core conftest.err conftest.$ac_objext \ |
6957 |
conftest$ac_exeext conftest.$ac_ext |
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
6958 |
LIBS="$gt_save_LIBS" |
6959 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
6960 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
6961 |
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
6962 |
if test $gt_cv_func_CFLocaleCopyCurrent = yes; then |
6963 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
6964 |
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
6965 |
|
6966 |
fi
|
|
6967 |
INTL_MACOSX_LIBS= |
|
6968 |
if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then |
|
6969 |
INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" |
|
6970 |
fi
|
|
6971 |
||
6972 |
||
6973 |
||
6974 |
||
6975 |
||
6976 |
||
6977 |
LIBINTL= |
|
6978 |
LTLIBINTL= |
|
6979 |
POSUB= |
|
6980 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6981 |
case " $gt_needs " in |
6982 |
*" need-formatstring-macros "*) gt_api_version=3 ;; |
|
6983 |
*" need-ngettext "*) gt_api_version=2 ;; |
|
6984 |
*) gt_api_version=1 ;; |
|
6985 |
esac
|
|
6986 |
gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" |
|
6987 |
gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" |
|
6988 |
||
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
6989 |
if test "$USE_NLS" = "yes"; then |
6990 |
gt_use_preinstalled_gnugettext=no |
|
6991 |
||
6992 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
6993 |
if test $gt_api_version -ge 3; then |
6994 |
gt_revision_test_code=' |
|
6995 |
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
|
|
6996 |
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
|
|
6997 |
#endif
|
|
6998 |
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
|
|
6999 |
'
|
|
7000 |
else
|
|
7001 |
gt_revision_test_code= |
|
7002 |
fi
|
|
7003 |
if test $gt_api_version -ge 2; then |
|
7004 |
gt_expression_test_code=' + * ngettext ("", "", 0)' |
|
7005 |
else
|
|
7006 |
gt_expression_test_code= |
|
7007 |
fi
|
|
7008 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
7009 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7010 |
$as_echo_n "checking for GNU gettext in libc... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
7011 |
if eval \${$gt_func_gnugettext_libc+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7012 |
$as_echo_n "(cached) " >&6 |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
7013 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7014 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
7015 |
/* end confdefs.h. */
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7016 |
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
7017 |
#include <libintl.h>
|
731.17.30
by Arnold D. Robbins
Update to Gettext 0.19.8.1. |
7018 |
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
7019 |
extern int _nl_msg_cat_cntr;
|
7020 |
extern int *_nl_domain_bindings;
|
|
731.17.30
by Arnold D. Robbins
Update to Gettext 0.19.8.1. |
7021 |
#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
|
7022 |
#else
|
|
7023 |
#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
|
|
7024 |
#endif
|
|
7025 |
$gt_revision_test_code
|
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7026 |
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
7027 |
int
|
7028 |
main ()
|
|
7029 |
{
|
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7030 |
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
7031 |
bindtextdomain ("", "");
|
731.17.30
by Arnold D. Robbins
Update to Gettext 0.19.8.1. |
7032 |
return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7033 |
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
7034 |
;
|
7035 |
return 0;
|
|
7036 |
}
|
|
7037 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7038 |
if ac_fn_c_try_link "$LINENO"; then : |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
7039 |
eval "$gt_func_gnugettext_libc=yes" |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
7040 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7041 |
eval "$gt_func_gnugettext_libc=no" |
7042 |
fi
|
|
7043 |
rm -f core conftest.err conftest.$ac_objext \ |
|
7044 |
conftest$ac_exeext conftest.$ac_ext |
|
7045 |
fi
|
|
7046 |
eval ac_res=\$$gt_func_gnugettext_libc |
|
7047 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7048 |
$as_echo "$ac_res" >&6; } |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
7049 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
7050 |
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then |
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
7051 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7052 |
|
7053 |
||
7054 |
||
7055 |
||
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7056 |
am_save_CPPFLAGS="$CPPFLAGS" |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7057 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7058 |
for element in $INCICONV; do |
7059 |
haveit= |
|
7060 |
for x in $CPPFLAGS; do |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7061 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7062 |
acl_save_prefix="$prefix" |
7063 |
prefix="$acl_final_prefix" |
|
7064 |
acl_save_exec_prefix="$exec_prefix" |
|
7065 |
exec_prefix="$acl_final_exec_prefix" |
|
7066 |
eval x=\"$x\" |
|
7067 |
exec_prefix="$acl_save_exec_prefix" |
|
7068 |
prefix="$acl_save_prefix" |
|
7069 |
||
7070 |
if test "X$x" = "X$element"; then |
|
7071 |
haveit=yes |
|
7072 |
break
|
|
7073 |
fi
|
|
7074 |
done
|
|
7075 |
if test -z "$haveit"; then |
|
7076 |
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" |
|
7077 |
fi
|
|
7078 |
done
|
|
7079 |
||
7080 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
7081 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7082 |
$as_echo_n "checking for iconv... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
7083 |
if ${am_cv_func_iconv+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7084 |
$as_echo_n "(cached) " >&6 |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7085 |
else
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7086 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7087 |
am_cv_func_iconv="no, consider installing GNU libiconv" |
7088 |
am_cv_lib_iconv=no |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7089 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7090 |
/* end confdefs.h. */
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7091 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7092 |
#include <stdlib.h>
|
7093 |
#include <iconv.h>
|
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7094 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7095 |
int
|
7096 |
main ()
|
|
7097 |
{
|
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7098 |
iconv_t cd = iconv_open("","");
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7099 |
iconv(cd,NULL,NULL,NULL,NULL);
|
7100 |
iconv_close(cd);
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7101 |
;
|
7102 |
return 0;
|
|
7103 |
}
|
|
7104 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7105 |
if ac_fn_c_try_link "$LINENO"; then : |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7106 |
am_cv_func_iconv=yes |
7107 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7108 |
rm -f core conftest.err conftest.$ac_objext \ |
7109 |
conftest$ac_exeext conftest.$ac_ext |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7110 |
if test "$am_cv_func_iconv" != yes; then |
7111 |
am_save_LIBS="$LIBS" |
|
7112 |
LIBS="$LIBS $LIBICONV" |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7113 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7114 |
/* end confdefs.h. */
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7115 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7116 |
#include <stdlib.h>
|
7117 |
#include <iconv.h>
|
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7118 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7119 |
int
|
7120 |
main ()
|
|
7121 |
{
|
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7122 |
iconv_t cd = iconv_open("","");
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7123 |
iconv(cd,NULL,NULL,NULL,NULL);
|
7124 |
iconv_close(cd);
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7125 |
;
|
7126 |
return 0;
|
|
7127 |
}
|
|
7128 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7129 |
if ac_fn_c_try_link "$LINENO"; then : |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7130 |
am_cv_lib_iconv=yes |
7131 |
am_cv_func_iconv=yes |
|
7132 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7133 |
rm -f core conftest.err conftest.$ac_objext \ |
7134 |
conftest$ac_exeext conftest.$ac_ext |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7135 |
LIBS="$am_save_LIBS" |
7136 |
fi
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7137 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7138 |
fi
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7139 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7140 |
$as_echo "$am_cv_func_iconv" >&6; } |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7141 |
if test "$am_cv_func_iconv" = yes; then |
36
by Arnold D. Robbins
Move to 3.1.8. |
7142 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7143 |
$as_echo_n "checking for working iconv... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
7144 |
if ${am_cv_func_iconv_works+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7145 |
$as_echo_n "(cached) " >&6 |
7146 |
else
|
|
7147 |
||
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7148 |
am_save_LIBS="$LIBS" |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7149 |
if test $am_cv_lib_iconv = yes; then |
7150 |
LIBS="$LIBS $LIBICONV" |
|
7151 |
fi
|
|
408.13.52
by Arnold D. Robbins
Update to Gettext 0.19.4. |
7152 |
am_cv_func_iconv_works=no |
7153 |
for ac_iconv_const in '' 'const'; do |
|
7154 |
if test "$cross_compiling" = yes; then : |
|
7155 |
case "$host_os" in |
|
7156 |
aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; |
|
7157 |
*) am_cv_func_iconv_works="guessing yes" ;; |
|
7158 |
esac
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7159 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7160 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7161 |
/* end confdefs.h. */
|
7162 |
||
7163 |
#include <iconv.h>
|
|
7164 |
#include <string.h>
|
|
408.13.52
by Arnold D. Robbins
Update to Gettext 0.19.4. |
7165 |
|
7166 |
#ifndef ICONV_CONST
|
|
7167 |
# define ICONV_CONST $ac_iconv_const
|
|
7168 |
#endif
|
|
7169 |
||
7170 |
int
|
|
7171 |
main ()
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7172 |
{
|
408.13.52
by Arnold D. Robbins
Update to Gettext 0.19.4. |
7173 |
int result = 0;
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7174 |
/* Test against AIX 5.1 bug: Failures are not distinguishable from successful
|
7175 |
returns. */
|
|
7176 |
{
|
|
7177 |
iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
|
|
7178 |
if (cd_utf8_to_88591 != (iconv_t)(-1))
|
|
7179 |
{
|
|
408.13.52
by Arnold D. Robbins
Update to Gettext 0.19.4. |
7180 |
static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7181 |
char buf[10];
|
408.13.52
by Arnold D. Robbins
Update to Gettext 0.19.4. |
7182 |
ICONV_CONST char *inptr = input;
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7183 |
size_t inbytesleft = strlen (input);
|
7184 |
char *outptr = buf;
|
|
7185 |
size_t outbytesleft = sizeof (buf);
|
|
7186 |
size_t res = iconv (cd_utf8_to_88591,
|
|
408.13.52
by Arnold D. Robbins
Update to Gettext 0.19.4. |
7187 |
&inptr, &inbytesleft,
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7188 |
&outptr, &outbytesleft);
|
7189 |
if (res == 0)
|
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7190 |
result |= 1;
|
7191 |
iconv_close (cd_utf8_to_88591);
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7192 |
}
|
7193 |
}
|
|
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
7194 |
/* Test against Solaris 10 bug: Failures are not distinguishable from
|
7195 |
successful returns. */
|
|
7196 |
{
|
|
7197 |
iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
|
|
7198 |
if (cd_ascii_to_88591 != (iconv_t)(-1))
|
|
7199 |
{
|
|
408.13.52
by Arnold D. Robbins
Update to Gettext 0.19.4. |
7200 |
static ICONV_CONST char input[] = "\263";
|
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
7201 |
char buf[10];
|
408.13.52
by Arnold D. Robbins
Update to Gettext 0.19.4. |
7202 |
ICONV_CONST char *inptr = input;
|
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
7203 |
size_t inbytesleft = strlen (input);
|
7204 |
char *outptr = buf;
|
|
7205 |
size_t outbytesleft = sizeof (buf);
|
|
7206 |
size_t res = iconv (cd_ascii_to_88591,
|
|
408.13.52
by Arnold D. Robbins
Update to Gettext 0.19.4. |
7207 |
&inptr, &inbytesleft,
|
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
7208 |
&outptr, &outbytesleft);
|
7209 |
if (res == 0)
|
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7210 |
result |= 2;
|
7211 |
iconv_close (cd_ascii_to_88591);
|
|
7212 |
}
|
|
7213 |
}
|
|
7214 |
/* Test against AIX 6.1..7.1 bug: Buffer overrun. */
|
|
7215 |
{
|
|
7216 |
iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
|
|
7217 |
if (cd_88591_to_utf8 != (iconv_t)(-1))
|
|
7218 |
{
|
|
408.13.52
by Arnold D. Robbins
Update to Gettext 0.19.4. |
7219 |
static ICONV_CONST char input[] = "\304";
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7220 |
static char buf[2] = { (char)0xDE, (char)0xAD };
|
408.13.52
by Arnold D. Robbins
Update to Gettext 0.19.4. |
7221 |
ICONV_CONST char *inptr = input;
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7222 |
size_t inbytesleft = 1;
|
7223 |
char *outptr = buf;
|
|
7224 |
size_t outbytesleft = 1;
|
|
7225 |
size_t res = iconv (cd_88591_to_utf8,
|
|
408.13.52
by Arnold D. Robbins
Update to Gettext 0.19.4. |
7226 |
&inptr, &inbytesleft,
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7227 |
&outptr, &outbytesleft);
|
7228 |
if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
|
|
7229 |
result |= 4;
|
|
7230 |
iconv_close (cd_88591_to_utf8);
|
|
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
7231 |
}
|
7232 |
}
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7233 |
#if 0 /* This bug could be worked around by the caller. */
|
7234 |
/* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
|
|
7235 |
{
|
|
7236 |
iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
|
|
7237 |
if (cd_88591_to_utf8 != (iconv_t)(-1))
|
|
7238 |
{
|
|
408.13.52
by Arnold D. Robbins
Update to Gettext 0.19.4. |
7239 |
static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7240 |
char buf[50];
|
408.13.52
by Arnold D. Robbins
Update to Gettext 0.19.4. |
7241 |
ICONV_CONST char *inptr = input;
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7242 |
size_t inbytesleft = strlen (input);
|
7243 |
char *outptr = buf;
|
|
7244 |
size_t outbytesleft = sizeof (buf);
|
|
7245 |
size_t res = iconv (cd_88591_to_utf8,
|
|
408.13.52
by Arnold D. Robbins
Update to Gettext 0.19.4. |
7246 |
&inptr, &inbytesleft,
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7247 |
&outptr, &outbytesleft);
|
7248 |
if ((int)res > 0)
|
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7249 |
result |= 8;
|
7250 |
iconv_close (cd_88591_to_utf8);
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7251 |
}
|
7252 |
}
|
|
7253 |
#endif
|
|
7254 |
/* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
|
|
7255 |
provided. */
|
|
7256 |
if (/* Try standardized names. */
|
|
7257 |
iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
|
|
7258 |
/* Try IRIX, OSF/1 names. */
|
|
7259 |
&& iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
|
|
7260 |
/* Try AIX names. */
|
|
7261 |
&& iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
|
|
7262 |
/* Try HP-UX names. */
|
|
7263 |
&& iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
|
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7264 |
result |= 16;
|
7265 |
return result;
|
|
408.13.52
by Arnold D. Robbins
Update to Gettext 0.19.4. |
7266 |
|
7267 |
;
|
|
7268 |
return 0;
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7269 |
}
|
7270 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7271 |
if ac_fn_c_try_run "$LINENO"; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7272 |
am_cv_func_iconv_works=yes |
36
by Arnold D. Robbins
Move to 3.1.8. |
7273 |
fi
|
7274 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
7275 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
7276 |
fi
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7277 |
|
408.13.52
by Arnold D. Robbins
Update to Gettext 0.19.4. |
7278 |
test "$am_cv_func_iconv_works" = no || break |
7279 |
done
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7280 |
LIBS="$am_save_LIBS" |
7281 |
||
7282 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7283 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7284 |
$as_echo "$am_cv_func_iconv_works" >&6; } |
7285 |
case "$am_cv_func_iconv_works" in |
|
7286 |
*no) am_func_iconv=no am_cv_lib_iconv=no ;; |
|
7287 |
*) am_func_iconv=yes ;; |
|
7288 |
esac
|
|
7289 |
else
|
|
7290 |
am_func_iconv=no am_cv_lib_iconv=no |
|
7291 |
fi
|
|
7292 |
if test "$am_func_iconv" = yes; then |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7293 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7294 |
$as_echo "#define HAVE_ICONV 1" >>confdefs.h |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7295 |
|
7296 |
fi
|
|
7297 |
if test "$am_cv_lib_iconv" = yes; then |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7298 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7299 |
$as_echo_n "checking how to link with libiconv... " >&6; } |
36
by Arnold D. Robbins
Move to 3.1.8. |
7300 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7301 |
$as_echo "$LIBICONV" >&6; } |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7302 |
else
|
7303 |
CPPFLAGS="$am_save_CPPFLAGS" |
|
7304 |
LIBICONV= |
|
7305 |
LTLIBICONV= |
|
7306 |
fi
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7307 |
|
7308 |
||
7309 |
||
7310 |
||
7311 |
||
7312 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
7313 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7314 |
|
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
7315 |
|
7316 |
||
7317 |
||
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7318 |
use_additional=yes |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7319 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7320 |
acl_save_prefix="$prefix" |
7321 |
prefix="$acl_final_prefix" |
|
7322 |
acl_save_exec_prefix="$exec_prefix" |
|
7323 |
exec_prefix="$acl_final_exec_prefix" |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7324 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7325 |
eval additional_includedir=\"$includedir\" |
7326 |
eval additional_libdir=\"$libdir\" |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7327 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7328 |
exec_prefix="$acl_save_exec_prefix" |
7329 |
prefix="$acl_save_prefix" |
|
7330 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7331 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
7332 |
# Check whether --with-libintl-prefix was given.
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7333 |
if test "${with_libintl_prefix+set}" = set; then : |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
7334 |
withval=$with_libintl_prefix; |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7335 |
if test "X$withval" = "Xno"; then |
7336 |
use_additional=no |
|
7337 |
else
|
|
7338 |
if test "X$withval" = "X"; then |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7339 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7340 |
acl_save_prefix="$prefix" |
7341 |
prefix="$acl_final_prefix" |
|
7342 |
acl_save_exec_prefix="$exec_prefix" |
|
7343 |
exec_prefix="$acl_final_exec_prefix" |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7344 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7345 |
eval additional_includedir=\"$includedir\" |
7346 |
eval additional_libdir=\"$libdir\" |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7347 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7348 |
exec_prefix="$acl_save_exec_prefix" |
7349 |
prefix="$acl_save_prefix" |
|
7350 |
||
7351 |
else
|
|
7352 |
additional_includedir="$withval/include" |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
7353 |
additional_libdir="$withval/$acl_libdirstem" |
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
7354 |
if test "$acl_libdirstem2" != "$acl_libdirstem" \ |
7355 |
&& ! test -d "$withval/$acl_libdirstem"; then |
|
7356 |
additional_libdir="$withval/$acl_libdirstem2" |
|
7357 |
fi
|
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7358 |
fi
|
7359 |
fi
|
|
7360 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
7361 |
fi
|
7362 |
||
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7363 |
LIBINTL= |
7364 |
LTLIBINTL= |
|
7365 |
INCINTL= |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7366 |
LIBINTL_PREFIX= |
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
7367 |
HAVE_LIBINTL= |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7368 |
rpathdirs= |
7369 |
ltrpathdirs= |
|
7370 |
names_already_handled= |
|
7371 |
names_next_round='intl ' |
|
7372 |
while test -n "$names_next_round"; do |
|
7373 |
names_this_round="$names_next_round" |
|
7374 |
names_next_round= |
|
7375 |
for name in $names_this_round; do |
|
7376 |
already_handled= |
|
7377 |
for n in $names_already_handled; do |
|
7378 |
if test "$n" = "$name"; then |
|
7379 |
already_handled=yes |
|
7380 |
break
|
|
7381 |
fi
|
|
7382 |
done
|
|
7383 |
if test -z "$already_handled"; then |
|
7384 |
names_already_handled="$names_already_handled $name" |
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7385 |
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7386 |
eval value=\"\$HAVE_LIB$uppername\" |
7387 |
if test -n "$value"; then |
|
7388 |
if test "$value" = yes; then |
|
7389 |
eval value=\"\$LIB$uppername\" |
|
7390 |
test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" |
|
7391 |
eval value=\"\$LTLIB$uppername\" |
|
7392 |
test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" |
|
7393 |
else
|
|
7394 |
: |
|
7395 |
fi
|
|
7396 |
else
|
|
7397 |
found_dir= |
|
7398 |
found_la= |
|
7399 |
found_so= |
|
7400 |
found_a= |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7401 |
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name |
7402 |
if test -n "$acl_shlibext"; then |
|
7403 |
shrext=".$acl_shlibext" # typically: shrext=.so |
|
7404 |
else
|
|
7405 |
shrext= |
|
7406 |
fi
|
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7407 |
if test $use_additional = yes; then |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7408 |
dir="$additional_libdir" |
7409 |
if test -n "$acl_shlibext"; then |
|
7410 |
if test -f "$dir/$libname$shrext"; then |
|
7411 |
found_dir="$dir" |
|
7412 |
found_so="$dir/$libname$shrext" |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
7413 |
else
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7414 |
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then |
7415 |
ver=`(cd "$dir" && \ |
|
7416 |
for f in "$libname$shrext".*; do echo "$f"; done \ |
|
7417 |
| sed -e "s,^$libname$shrext\\\\.,," \ |
|
7418 |
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
|
7419 |
| sed 1q ) 2>/dev/null` |
|
7420 |
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then |
|
7421 |
found_dir="$dir" |
|
7422 |
found_so="$dir/$libname$shrext.$ver" |
|
7423 |
fi
|
|
7424 |
else
|
|
7425 |
eval library_names=\"$acl_library_names_spec\" |
|
7426 |
for f in $library_names; do |
|
7427 |
if test -f "$dir/$f"; then |
|
7428 |
found_dir="$dir" |
|
7429 |
found_so="$dir/$f" |
|
7430 |
break
|
|
7431 |
fi
|
|
7432 |
done
|
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7433 |
fi
|
7434 |
fi
|
|
7435 |
fi
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7436 |
if test "X$found_dir" = "X"; then |
7437 |
if test -f "$dir/$libname.$acl_libext"; then |
|
7438 |
found_dir="$dir" |
|
7439 |
found_a="$dir/$libname.$acl_libext" |
|
7440 |
fi
|
|
7441 |
fi
|
|
7442 |
if test "X$found_dir" != "X"; then |
|
7443 |
if test -f "$dir/$libname.la"; then |
|
7444 |
found_la="$dir/$libname.la" |
|
7445 |
fi
|
|
7446 |
fi
|
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7447 |
fi
|
7448 |
if test "X$found_dir" = "X"; then |
|
7449 |
for x in $LDFLAGS $LTLIBINTL; do |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7450 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7451 |
acl_save_prefix="$prefix" |
7452 |
prefix="$acl_final_prefix" |
|
7453 |
acl_save_exec_prefix="$exec_prefix" |
|
7454 |
exec_prefix="$acl_final_exec_prefix" |
|
7455 |
eval x=\"$x\" |
|
7456 |
exec_prefix="$acl_save_exec_prefix" |
|
7457 |
prefix="$acl_save_prefix" |
|
7458 |
||
7459 |
case "$x" in |
|
7460 |
-L*)
|
|
7461 |
dir=`echo "X$x" | sed -e 's/^X-L//'` |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7462 |
if test -n "$acl_shlibext"; then |
7463 |
if test -f "$dir/$libname$shrext"; then |
|
7464 |
found_dir="$dir" |
|
7465 |
found_so="$dir/$libname$shrext" |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
7466 |
else
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7467 |
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then |
7468 |
ver=`(cd "$dir" && \ |
|
7469 |
for f in "$libname$shrext".*; do echo "$f"; done \ |
|
7470 |
| sed -e "s,^$libname$shrext\\\\.,," \ |
|
7471 |
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
|
7472 |
| sed 1q ) 2>/dev/null` |
|
7473 |
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then |
|
7474 |
found_dir="$dir" |
|
7475 |
found_so="$dir/$libname$shrext.$ver" |
|
7476 |
fi
|
|
7477 |
else
|
|
7478 |
eval library_names=\"$acl_library_names_spec\" |
|
7479 |
for f in $library_names; do |
|
7480 |
if test -f "$dir/$f"; then |
|
7481 |
found_dir="$dir" |
|
7482 |
found_so="$dir/$f" |
|
7483 |
break
|
|
7484 |
fi
|
|
7485 |
done
|
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7486 |
fi
|
7487 |
fi
|
|
7488 |
fi
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7489 |
if test "X$found_dir" = "X"; then |
7490 |
if test -f "$dir/$libname.$acl_libext"; then |
|
7491 |
found_dir="$dir" |
|
7492 |
found_a="$dir/$libname.$acl_libext" |
|
7493 |
fi
|
|
7494 |
fi
|
|
7495 |
if test "X$found_dir" != "X"; then |
|
7496 |
if test -f "$dir/$libname.la"; then |
|
7497 |
found_la="$dir/$libname.la" |
|
7498 |
fi
|
|
7499 |
fi
|
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7500 |
;;
|
7501 |
esac
|
|
7502 |
if test "X$found_dir" != "X"; then |
|
7503 |
break
|
|
7504 |
fi
|
|
7505 |
done
|
|
7506 |
fi
|
|
7507 |
if test "X$found_dir" != "X"; then |
|
7508 |
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" |
|
7509 |
if test "X$found_so" != "X"; then |
|
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
7510 |
if test "$enable_rpath" = no \ |
7511 |
|| test "X$found_dir" = "X/usr/$acl_libdirstem" \ |
|
7512 |
|| test "X$found_dir" = "X/usr/$acl_libdirstem2"; then |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7513 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
7514 |
else
|
|
7515 |
haveit= |
|
7516 |
for x in $ltrpathdirs; do |
|
7517 |
if test "X$x" = "X$found_dir"; then |
|
7518 |
haveit=yes |
|
7519 |
break
|
|
7520 |
fi
|
|
7521 |
done
|
|
7522 |
if test -z "$haveit"; then |
|
7523 |
ltrpathdirs="$ltrpathdirs $found_dir" |
|
7524 |
fi
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7525 |
if test "$acl_hardcode_direct" = yes; then |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7526 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
7527 |
else
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7528 |
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7529 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
7530 |
haveit= |
|
7531 |
for x in $rpathdirs; do |
|
7532 |
if test "X$x" = "X$found_dir"; then |
|
7533 |
haveit=yes |
|
7534 |
break
|
|
7535 |
fi
|
|
7536 |
done
|
|
7537 |
if test -z "$haveit"; then |
|
7538 |
rpathdirs="$rpathdirs $found_dir" |
|
7539 |
fi
|
|
7540 |
else
|
|
7541 |
haveit= |
|
7542 |
for x in $LDFLAGS $LIBINTL; do |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7543 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7544 |
acl_save_prefix="$prefix" |
7545 |
prefix="$acl_final_prefix" |
|
7546 |
acl_save_exec_prefix="$exec_prefix" |
|
7547 |
exec_prefix="$acl_final_exec_prefix" |
|
7548 |
eval x=\"$x\" |
|
7549 |
exec_prefix="$acl_save_exec_prefix" |
|
7550 |
prefix="$acl_save_prefix" |
|
7551 |
||
7552 |
if test "X$x" = "X-L$found_dir"; then |
|
7553 |
haveit=yes |
|
7554 |
break
|
|
7555 |
fi
|
|
7556 |
done
|
|
7557 |
if test -z "$haveit"; then |
|
7558 |
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" |
|
7559 |
fi
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7560 |
if test "$acl_hardcode_minus_L" != no; then |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7561 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
7562 |
else
|
|
7563 |
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" |
|
7564 |
fi
|
|
7565 |
fi
|
|
7566 |
fi
|
|
7567 |
fi
|
|
7568 |
else
|
|
7569 |
if test "X$found_a" != "X"; then |
|
7570 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" |
|
7571 |
else
|
|
7572 |
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" |
|
7573 |
fi
|
|
7574 |
fi
|
|
7575 |
additional_includedir= |
|
7576 |
case "$found_dir" in |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
7577 |
*/$acl_libdirstem | */$acl_libdirstem/) |
7578 |
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` |
|
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
7579 |
if test "$name" = 'intl'; then |
7580 |
LIBINTL_PREFIX="$basedir" |
|
7581 |
fi
|
|
7582 |
additional_includedir="$basedir/include" |
|
7583 |
;;
|
|
7584 |
*/$acl_libdirstem2 | */$acl_libdirstem2/) |
|
7585 |
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` |
|
7586 |
if test "$name" = 'intl'; then |
|
7587 |
LIBINTL_PREFIX="$basedir" |
|
7588 |
fi
|
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7589 |
additional_includedir="$basedir/include" |
7590 |
;;
|
|
7591 |
esac
|
|
7592 |
if test "X$additional_includedir" != "X"; then |
|
7593 |
if test "X$additional_includedir" != "X/usr/include"; then |
|
7594 |
haveit= |
|
7595 |
if test "X$additional_includedir" = "X/usr/local/include"; then |
|
7596 |
if test -n "$GCC"; then |
|
7597 |
case $host_os in |
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
7598 |
linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7599 |
esac
|
7600 |
fi
|
|
7601 |
fi
|
|
7602 |
if test -z "$haveit"; then |
|
7603 |
for x in $CPPFLAGS $INCINTL; do |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7604 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7605 |
acl_save_prefix="$prefix" |
7606 |
prefix="$acl_final_prefix" |
|
7607 |
acl_save_exec_prefix="$exec_prefix" |
|
7608 |
exec_prefix="$acl_final_exec_prefix" |
|
7609 |
eval x=\"$x\" |
|
7610 |
exec_prefix="$acl_save_exec_prefix" |
|
7611 |
prefix="$acl_save_prefix" |
|
7612 |
||
7613 |
if test "X$x" = "X-I$additional_includedir"; then |
|
7614 |
haveit=yes |
|
7615 |
break
|
|
7616 |
fi
|
|
7617 |
done
|
|
7618 |
if test -z "$haveit"; then |
|
7619 |
if test -d "$additional_includedir"; then |
|
7620 |
INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" |
|
7621 |
fi
|
|
7622 |
fi
|
|
7623 |
fi
|
|
7624 |
fi
|
|
7625 |
fi
|
|
7626 |
if test -n "$found_la"; then |
|
7627 |
save_libdir="$libdir" |
|
7628 |
case "$found_la" in |
|
7629 |
*/* | *\\*) . "$found_la" ;; |
|
7630 |
*) . "./$found_la" ;; |
|
7631 |
esac
|
|
7632 |
libdir="$save_libdir" |
|
7633 |
for dep in $dependency_libs; do |
|
7634 |
case "$dep" in |
|
7635 |
-L*)
|
|
7636 |
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` |
|
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
7637 |
if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ |
7638 |
&& test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7639 |
haveit= |
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
7640 |
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ |
7641 |
|| test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7642 |
if test -n "$GCC"; then |
7643 |
case $host_os in |
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
7644 |
linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7645 |
esac
|
7646 |
fi
|
|
7647 |
fi
|
|
7648 |
if test -z "$haveit"; then |
|
7649 |
haveit= |
|
7650 |
for x in $LDFLAGS $LIBINTL; do |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7651 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7652 |
acl_save_prefix="$prefix" |
7653 |
prefix="$acl_final_prefix" |
|
7654 |
acl_save_exec_prefix="$exec_prefix" |
|
7655 |
exec_prefix="$acl_final_exec_prefix" |
|
7656 |
eval x=\"$x\" |
|
7657 |
exec_prefix="$acl_save_exec_prefix" |
|
7658 |
prefix="$acl_save_prefix" |
|
7659 |
||
7660 |
if test "X$x" = "X-L$additional_libdir"; then |
|
7661 |
haveit=yes |
|
7662 |
break
|
|
7663 |
fi
|
|
7664 |
done
|
|
7665 |
if test -z "$haveit"; then |
|
7666 |
if test -d "$additional_libdir"; then |
|
7667 |
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" |
|
7668 |
fi
|
|
7669 |
fi
|
|
7670 |
haveit= |
|
7671 |
for x in $LDFLAGS $LTLIBINTL; do |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7672 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7673 |
acl_save_prefix="$prefix" |
7674 |
prefix="$acl_final_prefix" |
|
7675 |
acl_save_exec_prefix="$exec_prefix" |
|
7676 |
exec_prefix="$acl_final_exec_prefix" |
|
7677 |
eval x=\"$x\" |
|
7678 |
exec_prefix="$acl_save_exec_prefix" |
|
7679 |
prefix="$acl_save_prefix" |
|
7680 |
||
7681 |
if test "X$x" = "X-L$additional_libdir"; then |
|
7682 |
haveit=yes |
|
7683 |
break
|
|
7684 |
fi
|
|
7685 |
done
|
|
7686 |
if test -z "$haveit"; then |
|
7687 |
if test -d "$additional_libdir"; then |
|
7688 |
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" |
|
7689 |
fi
|
|
7690 |
fi
|
|
7691 |
fi
|
|
7692 |
fi
|
|
7693 |
;;
|
|
7694 |
-R*)
|
|
7695 |
dir=`echo "X$dep" | sed -e 's/^X-R//'` |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7696 |
if test "$enable_rpath" != no; then |
7697 |
haveit= |
|
7698 |
for x in $rpathdirs; do |
|
7699 |
if test "X$x" = "X$dir"; then |
|
7700 |
haveit=yes |
|
7701 |
break
|
|
7702 |
fi
|
|
7703 |
done
|
|
7704 |
if test -z "$haveit"; then |
|
7705 |
rpathdirs="$rpathdirs $dir" |
|
7706 |
fi
|
|
7707 |
haveit= |
|
7708 |
for x in $ltrpathdirs; do |
|
7709 |
if test "X$x" = "X$dir"; then |
|
7710 |
haveit=yes |
|
7711 |
break
|
|
7712 |
fi
|
|
7713 |
done
|
|
7714 |
if test -z "$haveit"; then |
|
7715 |
ltrpathdirs="$ltrpathdirs $dir" |
|
7716 |
fi
|
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7717 |
fi
|
7718 |
;;
|
|
7719 |
-l*)
|
|
7720 |
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` |
|
7721 |
;;
|
|
7722 |
*.la)
|
|
7723 |
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` |
|
7724 |
;;
|
|
7725 |
*)
|
|
7726 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" |
|
7727 |
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" |
|
7728 |
;;
|
|
7729 |
esac
|
|
7730 |
done
|
|
7731 |
fi
|
|
7732 |
else
|
|
7733 |
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" |
|
7734 |
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" |
|
7735 |
fi
|
|
7736 |
fi
|
|
7737 |
fi
|
|
7738 |
done
|
|
7739 |
done
|
|
7740 |
if test "X$rpathdirs" != "X"; then |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7741 |
if test -n "$acl_hardcode_libdir_separator"; then |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7742 |
alldirs= |
7743 |
for found_dir in $rpathdirs; do |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7744 |
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7745 |
done
|
7746 |
acl_save_libdir="$libdir" |
|
7747 |
libdir="$alldirs" |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7748 |
eval flag=\"$acl_hardcode_libdir_flag_spec\" |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7749 |
libdir="$acl_save_libdir" |
7750 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" |
|
7751 |
else
|
|
7752 |
for found_dir in $rpathdirs; do |
|
7753 |
acl_save_libdir="$libdir" |
|
7754 |
libdir="$found_dir" |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7755 |
eval flag=\"$acl_hardcode_libdir_flag_spec\" |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7756 |
libdir="$acl_save_libdir" |
7757 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" |
|
7758 |
done
|
|
7759 |
fi
|
|
7760 |
fi
|
|
7761 |
if test "X$ltrpathdirs" != "X"; then |
|
7762 |
for found_dir in $ltrpathdirs; do |
|
7763 |
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" |
|
7764 |
done
|
|
7765 |
fi
|
|
7766 |
||
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
7767 |
|
7768 |
||
7769 |
||
7770 |
||
7771 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
7772 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7773 |
$as_echo_n "checking for GNU gettext in libintl... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
7774 |
if eval \${$gt_func_gnugettext_libintl+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7775 |
$as_echo_n "(cached) " >&6 |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7776 |
else
|
7777 |
gt_save_CPPFLAGS="$CPPFLAGS" |
|
7778 |
CPPFLAGS="$CPPFLAGS $INCINTL" |
|
7779 |
gt_save_LIBS="$LIBS" |
|
7780 |
LIBS="$LIBS $LIBINTL" |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7781 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7782 |
/* end confdefs.h. */
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7783 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7784 |
#include <libintl.h>
|
731.17.30
by Arnold D. Robbins
Update to Gettext 0.19.8.1. |
7785 |
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7786 |
extern int _nl_msg_cat_cntr;
|
7787 |
extern
|
|
7788 |
#ifdef __cplusplus
|
|
7789 |
"C"
|
|
7790 |
#endif
|
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
7791 |
const char *_nl_expand_alias (const char *);
|
731.17.30
by Arnold D. Robbins
Update to Gettext 0.19.8.1. |
7792 |
#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
|
7793 |
#else
|
|
7794 |
#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
|
|
7795 |
#endif
|
|
7796 |
$gt_revision_test_code
|
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7797 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7798 |
int
|
7799 |
main ()
|
|
7800 |
{
|
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7801 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7802 |
bindtextdomain ("", "");
|
731.17.30
by Arnold D. Robbins
Update to Gettext 0.19.8.1. |
7803 |
return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7804 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7805 |
;
|
7806 |
return 0;
|
|
7807 |
}
|
|
7808 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7809 |
if ac_fn_c_try_link "$LINENO"; then : |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
7810 |
eval "$gt_func_gnugettext_libintl=yes" |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7811 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7812 |
eval "$gt_func_gnugettext_libintl=no" |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7813 |
fi
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7814 |
rm -f core conftest.err conftest.$ac_objext \ |
7815 |
conftest$ac_exeext conftest.$ac_ext |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
7816 |
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7817 |
LIBS="$LIBS $LIBICONV" |
36
by Arnold D. Robbins
Move to 3.1.8. |
7818 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7819 |
/* end confdefs.h. */
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7820 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7821 |
#include <libintl.h>
|
731.17.30
by Arnold D. Robbins
Update to Gettext 0.19.8.1. |
7822 |
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7823 |
extern int _nl_msg_cat_cntr;
|
7824 |
extern
|
|
7825 |
#ifdef __cplusplus
|
|
7826 |
"C"
|
|
7827 |
#endif
|
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
7828 |
const char *_nl_expand_alias (const char *);
|
731.17.30
by Arnold D. Robbins
Update to Gettext 0.19.8.1. |
7829 |
#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
|
7830 |
#else
|
|
7831 |
#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
|
|
7832 |
#endif
|
|
7833 |
$gt_revision_test_code
|
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7834 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7835 |
int
|
7836 |
main ()
|
|
7837 |
{
|
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7838 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7839 |
bindtextdomain ("", "");
|
731.17.30
by Arnold D. Robbins
Update to Gettext 0.19.8.1. |
7840 |
return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7841 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7842 |
;
|
7843 |
return 0;
|
|
7844 |
}
|
|
7845 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7846 |
if ac_fn_c_try_link "$LINENO"; then : |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7847 |
LIBINTL="$LIBINTL $LIBICONV" |
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
7848 |
LTLIBINTL="$LTLIBINTL $LTLIBICONV" |
7849 |
eval "$gt_func_gnugettext_libintl=yes" |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7850 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7851 |
fi
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7852 |
rm -f core conftest.err conftest.$ac_objext \ |
7853 |
conftest$ac_exeext conftest.$ac_ext |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7854 |
fi
|
7855 |
CPPFLAGS="$gt_save_CPPFLAGS" |
|
7856 |
LIBS="$gt_save_LIBS" |
|
7857 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7858 |
eval ac_res=\$$gt_func_gnugettext_libintl |
7859 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7860 |
$as_echo "$ac_res" >&6; } |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7861 |
fi
|
7862 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
7863 |
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ |
7864 |
|| { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ |
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
7865 |
&& test "$PACKAGE" != gettext-runtime \ |
7866 |
&& test "$PACKAGE" != gettext-tools; }; then |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7867 |
gt_use_preinstalled_gnugettext=yes |
7868 |
else
|
|
7869 |
LIBINTL= |
|
7870 |
LTLIBINTL= |
|
7871 |
INCINTL= |
|
7872 |
fi
|
|
7873 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7874 |
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
7875 |
|
7876 |
if test -n "$INTL_MACOSX_LIBS"; then |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7877 |
if test "$gt_use_preinstalled_gnugettext" = "yes" \ |
7878 |
|| test "$nls_cv_use_gnu_gettext" = "yes"; then |
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
7879 |
LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" |
7880 |
LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7881 |
fi
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
7882 |
fi
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7883 |
|
7884 |
if test "$gt_use_preinstalled_gnugettext" = "yes" \ |
|
7885 |
|| test "$nls_cv_use_gnu_gettext" = "yes"; then |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7886 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7887 |
$as_echo "#define ENABLE_NLS 1" >>confdefs.h |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7888 |
|
7889 |
else
|
|
7890 |
USE_NLS=no |
|
7891 |
fi
|
|
7892 |
fi
|
|
7893 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
7894 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7895 |
$as_echo_n "checking whether to use NLS... " >&6; } |
36
by Arnold D. Robbins
Move to 3.1.8. |
7896 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7897 |
$as_echo "$USE_NLS" >&6; } |
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
7898 |
if test "$USE_NLS" = "yes"; then |
36
by Arnold D. Robbins
Move to 3.1.8. |
7899 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7900 |
$as_echo_n "checking where the gettext function comes from... " >&6; } |
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
7901 |
if test "$gt_use_preinstalled_gnugettext" = "yes"; then |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
7902 |
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then |
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
7903 |
gt_source="external libintl" |
7904 |
else
|
|
7905 |
gt_source="libc" |
|
7906 |
fi
|
|
7907 |
else
|
|
7908 |
gt_source="included intl directory" |
|
7909 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7910 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7911 |
$as_echo "$gt_source" >&6; } |
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
7912 |
fi
|
7913 |
||
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7914 |
if test "$USE_NLS" = "yes"; then |
7915 |
||
7916 |
if test "$gt_use_preinstalled_gnugettext" = "yes"; then |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
7917 |
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then |
36
by Arnold D. Robbins
Move to 3.1.8. |
7918 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7919 |
$as_echo_n "checking how to link with libintl... " >&6; } |
36
by Arnold D. Robbins
Move to 3.1.8. |
7920 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7921 |
$as_echo "$LIBINTL" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7922 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7923 |
for element in $INCINTL; do |
7924 |
haveit= |
|
7925 |
for x in $CPPFLAGS; do |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7926 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7927 |
acl_save_prefix="$prefix" |
7928 |
prefix="$acl_final_prefix" |
|
7929 |
acl_save_exec_prefix="$exec_prefix" |
|
7930 |
exec_prefix="$acl_final_exec_prefix" |
|
7931 |
eval x=\"$x\" |
|
7932 |
exec_prefix="$acl_save_exec_prefix" |
|
7933 |
prefix="$acl_save_prefix" |
|
7934 |
||
7935 |
if test "X$x" = "X$element"; then |
|
7936 |
haveit=yes |
|
7937 |
break
|
|
7938 |
fi
|
|
7939 |
done
|
|
7940 |
if test -z "$haveit"; then |
|
7941 |
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" |
|
7942 |
fi
|
|
7943 |
done
|
|
7944 |
||
7945 |
fi
|
|
7946 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7947 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7948 |
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h |
7949 |
||
7950 |
||
7951 |
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7952 |
|
7953 |
fi
|
|
7954 |
||
7955 |
POSUB=po |
|
7956 |
fi
|
|
7957 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7958 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
7959 |
|
7960 |
INTLLIBS="$LIBINTL" |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
7961 |
|
7962 |
||
7963 |
||
7964 |
||
7965 |
||
7966 |
||
7967 |
||
7968 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
7969 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7970 |
$as_echo_n "checking for nl_langinfo and CODESET... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
7971 |
if ${am_cv_langinfo_codeset+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7972 |
$as_echo_n "(cached) " >&6 |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
7973 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7974 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
7975 |
/* end confdefs.h. */
|
7976 |
#include <langinfo.h>
|
|
7977 |
int
|
|
7978 |
main ()
|
|
7979 |
{
|
|
7980 |
char* cs = nl_langinfo(CODESET); return !cs;
|
|
7981 |
;
|
|
7982 |
return 0;
|
|
7983 |
}
|
|
7984 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7985 |
if ac_fn_c_try_link "$LINENO"; then : |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
7986 |
am_cv_langinfo_codeset=yes |
7987 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
7988 |
am_cv_langinfo_codeset=no |
7989 |
fi
|
|
7990 |
rm -f core conftest.err conftest.$ac_objext \ |
|
7991 |
conftest$ac_exeext conftest.$ac_ext |
|
7992 |
||
7993 |
fi
|
|
7994 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
7995 |
$as_echo "$am_cv_langinfo_codeset" >&6; } |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
7996 |
if test $am_cv_langinfo_codeset = yes; then |
7997 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
7998 |
$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
7999 |
|
8000 |
fi
|
|
8001 |
||
8002 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
8003 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8004 |
$as_echo_n "checking for LC_MESSAGES... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
8005 |
if ${gt_cv_val_LC_MESSAGES+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8006 |
$as_echo_n "(cached) " >&6 |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8007 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8008 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8009 |
/* end confdefs.h. */
|
8010 |
#include <locale.h>
|
|
8011 |
int
|
|
8012 |
main ()
|
|
8013 |
{
|
|
8014 |
return LC_MESSAGES
|
|
8015 |
;
|
|
8016 |
return 0;
|
|
8017 |
}
|
|
8018 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8019 |
if ac_fn_c_try_link "$LINENO"; then : |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8020 |
gt_cv_val_LC_MESSAGES=yes |
8021 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8022 |
gt_cv_val_LC_MESSAGES=no |
8023 |
fi
|
|
8024 |
rm -f core conftest.err conftest.$ac_objext \ |
|
8025 |
conftest$ac_exeext conftest.$ac_ext |
|
8026 |
fi
|
|
8027 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_val_LC_MESSAGES" >&5 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8028 |
$as_echo "$gt_cv_val_LC_MESSAGES" >&6; } |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8029 |
if test $gt_cv_val_LC_MESSAGES = yes; then |
8030 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
8031 |
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8032 |
|
8033 |
fi
|
|
8034 |
||
8035 |
||
731.14.9
by Arnold D. Robbins
Remove gawkbool.h; rely on their being a stdbool.h. |
8036 |
for ac_header in arpa/inet.h fcntl.h locale.h libintl.h mcheck.h \ |
8037 |
netdb.h netinet/in.h stddef.h string.h \
|
|
408.21.1
by Arnold D. Robbins
Rework zOS patches; keep separate from autotools. |
8038 |
sys/ioctl.h sys/param.h sys/select.h sys/socket.h sys/time.h unistd.h \
|
408.5.123
by Arnold D. Robbins
Improvements in both configure.ac files. |
8039 |
termios.h stropts.h wchar.h wctype.h |
8040 |
do :
|
|
8041 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
8042 |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
8043 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
8044 |
cat >>confdefs.h <<_ACEOF
|
|
8045 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
8046 |
_ACEOF
|
|
8047 |
||
8048 |
fi
|
|
8049 |
||
8050 |
done
|
|
8051 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
8052 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8053 |
$as_echo_n "checking for ANSI C header files... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
8054 |
if ${ac_cv_header_stdc+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8055 |
$as_echo_n "(cached) " >&6 |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8056 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8057 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8058 |
/* end confdefs.h. */
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8059 |
#include <stdlib.h>
|
8060 |
#include <stdarg.h>
|
|
8061 |
#include <string.h>
|
|
8062 |
#include <float.h>
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8063 |
|
8064 |
int
|
|
8065 |
main ()
|
|
8066 |
{
|
|
8067 |
||
8068 |
;
|
|
8069 |
return 0;
|
|
8070 |
}
|
|
8071 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8072 |
if ac_fn_c_try_compile "$LINENO"; then : |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8073 |
ac_cv_header_stdc=yes |
8074 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8075 |
ac_cv_header_stdc=no |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8076 |
fi
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8077 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8078 |
|
8079 |
if test $ac_cv_header_stdc = yes; then |
|
8080 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8081 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8082 |
/* end confdefs.h. */
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8083 |
#include <string.h>
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8084 |
|
8085 |
_ACEOF
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8086 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
36
by Arnold D. Robbins
Move to 3.1.8. |
8087 |
$EGREP "memchr" >/dev/null 2>&1; then : |
8088 |
||
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8089 |
else
|
8090 |
ac_cv_header_stdc=no |
|
8091 |
fi
|
|
8092 |
rm -f conftest* |
|
8093 |
||
8094 |
fi
|
|
8095 |
||
8096 |
if test $ac_cv_header_stdc = yes; then |
|
8097 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8098 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8099 |
/* end confdefs.h. */
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8100 |
#include <stdlib.h>
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8101 |
|
8102 |
_ACEOF
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8103 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
36
by Arnold D. Robbins
Move to 3.1.8. |
8104 |
$EGREP "free" >/dev/null 2>&1; then : |
8105 |
||
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8106 |
else
|
8107 |
ac_cv_header_stdc=no |
|
8108 |
fi
|
|
8109 |
rm -f conftest* |
|
8110 |
||
8111 |
fi
|
|
8112 |
||
8113 |
if test $ac_cv_header_stdc = yes; then |
|
8114 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8115 |
if test "$cross_compiling" = yes; then : |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8116 |
: |
8117 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8118 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8119 |
/* end confdefs.h. */
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8120 |
#include <ctype.h>
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8121 |
#include <stdlib.h>
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8122 |
#if ((' ' & 0x0FF) == 0x020)
|
8123 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
8124 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
8125 |
#else
|
|
8126 |
# define ISLOWER(c) \
|
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
8127 |
(('a' <= (c) && (c) <= 'i') \
|
8128 |
|| ('j' <= (c) && (c) <= 'r') \
|
|
8129 |
|| ('s' <= (c) && (c) <= 'z'))
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8130 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
8131 |
#endif
|
|
8132 |
||
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8133 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8134 |
int
|
8135 |
main ()
|
|
8136 |
{
|
|
8137 |
int i;
|
|
8138 |
for (i = 0; i < 256; i++)
|
|
8139 |
if (XOR (islower (i), ISLOWER (i))
|
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
8140 |
|| toupper (i) != TOUPPER (i))
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8141 |
return 2;
|
8142 |
return 0;
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8143 |
}
|
8144 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8145 |
if ac_fn_c_try_run "$LINENO"; then : |
8146 |
||
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8147 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8148 |
ac_cv_header_stdc=no |
8149 |
fi
|
|
8150 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
8151 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
8152 |
fi
|
|
8153 |
||
8154 |
fi
|
|
8155 |
fi
|
|
8156 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8157 |
$as_echo "$ac_cv_header_stdc" >&6; } |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8158 |
if test $ac_cv_header_stdc = yes; then |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8159 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8160 |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8161 |
|
8162 |
fi
|
|
8163 |
||
277.1.144
by Arnold D. Robbins
Rework handling of bool. |
8164 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 |
8165 |
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } |
|
8166 |
if ${ac_cv_header_stdbool_h+:} false; then : |
|
8167 |
$as_echo_n "(cached) " >&6 |
|
8168 |
else
|
|
8169 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
8170 |
/* end confdefs.h. */
|
|
8171 |
||
8172 |
#include <stdbool.h>
|
|
8173 |
#ifndef bool
|
|
8174 |
"error: bool is not defined"
|
|
8175 |
#endif
|
|
8176 |
#ifndef false
|
|
8177 |
"error: false is not defined"
|
|
8178 |
#endif
|
|
8179 |
#if false
|
|
8180 |
"error: false is not 0"
|
|
8181 |
#endif
|
|
8182 |
#ifndef true
|
|
8183 |
"error: true is not defined"
|
|
8184 |
#endif
|
|
8185 |
#if true != 1
|
|
8186 |
"error: true is not 1"
|
|
8187 |
#endif
|
|
8188 |
#ifndef __bool_true_false_are_defined
|
|
8189 |
"error: __bool_true_false_are_defined is not defined"
|
|
8190 |
#endif
|
|
8191 |
||
8192 |
struct s { _Bool s: 1; _Bool t; } s;
|
|
8193 |
||
8194 |
char a[true == 1 ? 1 : -1];
|
|
8195 |
char b[false == 0 ? 1 : -1];
|
|
8196 |
char c[__bool_true_false_are_defined == 1 ? 1 : -1];
|
|
8197 |
char d[(bool) 0.5 == true ? 1 : -1];
|
|
8198 |
/* See body of main program for 'e'. */
|
|
8199 |
char f[(_Bool) 0.0 == false ? 1 : -1];
|
|
8200 |
char g[true];
|
|
8201 |
char h[sizeof (_Bool)];
|
|
8202 |
char i[sizeof s.t];
|
|
8203 |
enum { j = false, k = true, l = false * true, m = true * 256 };
|
|
8204 |
/* The following fails for
|
|
8205 |
HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
|
|
8206 |
_Bool n[m];
|
|
8207 |
char o[sizeof n == m * sizeof n[0] ? 1 : -1];
|
|
8208 |
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
|
|
8209 |
/* Catch a bug in an HP-UX C compiler. See
|
|
8210 |
http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
|
|
8211 |
http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
|
|
8212 |
*/
|
|
8213 |
_Bool q = true;
|
|
8214 |
_Bool *pq = &q;
|
|
8215 |
||
8216 |
int
|
|
8217 |
main ()
|
|
8218 |
{
|
|
8219 |
||
8220 |
bool e = &s;
|
|
8221 |
*pq |= q;
|
|
8222 |
*pq |= ! q;
|
|
8223 |
/* Refer to every declared value, to avoid compiler optimizations. */
|
|
8224 |
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
|
|
8225 |
+ !m + !n + !o + !p + !q + !pq);
|
|
8226 |
||
8227 |
;
|
|
8228 |
return 0;
|
|
8229 |
}
|
|
8230 |
_ACEOF
|
|
8231 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
8232 |
ac_cv_header_stdbool_h=yes |
|
8233 |
else
|
|
8234 |
ac_cv_header_stdbool_h=no |
|
8235 |
fi
|
|
8236 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
8237 |
fi
|
|
8238 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 |
|
8239 |
$as_echo "$ac_cv_header_stdbool_h" >&6; } |
|
8240 |
ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" |
|
8241 |
if test "x$ac_cv_type__Bool" = xyes; then : |
|
8242 |
||
8243 |
cat >>confdefs.h <<_ACEOF
|
|
8244 |
#define HAVE__BOOL 1
|
|
8245 |
_ACEOF
|
|
8246 |
||
8247 |
||
8248 |
fi
|
|
8249 |
||
8250 |
||
8251 |
if test $ac_cv_header_stdbool_h = yes; then |
|
8252 |
||
8253 |
$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h |
|
8254 |
||
8255 |
fi
|
|
8256 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
8257 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8258 |
$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
8259 |
if ${ac_cv_header_sys_wait_h+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8260 |
$as_echo_n "(cached) " >&6 |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8261 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8262 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8263 |
/* end confdefs.h. */
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8264 |
#include <sys/types.h>
|
8265 |
#include <sys/wait.h>
|
|
8266 |
#ifndef WEXITSTATUS
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8267 |
# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8268 |
#endif
|
8269 |
#ifndef WIFEXITED
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8270 |
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8271 |
#endif
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8272 |
|
8273 |
int
|
|
8274 |
main ()
|
|
8275 |
{
|
|
8276 |
int s;
|
|
8277 |
wait (&s);
|
|
8278 |
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
|
|
8279 |
;
|
|
8280 |
return 0;
|
|
8281 |
}
|
|
8282 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8283 |
if ac_fn_c_try_compile "$LINENO"; then : |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8284 |
ac_cv_header_sys_wait_h=yes |
8285 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8286 |
ac_cv_header_sys_wait_h=no |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8287 |
fi
|
8288 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
8289 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8290 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8291 |
$as_echo "$ac_cv_header_sys_wait_h" >&6; } |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8292 |
if test $ac_cv_header_sys_wait_h = yes; then |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8293 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8294 |
$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8295 |
|
8296 |
fi
|
|
8297 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
8298 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8299 |
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
8300 |
if ${ac_cv_header_time+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8301 |
$as_echo_n "(cached) " >&6 |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
8302 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8303 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8304 |
/* end confdefs.h. */
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
8305 |
#include <sys/types.h>
|
8306 |
#include <sys/time.h>
|
|
8307 |
#include <time.h>
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8308 |
|
8309 |
int
|
|
8310 |
main ()
|
|
8311 |
{
|
|
8312 |
if ((struct tm *) 0)
|
|
8313 |
return 0;
|
|
8314 |
;
|
|
8315 |
return 0;
|
|
8316 |
}
|
|
8317 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8318 |
if ac_fn_c_try_compile "$LINENO"; then : |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
8319 |
ac_cv_header_time=yes |
8320 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8321 |
ac_cv_header_time=no |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8322 |
fi
|
8323 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
8324 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8325 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8326 |
$as_echo "$ac_cv_header_time" >&6; } |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
8327 |
if test $ac_cv_header_time = yes; then |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8328 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8329 |
$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h |
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
8330 |
|
8331 |
fi
|
|
8332 |
||
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8333 |
|
8334 |
if test "$ac_cv_header_string_h" = yes |
|
8335 |
then
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8336 |
for ac_header in memory.h
|
8337 |
do :
|
|
8338 |
ac_fn_c_check_header_mongrel "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default" |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
8339 |
if test "x$ac_cv_header_memory_h" = xyes; then : |
36
by Arnold D. Robbins
Move to 3.1.8. |
8340 |
cat >>confdefs.h <<_ACEOF
|
8341 |
#define HAVE_MEMORY_H 1
|
|
8342 |
_ACEOF
|
|
8343 |
||
8344 |
fi
|
|
8345 |
||
8346 |
done
|
|
8347 |
||
8348 |
else
|
|
8349 |
for ac_header in strings.h
|
|
8350 |
do :
|
|
8351 |
ac_fn_c_check_header_mongrel "$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default" |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
8352 |
if test "x$ac_cv_header_strings_h" = xyes; then : |
36
by Arnold D. Robbins
Move to 3.1.8. |
8353 |
cat >>confdefs.h <<_ACEOF
|
8354 |
#define HAVE_STRINGS_H 1
|
|
8355 |
_ACEOF
|
|
8356 |
||
8357 |
fi
|
|
8358 |
||
8359 |
done
|
|
8360 |
||
8361 |
fi
|
|
8362 |
||
731.11.236
by Arnold D. Robbins
Improvements to configure.ac and extension/configure.ac. |
8363 |
if test "$build_alias" != "$host_alias"; then |
403
by Arnold D. Robbins
Additional changes for cross-compiling. |
8364 |
TEST_CROSS_COMPILE_TRUE= |
8365 |
TEST_CROSS_COMPILE_FALSE='#' |
|
8366 |
else
|
|
8367 |
TEST_CROSS_COMPILE_TRUE='#' |
|
8368 |
TEST_CROSS_COMPILE_FALSE= |
|
8369 |
fi
|
|
8370 |
||
8371 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
8372 |
ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
8373 |
if test "x$ac_cv_type_pid_t" = xyes; then : |
36
by Arnold D. Robbins
Move to 3.1.8. |
8374 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8375 |
else
|
8376 |
||
8377 |
cat >>confdefs.h <<_ACEOF
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8378 |
#define pid_t int
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8379 |
_ACEOF
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8380 |
|
8381 |
fi
|
|
8382 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
8383 |
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
8384 |
if test "x$ac_cv_type_size_t" = xyes; then : |
36
by Arnold D. Robbins
Move to 3.1.8. |
8385 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8386 |
else
|
8387 |
||
8388 |
cat >>confdefs.h <<_ACEOF
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8389 |
#define size_t unsigned int
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8390 |
_ACEOF
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8391 |
|
8392 |
fi
|
|
8393 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
8394 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8395 |
$as_echo_n "checking for uid_t in sys/types.h... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
8396 |
if ${ac_cv_type_uid_t+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8397 |
$as_echo_n "(cached) " >&6 |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8398 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8399 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8400 |
/* end confdefs.h. */
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8401 |
#include <sys/types.h>
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8402 |
|
8403 |
_ACEOF
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8404 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
36
by Arnold D. Robbins
Move to 3.1.8. |
8405 |
$EGREP "uid_t" >/dev/null 2>&1; then : |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8406 |
ac_cv_type_uid_t=yes |
8407 |
else
|
|
8408 |
ac_cv_type_uid_t=no |
|
8409 |
fi
|
|
8410 |
rm -f conftest* |
|
8411 |
||
8412 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8413 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8414 |
$as_echo "$ac_cv_type_uid_t" >&6; } |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8415 |
if test $ac_cv_type_uid_t = no; then |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8416 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8417 |
$as_echo "#define uid_t int" >>confdefs.h |
8418 |
||
8419 |
||
8420 |
$as_echo "#define gid_t int" >>confdefs.h |
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8421 |
|
8422 |
fi
|
|
8423 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
8424 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8425 |
$as_echo_n "checking type of array argument to getgroups... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
8426 |
if ${ac_cv_type_getgroups+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8427 |
$as_echo_n "(cached) " >&6 |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8428 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8429 |
if test "$cross_compiling" = yes; then : |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8430 |
ac_cv_type_getgroups=cross |
8431 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8432 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8433 |
/* end confdefs.h. */
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8434 |
/* Thanks to Mike Rendell for this test. */
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8435 |
$ac_includes_default
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8436 |
#define NGID 256
|
8437 |
#undef MAX
|
|
8438 |
#define MAX(x, y) ((x) > (y) ? (x) : (y))
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8439 |
|
8440 |
int
|
|
8441 |
main ()
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8442 |
{
|
8443 |
gid_t gidset[NGID];
|
|
8444 |
int i, n;
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8445 |
union { gid_t gval; long int lval; } val;
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8446 |
|
8447 |
val.lval = -1;
|
|
8448 |
for (i = 0; i < NGID; i++)
|
|
8449 |
gidset[i] = val.gval;
|
|
8450 |
n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
|
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
8451 |
gidset);
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8452 |
/* Exit non-zero if getgroups seems to require an array of ints. This
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8453 |
happens when gid_t is short int but getgroups modifies an array
|
8454 |
of ints. */
|
|
8455 |
return n > 0 && gidset[n] != val.gval;
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8456 |
}
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8457 |
_ACEOF
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8458 |
if ac_fn_c_try_run "$LINENO"; then : |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8459 |
ac_cv_type_getgroups=gid_t |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8460 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8461 |
ac_cv_type_getgroups=int |
8462 |
fi
|
|
8463 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
8464 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
8465 |
fi
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8466 |
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8467 |
if test $ac_cv_type_getgroups = cross; then |
36
by Arnold D. Robbins
Move to 3.1.8. |
8468 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8469 |
/* end confdefs.h. */
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8470 |
#include <unistd.h>
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8471 |
|
8472 |
_ACEOF
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8473 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
36
by Arnold D. Robbins
Move to 3.1.8. |
8474 |
$EGREP "getgroups.*int.*gid_t" >/dev/null 2>&1; then : |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8475 |
ac_cv_type_getgroups=gid_t |
8476 |
else
|
|
8477 |
ac_cv_type_getgroups=int |
|
8478 |
fi
|
|
8479 |
rm -f conftest* |
|
8480 |
||
8481 |
fi
|
|
8482 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8483 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8484 |
$as_echo "$ac_cv_type_getgroups" >&6; } |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8485 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8486 |
cat >>confdefs.h <<_ACEOF
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8487 |
#define GETGROUPS_T $ac_cv_type_getgroups
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8488 |
_ACEOF
|
8489 |
||
8490 |
||
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
8491 |
|
408.19.33
by Arnold D. Robbins
Update autotools. |
8492 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 |
8493 |
$as_echo_n "checking for unsigned long long int... " >&6; } |
|
8494 |
if ${ac_cv_type_unsigned_long_long_int+:} false; then : |
|
8495 |
$as_echo_n "(cached) " >&6 |
|
8496 |
else
|
|
8497 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
8498 |
/* end confdefs.h. */
|
|
8499 |
unsigned long long int ull = 18446744073709551615ULL;
|
|
8500 |
typedef int a[(18446744073709551615ULL <= (unsigned long long int) -1
|
|
8501 |
? 1 : -1)];
|
|
8502 |
int i = 63;
|
|
8503 |
int
|
|
8504 |
main ()
|
|
8505 |
{
|
|
8506 |
unsigned long long int ullmax = 18446744073709551615ull;
|
|
8507 |
return (ull << 63 | ull >> 63 | ull << i | ull >> i
|
|
8508 |
| ullmax / ull | ullmax % ull);
|
|
8509 |
;
|
|
8510 |
return 0;
|
|
8511 |
}
|
|
8512 |
_ACEOF
|
|
8513 |
if ac_fn_c_try_link "$LINENO"; then : |
|
8514 |
ac_cv_type_unsigned_long_long_int=yes |
|
8515 |
else
|
|
8516 |
ac_cv_type_unsigned_long_long_int=no |
|
8517 |
fi
|
|
8518 |
rm -f core conftest.err conftest.$ac_objext \ |
|
8519 |
conftest$ac_exeext conftest.$ac_ext |
|
8520 |
fi
|
|
8521 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 |
|
8522 |
$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } |
|
8523 |
if test $ac_cv_type_unsigned_long_long_int = yes; then |
|
8524 |
||
8525 |
$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h |
|
8526 |
||
8527 |
fi
|
|
8528 |
||
8529 |
||
8530 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
8531 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8532 |
$as_echo_n "checking for long long int... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
8533 |
if ${ac_cv_type_long_long_int+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8534 |
$as_echo_n "(cached) " >&6 |
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
8535 |
else
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
8536 |
ac_cv_type_long_long_int=yes |
408.19.33
by Arnold D. Robbins
Update autotools. |
8537 |
if test "x${ac_cv_prog_cc_c99-no}" = xno; then |
8538 |
ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int |
|
8539 |
if test $ac_cv_type_long_long_int = yes; then |
|
8540 |
if test "$cross_compiling" = yes; then : |
|
8541 |
: |
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
8542 |
else
|
8543 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
8544 |
/* end confdefs.h. */
|
|
8545 |
#include <limits.h>
|
|
408.19.33
by Arnold D. Robbins
Update autotools. |
8546 |
#ifndef LLONG_MAX
|
8547 |
# define HALF \
|
|
8548 |
(1LL << (sizeof (long long int) * CHAR_BIT - 2))
|
|
8549 |
# define LLONG_MAX (HALF - 1 + HALF)
|
|
8550 |
#endif
|
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
8551 |
int
|
8552 |
main ()
|
|
8553 |
{
|
|
8554 |
long long int n = 1;
|
|
408.19.33
by Arnold D. Robbins
Update autotools. |
8555 |
int i;
|
8556 |
for (i = 0; ; i++)
|
|
8557 |
{
|
|
8558 |
long long int m = n << i;
|
|
8559 |
if (m >> i != n)
|
|
8560 |
return 1;
|
|
8561 |
if (LLONG_MAX / 2 < m)
|
|
8562 |
break;
|
|
8563 |
}
|
|
8564 |
return 0;
|
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
8565 |
;
|
8566 |
return 0;
|
|
8567 |
}
|
|
8568 |
_ACEOF
|
|
8569 |
if ac_fn_c_try_run "$LINENO"; then : |
|
408.19.33
by Arnold D. Robbins
Update autotools. |
8570 |
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
8571 |
else
|
8572 |
ac_cv_type_long_long_int=no |
|
8573 |
fi
|
|
8574 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
8575 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
8576 |
fi
|
|
8577 |
||
408.19.33
by Arnold D. Robbins
Update autotools. |
8578 |
fi
|
8579 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8580 |
fi
|
8581 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8582 |
$as_echo "$ac_cv_type_long_long_int" >&6; } |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8583 |
if test $ac_cv_type_long_long_int = yes; then |
8584 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
8585 |
$as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8586 |
|
8587 |
fi
|
|
8588 |
||
8589 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
8590 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8591 |
$as_echo_n "checking for unsigned long long int... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
8592 |
if ${ac_cv_type_unsigned_long_long_int+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8593 |
$as_echo_n "(cached) " >&6 |
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
8594 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8595 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
8596 |
/* end confdefs.h. */
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8597 |
unsigned long long int ull = 18446744073709551615ULL;
|
8598 |
typedef int a[(18446744073709551615ULL <= (unsigned long long int) -1
|
|
8599 |
? 1 : -1)];
|
|
8600 |
int i = 63;
|
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
8601 |
int
|
8602 |
main ()
|
|
8603 |
{
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8604 |
unsigned long long int ullmax = 18446744073709551615ull;
|
8605 |
return (ull << 63 | ull >> 63 | ull << i | ull >> i
|
|
8606 |
| ullmax / ull | ullmax % ull);
|
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
8607 |
;
|
8608 |
return 0;
|
|
8609 |
}
|
|
8610 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8611 |
if ac_fn_c_try_link "$LINENO"; then : |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8612 |
ac_cv_type_unsigned_long_long_int=yes |
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
8613 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8614 |
ac_cv_type_unsigned_long_long_int=no |
8615 |
fi
|
|
8616 |
rm -f core conftest.err conftest.$ac_objext \ |
|
8617 |
conftest$ac_exeext conftest.$ac_ext |
|
8618 |
fi
|
|
8619 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8620 |
$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8621 |
if test $ac_cv_type_unsigned_long_long_int = yes; then |
8622 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
8623 |
$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8624 |
|
8625 |
fi
|
|
8626 |
||
8627 |
||
8628 |
||
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
8629 |
ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "$ac_includes_default" |
8630 |
if test "x$ac_cv_type_intmax_t" = xyes; then : |
|
8631 |
||
8632 |
$as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h |
|
8633 |
||
8634 |
else
|
|
8635 |
test $ac_cv_type_long_long_int = yes \ |
|
8636 |
&& ac_type='long long int' \ |
|
8637 |
|| ac_type='long int' |
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
8638 |
|
8639 |
cat >>confdefs.h <<_ACEOF
|
|
8640 |
#define intmax_t $ac_type
|
|
8641 |
_ACEOF
|
|
8642 |
||
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
8643 |
fi
|
8644 |
||
8645 |
||
8646 |
||
8647 |
||
8648 |
ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "$ac_includes_default" |
|
8649 |
if test "x$ac_cv_type_uintmax_t" = xyes; then : |
|
8650 |
||
8651 |
$as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h |
|
8652 |
||
8653 |
else
|
|
8654 |
test $ac_cv_type_unsigned_long_long_int = yes \ |
|
8655 |
&& ac_type='unsigned long long int' \ |
|
8656 |
|| ac_type='unsigned long int' |
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
8657 |
|
8658 |
cat >>confdefs.h <<_ACEOF
|
|
8659 |
#define uintmax_t $ac_type
|
|
8660 |
_ACEOF
|
|
8661 |
||
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
8662 |
fi
|
8663 |
||
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
8664 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8665 |
ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
8666 |
if test "x$ac_cv_type_ssize_t" = xyes; then : |
36
by Arnold D. Robbins
Move to 3.1.8. |
8667 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8668 |
else
|
8669 |
||
8670 |
cat >>confdefs.h <<_ACEOF
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8671 |
#define ssize_t int
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8672 |
_ACEOF
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8673 |
|
8674 |
fi
|
|
8675 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8676 |
# The cast to long int works around a bug in the HP C Compiler
|
8677 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
|
|
8678 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
|
|
8679 |
# This bug is HP SR number 8606223364.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8680 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8681 |
$as_echo_n "checking size of unsigned int... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
8682 |
if ${ac_cv_sizeof_unsigned_int+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8683 |
$as_echo_n "(cached) " >&6 |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
8684 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8685 |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then : |
8686 |
||
8687 |
else
|
|
8688 |
if test "$ac_cv_type_unsigned_int" = yes; then |
|
8689 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
8690 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
8691 |
as_fn_error 77 "cannot compute sizeof (unsigned int) |
8692 |
See \`config.log' for more details" "$LINENO" 5; } |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8693 |
else
|
8694 |
ac_cv_sizeof_unsigned_int=0 |
|
8695 |
fi
|
|
8696 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8697 |
|
8698 |
fi
|
|
8699 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8700 |
$as_echo "$ac_cv_sizeof_unsigned_int" >&6; } |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8701 |
|
8702 |
||
8703 |
||
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
8704 |
cat >>confdefs.h <<_ACEOF
|
8705 |
#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
|
|
8706 |
_ACEOF
|
|
8707 |
||
8708 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8709 |
# The cast to long int works around a bug in the HP C Compiler
|
8710 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
|
|
8711 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
|
|
8712 |
# This bug is HP SR number 8606223364.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8713 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8714 |
$as_echo_n "checking size of unsigned long... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
8715 |
if ${ac_cv_sizeof_unsigned_long+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8716 |
$as_echo_n "(cached) " >&6 |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
8717 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8718 |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then : |
8719 |
||
8720 |
else
|
|
8721 |
if test "$ac_cv_type_unsigned_long" = yes; then |
|
8722 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
8723 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
8724 |
as_fn_error 77 "cannot compute sizeof (unsigned long) |
8725 |
See \`config.log' for more details" "$LINENO" 5; } |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8726 |
else
|
8727 |
ac_cv_sizeof_unsigned_long=0 |
|
8728 |
fi
|
|
8729 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8730 |
|
8731 |
fi
|
|
8732 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8733 |
$as_echo "$ac_cv_sizeof_unsigned_long" >&6; } |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8734 |
|
8735 |
||
8736 |
||
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
8737 |
cat >>confdefs.h <<_ACEOF
|
8738 |
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
|
|
8739 |
_ACEOF
|
|
8740 |
||
8741 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
8742 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8743 |
/* end confdefs.h. */
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
8744 |
#include <sys/types.h>
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8745 |
int
|
8746 |
main ()
|
|
8747 |
{
|
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
8748 |
|
8749 |
time_t foo;
|
|
8750 |
foo = 0;
|
|
8751 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8752 |
;
|
8753 |
return 0;
|
|
8754 |
}
|
|
8755 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8756 |
if ac_fn_c_try_compile "$LINENO"; then : |
8757 |
||
8758 |
$as_echo "#define TIME_T_IN_SYS_TYPES_H 1" >>confdefs.h |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8759 |
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
8760 |
fi
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8761 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
36
by Arnold D. Robbins
Move to 3.1.8. |
8762 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
8763 |
/* end confdefs.h. */
|
8764 |
#include <wctype.h>
|
|
8765 |
int
|
|
8766 |
main ()
|
|
8767 |
{
|
|
8768 |
||
8769 |
wctype_t foo;
|
|
8770 |
foo = 0;
|
|
8771 |
||
8772 |
;
|
|
8773 |
return 0;
|
|
8774 |
}
|
|
8775 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8776 |
if ac_fn_c_try_compile "$LINENO"; then : |
8777 |
||
8778 |
$as_echo "#define HAVE_WCTYPE_T 1" >>confdefs.h |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8779 |
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
8780 |
fi
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8781 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
36
by Arnold D. Robbins
Move to 3.1.8. |
8782 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
8783 |
/* end confdefs.h. */
|
8784 |
#include <wctype.h>
|
|
8785 |
int
|
|
8786 |
main ()
|
|
8787 |
{
|
|
8788 |
||
8789 |
wint_t foo;
|
|
8790 |
foo = 0;
|
|
8791 |
||
8792 |
;
|
|
8793 |
return 0;
|
|
8794 |
}
|
|
8795 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8796 |
if ac_fn_c_try_compile "$LINENO"; then : |
8797 |
||
8798 |
$as_echo "#define HAVE_WINT_T 1" >>confdefs.h |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8799 |
|
8800 |
fi
|
|
8801 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8802 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8803 |
/* end confdefs.h. */
|
8804 |
#include <sys/types.h>
|
|
8805 |
#include <sys/socket.h>
|
|
8806 |
int
|
|
8807 |
main ()
|
|
8808 |
{
|
|
8809 |
||
8810 |
struct sockaddr_storage foo;
|
|
8811 |
||
8812 |
;
|
|
8813 |
return 0;
|
|
8814 |
}
|
|
8815 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8816 |
if ac_fn_c_try_compile "$LINENO"; then : |
8817 |
||
8818 |
$as_echo "#define HAVE_SOCKADDR_STORAGE 1" >>confdefs.h |
|
8819 |
||
8820 |
fi
|
|
8821 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
8822 |
||
8823 |
||
8824 |
||
8825 |
||
8826 |
||
8827 |
||
8828 |
ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h> |
|
8829 |
#include <sys/socket.h>
|
|
8830 |
"
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
8831 |
if test "x$ac_cv_type_socklen_t" = xyes; then : |
36
by Arnold D. Robbins
Move to 3.1.8. |
8832 |
|
8833 |
else
|
|
8834 |
||
8835 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8836 |
$as_echo_n "checking for socklen_t equivalent... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
8837 |
if ${rsync_cv_socklen_t_equiv+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8838 |
$as_echo_n "(cached) " >&6 |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
8839 |
else
|
8840 |
||
8841 |
# Systems have either "struct sockaddr *" or
|
|
8842 |
# "void *" as the second argument to getpeername
|
|
8843 |
rsync_cv_socklen_t_equiv= |
|
731.3.59
by Arnold D. Robbins
Cleanups in configure.ac. |
8844 |
for arg2 in "struct sockaddr" void |
8845 |
do
|
|
8846 |
for t in int size_t unsigned long "unsigned long" |
|
8847 |
do
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8848 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
8849 |
/* end confdefs.h. */
|
8850 |
||
8851 |
#include <sys/types.h>
|
|
8852 |
#include <sys/socket.h>
|
|
8853 |
||
8854 |
int getpeername (int, $arg2 *, $t *);
|
|
8855 |
||
8856 |
int
|
|
8857 |
main ()
|
|
8858 |
{
|
|
8859 |
||
8860 |
$t len;
|
|
8861 |
getpeername(0,0,&len);
|
|
8862 |
||
8863 |
;
|
|
8864 |
return 0;
|
|
8865 |
}
|
|
8866 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8867 |
if ac_fn_c_try_compile "$LINENO"; then : |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
8868 |
|
8869 |
rsync_cv_socklen_t_equiv="$t" |
|
8870 |
break
|
|
8871 |
||
8872 |
fi
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8873 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
8874 |
done
|
8875 |
done
|
|
8876 |
||
731.11.236
by Arnold D. Robbins
Improvements to configure.ac and extension/configure.ac. |
8877 |
if test "$rsync_cv_socklen_t_equiv" = "" |
731.3.59
by Arnold D. Robbins
Cleanups in configure.ac. |
8878 |
then
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
8879 |
rsync_cv_socklen_t_equiv=int |
8880 |
fi
|
|
8881 |
||
8882 |
fi
|
|
8883 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
8884 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_socklen_t_equiv" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8885 |
$as_echo "$rsync_cv_socklen_t_equiv" >&6; } |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
8886 |
|
8887 |
cat >>confdefs.h <<_ACEOF
|
|
8888 |
#define socklen_t $rsync_cv_socklen_t_equiv
|
|
8889 |
_ACEOF
|
|
8890 |
||
8891 |
fi
|
|
8892 |
||
8893 |
||
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
8894 |
|
277.1.129
by Arnold D. Robbins
Sync dfa with grep. Update configure machinery. |
8895 |
|
8896 |
||
8897 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8898 |
|
8899 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8900 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8901 |
for ac_header in $ac_header_list |
8902 |
do :
|
|
8903 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
8904 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
|
8905 |
"
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
8906 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8907 |
cat >>confdefs.h <<_ACEOF
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8908 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8909 |
_ACEOF
|
8910 |
||
8911 |
fi
|
|
8912 |
||
8913 |
done
|
|
8914 |
||
8915 |
||
8916 |
||
8917 |
||
8918 |
||
8919 |
||
8920 |
||
8921 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
8922 |
for ac_func in $ac_func_list |
8923 |
do :
|
|
8924 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
8925 |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
8926 |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8927 |
cat >>confdefs.h <<_ACEOF
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8928 |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8929 |
_ACEOF
|
8930 |
||
8931 |
fi
|
|
8932 |
done
|
|
8933 |
||
8934 |
||
8935 |
||
8936 |
||
8937 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
8938 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8939 |
$as_echo_n "checking for working mktime... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
8940 |
if ${ac_cv_func_working_mktime+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8941 |
$as_echo_n "(cached) " >&6 |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8942 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8943 |
if test "$cross_compiling" = yes; then : |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8944 |
ac_cv_func_working_mktime=no |
8945 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
8946 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8947 |
/* end confdefs.h. */
|
8948 |
/* Test program from Paul Eggert and Tony Leneis. */
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8949 |
#ifdef TIME_WITH_SYS_TIME
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8950 |
# include <sys/time.h>
|
8951 |
# include <time.h>
|
|
8952 |
#else
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8953 |
# ifdef HAVE_SYS_TIME_H
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8954 |
# include <sys/time.h>
|
8955 |
# else
|
|
8956 |
# include <time.h>
|
|
8957 |
# endif
|
|
8958 |
#endif
|
|
8959 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
8960 |
#include <limits.h>
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8961 |
#include <stdlib.h>
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
8962 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8963 |
#ifdef HAVE_UNISTD_H
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8964 |
# include <unistd.h>
|
8965 |
#endif
|
|
8966 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8967 |
#ifndef HAVE_ALARM
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8968 |
# define alarm(X) /* empty */
|
8969 |
#endif
|
|
8970 |
||
8971 |
/* Work around redefinition to rpl_putenv by other config tests. */
|
|
8972 |
#undef putenv
|
|
8973 |
||
8974 |
static time_t time_t_max;
|
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
8975 |
static time_t time_t_min;
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8976 |
|
8977 |
/* Values we'll use to set the TZ environment variable. */
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
8978 |
static const char *tz_strings[] = {
|
8979 |
(const char *) 0, "TZ=GMT0", "TZ=JST-9",
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8980 |
"TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
|
8981 |
};
|
|
8982 |
#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
|
|
8983 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8984 |
/* Return 0 if mktime fails to convert a date in the spring-forward gap.
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8985 |
Based on a problem report from Andreas Jaeger. */
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
8986 |
static int
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8987 |
spring_forward_gap ()
|
8988 |
{
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
8989 |
/* glibc (up to about 1998-10-07) failed this test. */
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8990 |
struct tm tm;
|
8991 |
||
8992 |
/* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
|
|
8993 |
instead of "TZ=America/Vancouver" in order to detect the bug even
|
|
8994 |
on systems that don't support the Olson extension, or don't have the
|
|
8995 |
full zoneinfo tables installed. */
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
8996 |
putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
8997 |
|
8998 |
tm.tm_year = 98;
|
|
8999 |
tm.tm_mon = 3;
|
|
9000 |
tm.tm_mday = 5;
|
|
9001 |
tm.tm_hour = 2;
|
|
9002 |
tm.tm_min = 0;
|
|
9003 |
tm.tm_sec = 0;
|
|
9004 |
tm.tm_isdst = -1;
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9005 |
return mktime (&tm) != (time_t) -1;
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
9006 |
}
|
9007 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9008 |
static int
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
9009 |
mktime_test1 (time_t now)
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
9010 |
{
|
9011 |
struct tm *lt;
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9012 |
return ! (lt = localtime (&now)) || mktime (lt) == now;
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
9013 |
}
|
9014 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9015 |
static int
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
9016 |
mktime_test (time_t now)
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
9017 |
{
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9018 |
return (mktime_test1 (now)
|
9019 |
&& mktime_test1 ((time_t) (time_t_max - now))
|
|
9020 |
&& mktime_test1 ((time_t) (time_t_min + now)));
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
9021 |
}
|
9022 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9023 |
static int
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
9024 |
irix_6_4_bug ()
|
9025 |
{
|
|
9026 |
/* Based on code from Ariel Faigon. */
|
|
9027 |
struct tm tm;
|
|
9028 |
tm.tm_year = 96;
|
|
9029 |
tm.tm_mon = 3;
|
|
9030 |
tm.tm_mday = 0;
|
|
9031 |
tm.tm_hour = 0;
|
|
9032 |
tm.tm_min = 0;
|
|
9033 |
tm.tm_sec = 0;
|
|
9034 |
tm.tm_isdst = -1;
|
|
9035 |
mktime (&tm);
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9036 |
return tm.tm_mon == 2 && tm.tm_mday == 31;
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
9037 |
}
|
9038 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9039 |
static int
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
9040 |
bigtime_test (int j)
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
9041 |
{
|
9042 |
struct tm tm;
|
|
9043 |
time_t now;
|
|
9044 |
tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
|
|
9045 |
now = mktime (&tm);
|
|
9046 |
if (now != (time_t) -1)
|
|
9047 |
{
|
|
9048 |
struct tm *lt = localtime (&now);
|
|
9049 |
if (! (lt
|
|
9050 |
&& lt->tm_year == tm.tm_year
|
|
9051 |
&& lt->tm_mon == tm.tm_mon
|
|
9052 |
&& lt->tm_mday == tm.tm_mday
|
|
9053 |
&& lt->tm_hour == tm.tm_hour
|
|
9054 |
&& lt->tm_min == tm.tm_min
|
|
9055 |
&& lt->tm_sec == tm.tm_sec
|
|
9056 |
&& lt->tm_yday == tm.tm_yday
|
|
9057 |
&& lt->tm_wday == tm.tm_wday
|
|
9058 |
&& ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
|
|
9059 |
== (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9060 |
return 0;
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
9061 |
}
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9062 |
return 1;
|
9063 |
}
|
|
9064 |
||
9065 |
static int
|
|
9066 |
year_2050_test ()
|
|
9067 |
{
|
|
9068 |
/* The correct answer for 2050-02-01 00:00:00 in Pacific time,
|
|
9069 |
ignoring leap seconds. */
|
|
9070 |
unsigned long int answer = 2527315200UL;
|
|
9071 |
||
9072 |
struct tm tm;
|
|
9073 |
time_t t;
|
|
9074 |
tm.tm_year = 2050 - 1900;
|
|
9075 |
tm.tm_mon = 2 - 1;
|
|
9076 |
tm.tm_mday = 1;
|
|
9077 |
tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
|
|
9078 |
tm.tm_isdst = -1;
|
|
9079 |
||
9080 |
/* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
|
|
9081 |
instead of "TZ=America/Vancouver" in order to detect the bug even
|
|
9082 |
on systems that don't support the Olson extension, or don't have the
|
|
9083 |
full zoneinfo tables installed. */
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
9084 |
putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9085 |
|
9086 |
t = mktime (&tm);
|
|
9087 |
||
9088 |
/* Check that the result is either a failure, or close enough
|
|
9089 |
to the correct answer that we can assume the discrepancy is
|
|
9090 |
due to leap seconds. */
|
|
9091 |
return (t == (time_t) -1
|
|
9092 |
|| (0 < t && answer - 120 <= t && t <= answer + 120));
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
9093 |
}
|
9094 |
||
9095 |
int
|
|
9096 |
main ()
|
|
9097 |
{
|
|
9098 |
time_t t, delta;
|
|
9099 |
int i, j;
|
|
9100 |
||
9101 |
/* This test makes some buggy mktime implementations loop.
|
|
9102 |
Give up after 60 seconds; a mktime slower than that
|
|
9103 |
isn't worth using anyway. */
|
|
9104 |
alarm (60);
|
|
9105 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
9106 |
for (;;)
|
9107 |
{
|
|
9108 |
t = (time_t_max << 1) + 1;
|
|
9109 |
if (t <= time_t_max)
|
|
9110 |
break;
|
|
9111 |
time_t_max = t;
|
|
9112 |
}
|
|
9113 |
time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
|
|
9114 |
||
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
9115 |
delta = time_t_max / 997; /* a suitable prime number */
|
9116 |
for (i = 0; i < N_STRINGS; i++)
|
|
9117 |
{
|
|
9118 |
if (tz_strings[i])
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
9119 |
putenv ((char*) tz_strings[i]);
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
9120 |
|
9121 |
for (t = 0; t <= time_t_max - delta; t += delta)
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9122 |
if (! mktime_test (t))
|
9123 |
return 1;
|
|
9124 |
if (! (mktime_test ((time_t) 1)
|
|
9125 |
&& mktime_test ((time_t) (60 * 60))
|
|
9126 |
&& mktime_test ((time_t) (60 * 60 * 24))))
|
|
9127 |
return 1;
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
9128 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
9129 |
for (j = 1; ; j <<= 1)
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9130 |
if (! bigtime_test (j))
|
9131 |
return 1;
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
9132 |
else if (INT_MAX / 2 < j)
|
9133 |
break;
|
|
9134 |
if (! bigtime_test (INT_MAX))
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9135 |
return 1;
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
9136 |
}
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9137 |
return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
9138 |
}
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
9139 |
_ACEOF
|
36
by Arnold D. Robbins
Move to 3.1.8. |
9140 |
if ac_fn_c_try_run "$LINENO"; then : |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
9141 |
ac_cv_func_working_mktime=yes |
9142 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
9143 |
ac_cv_func_working_mktime=no |
9144 |
fi
|
|
9145 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
9146 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
9147 |
fi
|
|
9148 |
||
9149 |
fi
|
|
9150 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
9151 |
$as_echo "$ac_cv_func_working_mktime" >&6; } |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
9152 |
if test $ac_cv_func_working_mktime = no; then |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9153 |
case " $LIBOBJS " in |
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
9154 |
*" mktime.$ac_objext "* ) ;; |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9155 |
*) LIBOBJS="$LIBOBJS mktime.$ac_objext" |
9156 |
;;
|
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
9157 |
esac
|
9158 |
||
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
9159 |
fi
|
9160 |
||
9161 |
case "$ac_cv_func_working_mktime" in |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
9162 |
yes)
|
36
by Arnold D. Robbins
Move to 3.1.8. |
9163 |
$as_echo "#define HAVE_MKTIME 1" >>confdefs.h |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
9164 |
|
9165 |
;;
|
|
9166 |
esac
|
|
9167 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
9168 |
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
9169 |
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
36
by Arnold D. Robbins
Move to 3.1.8. |
9170 |
|
9171 |
$as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h |
|
9172 |
||
9173 |
else
|
|
9174 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -lsocket" >&5 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
9175 |
$as_echo_n "checking for getaddrinfo in -lsocket... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
9176 |
if ${ac_cv_lib_socket_getaddrinfo+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
9177 |
$as_echo_n "(cached) " >&6 |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9178 |
else
|
9179 |
ac_check_lib_save_LIBS=$LIBS |
|
9180 |
LIBS="-lsocket $LIBS" |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
9181 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9182 |
/* end confdefs.h. */
|
9183 |
||
9184 |
/* Override any GCC internal prototype to avoid an error.
|
|
9185 |
Use char because int might match the return type of a GCC
|
|
9186 |
builtin and then its argument prototype would still apply. */
|
|
9187 |
#ifdef __cplusplus
|
|
9188 |
extern "C"
|
|
9189 |
#endif
|
|
9190 |
char getaddrinfo ();
|
|
9191 |
int
|
|
9192 |
main ()
|
|
9193 |
{
|
|
9194 |
return getaddrinfo ();
|
|
9195 |
;
|
|
9196 |
return 0;
|
|
9197 |
}
|
|
9198 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
9199 |
if ac_fn_c_try_link "$LINENO"; then : |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9200 |
ac_cv_lib_socket_getaddrinfo=yes |
9201 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
9202 |
ac_cv_lib_socket_getaddrinfo=no |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9203 |
fi
|
36
by Arnold D. Robbins
Move to 3.1.8. |
9204 |
rm -f core conftest.err conftest.$ac_objext \ |
9205 |
conftest$ac_exeext conftest.$ac_ext |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9206 |
LIBS=$ac_check_lib_save_LIBS |
9207 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
9208 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_getaddrinfo" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
9209 |
$as_echo "$ac_cv_lib_socket_getaddrinfo" >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
9210 |
if test "x$ac_cv_lib_socket_getaddrinfo" = xyes; then : |
36
by Arnold D. Robbins
Move to 3.1.8. |
9211 |
|
9212 |
$as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h |
|
9213 |
||
9214 |
fi
|
|
9215 |
||
9216 |
fi
|
|
9217 |
||
9218 |
||
408.13.94
by Arnold D. Robbins
Small configuration fix. |
9219 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fmod" >&5 |
9220 |
$as_echo_n "checking for library containing fmod... " >&6; } |
|
9221 |
if ${ac_cv_search_fmod+:} false; then : |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
9222 |
$as_echo_n "(cached) " >&6 |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
9223 |
else
|
408.13.94
by Arnold D. Robbins
Small configuration fix. |
9224 |
ac_func_search_save_LIBS=$LIBS |
36
by Arnold D. Robbins
Move to 3.1.8. |
9225 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
9226 |
/* end confdefs.h. */
|
9227 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9228 |
/* Override any GCC internal prototype to avoid an error.
|
9229 |
Use char because int might match the return type of a GCC
|
|
9230 |
builtin and then its argument prototype would still apply. */
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
9231 |
#ifdef __cplusplus
|
9232 |
extern "C"
|
|
9233 |
#endif
|
|
9234 |
char fmod ();
|
|
9235 |
int
|
|
9236 |
main ()
|
|
9237 |
{
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9238 |
return fmod ();
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
9239 |
;
|
9240 |
return 0;
|
|
9241 |
}
|
|
9242 |
_ACEOF
|
|
408.13.94
by Arnold D. Robbins
Small configuration fix. |
9243 |
for ac_lib in '' m; do |
9244 |
if test -z "$ac_lib"; then |
|
9245 |
ac_res="none required" |
|
9246 |
else
|
|
9247 |
ac_res=-l$ac_lib |
|
9248 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
9249 |
fi
|
|
9250 |
if ac_fn_c_try_link "$LINENO"; then : |
|
9251 |
ac_cv_search_fmod=$ac_res |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
9252 |
fi
|
36
by Arnold D. Robbins
Move to 3.1.8. |
9253 |
rm -f core conftest.err conftest.$ac_objext \ |
408.13.94
by Arnold D. Robbins
Small configuration fix. |
9254 |
conftest$ac_exeext
|
9255 |
if ${ac_cv_search_fmod+:} false; then : |
|
9256 |
break
|
|
9257 |
fi
|
|
9258 |
done
|
|
9259 |
if ${ac_cv_search_fmod+:} false; then : |
|
9260 |
||
9261 |
else
|
|
9262 |
ac_cv_search_fmod=no |
|
9263 |
fi
|
|
9264 |
rm conftest.$ac_ext
|
|
9265 |
LIBS=$ac_func_search_save_LIBS |
|
9266 |
fi
|
|
9267 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fmod" >&5 |
|
9268 |
$as_echo "$ac_cv_search_fmod" >&6; } |
|
9269 |
ac_res=$ac_cv_search_fmod |
|
9270 |
if test "$ac_res" != no; then : |
|
9271 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
9272 |
||
9273 |
fi
|
|
9274 |
||
9275 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing isinf" >&5 |
|
9276 |
$as_echo_n "checking for library containing isinf... " >&6; } |
|
9277 |
if ${ac_cv_search_isinf+:} false; then : |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
9278 |
$as_echo_n "(cached) " >&6 |
9279 |
else
|
|
408.13.94
by Arnold D. Robbins
Small configuration fix. |
9280 |
ac_func_search_save_LIBS=$LIBS |
36
by Arnold D. Robbins
Move to 3.1.8. |
9281 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
9282 |
/* end confdefs.h. */
|
9283 |
||
9284 |
/* Override any GCC internal prototype to avoid an error.
|
|
9285 |
Use char because int might match the return type of a GCC
|
|
9286 |
builtin and then its argument prototype would still apply. */
|
|
9287 |
#ifdef __cplusplus
|
|
9288 |
extern "C"
|
|
9289 |
#endif
|
|
9290 |
char isinf ();
|
|
9291 |
int
|
|
9292 |
main ()
|
|
9293 |
{
|
|
9294 |
return isinf ();
|
|
9295 |
;
|
|
9296 |
return 0;
|
|
9297 |
}
|
|
9298 |
_ACEOF
|
|
408.13.94
by Arnold D. Robbins
Small configuration fix. |
9299 |
for ac_lib in '' m; do |
9300 |
if test -z "$ac_lib"; then |
|
9301 |
ac_res="none required" |
|
9302 |
else
|
|
9303 |
ac_res=-l$ac_lib |
|
9304 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
9305 |
fi
|
|
9306 |
if ac_fn_c_try_link "$LINENO"; then : |
|
9307 |
ac_cv_search_isinf=$ac_res |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
9308 |
fi
|
36
by Arnold D. Robbins
Move to 3.1.8. |
9309 |
rm -f core conftest.err conftest.$ac_objext \ |
408.13.94
by Arnold D. Robbins
Small configuration fix. |
9310 |
conftest$ac_exeext
|
9311 |
if ${ac_cv_search_isinf+:} false; then : |
|
9312 |
break
|
|
9313 |
fi
|
|
9314 |
done
|
|
9315 |
if ${ac_cv_search_isinf+:} false; then : |
|
9316 |
||
9317 |
else
|
|
9318 |
ac_cv_search_isinf=no |
|
9319 |
fi
|
|
9320 |
rm conftest.$ac_ext
|
|
9321 |
LIBS=$ac_func_search_save_LIBS |
|
9322 |
fi
|
|
9323 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_isinf" >&5 |
|
9324 |
$as_echo "$ac_cv_search_isinf" >&6; } |
|
9325 |
ac_res=$ac_cv_search_isinf |
|
9326 |
if test "$ac_res" != no; then : |
|
9327 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
9328 |
||
9329 |
fi
|
|
9330 |
||
9331 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ismod" >&5 |
|
9332 |
$as_echo_n "checking for library containing ismod... " >&6; } |
|
9333 |
if ${ac_cv_search_ismod+:} false; then : |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
9334 |
$as_echo_n "(cached) " >&6 |
9335 |
else
|
|
408.13.94
by Arnold D. Robbins
Small configuration fix. |
9336 |
ac_func_search_save_LIBS=$LIBS |
36
by Arnold D. Robbins
Move to 3.1.8. |
9337 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
9338 |
/* end confdefs.h. */
|
9339 |
||
9340 |
/* Override any GCC internal prototype to avoid an error.
|
|
9341 |
Use char because int might match the return type of a GCC
|
|
9342 |
builtin and then its argument prototype would still apply. */
|
|
9343 |
#ifdef __cplusplus
|
|
9344 |
extern "C"
|
|
9345 |
#endif
|
|
9346 |
char ismod ();
|
|
9347 |
int
|
|
9348 |
main ()
|
|
9349 |
{
|
|
9350 |
return ismod ();
|
|
9351 |
;
|
|
9352 |
return 0;
|
|
9353 |
}
|
|
9354 |
_ACEOF
|
|
408.13.94
by Arnold D. Robbins
Small configuration fix. |
9355 |
for ac_lib in '' m; do |
9356 |
if test -z "$ac_lib"; then |
|
9357 |
ac_res="none required" |
|
9358 |
else
|
|
9359 |
ac_res=-l$ac_lib |
|
9360 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
9361 |
fi
|
|
9362 |
if ac_fn_c_try_link "$LINENO"; then : |
|
9363 |
ac_cv_search_ismod=$ac_res |
|
9364 |
fi
|
|
9365 |
rm -f core conftest.err conftest.$ac_objext \ |
|
9366 |
conftest$ac_exeext
|
|
9367 |
if ${ac_cv_search_ismod+:} false; then : |
|
9368 |
break
|
|
9369 |
fi
|
|
9370 |
done
|
|
9371 |
if ${ac_cv_search_ismod+:} false; then : |
|
9372 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
9373 |
else
|
408.13.94
by Arnold D. Robbins
Small configuration fix. |
9374 |
ac_cv_search_ismod=no |
9375 |
fi
|
|
9376 |
rm conftest.$ac_ext
|
|
9377 |
LIBS=$ac_func_search_save_LIBS |
|
9378 |
fi
|
|
9379 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ismod" >&5 |
|
9380 |
$as_echo "$ac_cv_search_ismod" >&6; } |
|
9381 |
ac_res=$ac_cv_search_ismod |
|
9382 |
if test "$ac_res" != no; then : |
|
9383 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
9384 |
|
9385 |
fi
|
|
9386 |
||
408.4.94
by Arnold D. Robbins
Make extensions controlled by configure time option. |
9387 |
case $host_os in |
9388 |
osf1) : ;; |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
9389 |
*)
|
9390 |
||
9391 |
||
9392 |
||
9393 |
||
9394 |
||
9395 |
||
9396 |
||
9397 |
||
9398 |
||
9399 |
||
9400 |
||
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
9401 |
|
9402 |
||
9403 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
9404 |
use_additional=yes |
9405 |
||
9406 |
acl_save_prefix="$prefix" |
|
9407 |
prefix="$acl_final_prefix" |
|
9408 |
acl_save_exec_prefix="$exec_prefix" |
|
9409 |
exec_prefix="$acl_final_exec_prefix" |
|
9410 |
||
9411 |
eval additional_includedir=\"$includedir\" |
|
9412 |
eval additional_libdir=\"$libdir\" |
|
9413 |
||
9414 |
exec_prefix="$acl_save_exec_prefix" |
|
9415 |
prefix="$acl_save_prefix" |
|
9416 |
||
9417 |
||
9418 |
# Check whether --with-libsigsegv-prefix was given.
|
|
9419 |
if test "${with_libsigsegv_prefix+set}" = set; then : |
|
9420 |
withval=$with_libsigsegv_prefix; |
|
9421 |
if test "X$withval" = "Xno"; then |
|
9422 |
use_additional=no |
|
9423 |
else
|
|
9424 |
if test "X$withval" = "X"; then |
|
9425 |
||
9426 |
acl_save_prefix="$prefix" |
|
9427 |
prefix="$acl_final_prefix" |
|
9428 |
acl_save_exec_prefix="$exec_prefix" |
|
9429 |
exec_prefix="$acl_final_exec_prefix" |
|
9430 |
||
9431 |
eval additional_includedir=\"$includedir\" |
|
9432 |
eval additional_libdir=\"$libdir\" |
|
9433 |
||
9434 |
exec_prefix="$acl_save_exec_prefix" |
|
9435 |
prefix="$acl_save_prefix" |
|
9436 |
||
9437 |
else
|
|
9438 |
additional_includedir="$withval/include" |
|
9439 |
additional_libdir="$withval/$acl_libdirstem" |
|
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
9440 |
if test "$acl_libdirstem2" != "$acl_libdirstem" \ |
9441 |
&& ! test -d "$withval/$acl_libdirstem"; then |
|
9442 |
additional_libdir="$withval/$acl_libdirstem2" |
|
9443 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
9444 |
fi
|
9445 |
fi
|
|
9446 |
||
9447 |
fi
|
|
9448 |
||
9449 |
LIBSIGSEGV= |
|
9450 |
LTLIBSIGSEGV= |
|
9451 |
INCSIGSEGV= |
|
9452 |
LIBSIGSEGV_PREFIX= |
|
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
9453 |
HAVE_LIBSIGSEGV= |
36
by Arnold D. Robbins
Move to 3.1.8. |
9454 |
rpathdirs= |
9455 |
ltrpathdirs= |
|
9456 |
names_already_handled= |
|
9457 |
names_next_round='sigsegv ' |
|
9458 |
while test -n "$names_next_round"; do |
|
9459 |
names_this_round="$names_next_round" |
|
9460 |
names_next_round= |
|
9461 |
for name in $names_this_round; do |
|
9462 |
already_handled= |
|
9463 |
for n in $names_already_handled; do |
|
9464 |
if test "$n" = "$name"; then |
|
9465 |
already_handled=yes |
|
9466 |
break
|
|
9467 |
fi
|
|
9468 |
done
|
|
9469 |
if test -z "$already_handled"; then |
|
9470 |
names_already_handled="$names_already_handled $name" |
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
9471 |
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` |
36
by Arnold D. Robbins
Move to 3.1.8. |
9472 |
eval value=\"\$HAVE_LIB$uppername\" |
9473 |
if test -n "$value"; then |
|
9474 |
if test "$value" = yes; then |
|
9475 |
eval value=\"\$LIB$uppername\" |
|
9476 |
test -z "$value" || LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$value" |
|
9477 |
eval value=\"\$LTLIB$uppername\" |
|
9478 |
test -z "$value" || LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }$value" |
|
9479 |
else
|
|
9480 |
: |
|
9481 |
fi
|
|
9482 |
else
|
|
9483 |
found_dir= |
|
9484 |
found_la= |
|
9485 |
found_so= |
|
9486 |
found_a= |
|
9487 |
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name |
|
9488 |
if test -n "$acl_shlibext"; then |
|
9489 |
shrext=".$acl_shlibext" # typically: shrext=.so |
|
9490 |
else
|
|
9491 |
shrext= |
|
9492 |
fi
|
|
9493 |
if test $use_additional = yes; then |
|
9494 |
dir="$additional_libdir" |
|
9495 |
if test -n "$acl_shlibext"; then |
|
9496 |
if test -f "$dir/$libname$shrext"; then |
|
9497 |
found_dir="$dir" |
|
9498 |
found_so="$dir/$libname$shrext" |
|
9499 |
else
|
|
9500 |
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then |
|
9501 |
ver=`(cd "$dir" && \ |
|
9502 |
for f in "$libname$shrext".*; do echo "$f"; done \ |
|
9503 |
| sed -e "s,^$libname$shrext\\\\.,," \ |
|
9504 |
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
|
9505 |
| sed 1q ) 2>/dev/null` |
|
9506 |
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then |
|
9507 |
found_dir="$dir" |
|
9508 |
found_so="$dir/$libname$shrext.$ver" |
|
9509 |
fi
|
|
9510 |
else
|
|
9511 |
eval library_names=\"$acl_library_names_spec\" |
|
9512 |
for f in $library_names; do |
|
9513 |
if test -f "$dir/$f"; then |
|
9514 |
found_dir="$dir" |
|
9515 |
found_so="$dir/$f" |
|
9516 |
break
|
|
9517 |
fi
|
|
9518 |
done
|
|
9519 |
fi
|
|
9520 |
fi
|
|
9521 |
fi
|
|
9522 |
if test "X$found_dir" = "X"; then |
|
9523 |
if test -f "$dir/$libname.$acl_libext"; then |
|
9524 |
found_dir="$dir" |
|
9525 |
found_a="$dir/$libname.$acl_libext" |
|
9526 |
fi
|
|
9527 |
fi
|
|
9528 |
if test "X$found_dir" != "X"; then |
|
9529 |
if test -f "$dir/$libname.la"; then |
|
9530 |
found_la="$dir/$libname.la" |
|
9531 |
fi
|
|
9532 |
fi
|
|
9533 |
fi
|
|
9534 |
if test "X$found_dir" = "X"; then |
|
9535 |
for x in $LDFLAGS $LTLIBSIGSEGV; do |
|
9536 |
||
9537 |
acl_save_prefix="$prefix" |
|
9538 |
prefix="$acl_final_prefix" |
|
9539 |
acl_save_exec_prefix="$exec_prefix" |
|
9540 |
exec_prefix="$acl_final_exec_prefix" |
|
9541 |
eval x=\"$x\" |
|
9542 |
exec_prefix="$acl_save_exec_prefix" |
|
9543 |
prefix="$acl_save_prefix" |
|
9544 |
||
9545 |
case "$x" in |
|
9546 |
-L*)
|
|
9547 |
dir=`echo "X$x" | sed -e 's/^X-L//'` |
|
9548 |
if test -n "$acl_shlibext"; then |
|
9549 |
if test -f "$dir/$libname$shrext"; then |
|
9550 |
found_dir="$dir" |
|
9551 |
found_so="$dir/$libname$shrext" |
|
9552 |
else
|
|
9553 |
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then |
|
9554 |
ver=`(cd "$dir" && \ |
|
9555 |
for f in "$libname$shrext".*; do echo "$f"; done \ |
|
9556 |
| sed -e "s,^$libname$shrext\\\\.,," \ |
|
9557 |
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
|
9558 |
| sed 1q ) 2>/dev/null` |
|
9559 |
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then |
|
9560 |
found_dir="$dir" |
|
9561 |
found_so="$dir/$libname$shrext.$ver" |
|
9562 |
fi
|
|
9563 |
else
|
|
9564 |
eval library_names=\"$acl_library_names_spec\" |
|
9565 |
for f in $library_names; do |
|
9566 |
if test -f "$dir/$f"; then |
|
9567 |
found_dir="$dir" |
|
9568 |
found_so="$dir/$f" |
|
9569 |
break
|
|
9570 |
fi
|
|
9571 |
done
|
|
9572 |
fi
|
|
9573 |
fi
|
|
9574 |
fi
|
|
9575 |
if test "X$found_dir" = "X"; then |
|
9576 |
if test -f "$dir/$libname.$acl_libext"; then |
|
9577 |
found_dir="$dir" |
|
9578 |
found_a="$dir/$libname.$acl_libext" |
|
9579 |
fi
|
|
9580 |
fi
|
|
9581 |
if test "X$found_dir" != "X"; then |
|
9582 |
if test -f "$dir/$libname.la"; then |
|
9583 |
found_la="$dir/$libname.la" |
|
9584 |
fi
|
|
9585 |
fi
|
|
9586 |
;;
|
|
9587 |
esac
|
|
9588 |
if test "X$found_dir" != "X"; then |
|
9589 |
break
|
|
9590 |
fi
|
|
9591 |
done
|
|
9592 |
fi
|
|
9593 |
if test "X$found_dir" != "X"; then |
|
9594 |
LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-L$found_dir -l$name" |
|
9595 |
if test "X$found_so" != "X"; then |
|
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
9596 |
if test "$enable_rpath" = no \ |
9597 |
|| test "X$found_dir" = "X/usr/$acl_libdirstem" \ |
|
9598 |
|| test "X$found_dir" = "X/usr/$acl_libdirstem2"; then |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
9599 |
LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so" |
9600 |
else
|
|
9601 |
haveit= |
|
9602 |
for x in $ltrpathdirs; do |
|
9603 |
if test "X$x" = "X$found_dir"; then |
|
9604 |
haveit=yes |
|
9605 |
break
|
|
9606 |
fi
|
|
9607 |
done
|
|
9608 |
if test -z "$haveit"; then |
|
9609 |
ltrpathdirs="$ltrpathdirs $found_dir" |
|
9610 |
fi
|
|
9611 |
if test "$acl_hardcode_direct" = yes; then |
|
9612 |
LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so" |
|
9613 |
else
|
|
9614 |
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then |
|
9615 |
LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so" |
|
9616 |
haveit= |
|
9617 |
for x in $rpathdirs; do |
|
9618 |
if test "X$x" = "X$found_dir"; then |
|
9619 |
haveit=yes |
|
9620 |
break
|
|
9621 |
fi
|
|
9622 |
done
|
|
9623 |
if test -z "$haveit"; then |
|
9624 |
rpathdirs="$rpathdirs $found_dir" |
|
9625 |
fi
|
|
9626 |
else
|
|
9627 |
haveit= |
|
9628 |
for x in $LDFLAGS $LIBSIGSEGV; do |
|
9629 |
||
9630 |
acl_save_prefix="$prefix" |
|
9631 |
prefix="$acl_final_prefix" |
|
9632 |
acl_save_exec_prefix="$exec_prefix" |
|
9633 |
exec_prefix="$acl_final_exec_prefix" |
|
9634 |
eval x=\"$x\" |
|
9635 |
exec_prefix="$acl_save_exec_prefix" |
|
9636 |
prefix="$acl_save_prefix" |
|
9637 |
||
9638 |
if test "X$x" = "X-L$found_dir"; then |
|
9639 |
haveit=yes |
|
9640 |
break
|
|
9641 |
fi
|
|
9642 |
done
|
|
9643 |
if test -z "$haveit"; then |
|
9644 |
LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$found_dir" |
|
9645 |
fi
|
|
9646 |
if test "$acl_hardcode_minus_L" != no; then |
|
9647 |
LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so" |
|
9648 |
else
|
|
9649 |
LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-l$name" |
|
9650 |
fi
|
|
9651 |
fi
|
|
9652 |
fi
|
|
9653 |
fi
|
|
9654 |
else
|
|
9655 |
if test "X$found_a" != "X"; then |
|
9656 |
LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_a" |
|
9657 |
else
|
|
9658 |
LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$found_dir -l$name" |
|
9659 |
fi
|
|
9660 |
fi
|
|
9661 |
additional_includedir= |
|
9662 |
case "$found_dir" in |
|
9663 |
*/$acl_libdirstem | */$acl_libdirstem/) |
|
9664 |
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` |
|
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
9665 |
if test "$name" = 'sigsegv'; then |
9666 |
LIBSIGSEGV_PREFIX="$basedir" |
|
9667 |
fi
|
|
9668 |
additional_includedir="$basedir/include" |
|
9669 |
;;
|
|
9670 |
*/$acl_libdirstem2 | */$acl_libdirstem2/) |
|
9671 |
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` |
|
9672 |
if test "$name" = 'sigsegv'; then |
|
9673 |
LIBSIGSEGV_PREFIX="$basedir" |
|
9674 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
9675 |
additional_includedir="$basedir/include" |
9676 |
;;
|
|
9677 |
esac
|
|
9678 |
if test "X$additional_includedir" != "X"; then |
|
9679 |
if test "X$additional_includedir" != "X/usr/include"; then |
|
9680 |
haveit= |
|
9681 |
if test "X$additional_includedir" = "X/usr/local/include"; then |
|
9682 |
if test -n "$GCC"; then |
|
9683 |
case $host_os in |
|
9684 |
linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
|
9685 |
esac
|
|
9686 |
fi
|
|
9687 |
fi
|
|
9688 |
if test -z "$haveit"; then |
|
9689 |
for x in $CPPFLAGS $INCSIGSEGV; do |
|
9690 |
||
9691 |
acl_save_prefix="$prefix" |
|
9692 |
prefix="$acl_final_prefix" |
|
9693 |
acl_save_exec_prefix="$exec_prefix" |
|
9694 |
exec_prefix="$acl_final_exec_prefix" |
|
9695 |
eval x=\"$x\" |
|
9696 |
exec_prefix="$acl_save_exec_prefix" |
|
9697 |
prefix="$acl_save_prefix" |
|
9698 |
||
9699 |
if test "X$x" = "X-I$additional_includedir"; then |
|
9700 |
haveit=yes |
|
9701 |
break
|
|
9702 |
fi
|
|
9703 |
done
|
|
9704 |
if test -z "$haveit"; then |
|
9705 |
if test -d "$additional_includedir"; then |
|
9706 |
INCSIGSEGV="${INCSIGSEGV}${INCSIGSEGV:+ }-I$additional_includedir" |
|
9707 |
fi
|
|
9708 |
fi
|
|
9709 |
fi
|
|
9710 |
fi
|
|
9711 |
fi
|
|
9712 |
if test -n "$found_la"; then |
|
9713 |
save_libdir="$libdir" |
|
9714 |
case "$found_la" in |
|
9715 |
*/* | *\\*) . "$found_la" ;; |
|
9716 |
*) . "./$found_la" ;; |
|
9717 |
esac
|
|
9718 |
libdir="$save_libdir" |
|
9719 |
for dep in $dependency_libs; do |
|
9720 |
case "$dep" in |
|
9721 |
-L*)
|
|
9722 |
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` |
|
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
9723 |
if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ |
9724 |
&& test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
9725 |
haveit= |
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
9726 |
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ |
9727 |
|| test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
9728 |
if test -n "$GCC"; then |
9729 |
case $host_os in |
|
9730 |
linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
|
9731 |
esac
|
|
9732 |
fi
|
|
9733 |
fi
|
|
9734 |
if test -z "$haveit"; then |
|
9735 |
haveit= |
|
9736 |
for x in $LDFLAGS $LIBSIGSEGV; do |
|
9737 |
||
9738 |
acl_save_prefix="$prefix" |
|
9739 |
prefix="$acl_final_prefix" |
|
9740 |
acl_save_exec_prefix="$exec_prefix" |
|
9741 |
exec_prefix="$acl_final_exec_prefix" |
|
9742 |
eval x=\"$x\" |
|
9743 |
exec_prefix="$acl_save_exec_prefix" |
|
9744 |
prefix="$acl_save_prefix" |
|
9745 |
||
9746 |
if test "X$x" = "X-L$additional_libdir"; then |
|
9747 |
haveit=yes |
|
9748 |
break
|
|
9749 |
fi
|
|
9750 |
done
|
|
9751 |
if test -z "$haveit"; then |
|
9752 |
if test -d "$additional_libdir"; then |
|
9753 |
LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$additional_libdir" |
|
9754 |
fi
|
|
9755 |
fi
|
|
9756 |
haveit= |
|
9757 |
for x in $LDFLAGS $LTLIBSIGSEGV; do |
|
9758 |
||
9759 |
acl_save_prefix="$prefix" |
|
9760 |
prefix="$acl_final_prefix" |
|
9761 |
acl_save_exec_prefix="$exec_prefix" |
|
9762 |
exec_prefix="$acl_final_exec_prefix" |
|
9763 |
eval x=\"$x\" |
|
9764 |
exec_prefix="$acl_save_exec_prefix" |
|
9765 |
prefix="$acl_save_prefix" |
|
9766 |
||
9767 |
if test "X$x" = "X-L$additional_libdir"; then |
|
9768 |
haveit=yes |
|
9769 |
break
|
|
9770 |
fi
|
|
9771 |
done
|
|
9772 |
if test -z "$haveit"; then |
|
9773 |
if test -d "$additional_libdir"; then |
|
9774 |
LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-L$additional_libdir" |
|
9775 |
fi
|
|
9776 |
fi
|
|
9777 |
fi
|
|
9778 |
fi
|
|
9779 |
;;
|
|
9780 |
-R*)
|
|
9781 |
dir=`echo "X$dep" | sed -e 's/^X-R//'` |
|
9782 |
if test "$enable_rpath" != no; then |
|
9783 |
haveit= |
|
9784 |
for x in $rpathdirs; do |
|
9785 |
if test "X$x" = "X$dir"; then |
|
9786 |
haveit=yes |
|
9787 |
break
|
|
9788 |
fi
|
|
9789 |
done
|
|
9790 |
if test -z "$haveit"; then |
|
9791 |
rpathdirs="$rpathdirs $dir" |
|
9792 |
fi
|
|
9793 |
haveit= |
|
9794 |
for x in $ltrpathdirs; do |
|
9795 |
if test "X$x" = "X$dir"; then |
|
9796 |
haveit=yes |
|
9797 |
break
|
|
9798 |
fi
|
|
9799 |
done
|
|
9800 |
if test -z "$haveit"; then |
|
9801 |
ltrpathdirs="$ltrpathdirs $dir" |
|
9802 |
fi
|
|
9803 |
fi
|
|
9804 |
;;
|
|
9805 |
-l*)
|
|
9806 |
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` |
|
9807 |
;;
|
|
9808 |
*.la)
|
|
9809 |
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` |
|
9810 |
;;
|
|
9811 |
*)
|
|
9812 |
LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$dep" |
|
9813 |
LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }$dep" |
|
9814 |
;;
|
|
9815 |
esac
|
|
9816 |
done
|
|
9817 |
fi
|
|
9818 |
else
|
|
9819 |
LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-l$name" |
|
9820 |
LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-l$name" |
|
9821 |
fi
|
|
9822 |
fi
|
|
9823 |
fi
|
|
9824 |
done
|
|
9825 |
done
|
|
9826 |
if test "X$rpathdirs" != "X"; then |
|
9827 |
if test -n "$acl_hardcode_libdir_separator"; then |
|
9828 |
alldirs= |
|
9829 |
for found_dir in $rpathdirs; do |
|
9830 |
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" |
|
9831 |
done
|
|
9832 |
acl_save_libdir="$libdir" |
|
9833 |
libdir="$alldirs" |
|
9834 |
eval flag=\"$acl_hardcode_libdir_flag_spec\" |
|
9835 |
libdir="$acl_save_libdir" |
|
9836 |
LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$flag" |
|
9837 |
else
|
|
9838 |
for found_dir in $rpathdirs; do |
|
9839 |
acl_save_libdir="$libdir" |
|
9840 |
libdir="$found_dir" |
|
9841 |
eval flag=\"$acl_hardcode_libdir_flag_spec\" |
|
9842 |
libdir="$acl_save_libdir" |
|
9843 |
LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$flag" |
|
9844 |
done
|
|
9845 |
fi
|
|
9846 |
fi
|
|
9847 |
if test "X$ltrpathdirs" != "X"; then |
|
9848 |
for found_dir in $ltrpathdirs; do |
|
9849 |
LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-R$found_dir" |
|
9850 |
done
|
|
9851 |
fi
|
|
9852 |
||
9853 |
||
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
9854 |
|
9855 |
||
9856 |
||
9857 |
||
9858 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
9859 |
ac_save_CPPFLAGS="$CPPFLAGS" |
9860 |
||
9861 |
for element in $INCSIGSEGV; do |
|
9862 |
haveit= |
|
9863 |
for x in $CPPFLAGS; do |
|
9864 |
||
9865 |
acl_save_prefix="$prefix" |
|
9866 |
prefix="$acl_final_prefix" |
|
9867 |
acl_save_exec_prefix="$exec_prefix" |
|
9868 |
exec_prefix="$acl_final_exec_prefix" |
|
9869 |
eval x=\"$x\" |
|
9870 |
exec_prefix="$acl_save_exec_prefix" |
|
9871 |
prefix="$acl_save_prefix" |
|
9872 |
||
9873 |
if test "X$x" = "X$element"; then |
|
9874 |
haveit=yes |
|
9875 |
break
|
|
9876 |
fi
|
|
9877 |
done
|
|
9878 |
if test -z "$haveit"; then |
|
9879 |
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" |
|
9880 |
fi
|
|
9881 |
done
|
|
9882 |
||
9883 |
||
9884 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigsegv" >&5 |
|
9885 |
$as_echo_n "checking for libsigsegv... " >&6; } |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
9886 |
if ${ac_cv_libsigsegv+:} false; then : |
36
by Arnold D. Robbins
Move to 3.1.8. |
9887 |
$as_echo_n "(cached) " >&6 |
9888 |
else
|
|
9889 |
||
9890 |
ac_save_LIBS="$LIBS" |
|
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
9891 |
case " $LIBSIGSEGV" in |
9892 |
*" -l"*) LIBS="$LIBS $LIBSIGSEGV" ;; |
|
9893 |
*) LIBS="$LIBSIGSEGV $LIBS" ;; |
|
9894 |
esac
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
9895 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
9896 |
/* end confdefs.h. */
|
|
9897 |
#include <sigsegv.h>
|
|
9898 |
int
|
|
9899 |
main ()
|
|
9900 |
{
|
|
9901 |
sigsegv_deinstall_handler();
|
|
9902 |
;
|
|
9903 |
return 0;
|
|
9904 |
}
|
|
9905 |
_ACEOF
|
|
9906 |
if ac_fn_c_try_link "$LINENO"; then : |
|
9907 |
ac_cv_libsigsegv=yes |
|
9908 |
else
|
|
78
by Arnold D. Robbins
Update to gettext 0.18.1. |
9909 |
ac_cv_libsigsegv='no, consider installing GNU libsigsegv' |
36
by Arnold D. Robbins
Move to 3.1.8. |
9910 |
fi
|
9911 |
rm -f core conftest.err conftest.$ac_objext \ |
|
9912 |
conftest$ac_exeext conftest.$ac_ext |
|
9913 |
LIBS="$ac_save_LIBS" |
|
9914 |
||
9915 |
fi
|
|
9916 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libsigsegv" >&5 |
|
9917 |
$as_echo "$ac_cv_libsigsegv" >&6; } |
|
9918 |
if test "$ac_cv_libsigsegv" = yes; then |
|
9919 |
HAVE_LIBSIGSEGV=yes |
|
9920 |
||
9921 |
$as_echo "#define HAVE_LIBSIGSEGV 1" >>confdefs.h |
|
9922 |
||
9923 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libsigsegv" >&5 |
|
9924 |
$as_echo_n "checking how to link with libsigsegv... " >&6; } |
|
9925 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBSIGSEGV" >&5 |
|
9926 |
$as_echo "$LIBSIGSEGV" >&6; } |
|
9927 |
else
|
|
9928 |
HAVE_LIBSIGSEGV=no |
|
9929 |
CPPFLAGS="$ac_save_CPPFLAGS" |
|
9930 |
LIBSIGSEGV= |
|
9931 |
LTLIBSIGSEGV= |
|
9932 |
LIBSIGSEGV_PREFIX= |
|
9933 |
fi
|
|
9934 |
||
9935 |
||
9936 |
||
9937 |
||
9938 |
||
9939 |
||
9940 |
||
9941 |
gl_cv_lib_sigsegv="$ac_cv_libsigsegv" |
|
9942 |
||
9943 |
;;
|
|
9944 |
esac
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
9945 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9946 |
# Need the check for mkstemp and tmpfile for missing_d/snprintf.c.
|
731.11.140
by Arnold D. Robbins
Use gai_strerror for error messages if getaddrinfo fails. |
9947 |
for ac_func in __etoa_l atexit btowc fmod gai_strerror \ |
9948 |
getgrent getgroups grantpt \
|
|
408.26.65
by Arnold D. Robbins
Use fwrite_unlocked if it exists. Nice speedup in output. |
9949 |
fwrite_unlocked \
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9950 |
isascii iswctype iswlower iswupper mbrlen \
|
9951 |
memcmp memcpy memcpy_ulong memmove memset \
|
|
408.12.18
by Andrew J. Schorr
In io.c:wait_any, use sigprocmask if available. |
9952 |
memset_ulong mkstemp posix_openpt setenv setlocale setsid sigprocmask \
|
9953 |
snprintf strchr \
|
|
408.5.253
by Arnold D. Robbins
Cleanup code for strcasecmp. |
9954 |
strerror strftime strcasecmp strncasecmp strcoll strtod strtoul \
|
408.12.12
by Andrew J. Schorr
Revert incorrect patch to wait_any and instead use waitpid to avoid blocking. |
9955 |
system tmpfile towlower towupper tzset usleep waitpid wcrtomb \
|
277.1.122
by Arnold D. Robbins
Minor configure.ac fix and new tarball. |
9956 |
wcscoll wctype |
36
by Arnold D. Robbins
Move to 3.1.8. |
9957 |
do :
|
9958 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
9959 |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
9960 |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
9961 |
cat >>confdefs.h <<_ACEOF
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
9962 |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
9963 |
_ACEOF
|
9964 |
||
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
9965 |
fi
|
9966 |
done
|
|
9967 |
||
9968 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
9969 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc and mbstate_t are properly declared" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
9970 |
$as_echo_n "checking whether mbrtowc and mbstate_t are properly declared... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
9971 |
if ${ac_cv_func_mbrtowc+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
9972 |
$as_echo_n "(cached) " >&6 |
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
9973 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
9974 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
9975 |
/* end confdefs.h. */
|
9976 |
#include <wchar.h>
|
|
9977 |
int
|
|
9978 |
main ()
|
|
9979 |
{
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
9980 |
wchar_t wc;
|
9981 |
char const s[] = "";
|
|
9982 |
size_t n = 1;
|
|
9983 |
mbstate_t state;
|
|
9984 |
return ! (sizeof state && (mbrtowc) (&wc, s, n, &state));
|
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
9985 |
;
|
9986 |
return 0;
|
|
9987 |
}
|
|
9988 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
9989 |
if ac_fn_c_try_link "$LINENO"; then : |
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
9990 |
ac_cv_func_mbrtowc=yes |
9991 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
9992 |
ac_cv_func_mbrtowc=no |
9993 |
fi
|
|
9994 |
rm -f core conftest.err conftest.$ac_objext \ |
|
9995 |
conftest$ac_exeext conftest.$ac_ext |
|
9996 |
fi
|
|
9997 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mbrtowc" >&5 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
9998 |
$as_echo "$ac_cv_func_mbrtowc" >&6; } |
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
9999 |
if test $ac_cv_func_mbrtowc = yes; then |
10000 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
10001 |
$as_echo "#define HAVE_MBRTOWC 1" >>confdefs.h |
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
10002 |
|
10003 |
fi
|
|
10004 |
||
10005 |
||
408.4.94
by Arnold D. Robbins
Make extensions controlled by configure time option. |
10006 |
# Check whether --enable-extensions was given.
|
10007 |
if test "${enable_extensions+set}" = set; then : |
|
10008 |
enableval=$enable_extensions; |
|
10009 |
fi
|
|
10010 |
||
731.11.236
by Arnold D. Robbins
Improvements to configure.ac and extension/configure.ac. |
10011 |
if test "$enable_extensions" != "no" |
731.3.59
by Arnold D. Robbins
Cleanups in configure.ac. |
10012 |
then
|
408.4.94
by Arnold D. Robbins
Make extensions controlled by configure time option. |
10013 |
extensions_supported=no |
10014 |
||
10015 |
case $host_os in |
|
408.5.84
by Arnold D. Robbins
Fix configure for MirBSD also. Bleah. |
10016 |
mirbsd* | openedition*) # OS/390 z/OS POSIX layer |
408.5.35
by Arnold D. Robbins
Configure fixes for z/OS. |
10017 |
;;
|
408.4.94
by Arnold D. Robbins
Make extensions controlled by configure time option. |
10018 |
*)
|
10019 |
ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
10020 |
if test "x$ac_cv_header_dlfcn_h" = xyes; then : |
36
by Arnold D. Robbins
Move to 3.1.8. |
10021 |
|
408.4.94
by Arnold D. Robbins
Make extensions controlled by configure time option. |
10022 |
# Check this separately. Some systems have dlopen
|
10023 |
# in libc. Notably freebsd and cygwin.
|
|
10024 |
# HP-NSK has it in zrldsrl
|
|
10025 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10026 |
$as_echo_n "checking for library containing dlopen... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
10027 |
if ${ac_cv_search_dlopen+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10028 |
$as_echo_n "(cached) " >&6 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10029 |
else
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10030 |
ac_func_search_save_LIBS=$LIBS |
36
by Arnold D. Robbins
Move to 3.1.8. |
10031 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10032 |
/* end confdefs.h. */
|
10033 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10034 |
/* Override any GCC internal prototype to avoid an error.
|
10035 |
Use char because int might match the return type of a GCC
|
|
10036 |
builtin and then its argument prototype would still apply. */
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10037 |
#ifdef __cplusplus
|
10038 |
extern "C"
|
|
10039 |
#endif
|
|
10040 |
char dlopen ();
|
|
10041 |
int
|
|
10042 |
main ()
|
|
10043 |
{
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10044 |
return dlopen ();
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10045 |
;
|
10046 |
return 0;
|
|
10047 |
}
|
|
10048 |
_ACEOF
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10049 |
for ac_lib in '' dl zrldsrl; do |
10050 |
if test -z "$ac_lib"; then |
|
10051 |
ac_res="none required" |
|
10052 |
else
|
|
10053 |
ac_res=-l$ac_lib |
|
10054 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
10055 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10056 |
if ac_fn_c_try_link "$LINENO"; then : |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10057 |
ac_cv_search_dlopen=$ac_res |
10058 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10059 |
rm -f core conftest.err conftest.$ac_objext \ |
10060 |
conftest$ac_exeext
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
10061 |
if ${ac_cv_search_dlopen+:} false; then : |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10062 |
break
|
10063 |
fi
|
|
10064 |
done
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
10065 |
if ${ac_cv_search_dlopen+:} false; then : |
36
by Arnold D. Robbins
Move to 3.1.8. |
10066 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10067 |
else
|
10068 |
ac_cv_search_dlopen=no |
|
10069 |
fi
|
|
10070 |
rm conftest.$ac_ext
|
|
10071 |
LIBS=$ac_func_search_save_LIBS |
|
10072 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10073 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10074 |
$as_echo "$ac_cv_search_dlopen" >&6; } |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10075 |
ac_res=$ac_cv_search_dlopen |
36
by Arnold D. Robbins
Move to 3.1.8. |
10076 |
if test "$ac_res" != no; then : |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10077 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
319.1.39
by Arnold D. Robbins
z/OS changes from Dave Pitts and Arnold. |
10078 |
gawk_have_dlopen=yes |
10079 |
else
|
|
10080 |
gawk_have_dlopen=no |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10081 |
fi
|
10082 |
||
408.4.94
by Arnold D. Robbins
Make extensions controlled by configure time option. |
10083 |
# Only do DYNAMIC if we have the lib. z/OS (some versions) have
|
10084 |
# the header but not the lib, apparently
|
|
10085 |
if test "$gawk_have_dlopen" = yes |
|
10086 |
then
|
|
10087 |
extensions_supported=yes |
|
319.1.39
by Arnold D. Robbins
z/OS changes from Dave Pitts and Arnold. |
10088 |
|
10089 |
$as_echo "#define DYNAMIC 1" >>confdefs.h |
|
10090 |
||
328
by Arnold D. Robbins
Finish porting to current code base. |
10091 |
fi
|
408.4.94
by Arnold D. Robbins
Make extensions controlled by configure time option. |
10092 |
|
10093 |
fi
|
|
10094 |
||
10095 |
||
10096 |
;;
|
|
10097 |
esac
|
|
10098 |
||
731.11.236
by Arnold D. Robbins
Improvements to configure.ac and extension/configure.ac. |
10099 |
if test "$enable_extensions$extensions_supported" = "yesno" |
731.3.59
by Arnold D. Robbins
Cleanups in configure.ac. |
10100 |
then
|
408.4.94
by Arnold D. Robbins
Make extensions controlled by configure time option. |
10101 |
as_fn_error $? "extension support requested, but unavailable" "$LINENO" 5 |
319.1.39
by Arnold D. Robbins
z/OS changes from Dave Pitts and Arnold. |
10102 |
fi
|
408.4.94
by Arnold D. Robbins
Make extensions controlled by configure time option. |
10103 |
enable_extensions=$extensions_supported |
408.19.195
by Arnold D. Robbins
And add configure too. Oops. |
10104 |
fi
|
731.11.236
by Arnold D. Robbins
Improvements to configure.ac and extension/configure.ac. |
10105 |
if test "$enable_extensions" = "yes"; then |
408.21.1
by Arnold D. Robbins
Rework zOS patches; keep separate from autotools. |
10106 |
ENABLE_EXTENSIONS_TRUE= |
10107 |
ENABLE_EXTENSIONS_FALSE='#' |
|
10108 |
else
|
|
10109 |
ENABLE_EXTENSIONS_TRUE='#' |
|
10110 |
ENABLE_EXTENSIONS_FALSE= |
|
10111 |
fi
|
|
10112 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10113 |
|
408.4.94
by Arnold D. Robbins
Make extensions controlled by configure time option. |
10114 |
case $host_os in |
10115 |
vms*|beos*|os2*|msdos) |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10116 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10117 |
$as_echo "#define GETPGRP_VOID 1" >>confdefs.h |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
10118 |
|
10119 |
;;
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10120 |
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10121 |
$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
10122 |
if ${ac_cv_func_getpgrp_void+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10123 |
$as_echo_n "(cached) " >&6 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10124 |
else
|
10125 |
# Use it with a single arg.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10126 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10127 |
/* end confdefs.h. */
|
10128 |
$ac_includes_default
|
|
10129 |
int
|
|
10130 |
main ()
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
10131 |
{
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10132 |
getpgrp (0);
|
10133 |
;
|
|
10134 |
return 0;
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
10135 |
}
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10136 |
_ACEOF
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10137 |
if ac_fn_c_try_compile "$LINENO"; then : |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
10138 |
ac_cv_func_getpgrp_void=no |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10139 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10140 |
ac_cv_func_getpgrp_void=yes |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10141 |
fi
|
10142 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
10143 |
||
10144 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10145 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10146 |
$as_echo "$ac_cv_func_getpgrp_void" >&6; } |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
10147 |
if test $ac_cv_func_getpgrp_void = yes; then |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10148 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10149 |
$as_echo "#define GETPGRP_VOID 1" >>confdefs.h |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
10150 |
|
10151 |
fi
|
|
10152 |
||
10153 |
;;
|
|
10154 |
esac
|
|
10155 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
10156 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for printf %F format" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10157 |
$as_echo_n "checking for printf %F format... " >&6; } |
36
by Arnold D. Robbins
Move to 3.1.8. |
10158 |
if test "$cross_compiling" = yes; then : |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
10159 |
has_f_format=no |
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
10160 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10161 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
10162 |
/* end confdefs.h. */
|
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
10163 |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
10164 |
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
10165 |
#include <stdio.h>
|
10166 |
||
10167 |
int main()
|
|
10168 |
{
|
|
10169 |
char buf[100];
|
|
10170 |
||
10171 |
sprintf(buf, "%F", 123.45);
|
|
10172 |
||
10173 |
if (strcmp(buf, "123.450000") == 0)
|
|
10174 |
return 0;
|
|
10175 |
else
|
|
10176 |
return 1;
|
|
10177 |
}
|
|
10178 |
||
10179 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10180 |
if ac_fn_c_try_run "$LINENO"; then : |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
10181 |
has_f_format=yes |
10182 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10183 |
has_f_format=no |
10184 |
fi
|
|
10185 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
10186 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
10187 |
fi
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10188 |
|
731.3.59
by Arnold D. Robbins
Cleanups in configure.ac. |
10189 |
if test "$has_f_format" = yes |
10190 |
then
|
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
10191 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10192 |
$as_echo "#define PRINTF_HAS_F_FORMAT 1" >>confdefs.h |
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
10193 |
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
10194 |
fi
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10195 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_f_format" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10196 |
$as_echo "$has_f_format" >&6; } |
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
10197 |
|
731.11.333
by Arnold D. Robbins
Add support for %a and %A in printf. |
10198 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for printf %a format" >&5 |
10199 |
$as_echo_n "checking for printf %a format... " >&6; } |
|
10200 |
if test "$cross_compiling" = yes; then : |
|
10201 |
has_a_format=no |
|
10202 |
else
|
|
10203 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
10204 |
/* end confdefs.h. */
|
|
10205 |
||
10206 |
||
10207 |
#include <stdio.h>
|
|
10208 |
||
10209 |
int main()
|
|
10210 |
{
|
|
10211 |
char buf[100];
|
|
10212 |
||
10213 |
sprintf(buf, "%a", 8.0);
|
|
10214 |
||
10215 |
if (strncmp(buf, "0x", 2) == 0)
|
|
10216 |
return 0;
|
|
10217 |
else
|
|
10218 |
return 1;
|
|
10219 |
}
|
|
10220 |
||
10221 |
_ACEOF
|
|
10222 |
if ac_fn_c_try_run "$LINENO"; then : |
|
10223 |
has_a_format=yes |
|
10224 |
else
|
|
10225 |
has_a_format=no |
|
10226 |
fi
|
|
10227 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
10228 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
10229 |
fi
|
|
10230 |
||
10231 |
if test "$has_a_format" = yes |
|
10232 |
then
|
|
10233 |
||
10234 |
$as_echo "#define PRINTF_HAS_A_FORMAT 1" >>confdefs.h |
|
10235 |
||
10236 |
fi
|
|
10237 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_a_format" >&5 |
|
10238 |
$as_echo "$has_a_format" >&6; } |
|
10239 |
||
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
10240 |
|
10241 |
gawk_have_sockets=no |
|
10242 |
# Check for system-dependent location of socket libraries
|
|
10243 |
||
10244 |
SOCKET_LIBS= |
|
10245 |
if test "$ISC" = yes; then |
|
10246 |
SOCKET_LIBS="-lnsl_s -linet" |
|
10247 |
else
|
|
10248 |
# Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
|
|
10249 |
# libraries were built with DECnet support. And karl@cs.umb.edu says
|
|
10250 |
# the Alpha needs dnet_stub (dnet does not exist).
|
|
10251 |
#
|
|
10252 |
# ADR: Is this needed just for sockets???
|
|
10253 |
# AC_CHECK_LIB(dnet, dnet_ntoa, [SOCKET_LIBS="$SOCKET_LIBS -ldnet"])
|
|
10254 |
# if test $ac_cv_lib_dnet_ntoa = no; then
|
|
10255 |
# AC_CHECK_LIB(dnet_stub, dnet_ntoa,
|
|
10256 |
# [SOCKET_LIBS="$SOCKET_LIBS -ldnet_stub"])
|
|
10257 |
# fi
|
|
10258 |
||
10259 |
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
|
|
10260 |
# to get the SysV transport functions.
|
|
10261 |
# chad@anasazi.com says the Pyramid MIS-ES running DC/OSx (SVR4)
|
|
10262 |
# needs -lnsl.
|
|
10263 |
# The nsl library prevents programs from opening the X display
|
|
10264 |
# on Irix 5.2, according to dickey@clark.net.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10265 |
ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
10266 |
if test "x$ac_cv_func_gethostbyname" = xyes; then : |
36
by Arnold D. Robbins
Move to 3.1.8. |
10267 |
|
10268 |
fi
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
10269 |
|
10270 |
if test $ac_cv_func_gethostbyname = no; then |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10271 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10272 |
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
10273 |
if ${ac_cv_lib_nsl_gethostbyname+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10274 |
$as_echo_n "(cached) " >&6 |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
10275 |
else
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10276 |
ac_check_lib_save_LIBS=$LIBS |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
10277 |
LIBS="-lnsl $LIBS" |
36
by Arnold D. Robbins
Move to 3.1.8. |
10278 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10279 |
/* end confdefs.h. */
|
10280 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10281 |
/* Override any GCC internal prototype to avoid an error.
|
10282 |
Use char because int might match the return type of a GCC
|
|
10283 |
builtin and then its argument prototype would still apply. */
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10284 |
#ifdef __cplusplus
|
10285 |
extern "C"
|
|
10286 |
#endif
|
|
10287 |
char gethostbyname ();
|
|
10288 |
int
|
|
10289 |
main ()
|
|
10290 |
{
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10291 |
return gethostbyname ();
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10292 |
;
|
10293 |
return 0;
|
|
10294 |
}
|
|
10295 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10296 |
if ac_fn_c_try_link "$LINENO"; then : |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10297 |
ac_cv_lib_nsl_gethostbyname=yes |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
10298 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10299 |
ac_cv_lib_nsl_gethostbyname=no |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10300 |
fi
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10301 |
rm -f core conftest.err conftest.$ac_objext \ |
10302 |
conftest$ac_exeext conftest.$ac_ext |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10303 |
LIBS=$ac_check_lib_save_LIBS |
10304 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10305 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10306 |
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
10307 |
if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
10308 |
SOCKET_LIBS="$SOCKET_LIBS -lnsl" |
10309 |
fi
|
|
10310 |
||
10311 |
fi
|
|
10312 |
||
10313 |
# lieder@skyler.mavd.honeywell.com says without -lsocket,
|
|
10314 |
# socket/setsockopt and other routines are undefined under SCO ODT
|
|
10315 |
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
|
|
10316 |
# on later versions), says simon@lia.di.epfl.ch: it contains
|
|
10317 |
# gethostby* variants that don't use the nameserver (or something).
|
|
10318 |
# -lsocket must be given before -lnsl if both are needed.
|
|
10319 |
# We assume that if connect needs -lnsl, so does gethostbyname.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10320 |
ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
10321 |
if test "x$ac_cv_func_connect" = xyes; then : |
36
by Arnold D. Robbins
Move to 3.1.8. |
10322 |
|
10323 |
fi
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
10324 |
|
10325 |
if test $ac_cv_func_connect = no; then |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10326 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10327 |
$as_echo_n "checking for connect in -lsocket... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
10328 |
if ${ac_cv_lib_socket_connect+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10329 |
$as_echo_n "(cached) " >&6 |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
10330 |
else
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10331 |
ac_check_lib_save_LIBS=$LIBS |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
10332 |
LIBS="-lsocket $SOCKET_LIBS $LIBS" |
36
by Arnold D. Robbins
Move to 3.1.8. |
10333 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10334 |
/* end confdefs.h. */
|
10335 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10336 |
/* Override any GCC internal prototype to avoid an error.
|
10337 |
Use char because int might match the return type of a GCC
|
|
10338 |
builtin and then its argument prototype would still apply. */
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10339 |
#ifdef __cplusplus
|
10340 |
extern "C"
|
|
10341 |
#endif
|
|
10342 |
char connect ();
|
|
10343 |
int
|
|
10344 |
main ()
|
|
10345 |
{
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10346 |
return connect ();
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10347 |
;
|
10348 |
return 0;
|
|
10349 |
}
|
|
10350 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10351 |
if ac_fn_c_try_link "$LINENO"; then : |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10352 |
ac_cv_lib_socket_connect=yes |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
10353 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10354 |
ac_cv_lib_socket_connect=no |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10355 |
fi
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10356 |
rm -f core conftest.err conftest.$ac_objext \ |
10357 |
conftest$ac_exeext conftest.$ac_ext |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10358 |
LIBS=$ac_check_lib_save_LIBS |
10359 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10360 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10361 |
$as_echo "$ac_cv_lib_socket_connect" >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
10362 |
if test "x$ac_cv_lib_socket_connect" = xyes; then : |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
10363 |
SOCKET_LIBS="-lsocket $SOCKET_LIBS" |
10364 |
gawk_have_sockets=yes |
|
10365 |
fi
|
|
10366 |
||
10367 |
else
|
|
10368 |
gawk_have_sockets=yes |
|
10369 |
fi
|
|
10370 |
fi
|
|
10371 |
||
10372 |
if test "${gawk_have_sockets}" = "yes" |
|
10373 |
then
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10374 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the socket library calls" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10375 |
$as_echo_n "checking where to find the socket library calls... " >&6; } |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
10376 |
case "${SOCKET_LIBS}" in |
10377 |
?*) gawk_lib_loc="${SOCKET_LIBS}" ;; |
|
10378 |
*) gawk_lib_loc="the standard library" ;; |
|
24
by Arnold D. Robbins
Move to gawk-3.0.3. |
10379 |
esac
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10380 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${gawk_lib_loc}" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10381 |
$as_echo "${gawk_lib_loc}" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10382 |
|
10383 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
10384 |
$as_echo "#define HAVE_SOCKETS 1" >>confdefs.h |
10385 |
||
10386 |
fi
|
|
10387 |
||
10388 |
||
40
by Arnold D. Robbins
Bring latest byte code gawk into git. Hurray! |
10389 |
|
10390 |
||
10391 |
# Check whether --with-readline was given.
|
|
10392 |
if test "${with_readline+set}" = set; then : |
|
10393 |
withval=$with_readline; _do_readline=$withval |
|
10394 |
else
|
|
10395 |
_do_readline=yes |
|
10396 |
fi
|
|
10397 |
||
10398 |
||
10399 |
if test "$_do_readline" != "no" ; then |
|
10400 |
if test -d "$withval" ; then |
|
10401 |
CPPFLAGS="${CPPFLAGS} -I$withval/include" |
|
10402 |
LDFLAGS="${LDFLAGS} -L$withval/lib" |
|
10403 |
fi
|
|
10404 |
||
10405 |
for _termcap in "" "-ltermcap" "-lcurses" "-lncurses" ; do |
|
10406 |
_readline_save_libs=$LIBS |
|
10407 |
_combo="-lreadline${_termcap:+ $_termcap}" |
|
10408 |
LIBS="$LIBS $_combo" |
|
10409 |
||
10410 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline via \"$_combo\" is present and sane" >&5 |
|
10411 |
$as_echo_n "checking whether readline via \"$_combo\" is present and sane... " >&6; } |
|
10412 |
||
388
by Arnold D. Robbins
More portability - find readline dependencies. |
10413 |
if test "$cross_compiling" = yes; then : |
408.5.320
by Arnold D. Robbins
Enable cross-compiling for readline during configuring. |
10414 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
10415 |
/* end confdefs.h. */
|
|
10416 |
#include <stdio.h>
|
|
10417 |
#include <readline/readline.h>
|
|
10418 |
#include <readline/history.h>
|
|
10419 |
int
|
|
10420 |
main ()
|
|
10421 |
{
|
|
10422 |
||
10423 |
int fd;
|
|
10424 |
char *line;
|
|
10425 |
||
10426 |
close(0);
|
|
10427 |
close(1);
|
|
10428 |
fd = open("/dev/null", 2); /* should get fd 0 */
|
|
10429 |
dup(fd);
|
|
10430 |
line = readline("giveittome> ");
|
|
10431 |
||
10432 |
/* some printfs don't handle NULL for %s */
|
|
10433 |
printf("got <%s>\n", line ? line : "(NULL)");
|
|
10434 |
||
10435 |
;
|
|
10436 |
return 0;
|
|
10437 |
}
|
|
10438 |
_ACEOF
|
|
10439 |
if ac_fn_c_try_link "$LINENO"; then : |
|
10440 |
_found_readline=yes |
|
10441 |
else
|
|
10442 |
_found_readline=no |
|
10443 |
||
10444 |
fi
|
|
10445 |
rm -f core conftest.err conftest.$ac_objext \ |
|
10446 |
conftest$ac_exeext conftest.$ac_ext |
|
402
by Arnold D. Robbins
Cross compile fix for readline checks. |
10447 |
|
388
by Arnold D. Robbins
More portability - find readline dependencies. |
10448 |
else
|
10449 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
88
by Arnold D. Robbins
PC fixes, compiler warning cleanups, autoconf fix. |
10450 |
/* end confdefs.h. */
|
40
by Arnold D. Robbins
Bring latest byte code gawk into git. Hurray! |
10451 |
#include <stdio.h>
|
10452 |
#include <readline/readline.h>
|
|
10453 |
#include <readline/history.h>
|
|
10454 |
||
388
by Arnold D. Robbins
More portability - find readline dependencies. |
10455 |
int main(int argc, char **argv)
|
40
by Arnold D. Robbins
Bring latest byte code gawk into git. Hurray! |
10456 |
{
|
388
by Arnold D. Robbins
More portability - find readline dependencies. |
10457 |
int fd;
|
10458 |
char *line;
|
|
10459 |
||
10460 |
close(0);
|
|
10461 |
close(1);
|
|
10462 |
fd = open("/dev/null", 2); /* should get fd 0 */
|
|
10463 |
dup(fd);
|
|
10464 |
line = readline("giveittome> ");
|
|
10465 |
||
408.4.47
by Arnold D. Robbins
Fix for readline checks on Solaris. |
10466 |
/* some printfs don't handle NULL for %s */
|
10467 |
printf("got <%s>\n", line ? line : "(NULL)");
|
|
388
by Arnold D. Robbins
More portability - find readline dependencies. |
10468 |
return 0;
|
81
by Arnold D. Robbins
Some fixes for z/OS and also Autoconf. |
10469 |
}
|
40
by Arnold D. Robbins
Bring latest byte code gawk into git. Hurray! |
10470 |
_ACEOF
|
388
by Arnold D. Robbins
More portability - find readline dependencies. |
10471 |
if ac_fn_c_try_run "$LINENO"; then : |
10472 |
_found_readline=yes |
|
81
by Arnold D. Robbins
Some fixes for z/OS and also Autoconf. |
10473 |
else
|
388
by Arnold D. Robbins
More portability - find readline dependencies. |
10474 |
_found_readline=no |
10475 |
fi
|
|
10476 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
10477 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
10478 |
fi
|
|
10479 |
||
40
by Arnold D. Robbins
Bring latest byte code gawk into git. Hurray! |
10480 |
|
10481 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_found_readline" >&5 |
|
10482 |
$as_echo "$_found_readline" >&6; } |
|
10483 |
||
10484 |
LIBS=$_readline_save_libs |
|
10485 |
||
10486 |
if test $_found_readline = yes ; then |
|
408.5.106
by Arnold D. Robbins
Build fix for BSD systems. |
10487 |
case $host_os in |
408.19.21
by Arnold D. Robbins
Configuration/Build fix for Gentoo/FreeBSD. |
10488 |
*bsd* ) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5 |
10489 |
$as_echo_n "checking for tgetent in -ltermcap... " >&6; } |
|
10490 |
if ${ac_cv_lib_termcap_tgetent+:} false; then : |
|
10491 |
$as_echo_n "(cached) " >&6 |
|
10492 |
else
|
|
10493 |
ac_check_lib_save_LIBS=$LIBS |
|
10494 |
LIBS="-ltermcap $LIBS" |
|
10495 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
10496 |
/* end confdefs.h. */
|
|
10497 |
||
10498 |
/* Override any GCC internal prototype to avoid an error.
|
|
10499 |
Use char because int might match the return type of a GCC
|
|
10500 |
builtin and then its argument prototype would still apply. */
|
|
10501 |
#ifdef __cplusplus
|
|
10502 |
extern "C"
|
|
10503 |
#endif
|
|
10504 |
char tgetent ();
|
|
10505 |
int
|
|
10506 |
main ()
|
|
10507 |
{
|
|
10508 |
return tgetent ();
|
|
10509 |
;
|
|
10510 |
return 0;
|
|
10511 |
}
|
|
10512 |
_ACEOF
|
|
10513 |
if ac_fn_c_try_link "$LINENO"; then : |
|
10514 |
ac_cv_lib_termcap_tgetent=yes |
|
10515 |
else
|
|
10516 |
ac_cv_lib_termcap_tgetent=no |
|
10517 |
fi
|
|
10518 |
rm -f core conftest.err conftest.$ac_objext \ |
|
10519 |
conftest$ac_exeext conftest.$ac_ext |
|
10520 |
LIBS=$ac_check_lib_save_LIBS |
|
10521 |
fi
|
|
10522 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5 |
|
10523 |
$as_echo "$ac_cv_lib_termcap_tgetent" >&6; } |
|
10524 |
if test "x$ac_cv_lib_termcap_tgetent" = xyes; then : |
|
10525 |
_combo="$_combo -ltermcap" |
|
10526 |
fi
|
|
10527 |
||
408.5.106
by Arnold D. Robbins
Build fix for BSD systems. |
10528 |
;;
|
10529 |
esac
|
|
40
by Arnold D. Robbins
Bring latest byte code gawk into git. Hurray! |
10530 |
|
10531 |
$as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h |
|
10532 |
||
10533 |
LIBREADLINE=$_combo |
|
10534 |
||
408.4.29
by Arnold D. Robbins
Fix issue with old readline lib on Mac OS X. |
10535 |
|
10536 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for history_list in -lreadline" >&5 |
|
10537 |
$as_echo_n "checking for history_list in -lreadline... " >&6; } |
|
10538 |
if ${ac_cv_lib_readline_history_list+:} false; then : |
|
10539 |
$as_echo_n "(cached) " >&6 |
|
10540 |
else
|
|
10541 |
ac_check_lib_save_LIBS=$LIBS |
|
10542 |
LIBS="-lreadline $_combo $LIBS" |
|
10543 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
10544 |
/* end confdefs.h. */
|
|
10545 |
||
10546 |
/* Override any GCC internal prototype to avoid an error.
|
|
10547 |
Use char because int might match the return type of a GCC
|
|
10548 |
builtin and then its argument prototype would still apply. */
|
|
10549 |
#ifdef __cplusplus
|
|
10550 |
extern "C"
|
|
10551 |
#endif
|
|
10552 |
char history_list ();
|
|
10553 |
int
|
|
10554 |
main ()
|
|
10555 |
{
|
|
10556 |
return history_list ();
|
|
10557 |
;
|
|
10558 |
return 0;
|
|
10559 |
}
|
|
10560 |
_ACEOF
|
|
10561 |
if ac_fn_c_try_link "$LINENO"; then : |
|
10562 |
ac_cv_lib_readline_history_list=yes |
|
10563 |
else
|
|
10564 |
ac_cv_lib_readline_history_list=no |
|
10565 |
fi
|
|
10566 |
rm -f core conftest.err conftest.$ac_objext \ |
|
10567 |
conftest$ac_exeext conftest.$ac_ext |
|
10568 |
LIBS=$ac_check_lib_save_LIBS |
|
10569 |
fi
|
|
10570 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_history_list" >&5 |
|
10571 |
$as_echo "$ac_cv_lib_readline_history_list" >&6; } |
|
10572 |
if test "x$ac_cv_lib_readline_history_list" = xyes; then : |
|
10573 |
||
10574 |
$as_echo "#define HAVE_HISTORY_LIST 1" >>confdefs.h |
|
10575 |
||
10576 |
fi
|
|
10577 |
||
10578 |
||
40
by Arnold D. Robbins
Bring latest byte code gawk into git. Hurray! |
10579 |
break
|
10580 |
fi
|
|
10581 |
done
|
|
10582 |
||
10583 |
unset _termcap
|
|
10584 |
unset _readline_save_libs
|
|
10585 |
unset _combo
|
|
10586 |
unset _found_readline
|
|
10587 |
fi
|
|
10588 |
||
10589 |
||
731.11.321
by Arnold D. Robbins
Restore PowerPC mac to not build MPFR. |
10590 |
case `uname -m` in |
10591 |
*'Power Macintosh'*) |
|
10592 |
: ;;
|
|
10593 |
*)
|
|
10594 |
case $SKIP_MPFR in |
|
10595 |
no)
|
|
302
by john haque
Finish builtins for MPFR. |
10596 |
|
10597 |
# Check whether --with-mpfr was given.
|
|
10598 |
if test "${with_mpfr+set}" = set; then : |
|
10599 |
withval=$with_mpfr; _do_mpfr=$withval |
|
10600 |
else
|
|
10601 |
_do_mpfr=yes |
|
10602 |
fi
|
|
10603 |
||
10604 |
||
10605 |
if test "$_do_mpfr" != "no" ; then |
|
10606 |
if test -d "$withval" ; then |
|
10607 |
CPPFLAGS="${CPPFLAGS} -I$withval/include" |
|
10608 |
LDFLAGS="${LDFLAGS} -L$withval/lib" |
|
10609 |
fi
|
|
10610 |
||
10611 |
_mpfr_save_libs=$LIBS |
|
10612 |
_combo="-lmpfr -lgmp" |
|
10613 |
LIBS="$LIBS $_combo" |
|
10614 |
||
10615 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mpfr via \"$_combo\" is present and usable" >&5 |
|
10616 |
$as_echo_n "checking whether mpfr via \"$_combo\" is present and usable... " >&6; } |
|
10617 |
||
10618 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
10619 |
/* end confdefs.h. */
|
|
10620 |
||
10621 |
||
10622 |
#include <stdio.h>
|
|
10623 |
#include <mpfr.h>
|
|
10624 |
#include <gmp.h>
|
|
10625 |
||
10626 |
int
|
|
10627 |
main ()
|
|
10628 |
{
|
|
10629 |
||
10630 |
mpfr_t p;
|
|
10631 |
mpz_t z;
|
|
10632 |
mpfr_init(p);
|
|
10633 |
mpz_init(z);
|
|
10634 |
mpfr_printf("%Rf%Zd", p, z);
|
|
10635 |
mpfr_clear(p);
|
|
10636 |
mpz_clear(z);
|
|
10637 |
||
10638 |
;
|
|
10639 |
return 0;
|
|
10640 |
}
|
|
10641 |
_ACEOF
|
|
10642 |
if ac_fn_c_try_link "$LINENO"; then : |
|
10643 |
_found_mpfr=yes |
|
10644 |
else
|
|
10645 |
_found_mpfr=no |
|
10646 |
fi
|
|
10647 |
rm -f core conftest.err conftest.$ac_objext \ |
|
10648 |
conftest$ac_exeext conftest.$ac_ext |
|
10649 |
||
10650 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_found_mpfr" >&5 |
|
10651 |
$as_echo "$_found_mpfr" >&6; } |
|
10652 |
||
10653 |
LIBS=$_mpfr_save_libs |
|
10654 |
||
10655 |
if test $_found_mpfr = yes ; then |
|
10656 |
||
10657 |
$as_echo "#define HAVE_MPFR 1" >>confdefs.h |
|
10658 |
||
10659 |
LIBMPFR=$_combo |
|
10660 |
||
10661 |
break
|
|
10662 |
fi
|
|
10663 |
||
10664 |
unset _mpfr_save_libs
|
|
10665 |
unset _combo
|
|
10666 |
unset _found_mpfr
|
|
10667 |
fi
|
|
10668 |
||
731.11.321
by Arnold D. Robbins
Restore PowerPC mac to not build MPFR. |
10669 |
;;
|
10670 |
esac
|
|
731.3.17
by Arnold D. Robbins
Update for Mac OS X on PowerPC. |
10671 |
;;
|
10672 |
esac
|
|
302
by john haque
Finish builtins for MPFR. |
10673 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10674 |
ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default" |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
10675 |
if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then : |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10676 |
|
10677 |
cat >>confdefs.h <<_ACEOF
|
|
10678 |
#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
|
|
10679 |
_ACEOF
|
|
10680 |
||
10681 |
||
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
10682 |
fi
|
10683 |
||
408.21.1
by Arnold D. Robbins
Rework zOS patches; keep separate from autotools. |
10684 |
ac_fn_c_check_member "$LINENO" "struct passwd" "pw_passwd" "ac_cv_member_struct_passwd_pw_passwd" " |
10685 |
#include <sys/types.h>
|
|
10686 |
#include <pwd.h>
|
|
10687 |
||
10688 |
"
|
|
10689 |
if test "x$ac_cv_member_struct_passwd_pw_passwd" = xyes; then : |
|
10690 |
||
10691 |
cat >>confdefs.h <<_ACEOF
|
|
10692 |
#define HAVE_STRUCT_PASSWD_PW_PASSWD 1
|
|
10693 |
_ACEOF
|
|
10694 |
||
10695 |
||
10696 |
fi
|
|
10697 |
||
10698 |
ac_fn_c_check_member "$LINENO" "struct group" "gr_passwd" "ac_cv_member_struct_group_gr_passwd" " |
|
10699 |
#include <sys/types.h>
|
|
10700 |
#include <grp.h>
|
|
10701 |
||
10702 |
"
|
|
10703 |
if test "x$ac_cv_member_struct_group_gr_passwd" = xyes; then : |
|
10704 |
||
10705 |
cat >>confdefs.h <<_ACEOF
|
|
10706 |
#define HAVE_STRUCT_GROUP_GR_PASSWD 1
|
|
10707 |
_ACEOF
|
|
10708 |
||
10709 |
||
10710 |
fi
|
|
10711 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
10712 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10713 |
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
10714 |
if ${ac_cv_struct_tm+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10715 |
$as_echo_n "(cached) " >&6 |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
10716 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10717 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10718 |
/* end confdefs.h. */
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
10719 |
#include <sys/types.h>
|
10720 |
#include <time.h>
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10721 |
|
10722 |
int
|
|
10723 |
main ()
|
|
10724 |
{
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10725 |
struct tm tm;
|
10726 |
int *p = &tm.tm_sec;
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10727 |
return !p;
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10728 |
;
|
10729 |
return 0;
|
|
10730 |
}
|
|
10731 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10732 |
if ac_fn_c_try_compile "$LINENO"; then : |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
10733 |
ac_cv_struct_tm=time.h |
10734 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10735 |
ac_cv_struct_tm=sys/time.h |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10736 |
fi
|
10737 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
10738 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10739 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10740 |
$as_echo "$ac_cv_struct_tm" >&6; } |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
10741 |
if test $ac_cv_struct_tm = sys/time.h; then |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10742 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10743 |
$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h |
10744 |
||
10745 |
fi
|
|
10746 |
||
10747 |
ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h> |
|
10748 |
#include <$ac_cv_struct_tm> |
|
10749 |
||
10750 |
"
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
10751 |
if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then : |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10752 |
|
10753 |
cat >>confdefs.h <<_ACEOF
|
|
10754 |
#define HAVE_STRUCT_TM_TM_ZONE 1
|
|
10755 |
_ACEOF
|
|
10756 |
||
10757 |
||
10758 |
fi
|
|
10759 |
||
10760 |
if test "$ac_cv_member_struct_tm_tm_zone" = yes; then |
|
10761 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
10762 |
$as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h |
10763 |
||
10764 |
else
|
|
10765 |
ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h> |
|
10766 |
"
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
10767 |
if test "x$ac_cv_have_decl_tzname" = xyes; then : |
36
by Arnold D. Robbins
Move to 3.1.8. |
10768 |
ac_have_decl=1 |
10769 |
else
|
|
10770 |
ac_have_decl=0 |
|
10771 |
fi
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10772 |
|
10773 |
cat >>confdefs.h <<_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10774 |
#define HAVE_DECL_TZNAME $ac_have_decl
|
10775 |
_ACEOF
|
|
10776 |
||
10777 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10778 |
$as_echo_n "checking for tzname... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
10779 |
if ${ac_cv_var_tzname+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10780 |
$as_echo_n "(cached) " >&6 |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
10781 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10782 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10783 |
/* end confdefs.h. */
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
10784 |
#include <time.h>
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10785 |
#if !HAVE_DECL_TZNAME
|
10786 |
extern char *tzname[];
|
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
10787 |
#endif
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10788 |
|
10789 |
int
|
|
10790 |
main ()
|
|
10791 |
{
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10792 |
return tzname[0][0];
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10793 |
;
|
10794 |
return 0;
|
|
10795 |
}
|
|
10796 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10797 |
if ac_fn_c_try_link "$LINENO"; then : |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
10798 |
ac_cv_var_tzname=yes |
10799 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10800 |
ac_cv_var_tzname=no |
10801 |
fi
|
|
10802 |
rm -f core conftest.err conftest.$ac_objext \ |
|
10803 |
conftest$ac_exeext conftest.$ac_ext |
|
10804 |
fi
|
|
10805 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10806 |
$as_echo "$ac_cv_var_tzname" >&6; } |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
10807 |
if test $ac_cv_var_tzname = yes; then |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10808 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10809 |
$as_echo "#define HAVE_TZNAME 1" >>confdefs.h |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
10810 |
|
10811 |
fi
|
|
10812 |
fi
|
|
10813 |
||
10814 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
10815 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether char is unsigned" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10816 |
$as_echo_n "checking whether char is unsigned... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
10817 |
if ${ac_cv_c_char_unsigned+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10818 |
$as_echo_n "(cached) " >&6 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10819 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10820 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10821 |
/* end confdefs.h. */
|
10822 |
$ac_includes_default
|
|
10823 |
int
|
|
10824 |
main ()
|
|
10825 |
{
|
|
10826 |
static int test_array [1 - 2 * !(((char) -1) < 0)];
|
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
10827 |
test_array [0] = 0;
|
10828 |
return test_array [0];
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10829 |
|
10830 |
;
|
|
10831 |
return 0;
|
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
10832 |
}
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10833 |
_ACEOF
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10834 |
if ac_fn_c_try_compile "$LINENO"; then : |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10835 |
ac_cv_c_char_unsigned=no |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
10836 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10837 |
ac_cv_c_char_unsigned=yes |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10838 |
fi
|
10839 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
10840 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10841 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_char_unsigned" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10842 |
$as_echo "$ac_cv_c_char_unsigned" >&6; } |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
10843 |
if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then |
36
by Arnold D. Robbins
Move to 3.1.8. |
10844 |
$as_echo "#define __CHAR_UNSIGNED__ 1" >>confdefs.h |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
10845 |
|
10846 |
fi
|
|
10847 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
10848 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10849 |
$as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
10850 |
if ${ac_cv_c_const+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10851 |
$as_echo_n "(cached) " >&6 |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
10852 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10853 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10854 |
/* end confdefs.h. */
|
10855 |
||
10856 |
int
|
|
10857 |
main ()
|
|
10858 |
{
|
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
10859 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10860 |
#ifndef __cplusplus
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
10861 |
/* Ultrix mips cc rejects this sort of thing. */
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10862 |
typedef int charset[2];
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
10863 |
const charset cs = { 0, 0 };
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10864 |
/* SunOS 4.1.1 cc rejects this. */
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10865 |
char const *const *pcpcc;
|
10866 |
char **ppc;
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10867 |
/* NEC SVR4.0.2 mips cc rejects this. */
|
10868 |
struct point {int x, y;};
|
|
10869 |
static struct point const zero = {0,0};
|
|
10870 |
/* AIX XL C 1.02.0.0 rejects this.
|
|
10871 |
It does not let you subtract one const X* pointer from another in
|
|
10872 |
an arm of an if-expression whose if-part is not a constant
|
|
10873 |
expression */
|
|
10874 |
const char *g = "string";
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10875 |
pcpcc = &g + (g ? g-g : 0);
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10876 |
/* HPUX 7.0 cc rejects these. */
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10877 |
++pcpcc;
|
10878 |
ppc = (char**) pcpcc;
|
|
10879 |
pcpcc = (char const *const *) ppc;
|
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
10880 |
{ /* SCO 3.2v4 cc rejects this sort of thing. */
|
10881 |
char tx;
|
|
10882 |
char *t = &tx;
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10883 |
char const *s = 0 ? (char *) 0 : (char const *) 0;
|
10884 |
||
10885 |
*t++ = 0;
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10886 |
if (s) return 0;
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10887 |
}
|
10888 |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
|
10889 |
int x[] = {25, 17};
|
|
10890 |
const int *foo = &x[0];
|
|
10891 |
++foo;
|
|
10892 |
}
|
|
10893 |
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
|
10894 |
typedef const int *iptr;
|
|
10895 |
iptr p = 0;
|
|
10896 |
++p;
|
|
10897 |
}
|
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
10898 |
{ /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10899 |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
10900 |
struct s { int j; const int *ap[3]; } bx;
|
10901 |
struct s *b = &bx; b->j = 5;
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10902 |
}
|
10903 |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
|
10904 |
const int foo = 10;
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10905 |
if (!foo) return 0;
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10906 |
}
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10907 |
return !cs[0] && !zero.x;
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10908 |
#endif
|
10909 |
||
10910 |
;
|
|
10911 |
return 0;
|
|
10912 |
}
|
|
10913 |
_ACEOF
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10914 |
if ac_fn_c_try_compile "$LINENO"; then : |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
10915 |
ac_cv_c_const=yes |
10916 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10917 |
ac_cv_c_const=no |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10918 |
fi
|
10919 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
10920 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10921 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10922 |
$as_echo "$ac_cv_c_const" >&6; } |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
10923 |
if test $ac_cv_c_const = no; then |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10924 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10925 |
$as_echo "#define const /**/" >>confdefs.h |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
10926 |
|
10927 |
fi
|
|
10928 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
10929 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10930 |
$as_echo_n "checking for C/C++ restrict keyword... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
10931 |
if ${ac_cv_c_restrict+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10932 |
$as_echo_n "(cached) " >&6 |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
10933 |
else
|
10934 |
ac_cv_c_restrict=no |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10935 |
# The order here caters to the fact that C++ does not require restrict.
|
10936 |
for ac_kw in __restrict __restrict__ _Restrict restrict; do |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10937 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
10938 |
/* end confdefs.h. */
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10939 |
typedef int * int_ptr;
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10940 |
int foo (int_ptr $ac_kw ip) {
|
10941 |
return ip[0];
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10942 |
}
|
10943 |
int
|
|
10944 |
main ()
|
|
10945 |
{
|
|
10946 |
int s[1];
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10947 |
int * $ac_kw t = s;
|
10948 |
t[0] = 0;
|
|
10949 |
return foo(t)
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10950 |
;
|
10951 |
return 0;
|
|
10952 |
}
|
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
10953 |
_ACEOF
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10954 |
if ac_fn_c_try_compile "$LINENO"; then : |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10955 |
ac_cv_c_restrict=$ac_kw |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
10956 |
fi
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10957 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10958 |
test "$ac_cv_c_restrict" != no && break |
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
10959 |
done
|
10960 |
||
10961 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10962 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10963 |
$as_echo "$ac_cv_c_restrict" >&6; } |
10964 |
||
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
10965 |
case $ac_cv_c_restrict in |
10966 |
restrict) ;; |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10967 |
no) $as_echo "#define restrict /**/" >>confdefs.h |
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
10968 |
;;
|
10969 |
*) cat >>confdefs.h <<_ACEOF |
|
10970 |
#define restrict $ac_cv_c_restrict
|
|
10971 |
_ACEOF
|
|
10972 |
;;
|
|
10973 |
esac
|
|
10974 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
10975 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10976 |
$as_echo_n "checking for inline... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
10977 |
if ${ac_cv_c_inline+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
10978 |
$as_echo_n "(cached) " >&6 |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
10979 |
else
|
10980 |
ac_cv_c_inline=no |
|
10981 |
for ac_kw in inline __inline__ __inline; do |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10982 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10983 |
/* end confdefs.h. */
|
10984 |
#ifndef __cplusplus
|
|
10985 |
typedef int foo_t;
|
|
10986 |
static $ac_kw foo_t static_foo () {return 0; }
|
|
10987 |
$ac_kw foo_t foo () {return 0; }
|
|
10988 |
#endif
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
10989 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
10990 |
_ACEOF
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10991 |
if ac_fn_c_try_compile "$LINENO"; then : |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10992 |
ac_cv_c_inline=$ac_kw |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
10993 |
fi
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
10994 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10995 |
test "$ac_cv_c_inline" != no && break |
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
10996 |
done
|
10997 |
||
10998 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
10999 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11000 |
$as_echo "$ac_cv_c_inline" >&6; } |
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
11001 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11002 |
case $ac_cv_c_inline in |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
11003 |
inline | yes) ;; |
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
11004 |
*)
|
11005 |
case $ac_cv_c_inline in |
|
11006 |
no) ac_val=;; |
|
11007 |
*) ac_val=$ac_cv_c_inline;; |
|
11008 |
esac
|
|
11009 |
cat >>confdefs.h <<_ACEOF
|
|
11010 |
#ifndef __cplusplus
|
|
11011 |
#define inline $ac_val
|
|
11012 |
#endif
|
|
11013 |
_ACEOF
|
|
11014 |
;;
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
11015 |
esac
|
11016 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
11017 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for preprocessor stringizing operator" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11018 |
$as_echo_n "checking for preprocessor stringizing operator... " >&6; } |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11019 |
if ${ac_cv_c_stringize+:} false; then : |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11020 |
$as_echo_n "(cached) " >&6 |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
11021 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11022 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11023 |
/* end confdefs.h. */
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
11024 |
#define x(y) #y
|
11025 |
||
11026 |
char *s = x(teststring);
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11027 |
_ACEOF
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
11028 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
36
by Arnold D. Robbins
Move to 3.1.8. |
11029 |
$EGREP "#teststring" >/dev/null 2>&1; then : |
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
11030 |
ac_cv_c_stringize=no |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
11031 |
else
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
11032 |
ac_cv_c_stringize=yes |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
11033 |
fi
|
11034 |
rm -f conftest* |
|
11035 |
||
11036 |
fi
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11037 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stringize" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11038 |
$as_echo "$ac_cv_c_stringize" >&6; } |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11039 |
if test $ac_cv_c_stringize = yes; then |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
11040 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11041 |
$as_echo "#define HAVE_STRINGIZE 1" >>confdefs.h |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11042 |
|
11043 |
fi
|
|
11044 |
||
11045 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11046 |
ac_config_headers="$ac_config_headers config.h:configh.in" |
11047 |
||
11048 |
||
11049 |
||
319.2.69
by Arnold D. Robbins
Fix plug-ins on Mac OS X. |
11050 |
case $acl_shlibext in |
319.2.70
by Andrew J. Schorr
Minor configure.ac/Makefile.am change for more elegant shared library support. |
11051 |
dylib) GAWKLIBEXT=so ;; # MacOS uses .dylib for shared libraries, but libtool uses .so for modules |
11052 |
*) GAWKLIBEXT=$acl_shlibext ;; |
|
319.2.69
by Arnold D. Robbins
Fix plug-ins on Mac OS X. |
11053 |
esac
|
11054 |
||
319.2.70
by Andrew J. Schorr
Minor configure.ac/Makefile.am change for more elegant shared library support. |
11055 |
|
731.1.10
by Arnold D. Robbins
Add small regex fix. Add support directory. |
11056 |
ac_config_files="$ac_config_files Makefile support/Makefile awklib/Makefile doc/Makefile extras/Makefile po/Makefile.in test/Makefile" |
319.2.12
by Andrew J. Schorr
Move libtool from top configure.ac into extension directory. |
11057 |
|
731.11.236
by Arnold D. Robbins
Improvements to configure.ac and extension/configure.ac. |
11058 |
if test "$enable_extensions" = "yes" |
731.3.59
by Arnold D. Robbins
Cleanups in configure.ac. |
11059 |
then
|
319.2.12
by Andrew J. Schorr
Move libtool from top configure.ac into extension directory. |
11060 |
|
11061 |
||
11062 |
subdirs="$subdirs extension" |
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
11063 |
|
408.4.94
by Arnold D. Robbins
Make extensions controlled by configure time option. |
11064 |
fi
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11065 |
cat >confcache <<\_ACEOF
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
11066 |
# This file is a shell script that caches the results of configure
|
11067 |
# tests run on this system so they can be shared between configure
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11068 |
# scripts and configure runs, see configure's option --config-cache.
|
11069 |
# It is not useful on other systems. If it contains results you don't
|
|
11070 |
# want to keep, you may remove or edit it.
|
|
11071 |
#
|
|
11072 |
# config.status only pays attention to the cache file if you give it
|
|
11073 |
# the --recheck option to rerun configure.
|
|
11074 |
#
|
|
11075 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when
|
|
11076 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the
|
|
11077 |
# following values.
|
|
11078 |
||
11079 |
_ACEOF
|
|
11080 |
||
23
by Arnold D. Robbins
Move to gawk-3.0.2. |
11081 |
# The following way of writing the cache mishandles newlines in values,
|
11082 |
# but we know of no workaround that is simple, portable, and efficient.
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11083 |
# So, we kill variables containing newlines.
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
11084 |
# Ultrix sh set writes to stderr and can't be redirected directly,
|
11085 |
# and sets the high bit in the cache file unless we assign to the vars.
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11086 |
(
|
11087 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
|
11088 |
eval ac_val=\$$ac_var |
|
11089 |
case $ac_val in #( |
|
11090 |
*${as_nl}*) |
|
11091 |
case $ac_var in #( |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11092 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11093 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11094 |
esac
|
11095 |
case $ac_var in #( |
|
11096 |
_ | IFS | as_nl) ;; #( |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11097 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
36
by Arnold D. Robbins
Move to 3.1.8. |
11098 |
*) { eval $ac_var=; unset $ac_var;} ;; |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11099 |
esac ;; |
11100 |
esac
|
|
11101 |
done
|
|
11102 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11103 |
(set) 2>&1 | |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11104 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
11105 |
*${as_nl}ac_space=\ *) |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11106 |
# `set' does not quote correctly, so add quotes: double-quote
|
11107 |
# substitution turns \\\\ into \\, and sed turns \\ into \.
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11108 |
sed -n \
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
11109 |
"s/'/'\\\\''/g;
|
11110 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11111 |
;; #( |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11112 |
*)
|
11113 |
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11114 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11115 |
;;
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11116 |
esac | |
11117 |
sort |
|
11118 |
) | |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11119 |
sed '
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11120 |
/^ac_cv_env_/b end
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11121 |
t clear
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11122 |
:clear
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11123 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
11124 |
t end
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11125 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
11126 |
:end' >>confcache
|
|
11127 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
|
11128 |
if test -w "$cache_file"; then |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11129 |
if test "x$cache_file" != "x/dev/null"; then |
36
by Arnold D. Robbins
Move to 3.1.8. |
11130 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11131 |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11132 |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
11133 |
cat confcache >"$cache_file" |
|
11134 |
else
|
|
11135 |
case $cache_file in #( |
|
11136 |
*/* | ?:*) |
|
11137 |
mv -f confcache "$cache_file"$$ && |
|
11138 |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
11139 |
*)
|
|
11140 |
mv -f confcache "$cache_file" ;; |
|
11141 |
esac
|
|
11142 |
fi
|
|
11143 |
fi
|
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
11144 |
else
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11145 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11146 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
11147 |
fi
|
11148 |
fi
|
|
11149 |
rm -f confcache |
|
11150 |
||
11151 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|
11152 |
# Let make expand exec_prefix.
|
|
11153 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
11154 |
||
11155 |
DEFS=-DHAVE_CONFIG_H |
|
11156 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11157 |
ac_libobjs= |
11158 |
ac_ltlibobjs= |
|
277.1.45
by Arnold D. Robbins
Remove use of AC_C_PROTOTYPE. |
11159 |
U= |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11160 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
11161 |
# 1. Remove the extension, and $U if already installed.
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11162 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11163 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11164 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
11165 |
# will be set to the directory where LIBOBJS objects are built.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11166 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
11167 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11168 |
done
|
11169 |
LIBOBJS=$ac_libobjs |
|
11170 |
||
11171 |
LTLIBOBJS=$ac_ltlibobjs |
|
11172 |
||
11173 |
||
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
11174 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
11175 |
$as_echo_n "checking that generated files are newer than configure... " >&6; } |
|
11176 |
if test -n "$am_sleep_pid"; then |
|
11177 |
# Hide warnings about reused PIDs.
|
|
11178 |
wait $am_sleep_pid 2>/dev/null |
|
11179 |
fi
|
|
11180 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
|
11181 |
$as_echo "done" >&6; } |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11182 |
if test -n "$EXEEXT"; then |
11183 |
am__EXEEXT_TRUE= |
|
11184 |
am__EXEEXT_FALSE='#' |
|
11185 |
else
|
|
11186 |
am__EXEEXT_TRUE='#' |
|
11187 |
am__EXEEXT_FALSE= |
|
11188 |
fi
|
|
11189 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11190 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11191 |
as_fn_error $? "conditional \"AMDEP\" was never defined. |
11192 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
11193 |
fi
|
|
11194 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
|
11195 |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
|
11196 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
11197 |
fi
|
|
403
by Arnold D. Robbins
Additional changes for cross-compiling. |
11198 |
if test -z "${TEST_CROSS_COMPILE_TRUE}" && test -z "${TEST_CROSS_COMPILE_FALSE}"; then |
11199 |
as_fn_error $? "conditional \"TEST_CROSS_COMPILE\" was never defined. |
|
11200 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
11201 |
fi
|
|
408.21.1
by Arnold D. Robbins
Rework zOS patches; keep separate from autotools. |
11202 |
if test -z "${ENABLE_EXTENSIONS_TRUE}" && test -z "${ENABLE_EXTENSIONS_FALSE}"; then |
11203 |
as_fn_error $? "conditional \"ENABLE_EXTENSIONS\" was never defined. |
|
11204 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
11205 |
fi
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11206 |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11207 |
: "${CONFIG_STATUS=./config.status}" |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11208 |
ac_write_fail=0 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11209 |
ac_clean_files_save=$ac_clean_files |
11210 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11211 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11212 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
36
by Arnold D. Robbins
Move to 3.1.8. |
11213 |
as_write_fail=0 |
11214 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11215 |
#! $SHELL
|
11216 |
# Generated by $as_me.
|
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
11217 |
# Run this file to recreate the current configuration.
|
11218 |
# Compiler output produced by configure, useful for debugging
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11219 |
# configure, is in config.log if it exists.
|
11220 |
||
11221 |
debug=false
|
|
11222 |
ac_cs_recheck=false
|
|
11223 |
ac_cs_silent=false
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11224 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11225 |
SHELL=\${CONFIG_SHELL-$SHELL}
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11226 |
export SHELL
|
11227 |
_ASEOF
|
|
11228 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
|
11229 |
## -------------------- ##
|
|
11230 |
## M4sh Initialization. ##
|
|
11231 |
## -------------------- ##
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11232 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11233 |
# Be more Bourne compatible
|
11234 |
DUALCASE=1; export DUALCASE # for MKS sh
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11235 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11236 |
emulate sh
|
11237 |
NULLCMD=:
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11238 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11239 |
# is contrary to our usage. Disable this feature.
|
11240 |
alias -g '${1+"$@"}'='"$@"'
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11241 |
setopt NO_GLOB_SUBST
|
11242 |
else
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11243 |
case `(set -o) 2>/dev/null` in #(
|
11244 |
*posix*) :
|
|
11245 |
set -o posix ;; #(
|
|
11246 |
*) :
|
|
11247 |
;;
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11248 |
esac
|
11249 |
fi
|
|
11250 |
||
11251 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11252 |
as_nl='
|
11253 |
'
|
|
11254 |
export as_nl
|
|
11255 |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
|
11256 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
|
11257 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
11258 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11259 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
11260 |
# but without wasting forks for bash or zsh.
|
|
11261 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
11262 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
11263 |
as_echo='print -r --'
|
|
11264 |
as_echo_n='print -rn --'
|
|
11265 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11266 |
as_echo='printf %s\n'
|
11267 |
as_echo_n='printf %s'
|
|
11268 |
else
|
|
11269 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
|
11270 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
|
11271 |
as_echo_n='/usr/ucb/echo -n'
|
|
11272 |
else
|
|
11273 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
|
11274 |
as_echo_n_body='eval
|
|
11275 |
arg=$1;
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11276 |
case $arg in #(
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11277 |
*"$as_nl"*)
|
11278 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
|
11279 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
11280 |
esac;
|
|
11281 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|
11282 |
'
|
|
11283 |
export as_echo_n_body
|
|
11284 |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
|
11285 |
fi
|
|
11286 |
export as_echo_body
|
|
11287 |
as_echo='sh -c $as_echo_body as_echo'
|
|
11288 |
fi
|
|
11289 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11290 |
# The user is always right.
|
11291 |
if test "${PATH_SEPARATOR+set}" != set; then
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11292 |
PATH_SEPARATOR=:
|
11293 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
|
11294 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
|
11295 |
PATH_SEPARATOR=';'
|
|
11296 |
}
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11297 |
fi
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11298 |
|
11299 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11300 |
# IFS
|
11301 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
11302 |
# there to prevent editors from complaining about space-tab.
|
|
11303 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
|
11304 |
# splitting by setting IFS to empty value.)
|
|
11305 |
IFS=" "" $as_nl"
|
|
11306 |
||
11307 |
# Find who we are. Look in the path if we contain no directory separator.
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11308 |
as_myself=
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11309 |
case $0 in #((
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11310 |
*[\\/]* ) as_myself=$0 ;;
|
11311 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
11312 |
for as_dir in $PATH
|
|
11313 |
do
|
|
11314 |
IFS=$as_save_IFS
|
|
11315 |
test -z "$as_dir" && as_dir=.
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11316 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
11317 |
done
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11318 |
IFS=$as_save_IFS
|
11319 |
||
11320 |
;;
|
|
11321 |
esac
|
|
11322 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
11323 |
# in which case we are not to be found in the path.
|
|
11324 |
if test "x$as_myself" = x; then
|
|
11325 |
as_myself=$0
|
|
11326 |
fi
|
|
11327 |
if test ! -f "$as_myself"; then
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11328 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11329 |
exit 1
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11330 |
fi
|
11331 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
11332 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
11333 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
11334 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
11335 |
# trigger a bug in pdksh 5.2.14.
|
|
11336 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
11337 |
do eval test x\${$as_var+set} = xset \
|
|
11338 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11339 |
done
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11340 |
PS1='$ '
|
11341 |
PS2='> '
|
|
11342 |
PS4='+ '
|
|
11343 |
||
11344 |
# NLS nuisances.
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11345 |
LC_ALL=C
|
11346 |
export LC_ALL
|
|
11347 |
LANGUAGE=C
|
|
11348 |
export LANGUAGE
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11349 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11350 |
# CDPATH.
|
11351 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
11352 |
||
11353 |
||
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11354 |
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
11355 |
# ----------------------------------------
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11356 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
11357 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11358 |
# script with STATUS, using 1 if that was 0.
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11359 |
as_fn_error ()
|
11360 |
{
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11361 |
as_status=$1; test $as_status -eq 0 && as_status=1
|
11362 |
if test "$4"; then
|
|
11363 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
11364 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11365 |
fi
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11366 |
$as_echo "$as_me: error: $2" >&2
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11367 |
as_fn_exit $as_status
|
11368 |
} # as_fn_error
|
|
11369 |
||
11370 |
||
11371 |
# as_fn_set_status STATUS
|
|
11372 |
# -----------------------
|
|
11373 |
# Set $? to STATUS, without forking.
|
|
11374 |
as_fn_set_status ()
|
|
11375 |
{
|
|
11376 |
return $1
|
|
11377 |
} # as_fn_set_status
|
|
11378 |
||
11379 |
# as_fn_exit STATUS
|
|
11380 |
# -----------------
|
|
11381 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
11382 |
as_fn_exit ()
|
|
11383 |
{
|
|
11384 |
set +e
|
|
11385 |
as_fn_set_status $1
|
|
11386 |
exit $1
|
|
11387 |
} # as_fn_exit
|
|
11388 |
||
11389 |
# as_fn_unset VAR
|
|
11390 |
# ---------------
|
|
11391 |
# Portably unset VAR.
|
|
11392 |
as_fn_unset ()
|
|
11393 |
{
|
|
11394 |
{ eval $1=; unset $1;}
|
|
11395 |
}
|
|
11396 |
as_unset=as_fn_unset
|
|
11397 |
# as_fn_append VAR VALUE
|
|
11398 |
# ----------------------
|
|
11399 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
11400 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
11401 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
11402 |
# implementations.
|
|
11403 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
11404 |
eval 'as_fn_append ()
|
|
11405 |
{
|
|
11406 |
eval $1+=\$2
|
|
11407 |
}'
|
|
11408 |
else
|
|
11409 |
as_fn_append ()
|
|
11410 |
{
|
|
11411 |
eval $1=\$$1\$2
|
|
11412 |
}
|
|
11413 |
fi # as_fn_append
|
|
11414 |
||
11415 |
# as_fn_arith ARG...
|
|
11416 |
# ------------------
|
|
11417 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
11418 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
11419 |
# must be portable across $(()) and expr.
|
|
11420 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
11421 |
eval 'as_fn_arith ()
|
|
11422 |
{
|
|
11423 |
as_val=$(( $* ))
|
|
11424 |
}'
|
|
11425 |
else
|
|
11426 |
as_fn_arith ()
|
|
11427 |
{
|
|
11428 |
as_val=`expr "$@" || test $? -eq 1`
|
|
11429 |
}
|
|
11430 |
fi # as_fn_arith
|
|
11431 |
||
11432 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11433 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
11434 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11435 |
as_expr=expr
|
11436 |
else
|
|
11437 |
as_expr=false
|
|
11438 |
fi
|
|
11439 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11440 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11441 |
as_basename=basename
|
11442 |
else
|
|
11443 |
as_basename=false
|
|
11444 |
fi
|
|
11445 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
11446 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
11447 |
as_dirname=dirname
|
|
11448 |
else
|
|
11449 |
as_dirname=false
|
|
11450 |
fi
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11451 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11452 |
as_me=`$as_basename -- "$0" ||
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11453 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
11454 |
X"$0" : 'X\(//\)$' \| \
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11455 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11456 |
$as_echo X/"$0" |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11457 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
11458 |
s//\1/
|
|
11459 |
q
|
|
11460 |
}
|
|
11461 |
/^X\/\(\/\/\)$/{
|
|
11462 |
s//\1/
|
|
11463 |
q
|
|
11464 |
}
|
|
11465 |
/^X\/\(\/\).*/{
|
|
11466 |
s//\1/
|
|
11467 |
q
|
|
11468 |
}
|
|
11469 |
s/.*/./; q'`
|
|
11470 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
11471 |
# Avoid depending upon Character Ranges.
|
11472 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
11473 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
11474 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
11475 |
as_cr_digits='0123456789'
|
|
11476 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11477 |
|
11478 |
ECHO_C= ECHO_N= ECHO_T=
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11479 |
case `echo -n x` in #(((((
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11480 |
-n*)
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11481 |
case `echo 'xy\c'` in
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11482 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11483 |
xy) ECHO_C='\c';;
|
11484 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
11485 |
ECHO_T=' ';;
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11486 |
esac;;
|
11487 |
*)
|
|
11488 |
ECHO_N='-n';;
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11489 |
esac
|
11490 |
||
11491 |
rm -f conf$$ conf$$.exe conf$$.file
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11492 |
if test -d conf$$.dir; then
|
11493 |
rm -f conf$$.dir/conf$$.file
|
|
11494 |
else
|
|
11495 |
rm -f conf$$.dir
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11496 |
mkdir conf$$.dir 2>/dev/null
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11497 |
fi
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11498 |
if (echo >conf$$.file) 2>/dev/null; then
|
11499 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
11500 |
as_ln_s='ln -s'
|
|
11501 |
# ... but there are two gotchas:
|
|
11502 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
11503 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
11504 |
# In both cases, we have to default to `cp -pR'.
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11505 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
11506 |
as_ln_s='cp -pR'
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11507 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
11508 |
as_ln_s=ln
|
|
11509 |
else
|
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
11510 |
as_ln_s='cp -pR'
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11511 |
fi
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11512 |
else
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
11513 |
as_ln_s='cp -pR'
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11514 |
fi
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11515 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
11516 |
rmdir conf$$.dir 2>/dev/null
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11517 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11518 |
|
11519 |
# as_fn_mkdir_p
|
|
11520 |
# -------------
|
|
11521 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
11522 |
as_fn_mkdir_p ()
|
|
11523 |
{
|
|
11524 |
||
11525 |
case $as_dir in #(
|
|
11526 |
-*) as_dir=./$as_dir;;
|
|
11527 |
esac
|
|
11528 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
|
11529 |
as_dirs=
|
|
11530 |
while :; do
|
|
11531 |
case $as_dir in #(
|
|
11532 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
11533 |
*) as_qdir=$as_dir;;
|
|
11534 |
esac
|
|
11535 |
as_dirs="'$as_qdir' $as_dirs"
|
|
11536 |
as_dir=`$as_dirname -- "$as_dir" ||
|
|
11537 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
11538 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
11539 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
11540 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
11541 |
$as_echo X"$as_dir" |
|
|
11542 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
11543 |
s//\1/
|
|
11544 |
q
|
|
11545 |
}
|
|
11546 |
/^X\(\/\/\)[^/].*/{
|
|
11547 |
s//\1/
|
|
11548 |
q
|
|
11549 |
}
|
|
11550 |
/^X\(\/\/\)$/{
|
|
11551 |
s//\1/
|
|
11552 |
q
|
|
11553 |
}
|
|
11554 |
/^X\(\/\).*/{
|
|
11555 |
s//\1/
|
|
11556 |
q
|
|
11557 |
}
|
|
11558 |
s/.*/./; q'`
|
|
11559 |
test -d "$as_dir" && break
|
|
11560 |
done
|
|
11561 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11562 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11563 |
|
11564 |
||
11565 |
} # as_fn_mkdir_p
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11566 |
if mkdir -p . 2>/dev/null; then
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11567 |
as_mkdir_p='mkdir -p "$as_dir"'
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11568 |
else
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
11569 |
test -d ./-p && rmdir ./-p
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11570 |
as_mkdir_p=false
|
11571 |
fi
|
|
11572 |
||
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
11573 |
|
11574 |
# as_fn_executable_p FILE
|
|
11575 |
# -----------------------
|
|
11576 |
# Test if FILE is an executable regular file.
|
|
11577 |
as_fn_executable_p ()
|
|
11578 |
{
|
|
11579 |
test -f "$1" && test -x "$1"
|
|
11580 |
} # as_fn_executable_p
|
|
11581 |
as_test_x='test -x'
|
|
11582 |
as_executable_p=as_fn_executable_p
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11583 |
|
11584 |
# Sed expression to map a string onto a valid CPP name.
|
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
11585 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11586 |
|
11587 |
# Sed expression to map a string onto a valid variable name.
|
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
11588 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11589 |
|
11590 |
||
11591 |
exec 6>&1
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11592 |
## ----------------------------------- ##
|
11593 |
## Main body of $CONFIG_STATUS script. ##
|
|
11594 |
## ----------------------------------- ##
|
|
11595 |
_ASEOF
|
|
11596 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11597 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11598 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
11599 |
# Save the log message, to keep $0 and so on meaningful, and to
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11600 |
# report actual input values of CONFIG_FILES etc. instead of their
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11601 |
# values after options handling.
|
11602 |
ac_log="
|
|
731.14.38
by Arnold D. Robbins
Change version towards next release. |
11603 |
This file was extended by GNU Awk $as_me 4.2.60, which was
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
11604 |
generated by GNU Autoconf 2.69. Invocation command line was
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11605 |
|
11606 |
CONFIG_FILES = $CONFIG_FILES
|
|
11607 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
11608 |
CONFIG_LINKS = $CONFIG_LINKS
|
|
11609 |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
|
11610 |
$ $0 $@
|
|
11611 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11612 |
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
11613 |
"
|
|
11614 |
||
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11615 |
_ACEOF
|
11616 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11617 |
case $ac_config_files in *" |
11618 |
"*) set x $ac_config_files; shift; ac_config_files=$*;; |
|
11619 |
esac
|
|
11620 |
||
11621 |
case $ac_config_headers in *" |
|
11622 |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
|
11623 |
esac
|
|
11624 |
||
11625 |
||
11626 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11627 |
# Files that config.status was made for.
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11628 |
config_files="$ac_config_files"
|
11629 |
config_headers="$ac_config_headers"
|
|
11630 |
config_commands="$ac_config_commands"
|
|
11631 |
||
11632 |
_ACEOF
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11633 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11634 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11635 |
ac_cs_usage="\
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11636 |
\`$as_me' instantiates files and other configuration actions
|
11637 |
from templates according to the current configuration. Unless the files
|
|
11638 |
and actions are specified as TAGs, all are instantiated by default.
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11639 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11640 |
Usage: $0 [OPTION]... [TAG]...
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11641 |
|
11642 |
-h, --help print this help, then exit
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11643 |
-V, --version print version number and configuration settings, then exit
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11644 |
--config print configuration, then exit
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11645 |
-q, --quiet, --silent
|
11646 |
do not print progress messages
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11647 |
-d, --debug don't remove temporary files
|
11648 |
--recheck update $as_me by reconfiguring in the same conditions
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11649 |
--file=FILE[:TEMPLATE]
|
11650 |
instantiate the configuration file FILE
|
|
11651 |
--header=FILE[:TEMPLATE]
|
|
11652 |
instantiate the configuration header FILE
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11653 |
|
11654 |
Configuration files:
|
|
11655 |
$config_files
|
|
11656 |
||
11657 |
Configuration headers:
|
|
11658 |
$config_headers
|
|
11659 |
||
11660 |
Configuration commands:
|
|
11661 |
$config_commands
|
|
11662 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
11663 |
Report bugs to <bug-gawk@gnu.org>.
|
11664 |
GNU Awk home page: <http://www.gnu.org/software/gawk/>.
|
|
11665 |
General help using GNU software: <http://www.gnu.org/gethelp/>."
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11666 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11667 |
_ACEOF
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11668 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
36
by Arnold D. Robbins
Move to 3.1.8. |
11669 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11670 |
ac_cs_version="\\
|
731.14.38
by Arnold D. Robbins
Change version towards next release. |
11671 |
GNU Awk config.status 4.2.60
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
11672 |
configured by $0, generated by GNU Autoconf 2.69,
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11673 |
with options \\"\$ac_cs_config\\"
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11674 |
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
11675 |
Copyright (C) 2012 Free Software Foundation, Inc.
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11676 |
This config.status script is free software; the Free Software Foundation
|
11677 |
gives unlimited permission to copy, distribute and modify it."
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11678 |
|
11679 |
ac_pwd='$ac_pwd'
|
|
11680 |
srcdir='$srcdir'
|
|
11681 |
INSTALL='$INSTALL'
|
|
11682 |
MKDIR_P='$MKDIR_P'
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11683 |
AWK='$AWK'
|
11684 |
test -n "\$AWK" || AWK=awk
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11685 |
_ACEOF
|
11686 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11687 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
11688 |
# The default lists apply if the user does not specify any file.
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11689 |
ac_need_defaults=:
|
11690 |
while test $# != 0
|
|
11691 |
do
|
|
11692 |
case $1 in
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11693 |
--*=?*)
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11694 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
11695 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11696 |
ac_shift=:
|
11697 |
;;
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11698 |
--*=)
|
11699 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|
11700 |
ac_optarg=
|
|
11701 |
ac_shift=:
|
|
11702 |
;;
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11703 |
*)
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11704 |
ac_option=$1
|
11705 |
ac_optarg=$2
|
|
11706 |
ac_shift=shift
|
|
11707 |
;;
|
|
11708 |
esac
|
|
11709 |
||
11710 |
case $ac_option in
|
|
11711 |
# Handling of the options.
|
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
11712 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11713 |
ac_cs_recheck=: ;;
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11714 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11715 |
$as_echo "$ac_cs_version"; exit ;;
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11716 |
--config | --confi | --conf | --con | --co | --c )
|
11717 |
$as_echo "$ac_cs_config"; exit ;;
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11718 |
--debug | --debu | --deb | --de | --d | -d )
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11719 |
debug=: ;;
|
11720 |
--file | --fil | --fi | --f )
|
|
11721 |
$ac_shift
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11722 |
case $ac_optarg in
|
11723 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11724 |
'') as_fn_error $? "missing file argument" ;;
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11725 |
esac
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11726 |
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11727 |
ac_need_defaults=false;;
|
11728 |
--header | --heade | --head | --hea )
|
|
11729 |
$ac_shift
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11730 |
case $ac_optarg in
|
11731 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
11732 |
esac
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11733 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11734 |
ac_need_defaults=false;;
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11735 |
--he | --h)
|
11736 |
# Conflict between --help and --header
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11737 |
as_fn_error $? "ambiguous option: \`$1'
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11738 |
Try \`$0 --help' for more information.";;
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11739 |
--help | --hel | -h )
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11740 |
$as_echo "$ac_cs_usage"; exit ;;
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11741 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
11742 |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
|
11743 |
ac_cs_silent=: ;;
|
|
11744 |
||
11745 |
# This is an error.
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11746 |
-*) as_fn_error $? "unrecognized option: \`$1'
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11747 |
Try \`$0 --help' for more information." ;;
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11748 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11749 |
*) as_fn_append ac_config_targets " $1"
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11750 |
ac_need_defaults=false ;;
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11751 |
|
11752 |
esac
|
|
11753 |
shift
|
|
11754 |
done
|
|
11755 |
||
11756 |
ac_configure_extra_args=
|
|
11757 |
||
11758 |
if $ac_cs_silent; then
|
|
11759 |
exec 6>/dev/null
|
|
11760 |
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
|
11761 |
fi
|
|
11762 |
||
11763 |
_ACEOF
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11764 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11765 |
if \$ac_cs_recheck; then
|
277.1.135
by Arnold D. Robbins
Upgrade infrastructure to autoconf 2.69, automake 1.12. |
11766 |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11767 |
shift
|
11768 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
|
11769 |
CONFIG_SHELL='$SHELL'
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11770 |
export CONFIG_SHELL
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11771 |
exec "\$@"
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11772 |
fi
|
11773 |
||
11774 |
_ACEOF
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11775 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11776 |
exec 5>>config.log
|
11777 |
{
|
|
11778 |
echo
|
|
11779 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
|
11780 |
## Running $as_me. ##
|
|
11781 |
_ASBOX
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11782 |
$as_echo "$ac_log"
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11783 |
} >&5
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11784 |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11785 |
_ACEOF
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11786 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11787 |
#
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11788 |
# INIT-COMMANDS
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11789 |
#
|
731.17.29
by Arnold D. Robbins
Upgrade to Automake 1.16.1. |
11790 |
AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11791 |
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
11792 |
# POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11793 |
# from automake < 1.5.
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
11794 |
eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11795 |
# Capture the value of LINGUAS because we need it to compute CATALOGS.
|
11796 |
LINGUAS="${LINGUAS-%UNSET%}"
|
|
11797 |
||
11798 |
||
11799 |
_ACEOF
|
|
11800 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11801 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11802 |
|
11803 |
# Handling of arguments.
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11804 |
for ac_config_target in $ac_config_targets
|
11805 |
do
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11806 |
case $ac_config_target in
|
11807 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
|
11808 |
"po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
|
|
11809 |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:configh.in" ;;
|
|
11810 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
|
731.1.10
by Arnold D. Robbins
Add small regex fix. Add support directory. |
11811 |
"support/Makefile") CONFIG_FILES="$CONFIG_FILES support/Makefile" ;;
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11812 |
"awklib/Makefile") CONFIG_FILES="$CONFIG_FILES awklib/Makefile" ;;
|
11813 |
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
|
|
408.9.55
by Andrew J. Schorr
Add extras directory with shell startup files containing path manipulation functions. |
11814 |
"extras/Makefile") CONFIG_FILES="$CONFIG_FILES extras/Makefile" ;;
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11815 |
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
|
11816 |
"test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
|
|
11817 |
||
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11818 |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11819 |
esac
|
11820 |
done
|
|
11821 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11822 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11823 |
# If the user did not use the arguments to specify the items to instantiate,
|
11824 |
# then the envvar interface is used. Set only those that are not.
|
|
11825 |
# We use the long form for the default assignment because of an extremely
|
|
11826 |
# bizarre bug on SunOS 4.1.3.
|
|
11827 |
if $ac_need_defaults; then
|
|
11828 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
|
11829 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
|
11830 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
|
11831 |
fi
|
|
11832 |
||
11833 |
# Have a temporary directory for convenience. Make it in the build tree
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11834 |
# simply because there is no reason against having it here, and in addition,
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11835 |
# creating and moving files from /tmp can sometimes cause problems.
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11836 |
# Hook for its removal unless debugging.
|
11837 |
# Note that there is a small window in which the directory will not be cleaned:
|
|
11838 |
# after its creation but before its name has been assigned to `$tmp'.
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11839 |
$debug ||
|
11840 |
{
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11841 |
tmp= ac_tmp=
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11842 |
trap 'exit_status=$?
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11843 |
: "${ac_tmp:=$tmp}"
|
11844 |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11845 |
' 0
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11846 |
trap 'as_fn_exit 1' 1 2 13 15
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11847 |
}
|
11848 |
# Create a (secure) tmp directory for tmp files.
|
|
11849 |
||
11850 |
{
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11851 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11852 |
test -d "$tmp"
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11853 |
} ||
|
11854 |
{
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11855 |
tmp=./conf$$-$RANDOM
|
11856 |
(umask 077 && mkdir "$tmp")
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11857 |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
11858 |
ac_tmp=$tmp
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
11859 |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11860 |
# Set up the scripts for CONFIG_FILES section.
|
11861 |
# No need to generate them if there are no CONFIG_FILES.
|
|
11862 |
# This happens for instance with `./config.status config.h'.
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11863 |
if test -n "$CONFIG_FILES"; then
|
11864 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11865 |
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11866 |
ac_cr=`echo X | tr X '\015'`
|
11867 |
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
|
11868 |
# But we know of no other shell where ac_cr would be empty at this
|
|
11869 |
# point, so we can use a bashism as a fallback.
|
|
11870 |
if test "x$ac_cr" = x; then
|
|
11871 |
eval ac_cr=\$\'\\r\'
|
|
11872 |
fi
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11873 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
11874 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11875 |
ac_cs_awk_cr='\\r'
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11876 |
else
|
11877 |
ac_cs_awk_cr=$ac_cr
|
|
11878 |
fi
|
|
11879 |
||
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11880 |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11881 |
_ACEOF
|
11882 |
||
11883 |
||
11884 |
{
|
|
11885 |
echo "cat >conf$$subs.awk <<_ACEOF" && |
|
11886 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
|
11887 |
echo "_ACEOF" |
|
11888 |
} >conf$$subs.sh || |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11889 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
11890 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11891 |
ac_delim='%!_!# ' |
11892 |
for ac_last_try in false false false false false :; do |
|
11893 |
. ./conf$$subs.sh || |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11894 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11895 |
|
11896 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
|
11897 |
if test $ac_delim_n = $ac_delim_num; then |
|
11898 |
break
|
|
11899 |
elif $ac_last_try; then |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11900 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11901 |
else
|
11902 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
11903 |
fi
|
|
11904 |
done
|
|
11905 |
rm -f conf$$subs.sh
|
|
11906 |
||
11907 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11908 |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11909 |
_ACEOF
|
11910 |
sed -n '
|
|
11911 |
h
|
|
11912 |
s/^/S["/; s/!.*/"]=/
|
|
11913 |
p
|
|
11914 |
g
|
|
11915 |
s/^[^!]*!//
|
|
11916 |
:repl
|
|
11917 |
t repl
|
|
11918 |
s/'"$ac_delim"'$// |
|
11919 |
t delim
|
|
11920 |
:nl
|
|
11921 |
h
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11922 |
s/\(.\{148\}\)..*/\1/
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11923 |
t more1
|
11924 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
|
11925 |
p
|
|
11926 |
n
|
|
11927 |
b repl
|
|
11928 |
:more1
|
|
11929 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
|
11930 |
p
|
|
11931 |
g
|
|
11932 |
s/.\{148\}//
|
|
11933 |
t nl
|
|
11934 |
:delim
|
|
11935 |
h
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
11936 |
s/\(.\{148\}\)..*/\1/
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11937 |
t more2
|
11938 |
s/["\\]/\\&/g; s/^/"/; s/$/"/
|
|
11939 |
p
|
|
11940 |
b
|
|
11941 |
:more2
|
|
11942 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
|
11943 |
p
|
|
11944 |
g
|
|
11945 |
s/.\{148\}//
|
|
11946 |
t delim
|
|
11947 |
' <conf$$subs.awk | sed ' |
|
11948 |
/^[^""]/{
|
|
11949 |
N
|
|
11950 |
s/\n//
|
|
11951 |
}
|
|
11952 |
' >>$CONFIG_STATUS || ac_write_fail=1 |
|
11953 |
rm -f conf$$subs.awk
|
|
11954 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
11955 |
_ACAWK
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11956 |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11957 |
for (key in S) S_is_set[key] = 1
|
11958 |
FS = ""
|
|
11959 |
||
11960 |
}
|
|
11961 |
{
|
|
11962 |
line = $ 0
|
|
11963 |
nfields = split(line, field, "@")
|
|
11964 |
substed = 0
|
|
11965 |
len = length(field[1])
|
|
11966 |
for (i = 2; i < nfields; i++) {
|
|
11967 |
key = field[i]
|
|
11968 |
keylen = length(key)
|
|
11969 |
if (S_is_set[key]) {
|
|
11970 |
value = S[key]
|
|
11971 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
|
11972 |
len += length(value) + length(field[++i])
|
|
11973 |
substed = 1
|
|
11974 |
} else
|
|
11975 |
len += 1 + keylen
|
|
11976 |
}
|
|
11977 |
||
11978 |
print line
|
|
11979 |
}
|
|
11980 |
||
11981 |
_ACAWK
|
|
11982 |
_ACEOF
|
|
11983 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
11984 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
|
11985 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
|
11986 |
else
|
|
11987 |
cat
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11988 |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|
11989 |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
11990 |
_ACEOF
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11991 |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11992 |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
|
11993 |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
11994 |
# trailing colons and then remove the whole line if VPATH becomes empty
|
11995 |
# (actually we leave an empty line to preserve line numbers).
|
|
11996 |
if test "x$srcdir" = x.; then |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
11997 |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
11998 |
h
|
|
11999 |
s///
|
|
12000 |
s/^/:/
|
|
12001 |
s/[ ]*$/:/
|
|
12002 |
s/:\$(srcdir):/:/g
|
|
12003 |
s/:\${srcdir}:/:/g
|
|
12004 |
s/:@srcdir@:/:/g
|
|
12005 |
s/^:*//
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12006 |
s/:*$//
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
12007 |
x
|
12008 |
s/\(=[ ]*\).*/\1/
|
|
12009 |
G
|
|
12010 |
s/\n//
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12011 |
s/^[^=]*=[ ]*$//
|
12012 |
}'
|
|
12013 |
fi
|
|
12014 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12015 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
12016 |
fi # test -n "$CONFIG_FILES"
|
12017 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12018 |
# Set up the scripts for CONFIG_HEADERS section.
|
12019 |
# No need to generate them if there are no CONFIG_HEADERS.
|
|
12020 |
# This happens for instance with `./config.status Makefile'.
|
|
12021 |
if test -n "$CONFIG_HEADERS"; then
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
12022 |
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12023 |
BEGIN {
|
12024 |
_ACEOF
|
|
12025 |
||
12026 |
# Transform confdefs.h into an awk script `defines.awk', embedded as
|
|
12027 |
# here-document in config.status, that substitutes the proper values into
|
|
12028 |
# config.h.in to produce config.h.
|
|
12029 |
||
12030 |
# Create a delimiter string that does not exist in confdefs.h, to ease
|
|
12031 |
# handling of long lines.
|
|
12032 |
ac_delim='%!_!# ' |
|
12033 |
for ac_last_try in false false :; do |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
12034 |
ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
12035 |
if test -z "$ac_tt"; then |
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12036 |
break
|
12037 |
elif $ac_last_try; then |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
12038 |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12039 |
else
|
12040 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
12041 |
fi
|
|
12042 |
done
|
|
12043 |
||
12044 |
# For the awk script, D is an array of macro values keyed by name,
|
|
12045 |
# likewise P contains macro parameters if any. Preserve backslash
|
|
12046 |
# newline sequences.
|
|
12047 |
||
12048 |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
|
12049 |
sed -n '
|
|
12050 |
s/.\{148\}/&'"$ac_delim"'/g |
|
12051 |
t rset
|
|
12052 |
:rset
|
|
12053 |
s/^[ ]*#[ ]*define[ ][ ]*/ /
|
|
12054 |
t def
|
|
12055 |
d
|
|
12056 |
:def
|
|
12057 |
s/\\$//
|
|
12058 |
t bsnl
|
|
12059 |
s/["\\]/\\&/g
|
|
12060 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
12061 |
D["\1"]=" \3"/p
|
|
12062 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
|
12063 |
d
|
|
12064 |
:bsnl
|
|
12065 |
s/["\\]/\\&/g
|
|
12066 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
12067 |
D["\1"]=" \3\\\\\\n"\\/p
|
|
12068 |
t cont
|
|
12069 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
|
12070 |
t cont
|
|
12071 |
d
|
|
12072 |
:cont
|
|
12073 |
n
|
|
12074 |
s/.\{148\}/&'"$ac_delim"'/g |
|
12075 |
t clear
|
|
12076 |
:clear
|
|
12077 |
s/\\$//
|
|
12078 |
t bsnlc
|
|
12079 |
s/["\\]/\\&/g; s/^/"/; s/$/"/p
|
|
12080 |
d
|
|
12081 |
:bsnlc
|
|
12082 |
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
|
|
12083 |
b cont
|
|
12084 |
' <confdefs.h | sed ' |
|
12085 |
s/'"$ac_delim"'/"\\\ |
|
12086 |
"/g' >>$CONFIG_STATUS || ac_write_fail=1 |
|
12087 |
||
12088 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
12089 |
for (key in D) D_is_set[key] = 1
|
|
12090 |
FS = ""
|
|
12091 |
}
|
|
12092 |
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
|
|
12093 |
line = \$ 0
|
|
12094 |
split(line, arg, " ")
|
|
12095 |
if (arg[1] == "#") {
|
|
12096 |
defundef = arg[2]
|
|
12097 |
mac1 = arg[3]
|
|
12098 |
} else {
|
|
12099 |
defundef = substr(arg[1], 2)
|
|
12100 |
mac1 = arg[2]
|
|
12101 |
}
|
|
12102 |
split(mac1, mac2, "(") #)
|
|
12103 |
macro = mac2[1]
|
|
12104 |
prefix = substr(line, 1, index(line, defundef) - 1)
|
|
12105 |
if (D_is_set[macro]) {
|
|
12106 |
# Preserve the white space surrounding the "#".
|
|
12107 |
print prefix "define", macro P[macro] D[macro]
|
|
12108 |
next
|
|
12109 |
} else {
|
|
12110 |
# Replace #undef with comments. This is necessary, for example,
|
|
12111 |
# in the case of _POSIX_SOURCE, which is predefined and required
|
|
12112 |
# on some systems where configure will not decide to define it.
|
|
12113 |
if (defundef == "undef") {
|
|
12114 |
print "/*", prefix defundef, macro, "*/"
|
|
12115 |
next
|
|
12116 |
}
|
|
12117 |
}
|
|
12118 |
}
|
|
12119 |
{ print }
|
|
12120 |
_ACAWK
|
|
12121 |
_ACEOF
|
|
12122 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
12123 |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12124 |
fi # test -n "$CONFIG_HEADERS"
|
12125 |
||
12126 |
||
12127 |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
|
|
12128 |
shift
|
|
12129 |
for ac_tag
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12130 |
do
|
12131 |
case $ac_tag in
|
|
12132 |
:[FHLC]) ac_mode=$ac_tag; continue;;
|
|
12133 |
esac
|
|
12134 |
case $ac_mode$ac_tag in
|
|
12135 |
:[FHL]*:*);;
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
12136 |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12137 |
:[FH]-) ac_tag=-:-;;
|
12138 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
|
12139 |
esac
|
|
12140 |
ac_save_IFS=$IFS
|
|
12141 |
IFS=:
|
|
12142 |
set x $ac_tag
|
|
12143 |
IFS=$ac_save_IFS
|
|
12144 |
shift
|
|
12145 |
ac_file=$1
|
|
12146 |
shift
|
|
12147 |
||
12148 |
case $ac_mode in
|
|
12149 |
:L) ac_source=$1;;
|
|
12150 |
:[FH])
|
|
12151 |
ac_file_inputs=
|
|
12152 |
for ac_f
|
|
12153 |
do
|
|
12154 |
case $ac_f in
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
12155 |
-) ac_f="$ac_tmp/stdin";;
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12156 |
*) # Look for the file first in the build tree, then in the source tree
|
12157 |
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
|
12158 |
# because $ac_f cannot contain `:'.
|
|
12159 |
test -f "$ac_f" ||
|
|
12160 |
case $ac_f in
|
|
12161 |
[\\/$]*) false;;
|
|
12162 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
|
12163 |
esac ||
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
12164 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12165 |
esac
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12166 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
36
by Arnold D. Robbins
Move to 3.1.8. |
12167 |
as_fn_append ac_file_inputs " '$ac_f'"
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12168 |
done
|
12169 |
||
12170 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
12171 |
# use $as_me), people would be surprised to read:
|
|
12172 |
# /* config.h. Generated by config.status. */
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12173 |
configure_input='Generated from '`
|
12174 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
|
12175 |
`' by configure.'
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12176 |
if test x"$ac_file" != x-; then
|
12177 |
configure_input="$ac_file. $configure_input"
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
12178 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12179 |
$as_echo "$as_me: creating $ac_file" >&6;}
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12180 |
fi
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12181 |
# Neutralize special characters interpreted by sed in replacement strings.
|
12182 |
case $configure_input in #(
|
|
12183 |
*\&* | *\|* | *\\* )
|
|
12184 |
ac_sed_conf_input=`$as_echo "$configure_input" |
|
|
12185 |
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
|
12186 |
*) ac_sed_conf_input=$configure_input;;
|
|
12187 |
esac
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12188 |
|
12189 |
case $ac_tag in
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
12190 |
*:-:* | *:-) cat >"$ac_tmp/stdin" \
|
12191 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12192 |
esac
|
12193 |
;;
|
|
12194 |
esac
|
|
12195 |
||
12196 |
ac_dir=`$as_dirname -- "$ac_file" ||
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
12197 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
12198 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
12199 |
X"$ac_file" : 'X\(//\)$' \| \
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12200 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12201 |
$as_echo X"$ac_file" |
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12202 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
12203 |
s//\1/
|
|
12204 |
q
|
|
12205 |
}
|
|
12206 |
/^X\(\/\/\)[^/].*/{
|
|
12207 |
s//\1/
|
|
12208 |
q
|
|
12209 |
}
|
|
12210 |
/^X\(\/\/\)$/{
|
|
12211 |
s//\1/
|
|
12212 |
q
|
|
12213 |
}
|
|
12214 |
/^X\(\/\).*/{
|
|
12215 |
s//\1/
|
|
12216 |
q
|
|
12217 |
}
|
|
12218 |
s/.*/./; q'`
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
12219 |
as_dir="$ac_dir"; as_fn_mkdir_p
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
12220 |
ac_builddir=.
|
12221 |
||
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12222 |
case "$ac_dir" in
|
12223 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
12224 |
*)
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12225 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12226 |
# A ".." for each directory in $ac_dir_suffix.
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12227 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12228 |
case $ac_top_builddir_sub in
|
12229 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
12230 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
12231 |
esac ;;
|
|
12232 |
esac
|
|
12233 |
ac_abs_top_builddir=$ac_pwd
|
|
12234 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
|
12235 |
# for backward compatibility:
|
|
12236 |
ac_top_builddir=$ac_top_build_prefix
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
12237 |
|
12238 |
case $srcdir in
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12239 |
.) # We are building in place.
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
12240 |
ac_srcdir=.
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12241 |
ac_top_srcdir=$ac_top_builddir_sub
|
12242 |
ac_abs_top_srcdir=$ac_pwd ;;
|
|
12243 |
[\\/]* | ?:[\\/]* ) # Absolute name.
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
12244 |
ac_srcdir=$srcdir$ac_dir_suffix;
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12245 |
ac_top_srcdir=$srcdir
|
12246 |
ac_abs_top_srcdir=$srcdir ;;
|
|
12247 |
*) # Relative name.
|
|
12248 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
|
12249 |
ac_top_srcdir=$ac_top_build_prefix$srcdir
|
|
12250 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
|
12251 |
esac
|
|
12252 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
|
12253 |
||
12254 |
||
12255 |
case $ac_mode in
|
|
12256 |
:F)
|
|
12257 |
#
|
|
12258 |
# CONFIG_FILE
|
|
12259 |
#
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
12260 |
|
12261 |
case $INSTALL in
|
|
12262 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12263 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
12264 |
esac
|
|
12265 |
ac_MKDIR_P=$MKDIR_P
|
|
12266 |
case $MKDIR_P in
|
|
12267 |
[\\/$]* | ?:[\\/]* ) ;;
|
|
12268 |
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
|
|
12269 |
esac
|
|
12270 |
_ACEOF
|
|
12271 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12272 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12273 |
# If the template does not know about datarootdir, expand it.
|
12274 |
# FIXME: This hack should be removed a few years after 2.60.
|
|
12275 |
ac_datarootdir_hack=; ac_datarootdir_seen=
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12276 |
ac_sed_dataroot='
|
12277 |
/datarootdir/ {
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12278 |
p
|
12279 |
q
|
|
12280 |
}
|
|
12281 |
/@datadir@/p
|
|
12282 |
/@docdir@/p
|
|
12283 |
/@infodir@/p
|
|
12284 |
/@localedir@/p
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
12285 |
/@mandir@/p'
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12286 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12287 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
12288 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
12289 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12290 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12291 |
_ACEOF
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12292 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12293 |
ac_datarootdir_hack='
|
12294 |
s&@datadir@&$datadir&g
|
|
12295 |
s&@docdir@&$docdir&g
|
|
12296 |
s&@infodir@&$infodir&g
|
|
12297 |
s&@localedir@&$localedir&g
|
|
12298 |
s&@mandir@&$mandir&g
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
12299 |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12300 |
esac
|
12301 |
_ACEOF
|
|
12302 |
||
12303 |
# Neutralize VPATH when `$srcdir' = `.'.
|
|
12304 |
# Shell code in configure.ac might set extrasub.
|
|
12305 |
# FIXME: do we really want to maintain this feature?
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12306 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
12307 |
ac_sed_extra="$ac_vpsub
|
|
21
by Arnold D. Robbins
Move to gawk-3.0.0. |
12308 |
$extrasub
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
12309 |
_ACEOF
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12310 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
12311 |
:t
|
12312 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12313 |
s|@configure_input@|$ac_sed_conf_input|;t t
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12314 |
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12315 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12316 |
s&@srcdir@&$ac_srcdir&;t t
|
12317 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
|
12318 |
s&@top_srcdir@&$ac_top_srcdir&;t t
|
|
12319 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
|
12320 |
s&@builddir@&$ac_builddir&;t t
|
|
12321 |
s&@abs_builddir@&$ac_abs_builddir&;t t
|
|
12322 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
|
12323 |
s&@INSTALL@&$ac_INSTALL&;t t
|
|
12324 |
s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
|
12325 |
$ac_datarootdir_hack
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12326 |
"
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
12327 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
|
12328 |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12329 |
|
12330 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
12331 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
12332 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
|
12333 |
"$ac_tmp/out"`; test -z "$ac_out"; } &&
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
12334 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
12335 |
which seems to be undefined. Please make sure it is defined" >&5
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12336 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
12337 |
which seems to be undefined. Please make sure it is defined" >&2;}
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12338 |
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
12339 |
rm -f "$ac_tmp/stdin"
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12340 |
case $ac_file in
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
12341 |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
|
12342 |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12343 |
esac \
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
12344 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12345 |
;;
|
12346 |
:H)
|
|
12347 |
#
|
|
12348 |
# CONFIG_HEADER
|
|
12349 |
#
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
12350 |
if test x"$ac_file" != x-; then
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12351 |
{
|
12352 |
$as_echo "/* $configure_input */" \
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
12353 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
|
12354 |
} >"$ac_tmp/config.h" \
|
|
12355 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
|
12356 |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
|
|
36
by Arnold D. Robbins
Move to 3.1.8. |
12357 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12358 |
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
12359 |
else
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12360 |
rm -f "$ac_file"
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
12361 |
mv "$ac_tmp/config.h" "$ac_file" \
|
12362 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
12363 |
fi
|
12364 |
else
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12365 |
$as_echo "/* $configure_input */" \
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
12366 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|
12367 |
|| as_fn_error $? "could not create -" "$LINENO" 5
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
12368 |
fi
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12369 |
# Compute "$ac_file"'s index in $config_headers.
|
12370 |
_am_arg="$ac_file"
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
12371 |
_am_stamp_count=1
|
12372 |
for _am_header in $config_headers :; do
|
|
12373 |
case $_am_header in
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12374 |
$_am_arg | $_am_arg:* )
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
12375 |
break ;;
|
12376 |
* )
|
|
12377 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
|
12378 |
esac
|
|
12379 |
done
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12380 |
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
|
12381 |
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
12382 |
X"$_am_arg" : 'X\(//\)[^/]' \| \
|
|
12383 |
X"$_am_arg" : 'X\(//\)$' \| \
|
|
12384 |
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
|
|
12385 |
$as_echo X"$_am_arg" |
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12386 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
12387 |
s//\1/
|
|
12388 |
q
|
|
12389 |
}
|
|
12390 |
/^X\(\/\/\)[^/].*/{
|
|
12391 |
s//\1/
|
|
12392 |
q
|
|
12393 |
}
|
|
12394 |
/^X\(\/\/\)$/{
|
|
12395 |
s//\1/
|
|
12396 |
q
|
|
12397 |
}
|
|
12398 |
/^X\(\/\).*/{
|
|
12399 |
s//\1/
|
|
12400 |
q
|
|
12401 |
}
|
|
12402 |
s/.*/./; q'`/stamp-h$_am_stamp_count
|
|
12403 |
;;
|
|
12404 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
12405 |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12406 |
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12407 |
;;
|
12408 |
esac
|
|
12409 |
||
12410 |
||
12411 |
case $ac_file$ac_mode in
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12412 |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
|
408.2.40
by Arnold D. Robbins
Update to automake 1.13.1. |
12413 |
# Older Autoconf quotes --file arguments for eval, but not when files
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12414 |
# are listed without --file. Let's play safe and only enable the eval
|
12415 |
# if we detect the quoting.
|
|
731.17.29
by Arnold D. Robbins
Upgrade to Automake 1.16.1. |
12416 |
# TODO: see whether this extra hack can be removed once we start
|
12417 |
# requiring Autoconf 2.70 or later.
|
|
12418 |
case $CONFIG_FILES in #(
|
|
12419 |
*\'*) :
|
|
12420 |
eval set x "$CONFIG_FILES" ;; #(
|
|
12421 |
*) :
|
|
12422 |
set x $CONFIG_FILES ;; #(
|
|
12423 |
*) :
|
|
12424 |
;;
|
|
12425 |
esac
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12426 |
shift
|
731.17.29
by Arnold D. Robbins
Upgrade to Automake 1.16.1. |
12427 |
# Used to flag and report bootstrapping failures.
|
12428 |
am_rc=0
|
|
12429 |
for am_mf
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12430 |
do
|
12431 |
# Strip MF so we end up with the name of the file.
|
|
731.17.29
by Arnold D. Robbins
Upgrade to Automake 1.16.1. |
12432 |
am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
|
12433 |
# Check whether this is an Automake generated Makefile which includes
|
|
12434 |
# dependency-tracking related rules and includes.
|
|
12435 |
# Grep'ing the whole file directly is not great: AIX grep has a line
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12436 |
# limit of 2048, but all sed's we know have understand at least 4000.
|
731.17.29
by Arnold D. Robbins
Upgrade to Automake 1.16.1. |
12437 |
sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
|
12438 |
|| continue
|
|
12439 |
am_dirpart=`$as_dirname -- "$am_mf" ||
|
|
12440 |
$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
12441 |
X"$am_mf" : 'X\(//\)[^/]' \| \
|
|
12442 |
X"$am_mf" : 'X\(//\)$' \| \
|
|
12443 |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
|
|
12444 |
$as_echo X"$am_mf" |
|
|
12445 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
12446 |
s//\1/
|
|
12447 |
q
|
|
12448 |
}
|
|
12449 |
/^X\(\/\/\)[^/].*/{
|
|
12450 |
s//\1/
|
|
12451 |
q
|
|
12452 |
}
|
|
12453 |
/^X\(\/\/\)$/{
|
|
12454 |
s//\1/
|
|
12455 |
q
|
|
12456 |
}
|
|
12457 |
/^X\(\/\).*/{
|
|
12458 |
s//\1/
|
|
12459 |
q
|
|
12460 |
}
|
|
12461 |
s/.*/./; q'`
|
|
12462 |
am_filepart=`$as_basename -- "$am_mf" ||
|
|
12463 |
$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
|
|
12464 |
X"$am_mf" : 'X\(//\)$' \| \
|
|
12465 |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
|
|
12466 |
$as_echo X/"$am_mf" |
|
|
12467 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
|
12468 |
s//\1/
|
|
12469 |
q
|
|
12470 |
}
|
|
12471 |
/^X\/\(\/\/\)$/{
|
|
12472 |
s//\1/
|
|
12473 |
q
|
|
12474 |
}
|
|
12475 |
/^X\/\(\/\).*/{
|
|
12476 |
s//\1/
|
|
12477 |
q
|
|
12478 |
}
|
|
12479 |
s/.*/./; q'`
|
|
12480 |
{ echo "$as_me:$LINENO: cd "$am_dirpart" \
|
|
12481 |
&& sed -e '/# am--include-marker/d' "$am_filepart" \
|
|
12482 |
| $MAKE -f - am--depfiles" >&5
|
|
12483 |
(cd "$am_dirpart" \
|
|
12484 |
&& sed -e '/# am--include-marker/d' "$am_filepart" \
|
|
12485 |
| $MAKE -f - am--depfiles) >&5 2>&5
|
|
12486 |
ac_status=$?
|
|
12487 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
12488 |
(exit $ac_status); } || am_rc=$?
|
|
28
by Arnold D. Robbins
Move to gawk-3.1.0. |
12489 |
done
|
731.17.29
by Arnold D. Robbins
Upgrade to Automake 1.16.1. |
12490 |
if test $am_rc -ne 0; then
|
12491 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
12492 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
12493 |
as_fn_error $? "Something went wrong bootstrapping makefile fragments
|
|
12494 |
for automatic dependency tracking. Try re-running configure with the
|
|
12495 |
'--disable-dependency-tracking' option to at least be able to build
|
|
12496 |
the package (albeit without support for automatic dependency tracking).
|
|
12497 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
12498 |
fi
|
|
12499 |
{ am_dirpart=; unset am_dirpart;}
|
|
12500 |
{ am_filepart=; unset am_filepart;}
|
|
12501 |
{ am_mf=; unset am_mf;}
|
|
12502 |
{ am_rc=; unset am_rc;}
|
|
12503 |
rm -f conftest-deps.mk
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12504 |
}
|
12505 |
;;
|
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12506 |
"po-directories":C)
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
12507 |
for ac_file in $CONFIG_FILES; do
|
12508 |
# Support "outfile[:infile[:infile...]]"
|
|
12509 |
case "$ac_file" in
|
|
12510 |
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
|
|
12511 |
esac
|
|
12512 |
# PO directories have a Makefile.in generated from Makefile.in.in.
|
|
12513 |
case "$ac_file" in */Makefile.in)
|
|
12514 |
# Adjust a relative srcdir.
|
|
12515 |
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
|
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
12516 |
ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
12517 |
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
|
12518 |
# In autoconf-2.13 it is called $ac_given_srcdir.
|
|
12519 |
# In autoconf-2.50 it is called $srcdir.
|
|
12520 |
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
|
|
12521 |
case "$ac_given_srcdir" in
|
|
12522 |
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
|
|
12523 |
/*) top_srcdir="$ac_given_srcdir" ;;
|
|
12524 |
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
|
|
12525 |
esac
|
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
12526 |
# Treat a directory as a PO directory if and only if it has a
|
12527 |
# POTFILES.in file. This allows packages to have multiple PO
|
|
12528 |
# directories under different names or in different locations.
|
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
12529 |
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
|
12530 |
rm -f "$ac_dir/POTFILES"
|
|
12531 |
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
|
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
12532 |
gt_tab=`printf '\t'`
|
12533 |
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
|
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
12534 |
POMAKEFILEDEPS="POTFILES.in"
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
12535 |
# ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
12536 |
# on $ac_dir but don't depend on user-specified configuration
|
12537 |
# parameters.
|
|
12538 |
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
|
|
12539 |
# The LINGUAS file contains the set of available languages.
|
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
12540 |
if test -n "$OBSOLETE_ALL_LINGUAS"; then
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
12541 |
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
|
12542 |
fi
|
|
33
by Arnold D. Robbins
Move to gawk 3.1.5. |
12543 |
ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
12544 |
# Hide the ALL_LINGUAS assignment from automake < 1.5.
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
12545 |
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
12546 |
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
|
12547 |
else
|
|
12548 |
# The set of available languages was given in configure.in.
|
|
408.5.360
by Arnold D. Robbins
Upgrade infrastructure (automake, gettext, libtool). |
12549 |
# Hide the ALL_LINGUAS assignment from automake < 1.5.
|
31
by Arnold D. Robbins
Move to gawk-3.1.3. |
12550 |
eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
12551 |
fi
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
12552 |
# Compute POFILES
|
12553 |
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
|
|
12554 |
# Compute UPDATEPOFILES
|
|
12555 |
# as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
|
|
12556 |
# Compute DUMMYPOFILES
|
|
12557 |
# as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
|
|
12558 |
# Compute GMOFILES
|
|
12559 |
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
|
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
12560 |
case "$ac_given_srcdir" in
|
12561 |
.) srcdirpre= ;;
|
|
12562 |
*) srcdirpre='$(srcdir)/' ;;
|
|
12563 |
esac
|
|
12564 |
POFILES=
|
|
12565 |
UPDATEPOFILES=
|
|
12566 |
DUMMYPOFILES=
|
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
12567 |
GMOFILES=
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
12568 |
for lang in $ALL_LINGUAS; do
|
12569 |
POFILES="$POFILES $srcdirpre$lang.po"
|
|
12570 |
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
|
|
12571 |
DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
|
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
12572 |
GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
12573 |
done
|
12574 |
# CATALOGS depends on both $ac_dir and the user's LINGUAS
|
|
12575 |
# environment variable.
|
|
12576 |
INST_LINGUAS=
|
|
12577 |
if test -n "$ALL_LINGUAS"; then
|
|
12578 |
for presentlang in $ALL_LINGUAS; do
|
|
12579 |
useit=no
|
|
12580 |
if test "%UNSET%" != "$LINGUAS"; then
|
|
12581 |
desiredlanguages="$LINGUAS"
|
|
12582 |
else
|
|
12583 |
desiredlanguages="$ALL_LINGUAS"
|
|
12584 |
fi
|
|
12585 |
for desiredlang in $desiredlanguages; do
|
|
12586 |
# Use the presentlang catalog if desiredlang is
|
|
12587 |
# a. equal to presentlang, or
|
|
12588 |
# b. a variant of presentlang (because in this case,
|
|
12589 |
# presentlang can be used as a fallback for messages
|
|
12590 |
# which are not translated in the desiredlang catalog).
|
|
12591 |
case "$desiredlang" in
|
|
12592 |
"$presentlang"*) useit=yes;;
|
|
12593 |
esac
|
|
12594 |
done
|
|
12595 |
if test $useit = yes; then
|
|
12596 |
INST_LINGUAS="$INST_LINGUAS $presentlang"
|
|
12597 |
fi
|
|
12598 |
done
|
|
12599 |
fi
|
|
12600 |
CATALOGS=
|
|
12601 |
if test -n "$INST_LINGUAS"; then
|
|
12602 |
for lang in $INST_LINGUAS; do
|
|
12603 |
CATALOGS="$CATALOGS $lang.gmo"
|
|
12604 |
done
|
|
12605 |
fi
|
|
12606 |
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
|
|
32
by Arnold D. Robbins
Move to gawk-3.1.4. |
12607 |
sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
|
29
by Arnold D. Robbins
Move to gawk-3.1.1. |
12608 |
for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
|
12609 |
if test -f "$f"; then
|
|
12610 |
case "$f" in
|
|
12611 |
*.orig | *.bak | *~) ;;
|
|
12612 |
*) cat "$f" >> "$ac_dir/Makefile" ;;
|
|
12613 |
esac
|
|
12614 |
fi
|
|
12615 |
done
|
|
12616 |
fi
|
|
12617 |
;;
|
|
12618 |
esac
|
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
12619 |
done ;;
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12620 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
12621 |
esac
|
34
by Arnold D. Robbins
Move to gawk-3.1.6. |
12622 |
done # for ac_tag
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
12623 |
|
12624 |
||
36
by Arnold D. Robbins
Move to 3.1.8. |
12625 |
as_fn_exit 0
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
12626 |
_ACEOF
|
12627 |
ac_clean_files=$ac_clean_files_save |
|
12628 |
||
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12629 |
test $ac_write_fail = 0 || |
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
12630 |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12631 |
|
30
by Arnold D. Robbins
Move to gawk-3.1.2. |
12632 |
|
12633 |
# configure is writing to config.log, and then calls config.status.
|
|
12634 |
# config.status does its own redirection, appending to config.log.
|
|
12635 |
# Unfortunately, on DOS this fails, as config.log is still kept open
|
|
12636 |
# by configure, so config.status won't be able to write to it; its
|
|
12637 |
# output is simply discarded. So we exec the FD to /dev/null,
|
|
12638 |
# effectively closing config.log, so it can be properly (re)opened and
|
|
12639 |
# appended to by config.status. When coming back to configure, we
|
|
12640 |
# need to make the FD available again.
|
|
12641 |
if test "$no_create" != yes; then |
|
12642 |
ac_cs_success=: |
|
12643 |
ac_config_status_args= |
|
12644 |
test "$silent" = yes && |
|
12645 |
ac_config_status_args="$ac_config_status_args --quiet" |
|
12646 |
exec 5>/dev/null |
|
12647 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|
12648 |
exec 5>>config.log |
|
12649 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
|
12650 |
# would make configure fail if this is the last instruction.
|
|
80
by Arnold D. Robbins
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist. |
12651 |
$ac_cs_success || as_fn_exit 1 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12652 |
fi
|
319.2.12
by Andrew J. Schorr
Move libtool from top configure.ac into extension directory. |
12653 |
|
12654 |
#
|
|
12655 |
# CONFIG_SUBDIRS section.
|
|
12656 |
#
|
|
12657 |
if test "$no_recursion" != yes; then |
|
12658 |
||
12659 |
# Remove --cache-file, --srcdir, and --disable-option-checking arguments
|
|
12660 |
# so they do not pile up.
|
|
12661 |
ac_sub_configure_args= |
|
12662 |
ac_prev= |
|
12663 |
eval "set x $ac_configure_args" |
|
12664 |
shift
|
|
12665 |
for ac_arg
|
|
12666 |
do
|
|
12667 |
if test -n "$ac_prev"; then |
|
12668 |
ac_prev= |
|
12669 |
continue
|
|
12670 |
fi
|
|
12671 |
case $ac_arg in |
|
12672 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
|
12673 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|
12674 |
ac_prev=cache_file ;; |
|
12675 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|
12676 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ |
|
12677 |
| --c=*) |
|
12678 |
;;
|
|
12679 |
--config-cache | -C) |
|
12680 |
;;
|
|
12681 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|
12682 |
ac_prev=srcdir ;; |
|
12683 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|
12684 |
;;
|
|
12685 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|
12686 |
ac_prev=prefix ;; |
|
12687 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|
12688 |
;;
|
|
12689 |
--disable-option-checking)
|
|
12690 |
;;
|
|
12691 |
*)
|
|
12692 |
case $ac_arg in |
|
12693 |
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
12694 |
esac
|
|
12695 |
as_fn_append ac_sub_configure_args " '$ac_arg'" ;; |
|
12696 |
esac
|
|
12697 |
done
|
|
12698 |
||
12699 |
# Always prepend --prefix to ensure using the same prefix
|
|
12700 |
# in subdir configurations.
|
|
12701 |
ac_arg="--prefix=$prefix" |
|
12702 |
case $ac_arg in |
|
12703 |
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
12704 |
esac
|
|
12705 |
ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" |
|
12706 |
||
12707 |
# Pass --silent
|
|
12708 |
if test "$silent" = yes; then |
|
12709 |
ac_sub_configure_args="--silent $ac_sub_configure_args" |
|
12710 |
fi
|
|
12711 |
||
12712 |
# Always prepend --disable-option-checking to silence warnings, since
|
|
12713 |
# different subdirs can have different --enable and --with options.
|
|
12714 |
ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" |
|
12715 |
||
12716 |
ac_popdir=`pwd` |
|
12717 |
for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue |
|
12718 |
||
12719 |
# Do not complain, so a configure script can configure whichever
|
|
12720 |
# parts of a large source tree are present.
|
|
12721 |
test -d "$srcdir/$ac_dir" || continue |
|
12722 |
||
12723 |
ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" |
|
12724 |
$as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 |
|
12725 |
$as_echo "$ac_msg" >&6 |
|
12726 |
as_dir="$ac_dir"; as_fn_mkdir_p |
|
12727 |
ac_builddir=. |
|
12728 |
||
12729 |
case "$ac_dir" in |
|
12730 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
12731 |
*)
|
|
12732 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
12733 |
# A ".." for each directory in $ac_dir_suffix.
|
|
12734 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
12735 |
case $ac_top_builddir_sub in |
|
12736 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
12737 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
12738 |
esac ;; |
|
12739 |
esac
|
|
12740 |
ac_abs_top_builddir=$ac_pwd |
|
12741 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
12742 |
# for backward compatibility:
|
|
12743 |
ac_top_builddir=$ac_top_build_prefix |
|
12744 |
||
12745 |
case $srcdir in |
|
12746 |
.) # We are building in place. |
|
12747 |
ac_srcdir=. |
|
12748 |
ac_top_srcdir=$ac_top_builddir_sub |
|
12749 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
12750 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
12751 |
ac_srcdir=$srcdir$ac_dir_suffix; |
|
12752 |
ac_top_srcdir=$srcdir |
|
12753 |
ac_abs_top_srcdir=$srcdir ;; |
|
12754 |
*) # Relative name. |
|
12755 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
12756 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
12757 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
12758 |
esac
|
|
12759 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
12760 |
||
12761 |
||
12762 |
cd "$ac_dir" |
|
12763 |
||
12764 |
# Check for guested configure; otherwise get Cygnus style configure.
|
|
12765 |
if test -f "$ac_srcdir/configure.gnu"; then |
|
12766 |
ac_sub_configure=$ac_srcdir/configure.gnu |
|
12767 |
elif test -f "$ac_srcdir/configure"; then |
|
12768 |
ac_sub_configure=$ac_srcdir/configure |
|
12769 |
elif test -f "$ac_srcdir/configure.in"; then |
|
12770 |
# This should be Cygnus configure.
|
|
12771 |
ac_sub_configure=$ac_aux_dir/configure |
|
12772 |
else
|
|
12773 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 |
|
12774 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} |
|
12775 |
ac_sub_configure= |
|
12776 |
fi
|
|
12777 |
||
12778 |
# The recursion is here.
|
|
12779 |
if test -n "$ac_sub_configure"; then |
|
12780 |
# Make the cache file name correct relative to the subdirectory.
|
|
12781 |
case $cache_file in |
|
12782 |
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; |
|
12783 |
*) # Relative name. |
|
12784 |
ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; |
|
12785 |
esac
|
|
12786 |
||
12787 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 |
|
12788 |
$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} |
|
12789 |
# The eval makes quoting arguments work.
|
|
12790 |
eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ |
|
12791 |
--cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || |
|
12792 |
as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 |
|
12793 |
fi
|
|
12794 |
||
12795 |
cd "$ac_popdir" |
|
12796 |
done
|
|
12797 |
fi
|
|
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12798 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
36
by Arnold D. Robbins
Move to 3.1.8. |
12799 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
35
by Arnold D. Robbins
Move to gawk-3.1.7. |
12800 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
12801 |
fi
|
|
12802 |