comparison configure @ 36:9cb4031fa5e0

updated the generated AutoHELL files
author meillo@marmaro.de
date Fri, 07 May 2010 16:44:26 +0200
parents c9bce6bb2a5d
children 8071dc6c6ed1
comparison
equal deleted inserted replaced
35:9bf8b9f0f09d 36:9cb4031fa5e0
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for masqmail 0.2.21. 3 # Generated by GNU Autoconf 2.65 for masqmail 0.2.21.
4 # 4 #
5 # Report bugs to <oku@debian.org>. 5 # Report bugs to <meillo@marmaro.de>.
6 #
6 # 7 #
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10 # Inc.
11 #
12 #
9 # This configure script is free software; the Free Software Foundation 13 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it. 14 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ## 15 ## -------------------- ##
12 ## M4sh Initialization. ## 16 ## M4sh Initialization. ##
13 ## --------------------- ## 17 ## -------------------- ##
14 18
15 # Be more Bourne compatible 19 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh 20 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh 22 emulate sh
19 NULLCMD=: 23 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature. 25 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"' 26 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST 27 setopt NO_GLOB_SUBST
24 else 28 else
25 case `(set -o) 2>/dev/null` in 29 case `(set -o) 2>/dev/null` in #(
26 *posix*) set -o posix ;; 30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
27 esac 34 esac
28 35 fi
29 fi 36
30 37
31 38 as_nl='
32 39 '
33 40 export as_nl
34 # PATH needs CR 41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
35 # Avoid depending upon Character Ranges. 42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 45 # Prefer a ksh shell builtin over an external printf program on Solaris,
39 as_cr_digits='0123456789' 46 # but without wasting forks for bash or zsh.
40 as_cr_alnum=$as_cr_Letters$as_cr_digits 47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54 else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 '
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
71 fi
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
74 fi
41 75
42 # The user is always right. 76 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then 77 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh 78 PATH_SEPARATOR=:
45 echo "exit 0" >>conf$$.sh 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
46 chmod +x conf$$.sh 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 81 PATH_SEPARATOR=';'
48 PATH_SEPARATOR=';' 82 }
49 else
50 PATH_SEPARATOR=:
51 fi
52 rm -f conf$$.sh
53 fi
54
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
60 fi 83 fi
61 84
62 85
63 # IFS 86 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is 87 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab. 88 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.) 90 # splitting by setting IFS to empty value.)
68 as_nl='
69 '
70 IFS=" "" $as_nl" 91 IFS=" "" $as_nl"
71 92
72 # Find who we are. Look in the path if we contain no directory separator. 93 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in 94 case $0 in #((
74 *[\\/]* ) as_myself=$0 ;; 95 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH 97 for as_dir in $PATH
77 do 98 do
78 IFS=$as_save_IFS 99 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=. 100 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done 102 done
82 IFS=$as_save_IFS 103 IFS=$as_save_IFS
83 104
84 ;; 105 ;;
85 esac 106 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND' 107 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path. 108 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then 109 if test "x$as_myself" = x; then
89 as_myself=$0 110 as_myself=$0
90 fi 111 fi
91 if test ! -f "$as_myself"; then 112 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; } 114 exit 1
94 fi 115 fi
95 116
96 # Work around bugs in pre-3.0 UWIN ksh. 117 # Unset variables that we do not need and which cause bugs (e.g. in
97 for as_var in ENV MAIL MAILPATH 118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
99 done 124 done
100 PS1='$ ' 125 PS1='$ '
101 PS2='> ' 126 PS2='> '
102 PS4='+ ' 127 PS4='+ '
103 128
104 # NLS nuisances. 129 # NLS nuisances.
105 for as_var in \ 130 LC_ALL=C
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 131 export LC_ALL
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 132 LANGUAGE=C
108 LC_TELEPHONE LC_TIME 133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 emulate sh
141 NULLCMD=:
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 setopt NO_GLOB_SUBST
146 else
147 case \`(set -o) 2>/dev/null\` in #(
148 *posix*) :
149 set -o posix ;; #(
150 *) :
151 ;;
152 esac
153 fi
154 "
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
160
161 exitcode=0
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168 else
169 exitcode=1; echo positional parameters were not saved.
170 fi
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
178 as_have_required=yes
179 else
180 as_have_required=no
181 fi
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184 else
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 as_found=false
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
109 do 188 do
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 189 IFS=$as_save_IFS
111 eval $as_var=C; export $as_var 190 test -z "$as_dir" && as_dir=.
191 as_found=:
192 case $as_dir in #(
193 /*)
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201 break 2
202 fi
203 fi
204 done;;
205 esac
206 as_found=false
207 done
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
211 fi; }
212 IFS=$as_save_IFS
213
214
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
219 BASH_ENV=/dev/null
220 ENV=/dev/null
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222 export CONFIG_SHELL
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 fi
225
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
112 else 232 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 233 $as_echo "$0: Please tell bug-autoconf@gnu.org and meillo@marmaro.de
234 $0: about your system, including any error possibly output
235 $0: before this message. Then install a modern shell, or
236 $0: manually run the script under such a shell if you do
237 $0: have one."
114 fi 238 fi
115 done 239 exit 1
116 240 fi
117 # Required to use basename. 241 fi
242 fi
243 SHELL=${CONFIG_SHELL-/bin/sh}
244 export SHELL
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
248
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
252 # as_fn_unset VAR
253 # ---------------
254 # Portably unset VAR.
255 as_fn_unset ()
256 {
257 { eval $1=; unset $1;}
258 }
259 as_unset=as_fn_unset
260
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
264 as_fn_set_status ()
265 {
266 return $1
267 } # as_fn_set_status
268
269 # as_fn_exit STATUS
270 # -----------------
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272 as_fn_exit ()
273 {
274 set +e
275 as_fn_set_status $1
276 exit $1
277 } # as_fn_exit
278
279 # as_fn_mkdir_p
280 # -------------
281 # Create "$as_dir" as a directory, including parents if necessary.
282 as_fn_mkdir_p ()
283 {
284
285 case $as_dir in #(
286 -*) as_dir=./$as_dir;;
287 esac
288 test -d "$as_dir" || eval $as_mkdir_p || {
289 as_dirs=
290 while :; do
291 case $as_dir in #(
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293 *) as_qdir=$as_dir;;
294 esac
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303 s//\1/
304 q
305 }
306 /^X\(\/\/\)[^/].*/{
307 s//\1/
308 q
309 }
310 /^X\(\/\/\)$/{
311 s//\1/
312 q
313 }
314 /^X\(\/\).*/{
315 s//\1/
316 q
317 }
318 s/.*/./; q'`
319 test -d "$as_dir" && break
320 done
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323
324
325 } # as_fn_mkdir_p
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
331 # implementations.
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
334 {
335 eval $1+=\$2
336 }'
337 else
338 as_fn_append ()
339 {
340 eval $1=\$$1\$2
341 }
342 fi # as_fn_append
343
344 # as_fn_arith ARG...
345 # ------------------
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350 eval 'as_fn_arith ()
351 {
352 as_val=$(( $* ))
353 }'
354 else
355 as_fn_arith ()
356 {
357 as_val=`expr "$@" || test $? -eq 1`
358 }
359 fi # as_fn_arith
360
361
362 # as_fn_error ERROR [LINENO LOG_FD]
363 # ---------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with status $?, using 1 if that was 0.
367 as_fn_error ()
368 {
369 as_status=$?; test $as_status -eq 0 && as_status=1
370 if test "$3"; then
371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
373 fi
374 $as_echo "$as_me: error: $1" >&2
375 as_fn_exit $as_status
376 } # as_fn_error
377
118 if expr a : '\(a\)' >/dev/null 2>&1 && 378 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then 379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr 380 as_expr=expr
121 else 381 else
122 as_expr=false 382 as_expr=false
126 as_basename=basename 386 as_basename=basename
127 else 387 else
128 as_basename=false 388 as_basename=false
129 fi 389 fi
130 390
131 391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
132 # Name of the executable. 392 as_dirname=dirname
393 else
394 as_dirname=false
395 fi
396
133 as_me=`$as_basename -- "$0" || 397 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \ 399 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null || 400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" | 401 $as_echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{ 402 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/ 403 s//\1/
140 q 404 q
141 } 405 }
142 /^X\/\(\/\/\)$/{ 406 /^X\/\(\/\/\)$/{
147 s//\1/ 411 s//\1/
148 q 412 q
149 } 413 }
150 s/.*/./; q'` 414 s/.*/./; q'`
151 415
152 # CDPATH. 416 # Avoid depending upon Character Ranges.
153 $as_unset CDPATH 417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
154 418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
155 419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
156 if test "x$CONFIG_SHELL" = x; then 420 as_cr_digits='0123456789'
157 if (eval ":") 2>/dev/null; then 421 as_cr_alnum=$as_cr_Letters$as_cr_digits
158 as_have_required=yes 422
159 else 423
160 as_have_required=no 424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
161 fi 425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
162 426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
163 if test $as_have_required = yes && (eval ": 427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
164 (as_func_return () { 428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
165 (exit \$1)
166 }
167 as_func_success () {
168 as_func_return 0
169 }
170 as_func_failure () {
171 as_func_return 1
172 }
173 as_func_ret_success () {
174 return 0
175 }
176 as_func_ret_failure () {
177 return 1
178 }
179
180 exitcode=0
181 if as_func_success; then
182 :
183 else
184 exitcode=1
185 echo as_func_success failed.
186 fi
187
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
191 fi
192
193 if as_func_ret_success; then
194 :
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
198 fi
199
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
203 fi
204
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206 :
207 else
208 exitcode=1
209 echo positional parameters were not saved.
210 fi
211
212 test \$exitcode = 0) || { (exit 1); exit 1; }
213
214 (
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
220 :
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 do
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
229 /*)
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
236
237
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
253
254 fi
255
256
257 :
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
274
275 fi
276
277
278 :
279 (as_func_return () {
280 (exit $1)
281 }
282 as_func_success () {
283 as_func_return 0
284 }
285 as_func_failure () {
286 as_func_return 1
287 }
288 as_func_ret_success () {
289 return 0
290 }
291 as_func_ret_failure () {
292 return 1
293 }
294
295 exitcode=0
296 if as_func_success; then
297 :
298 else
299 exitcode=1
300 echo as_func_success failed.
301 fi
302
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
306 fi
307
308 if as_func_ret_success; then
309 :
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
313 fi
314
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
318 fi
319
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
321 :
322 else
323 exitcode=1
324 echo positional parameters were not saved.
325 fi
326
327 test $exitcode = 0) || { (exit 1); exit 1; }
328
329 (
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335 _ASEOF
336 }; then
337 break
338 fi
339
340 fi
341
342 done
343
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350 fi
351
352
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
359 fi
360
361
362 fi
363
364 fi
365
366
367
368 (eval "as_func_return () {
369 (exit \$1)
370 }
371 as_func_success () {
372 as_func_return 0
373 }
374 as_func_failure () {
375 as_func_return 1
376 }
377 as_func_ret_success () {
378 return 0
379 }
380 as_func_ret_failure () {
381 return 1
382 }
383
384 exitcode=0
385 if as_func_success; then
386 :
387 else
388 exitcode=1
389 echo as_func_success failed.
390 fi
391
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
395 fi
396
397 if as_func_ret_success; then
398 :
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
402 fi
403
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
407 fi
408
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410 :
411 else
412 exitcode=1
413 echo positional parameters were not saved.
414 fi
415
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
421 }
422
423
424
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n ' 429 sed -n '
441 p 430 p
442 /[$]LINENO/= 431 /[$]LINENO/=
443 ' <$as_myself | 432 ' <$as_myself |
444 sed ' 433 sed '
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop 441 t loop
453 s/-\n.*// 442 s/-\n.*//
454 ' >$as_me.lineno && 443 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" || 444 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
457 { (exit 1); exit 1; }; }
458 446
459 # Don't try to exec as it changes $[0], causing all sort of problems 447 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the 448 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this). 449 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno" 450 . "./$as_me.lineno"
463 # Exit status is that of the last command. 451 # Exit status is that of the last command.
464 exit 452 exit
465 } 453 }
466 454
467
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
472 fi
473
474 ECHO_C= ECHO_N= ECHO_T= 455 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in 456 case `echo -n x` in #(((((
476 -n*) 457 -n*)
477 case `echo 'x\c'` in 458 case `echo 'xy\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';; 460 xy) ECHO_C='\c';;
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
462 ECHO_T=' ';;
480 esac;; 463 esac;;
481 *) 464 *)
482 ECHO_N='-n';; 465 ECHO_N='-n';;
483 esac 466 esac
484 467
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
490 fi
491
492 rm -f conf$$ conf$$.exe conf$$.file 468 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then 469 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file 470 rm -f conf$$.dir/conf$$.file
495 else 471 else
496 rm -f conf$$.dir 472 rm -f conf$$.dir
497 mkdir conf$$.dir 473 mkdir conf$$.dir 2>/dev/null
498 fi 474 fi
499 echo >conf$$.file 475 if (echo >conf$$.file) 2>/dev/null; then
500 if ln -s conf$$.file conf$$ 2>/dev/null; then 476 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s' 477 as_ln_s='ln -s'
502 # ... but there are two gotchas: 478 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'. 481 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483 as_ln_s='cp -p'
484 elif ln conf$$.file conf$$ 2>/dev/null; then
485 as_ln_s=ln
486 else
507 as_ln_s='cp -p' 487 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then 488 fi
509 as_ln_s=ln
510 else 489 else
511 as_ln_s='cp -p' 490 as_ln_s='cp -p'
512 fi 491 fi
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null 493 rmdir conf$$.dir 2>/dev/null
515 494
516 if mkdir -p . 2>/dev/null; then 495 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=: 496 as_mkdir_p='mkdir -p "$as_dir"'
518 else 497 else
519 test -d ./-p && rmdir ./-p 498 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false 499 as_mkdir_p=false
521 fi 500 fi
522 501
529 as_ls_L_option= 508 as_ls_L_option=
530 fi 509 fi
531 as_test_x=' 510 as_test_x='
532 eval sh -c '\'' 511 eval sh -c '\''
533 if test -d "$1"; then 512 if test -d "$1"; then
534 test -d "$1/."; 513 test -d "$1/.";
535 else 514 else
536 case $1 in 515 case $1 in #(
537 -*)set "./$1";; 516 -*)set "./$1";;
538 esac; 517 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
540 ???[sx]*):;;*)false;;esac;fi 519 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh 520 '\'' sh
542 ' 521 '
543 fi 522 fi
544 as_executable_p=$as_test_x 523 as_executable_p=$as_test_x
548 527
549 # Sed expression to map a string onto a valid variable name. 528 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551 530
552 531
553 532 test -n "$DJDIR" || exec 7<&0 </dev/null
554 exec 7<&0 </dev/null 6>&1 533 exec 6>&1
555 534
556 # Name of the host. 535 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 536 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too. 537 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 538 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567 LIBOBJS= 546 LIBOBJS=
568 cross_compiling=no 547 cross_compiling=no
569 subdirs= 548 subdirs=
570 MFLAGS= 549 MFLAGS=
571 MAKEFLAGS= 550 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
573 551
574 # Identity of this package. 552 # Identity of this package.
575 PACKAGE_NAME='masqmail' 553 PACKAGE_NAME='masqmail'
576 PACKAGE_TARNAME='masqmail' 554 PACKAGE_TARNAME='masqmail'
577 PACKAGE_VERSION='0.2.21' 555 PACKAGE_VERSION='0.2.21'
578 PACKAGE_STRING='masqmail 0.2.21' 556 PACKAGE_STRING='masqmail 0.2.21'
579 PACKAGE_BUGREPORT='oku@debian.org' 557 PACKAGE_BUGREPORT='meillo@marmaro.de'
558 PACKAGE_URL=''
580 559
581 ac_unique_file="src/masqmail.c" 560 ac_unique_file="src/masqmail.c"
582 ac_default_prefix=/usr 561 ac_default_prefix=/usr
583 # Factoring default headers for most tests. 562 # Factoring default headers for most tests.
584 ac_includes_default="\ 563 ac_includes_default="\
614 #endif 593 #endif
615 #ifdef HAVE_UNISTD_H 594 #ifdef HAVE_UNISTD_H
616 # include <unistd.h> 595 # include <unistd.h>
617 #endif" 596 #endif"
618 597
619 ac_subst_vars='SHELL 598 ac_subst_vars='am__EXEEXT_FALSE
599 am__EXEEXT_TRUE
600 LTLIBOBJS
601 LIBOBJS
602 with_confdir
603 with_spooldir
604 with_logdir
605 USE_LIBLOCKFILE
606 LOCKFILE_LIBS
607 IDENT_LIBS
608 has_ident
609 MD5_LIBS
610 BASE64_LIBS
611 with_group
612 with_user
613 RESOLV_LIBS
614 GLIB_LIBS
615 GLIB_CFLAGS
616 PKG_CONFIG
617 RANLIB
618 EGREP
619 GREP
620 CPP
621 am__fastdepCC_FALSE
622 am__fastdepCC_TRUE
623 CCDEPMODE
624 AMDEPBACKSLASH
625 AMDEP_FALSE
626 AMDEP_TRUE
627 am__quote
628 am__include
629 DEPDIR
630 OBJEXT
631 EXEEXT
632 ac_ct_CC
633 CPPFLAGS
634 LDFLAGS
635 CFLAGS
636 CC
637 am__untar
638 am__tar
639 AMTAR
640 am__leading_dot
641 SET_MAKE
642 AWK
643 mkdir_p
644 MKDIR_P
645 INSTALL_STRIP_PROGRAM
646 STRIP
647 install_sh
648 MAKEINFO
649 AUTOHEADER
650 AUTOMAKE
651 AUTOCONF
652 ACLOCAL
653 VERSION
654 PACKAGE
655 CYGPATH_W
656 am__isrc
657 INSTALL_DATA
658 INSTALL_SCRIPT
659 INSTALL_PROGRAM
660 target_alias
661 host_alias
662 build_alias
663 LIBS
664 ECHO_T
665 ECHO_N
666 ECHO_C
667 DEFS
668 mandir
669 localedir
670 libdir
671 psdir
672 pdfdir
673 dvidir
674 htmldir
675 infodir
676 docdir
677 oldincludedir
678 includedir
679 localstatedir
680 sharedstatedir
681 sysconfdir
682 datadir
683 datarootdir
684 libexecdir
685 sbindir
686 bindir
687 program_transform_name
688 prefix
689 exec_prefix
690 PACKAGE_URL
691 PACKAGE_BUGREPORT
692 PACKAGE_STRING
693 PACKAGE_VERSION
694 PACKAGE_TARNAME
695 PACKAGE_NAME
620 PATH_SEPARATOR 696 PATH_SEPARATOR
621 PACKAGE_NAME 697 SHELL'
622 PACKAGE_TARNAME 698 ac_subst_files=''
623 PACKAGE_VERSION 699 ac_user_opts='
624 PACKAGE_STRING 700 enable_option_checking
625 PACKAGE_BUGREPORT 701 enable_dependency_tracking
626 exec_prefix 702 enable_resolver
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 INSTALL_PROGRAM
657 INSTALL_SCRIPT
658 INSTALL_DATA
659 CYGPATH_W
660 PACKAGE
661 VERSION
662 ACLOCAL
663 AUTOCONF
664 AUTOMAKE
665 AUTOHEADER
666 MAKEINFO
667 AMTAR
668 install_sh
669 STRIP
670 INSTALL_STRIP_PROGRAM
671 AWK
672 SET_MAKE
673 am__leading_dot
674 CC
675 CFLAGS
676 LDFLAGS
677 CPPFLAGS
678 ac_ct_CC
679 EXEEXT
680 OBJEXT
681 DEPDIR
682 am__include
683 am__quote
684 AMDEP_TRUE
685 AMDEP_FALSE
686 AMDEPBACKSLASH
687 CCDEPMODE
688 am__fastdepCC_TRUE
689 am__fastdepCC_FALSE
690 CPP
691 GREP
692 EGREP
693 RANLIB
694 PKG_CONFIG
695 GLIB_CFLAGS
696 GLIB_LIBS
697 RESOLV_LIBS
698 with_user 703 with_user
699 with_group 704 with_group
700 BASE64_LIBS 705 enable_debug
701 MD5_LIBS 706 with_glib_static
702 has_ident 707 enable_smtp_server
703 IDENT_LIBS 708 enable_pop3
704 LOCKFILE_LIBS 709 enable_auth
705 USE_LIBLOCKFILE 710 enable_maildir
711 with_libcrypto
712 enable_ident
713 enable_mserver
714 with_liblockfile
706 with_logdir 715 with_logdir
707 with_spooldir 716 with_spooldir
708 with_confdir 717 with_confdir
709 LIBOBJS 718 '
710 LTLIBOBJS'
711 ac_subst_files=''
712 ac_precious_vars='build_alias 719 ac_precious_vars='build_alias
713 host_alias 720 host_alias
714 target_alias 721 target_alias
715 CC 722 CC
716 CFLAGS 723 CFLAGS
724 731
725 732
726 # Initialize some variables set by options. 733 # Initialize some variables set by options.
727 ac_init_help= 734 ac_init_help=
728 ac_init_version=false 735 ac_init_version=false
736 ac_unrecognized_opts=
737 ac_unrecognized_sep=
729 # The variables have the same names as the options, with 738 # The variables have the same names as the options, with
730 # dashes changed to underlines. 739 # dashes changed to underlines.
731 cache_file=/dev/null 740 cache_file=/dev/null
732 exec_prefix=NONE 741 exec_prefix=NONE
733 no_create= 742 no_create=
822 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 831 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
823 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 832 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
824 datarootdir=$ac_optarg ;; 833 datarootdir=$ac_optarg ;;
825 834
826 -disable-* | --disable-*) 835 -disable-* | --disable-*)
827 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 836 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
828 # Reject names that are not valid shell variable names. 837 # Reject names that are not valid shell variable names.
829 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 838 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
830 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 839 as_fn_error "invalid feature name: $ac_useropt"
831 { (exit 1); exit 1; }; } 840 ac_useropt_orig=$ac_useropt
832 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 841 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
833 eval enable_$ac_feature=no ;; 842 case $ac_user_opts in
843 *"
844 "enable_$ac_useropt"
845 "*) ;;
846 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
847 ac_unrecognized_sep=', ';;
848 esac
849 eval enable_$ac_useropt=no ;;
834 850
835 -docdir | --docdir | --docdi | --doc | --do) 851 -docdir | --docdir | --docdi | --doc | --do)
836 ac_prev=docdir ;; 852 ac_prev=docdir ;;
837 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 853 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
838 docdir=$ac_optarg ;; 854 docdir=$ac_optarg ;;
841 ac_prev=dvidir ;; 857 ac_prev=dvidir ;;
842 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 858 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
843 dvidir=$ac_optarg ;; 859 dvidir=$ac_optarg ;;
844 860
845 -enable-* | --enable-*) 861 -enable-* | --enable-*)
846 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 862 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
847 # Reject names that are not valid shell variable names. 863 # Reject names that are not valid shell variable names.
848 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 864 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
849 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 865 as_fn_error "invalid feature name: $ac_useropt"
850 { (exit 1); exit 1; }; } 866 ac_useropt_orig=$ac_useropt
851 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 867 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
852 eval enable_$ac_feature=\$ac_optarg ;; 868 case $ac_user_opts in
869 *"
870 "enable_$ac_useropt"
871 "*) ;;
872 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
873 ac_unrecognized_sep=', ';;
874 esac
875 eval enable_$ac_useropt=\$ac_optarg ;;
853 876
854 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 877 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
855 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 878 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
856 | --exec | --exe | --ex) 879 | --exec | --exe | --ex)
857 ac_prev=exec_prefix ;; 880 ac_prev=exec_prefix ;;
1038 1061
1039 -version | --version | --versio | --versi | --vers | -V) 1062 -version | --version | --versio | --versi | --vers | -V)
1040 ac_init_version=: ;; 1063 ac_init_version=: ;;
1041 1064
1042 -with-* | --with-*) 1065 -with-* | --with-*)
1043 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1066 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1044 # Reject names that are not valid shell variable names. 1067 # Reject names that are not valid shell variable names.
1045 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046 { echo "$as_me: error: invalid package name: $ac_package" >&2 1069 as_fn_error "invalid package name: $ac_useropt"
1047 { (exit 1); exit 1; }; } 1070 ac_useropt_orig=$ac_useropt
1048 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1071 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049 eval with_$ac_package=\$ac_optarg ;; 1072 case $ac_user_opts in
1073 *"
1074 "with_$ac_useropt"
1075 "*) ;;
1076 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1077 ac_unrecognized_sep=', ';;
1078 esac
1079 eval with_$ac_useropt=\$ac_optarg ;;
1050 1080
1051 -without-* | --without-*) 1081 -without-* | --without-*)
1052 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1082 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1053 # Reject names that are not valid shell variable names. 1083 # Reject names that are not valid shell variable names.
1054 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1084 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1055 { echo "$as_me: error: invalid package name: $ac_package" >&2 1085 as_fn_error "invalid package name: $ac_useropt"
1056 { (exit 1); exit 1; }; } 1086 ac_useropt_orig=$ac_useropt
1057 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1087 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058 eval with_$ac_package=no ;; 1088 case $ac_user_opts in
1089 *"
1090 "with_$ac_useropt"
1091 "*) ;;
1092 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1093 ac_unrecognized_sep=', ';;
1094 esac
1095 eval with_$ac_useropt=no ;;
1059 1096
1060 --x) 1097 --x)
1061 # Obsolete; use --with-x. 1098 # Obsolete; use --with-x.
1062 with_x=yes ;; 1099 with_x=yes ;;
1063 1100
1073 ac_prev=x_libraries ;; 1110 ac_prev=x_libraries ;;
1074 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1111 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1075 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1112 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1076 x_libraries=$ac_optarg ;; 1113 x_libraries=$ac_optarg ;;
1077 1114
1078 -*) { echo "$as_me: error: unrecognized option: $ac_option 1115 -*) as_fn_error "unrecognized option: \`$ac_option'
1079 Try \`$0 --help' for more information." >&2 1116 Try \`$0 --help' for more information."
1080 { (exit 1); exit 1; }; }
1081 ;; 1117 ;;
1082 1118
1083 *=*) 1119 *=*)
1084 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1120 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1085 # Reject names that are not valid shell variable names. 1121 # Reject names that are not valid shell variable names.
1086 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1122 case $ac_envvar in #(
1087 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1123 '' | [0-9]* | *[!_$as_cr_alnum]* )
1088 { (exit 1); exit 1; }; } 1124 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1125 esac
1089 eval $ac_envvar=\$ac_optarg 1126 eval $ac_envvar=\$ac_optarg
1090 export $ac_envvar ;; 1127 export $ac_envvar ;;
1091 1128
1092 *) 1129 *)
1093 # FIXME: should be removed in autoconf 3.0. 1130 # FIXME: should be removed in autoconf 3.0.
1094 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1131 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1095 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1132 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1096 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1133 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1097 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1134 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1098 ;; 1135 ;;
1099 1136
1100 esac 1137 esac
1101 done 1138 done
1102 1139
1103 if test -n "$ac_prev"; then 1140 if test -n "$ac_prev"; then
1104 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1141 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1105 { echo "$as_me: error: missing argument to $ac_option" >&2 1142 as_fn_error "missing argument to $ac_option"
1106 { (exit 1); exit 1; }; } 1143 fi
1107 fi 1144
1108 1145 if test -n "$ac_unrecognized_opts"; then
1109 # Be sure to have absolute directory names. 1146 case $enable_option_checking in
1147 no) ;;
1148 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1149 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1150 esac
1151 fi
1152
1153 # Check all directory arguments for consistency.
1110 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1154 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1111 datadir sysconfdir sharedstatedir localstatedir includedir \ 1155 datadir sysconfdir sharedstatedir localstatedir includedir \
1112 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1156 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1113 libdir localedir mandir 1157 libdir localedir mandir
1114 do 1158 do
1115 eval ac_val=\$$ac_var 1159 eval ac_val=\$$ac_var
1160 # Remove trailing slashes.
1161 case $ac_val in
1162 */ )
1163 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1164 eval $ac_var=\$ac_val;;
1165 esac
1166 # Be sure to have absolute directory names.
1116 case $ac_val in 1167 case $ac_val in
1117 [\\/$]* | ?:[\\/]* ) continue;; 1168 [\\/$]* | ?:[\\/]* ) continue;;
1118 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1169 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1119 esac 1170 esac
1120 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1171 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1121 { (exit 1); exit 1; }; }
1122 done 1172 done
1123 1173
1124 # There might be people who depend on the old broken behavior: `$host' 1174 # There might be people who depend on the old broken behavior: `$host'
1125 # used to hold the argument of --host etc. 1175 # used to hold the argument of --host etc.
1126 # FIXME: To remove some day. 1176 # FIXME: To remove some day.
1130 1180
1131 # FIXME: To remove some day. 1181 # FIXME: To remove some day.
1132 if test "x$host_alias" != x; then 1182 if test "x$host_alias" != x; then
1133 if test "x$build_alias" = x; then 1183 if test "x$build_alias" = x; then
1134 cross_compiling=maybe 1184 cross_compiling=maybe
1135 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1185 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1136 If a cross compiler is detected then cross compile mode will be used." >&2 1186 If a cross compiler is detected then cross compile mode will be used." >&2
1137 elif test "x$build_alias" != "x$host_alias"; then 1187 elif test "x$build_alias" != "x$host_alias"; then
1138 cross_compiling=yes 1188 cross_compiling=yes
1139 fi 1189 fi
1140 fi 1190 fi
1146 1196
1147 1197
1148 ac_pwd=`pwd` && test -n "$ac_pwd" && 1198 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1149 ac_ls_di=`ls -di .` && 1199 ac_ls_di=`ls -di .` &&
1150 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1200 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1151 { echo "$as_me: error: Working directory cannot be determined" >&2 1201 as_fn_error "working directory cannot be determined"
1152 { (exit 1); exit 1; }; }
1153 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1202 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1154 { echo "$as_me: error: pwd does not report name of working directory" >&2 1203 as_fn_error "pwd does not report name of working directory"
1155 { (exit 1); exit 1; }; }
1156 1204
1157 1205
1158 # Find the source files, if location was not specified. 1206 # Find the source files, if location was not specified.
1159 if test -z "$srcdir"; then 1207 if test -z "$srcdir"; then
1160 ac_srcdir_defaulted=yes 1208 ac_srcdir_defaulted=yes
1161 # Try the directory containing this script, then the parent directory. 1209 # Try the directory containing this script, then the parent directory.
1162 ac_confdir=`$as_dirname -- "$0" || 1210 ac_confdir=`$as_dirname -- "$as_myself" ||
1163 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1211 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1164 X"$0" : 'X\(//\)[^/]' \| \ 1212 X"$as_myself" : 'X\(//\)[^/]' \| \
1165 X"$0" : 'X\(//\)$' \| \ 1213 X"$as_myself" : 'X\(//\)$' \| \
1166 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1214 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1167 echo X"$0" | 1215 $as_echo X"$as_myself" |
1168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1169 s//\1/ 1217 s//\1/
1170 q 1218 q
1171 } 1219 }
1172 /^X\(\/\/\)[^/].*/{ 1220 /^X\(\/\/\)[^/].*/{
1189 else 1237 else
1190 ac_srcdir_defaulted=no 1238 ac_srcdir_defaulted=no
1191 fi 1239 fi
1192 if test ! -r "$srcdir/$ac_unique_file"; then 1240 if test ! -r "$srcdir/$ac_unique_file"; then
1193 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1241 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1194 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1242 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1195 { (exit 1); exit 1; }; }
1196 fi 1243 fi
1197 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1244 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1198 ac_abs_confdir=`( 1245 ac_abs_confdir=`(
1199 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1246 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1200 { (exit 1); exit 1; }; }
1201 pwd)` 1247 pwd)`
1202 # When building in place, set srcdir=. 1248 # When building in place, set srcdir=.
1203 if test "$ac_abs_confdir" = "$ac_pwd"; then 1249 if test "$ac_abs_confdir" = "$ac_pwd"; then
1204 srcdir=. 1250 srcdir=.
1205 fi 1251 fi
1243 -n, --no-create do not create output files 1289 -n, --no-create do not create output files
1244 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1290 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1245 1291
1246 Installation directories: 1292 Installation directories:
1247 --prefix=PREFIX install architecture-independent files in PREFIX 1293 --prefix=PREFIX install architecture-independent files in PREFIX
1248 [$ac_default_prefix] 1294 [$ac_default_prefix]
1249 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1295 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1250 [PREFIX] 1296 [PREFIX]
1251 1297
1252 By default, \`make install' will install all the files in 1298 By default, \`make install' will install all the files in
1253 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1299 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1254 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1300 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1255 for instance \`--prefix=\$HOME'. 1301 for instance \`--prefix=\$HOME'.
1256 1302
1257 For better control, use the options below. 1303 For better control, use the options below.
1258 1304
1259 Fine tuning of the installation directories: 1305 Fine tuning of the installation directories:
1260 --bindir=DIR user executables [EPREFIX/bin] 1306 --bindir=DIR user executables [EPREFIX/bin]
1261 --sbindir=DIR system admin executables [EPREFIX/sbin] 1307 --sbindir=DIR system admin executables [EPREFIX/sbin]
1262 --libexecdir=DIR program executables [EPREFIX/libexec] 1308 --libexecdir=DIR program executables [EPREFIX/libexec]
1263 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1309 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1264 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1310 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1265 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1311 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1266 --libdir=DIR object code libraries [EPREFIX/lib] 1312 --libdir=DIR object code libraries [EPREFIX/lib]
1267 --includedir=DIR C header files [PREFIX/include] 1313 --includedir=DIR C header files [PREFIX/include]
1268 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1314 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1269 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1315 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1270 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1316 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1271 --infodir=DIR info documentation [DATAROOTDIR/info] 1317 --infodir=DIR info documentation [DATAROOTDIR/info]
1272 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1318 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1273 --mandir=DIR man documentation [DATAROOTDIR/man] 1319 --mandir=DIR man documentation [DATAROOTDIR/man]
1274 --docdir=DIR documentation root [DATAROOTDIR/doc/masqmail] 1320 --docdir=DIR documentation root [DATAROOTDIR/doc/masqmail]
1275 --htmldir=DIR html documentation [DOCDIR] 1321 --htmldir=DIR html documentation [DOCDIR]
1276 --dvidir=DIR dvi documentation [DOCDIR] 1322 --dvidir=DIR dvi documentation [DOCDIR]
1277 --pdfdir=DIR pdf documentation [DOCDIR] 1323 --pdfdir=DIR pdf documentation [DOCDIR]
1278 --psdir=DIR ps documentation [DOCDIR] 1324 --psdir=DIR ps documentation [DOCDIR]
1279 _ACEOF 1325 _ACEOF
1280 1326
1281 cat <<\_ACEOF 1327 cat <<\_ACEOF
1282 1328
1283 Program names: 1329 Program names:
1292 short | recursive ) echo "Configuration of masqmail 0.2.21:";; 1338 short | recursive ) echo "Configuration of masqmail 0.2.21:";;
1293 esac 1339 esac
1294 cat <<\_ACEOF 1340 cat <<\_ACEOF
1295 1341
1296 Optional Features: 1342 Optional Features:
1343 --disable-option-checking ignore unrecognized --enable/--with options
1297 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1344 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1298 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1345 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1299 --disable-dependency-tracking Speeds up one-time builds 1346 --disable-dependency-tracking speeds up one-time build
1300 --enable-dependency-tracking Do not reject slow dependency extractors 1347 --enable-dependency-tracking do not reject slow dependency extractors
1301 --disable-resolver disable resolver support 1348 --disable-resolver disable resolver support
1302 --disable-debug disable debugging 1349 --disable-debug disable debugging
1303 --disable-smtp-server disable smtp server support 1350 --disable-smtp-server disable smtp server support
1304 --disable-pop3 disable pop3 support 1351 --disable-pop3 disable pop3 support
1305 --enable-auth enable AUTH (RFC 2554) client support 1352 --enable-auth enable AUTH (RFC 2554) client support
1323 CC C compiler command 1370 CC C compiler command
1324 CFLAGS C compiler flags 1371 CFLAGS C compiler flags
1325 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1372 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1326 nonstandard directory <lib dir> 1373 nonstandard directory <lib dir>
1327 LIBS libraries to pass to the linker, e.g. -l<library> 1374 LIBS libraries to pass to the linker, e.g. -l<library>
1328 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1375 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1329 you have headers in a nonstandard directory <include dir> 1376 you have headers in a nonstandard directory <include dir>
1330 CPP C preprocessor 1377 CPP C preprocessor
1331 PKG_CONFIG path to pkg-config utility 1378 PKG_CONFIG path to pkg-config utility
1332 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config 1379 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1333 GLIB_LIBS linker flags for GLIB, overriding pkg-config 1380 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1334 1381
1335 Use these variables to override the choices made by `configure' or to help 1382 Use these variables to override the choices made by `configure' or to help
1336 it to find libraries and programs with nonstandard names/locations. 1383 it to find libraries and programs with nonstandard names/locations.
1337 1384
1338 Report bugs to <oku@debian.org>. 1385 Report bugs to <meillo@marmaro.de>.
1339 _ACEOF 1386 _ACEOF
1340 ac_status=$? 1387 ac_status=$?
1341 fi 1388 fi
1342 1389
1343 if test "$ac_init_help" = "recursive"; then 1390 if test "$ac_init_help" = "recursive"; then
1344 # If there are subdirs, report their specific --help. 1391 # If there are subdirs, report their specific --help.
1345 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1392 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1346 test -d "$ac_dir" || continue 1393 test -d "$ac_dir" ||
1394 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1395 continue
1347 ac_builddir=. 1396 ac_builddir=.
1348 1397
1349 case "$ac_dir" in 1398 case "$ac_dir" in
1350 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1399 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1351 *) 1400 *)
1352 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1401 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1353 # A ".." for each directory in $ac_dir_suffix. 1402 # A ".." for each directory in $ac_dir_suffix.
1354 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1403 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1355 case $ac_top_builddir_sub in 1404 case $ac_top_builddir_sub in
1356 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1405 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1357 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1406 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1358 esac ;; 1407 esac ;;
1359 esac 1408 esac
1385 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1434 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1386 elif test -f "$ac_srcdir/configure"; then 1435 elif test -f "$ac_srcdir/configure"; then
1387 echo && 1436 echo &&
1388 $SHELL "$ac_srcdir/configure" --help=recursive 1437 $SHELL "$ac_srcdir/configure" --help=recursive
1389 else 1438 else
1390 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1439 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1391 fi || ac_status=$? 1440 fi || ac_status=$?
1392 cd "$ac_pwd" || { ac_status=$?; break; } 1441 cd "$ac_pwd" || { ac_status=$?; break; }
1393 done 1442 done
1394 fi 1443 fi
1395 1444
1396 test -n "$ac_init_help" && exit $ac_status 1445 test -n "$ac_init_help" && exit $ac_status
1397 if $ac_init_version; then 1446 if $ac_init_version; then
1398 cat <<\_ACEOF 1447 cat <<\_ACEOF
1399 masqmail configure 0.2.21 1448 masqmail configure 0.2.21
1400 generated by GNU Autoconf 2.61 1449 generated by GNU Autoconf 2.65
1401 1450
1402 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1451 Copyright (C) 2009 Free Software Foundation, Inc.
1403 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1404 This configure script is free software; the Free Software Foundation 1452 This configure script is free software; the Free Software Foundation
1405 gives unlimited permission to copy, distribute and modify it. 1453 gives unlimited permission to copy, distribute and modify it.
1406 _ACEOF 1454 _ACEOF
1407 exit 1455 exit
1408 fi 1456 fi
1457
1458 ## ------------------------ ##
1459 ## Autoconf initialization. ##
1460 ## ------------------------ ##
1461
1462 # ac_fn_c_try_compile LINENO
1463 # --------------------------
1464 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1465 ac_fn_c_try_compile ()
1466 {
1467 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1468 rm -f conftest.$ac_objext
1469 if { { ac_try="$ac_compile"
1470 case "(($ac_try" in
1471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1472 *) ac_try_echo=$ac_try;;
1473 esac
1474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1475 $as_echo "$ac_try_echo"; } >&5
1476 (eval "$ac_compile") 2>conftest.err
1477 ac_status=$?
1478 if test -s conftest.err; then
1479 grep -v '^ *+' conftest.err >conftest.er1
1480 cat conftest.er1 >&5
1481 mv -f conftest.er1 conftest.err
1482 fi
1483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1484 test $ac_status = 0; } && {
1485 test -z "$ac_c_werror_flag" ||
1486 test ! -s conftest.err
1487 } && test -s conftest.$ac_objext; then :
1488 ac_retval=0
1489 else
1490 $as_echo "$as_me: failed program was:" >&5
1491 sed 's/^/| /' conftest.$ac_ext >&5
1492
1493 ac_retval=1
1494 fi
1495 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1496 as_fn_set_status $ac_retval
1497
1498 } # ac_fn_c_try_compile
1499
1500 # ac_fn_c_try_link LINENO
1501 # -----------------------
1502 # Try to link conftest.$ac_ext, and return whether this succeeded.
1503 ac_fn_c_try_link ()
1504 {
1505 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1506 rm -f conftest.$ac_objext conftest$ac_exeext
1507 if { { ac_try="$ac_link"
1508 case "(($ac_try" in
1509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1510 *) ac_try_echo=$ac_try;;
1511 esac
1512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1513 $as_echo "$ac_try_echo"; } >&5
1514 (eval "$ac_link") 2>conftest.err
1515 ac_status=$?
1516 if test -s conftest.err; then
1517 grep -v '^ *+' conftest.err >conftest.er1
1518 cat conftest.er1 >&5
1519 mv -f conftest.er1 conftest.err
1520 fi
1521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1522 test $ac_status = 0; } && {
1523 test -z "$ac_c_werror_flag" ||
1524 test ! -s conftest.err
1525 } && test -s conftest$ac_exeext && {
1526 test "$cross_compiling" = yes ||
1527 $as_test_x conftest$ac_exeext
1528 }; then :
1529 ac_retval=0
1530 else
1531 $as_echo "$as_me: failed program was:" >&5
1532 sed 's/^/| /' conftest.$ac_ext >&5
1533
1534 ac_retval=1
1535 fi
1536 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1537 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1538 # interfere with the next link command; also delete a directory that is
1539 # left behind by Apple's compiler. We do this before executing the actions.
1540 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1541 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1542 as_fn_set_status $ac_retval
1543
1544 } # ac_fn_c_try_link
1545
1546 # ac_fn_c_try_cpp LINENO
1547 # ----------------------
1548 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1549 ac_fn_c_try_cpp ()
1550 {
1551 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1552 if { { ac_try="$ac_cpp conftest.$ac_ext"
1553 case "(($ac_try" in
1554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1555 *) ac_try_echo=$ac_try;;
1556 esac
1557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1558 $as_echo "$ac_try_echo"; } >&5
1559 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1560 ac_status=$?
1561 if test -s conftest.err; then
1562 grep -v '^ *+' conftest.err >conftest.er1
1563 cat conftest.er1 >&5
1564 mv -f conftest.er1 conftest.err
1565 fi
1566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1567 test $ac_status = 0; } >/dev/null && {
1568 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1569 test ! -s conftest.err
1570 }; then :
1571 ac_retval=0
1572 else
1573 $as_echo "$as_me: failed program was:" >&5
1574 sed 's/^/| /' conftest.$ac_ext >&5
1575
1576 ac_retval=1
1577 fi
1578 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1579 as_fn_set_status $ac_retval
1580
1581 } # ac_fn_c_try_cpp
1582
1583 # ac_fn_c_try_run LINENO
1584 # ----------------------
1585 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1586 # that executables *can* be run.
1587 ac_fn_c_try_run ()
1588 {
1589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1590 if { { ac_try="$ac_link"
1591 case "(($ac_try" in
1592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1593 *) ac_try_echo=$ac_try;;
1594 esac
1595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1596 $as_echo "$ac_try_echo"; } >&5
1597 (eval "$ac_link") 2>&5
1598 ac_status=$?
1599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1600 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1601 { { case "(($ac_try" in
1602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1603 *) ac_try_echo=$ac_try;;
1604 esac
1605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606 $as_echo "$ac_try_echo"; } >&5
1607 (eval "$ac_try") 2>&5
1608 ac_status=$?
1609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1610 test $ac_status = 0; }; }; then :
1611 ac_retval=0
1612 else
1613 $as_echo "$as_me: program exited with status $ac_status" >&5
1614 $as_echo "$as_me: failed program was:" >&5
1615 sed 's/^/| /' conftest.$ac_ext >&5
1616
1617 ac_retval=$ac_status
1618 fi
1619 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1620 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1621 as_fn_set_status $ac_retval
1622
1623 } # ac_fn_c_try_run
1624
1625 # ac_fn_c_check_func LINENO FUNC VAR
1626 # ----------------------------------
1627 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1628 ac_fn_c_check_func ()
1629 {
1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1632 $as_echo_n "checking for $2... " >&6; }
1633 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1634 $as_echo_n "(cached) " >&6
1635 else
1636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1637 /* end confdefs.h. */
1638 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1640 #define $2 innocuous_$2
1641
1642 /* System header to define __stub macros and hopefully few prototypes,
1643 which can conflict with char $2 (); below.
1644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1645 <limits.h> exists even on freestanding compilers. */
1646
1647 #ifdef __STDC__
1648 # include <limits.h>
1649 #else
1650 # include <assert.h>
1651 #endif
1652
1653 #undef $2
1654
1655 /* Override any GCC internal prototype to avoid an error.
1656 Use char because int might match the return type of a GCC
1657 builtin and then its argument prototype would still apply. */
1658 #ifdef __cplusplus
1659 extern "C"
1660 #endif
1661 char $2 ();
1662 /* The GNU C library defines this for functions which it implements
1663 to always fail with ENOSYS. Some functions are actually named
1664 something starting with __ and the normal name is an alias. */
1665 #if defined __stub_$2 || defined __stub___$2
1666 choke me
1667 #endif
1668
1669 int
1670 main ()
1671 {
1672 return $2 ();
1673 ;
1674 return 0;
1675 }
1676 _ACEOF
1677 if ac_fn_c_try_link "$LINENO"; then :
1678 eval "$3=yes"
1679 else
1680 eval "$3=no"
1681 fi
1682 rm -f core conftest.err conftest.$ac_objext \
1683 conftest$ac_exeext conftest.$ac_ext
1684 fi
1685 eval ac_res=\$$3
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1687 $as_echo "$ac_res" >&6; }
1688 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1689
1690 } # ac_fn_c_check_func
1691
1692 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1693 # -------------------------------------------------------
1694 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1695 # the include files in INCLUDES and setting the cache variable VAR
1696 # accordingly.
1697 ac_fn_c_check_header_mongrel ()
1698 {
1699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1700 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1702 $as_echo_n "checking for $2... " >&6; }
1703 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1704 $as_echo_n "(cached) " >&6
1705 fi
1706 eval ac_res=\$$3
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1708 $as_echo "$ac_res" >&6; }
1709 else
1710 # Is the header compilable?
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1712 $as_echo_n "checking $2 usability... " >&6; }
1713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1714 /* end confdefs.h. */
1715 $4
1716 #include <$2>
1717 _ACEOF
1718 if ac_fn_c_try_compile "$LINENO"; then :
1719 ac_header_compiler=yes
1720 else
1721 ac_header_compiler=no
1722 fi
1723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1725 $as_echo "$ac_header_compiler" >&6; }
1726
1727 # Is the header present?
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1729 $as_echo_n "checking $2 presence... " >&6; }
1730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1731 /* end confdefs.h. */
1732 #include <$2>
1733 _ACEOF
1734 if ac_fn_c_try_cpp "$LINENO"; then :
1735 ac_header_preproc=yes
1736 else
1737 ac_header_preproc=no
1738 fi
1739 rm -f conftest.err conftest.$ac_ext
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1741 $as_echo "$ac_header_preproc" >&6; }
1742
1743 # So? What about this header?
1744 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1745 yes:no: )
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1747 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1749 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1750 ;;
1751 no:yes:* )
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1753 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1755 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1757 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1759 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1761 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1762 ( cat <<\_ASBOX
1763 ## -------------------------------- ##
1764 ## Report this to meillo@marmaro.de ##
1765 ## -------------------------------- ##
1766 _ASBOX
1767 ) | sed "s/^/$as_me: WARNING: /" >&2
1768 ;;
1769 esac
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1771 $as_echo_n "checking for $2... " >&6; }
1772 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1773 $as_echo_n "(cached) " >&6
1774 else
1775 eval "$3=\$ac_header_compiler"
1776 fi
1777 eval ac_res=\$$3
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1779 $as_echo "$ac_res" >&6; }
1780 fi
1781 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1782
1783 } # ac_fn_c_check_header_mongrel
1784
1785 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1786 # -------------------------------------------------------
1787 # Tests whether HEADER exists and can be compiled using the include files in
1788 # INCLUDES, setting the cache variable VAR accordingly.
1789 ac_fn_c_check_header_compile ()
1790 {
1791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1793 $as_echo_n "checking for $2... " >&6; }
1794 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1795 $as_echo_n "(cached) " >&6
1796 else
1797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1798 /* end confdefs.h. */
1799 $4
1800 #include <$2>
1801 _ACEOF
1802 if ac_fn_c_try_compile "$LINENO"; then :
1803 eval "$3=yes"
1804 else
1805 eval "$3=no"
1806 fi
1807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1808 fi
1809 eval ac_res=\$$3
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1811 $as_echo "$ac_res" >&6; }
1812 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1813
1814 } # ac_fn_c_check_header_compile
1815
1816 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1817 # -------------------------------------------
1818 # Tests whether TYPE exists after having included INCLUDES, setting cache
1819 # variable VAR accordingly.
1820 ac_fn_c_check_type ()
1821 {
1822 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1824 $as_echo_n "checking for $2... " >&6; }
1825 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1826 $as_echo_n "(cached) " >&6
1827 else
1828 eval "$3=no"
1829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1830 /* end confdefs.h. */
1831 $4
1832 int
1833 main ()
1834 {
1835 if (sizeof ($2))
1836 return 0;
1837 ;
1838 return 0;
1839 }
1840 _ACEOF
1841 if ac_fn_c_try_compile "$LINENO"; then :
1842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1843 /* end confdefs.h. */
1844 $4
1845 int
1846 main ()
1847 {
1848 if (sizeof (($2)))
1849 return 0;
1850 ;
1851 return 0;
1852 }
1853 _ACEOF
1854 if ac_fn_c_try_compile "$LINENO"; then :
1855
1856 else
1857 eval "$3=yes"
1858 fi
1859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1860 fi
1861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1862 fi
1863 eval ac_res=\$$3
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1865 $as_echo "$ac_res" >&6; }
1866 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1867
1868 } # ac_fn_c_check_type
1409 cat >config.log <<_ACEOF 1869 cat >config.log <<_ACEOF
1410 This file contains any messages produced by compilers while 1870 This file contains any messages produced by compilers while
1411 running configure, to aid debugging if configure makes a mistake. 1871 running configure, to aid debugging if configure makes a mistake.
1412 1872
1413 It was created by masqmail $as_me 0.2.21, which was 1873 It was created by masqmail $as_me 0.2.21, which was
1414 generated by GNU Autoconf 2.61. Invocation command line was 1874 generated by GNU Autoconf 2.65. Invocation command line was
1415 1875
1416 $ $0 $@ 1876 $ $0 $@
1417 1877
1418 _ACEOF 1878 _ACEOF
1419 exec 5>>config.log 1879 exec 5>>config.log
1445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1446 for as_dir in $PATH 1906 for as_dir in $PATH
1447 do 1907 do
1448 IFS=$as_save_IFS 1908 IFS=$as_save_IFS
1449 test -z "$as_dir" && as_dir=. 1909 test -z "$as_dir" && as_dir=.
1450 echo "PATH: $as_dir" 1910 $as_echo "PATH: $as_dir"
1451 done 1911 done
1452 IFS=$as_save_IFS 1912 IFS=$as_save_IFS
1453 1913
1454 } >&5 1914 } >&5
1455 1915
1456 cat >&5 <<_ACEOF 1916 cat >&5 <<_ACEOF
1480 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1940 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1481 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1941 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1482 | -silent | --silent | --silen | --sile | --sil) 1942 | -silent | --silent | --silen | --sile | --sil)
1483 continue ;; 1943 continue ;;
1484 *\'*) 1944 *\'*)
1485 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1945 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1486 esac 1946 esac
1487 case $ac_pass in 1947 case $ac_pass in
1488 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1948 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1489 2) 1949 2)
1490 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1950 as_fn_append ac_configure_args1 " '$ac_arg'"
1491 if test $ac_must_keep_next = true; then 1951 if test $ac_must_keep_next = true; then
1492 ac_must_keep_next=false # Got value, back to normal. 1952 ac_must_keep_next=false # Got value, back to normal.
1493 else 1953 else
1494 case $ac_arg in 1954 case $ac_arg in
1495 *=* | --config-cache | -C | -disable-* | --disable-* \ 1955 *=* | --config-cache | -C | -disable-* | --disable-* \
1501 esac 1961 esac
1502 ;; 1962 ;;
1503 -* ) ac_must_keep_next=true ;; 1963 -* ) ac_must_keep_next=true ;;
1504 esac 1964 esac
1505 fi 1965 fi
1506 ac_configure_args="$ac_configure_args '$ac_arg'" 1966 as_fn_append ac_configure_args " '$ac_arg'"
1507 ;; 1967 ;;
1508 esac 1968 esac
1509 done 1969 done
1510 done 1970 done
1511 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1971 { ac_configure_args0=; unset ac_configure_args0;}
1512 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1972 { ac_configure_args1=; unset ac_configure_args1;}
1513 1973
1514 # When interrupted or exit'd, cleanup temporary files, and complete 1974 # When interrupted or exit'd, cleanup temporary files, and complete
1515 # config.log. We remove comments because anyway the quotes in there 1975 # config.log. We remove comments because anyway the quotes in there
1516 # would cause problems or look ugly. 1976 # would cause problems or look ugly.
1517 # WARNING: Use '\'' to represent an apostrophe within the trap. 1977 # WARNING: Use '\'' to represent an apostrophe within the trap.
1532 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1992 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1533 eval ac_val=\$$ac_var 1993 eval ac_val=\$$ac_var
1534 case $ac_val in #( 1994 case $ac_val in #(
1535 *${as_nl}*) 1995 *${as_nl}*)
1536 case $ac_var in #( 1996 case $ac_var in #(
1537 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1997 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1538 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1998 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1539 esac 1999 esac
1540 case $ac_var in #( 2000 case $ac_var in #(
1541 _ | IFS | as_nl) ;; #( 2001 _ | IFS | as_nl) ;; #(
1542 *) $as_unset $ac_var ;; 2002 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2003 *) { eval $ac_var=; unset $ac_var;} ;;
1543 esac ;; 2004 esac ;;
1544 esac 2005 esac
1545 done 2006 done
1546 (set) 2>&1 | 2007 (set) 2>&1 |
1547 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2008 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1566 echo 2027 echo
1567 for ac_var in $ac_subst_vars 2028 for ac_var in $ac_subst_vars
1568 do 2029 do
1569 eval ac_val=\$$ac_var 2030 eval ac_val=\$$ac_var
1570 case $ac_val in 2031 case $ac_val in
1571 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2032 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1572 esac 2033 esac
1573 echo "$ac_var='\''$ac_val'\''" 2034 $as_echo "$ac_var='\''$ac_val'\''"
1574 done | sort 2035 done | sort
1575 echo 2036 echo
1576 2037
1577 if test -n "$ac_subst_files"; then 2038 if test -n "$ac_subst_files"; then
1578 cat <<\_ASBOX 2039 cat <<\_ASBOX
1583 echo 2044 echo
1584 for ac_var in $ac_subst_files 2045 for ac_var in $ac_subst_files
1585 do 2046 do
1586 eval ac_val=\$$ac_var 2047 eval ac_val=\$$ac_var
1587 case $ac_val in 2048 case $ac_val in
1588 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2049 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1589 esac 2050 esac
1590 echo "$ac_var='\''$ac_val'\''" 2051 $as_echo "$ac_var='\''$ac_val'\''"
1591 done | sort 2052 done | sort
1592 echo 2053 echo
1593 fi 2054 fi
1594 2055
1595 if test -s confdefs.h; then 2056 if test -s confdefs.h; then
1601 echo 2062 echo
1602 cat confdefs.h 2063 cat confdefs.h
1603 echo 2064 echo
1604 fi 2065 fi
1605 test "$ac_signal" != 0 && 2066 test "$ac_signal" != 0 &&
1606 echo "$as_me: caught signal $ac_signal" 2067 $as_echo "$as_me: caught signal $ac_signal"
1607 echo "$as_me: exit $exit_status" 2068 $as_echo "$as_me: exit $exit_status"
1608 } >&5 2069 } >&5
1609 rm -f core *.core core.conftest.* && 2070 rm -f core *.core core.conftest.* &&
1610 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2071 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1611 exit $exit_status 2072 exit $exit_status
1612 ' 0 2073 ' 0
1613 for ac_signal in 1 2 13 15; do 2074 for ac_signal in 1 2 13 15; do
1614 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2075 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1615 done 2076 done
1616 ac_signal=0 2077 ac_signal=0
1617 2078
1618 # confdefs.h avoids OS command line length limits that DEFS can exceed. 2079 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1619 rm -f -r conftest* confdefs.h 2080 rm -f -r conftest* confdefs.h
1620 2081
2082 $as_echo "/* confdefs.h */" > confdefs.h
2083
1621 # Predefined preprocessor variables. 2084 # Predefined preprocessor variables.
1622 2085
1623 cat >>confdefs.h <<_ACEOF 2086 cat >>confdefs.h <<_ACEOF
1624 #define PACKAGE_NAME "$PACKAGE_NAME" 2087 #define PACKAGE_NAME "$PACKAGE_NAME"
1625 _ACEOF 2088 _ACEOF
1626 2089
1627
1628 cat >>confdefs.h <<_ACEOF 2090 cat >>confdefs.h <<_ACEOF
1629 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2091 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1630 _ACEOF 2092 _ACEOF
1631 2093
1632
1633 cat >>confdefs.h <<_ACEOF 2094 cat >>confdefs.h <<_ACEOF
1634 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2095 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1635 _ACEOF 2096 _ACEOF
1636 2097
1637
1638 cat >>confdefs.h <<_ACEOF 2098 cat >>confdefs.h <<_ACEOF
1639 #define PACKAGE_STRING "$PACKAGE_STRING" 2099 #define PACKAGE_STRING "$PACKAGE_STRING"
1640 _ACEOF 2100 _ACEOF
1641 2101
1642
1643 cat >>confdefs.h <<_ACEOF 2102 cat >>confdefs.h <<_ACEOF
1644 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2103 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1645 _ACEOF 2104 _ACEOF
1646 2105
2106 cat >>confdefs.h <<_ACEOF
2107 #define PACKAGE_URL "$PACKAGE_URL"
2108 _ACEOF
2109
1647 2110
1648 # Let the site file select an alternate cache file if it wants to. 2111 # Let the site file select an alternate cache file if it wants to.
1649 # Prefer explicitly selected file to automatically selected ones. 2112 # Prefer an explicitly selected file to automatically selected ones.
2113 ac_site_file1=NONE
2114 ac_site_file2=NONE
1650 if test -n "$CONFIG_SITE"; then 2115 if test -n "$CONFIG_SITE"; then
1651 set x "$CONFIG_SITE" 2116 ac_site_file1=$CONFIG_SITE
1652 elif test "x$prefix" != xNONE; then 2117 elif test "x$prefix" != xNONE; then
1653 set x "$prefix/share/config.site" "$prefix/etc/config.site" 2118 ac_site_file1=$prefix/share/config.site
1654 else 2119 ac_site_file2=$prefix/etc/config.site
1655 set x "$ac_default_prefix/share/config.site" \ 2120 else
1656 "$ac_default_prefix/etc/config.site" 2121 ac_site_file1=$ac_default_prefix/share/config.site
1657 fi 2122 ac_site_file2=$ac_default_prefix/etc/config.site
1658 shift 2123 fi
1659 for ac_site_file 2124 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1660 do 2125 do
1661 if test -r "$ac_site_file"; then 2126 test "x$ac_site_file" = xNONE && continue
1662 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 2127 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1663 echo "$as_me: loading site script $ac_site_file" >&6;} 2128 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2129 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1664 sed 's/^/| /' "$ac_site_file" >&5 2130 sed 's/^/| /' "$ac_site_file" >&5
1665 . "$ac_site_file" 2131 . "$ac_site_file"
1666 fi 2132 fi
1667 done 2133 done
1668 2134
1669 if test -r "$cache_file"; then 2135 if test -r "$cache_file"; then
1670 # Some versions of bash will fail to source /dev/null (special 2136 # Some versions of bash will fail to source /dev/null (special files
1671 # files actually), so we avoid doing that. 2137 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1672 if test -f "$cache_file"; then 2138 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1673 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 2139 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1674 echo "$as_me: loading cache $cache_file" >&6;} 2140 $as_echo "$as_me: loading cache $cache_file" >&6;}
1675 case $cache_file in 2141 case $cache_file in
1676 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2142 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1677 *) . "./$cache_file";; 2143 *) . "./$cache_file";;
1678 esac 2144 esac
1679 fi 2145 fi
1680 else 2146 else
1681 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 2147 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1682 echo "$as_me: creating cache $cache_file" >&6;} 2148 $as_echo "$as_me: creating cache $cache_file" >&6;}
1683 >$cache_file 2149 >$cache_file
1684 fi 2150 fi
1685 2151
1686 # Check that the precious variables saved in the cache have kept the same 2152 # Check that the precious variables saved in the cache have kept the same
1687 # value. 2153 # value.
1691 eval ac_new_set=\$ac_env_${ac_var}_set 2157 eval ac_new_set=\$ac_env_${ac_var}_set
1692 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2158 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1693 eval ac_new_val=\$ac_env_${ac_var}_value 2159 eval ac_new_val=\$ac_env_${ac_var}_value
1694 case $ac_old_set,$ac_new_set in 2160 case $ac_old_set,$ac_new_set in
1695 set,) 2161 set,)
1696 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2162 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1697 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2163 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1698 ac_cache_corrupted=: ;; 2164 ac_cache_corrupted=: ;;
1699 ,set) 2165 ,set)
1700 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 2166 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1701 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2167 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1702 ac_cache_corrupted=: ;; 2168 ac_cache_corrupted=: ;;
1703 ,);; 2169 ,);;
1704 *) 2170 *)
1705 if test "x$ac_old_val" != "x$ac_new_val"; then 2171 if test "x$ac_old_val" != "x$ac_new_val"; then
1706 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2172 # differences in whitespace do not lead to failure.
1707 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2173 ac_old_val_w=`echo x $ac_old_val`
1708 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 2174 ac_new_val_w=`echo x $ac_new_val`
1709 echo "$as_me: former value: $ac_old_val" >&2;} 2175 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1710 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 2176 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1711 echo "$as_me: current value: $ac_new_val" >&2;} 2177 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1712 ac_cache_corrupted=: 2178 ac_cache_corrupted=:
2179 else
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2181 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2182 eval $ac_var=\$ac_old_val
2183 fi
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2185 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2187 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1713 fi;; 2188 fi;;
1714 esac 2189 esac
1715 # Pass precious variables to config.status. 2190 # Pass precious variables to config.status.
1716 if test "$ac_new_set" = set; then 2191 if test "$ac_new_set" = set; then
1717 case $ac_new_val in 2192 case $ac_new_val in
1718 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2193 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1719 *) ac_arg=$ac_var=$ac_new_val ;; 2194 *) ac_arg=$ac_var=$ac_new_val ;;
1720 esac 2195 esac
1721 case " $ac_configure_args " in 2196 case " $ac_configure_args " in
1722 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2197 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1723 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2198 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1724 esac 2199 esac
1725 fi 2200 fi
1726 done 2201 done
1727 if $ac_cache_corrupted; then 2202 if $ac_cache_corrupted; then
1728 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2203 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1729 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2204 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1730 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1731 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 2206 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1732 { (exit 1); exit 1; }; } 2207 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1733 fi 2208 fi
1734 2209 ## -------------------- ##
1735 2210 ## Main body of script. ##
1736 2211 ## -------------------- ##
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758 2212
1759 ac_ext=c 2213 ac_ext=c
1760 ac_cpp='$CPP $CPPFLAGS' 2214 ac_cpp='$CPP $CPPFLAGS'
1761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1764 2218
1765 2219
1766 2220
1767 ac_config_headers="$ac_config_headers config.h" 2221 ac_config_headers="$ac_config_headers config.h"
1768 2222
1769 am__api_version="1.7" 2223 am__api_version='1.11'
2224
1770 ac_aux_dir= 2225 ac_aux_dir=
1771 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2226 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1772 if test -f "$ac_dir/install-sh"; then 2227 for ac_t in install-sh install.sh shtool; do
1773 ac_aux_dir=$ac_dir 2228 if test -f "$ac_dir/$ac_t"; then
1774 ac_install_sh="$ac_aux_dir/install-sh -c" 2229 ac_aux_dir=$ac_dir
1775 break 2230 ac_install_sh="$ac_aux_dir/$ac_t -c"
1776 elif test -f "$ac_dir/install.sh"; then 2231 break 2
1777 ac_aux_dir=$ac_dir 2232 fi
1778 ac_install_sh="$ac_aux_dir/install.sh -c" 2233 done
1779 break
1780 elif test -f "$ac_dir/shtool"; then
1781 ac_aux_dir=$ac_dir
1782 ac_install_sh="$ac_aux_dir/shtool install -c"
1783 break
1784 fi
1785 done 2234 done
1786 if test -z "$ac_aux_dir"; then 2235 if test -z "$ac_aux_dir"; then
1787 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 2236 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1788 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1789 { (exit 1); exit 1; }; }
1790 fi 2237 fi
1791 2238
1792 # These three variables are undocumented and unsupported, 2239 # These three variables are undocumented and unsupported,
1793 # and are intended to be withdrawn in a future Autoconf release. 2240 # and are intended to be withdrawn in a future Autoconf release.
1794 # They can cause serious problems if a builder's source tree is in a directory 2241 # They can cause serious problems if a builder's source tree is in a directory
1809 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2256 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1810 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2257 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1811 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2258 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1812 # OS/2's system install, which has a completely different semantic 2259 # OS/2's system install, which has a completely different semantic
1813 # ./install, which can be erroneously created by make from ./install.sh. 2260 # ./install, which can be erroneously created by make from ./install.sh.
1814 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2261 # Reject install programs that cannot install multiple files.
1815 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2263 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1816 if test -z "$INSTALL"; then 2264 if test -z "$INSTALL"; then
1817 if test "${ac_cv_path_install+set}" = set; then 2265 if test "${ac_cv_path_install+set}" = set; then :
1818 echo $ECHO_N "(cached) $ECHO_C" >&6 2266 $as_echo_n "(cached) " >&6
1819 else 2267 else
1820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1821 for as_dir in $PATH 2269 for as_dir in $PATH
1822 do 2270 do
1823 IFS=$as_save_IFS 2271 IFS=$as_save_IFS
1824 test -z "$as_dir" && as_dir=. 2272 test -z "$as_dir" && as_dir=.
1825 # Account for people who put trailing slashes in PATH elements. 2273 # Account for people who put trailing slashes in PATH elements.
1826 case $as_dir/ in 2274 case $as_dir/ in #((
1827 ./ | .// | /cC/* | \ 2275 ./ | .// | /[cC]/* | \
1828 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2276 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1829 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2277 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1830 /usr/ucb/* ) ;; 2278 /usr/ucb/* ) ;;
1831 *) 2279 *)
1832 # OSF1 and SCO ODT 3.0 have their own names for install. 2280 # OSF1 and SCO ODT 3.0 have their own names for install.
1833 # Don't use installbsd from OSF since it installs stuff as root 2281 # Don't use installbsd from OSF since it installs stuff as root
1834 # by default. 2282 # by default.
1842 elif test $ac_prog = install && 2290 elif test $ac_prog = install &&
1843 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2291 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1844 # program-specific install script used by HP pwplus--don't use. 2292 # program-specific install script used by HP pwplus--don't use.
1845 : 2293 :
1846 else 2294 else
1847 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2295 rm -rf conftest.one conftest.two conftest.dir
1848 break 3 2296 echo one > conftest.one
2297 echo two > conftest.two
2298 mkdir conftest.dir
2299 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2300 test -s conftest.one && test -s conftest.two &&
2301 test -s conftest.dir/conftest.one &&
2302 test -s conftest.dir/conftest.two
2303 then
2304 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2305 break 3
2306 fi
1849 fi 2307 fi
1850 fi 2308 fi
1851 done 2309 done
1852 done 2310 done
1853 ;; 2311 ;;
1854 esac 2312 esac
1855 done 2313
2314 done
1856 IFS=$as_save_IFS 2315 IFS=$as_save_IFS
1857 2316
2317 rm -rf conftest.one conftest.two conftest.dir
1858 2318
1859 fi 2319 fi
1860 if test "${ac_cv_path_install+set}" = set; then 2320 if test "${ac_cv_path_install+set}" = set; then
1861 INSTALL=$ac_cv_path_install 2321 INSTALL=$ac_cv_path_install
1862 else 2322 else
1865 # break other packages using the cache if that directory is 2325 # break other packages using the cache if that directory is
1866 # removed, or if the value is a relative name. 2326 # removed, or if the value is a relative name.
1867 INSTALL=$ac_install_sh 2327 INSTALL=$ac_install_sh
1868 fi 2328 fi
1869 fi 2329 fi
1870 { echo "$as_me:$LINENO: result: $INSTALL" >&5 2330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1871 echo "${ECHO_T}$INSTALL" >&6; } 2331 $as_echo "$INSTALL" >&6; }
1872 2332
1873 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2333 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1874 # It thinks the first close brace ends the variable substitution. 2334 # It thinks the first close brace ends the variable substitution.
1875 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2335 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1876 2336
1877 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2337 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1878 2338
1879 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2339 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1880 2340
1881 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1882 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 2342 $as_echo_n "checking whether build environment is sane... " >&6; }
1883 # Just in case 2343 # Just in case
1884 sleep 1 2344 sleep 1
1885 echo timestamp > conftest.file 2345 echo timestamp > conftest.file
2346 # Reject unsafe characters in $srcdir or the absolute working directory
2347 # name. Accept space and tab only in the latter.
2348 am_lf='
2349 '
2350 case `pwd` in
2351 *[\\\"\#\$\&\'\`$am_lf]*)
2352 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2353 esac
2354 case $srcdir in
2355 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2356 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2357 esac
2358
1886 # Do `set' in a subshell so we don't clobber the current shell's 2359 # Do `set' in a subshell so we don't clobber the current shell's
1887 # arguments. Must try -L first in case configure is actually a 2360 # arguments. Must try -L first in case configure is actually a
1888 # symlink; some systems play weird games with the mod time of symlinks 2361 # symlink; some systems play weird games with the mod time of symlinks
1889 # (eg FreeBSD returns the mod time of the symlink's containing 2362 # (eg FreeBSD returns the mod time of the symlink's containing
1890 # directory). 2363 # directory).
1891 if ( 2364 if (
1892 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 2365 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1893 if test "$*" = "X"; then 2366 if test "$*" = "X"; then
1894 # -L didn't work. 2367 # -L didn't work.
1895 set X `ls -t $srcdir/configure conftest.file` 2368 set X `ls -t "$srcdir/configure" conftest.file`
1896 fi 2369 fi
1897 rm -f conftest.file 2370 rm -f conftest.file
1898 if test "$*" != "X $srcdir/configure conftest.file" \ 2371 if test "$*" != "X $srcdir/configure conftest.file" \
1899 && test "$*" != "X conftest.file $srcdir/configure"; then 2372 && test "$*" != "X conftest.file $srcdir/configure"; then
1900 2373
1901 # If neither matched, then we have a broken ls. This can happen 2374 # If neither matched, then we have a broken ls. This can happen
1902 # if, for instance, CONFIG_SHELL is bash and it inherits a 2375 # if, for instance, CONFIG_SHELL is bash and it inherits a
1903 # broken ls alias from the environment. This has actually 2376 # broken ls alias from the environment. This has actually
1904 # happened. Such a system could not be considered "sane". 2377 # happened. Such a system could not be considered "sane".
1905 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 2378 as_fn_error "ls -t appears to fail. Make sure there is not a broken
1906 alias in your environment" >&5 2379 alias in your environment" "$LINENO" 5
1907 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1908 alias in your environment" >&2;}
1909 { (exit 1); exit 1; }; }
1910 fi 2380 fi
1911 2381
1912 test "$2" = conftest.file 2382 test "$2" = conftest.file
1913 ) 2383 )
1914 then 2384 then
1915 # Ok. 2385 # Ok.
1916 : 2386 :
1917 else 2387 else
1918 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 2388 as_fn_error "newly created file is older than distributed files!
1919 Check your system clock" >&5 2389 Check your system clock" "$LINENO" 5
1920 echo "$as_me: error: newly created file is older than distributed files! 2390 fi
1921 Check your system clock" >&2;} 2391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1922 { (exit 1); exit 1; }; } 2392 $as_echo "yes" >&6; }
1923 fi
1924 { echo "$as_me:$LINENO: result: yes" >&5
1925 echo "${ECHO_T}yes" >&6; }
1926 test "$program_prefix" != NONE && 2393 test "$program_prefix" != NONE &&
1927 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2394 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1928 # Use a double $ so make ignores it. 2395 # Use a double $ so make ignores it.
1929 test "$program_suffix" != NONE && 2396 test "$program_suffix" != NONE &&
1930 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2397 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1931 # Double any \ or $. echo might interpret backslashes. 2398 # Double any \ or $.
1932 # By default was `s,x,x', remove it if useless. 2399 # By default was `s,x,x', remove it if useless.
1933 cat <<\_ACEOF >conftest.sed 2400 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1934 s/[\\$]/&&/g;s/;s,x,x,$// 2401 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1935 _ACEOF
1936 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1937 rm -f conftest.sed
1938
1939 2402
1940 # expand $ac_aux_dir to an absolute path 2403 # expand $ac_aux_dir to an absolute path
1941 am_aux_dir=`cd $ac_aux_dir && pwd` 2404 am_aux_dir=`cd $ac_aux_dir && pwd`
1942 2405
1943 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 2406 if test x"${MISSING+set}" != xset; then
2407 case $am_aux_dir in
2408 *\ * | *\ *)
2409 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2410 *)
2411 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2412 esac
2413 fi
1944 # Use eval to expand $SHELL 2414 # Use eval to expand $SHELL
1945 if eval "$MISSING --run true"; then 2415 if eval "$MISSING --run true"; then
1946 am_missing_run="$MISSING --run " 2416 am_missing_run="$MISSING --run "
1947 else 2417 else
1948 am_missing_run= 2418 am_missing_run=
1949 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1950 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2420 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1951 fi 2421 fi
1952 2422
1953 for ac_prog in gawk mawk nawk awk 2423 if test x"${install_sh}" != xset; then
1954 do 2424 case $am_aux_dir in
1955 # Extract the first word of "$ac_prog", so it can be a program name with args. 2425 *\ * | *\ *)
1956 set dummy $ac_prog; ac_word=$2 2426 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1957 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2427 *)
1958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2428 install_sh="\${SHELL} $am_aux_dir/install-sh"
1959 if test "${ac_cv_prog_AWK+set}" = set; then 2429 esac
1960 echo $ECHO_N "(cached) $ECHO_C" >&6 2430 fi
1961 else 2431
1962 if test -n "$AWK"; then 2432 # Installed binaries are usually stripped using `strip' when the user
1963 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2433 # run `make install-strip'. However `strip' might not be the right
2434 # tool to use in cross-compilation environments, therefore Automake
2435 # will honor the `STRIP' environment variable to overrule this program.
2436 if test "$cross_compiling" != no; then
2437 if test -n "$ac_tool_prefix"; then
2438 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2439 set dummy ${ac_tool_prefix}strip; ac_word=$2
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2441 $as_echo_n "checking for $ac_word... " >&6; }
2442 if test "${ac_cv_prog_STRIP+set}" = set; then :
2443 $as_echo_n "(cached) " >&6
2444 else
2445 if test -n "$STRIP"; then
2446 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1964 else 2447 else
1965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1966 for as_dir in $PATH 2449 for as_dir in $PATH
1967 do 2450 do
1968 IFS=$as_save_IFS 2451 IFS=$as_save_IFS
1969 test -z "$as_dir" && as_dir=. 2452 test -z "$as_dir" && as_dir=.
1970 for ac_exec_ext in '' $ac_executable_extensions; do 2453 for ac_exec_ext in '' $ac_executable_extensions; do
1971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1972 ac_cv_prog_AWK="$ac_prog" 2455 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1974 break 2 2457 break 2
1975 fi 2458 fi
1976 done 2459 done
2460 done
2461 IFS=$as_save_IFS
2462
2463 fi
2464 fi
2465 STRIP=$ac_cv_prog_STRIP
2466 if test -n "$STRIP"; then
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2468 $as_echo "$STRIP" >&6; }
2469 else
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2471 $as_echo "no" >&6; }
2472 fi
2473
2474
2475 fi
2476 if test -z "$ac_cv_prog_STRIP"; then
2477 ac_ct_STRIP=$STRIP
2478 # Extract the first word of "strip", so it can be a program name with args.
2479 set dummy strip; ac_word=$2
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2481 $as_echo_n "checking for $ac_word... " >&6; }
2482 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2483 $as_echo_n "(cached) " >&6
2484 else
2485 if test -n "$ac_ct_STRIP"; then
2486 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2487 else
2488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2489 for as_dir in $PATH
2490 do
2491 IFS=$as_save_IFS
2492 test -z "$as_dir" && as_dir=.
2493 for ac_exec_ext in '' $ac_executable_extensions; do
2494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2495 ac_cv_prog_ac_ct_STRIP="strip"
2496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2497 break 2
2498 fi
1977 done 2499 done
2500 done
2501 IFS=$as_save_IFS
2502
2503 fi
2504 fi
2505 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2506 if test -n "$ac_ct_STRIP"; then
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2508 $as_echo "$ac_ct_STRIP" >&6; }
2509 else
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2511 $as_echo "no" >&6; }
2512 fi
2513
2514 if test "x$ac_ct_STRIP" = x; then
2515 STRIP=":"
2516 else
2517 case $cross_compiling:$ac_tool_warned in
2518 yes:)
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2521 ac_tool_warned=yes ;;
2522 esac
2523 STRIP=$ac_ct_STRIP
2524 fi
2525 else
2526 STRIP="$ac_cv_prog_STRIP"
2527 fi
2528
2529 fi
2530 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2531
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2533 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2534 if test -z "$MKDIR_P"; then
2535 if test "${ac_cv_path_mkdir+set}" = set; then :
2536 $as_echo_n "(cached) " >&6
2537 else
2538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2539 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2540 do
2541 IFS=$as_save_IFS
2542 test -z "$as_dir" && as_dir=.
2543 for ac_prog in mkdir gmkdir; do
2544 for ac_exec_ext in '' $ac_executable_extensions; do
2545 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2546 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2547 'mkdir (GNU coreutils) '* | \
2548 'mkdir (coreutils) '* | \
2549 'mkdir (fileutils) '4.1*)
2550 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2551 break 3;;
2552 esac
2553 done
2554 done
2555 done
2556 IFS=$as_save_IFS
2557
2558 fi
2559
2560 test -d ./--version && rmdir ./--version
2561 if test "${ac_cv_path_mkdir+set}" = set; then
2562 MKDIR_P="$ac_cv_path_mkdir -p"
2563 else
2564 # As a last resort, use the slow shell script. Don't cache a
2565 # value for MKDIR_P within a source directory, because that will
2566 # break other packages using the cache if that directory is
2567 # removed, or if the value is a relative name.
2568 MKDIR_P="$ac_install_sh -d"
2569 fi
2570 fi
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2572 $as_echo "$MKDIR_P" >&6; }
2573
2574 mkdir_p="$MKDIR_P"
2575 case $mkdir_p in
2576 [\\/$]* | ?:[\\/]*) ;;
2577 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2578 esac
2579
2580 for ac_prog in gawk mawk nawk awk
2581 do
2582 # Extract the first word of "$ac_prog", so it can be a program name with args.
2583 set dummy $ac_prog; ac_word=$2
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2585 $as_echo_n "checking for $ac_word... " >&6; }
2586 if test "${ac_cv_prog_AWK+set}" = set; then :
2587 $as_echo_n "(cached) " >&6
2588 else
2589 if test -n "$AWK"; then
2590 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2591 else
2592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2593 for as_dir in $PATH
2594 do
2595 IFS=$as_save_IFS
2596 test -z "$as_dir" && as_dir=.
2597 for ac_exec_ext in '' $ac_executable_extensions; do
2598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2599 ac_cv_prog_AWK="$ac_prog"
2600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2601 break 2
2602 fi
2603 done
2604 done
1978 IFS=$as_save_IFS 2605 IFS=$as_save_IFS
1979 2606
1980 fi 2607 fi
1981 fi 2608 fi
1982 AWK=$ac_cv_prog_AWK 2609 AWK=$ac_cv_prog_AWK
1983 if test -n "$AWK"; then 2610 if test -n "$AWK"; then
1984 { echo "$as_me:$LINENO: result: $AWK" >&5 2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
1985 echo "${ECHO_T}$AWK" >&6; } 2612 $as_echo "$AWK" >&6; }
1986 else 2613 else
1987 { echo "$as_me:$LINENO: result: no" >&5 2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1988 echo "${ECHO_T}no" >&6; } 2615 $as_echo "no" >&6; }
1989 fi 2616 fi
1990 2617
1991 2618
1992 test -n "$AWK" && break 2619 test -n "$AWK" && break
1993 done 2620 done
1994 2621
1995 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1996 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 2623 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
1997 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2624 set x ${MAKE-make}
1998 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2625 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1999 echo $ECHO_N "(cached) $ECHO_C" >&6 2626 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2627 $as_echo_n "(cached) " >&6
2000 else 2628 else
2001 cat >conftest.make <<\_ACEOF 2629 cat >conftest.make <<\_ACEOF
2002 SHELL = /bin/sh 2630 SHELL = /bin/sh
2003 all: 2631 all:
2004 @echo '@@@%%%=$(MAKE)=@@@%%%' 2632 @echo '@@@%%%=$(MAKE)=@@@%%%'
2011 eval ac_cv_prog_make_${ac_make}_set=no;; 2639 eval ac_cv_prog_make_${ac_make}_set=no;;
2012 esac 2640 esac
2013 rm -f conftest.make 2641 rm -f conftest.make
2014 fi 2642 fi
2015 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2643 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2016 { echo "$as_me:$LINENO: result: yes" >&5 2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2017 echo "${ECHO_T}yes" >&6; } 2645 $as_echo "yes" >&6; }
2018 SET_MAKE= 2646 SET_MAKE=
2019 else 2647 else
2020 { echo "$as_me:$LINENO: result: no" >&5 2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2021 echo "${ECHO_T}no" >&6; } 2649 $as_echo "no" >&6; }
2022 SET_MAKE="MAKE=${MAKE-make}" 2650 SET_MAKE="MAKE=${MAKE-make}"
2023 fi 2651 fi
2024 2652
2025 rm -rf .tst 2>/dev/null 2653 rm -rf .tst 2>/dev/null
2026 mkdir .tst 2>/dev/null 2654 mkdir .tst 2>/dev/null
2029 else 2657 else
2030 am__leading_dot=_ 2658 am__leading_dot=_
2031 fi 2659 fi
2032 rmdir .tst 2>/dev/null 2660 rmdir .tst 2>/dev/null
2033 2661
2034 # test to see if srcdir already configured 2662 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2035 if test "`cd $srcdir && pwd`" != "`pwd`" && 2663 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2036 test -f $srcdir/config.status; then 2664 # is not polluted with repeated "-I."
2037 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2665 am__isrc=' -I$(srcdir)'
2038 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2666 # test to see if srcdir already configured
2039 { (exit 1); exit 1; }; } 2667 if test -f $srcdir/config.status; then
2668 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2669 fi
2040 fi 2670 fi
2041 2671
2042 # test whether we have cygpath 2672 # test whether we have cygpath
2043 if test -z "$CYGPATH_W"; then 2673 if test -z "$CYGPATH_W"; then
2044 if (cygpath --version) >/dev/null 2>/dev/null; then 2674 if (cygpath --version) >/dev/null 2>/dev/null; then
2077 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2707 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2078 2708
2079 2709
2080 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2710 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2081 2711
2082
2083 AMTAR=${AMTAR-"${am_missing_run}tar"}
2084
2085 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2086
2087 # Installed binaries are usually stripped using `strip' when the user
2088 # run `make install-strip'. However `strip' might not be the right
2089 # tool to use in cross-compilation environments, therefore Automake
2090 # will honor the `STRIP' environment variable to overrule this program.
2091 if test "$cross_compiling" != no; then
2092 if test -n "$ac_tool_prefix"; then
2093 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2094 set dummy ${ac_tool_prefix}strip; ac_word=$2
2095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2097 if test "${ac_cv_prog_STRIP+set}" = set; then
2098 echo $ECHO_N "(cached) $ECHO_C" >&6
2099 else
2100 if test -n "$STRIP"; then
2101 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2102 else
2103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2104 for as_dir in $PATH
2105 do
2106 IFS=$as_save_IFS
2107 test -z "$as_dir" && as_dir=.
2108 for ac_exec_ext in '' $ac_executable_extensions; do
2109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2110 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2112 break 2
2113 fi
2114 done
2115 done
2116 IFS=$as_save_IFS
2117
2118 fi
2119 fi
2120 STRIP=$ac_cv_prog_STRIP
2121 if test -n "$STRIP"; then
2122 { echo "$as_me:$LINENO: result: $STRIP" >&5
2123 echo "${ECHO_T}$STRIP" >&6; }
2124 else
2125 { echo "$as_me:$LINENO: result: no" >&5
2126 echo "${ECHO_T}no" >&6; }
2127 fi
2128
2129
2130 fi
2131 if test -z "$ac_cv_prog_STRIP"; then
2132 ac_ct_STRIP=$STRIP
2133 # Extract the first word of "strip", so it can be a program name with args.
2134 set dummy strip; ac_word=$2
2135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2137 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2138 echo $ECHO_N "(cached) $ECHO_C" >&6
2139 else
2140 if test -n "$ac_ct_STRIP"; then
2141 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2142 else
2143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2144 for as_dir in $PATH
2145 do
2146 IFS=$as_save_IFS
2147 test -z "$as_dir" && as_dir=.
2148 for ac_exec_ext in '' $ac_executable_extensions; do
2149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2150 ac_cv_prog_ac_ct_STRIP="strip"
2151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2152 break 2
2153 fi
2154 done
2155 done
2156 IFS=$as_save_IFS
2157
2158 fi
2159 fi
2160 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2161 if test -n "$ac_ct_STRIP"; then
2162 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2163 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2164 else
2165 { echo "$as_me:$LINENO: result: no" >&5
2166 echo "${ECHO_T}no" >&6; }
2167 fi
2168
2169 if test "x$ac_ct_STRIP" = x; then
2170 STRIP=":"
2171 else
2172 case $cross_compiling:$ac_tool_warned in
2173 yes:)
2174 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2175 whose name does not start with the host triplet. If you think this
2176 configuration is useful to you, please write to autoconf@gnu.org." >&5
2177 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2178 whose name does not start with the host triplet. If you think this
2179 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2180 ac_tool_warned=yes ;;
2181 esac
2182 STRIP=$ac_ct_STRIP
2183 fi
2184 else
2185 STRIP="$ac_cv_prog_STRIP"
2186 fi
2187
2188 fi
2189 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2190
2191 # We need awk for the "check" target. The system "awk" is bad on 2712 # We need awk for the "check" target. The system "awk" is bad on
2192 # some platforms. 2713 # some platforms.
2714 # Always define AMTAR for backward compatibility.
2715
2716 AMTAR=${AMTAR-"${am_missing_run}tar"}
2717
2718 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2719
2720
2193 2721
2194 2722
2195 2723
2196 2724
2197 2725
2204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2205 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2206 if test -n "$ac_tool_prefix"; then 2734 if test -n "$ac_tool_prefix"; then
2207 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2735 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2208 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2736 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2209 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2738 $as_echo_n "checking for $ac_word... " >&6; }
2211 if test "${ac_cv_prog_CC+set}" = set; then 2739 if test "${ac_cv_prog_CC+set}" = set; then :
2212 echo $ECHO_N "(cached) $ECHO_C" >&6 2740 $as_echo_n "(cached) " >&6
2213 else 2741 else
2214 if test -n "$CC"; then 2742 if test -n "$CC"; then
2215 ac_cv_prog_CC="$CC" # Let the user override the test. 2743 ac_cv_prog_CC="$CC" # Let the user override the test.
2216 else 2744 else
2217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2218 for as_dir in $PATH 2746 for as_dir in $PATH
2219 do 2747 do
2220 IFS=$as_save_IFS 2748 IFS=$as_save_IFS
2221 test -z "$as_dir" && as_dir=. 2749 test -z "$as_dir" && as_dir=.
2222 for ac_exec_ext in '' $ac_executable_extensions; do 2750 for ac_exec_ext in '' $ac_executable_extensions; do
2223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2224 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2752 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2226 break 2 2754 break 2
2227 fi 2755 fi
2228 done 2756 done
2229 done 2757 done
2230 IFS=$as_save_IFS 2758 IFS=$as_save_IFS
2231 2759
2232 fi 2760 fi
2233 fi 2761 fi
2234 CC=$ac_cv_prog_CC 2762 CC=$ac_cv_prog_CC
2235 if test -n "$CC"; then 2763 if test -n "$CC"; then
2236 { echo "$as_me:$LINENO: result: $CC" >&5 2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2237 echo "${ECHO_T}$CC" >&6; } 2765 $as_echo "$CC" >&6; }
2238 else 2766 else
2239 { echo "$as_me:$LINENO: result: no" >&5 2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2240 echo "${ECHO_T}no" >&6; } 2768 $as_echo "no" >&6; }
2241 fi 2769 fi
2242 2770
2243 2771
2244 fi 2772 fi
2245 if test -z "$ac_cv_prog_CC"; then 2773 if test -z "$ac_cv_prog_CC"; then
2246 ac_ct_CC=$CC 2774 ac_ct_CC=$CC
2247 # Extract the first word of "gcc", so it can be a program name with args. 2775 # Extract the first word of "gcc", so it can be a program name with args.
2248 set dummy gcc; ac_word=$2 2776 set dummy gcc; ac_word=$2
2249 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2778 $as_echo_n "checking for $ac_word... " >&6; }
2251 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2779 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2252 echo $ECHO_N "(cached) $ECHO_C" >&6 2780 $as_echo_n "(cached) " >&6
2253 else 2781 else
2254 if test -n "$ac_ct_CC"; then 2782 if test -n "$ac_ct_CC"; then
2255 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2783 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2256 else 2784 else
2257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2258 for as_dir in $PATH 2786 for as_dir in $PATH
2259 do 2787 do
2260 IFS=$as_save_IFS 2788 IFS=$as_save_IFS
2261 test -z "$as_dir" && as_dir=. 2789 test -z "$as_dir" && as_dir=.
2262 for ac_exec_ext in '' $ac_executable_extensions; do 2790 for ac_exec_ext in '' $ac_executable_extensions; do
2263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2264 ac_cv_prog_ac_ct_CC="gcc" 2792 ac_cv_prog_ac_ct_CC="gcc"
2265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2266 break 2 2794 break 2
2267 fi 2795 fi
2268 done 2796 done
2269 done 2797 done
2270 IFS=$as_save_IFS 2798 IFS=$as_save_IFS
2271 2799
2272 fi 2800 fi
2273 fi 2801 fi
2274 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2802 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2275 if test -n "$ac_ct_CC"; then 2803 if test -n "$ac_ct_CC"; then
2276 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2277 echo "${ECHO_T}$ac_ct_CC" >&6; } 2805 $as_echo "$ac_ct_CC" >&6; }
2278 else 2806 else
2279 { echo "$as_me:$LINENO: result: no" >&5 2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2280 echo "${ECHO_T}no" >&6; } 2808 $as_echo "no" >&6; }
2281 fi 2809 fi
2282 2810
2283 if test "x$ac_ct_CC" = x; then 2811 if test "x$ac_ct_CC" = x; then
2284 CC="" 2812 CC=""
2285 else 2813 else
2286 case $cross_compiling:$ac_tool_warned in 2814 case $cross_compiling:$ac_tool_warned in
2287 yes:) 2815 yes:)
2288 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2289 whose name does not start with the host triplet. If you think this 2817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2290 configuration is useful to you, please write to autoconf@gnu.org." >&5
2291 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2292 whose name does not start with the host triplet. If you think this
2293 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2294 ac_tool_warned=yes ;; 2818 ac_tool_warned=yes ;;
2295 esac 2819 esac
2296 CC=$ac_ct_CC 2820 CC=$ac_ct_CC
2297 fi 2821 fi
2298 else 2822 else
2301 2825
2302 if test -z "$CC"; then 2826 if test -z "$CC"; then
2303 if test -n "$ac_tool_prefix"; then 2827 if test -n "$ac_tool_prefix"; then
2304 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2828 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2305 set dummy ${ac_tool_prefix}cc; ac_word=$2 2829 set dummy ${ac_tool_prefix}cc; ac_word=$2
2306 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2831 $as_echo_n "checking for $ac_word... " >&6; }
2308 if test "${ac_cv_prog_CC+set}" = set; then 2832 if test "${ac_cv_prog_CC+set}" = set; then :
2309 echo $ECHO_N "(cached) $ECHO_C" >&6 2833 $as_echo_n "(cached) " >&6
2310 else 2834 else
2311 if test -n "$CC"; then 2835 if test -n "$CC"; then
2312 ac_cv_prog_CC="$CC" # Let the user override the test. 2836 ac_cv_prog_CC="$CC" # Let the user override the test.
2313 else 2837 else
2314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2315 for as_dir in $PATH 2839 for as_dir in $PATH
2316 do 2840 do
2317 IFS=$as_save_IFS 2841 IFS=$as_save_IFS
2318 test -z "$as_dir" && as_dir=. 2842 test -z "$as_dir" && as_dir=.
2319 for ac_exec_ext in '' $ac_executable_extensions; do 2843 for ac_exec_ext in '' $ac_executable_extensions; do
2320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2321 ac_cv_prog_CC="${ac_tool_prefix}cc" 2845 ac_cv_prog_CC="${ac_tool_prefix}cc"
2322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2323 break 2 2847 break 2
2324 fi 2848 fi
2325 done 2849 done
2326 done 2850 done
2327 IFS=$as_save_IFS 2851 IFS=$as_save_IFS
2328 2852
2329 fi 2853 fi
2330 fi 2854 fi
2331 CC=$ac_cv_prog_CC 2855 CC=$ac_cv_prog_CC
2332 if test -n "$CC"; then 2856 if test -n "$CC"; then
2333 { echo "$as_me:$LINENO: result: $CC" >&5 2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2334 echo "${ECHO_T}$CC" >&6; } 2858 $as_echo "$CC" >&6; }
2335 else 2859 else
2336 { echo "$as_me:$LINENO: result: no" >&5 2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2337 echo "${ECHO_T}no" >&6; } 2861 $as_echo "no" >&6; }
2338 fi 2862 fi
2339 2863
2340 2864
2341 fi 2865 fi
2342 fi 2866 fi
2343 if test -z "$CC"; then 2867 if test -z "$CC"; then
2344 # Extract the first word of "cc", so it can be a program name with args. 2868 # Extract the first word of "cc", so it can be a program name with args.
2345 set dummy cc; ac_word=$2 2869 set dummy cc; ac_word=$2
2346 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2871 $as_echo_n "checking for $ac_word... " >&6; }
2348 if test "${ac_cv_prog_CC+set}" = set; then 2872 if test "${ac_cv_prog_CC+set}" = set; then :
2349 echo $ECHO_N "(cached) $ECHO_C" >&6 2873 $as_echo_n "(cached) " >&6
2350 else 2874 else
2351 if test -n "$CC"; then 2875 if test -n "$CC"; then
2352 ac_cv_prog_CC="$CC" # Let the user override the test. 2876 ac_cv_prog_CC="$CC" # Let the user override the test.
2353 else 2877 else
2354 ac_prog_rejected=no 2878 ac_prog_rejected=no
2355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2356 for as_dir in $PATH 2880 for as_dir in $PATH
2357 do 2881 do
2358 IFS=$as_save_IFS 2882 IFS=$as_save_IFS
2359 test -z "$as_dir" && as_dir=. 2883 test -z "$as_dir" && as_dir=.
2360 for ac_exec_ext in '' $ac_executable_extensions; do 2884 for ac_exec_ext in '' $ac_executable_extensions; do
2361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2362 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2886 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2363 ac_prog_rejected=yes 2887 ac_prog_rejected=yes
2364 continue 2888 continue
2365 fi 2889 fi
2366 ac_cv_prog_CC="cc" 2890 ac_cv_prog_CC="cc"
2367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2368 break 2 2892 break 2
2369 fi 2893 fi
2370 done 2894 done
2371 done 2895 done
2372 IFS=$as_save_IFS 2896 IFS=$as_save_IFS
2373 2897
2374 if test $ac_prog_rejected = yes; then 2898 if test $ac_prog_rejected = yes; then
2375 # We found a bogon in the path, so make sure we never use it. 2899 # We found a bogon in the path, so make sure we never use it.
2376 set dummy $ac_cv_prog_CC 2900 set dummy $ac_cv_prog_CC
2385 fi 2909 fi
2386 fi 2910 fi
2387 fi 2911 fi
2388 CC=$ac_cv_prog_CC 2912 CC=$ac_cv_prog_CC
2389 if test -n "$CC"; then 2913 if test -n "$CC"; then
2390 { echo "$as_me:$LINENO: result: $CC" >&5 2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2391 echo "${ECHO_T}$CC" >&6; } 2915 $as_echo "$CC" >&6; }
2392 else 2916 else
2393 { echo "$as_me:$LINENO: result: no" >&5 2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2394 echo "${ECHO_T}no" >&6; } 2918 $as_echo "no" >&6; }
2395 fi 2919 fi
2396 2920
2397 2921
2398 fi 2922 fi
2399 if test -z "$CC"; then 2923 if test -z "$CC"; then
2400 if test -n "$ac_tool_prefix"; then 2924 if test -n "$ac_tool_prefix"; then
2401 for ac_prog in cl.exe 2925 for ac_prog in cl.exe
2402 do 2926 do
2403 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2927 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2404 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2928 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2405 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2930 $as_echo_n "checking for $ac_word... " >&6; }
2407 if test "${ac_cv_prog_CC+set}" = set; then 2931 if test "${ac_cv_prog_CC+set}" = set; then :
2408 echo $ECHO_N "(cached) $ECHO_C" >&6 2932 $as_echo_n "(cached) " >&6
2409 else 2933 else
2410 if test -n "$CC"; then 2934 if test -n "$CC"; then
2411 ac_cv_prog_CC="$CC" # Let the user override the test. 2935 ac_cv_prog_CC="$CC" # Let the user override the test.
2412 else 2936 else
2413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2414 for as_dir in $PATH 2938 for as_dir in $PATH
2415 do 2939 do
2416 IFS=$as_save_IFS 2940 IFS=$as_save_IFS
2417 test -z "$as_dir" && as_dir=. 2941 test -z "$as_dir" && as_dir=.
2418 for ac_exec_ext in '' $ac_executable_extensions; do 2942 for ac_exec_ext in '' $ac_executable_extensions; do
2419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2420 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2944 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2422 break 2 2946 break 2
2423 fi 2947 fi
2424 done 2948 done
2425 done 2949 done
2426 IFS=$as_save_IFS 2950 IFS=$as_save_IFS
2427 2951
2428 fi 2952 fi
2429 fi 2953 fi
2430 CC=$ac_cv_prog_CC 2954 CC=$ac_cv_prog_CC
2431 if test -n "$CC"; then 2955 if test -n "$CC"; then
2432 { echo "$as_me:$LINENO: result: $CC" >&5 2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2433 echo "${ECHO_T}$CC" >&6; } 2957 $as_echo "$CC" >&6; }
2434 else 2958 else
2435 { echo "$as_me:$LINENO: result: no" >&5 2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2436 echo "${ECHO_T}no" >&6; } 2960 $as_echo "no" >&6; }
2437 fi 2961 fi
2438 2962
2439 2963
2440 test -n "$CC" && break 2964 test -n "$CC" && break
2441 done 2965 done
2444 ac_ct_CC=$CC 2968 ac_ct_CC=$CC
2445 for ac_prog in cl.exe 2969 for ac_prog in cl.exe
2446 do 2970 do
2447 # Extract the first word of "$ac_prog", so it can be a program name with args. 2971 # Extract the first word of "$ac_prog", so it can be a program name with args.
2448 set dummy $ac_prog; ac_word=$2 2972 set dummy $ac_prog; ac_word=$2
2449 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2974 $as_echo_n "checking for $ac_word... " >&6; }
2451 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2975 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2452 echo $ECHO_N "(cached) $ECHO_C" >&6 2976 $as_echo_n "(cached) " >&6
2453 else 2977 else
2454 if test -n "$ac_ct_CC"; then 2978 if test -n "$ac_ct_CC"; then
2455 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2979 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2456 else 2980 else
2457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2458 for as_dir in $PATH 2982 for as_dir in $PATH
2459 do 2983 do
2460 IFS=$as_save_IFS 2984 IFS=$as_save_IFS
2461 test -z "$as_dir" && as_dir=. 2985 test -z "$as_dir" && as_dir=.
2462 for ac_exec_ext in '' $ac_executable_extensions; do 2986 for ac_exec_ext in '' $ac_executable_extensions; do
2463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2464 ac_cv_prog_ac_ct_CC="$ac_prog" 2988 ac_cv_prog_ac_ct_CC="$ac_prog"
2465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2466 break 2 2990 break 2
2467 fi 2991 fi
2468 done 2992 done
2469 done 2993 done
2470 IFS=$as_save_IFS 2994 IFS=$as_save_IFS
2471 2995
2472 fi 2996 fi
2473 fi 2997 fi
2474 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2998 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2475 if test -n "$ac_ct_CC"; then 2999 if test -n "$ac_ct_CC"; then
2476 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2477 echo "${ECHO_T}$ac_ct_CC" >&6; } 3001 $as_echo "$ac_ct_CC" >&6; }
2478 else 3002 else
2479 { echo "$as_me:$LINENO: result: no" >&5 3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2480 echo "${ECHO_T}no" >&6; } 3004 $as_echo "no" >&6; }
2481 fi 3005 fi
2482 3006
2483 3007
2484 test -n "$ac_ct_CC" && break 3008 test -n "$ac_ct_CC" && break
2485 done 3009 done
2487 if test "x$ac_ct_CC" = x; then 3011 if test "x$ac_ct_CC" = x; then
2488 CC="" 3012 CC=""
2489 else 3013 else
2490 case $cross_compiling:$ac_tool_warned in 3014 case $cross_compiling:$ac_tool_warned in
2491 yes:) 3015 yes:)
2492 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2493 whose name does not start with the host triplet. If you think this 3017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2494 configuration is useful to you, please write to autoconf@gnu.org." >&5
2495 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2496 whose name does not start with the host triplet. If you think this
2497 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2498 ac_tool_warned=yes ;; 3018 ac_tool_warned=yes ;;
2499 esac 3019 esac
2500 CC=$ac_ct_CC 3020 CC=$ac_ct_CC
2501 fi 3021 fi
2502 fi 3022 fi
2503 3023
2504 fi 3024 fi
2505 3025
2506 3026
2507 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 3027 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2508 See \`config.log' for more details." >&5 3028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2509 echo "$as_me: error: no acceptable C compiler found in \$PATH 3029 as_fn_error "no acceptable C compiler found in \$PATH
2510 See \`config.log' for more details." >&2;} 3030 See \`config.log' for more details." "$LINENO" 5; }
2511 { (exit 1); exit 1; }; }
2512 3031
2513 # Provide some information about the compiler. 3032 # Provide some information about the compiler.
2514 echo "$as_me:$LINENO: checking for C compiler version" >&5 3033 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2515 ac_compiler=`set X $ac_compile; echo $2` 3034 set X $ac_compile
2516 { (ac_try="$ac_compiler --version >&5" 3035 ac_compiler=$2
3036 for ac_option in --version -v -V -qversion; do
3037 { { ac_try="$ac_compiler $ac_option >&5"
2517 case "(($ac_try" in 3038 case "(($ac_try" in
2518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2519 *) ac_try_echo=$ac_try;; 3040 *) ac_try_echo=$ac_try;;
2520 esac 3041 esac
2521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2522 (eval "$ac_compiler --version >&5") 2>&5 3043 $as_echo "$ac_try_echo"; } >&5
3044 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2523 ac_status=$? 3045 ac_status=$?
2524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3046 if test -s conftest.err; then
2525 (exit $ac_status); } 3047 sed '10a\
2526 { (ac_try="$ac_compiler -v >&5" 3048 ... rest of stderr output deleted ...
3049 10q' conftest.err >conftest.er1
3050 cat conftest.er1 >&5
3051 fi
3052 rm -f conftest.er1 conftest.err
3053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3054 test $ac_status = 0; }
3055 done
3056
3057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3058 /* end confdefs.h. */
3059
3060 int
3061 main ()
3062 {
3063
3064 ;
3065 return 0;
3066 }
3067 _ACEOF
3068 ac_clean_files_save=$ac_clean_files
3069 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3070 # Try to create an executable without -o first, disregard a.out.
3071 # It will help us diagnose broken compilers, and finding out an intuition
3072 # of exeext.
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3074 $as_echo_n "checking whether the C compiler works... " >&6; }
3075 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3076
3077 # The possible output files:
3078 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3079
3080 ac_rmfiles=
3081 for ac_file in $ac_files
3082 do
3083 case $ac_file in
3084 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3085 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3086 esac
3087 done
3088 rm -f $ac_rmfiles
3089
3090 if { { ac_try="$ac_link_default"
2527 case "(($ac_try" in 3091 case "(($ac_try" in
2528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2529 *) ac_try_echo=$ac_try;; 3093 *) ac_try_echo=$ac_try;;
2530 esac 3094 esac
2531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2532 (eval "$ac_compiler -v >&5") 2>&5 3096 $as_echo "$ac_try_echo"; } >&5
2533 ac_status=$?
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }
2536 { (ac_try="$ac_compiler -V >&5"
2537 case "(($ac_try" in
2538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2539 *) ac_try_echo=$ac_try;;
2540 esac
2541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2542 (eval "$ac_compiler -V >&5") 2>&5
2543 ac_status=$?
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); }
2546
2547 cat >conftest.$ac_ext <<_ACEOF
2548 /* confdefs.h. */
2549 _ACEOF
2550 cat confdefs.h >>conftest.$ac_ext
2551 cat >>conftest.$ac_ext <<_ACEOF
2552 /* end confdefs.h. */
2553
2554 int
2555 main ()
2556 {
2557
2558 ;
2559 return 0;
2560 }
2561 _ACEOF
2562 ac_clean_files_save=$ac_clean_files
2563 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2564 # Try to create an executable without -o first, disregard a.out.
2565 # It will help us diagnose broken compilers, and finding out an intuition
2566 # of exeext.
2567 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2568 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2569 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2570 #
2571 # List of possible output files, starting from the most likely.
2572 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2573 # only as a last resort. b.out is created by i960 compilers.
2574 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2575 #
2576 # The IRIX 6 linker writes into existing files which may not be
2577 # executable, retaining their permissions. Remove them first so a
2578 # subsequent execution test works.
2579 ac_rmfiles=
2580 for ac_file in $ac_files
2581 do
2582 case $ac_file in
2583 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2584 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2585 esac
2586 done
2587 rm -f $ac_rmfiles
2588
2589 if { (ac_try="$ac_link_default"
2590 case "(($ac_try" in
2591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2592 *) ac_try_echo=$ac_try;;
2593 esac
2594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2595 (eval "$ac_link_default") 2>&5 3097 (eval "$ac_link_default") 2>&5
2596 ac_status=$? 3098 ac_status=$?
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2598 (exit $ac_status); }; then 3100 test $ac_status = 0; }; then :
2599 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3101 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2600 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3102 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2601 # in a Makefile. We should not override ac_cv_exeext if it was cached, 3103 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2602 # so that the user can short-circuit this test for compilers unknown to 3104 # so that the user can short-circuit this test for compilers unknown to
2603 # Autoconf. 3105 # Autoconf.
2604 for ac_file in $ac_files '' 3106 for ac_file in $ac_files ''
2605 do 3107 do
2606 test -f "$ac_file" || continue 3108 test -f "$ac_file" || continue
2607 case $ac_file in 3109 case $ac_file in
2608 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 3110 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2609 ;; 3111 ;;
2610 [ab].out ) 3112 [ab].out )
2611 # We found the default executable, but exeext='' is most 3113 # We found the default executable, but exeext='' is most
2612 # certainly right. 3114 # certainly right.
2613 break;; 3115 break;;
2614 *.* ) 3116 *.* )
2615 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3117 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2616 then :; else 3118 then :; else
2617 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3119 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2618 fi 3120 fi
2619 # We set ac_cv_exeext here because the later test for it is not 3121 # We set ac_cv_exeext here because the later test for it is not
2620 # safe: cross compilers may not add the suffix if given an `-o' 3122 # safe: cross compilers may not add the suffix if given an `-o'
2629 test "$ac_cv_exeext" = no && ac_cv_exeext= 3131 test "$ac_cv_exeext" = no && ac_cv_exeext=
2630 3132
2631 else 3133 else
2632 ac_file='' 3134 ac_file=''
2633 fi 3135 fi
2634 3136 if test -z "$ac_file"; then :
2635 { echo "$as_me:$LINENO: result: $ac_file" >&5 3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2636 echo "${ECHO_T}$ac_file" >&6; } 3138 $as_echo "no" >&6; }
2637 if test -z "$ac_file"; then 3139 $as_echo "$as_me: failed program was:" >&5
2638 echo "$as_me: failed program was:" >&5
2639 sed 's/^/| /' conftest.$ac_ext >&5 3140 sed 's/^/| /' conftest.$ac_ext >&5
2640 3141
2641 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 3142 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2642 See \`config.log' for more details." >&5 3143 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2643 echo "$as_me: error: C compiler cannot create executables 3144 { as_fn_set_status 77
2644 See \`config.log' for more details." >&2;} 3145 as_fn_error "C compiler cannot create executables
2645 { (exit 77); exit 77; }; } 3146 See \`config.log' for more details." "$LINENO" 5; }; }
2646 fi 3147 else
2647 3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3149 $as_echo "yes" >&6; }
3150 fi
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3152 $as_echo_n "checking for C compiler default output file name... " >&6; }
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3154 $as_echo "$ac_file" >&6; }
2648 ac_exeext=$ac_cv_exeext 3155 ac_exeext=$ac_cv_exeext
2649 3156
2650 # Check that the compiler produces executables we can run. If not, either 3157 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2651 # the compiler is broken, or we cross compile.
2652 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2653 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2654 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2655 # If not cross compiling, check that we can run a simple program.
2656 if test "$cross_compiling" != yes; then
2657 if { ac_try='./$ac_file'
2658 { (case "(($ac_try" in
2659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2660 *) ac_try_echo=$ac_try;;
2661 esac
2662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2663 (eval "$ac_try") 2>&5
2664 ac_status=$?
2665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666 (exit $ac_status); }; }; then
2667 cross_compiling=no
2668 else
2669 if test "$cross_compiling" = maybe; then
2670 cross_compiling=yes
2671 else
2672 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2673 If you meant to cross compile, use \`--host'.
2674 See \`config.log' for more details." >&5
2675 echo "$as_me: error: cannot run C compiled programs.
2676 If you meant to cross compile, use \`--host'.
2677 See \`config.log' for more details." >&2;}
2678 { (exit 1); exit 1; }; }
2679 fi
2680 fi
2681 fi
2682 { echo "$as_me:$LINENO: result: yes" >&5
2683 echo "${ECHO_T}yes" >&6; }
2684
2685 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2686 ac_clean_files=$ac_clean_files_save 3158 ac_clean_files=$ac_clean_files_save
2687 # Check that the compiler produces executables we can run. If not, either 3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2688 # the compiler is broken, or we cross compile. 3160 $as_echo_n "checking for suffix of executables... " >&6; }
2689 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 3161 if { { ac_try="$ac_link"
2690 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2691 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2692 echo "${ECHO_T}$cross_compiling" >&6; }
2693
2694 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2695 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2696 if { (ac_try="$ac_link"
2697 case "(($ac_try" in 3162 case "(($ac_try" in
2698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2699 *) ac_try_echo=$ac_try;; 3164 *) ac_try_echo=$ac_try;;
2700 esac 3165 esac
2701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3167 $as_echo "$ac_try_echo"; } >&5
2702 (eval "$ac_link") 2>&5 3168 (eval "$ac_link") 2>&5
2703 ac_status=$? 3169 ac_status=$?
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2705 (exit $ac_status); }; then 3171 test $ac_status = 0; }; then :
2706 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3172 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2707 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3173 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2708 # work properly (i.e., refer to `conftest.exe'), while it won't with 3174 # work properly (i.e., refer to `conftest.exe'), while it won't with
2709 # `rm'. 3175 # `rm'.
2710 for ac_file in conftest.exe conftest conftest.*; do 3176 for ac_file in conftest.exe conftest conftest.*; do
2711 test -f "$ac_file" || continue 3177 test -f "$ac_file" || continue
2712 case $ac_file in 3178 case $ac_file in
2713 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 3179 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2714 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3180 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2715 break;; 3181 break;;
2716 * ) break;; 3182 * ) break;;
2717 esac 3183 esac
2718 done 3184 done
2719 else 3185 else
2720 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3186 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2721 See \`config.log' for more details." >&5 3187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2722 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3188 as_fn_error "cannot compute suffix of executables: cannot compile and link
2723 See \`config.log' for more details." >&2;} 3189 See \`config.log' for more details." "$LINENO" 5; }
2724 { (exit 1); exit 1; }; } 3190 fi
2725 fi 3191 rm -f conftest conftest$ac_cv_exeext
2726 3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2727 rm -f conftest$ac_cv_exeext 3193 $as_echo "$ac_cv_exeext" >&6; }
2728 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2729 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2730 3194
2731 rm -f conftest.$ac_ext 3195 rm -f conftest.$ac_ext
2732 EXEEXT=$ac_cv_exeext 3196 EXEEXT=$ac_cv_exeext
2733 ac_exeext=$EXEEXT 3197 ac_exeext=$EXEEXT
2734 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 3198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2735 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2736 if test "${ac_cv_objext+set}" = set; then
2737 echo $ECHO_N "(cached) $ECHO_C" >&6
2738 else
2739 cat >conftest.$ac_ext <<_ACEOF
2740 /* confdefs.h. */
2741 _ACEOF
2742 cat confdefs.h >>conftest.$ac_ext
2743 cat >>conftest.$ac_ext <<_ACEOF
2744 /* end confdefs.h. */ 3199 /* end confdefs.h. */
2745 3200 #include <stdio.h>
2746 int 3201 int
2747 main () 3202 main ()
2748 { 3203 {
3204 FILE *f = fopen ("conftest.out", "w");
3205 return ferror (f) || fclose (f) != 0;
2749 3206
2750 ; 3207 ;
2751 return 0; 3208 return 0;
2752 } 3209 }
2753 _ACEOF 3210 _ACEOF
2754 rm -f conftest.o conftest.obj 3211 ac_clean_files="$ac_clean_files conftest.out"
2755 if { (ac_try="$ac_compile" 3212 # Check that the compiler produces executables we can run. If not, either
3213 # the compiler is broken, or we cross compile.
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3215 $as_echo_n "checking whether we are cross compiling... " >&6; }
3216 if test "$cross_compiling" != yes; then
3217 { { ac_try="$ac_link"
2756 case "(($ac_try" in 3218 case "(($ac_try" in
2757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2758 *) ac_try_echo=$ac_try;; 3220 *) ac_try_echo=$ac_try;;
2759 esac 3221 esac
2760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3223 $as_echo "$ac_try_echo"; } >&5
3224 (eval "$ac_link") 2>&5
3225 ac_status=$?
3226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3227 test $ac_status = 0; }
3228 if { ac_try='./conftest$ac_cv_exeext'
3229 { { case "(($ac_try" in
3230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3231 *) ac_try_echo=$ac_try;;
3232 esac
3233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3234 $as_echo "$ac_try_echo"; } >&5
3235 (eval "$ac_try") 2>&5
3236 ac_status=$?
3237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3238 test $ac_status = 0; }; }; then
3239 cross_compiling=no
3240 else
3241 if test "$cross_compiling" = maybe; then
3242 cross_compiling=yes
3243 else
3244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3246 as_fn_error "cannot run C compiled programs.
3247 If you meant to cross compile, use \`--host'.
3248 See \`config.log' for more details." "$LINENO" 5; }
3249 fi
3250 fi
3251 fi
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3253 $as_echo "$cross_compiling" >&6; }
3254
3255 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3256 ac_clean_files=$ac_clean_files_save
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3258 $as_echo_n "checking for suffix of object files... " >&6; }
3259 if test "${ac_cv_objext+set}" = set; then :
3260 $as_echo_n "(cached) " >&6
3261 else
3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3263 /* end confdefs.h. */
3264
3265 int
3266 main ()
3267 {
3268
3269 ;
3270 return 0;
3271 }
3272 _ACEOF
3273 rm -f conftest.o conftest.obj
3274 if { { ac_try="$ac_compile"
3275 case "(($ac_try" in
3276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3277 *) ac_try_echo=$ac_try;;
3278 esac
3279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3280 $as_echo "$ac_try_echo"; } >&5
2761 (eval "$ac_compile") 2>&5 3281 (eval "$ac_compile") 2>&5
2762 ac_status=$? 3282 ac_status=$?
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2764 (exit $ac_status); }; then 3284 test $ac_status = 0; }; then :
2765 for ac_file in conftest.o conftest.obj conftest.*; do 3285 for ac_file in conftest.o conftest.obj conftest.*; do
2766 test -f "$ac_file" || continue; 3286 test -f "$ac_file" || continue;
2767 case $ac_file in 3287 case $ac_file in
2768 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 3288 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2769 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3289 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2770 break;; 3290 break;;
2771 esac 3291 esac
2772 done 3292 done
2773 else 3293 else
2774 echo "$as_me: failed program was:" >&5 3294 $as_echo "$as_me: failed program was:" >&5
2775 sed 's/^/| /' conftest.$ac_ext >&5 3295 sed 's/^/| /' conftest.$ac_ext >&5
2776 3296
2777 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3297 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2778 See \`config.log' for more details." >&5 3298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2779 echo "$as_me: error: cannot compute suffix of object files: cannot compile 3299 as_fn_error "cannot compute suffix of object files: cannot compile
2780 See \`config.log' for more details." >&2;} 3300 See \`config.log' for more details." "$LINENO" 5; }
2781 { (exit 1); exit 1; }; } 3301 fi
2782 fi
2783
2784 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3302 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2785 fi 3303 fi
2786 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2787 echo "${ECHO_T}$ac_cv_objext" >&6; } 3305 $as_echo "$ac_cv_objext" >&6; }
2788 OBJEXT=$ac_cv_objext 3306 OBJEXT=$ac_cv_objext
2789 ac_objext=$OBJEXT 3307 ac_objext=$OBJEXT
2790 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2791 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 3309 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2792 if test "${ac_cv_c_compiler_gnu+set}" = set; then 3310 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2793 echo $ECHO_N "(cached) $ECHO_C" >&6 3311 $as_echo_n "(cached) " >&6
2794 else 3312 else
2795 cat >conftest.$ac_ext <<_ACEOF 3313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2796 /* confdefs.h. */
2797 _ACEOF
2798 cat confdefs.h >>conftest.$ac_ext
2799 cat >>conftest.$ac_ext <<_ACEOF
2800 /* end confdefs.h. */ 3314 /* end confdefs.h. */
2801 3315
2802 int 3316 int
2803 main () 3317 main ()
2804 { 3318 {
2808 3322
2809 ; 3323 ;
2810 return 0; 3324 return 0;
2811 } 3325 }
2812 _ACEOF 3326 _ACEOF
2813 rm -f conftest.$ac_objext 3327 if ac_fn_c_try_compile "$LINENO"; then :
2814 if { (ac_try="$ac_compile"
2815 case "(($ac_try" in
2816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2817 *) ac_try_echo=$ac_try;;
2818 esac
2819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2820 (eval "$ac_compile") 2>conftest.er1
2821 ac_status=$?
2822 grep -v '^ *+' conftest.er1 >conftest.err
2823 rm -f conftest.er1
2824 cat conftest.err >&5
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); } && {
2827 test -z "$ac_c_werror_flag" ||
2828 test ! -s conftest.err
2829 } && test -s conftest.$ac_objext; then
2830 ac_compiler_gnu=yes 3328 ac_compiler_gnu=yes
2831 else 3329 else
2832 echo "$as_me: failed program was:" >&5 3330 ac_compiler_gnu=no
2833 sed 's/^/| /' conftest.$ac_ext >&5 3331 fi
2834
2835 ac_compiler_gnu=no
2836 fi
2837
2838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2839 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3333 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2840 3334
2841 fi 3335 fi
2842 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2843 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 3337 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2844 GCC=`test $ac_compiler_gnu = yes && echo yes` 3338 if test $ac_compiler_gnu = yes; then
3339 GCC=yes
3340 else
3341 GCC=
3342 fi
2845 ac_test_CFLAGS=${CFLAGS+set} 3343 ac_test_CFLAGS=${CFLAGS+set}
2846 ac_save_CFLAGS=$CFLAGS 3344 ac_save_CFLAGS=$CFLAGS
2847 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2848 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 3346 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2849 if test "${ac_cv_prog_cc_g+set}" = set; then 3347 if test "${ac_cv_prog_cc_g+set}" = set; then :
2850 echo $ECHO_N "(cached) $ECHO_C" >&6 3348 $as_echo_n "(cached) " >&6
2851 else 3349 else
2852 ac_save_c_werror_flag=$ac_c_werror_flag 3350 ac_save_c_werror_flag=$ac_c_werror_flag
2853 ac_c_werror_flag=yes 3351 ac_c_werror_flag=yes
2854 ac_cv_prog_cc_g=no 3352 ac_cv_prog_cc_g=no
2855 CFLAGS="-g" 3353 CFLAGS="-g"
2856 cat >conftest.$ac_ext <<_ACEOF 3354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2857 /* confdefs.h. */
2858 _ACEOF
2859 cat confdefs.h >>conftest.$ac_ext
2860 cat >>conftest.$ac_ext <<_ACEOF
2861 /* end confdefs.h. */ 3355 /* end confdefs.h. */
2862 3356
2863 int 3357 int
2864 main () 3358 main ()
2865 { 3359 {
2866 3360
2867 ; 3361 ;
2868 return 0; 3362 return 0;
2869 } 3363 }
2870 _ACEOF 3364 _ACEOF
2871 rm -f conftest.$ac_objext 3365 if ac_fn_c_try_compile "$LINENO"; then :
2872 if { (ac_try="$ac_compile"
2873 case "(($ac_try" in
2874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2875 *) ac_try_echo=$ac_try;;
2876 esac
2877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2878 (eval "$ac_compile") 2>conftest.er1
2879 ac_status=$?
2880 grep -v '^ *+' conftest.er1 >conftest.err
2881 rm -f conftest.er1
2882 cat conftest.err >&5
2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884 (exit $ac_status); } && {
2885 test -z "$ac_c_werror_flag" ||
2886 test ! -s conftest.err
2887 } && test -s conftest.$ac_objext; then
2888 ac_cv_prog_cc_g=yes 3366 ac_cv_prog_cc_g=yes
2889 else 3367 else
2890 echo "$as_me: failed program was:" >&5 3368 CFLAGS=""
2891 sed 's/^/| /' conftest.$ac_ext >&5 3369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2892
2893 CFLAGS=""
2894 cat >conftest.$ac_ext <<_ACEOF
2895 /* confdefs.h. */
2896 _ACEOF
2897 cat confdefs.h >>conftest.$ac_ext
2898 cat >>conftest.$ac_ext <<_ACEOF
2899 /* end confdefs.h. */ 3370 /* end confdefs.h. */
2900 3371
2901 int 3372 int
2902 main () 3373 main ()
2903 { 3374 {
2904 3375
2905 ; 3376 ;
2906 return 0; 3377 return 0;
2907 } 3378 }
2908 _ACEOF 3379 _ACEOF
2909 rm -f conftest.$ac_objext 3380 if ac_fn_c_try_compile "$LINENO"; then :
2910 if { (ac_try="$ac_compile" 3381
2911 case "(($ac_try" in 3382 else
2912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3383 ac_c_werror_flag=$ac_save_c_werror_flag
2913 *) ac_try_echo=$ac_try;;
2914 esac
2915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2916 (eval "$ac_compile") 2>conftest.er1
2917 ac_status=$?
2918 grep -v '^ *+' conftest.er1 >conftest.err
2919 rm -f conftest.er1
2920 cat conftest.err >&5
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); } && {
2923 test -z "$ac_c_werror_flag" ||
2924 test ! -s conftest.err
2925 } && test -s conftest.$ac_objext; then
2926 :
2927 else
2928 echo "$as_me: failed program was:" >&5
2929 sed 's/^/| /' conftest.$ac_ext >&5
2930
2931 ac_c_werror_flag=$ac_save_c_werror_flag
2932 CFLAGS="-g" 3384 CFLAGS="-g"
2933 cat >conftest.$ac_ext <<_ACEOF 3385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2934 /* confdefs.h. */
2935 _ACEOF
2936 cat confdefs.h >>conftest.$ac_ext
2937 cat >>conftest.$ac_ext <<_ACEOF
2938 /* end confdefs.h. */ 3386 /* end confdefs.h. */
2939 3387
2940 int 3388 int
2941 main () 3389 main ()
2942 { 3390 {
2943 3391
2944 ; 3392 ;
2945 return 0; 3393 return 0;
2946 } 3394 }
2947 _ACEOF 3395 _ACEOF
2948 rm -f conftest.$ac_objext 3396 if ac_fn_c_try_compile "$LINENO"; then :
2949 if { (ac_try="$ac_compile"
2950 case "(($ac_try" in
2951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2952 *) ac_try_echo=$ac_try;;
2953 esac
2954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2955 (eval "$ac_compile") 2>conftest.er1
2956 ac_status=$?
2957 grep -v '^ *+' conftest.er1 >conftest.err
2958 rm -f conftest.er1
2959 cat conftest.err >&5
2960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961 (exit $ac_status); } && {
2962 test -z "$ac_c_werror_flag" ||
2963 test ! -s conftest.err
2964 } && test -s conftest.$ac_objext; then
2965 ac_cv_prog_cc_g=yes 3397 ac_cv_prog_cc_g=yes
2966 else 3398 fi
2967 echo "$as_me: failed program was:" >&5
2968 sed 's/^/| /' conftest.$ac_ext >&5
2969
2970
2971 fi
2972
2973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2974 fi 3400 fi
2975
2976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2977 fi 3402 fi
2978
2979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2980 ac_c_werror_flag=$ac_save_c_werror_flag 3404 ac_c_werror_flag=$ac_save_c_werror_flag
2981 fi 3405 fi
2982 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2983 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3407 $as_echo "$ac_cv_prog_cc_g" >&6; }
2984 if test "$ac_test_CFLAGS" = set; then 3408 if test "$ac_test_CFLAGS" = set; then
2985 CFLAGS=$ac_save_CFLAGS 3409 CFLAGS=$ac_save_CFLAGS
2986 elif test $ac_cv_prog_cc_g = yes; then 3410 elif test $ac_cv_prog_cc_g = yes; then
2987 if test "$GCC" = yes; then 3411 if test "$GCC" = yes; then
2988 CFLAGS="-g -O2" 3412 CFLAGS="-g -O2"
2994 CFLAGS="-O2" 3418 CFLAGS="-O2"
2995 else 3419 else
2996 CFLAGS= 3420 CFLAGS=
2997 fi 3421 fi
2998 fi 3422 fi
2999 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3000 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3424 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3001 if test "${ac_cv_prog_cc_c89+set}" = set; then 3425 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3002 echo $ECHO_N "(cached) $ECHO_C" >&6 3426 $as_echo_n "(cached) " >&6
3003 else 3427 else
3004 ac_cv_prog_cc_c89=no 3428 ac_cv_prog_cc_c89=no
3005 ac_save_CC=$CC 3429 ac_save_CC=$CC
3006 cat >conftest.$ac_ext <<_ACEOF 3430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3007 /* confdefs.h. */
3008 _ACEOF
3009 cat confdefs.h >>conftest.$ac_ext
3010 cat >>conftest.$ac_ext <<_ACEOF
3011 /* end confdefs.h. */ 3431 /* end confdefs.h. */
3012 #include <stdarg.h> 3432 #include <stdarg.h>
3013 #include <stdio.h> 3433 #include <stdio.h>
3014 #include <sys/types.h> 3434 #include <sys/types.h>
3015 #include <sys/stat.h> 3435 #include <sys/stat.h>
3062 _ACEOF 3482 _ACEOF
3063 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3483 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3064 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3484 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3065 do 3485 do
3066 CC="$ac_save_CC $ac_arg" 3486 CC="$ac_save_CC $ac_arg"
3067 rm -f conftest.$ac_objext 3487 if ac_fn_c_try_compile "$LINENO"; then :
3068 if { (ac_try="$ac_compile"
3069 case "(($ac_try" in
3070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3071 *) ac_try_echo=$ac_try;;
3072 esac
3073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3074 (eval "$ac_compile") 2>conftest.er1
3075 ac_status=$?
3076 grep -v '^ *+' conftest.er1 >conftest.err
3077 rm -f conftest.er1
3078 cat conftest.err >&5
3079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080 (exit $ac_status); } && {
3081 test -z "$ac_c_werror_flag" ||
3082 test ! -s conftest.err
3083 } && test -s conftest.$ac_objext; then
3084 ac_cv_prog_cc_c89=$ac_arg 3488 ac_cv_prog_cc_c89=$ac_arg
3085 else 3489 fi
3086 echo "$as_me: failed program was:" >&5
3087 sed 's/^/| /' conftest.$ac_ext >&5
3088
3089
3090 fi
3091
3092 rm -f core conftest.err conftest.$ac_objext 3490 rm -f core conftest.err conftest.$ac_objext
3093 test "x$ac_cv_prog_cc_c89" != "xno" && break 3491 test "x$ac_cv_prog_cc_c89" != "xno" && break
3094 done 3492 done
3095 rm -f conftest.$ac_ext 3493 rm -f conftest.$ac_ext
3096 CC=$ac_save_CC 3494 CC=$ac_save_CC
3097 3495
3098 fi 3496 fi
3099 # AC_CACHE_VAL 3497 # AC_CACHE_VAL
3100 case "x$ac_cv_prog_cc_c89" in 3498 case "x$ac_cv_prog_cc_c89" in
3101 x) 3499 x)
3102 { echo "$as_me:$LINENO: result: none needed" >&5 3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3103 echo "${ECHO_T}none needed" >&6; } ;; 3501 $as_echo "none needed" >&6; } ;;
3104 xno) 3502 xno)
3105 { echo "$as_me:$LINENO: result: unsupported" >&5 3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3106 echo "${ECHO_T}unsupported" >&6; } ;; 3504 $as_echo "unsupported" >&6; } ;;
3107 *) 3505 *)
3108 CC="$CC $ac_cv_prog_cc_c89" 3506 CC="$CC $ac_cv_prog_cc_c89"
3109 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3110 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3508 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3111 esac 3509 esac
3112 3510 if test "x$ac_cv_prog_cc_c89" != xno; then :
3511
3512 fi
3113 3513
3114 ac_ext=c 3514 ac_ext=c
3115 ac_cpp='$CPP $CPPFLAGS' 3515 ac_cpp='$CPP $CPPFLAGS'
3116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3122 3522
3123 3523
3124 am_make=${MAKE-make} 3524 am_make=${MAKE-make}
3125 cat > confinc << 'END' 3525 cat > confinc << 'END'
3126 am__doit: 3526 am__doit:
3127 @echo done 3527 @echo this is the am__doit target
3128 .PHONY: am__doit 3528 .PHONY: am__doit
3129 END 3529 END
3130 # If we don't find an include directive, just comment out the code. 3530 # If we don't find an include directive, just comment out the code.
3131 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3132 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 3532 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3133 am__include="#" 3533 am__include="#"
3134 am__quote= 3534 am__quote=
3135 _am_result=none 3535 _am_result=none
3136 # First try GNU make style include. 3536 # First try GNU make style include.
3137 echo "include confinc" > confmf 3537 echo "include confinc" > confmf
3138 # We grep out `Entering directory' and `Leaving directory' 3538 # Ignore all kinds of additional output from `make'.
3139 # messages which can occur if `w' ends up in MAKEFLAGS. 3539 case `$am_make -s -f confmf 2> /dev/null` in #(
3140 # In particular we don't look at `^make:' because GNU make might 3540 *the\ am__doit\ target*)
3141 # be invoked under some other name (usually "gmake"), in which 3541 am__include=include
3142 # case it prints its new name instead of `make'. 3542 am__quote=
3143 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 3543 _am_result=GNU
3144 am__include=include 3544 ;;
3145 am__quote= 3545 esac
3146 _am_result=GNU
3147 fi
3148 # Now try BSD make style include. 3546 # Now try BSD make style include.
3149 if test "$am__include" = "#"; then 3547 if test "$am__include" = "#"; then
3150 echo '.include "confinc"' > confmf 3548 echo '.include "confinc"' > confmf
3151 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 3549 case `$am_make -s -f confmf 2> /dev/null` in #(
3152 am__include=.include 3550 *the\ am__doit\ target*)
3153 am__quote="\"" 3551 am__include=.include
3154 _am_result=BSD 3552 am__quote="\""
3155 fi 3553 _am_result=BSD
3156 fi 3554 ;;
3157 3555 esac
3158 3556 fi
3159 { echo "$as_me:$LINENO: result: $_am_result" >&5 3557
3160 echo "${ECHO_T}$_am_result" >&6; } 3558
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3560 $as_echo "$_am_result" >&6; }
3161 rm -f confinc confmf 3561 rm -f confinc confmf
3162 3562
3163 # Check whether --enable-dependency-tracking was given. 3563 # Check whether --enable-dependency-tracking was given.
3164 if test "${enable_dependency_tracking+set}" = set; then 3564 if test "${enable_dependency_tracking+set}" = set; then :
3165 enableval=$enable_dependency_tracking; 3565 enableval=$enable_dependency_tracking;
3166 fi 3566 fi
3167 3567
3168 if test "x$enable_dependency_tracking" != xno; then 3568 if test "x$enable_dependency_tracking" != xno; then
3169 am_depcomp="$ac_aux_dir/depcomp" 3569 am_depcomp="$ac_aux_dir/depcomp"
3170 AMDEPBACKSLASH='\' 3570 AMDEPBACKSLASH='\'
3171 fi 3571 fi
3172 3572 if test "x$enable_dependency_tracking" != xno; then
3173
3174 if test "x$enable_dependency_tracking" != xno; then
3175 AMDEP_TRUE= 3573 AMDEP_TRUE=
3176 AMDEP_FALSE='#' 3574 AMDEP_FALSE='#'
3177 else 3575 else
3178 AMDEP_TRUE='#' 3576 AMDEP_TRUE='#'
3179 AMDEP_FALSE= 3577 AMDEP_FALSE=
3180 fi 3578 fi
3181 3579
3182 3580
3183 3581
3184
3185 depcc="$CC" am_compiler_list= 3582 depcc="$CC" am_compiler_list=
3186 3583
3187 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3188 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 3585 $as_echo_n "checking dependency style of $depcc... " >&6; }
3189 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3586 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3190 echo $ECHO_N "(cached) $ECHO_C" >&6 3587 $as_echo_n "(cached) " >&6
3191 else 3588 else
3192 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3589 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3193 # We make a subdir and do the tests there. Otherwise we can end up 3590 # We make a subdir and do the tests there. Otherwise we can end up
3194 # making bogus files that we don't know about and never remove. For 3591 # making bogus files that we don't know about and never remove. For
3195 # instance it was reported that on HP-UX the gcc test will end up 3592 # instance it was reported that on HP-UX the gcc test will end up
3210 3607
3211 am_cv_CC_dependencies_compiler_type=none 3608 am_cv_CC_dependencies_compiler_type=none
3212 if test "$am_compiler_list" = ""; then 3609 if test "$am_compiler_list" = ""; then
3213 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3610 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3214 fi 3611 fi
3612 am__universal=false
3613 case " $depcc " in #(
3614 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3615 esac
3616
3215 for depmode in $am_compiler_list; do 3617 for depmode in $am_compiler_list; do
3216 # Setup a source with many dependencies, because some compilers 3618 # Setup a source with many dependencies, because some compilers
3217 # like to wrap large dependency lists on column 80 (with \), and 3619 # like to wrap large dependency lists on column 80 (with \), and
3218 # we should not choose a depcomp mode which is confused by this. 3620 # we should not choose a depcomp mode which is confused by this.
3219 # 3621 #
3221 # overwrite some of them when testing with obscure command lines. 3623 # overwrite some of them when testing with obscure command lines.
3222 # This happens at least with the AIX C compiler. 3624 # This happens at least with the AIX C compiler.
3223 : > sub/conftest.c 3625 : > sub/conftest.c
3224 for i in 1 2 3 4 5 6; do 3626 for i in 1 2 3 4 5 6; do
3225 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3627 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3226 : > sub/conftst$i.h 3628 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3629 # Solaris 8's {/usr,}/bin/sh.
3630 touch sub/conftst$i.h
3227 done 3631 done
3228 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3632 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3229 3633
3634 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3635 # mode. It turns out that the SunPro C++ compiler does not properly
3636 # handle `-M -o', and we need to detect this. Also, some Intel
3637 # versions had trouble with output in subdirs
3638 am__obj=sub/conftest.${OBJEXT-o}
3639 am__minus_obj="-o $am__obj"
3230 case $depmode in 3640 case $depmode in
3641 gcc)
3642 # This depmode causes a compiler race in universal mode.
3643 test "$am__universal" = false || continue
3644 ;;
3231 nosideeffect) 3645 nosideeffect)
3232 # after this tag, mechanisms are not by side-effect, so they'll 3646 # after this tag, mechanisms are not by side-effect, so they'll
3233 # only be used when explicitly requested 3647 # only be used when explicitly requested
3234 if test "x$enable_dependency_tracking" = xyes; then 3648 if test "x$enable_dependency_tracking" = xyes; then
3235 continue 3649 continue
3236 else 3650 else
3237 break 3651 break
3238 fi 3652 fi
3239 ;; 3653 ;;
3654 msvisualcpp | msvcmsys)
3655 # This compiler won't grok `-c -o', but also, the minuso test has
3656 # not run yet. These depmodes are late enough in the game, and
3657 # so weak that their functioning should not be impacted.
3658 am__obj=conftest.${OBJEXT-o}
3659 am__minus_obj=
3660 ;;
3240 none) break ;; 3661 none) break ;;
3241 esac 3662 esac
3242 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3243 # mode. It turns out that the SunPro C++ compiler does not properly
3244 # handle `-M -o', and we need to detect this.
3245 if depmode=$depmode \ 3663 if depmode=$depmode \
3246 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3664 source=sub/conftest.c object=$am__obj \
3247 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3665 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3248 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3666 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3249 >/dev/null 2>conftest.err && 3667 >/dev/null 2>conftest.err &&
3668 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3250 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3669 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3251 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3670 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3252 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3671 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3253 # icc doesn't choke on unknown options, it will just issue warnings 3672 # icc doesn't choke on unknown options, it will just issue warnings
3254 # (even with -Werror). So we grep stderr for any message 3673 # or remarks (even with -Werror). So we grep stderr for any message
3255 # that says an option was ignored. 3674 # that says an option was ignored or not supported.
3256 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 3675 # When given -MP, icc 7.0 and 7.1 complain thusly:
3676 # icc: Command line warning: ignoring option '-M'; no argument required
3677 # The diagnosis changed in icc 8.0:
3678 # icc: Command line remark: option '-MP' not supported
3679 if (grep 'ignoring option' conftest.err ||
3680 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3257 am_cv_CC_dependencies_compiler_type=$depmode 3681 am_cv_CC_dependencies_compiler_type=$depmode
3258 break 3682 break
3259 fi 3683 fi
3260 fi 3684 fi
3261 done 3685 done
3265 else 3689 else
3266 am_cv_CC_dependencies_compiler_type=none 3690 am_cv_CC_dependencies_compiler_type=none
3267 fi 3691 fi
3268 3692
3269 fi 3693 fi
3270 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3271 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 3695 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3272 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3696 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3273 3697
3274 3698 if
3275
3276 if
3277 test "x$enable_dependency_tracking" != xno \ 3699 test "x$enable_dependency_tracking" != xno \
3278 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3700 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3279 am__fastdepCC_TRUE= 3701 am__fastdepCC_TRUE=
3280 am__fastdepCC_FALSE='#' 3702 am__fastdepCC_FALSE='#'
3281 else 3703 else
3283 am__fastdepCC_FALSE= 3705 am__fastdepCC_FALSE=
3284 fi 3706 fi
3285 3707
3286 3708
3287 3709
3288 { echo "$as_me:$LINENO: checking for library containing strerror" >&5 3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3289 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } 3711 $as_echo_n "checking for library containing strerror... " >&6; }
3290 if test "${ac_cv_search_strerror+set}" = set; then 3712 if test "${ac_cv_search_strerror+set}" = set; then :
3291 echo $ECHO_N "(cached) $ECHO_C" >&6 3713 $as_echo_n "(cached) " >&6
3292 else 3714 else
3293 ac_func_search_save_LIBS=$LIBS 3715 ac_func_search_save_LIBS=$LIBS
3294 cat >conftest.$ac_ext <<_ACEOF 3716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3295 /* confdefs.h. */
3296 _ACEOF
3297 cat confdefs.h >>conftest.$ac_ext
3298 cat >>conftest.$ac_ext <<_ACEOF
3299 /* end confdefs.h. */ 3717 /* end confdefs.h. */
3300 3718
3301 /* Override any GCC internal prototype to avoid an error. 3719 /* Override any GCC internal prototype to avoid an error.
3302 Use char because int might match the return type of a GCC 3720 Use char because int might match the return type of a GCC
3303 builtin and then its argument prototype would still apply. */ 3721 builtin and then its argument prototype would still apply. */
3318 ac_res="none required" 3736 ac_res="none required"
3319 else 3737 else
3320 ac_res=-l$ac_lib 3738 ac_res=-l$ac_lib
3321 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3739 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3322 fi 3740 fi
3323 rm -f conftest.$ac_objext conftest$ac_exeext 3741 if ac_fn_c_try_link "$LINENO"; then :
3324 if { (ac_try="$ac_link"
3325 case "(($ac_try" in
3326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3327 *) ac_try_echo=$ac_try;;
3328 esac
3329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3330 (eval "$ac_link") 2>conftest.er1
3331 ac_status=$?
3332 grep -v '^ *+' conftest.er1 >conftest.err
3333 rm -f conftest.er1
3334 cat conftest.err >&5
3335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3336 (exit $ac_status); } && {
3337 test -z "$ac_c_werror_flag" ||
3338 test ! -s conftest.err
3339 } && test -s conftest$ac_exeext &&
3340 $as_test_x conftest$ac_exeext; then
3341 ac_cv_search_strerror=$ac_res 3742 ac_cv_search_strerror=$ac_res
3342 else 3743 fi
3343 echo "$as_me: failed program was:" >&5 3744 rm -f core conftest.err conftest.$ac_objext \
3344 sed 's/^/| /' conftest.$ac_ext >&5 3745 conftest$ac_exeext
3345 3746 if test "${ac_cv_search_strerror+set}" = set; then :
3346
3347 fi
3348
3349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3350 conftest$ac_exeext
3351 if test "${ac_cv_search_strerror+set}" = set; then
3352 break 3747 break
3353 fi 3748 fi
3354 done 3749 done
3355 if test "${ac_cv_search_strerror+set}" = set; then 3750 if test "${ac_cv_search_strerror+set}" = set; then :
3356 : 3751
3357 else 3752 else
3358 ac_cv_search_strerror=no 3753 ac_cv_search_strerror=no
3359 fi 3754 fi
3360 rm conftest.$ac_ext 3755 rm conftest.$ac_ext
3361 LIBS=$ac_func_search_save_LIBS 3756 LIBS=$ac_func_search_save_LIBS
3362 fi 3757 fi
3363 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3364 echo "${ECHO_T}$ac_cv_search_strerror" >&6; } 3759 $as_echo "$ac_cv_search_strerror" >&6; }
3365 ac_res=$ac_cv_search_strerror 3760 ac_res=$ac_cv_search_strerror
3366 if test "$ac_res" != no; then 3761 if test "$ac_res" != no; then :
3367 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 3762 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3368 3763
3369 fi 3764 fi
3370 3765
3371 ac_ext=c 3766 ac_ext=c
3372 ac_cpp='$CPP $CPPFLAGS' 3767 ac_cpp='$CPP $CPPFLAGS'
3373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3375 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3376 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3377 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3772 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3378 # On Suns, sometimes $CPP names a directory. 3773 # On Suns, sometimes $CPP names a directory.
3379 if test -n "$CPP" && test -d "$CPP"; then 3774 if test -n "$CPP" && test -d "$CPP"; then
3380 CPP= 3775 CPP=
3381 fi 3776 fi
3382 if test -z "$CPP"; then 3777 if test -z "$CPP"; then
3383 if test "${ac_cv_prog_CPP+set}" = set; then 3778 if test "${ac_cv_prog_CPP+set}" = set; then :
3384 echo $ECHO_N "(cached) $ECHO_C" >&6 3779 $as_echo_n "(cached) " >&6
3385 else 3780 else
3386 # Double quotes because CPP needs to be expanded 3781 # Double quotes because CPP needs to be expanded
3387 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3782 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3388 do 3783 do
3389 ac_preproc_ok=false 3784 ac_preproc_ok=false
3393 # with a fresh cross-compiler works. 3788 # with a fresh cross-compiler works.
3394 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3789 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3395 # <limits.h> exists even on freestanding compilers. 3790 # <limits.h> exists even on freestanding compilers.
3396 # On the NeXT, cc -E runs the code through the compiler's parser, 3791 # On the NeXT, cc -E runs the code through the compiler's parser,
3397 # not just through cpp. "Syntax error" is here to catch this case. 3792 # not just through cpp. "Syntax error" is here to catch this case.
3398 cat >conftest.$ac_ext <<_ACEOF 3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3399 /* confdefs.h. */
3400 _ACEOF
3401 cat confdefs.h >>conftest.$ac_ext
3402 cat >>conftest.$ac_ext <<_ACEOF
3403 /* end confdefs.h. */ 3794 /* end confdefs.h. */
3404 #ifdef __STDC__ 3795 #ifdef __STDC__
3405 # include <limits.h> 3796 # include <limits.h>
3406 #else 3797 #else
3407 # include <assert.h> 3798 # include <assert.h>
3408 #endif 3799 #endif
3409 Syntax error 3800 Syntax error
3410 _ACEOF 3801 _ACEOF
3411 if { (ac_try="$ac_cpp conftest.$ac_ext" 3802 if ac_fn_c_try_cpp "$LINENO"; then :
3412 case "(($ac_try" in 3803
3413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3804 else
3414 *) ac_try_echo=$ac_try;;
3415 esac
3416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3417 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3418 ac_status=$?
3419 grep -v '^ *+' conftest.er1 >conftest.err
3420 rm -f conftest.er1
3421 cat conftest.err >&5
3422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 (exit $ac_status); } >/dev/null && {
3424 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3425 test ! -s conftest.err
3426 }; then
3427 :
3428 else
3429 echo "$as_me: failed program was:" >&5
3430 sed 's/^/| /' conftest.$ac_ext >&5
3431
3432 # Broken: fails on valid input. 3805 # Broken: fails on valid input.
3433 continue 3806 continue
3434 fi 3807 fi
3435
3436 rm -f conftest.err conftest.$ac_ext 3808 rm -f conftest.err conftest.$ac_ext
3437 3809
3438 # OK, works on sane cases. Now check whether nonexistent headers 3810 # OK, works on sane cases. Now check whether nonexistent headers
3439 # can be detected and how. 3811 # can be detected and how.
3440 cat >conftest.$ac_ext <<_ACEOF 3812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3441 /* confdefs.h. */
3442 _ACEOF
3443 cat confdefs.h >>conftest.$ac_ext
3444 cat >>conftest.$ac_ext <<_ACEOF
3445 /* end confdefs.h. */ 3813 /* end confdefs.h. */
3446 #include <ac_nonexistent.h> 3814 #include <ac_nonexistent.h>
3447 _ACEOF 3815 _ACEOF
3448 if { (ac_try="$ac_cpp conftest.$ac_ext" 3816 if ac_fn_c_try_cpp "$LINENO"; then :
3449 case "(($ac_try" in
3450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3451 *) ac_try_echo=$ac_try;;
3452 esac
3453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3454 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3455 ac_status=$?
3456 grep -v '^ *+' conftest.er1 >conftest.err
3457 rm -f conftest.er1
3458 cat conftest.err >&5
3459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3460 (exit $ac_status); } >/dev/null && {
3461 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3462 test ! -s conftest.err
3463 }; then
3464 # Broken: success on invalid input. 3817 # Broken: success on invalid input.
3465 continue 3818 continue
3466 else 3819 else
3467 echo "$as_me: failed program was:" >&5
3468 sed 's/^/| /' conftest.$ac_ext >&5
3469
3470 # Passes both tests. 3820 # Passes both tests.
3471 ac_preproc_ok=: 3821 ac_preproc_ok=:
3472 break 3822 break
3473 fi 3823 fi
3474
3475 rm -f conftest.err conftest.$ac_ext 3824 rm -f conftest.err conftest.$ac_ext
3476 3825
3477 done 3826 done
3478 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3827 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3479 rm -f conftest.err conftest.$ac_ext 3828 rm -f conftest.err conftest.$ac_ext
3480 if $ac_preproc_ok; then 3829 if $ac_preproc_ok; then :
3481 break 3830 break
3482 fi 3831 fi
3483 3832
3484 done 3833 done
3485 ac_cv_prog_CPP=$CPP 3834 ac_cv_prog_CPP=$CPP
3487 fi 3836 fi
3488 CPP=$ac_cv_prog_CPP 3837 CPP=$ac_cv_prog_CPP
3489 else 3838 else
3490 ac_cv_prog_CPP=$CPP 3839 ac_cv_prog_CPP=$CPP
3491 fi 3840 fi
3492 { echo "$as_me:$LINENO: result: $CPP" >&5 3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3493 echo "${ECHO_T}$CPP" >&6; } 3842 $as_echo "$CPP" >&6; }
3494 ac_preproc_ok=false 3843 ac_preproc_ok=false
3495 for ac_c_preproc_warn_flag in '' yes 3844 for ac_c_preproc_warn_flag in '' yes
3496 do 3845 do
3497 # Use a header file that comes with gcc, so configuring glibc 3846 # Use a header file that comes with gcc, so configuring glibc
3498 # with a fresh cross-compiler works. 3847 # with a fresh cross-compiler works.
3499 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3848 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3500 # <limits.h> exists even on freestanding compilers. 3849 # <limits.h> exists even on freestanding compilers.
3501 # On the NeXT, cc -E runs the code through the compiler's parser, 3850 # On the NeXT, cc -E runs the code through the compiler's parser,
3502 # not just through cpp. "Syntax error" is here to catch this case. 3851 # not just through cpp. "Syntax error" is here to catch this case.
3503 cat >conftest.$ac_ext <<_ACEOF 3852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504 /* confdefs.h. */
3505 _ACEOF
3506 cat confdefs.h >>conftest.$ac_ext
3507 cat >>conftest.$ac_ext <<_ACEOF
3508 /* end confdefs.h. */ 3853 /* end confdefs.h. */
3509 #ifdef __STDC__ 3854 #ifdef __STDC__
3510 # include <limits.h> 3855 # include <limits.h>
3511 #else 3856 #else
3512 # include <assert.h> 3857 # include <assert.h>
3513 #endif 3858 #endif
3514 Syntax error 3859 Syntax error
3515 _ACEOF 3860 _ACEOF
3516 if { (ac_try="$ac_cpp conftest.$ac_ext" 3861 if ac_fn_c_try_cpp "$LINENO"; then :
3517 case "(($ac_try" in 3862
3518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3863 else
3519 *) ac_try_echo=$ac_try;;
3520 esac
3521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3522 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3523 ac_status=$?
3524 grep -v '^ *+' conftest.er1 >conftest.err
3525 rm -f conftest.er1
3526 cat conftest.err >&5
3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528 (exit $ac_status); } >/dev/null && {
3529 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3530 test ! -s conftest.err
3531 }; then
3532 :
3533 else
3534 echo "$as_me: failed program was:" >&5
3535 sed 's/^/| /' conftest.$ac_ext >&5
3536
3537 # Broken: fails on valid input. 3864 # Broken: fails on valid input.
3538 continue 3865 continue
3539 fi 3866 fi
3540
3541 rm -f conftest.err conftest.$ac_ext 3867 rm -f conftest.err conftest.$ac_ext
3542 3868
3543 # OK, works on sane cases. Now check whether nonexistent headers 3869 # OK, works on sane cases. Now check whether nonexistent headers
3544 # can be detected and how. 3870 # can be detected and how.
3545 cat >conftest.$ac_ext <<_ACEOF 3871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3546 /* confdefs.h. */
3547 _ACEOF
3548 cat confdefs.h >>conftest.$ac_ext
3549 cat >>conftest.$ac_ext <<_ACEOF
3550 /* end confdefs.h. */ 3872 /* end confdefs.h. */
3551 #include <ac_nonexistent.h> 3873 #include <ac_nonexistent.h>
3552 _ACEOF 3874 _ACEOF
3553 if { (ac_try="$ac_cpp conftest.$ac_ext" 3875 if ac_fn_c_try_cpp "$LINENO"; then :
3554 case "(($ac_try" in
3555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3556 *) ac_try_echo=$ac_try;;
3557 esac
3558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3559 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3560 ac_status=$?
3561 grep -v '^ *+' conftest.er1 >conftest.err
3562 rm -f conftest.er1
3563 cat conftest.err >&5
3564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565 (exit $ac_status); } >/dev/null && {
3566 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3567 test ! -s conftest.err
3568 }; then
3569 # Broken: success on invalid input. 3876 # Broken: success on invalid input.
3570 continue 3877 continue
3571 else 3878 else
3572 echo "$as_me: failed program was:" >&5
3573 sed 's/^/| /' conftest.$ac_ext >&5
3574
3575 # Passes both tests. 3879 # Passes both tests.
3576 ac_preproc_ok=: 3880 ac_preproc_ok=:
3577 break 3881 break
3578 fi 3882 fi
3579
3580 rm -f conftest.err conftest.$ac_ext 3883 rm -f conftest.err conftest.$ac_ext
3581 3884
3582 done 3885 done
3583 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3886 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3584 rm -f conftest.err conftest.$ac_ext 3887 rm -f conftest.err conftest.$ac_ext
3585 if $ac_preproc_ok; then 3888 if $ac_preproc_ok; then :
3586 : 3889
3587 else 3890 else
3588 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3891 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3589 See \`config.log' for more details." >&5 3892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3590 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3893 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3591 See \`config.log' for more details." >&2;} 3894 See \`config.log' for more details." "$LINENO" 5; }
3592 { (exit 1); exit 1; }; }
3593 fi 3895 fi
3594 3896
3595 ac_ext=c 3897 ac_ext=c
3596 ac_cpp='$CPP $CPPFLAGS' 3898 ac_cpp='$CPP $CPPFLAGS'
3597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3599 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3600 3902
3601 3903
3602 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3603 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3905 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3604 if test "${ac_cv_path_GREP+set}" = set; then 3906 if test "${ac_cv_path_GREP+set}" = set; then :
3605 echo $ECHO_N "(cached) $ECHO_C" >&6 3907 $as_echo_n "(cached) " >&6
3606 else 3908 else
3607 # Extract the first word of "grep ggrep" to use in msg output 3909 if test -z "$GREP"; then
3608 if test -z "$GREP"; then
3609 set dummy grep ggrep; ac_prog_name=$2
3610 if test "${ac_cv_path_GREP+set}" = set; then
3611 echo $ECHO_N "(cached) $ECHO_C" >&6
3612 else
3613 ac_path_GREP_found=false 3910 ac_path_GREP_found=false
3614 # Loop through the user's path and test for each of PROGNAME-LIST 3911 # Loop through the user's path and test for each of PROGNAME-LIST
3615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3616 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3913 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3617 do 3914 do
3618 IFS=$as_save_IFS 3915 IFS=$as_save_IFS
3619 test -z "$as_dir" && as_dir=. 3916 test -z "$as_dir" && as_dir=.
3620 for ac_prog in grep ggrep; do 3917 for ac_prog in grep ggrep; do
3621 for ac_exec_ext in '' $ac_executable_extensions; do 3918 for ac_exec_ext in '' $ac_executable_extensions; do
3622 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3919 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3623 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3920 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3624 # Check for GNU ac_path_GREP and select it if it is found. 3921 # Check for GNU ac_path_GREP and select it if it is found.
3625 # Check for GNU $ac_path_GREP 3922 # Check for GNU $ac_path_GREP
3626 case `"$ac_path_GREP" --version 2>&1` in 3923 case `"$ac_path_GREP" --version 2>&1` in
3627 *GNU*) 3924 *GNU*)
3628 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3925 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3629 *) 3926 *)
3630 ac_count=0 3927 ac_count=0
3631 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3928 $as_echo_n 0123456789 >"conftest.in"
3632 while : 3929 while :
3633 do 3930 do
3634 cat "conftest.in" "conftest.in" >"conftest.tmp" 3931 cat "conftest.in" "conftest.in" >"conftest.tmp"
3635 mv "conftest.tmp" "conftest.in" 3932 mv "conftest.tmp" "conftest.in"
3636 cp "conftest.in" "conftest.nl" 3933 cp "conftest.in" "conftest.nl"
3637 echo 'GREP' >> "conftest.nl" 3934 $as_echo 'GREP' >> "conftest.nl"
3638 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3935 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3639 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3936 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3640 ac_count=`expr $ac_count + 1` 3937 as_fn_arith $ac_count + 1 && ac_count=$as_val
3641 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3938 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3642 # Best one so far, save it but keep looking for a better one 3939 # Best one so far, save it but keep looking for a better one
3643 ac_cv_path_GREP="$ac_path_GREP" 3940 ac_cv_path_GREP="$ac_path_GREP"
3644 ac_path_GREP_max=$ac_count 3941 ac_path_GREP_max=$ac_count
3645 fi 3942 fi
3647 test $ac_count -gt 10 && break 3944 test $ac_count -gt 10 && break
3648 done 3945 done
3649 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3946 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3650 esac 3947 esac
3651 3948
3652 3949 $ac_path_GREP_found && break 3
3653 $ac_path_GREP_found && break 3 3950 done
3654 done 3951 done
3655 done 3952 done
3656
3657 done
3658 IFS=$as_save_IFS 3953 IFS=$as_save_IFS
3659 3954 if test -z "$ac_cv_path_GREP"; then
3660 3955 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3661 fi 3956 fi
3662
3663 GREP="$ac_cv_path_GREP"
3664 if test -z "$GREP"; then
3665 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3666 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3667 { (exit 1); exit 1; }; }
3668 fi
3669
3670 else 3957 else
3671 ac_cv_path_GREP=$GREP 3958 ac_cv_path_GREP=$GREP
3672 fi 3959 fi
3673 3960
3674 3961 fi
3675 fi 3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3676 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3963 $as_echo "$ac_cv_path_GREP" >&6; }
3677 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3678 GREP="$ac_cv_path_GREP" 3964 GREP="$ac_cv_path_GREP"
3679 3965
3680 3966
3681 { echo "$as_me:$LINENO: checking for egrep" >&5 3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3682 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 3968 $as_echo_n "checking for egrep... " >&6; }
3683 if test "${ac_cv_path_EGREP+set}" = set; then 3969 if test "${ac_cv_path_EGREP+set}" = set; then :
3684 echo $ECHO_N "(cached) $ECHO_C" >&6 3970 $as_echo_n "(cached) " >&6
3685 else 3971 else
3686 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3972 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3687 then ac_cv_path_EGREP="$GREP -E" 3973 then ac_cv_path_EGREP="$GREP -E"
3688 else 3974 else
3689 # Extract the first word of "egrep" to use in msg output 3975 if test -z "$EGREP"; then
3690 if test -z "$EGREP"; then
3691 set dummy egrep; ac_prog_name=$2
3692 if test "${ac_cv_path_EGREP+set}" = set; then
3693 echo $ECHO_N "(cached) $ECHO_C" >&6
3694 else
3695 ac_path_EGREP_found=false 3976 ac_path_EGREP_found=false
3696 # Loop through the user's path and test for each of PROGNAME-LIST 3977 # Loop through the user's path and test for each of PROGNAME-LIST
3697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3698 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3979 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3699 do 3980 do
3700 IFS=$as_save_IFS 3981 IFS=$as_save_IFS
3701 test -z "$as_dir" && as_dir=. 3982 test -z "$as_dir" && as_dir=.
3702 for ac_prog in egrep; do 3983 for ac_prog in egrep; do
3703 for ac_exec_ext in '' $ac_executable_extensions; do 3984 for ac_exec_ext in '' $ac_executable_extensions; do
3704 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3985 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3705 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3986 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3706 # Check for GNU ac_path_EGREP and select it if it is found. 3987 # Check for GNU ac_path_EGREP and select it if it is found.
3707 # Check for GNU $ac_path_EGREP 3988 # Check for GNU $ac_path_EGREP
3708 case `"$ac_path_EGREP" --version 2>&1` in 3989 case `"$ac_path_EGREP" --version 2>&1` in
3709 *GNU*) 3990 *GNU*)
3710 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3991 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3711 *) 3992 *)
3712 ac_count=0 3993 ac_count=0
3713 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3994 $as_echo_n 0123456789 >"conftest.in"
3714 while : 3995 while :
3715 do 3996 do
3716 cat "conftest.in" "conftest.in" >"conftest.tmp" 3997 cat "conftest.in" "conftest.in" >"conftest.tmp"
3717 mv "conftest.tmp" "conftest.in" 3998 mv "conftest.tmp" "conftest.in"
3718 cp "conftest.in" "conftest.nl" 3999 cp "conftest.in" "conftest.nl"
3719 echo 'EGREP' >> "conftest.nl" 4000 $as_echo 'EGREP' >> "conftest.nl"
3720 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4001 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3721 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4002 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3722 ac_count=`expr $ac_count + 1` 4003 as_fn_arith $ac_count + 1 && ac_count=$as_val
3723 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4004 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3724 # Best one so far, save it but keep looking for a better one 4005 # Best one so far, save it but keep looking for a better one
3725 ac_cv_path_EGREP="$ac_path_EGREP" 4006 ac_cv_path_EGREP="$ac_path_EGREP"
3726 ac_path_EGREP_max=$ac_count 4007 ac_path_EGREP_max=$ac_count
3727 fi 4008 fi
3729 test $ac_count -gt 10 && break 4010 test $ac_count -gt 10 && break
3730 done 4011 done
3731 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4012 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3732 esac 4013 esac
3733 4014
3734 4015 $ac_path_EGREP_found && break 3
3735 $ac_path_EGREP_found && break 3 4016 done
3736 done 4017 done
3737 done 4018 done
3738
3739 done
3740 IFS=$as_save_IFS 4019 IFS=$as_save_IFS
3741 4020 if test -z "$ac_cv_path_EGREP"; then
3742 4021 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3743 fi 4022 fi
3744
3745 EGREP="$ac_cv_path_EGREP"
3746 if test -z "$EGREP"; then
3747 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3748 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3749 { (exit 1); exit 1; }; }
3750 fi
3751
3752 else 4023 else
3753 ac_cv_path_EGREP=$EGREP 4024 ac_cv_path_EGREP=$EGREP
3754 fi 4025 fi
3755 4026
3756
3757 fi 4027 fi
3758 fi 4028 fi
3759 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3760 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4030 $as_echo "$ac_cv_path_EGREP" >&6; }
3761 EGREP="$ac_cv_path_EGREP" 4031 EGREP="$ac_cv_path_EGREP"
3762 4032
3763 4033
3764 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3765 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4035 $as_echo_n "checking for ANSI C header files... " >&6; }
3766 if test "${ac_cv_header_stdc+set}" = set; then 4036 if test "${ac_cv_header_stdc+set}" = set; then :
3767 echo $ECHO_N "(cached) $ECHO_C" >&6 4037 $as_echo_n "(cached) " >&6
3768 else 4038 else
3769 cat >conftest.$ac_ext <<_ACEOF 4039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3770 /* confdefs.h. */
3771 _ACEOF
3772 cat confdefs.h >>conftest.$ac_ext
3773 cat >>conftest.$ac_ext <<_ACEOF
3774 /* end confdefs.h. */ 4040 /* end confdefs.h. */
3775 #include <stdlib.h> 4041 #include <stdlib.h>
3776 #include <stdarg.h> 4042 #include <stdarg.h>
3777 #include <string.h> 4043 #include <string.h>
3778 #include <float.h> 4044 #include <float.h>
3783 4049
3784 ; 4050 ;
3785 return 0; 4051 return 0;
3786 } 4052 }
3787 _ACEOF 4053 _ACEOF
3788 rm -f conftest.$ac_objext 4054 if ac_fn_c_try_compile "$LINENO"; then :
3789 if { (ac_try="$ac_compile"
3790 case "(($ac_try" in
3791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3792 *) ac_try_echo=$ac_try;;
3793 esac
3794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3795 (eval "$ac_compile") 2>conftest.er1
3796 ac_status=$?
3797 grep -v '^ *+' conftest.er1 >conftest.err
3798 rm -f conftest.er1
3799 cat conftest.err >&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); } && {
3802 test -z "$ac_c_werror_flag" ||
3803 test ! -s conftest.err
3804 } && test -s conftest.$ac_objext; then
3805 ac_cv_header_stdc=yes 4055 ac_cv_header_stdc=yes
3806 else 4056 else
3807 echo "$as_me: failed program was:" >&5 4057 ac_cv_header_stdc=no
3808 sed 's/^/| /' conftest.$ac_ext >&5 4058 fi
3809
3810 ac_cv_header_stdc=no
3811 fi
3812
3813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3814 4060
3815 if test $ac_cv_header_stdc = yes; then 4061 if test $ac_cv_header_stdc = yes; then
3816 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4062 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3817 cat >conftest.$ac_ext <<_ACEOF 4063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3818 /* confdefs.h. */
3819 _ACEOF
3820 cat confdefs.h >>conftest.$ac_ext
3821 cat >>conftest.$ac_ext <<_ACEOF
3822 /* end confdefs.h. */ 4064 /* end confdefs.h. */
3823 #include <string.h> 4065 #include <string.h>
3824 4066
3825 _ACEOF 4067 _ACEOF
3826 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3827 $EGREP "memchr" >/dev/null 2>&1; then 4069 $EGREP "memchr" >/dev/null 2>&1; then :
3828 : 4070
3829 else 4071 else
3830 ac_cv_header_stdc=no 4072 ac_cv_header_stdc=no
3831 fi 4073 fi
3832 rm -f conftest* 4074 rm -f conftest*
3833 4075
3834 fi 4076 fi
3835 4077
3836 if test $ac_cv_header_stdc = yes; then 4078 if test $ac_cv_header_stdc = yes; then
3837 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4079 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3838 cat >conftest.$ac_ext <<_ACEOF 4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3839 /* confdefs.h. */
3840 _ACEOF
3841 cat confdefs.h >>conftest.$ac_ext
3842 cat >>conftest.$ac_ext <<_ACEOF
3843 /* end confdefs.h. */ 4081 /* end confdefs.h. */
3844 #include <stdlib.h> 4082 #include <stdlib.h>
3845 4083
3846 _ACEOF 4084 _ACEOF
3847 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4085 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3848 $EGREP "free" >/dev/null 2>&1; then 4086 $EGREP "free" >/dev/null 2>&1; then :
3849 : 4087
3850 else 4088 else
3851 ac_cv_header_stdc=no 4089 ac_cv_header_stdc=no
3852 fi 4090 fi
3853 rm -f conftest* 4091 rm -f conftest*
3854 4092
3855 fi 4093 fi
3856 4094
3857 if test $ac_cv_header_stdc = yes; then 4095 if test $ac_cv_header_stdc = yes; then
3858 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4096 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3859 if test "$cross_compiling" = yes; then 4097 if test "$cross_compiling" = yes; then :
3860 : 4098 :
3861 else 4099 else
3862 cat >conftest.$ac_ext <<_ACEOF 4100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3863 /* confdefs.h. */
3864 _ACEOF
3865 cat confdefs.h >>conftest.$ac_ext
3866 cat >>conftest.$ac_ext <<_ACEOF
3867 /* end confdefs.h. */ 4101 /* end confdefs.h. */
3868 #include <ctype.h> 4102 #include <ctype.h>
3869 #include <stdlib.h> 4103 #include <stdlib.h>
3870 #if ((' ' & 0x0FF) == 0x020) 4104 #if ((' ' & 0x0FF) == 0x020)
3871 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4105 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3888 || toupper (i) != TOUPPER (i)) 4122 || toupper (i) != TOUPPER (i))
3889 return 2; 4123 return 2;
3890 return 0; 4124 return 0;
3891 } 4125 }
3892 _ACEOF 4126 _ACEOF
3893 rm -f conftest$ac_exeext 4127 if ac_fn_c_try_run "$LINENO"; then :
3894 if { (ac_try="$ac_link" 4128
3895 case "(($ac_try" in 4129 else
3896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4130 ac_cv_header_stdc=no
3897 *) ac_try_echo=$ac_try;; 4131 fi
3898 esac 4132 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4133 conftest.$ac_objext conftest.beam conftest.$ac_ext
3900 (eval "$ac_link") 2>&5 4134 fi
3901 ac_status=$? 4135
3902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4136 fi
3903 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4137 fi
3904 { (case "(($ac_try" in 4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4139 $as_echo "$ac_cv_header_stdc" >&6; }
3906 *) ac_try_echo=$ac_try;;
3907 esac
3908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3909 (eval "$ac_try") 2>&5
3910 ac_status=$?
3911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3912 (exit $ac_status); }; }; then
3913 :
3914 else
3915 echo "$as_me: program exited with status $ac_status" >&5
3916 echo "$as_me: failed program was:" >&5
3917 sed 's/^/| /' conftest.$ac_ext >&5
3918
3919 ( exit $ac_status )
3920 ac_cv_header_stdc=no
3921 fi
3922 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3923 fi
3924
3925
3926 fi
3927 fi
3928 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3929 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3930 if test $ac_cv_header_stdc = yes; then 4140 if test $ac_cv_header_stdc = yes; then
3931 4141
3932 cat >>confdefs.h <<\_ACEOF 4142 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3933 #define STDC_HEADERS 1
3934 _ACEOF
3935 4143
3936 fi 4144 fi
3937 4145
3938 if test -n "$ac_tool_prefix"; then 4146 if test -n "$ac_tool_prefix"; then
3939 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4147 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3940 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4148 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3941 { echo "$as_me:$LINENO: checking for $ac_word" >&5 4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4150 $as_echo_n "checking for $ac_word... " >&6; }
3943 if test "${ac_cv_prog_RANLIB+set}" = set; then 4151 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3944 echo $ECHO_N "(cached) $ECHO_C" >&6 4152 $as_echo_n "(cached) " >&6
3945 else 4153 else
3946 if test -n "$RANLIB"; then 4154 if test -n "$RANLIB"; then
3947 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 4155 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3948 else 4156 else
3949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3950 for as_dir in $PATH 4158 for as_dir in $PATH
3951 do 4159 do
3952 IFS=$as_save_IFS 4160 IFS=$as_save_IFS
3953 test -z "$as_dir" && as_dir=. 4161 test -z "$as_dir" && as_dir=.
3954 for ac_exec_ext in '' $ac_executable_extensions; do 4162 for ac_exec_ext in '' $ac_executable_extensions; do
3955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3956 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4164 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 break 2 4166 break 2
3959 fi 4167 fi
3960 done 4168 done
3961 done 4169 done
3962 IFS=$as_save_IFS 4170 IFS=$as_save_IFS
3963 4171
3964 fi 4172 fi
3965 fi 4173 fi
3966 RANLIB=$ac_cv_prog_RANLIB 4174 RANLIB=$ac_cv_prog_RANLIB
3967 if test -n "$RANLIB"; then 4175 if test -n "$RANLIB"; then
3968 { echo "$as_me:$LINENO: result: $RANLIB" >&5 4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3969 echo "${ECHO_T}$RANLIB" >&6; } 4177 $as_echo "$RANLIB" >&6; }
3970 else 4178 else
3971 { echo "$as_me:$LINENO: result: no" >&5 4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3972 echo "${ECHO_T}no" >&6; } 4180 $as_echo "no" >&6; }
3973 fi 4181 fi
3974 4182
3975 4183
3976 fi 4184 fi
3977 if test -z "$ac_cv_prog_RANLIB"; then 4185 if test -z "$ac_cv_prog_RANLIB"; then
3978 ac_ct_RANLIB=$RANLIB 4186 ac_ct_RANLIB=$RANLIB
3979 # Extract the first word of "ranlib", so it can be a program name with args. 4187 # Extract the first word of "ranlib", so it can be a program name with args.
3980 set dummy ranlib; ac_word=$2 4188 set dummy ranlib; ac_word=$2
3981 { echo "$as_me:$LINENO: checking for $ac_word" >&5 4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4190 $as_echo_n "checking for $ac_word... " >&6; }
3983 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 4191 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3984 echo $ECHO_N "(cached) $ECHO_C" >&6 4192 $as_echo_n "(cached) " >&6
3985 else 4193 else
3986 if test -n "$ac_ct_RANLIB"; then 4194 if test -n "$ac_ct_RANLIB"; then
3987 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 4195 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3988 else 4196 else
3989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3990 for as_dir in $PATH 4198 for as_dir in $PATH
3991 do 4199 do
3992 IFS=$as_save_IFS 4200 IFS=$as_save_IFS
3993 test -z "$as_dir" && as_dir=. 4201 test -z "$as_dir" && as_dir=.
3994 for ac_exec_ext in '' $ac_executable_extensions; do 4202 for ac_exec_ext in '' $ac_executable_extensions; do
3995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3996 ac_cv_prog_ac_ct_RANLIB="ranlib" 4204 ac_cv_prog_ac_ct_RANLIB="ranlib"
3997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3998 break 2 4206 break 2
3999 fi 4207 fi
4000 done 4208 done
4001 done 4209 done
4002 IFS=$as_save_IFS 4210 IFS=$as_save_IFS
4003 4211
4004 fi 4212 fi
4005 fi 4213 fi
4006 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4214 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4007 if test -n "$ac_ct_RANLIB"; then 4215 if test -n "$ac_ct_RANLIB"; then
4008 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4009 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 4217 $as_echo "$ac_ct_RANLIB" >&6; }
4010 else 4218 else
4011 { echo "$as_me:$LINENO: result: no" >&5 4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4012 echo "${ECHO_T}no" >&6; } 4220 $as_echo "no" >&6; }
4013 fi 4221 fi
4014 4222
4015 if test "x$ac_ct_RANLIB" = x; then 4223 if test "x$ac_ct_RANLIB" = x; then
4016 RANLIB=":" 4224 RANLIB=":"
4017 else 4225 else
4018 case $cross_compiling:$ac_tool_warned in 4226 case $cross_compiling:$ac_tool_warned in
4019 yes:) 4227 yes:)
4020 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 4228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4021 whose name does not start with the host triplet. If you think this 4229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4022 configuration is useful to you, please write to autoconf@gnu.org." >&5
4023 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4024 whose name does not start with the host triplet. If you think this
4025 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4026 ac_tool_warned=yes ;; 4230 ac_tool_warned=yes ;;
4027 esac 4231 esac
4028 RANLIB=$ac_ct_RANLIB 4232 RANLIB=$ac_ct_RANLIB
4029 fi 4233 fi
4030 else 4234 else
4036 4240
4037 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4241 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4038 if test -n "$ac_tool_prefix"; then 4242 if test -n "$ac_tool_prefix"; then
4039 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4243 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4040 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4244 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4041 { echo "$as_me:$LINENO: checking for $ac_word" >&5 4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4246 $as_echo_n "checking for $ac_word... " >&6; }
4043 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 4247 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
4044 echo $ECHO_N "(cached) $ECHO_C" >&6 4248 $as_echo_n "(cached) " >&6
4045 else 4249 else
4046 case $PKG_CONFIG in 4250 case $PKG_CONFIG in
4047 [\\/]* | ?:[\\/]*) 4251 [\\/]* | ?:[\\/]*)
4048 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4252 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4049 ;; 4253 ;;
4051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4052 for as_dir in $PATH 4256 for as_dir in $PATH
4053 do 4257 do
4054 IFS=$as_save_IFS 4258 IFS=$as_save_IFS
4055 test -z "$as_dir" && as_dir=. 4259 test -z "$as_dir" && as_dir=.
4056 for ac_exec_ext in '' $ac_executable_extensions; do 4260 for ac_exec_ext in '' $ac_executable_extensions; do
4057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4058 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4262 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4060 break 2 4264 break 2
4061 fi 4265 fi
4062 done 4266 done
4063 done 4267 done
4064 IFS=$as_save_IFS 4268 IFS=$as_save_IFS
4065 4269
4066 ;; 4270 ;;
4067 esac 4271 esac
4068 fi 4272 fi
4069 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4273 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4070 if test -n "$PKG_CONFIG"; then 4274 if test -n "$PKG_CONFIG"; then
4071 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4072 echo "${ECHO_T}$PKG_CONFIG" >&6; } 4276 $as_echo "$PKG_CONFIG" >&6; }
4073 else 4277 else
4074 { echo "$as_me:$LINENO: result: no" >&5 4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4075 echo "${ECHO_T}no" >&6; } 4279 $as_echo "no" >&6; }
4076 fi 4280 fi
4077 4281
4078 4282
4079 fi 4283 fi
4080 if test -z "$ac_cv_path_PKG_CONFIG"; then 4284 if test -z "$ac_cv_path_PKG_CONFIG"; then
4081 ac_pt_PKG_CONFIG=$PKG_CONFIG 4285 ac_pt_PKG_CONFIG=$PKG_CONFIG
4082 # Extract the first word of "pkg-config", so it can be a program name with args. 4286 # Extract the first word of "pkg-config", so it can be a program name with args.
4083 set dummy pkg-config; ac_word=$2 4287 set dummy pkg-config; ac_word=$2
4084 { echo "$as_me:$LINENO: checking for $ac_word" >&5 4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4289 $as_echo_n "checking for $ac_word... " >&6; }
4086 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 4290 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
4087 echo $ECHO_N "(cached) $ECHO_C" >&6 4291 $as_echo_n "(cached) " >&6
4088 else 4292 else
4089 case $ac_pt_PKG_CONFIG in 4293 case $ac_pt_PKG_CONFIG in
4090 [\\/]* | ?:[\\/]*) 4294 [\\/]* | ?:[\\/]*)
4091 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4295 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4092 ;; 4296 ;;
4094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4095 for as_dir in $PATH 4299 for as_dir in $PATH
4096 do 4300 do
4097 IFS=$as_save_IFS 4301 IFS=$as_save_IFS
4098 test -z "$as_dir" && as_dir=. 4302 test -z "$as_dir" && as_dir=.
4099 for ac_exec_ext in '' $ac_executable_extensions; do 4303 for ac_exec_ext in '' $ac_executable_extensions; do
4100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4101 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4305 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4103 break 2 4307 break 2
4104 fi 4308 fi
4105 done 4309 done
4106 done 4310 done
4107 IFS=$as_save_IFS 4311 IFS=$as_save_IFS
4108 4312
4109 ;; 4313 ;;
4110 esac 4314 esac
4111 fi 4315 fi
4112 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4316 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4113 if test -n "$ac_pt_PKG_CONFIG"; then 4317 if test -n "$ac_pt_PKG_CONFIG"; then
4114 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4115 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } 4319 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4116 else 4320 else
4117 { echo "$as_me:$LINENO: result: no" >&5 4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4118 echo "${ECHO_T}no" >&6; } 4322 $as_echo "no" >&6; }
4119 fi 4323 fi
4120 4324
4121 if test "x$ac_pt_PKG_CONFIG" = x; then 4325 if test "x$ac_pt_PKG_CONFIG" = x; then
4122 PKG_CONFIG="" 4326 PKG_CONFIG=""
4123 else 4327 else
4124 case $cross_compiling:$ac_tool_warned in 4328 case $cross_compiling:$ac_tool_warned in
4125 yes:) 4329 yes:)
4126 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 4330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4127 whose name does not start with the host triplet. If you think this 4331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4128 configuration is useful to you, please write to autoconf@gnu.org." >&5
4129 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4130 whose name does not start with the host triplet. If you think this
4131 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4132 ac_tool_warned=yes ;; 4332 ac_tool_warned=yes ;;
4133 esac 4333 esac
4134 PKG_CONFIG=$ac_pt_PKG_CONFIG 4334 PKG_CONFIG=$ac_pt_PKG_CONFIG
4135 fi 4335 fi
4136 else 4336 else
4138 fi 4338 fi
4139 4339
4140 fi 4340 fi
4141 if test -n "$PKG_CONFIG"; then 4341 if test -n "$PKG_CONFIG"; then
4142 _pkg_min_version=0.9.0 4342 _pkg_min_version=0.9.0
4143 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4144 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } 4344 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4145 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4345 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4146 { echo "$as_me:$LINENO: result: yes" >&5 4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4147 echo "${ECHO_T}yes" >&6; } 4347 $as_echo "yes" >&6; }
4148 else 4348 else
4149 { echo "$as_me:$LINENO: result: no" >&5 4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4150 echo "${ECHO_T}no" >&6; } 4350 $as_echo "no" >&6; }
4151 PKG_CONFIG="" 4351 PKG_CONFIG=""
4152 fi 4352 fi
4153 4353
4154 fi 4354 fi
4155 4355
4156 pkg_failed=no 4356 pkg_failed=no
4157 { echo "$as_me:$LINENO: checking for GLIB" >&5 4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
4158 echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; } 4358 $as_echo_n "checking for GLIB... " >&6; }
4159 4359
4160 if test -n "$PKG_CONFIG"; then 4360 if test -n "$PKG_CONFIG"; then
4161 if test -n "$GLIB_CFLAGS"; then 4361 if test -n "$GLIB_CFLAGS"; then
4162 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" 4362 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
4163 else 4363 else
4164 if test -n "$PKG_CONFIG" && \ 4364 if test -n "$PKG_CONFIG" && \
4165 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5 4365 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
4166 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 4366 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
4167 ac_status=$? 4367 ac_status=$?
4168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4169 (exit $ac_status); }; then 4369 test $ac_status = 0; }; then
4170 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null` 4370 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
4171 else 4371 else
4172 pkg_failed=yes 4372 pkg_failed=yes
4173 fi 4373 fi
4174 fi 4374 fi
4178 if test -n "$PKG_CONFIG"; then 4378 if test -n "$PKG_CONFIG"; then
4179 if test -n "$GLIB_LIBS"; then 4379 if test -n "$GLIB_LIBS"; then
4180 pkg_cv_GLIB_LIBS="$GLIB_LIBS" 4380 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
4181 else 4381 else
4182 if test -n "$PKG_CONFIG" && \ 4382 if test -n "$PKG_CONFIG" && \
4183 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5 4383 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
4184 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 4384 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
4185 ac_status=$? 4385 ac_status=$?
4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4187 (exit $ac_status); }; then 4387 test $ac_status = 0; }; then
4188 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null` 4388 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
4189 else 4389 else
4190 pkg_failed=yes 4390 pkg_failed=yes
4191 fi 4391 fi
4192 fi 4392 fi
4209 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"` 4409 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
4210 fi 4410 fi
4211 # Put the nasty error message in config.log where it belongs 4411 # Put the nasty error message in config.log where it belongs
4212 echo "$GLIB_PKG_ERRORS" >&5 4412 echo "$GLIB_PKG_ERRORS" >&5
4213 4413
4214 { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met: 4414 as_fn_error "Package requirements (glib-2.0) were not met:
4215 4415
4216 $GLIB_PKG_ERRORS 4416 $GLIB_PKG_ERRORS
4217 4417
4218 Consider adjusting the PKG_CONFIG_PATH environment variable if you 4418 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4219 installed software in a non-standard prefix. 4419 installed software in a non-standard prefix.
4220 4420
4221 Alternatively, you may set the environment variables GLIB_CFLAGS 4421 Alternatively, you may set the environment variables GLIB_CFLAGS
4222 and GLIB_LIBS to avoid the need to call pkg-config. 4422 and GLIB_LIBS to avoid the need to call pkg-config.
4223 See the pkg-config man page for more details. 4423 See the pkg-config man page for more details.
4224 " >&5 4424 " "$LINENO" 5
4225 echo "$as_me: error: Package requirements (glib-2.0) were not met: 4425 elif test $pkg_failed = untried; then
4226 4426 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4227 $GLIB_PKG_ERRORS 4427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4228 4428 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
4229 Consider adjusting the PKG_CONFIG_PATH environment variable if you 4429 is in your PATH or set the PKG_CONFIG environment variable to the full
4230 installed software in a non-standard prefix. 4430 path to pkg-config.
4231 4431
4232 Alternatively, you may set the environment variables GLIB_CFLAGS 4432 Alternatively, you may set the environment variables GLIB_CFLAGS
4233 and GLIB_LIBS to avoid the need to call pkg-config. 4433 and GLIB_LIBS to avoid the need to call pkg-config.
4234 See the pkg-config man page for more details. 4434 See the pkg-config man page for more details.
4235 " >&2;}
4236 { (exit 1); exit 1; }; }
4237 elif test $pkg_failed = untried; then
4238 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4239 is in your PATH or set the PKG_CONFIG environment variable to the full
4240 path to pkg-config.
4241
4242 Alternatively, you may set the environment variables GLIB_CFLAGS
4243 and GLIB_LIBS to avoid the need to call pkg-config.
4244 See the pkg-config man page for more details.
4245 4435
4246 To get pkg-config, see <http://pkg-config.freedesktop.org/>. 4436 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4247 See \`config.log' for more details." >&5 4437 See \`config.log' for more details." "$LINENO" 5; }
4248 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4249 is in your PATH or set the PKG_CONFIG environment variable to the full
4250 path to pkg-config.
4251
4252 Alternatively, you may set the environment variables GLIB_CFLAGS
4253 and GLIB_LIBS to avoid the need to call pkg-config.
4254 See the pkg-config man page for more details.
4255
4256 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4257 See \`config.log' for more details." >&2;}
4258 { (exit 1); exit 1; }; }
4259 else 4438 else
4260 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS 4439 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
4261 GLIB_LIBS=$pkg_cv_GLIB_LIBS 4440 GLIB_LIBS=$pkg_cv_GLIB_LIBS
4262 { echo "$as_me:$LINENO: result: yes" >&5 4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4263 echo "${ECHO_T}yes" >&6; } 4442 $as_echo "yes" >&6; }
4264 : 4443 :
4265 fi 4444 fi
4266 4445
4267 4446
4268 4447
4269 # Check whether --enable-resolver was given. 4448 # Check whether --enable-resolver was given.
4270 if test "${enable_resolver+set}" = set; then 4449 if test "${enable_resolver+set}" = set; then :
4271 enableval=$enable_resolver; if test "$enable_resolver" != 'no'; then 4450 enableval=$enable_resolver; if test "$enable_resolver" != 'no'; then
4272 resolver_enabled='yes' 4451 resolver_enabled='yes'
4273 fi 4452 fi
4274 else 4453 else
4275 resolver_enabled='yes' 4454 resolver_enabled='yes'
4277 fi 4456 fi
4278 4457
4279 4458
4280 if test "$resolver_enabled" = yes; then 4459 if test "$resolver_enabled" = yes; then
4281 4460
4282 cat >>confdefs.h <<\_ACEOF 4461 $as_echo "#define ENABLE_RESOLVER 1" >>confdefs.h
4283 #define ENABLE_RESOLVER 1 4462
4284 _ACEOF 4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lc" >&5
4285 4464 $as_echo_n "checking for res_search in -lc... " >&6; }
4286 { echo "$as_me:$LINENO: checking for res_search in -lc" >&5 4465 if test "${ac_cv_lib_c_res_search+set}" = set; then :
4287 echo $ECHO_N "checking for res_search in -lc... $ECHO_C" >&6; } 4466 $as_echo_n "(cached) " >&6
4288 if test "${ac_cv_lib_c_res_search+set}" = set; then
4289 echo $ECHO_N "(cached) $ECHO_C" >&6
4290 else 4467 else
4291 ac_check_lib_save_LIBS=$LIBS 4468 ac_check_lib_save_LIBS=$LIBS
4292 LIBS="-lc $LIBS" 4469 LIBS="-lc $LIBS"
4293 cat >conftest.$ac_ext <<_ACEOF 4470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4294 /* confdefs.h. */
4295 _ACEOF
4296 cat confdefs.h >>conftest.$ac_ext
4297 cat >>conftest.$ac_ext <<_ACEOF
4298 /* end confdefs.h. */ 4471 /* end confdefs.h. */
4299 4472
4300 /* Override any GCC internal prototype to avoid an error. 4473 /* Override any GCC internal prototype to avoid an error.
4301 Use char because int might match the return type of a GCC 4474 Use char because int might match the return type of a GCC
4302 builtin and then its argument prototype would still apply. */ 4475 builtin and then its argument prototype would still apply. */
4310 return res_search (); 4483 return res_search ();
4311 ; 4484 ;
4312 return 0; 4485 return 0;
4313 } 4486 }
4314 _ACEOF 4487 _ACEOF
4315 rm -f conftest.$ac_objext conftest$ac_exeext 4488 if ac_fn_c_try_link "$LINENO"; then :
4316 if { (ac_try="$ac_link"
4317 case "(($ac_try" in
4318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4319 *) ac_try_echo=$ac_try;;
4320 esac
4321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4322 (eval "$ac_link") 2>conftest.er1
4323 ac_status=$?
4324 grep -v '^ *+' conftest.er1 >conftest.err
4325 rm -f conftest.er1
4326 cat conftest.err >&5
4327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4328 (exit $ac_status); } && {
4329 test -z "$ac_c_werror_flag" ||
4330 test ! -s conftest.err
4331 } && test -s conftest$ac_exeext &&
4332 $as_test_x conftest$ac_exeext; then
4333 ac_cv_lib_c_res_search=yes 4489 ac_cv_lib_c_res_search=yes
4334 else 4490 else
4335 echo "$as_me: failed program was:" >&5 4491 ac_cv_lib_c_res_search=no
4336 sed 's/^/| /' conftest.$ac_ext >&5 4492 fi
4337 4493 rm -f core conftest.err conftest.$ac_objext \
4338 ac_cv_lib_c_res_search=no 4494 conftest$ac_exeext conftest.$ac_ext
4339 fi
4340
4341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4342 conftest$ac_exeext conftest.$ac_ext
4343 LIBS=$ac_check_lib_save_LIBS 4495 LIBS=$ac_check_lib_save_LIBS
4344 fi 4496 fi
4345 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_res_search" >&5 4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_res_search" >&5
4346 echo "${ECHO_T}$ac_cv_lib_c_res_search" >&6; } 4498 $as_echo "$ac_cv_lib_c_res_search" >&6; }
4347 if test $ac_cv_lib_c_res_search = yes; then 4499 if test "x$ac_cv_lib_c_res_search" = x""yes; then :
4348 need_resolv=no 4500 need_resolv=no
4349 else 4501 else
4350 need_resolv=yes 4502 need_resolv=yes
4351 fi 4503 fi
4352 4504
4353 if test "$need_resolv" = yes; then 4505 if test "$need_resolv" = yes; then
4354 { echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5 4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lresolv" >&5
4355 echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; } 4507 $as_echo_n "checking for res_search in -lresolv... " >&6; }
4356 if test "${ac_cv_lib_resolv_res_search+set}" = set; then 4508 if test "${ac_cv_lib_resolv_res_search+set}" = set; then :
4357 echo $ECHO_N "(cached) $ECHO_C" >&6 4509 $as_echo_n "(cached) " >&6
4358 else 4510 else
4359 ac_check_lib_save_LIBS=$LIBS 4511 ac_check_lib_save_LIBS=$LIBS
4360 LIBS="-lresolv $LIBS" 4512 LIBS="-lresolv $LIBS"
4361 cat >conftest.$ac_ext <<_ACEOF 4513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4362 /* confdefs.h. */
4363 _ACEOF
4364 cat confdefs.h >>conftest.$ac_ext
4365 cat >>conftest.$ac_ext <<_ACEOF
4366 /* end confdefs.h. */ 4514 /* end confdefs.h. */
4367 4515
4368 /* Override any GCC internal prototype to avoid an error. 4516 /* Override any GCC internal prototype to avoid an error.
4369 Use char because int might match the return type of a GCC 4517 Use char because int might match the return type of a GCC
4370 builtin and then its argument prototype would still apply. */ 4518 builtin and then its argument prototype would still apply. */
4378 return res_search (); 4526 return res_search ();
4379 ; 4527 ;
4380 return 0; 4528 return 0;
4381 } 4529 }
4382 _ACEOF 4530 _ACEOF
4383 rm -f conftest.$ac_objext conftest$ac_exeext 4531 if ac_fn_c_try_link "$LINENO"; then :
4384 if { (ac_try="$ac_link"
4385 case "(($ac_try" in
4386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4387 *) ac_try_echo=$ac_try;;
4388 esac
4389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4390 (eval "$ac_link") 2>conftest.er1
4391 ac_status=$?
4392 grep -v '^ *+' conftest.er1 >conftest.err
4393 rm -f conftest.er1
4394 cat conftest.err >&5
4395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396 (exit $ac_status); } && {
4397 test -z "$ac_c_werror_flag" ||
4398 test ! -s conftest.err
4399 } && test -s conftest$ac_exeext &&
4400 $as_test_x conftest$ac_exeext; then
4401 ac_cv_lib_resolv_res_search=yes 4532 ac_cv_lib_resolv_res_search=yes
4402 else 4533 else
4403 echo "$as_me: failed program was:" >&5 4534 ac_cv_lib_resolv_res_search=no
4404 sed 's/^/| /' conftest.$ac_ext >&5 4535 fi
4405 4536 rm -f core conftest.err conftest.$ac_objext \
4406 ac_cv_lib_resolv_res_search=no 4537 conftest$ac_exeext conftest.$ac_ext
4407 fi
4408
4409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4410 conftest$ac_exeext conftest.$ac_ext
4411 LIBS=$ac_check_lib_save_LIBS 4538 LIBS=$ac_check_lib_save_LIBS
4412 fi 4539 fi
4413 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5 4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_search" >&5
4414 echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6; } 4541 $as_echo "$ac_cv_lib_resolv_res_search" >&6; }
4415 if test $ac_cv_lib_resolv_res_search = yes; then 4542 if test "x$ac_cv_lib_resolv_res_search" = x""yes; then :
4416 has_resolv=yes; RESOLV_LIBS="-lresolv" 4543 has_resolv=yes; RESOLV_LIBS="-lresolv"
4417 else 4544 else
4418 has_resolv=no 4545 has_resolv=no
4419 fi 4546 fi
4420 4547
4421 if test "$has_resolv" = no; then 4548 if test "$has_resolv" = no; then
4422 saved_LIBS="$LIBS" 4549 saved_LIBS="$LIBS"
4423 LIBS="$LIBS -lresolv" 4550 LIBS="$LIBS -lresolv"
4424 { echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5 4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lresolv" >&5
4425 echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; } 4552 $as_echo_n "checking for res_search in -lresolv... " >&6; }
4426 cat >conftest.$ac_ext <<_ACEOF 4553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4427 /* confdefs.h. */
4428 _ACEOF
4429 cat confdefs.h >>conftest.$ac_ext
4430 cat >>conftest.$ac_ext <<_ACEOF
4431 /* end confdefs.h. */ 4554 /* end confdefs.h. */
4432 #include <resolv.h> 4555 #include <resolv.h>
4433 int 4556 int
4434 main () 4557 main ()
4435 { 4558 {
4436 res_search (0, 0, 0, 0, 0); 4559 res_search (0, 0, 0, 0, 0);
4437 ; 4560 ;
4438 return 0; 4561 return 0;
4439 } 4562 }
4440 _ACEOF 4563 _ACEOF
4441 rm -f conftest.$ac_objext conftest$ac_exeext 4564 if ac_fn_c_try_link "$LINENO"; then :
4442 if { (ac_try="$ac_link" 4565 RESOLV_LIBS="-lresolv"; has_resolv=yes; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4443 case "(($ac_try" in 4566 $as_echo "yes" >&6; }
4444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4567 else
4445 *) ac_try_echo=$ac_try;; 4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4446 esac 4569 $as_echo "no" >&6; }
4447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4570 fi
4448 (eval "$ac_link") 2>conftest.er1 4571 rm -f core conftest.err conftest.$ac_objext \
4449 ac_status=$? 4572 conftest$ac_exeext conftest.$ac_ext;
4450 grep -v '^ *+' conftest.er1 >conftest.err
4451 rm -f conftest.er1
4452 cat conftest.err >&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); } && {
4455 test -z "$ac_c_werror_flag" ||
4456 test ! -s conftest.err
4457 } && test -s conftest$ac_exeext &&
4458 $as_test_x conftest$ac_exeext; then
4459 RESOLV_LIBS="-lresolv"; has_resolv=yes; { echo "$as_me:$LINENO: result: yes" >&5
4460 echo "${ECHO_T}yes" >&6; }
4461 else
4462 echo "$as_me: failed program was:" >&5
4463 sed 's/^/| /' conftest.$ac_ext >&5
4464
4465 { echo "$as_me:$LINENO: result: no" >&5
4466 echo "${ECHO_T}no" >&6; }
4467 fi
4468
4469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4470 conftest$ac_exeext conftest.$ac_ext;
4471 LIBS="$saved_LIBS" 4573 LIBS="$saved_LIBS"
4472 fi 4574 fi
4473 if test "$has_resolv" = no; then 4575 if test "$has_resolv" = no; then
4474 { { echo "$as_me:$LINENO: error: \"no libresolv\"" >&5 4576 as_fn_error "\"no libresolv\"" "$LINENO" 5
4475 echo "$as_me: error: \"no libresolv\"" >&2;}
4476 { (exit 1); exit 1; }; }
4477 RESOLV_LIBS='' 4577 RESOLV_LIBS=''
4478 fi 4578 fi
4479 fi 4579 fi
4480 else 4580 else
4481 RESOLV_LIBS='' 4581 RESOLV_LIBS=''
4482 fi 4582 fi
4483 4583
4484 4584
4485
4486 for ac_func in getline 4585 for ac_func in getline
4487 do 4586 do :
4488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4587 ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline"
4489 { echo "$as_me:$LINENO: checking for $ac_func" >&5 4588 if test "x$ac_cv_func_getline" = x""yes; then :
4490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4491 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4492 echo $ECHO_N "(cached) $ECHO_C" >&6
4493 else
4494 cat >conftest.$ac_ext <<_ACEOF
4495 /* confdefs.h. */
4496 _ACEOF
4497 cat confdefs.h >>conftest.$ac_ext
4498 cat >>conftest.$ac_ext <<_ACEOF
4499 /* end confdefs.h. */
4500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4502 #define $ac_func innocuous_$ac_func
4503
4504 /* System header to define __stub macros and hopefully few prototypes,
4505 which can conflict with char $ac_func (); below.
4506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4507 <limits.h> exists even on freestanding compilers. */
4508
4509 #ifdef __STDC__
4510 # include <limits.h>
4511 #else
4512 # include <assert.h>
4513 #endif
4514
4515 #undef $ac_func
4516
4517 /* Override any GCC internal prototype to avoid an error.
4518 Use char because int might match the return type of a GCC
4519 builtin and then its argument prototype would still apply. */
4520 #ifdef __cplusplus
4521 extern "C"
4522 #endif
4523 char $ac_func ();
4524 /* The GNU C library defines this for functions which it implements
4525 to always fail with ENOSYS. Some functions are actually named
4526 something starting with __ and the normal name is an alias. */
4527 #if defined __stub_$ac_func || defined __stub___$ac_func
4528 choke me
4529 #endif
4530
4531 int
4532 main ()
4533 {
4534 return $ac_func ();
4535 ;
4536 return 0;
4537 }
4538 _ACEOF
4539 rm -f conftest.$ac_objext conftest$ac_exeext
4540 if { (ac_try="$ac_link"
4541 case "(($ac_try" in
4542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4543 *) ac_try_echo=$ac_try;;
4544 esac
4545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4546 (eval "$ac_link") 2>conftest.er1
4547 ac_status=$?
4548 grep -v '^ *+' conftest.er1 >conftest.err
4549 rm -f conftest.er1
4550 cat conftest.err >&5
4551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4552 (exit $ac_status); } && {
4553 test -z "$ac_c_werror_flag" ||
4554 test ! -s conftest.err
4555 } && test -s conftest$ac_exeext &&
4556 $as_test_x conftest$ac_exeext; then
4557 eval "$as_ac_var=yes"
4558 else
4559 echo "$as_me: failed program was:" >&5
4560 sed 's/^/| /' conftest.$ac_ext >&5
4561
4562 eval "$as_ac_var=no"
4563 fi
4564
4565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4566 conftest$ac_exeext conftest.$ac_ext
4567 fi
4568 ac_res=`eval echo '${'$as_ac_var'}'`
4569 { echo "$as_me:$LINENO: result: $ac_res" >&5
4570 echo "${ECHO_T}$ac_res" >&6; }
4571 if test `eval echo '${'$as_ac_var'}'` = yes; then
4572 cat >>confdefs.h <<_ACEOF 4589 cat >>confdefs.h <<_ACEOF
4573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4590 #define HAVE_GETLINE 1
4574 _ACEOF 4591 _ACEOF
4575 4592
4576 fi 4593 fi
4577 done 4594 done
4578 4595
4579 4596
4580
4581 for ac_func in fdatasync 4597 for ac_func in fdatasync
4582 do 4598 do :
4583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4599 ac_fn_c_check_func "$LINENO" "fdatasync" "ac_cv_func_fdatasync"
4584 { echo "$as_me:$LINENO: checking for $ac_func" >&5 4600 if test "x$ac_cv_func_fdatasync" = x""yes; then :
4585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4586 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4587 echo $ECHO_N "(cached) $ECHO_C" >&6
4588 else
4589 cat >conftest.$ac_ext <<_ACEOF
4590 /* confdefs.h. */
4591 _ACEOF
4592 cat confdefs.h >>conftest.$ac_ext
4593 cat >>conftest.$ac_ext <<_ACEOF
4594 /* end confdefs.h. */
4595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4597 #define $ac_func innocuous_$ac_func
4598
4599 /* System header to define __stub macros and hopefully few prototypes,
4600 which can conflict with char $ac_func (); below.
4601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4602 <limits.h> exists even on freestanding compilers. */
4603
4604 #ifdef __STDC__
4605 # include <limits.h>
4606 #else
4607 # include <assert.h>
4608 #endif
4609
4610 #undef $ac_func
4611
4612 /* Override any GCC internal prototype to avoid an error.
4613 Use char because int might match the return type of a GCC
4614 builtin and then its argument prototype would still apply. */
4615 #ifdef __cplusplus
4616 extern "C"
4617 #endif
4618 char $ac_func ();
4619 /* The GNU C library defines this for functions which it implements
4620 to always fail with ENOSYS. Some functions are actually named
4621 something starting with __ and the normal name is an alias. */
4622 #if defined __stub_$ac_func || defined __stub___$ac_func
4623 choke me
4624 #endif
4625
4626 int
4627 main ()
4628 {
4629 return $ac_func ();
4630 ;
4631 return 0;
4632 }
4633 _ACEOF
4634 rm -f conftest.$ac_objext conftest$ac_exeext
4635 if { (ac_try="$ac_link"
4636 case "(($ac_try" in
4637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4638 *) ac_try_echo=$ac_try;;
4639 esac
4640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4641 (eval "$ac_link") 2>conftest.er1
4642 ac_status=$?
4643 grep -v '^ *+' conftest.er1 >conftest.err
4644 rm -f conftest.er1
4645 cat conftest.err >&5
4646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647 (exit $ac_status); } && {
4648 test -z "$ac_c_werror_flag" ||
4649 test ! -s conftest.err
4650 } && test -s conftest$ac_exeext &&
4651 $as_test_x conftest$ac_exeext; then
4652 eval "$as_ac_var=yes"
4653 else
4654 echo "$as_me: failed program was:" >&5
4655 sed 's/^/| /' conftest.$ac_ext >&5
4656
4657 eval "$as_ac_var=no"
4658 fi
4659
4660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4661 conftest$ac_exeext conftest.$ac_ext
4662 fi
4663 ac_res=`eval echo '${'$as_ac_var'}'`
4664 { echo "$as_me:$LINENO: result: $ac_res" >&5
4665 echo "${ECHO_T}$ac_res" >&6; }
4666 if test `eval echo '${'$as_ac_var'}'` = yes; then
4667 cat >>confdefs.h <<_ACEOF 4601 cat >>confdefs.h <<_ACEOF
4668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4602 #define HAVE_FDATASYNC 1
4669 _ACEOF 4603 _ACEOF
4670 4604
4671 fi 4605 fi
4672 done 4606 done
4673 4607
4674 4608
4675 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4676 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4610 $as_echo_n "checking for ANSI C header files... " >&6; }
4677 if test "${ac_cv_header_stdc+set}" = set; then 4611 if test "${ac_cv_header_stdc+set}" = set; then :
4678 echo $ECHO_N "(cached) $ECHO_C" >&6 4612 $as_echo_n "(cached) " >&6
4679 else 4613 else
4680 cat >conftest.$ac_ext <<_ACEOF 4614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4681 /* confdefs.h. */
4682 _ACEOF
4683 cat confdefs.h >>conftest.$ac_ext
4684 cat >>conftest.$ac_ext <<_ACEOF
4685 /* end confdefs.h. */ 4615 /* end confdefs.h. */
4686 #include <stdlib.h> 4616 #include <stdlib.h>
4687 #include <stdarg.h> 4617 #include <stdarg.h>
4688 #include <string.h> 4618 #include <string.h>
4689 #include <float.h> 4619 #include <float.h>
4694 4624
4695 ; 4625 ;
4696 return 0; 4626 return 0;
4697 } 4627 }
4698 _ACEOF 4628 _ACEOF
4699 rm -f conftest.$ac_objext 4629 if ac_fn_c_try_compile "$LINENO"; then :
4700 if { (ac_try="$ac_compile"
4701 case "(($ac_try" in
4702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4703 *) ac_try_echo=$ac_try;;
4704 esac
4705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4706 (eval "$ac_compile") 2>conftest.er1
4707 ac_status=$?
4708 grep -v '^ *+' conftest.er1 >conftest.err
4709 rm -f conftest.er1
4710 cat conftest.err >&5
4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712 (exit $ac_status); } && {
4713 test -z "$ac_c_werror_flag" ||
4714 test ! -s conftest.err
4715 } && test -s conftest.$ac_objext; then
4716 ac_cv_header_stdc=yes 4630 ac_cv_header_stdc=yes
4717 else 4631 else
4718 echo "$as_me: failed program was:" >&5 4632 ac_cv_header_stdc=no
4719 sed 's/^/| /' conftest.$ac_ext >&5 4633 fi
4720
4721 ac_cv_header_stdc=no
4722 fi
4723
4724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4725 4635
4726 if test $ac_cv_header_stdc = yes; then 4636 if test $ac_cv_header_stdc = yes; then
4727 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4637 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4728 cat >conftest.$ac_ext <<_ACEOF 4638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4729 /* confdefs.h. */
4730 _ACEOF
4731 cat confdefs.h >>conftest.$ac_ext
4732 cat >>conftest.$ac_ext <<_ACEOF
4733 /* end confdefs.h. */ 4639 /* end confdefs.h. */
4734 #include <string.h> 4640 #include <string.h>
4735 4641
4736 _ACEOF 4642 _ACEOF
4737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4643 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4738 $EGREP "memchr" >/dev/null 2>&1; then 4644 $EGREP "memchr" >/dev/null 2>&1; then :
4739 : 4645
4740 else 4646 else
4741 ac_cv_header_stdc=no 4647 ac_cv_header_stdc=no
4742 fi 4648 fi
4743 rm -f conftest* 4649 rm -f conftest*
4744 4650
4745 fi 4651 fi
4746 4652
4747 if test $ac_cv_header_stdc = yes; then 4653 if test $ac_cv_header_stdc = yes; then
4748 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4654 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4749 cat >conftest.$ac_ext <<_ACEOF 4655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4750 /* confdefs.h. */
4751 _ACEOF
4752 cat confdefs.h >>conftest.$ac_ext
4753 cat >>conftest.$ac_ext <<_ACEOF
4754 /* end confdefs.h. */ 4656 /* end confdefs.h. */
4755 #include <stdlib.h> 4657 #include <stdlib.h>
4756 4658
4757 _ACEOF 4659 _ACEOF
4758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4660 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4759 $EGREP "free" >/dev/null 2>&1; then 4661 $EGREP "free" >/dev/null 2>&1; then :
4760 : 4662
4761 else 4663 else
4762 ac_cv_header_stdc=no 4664 ac_cv_header_stdc=no
4763 fi 4665 fi
4764 rm -f conftest* 4666 rm -f conftest*
4765 4667
4766 fi 4668 fi
4767 4669
4768 if test $ac_cv_header_stdc = yes; then 4670 if test $ac_cv_header_stdc = yes; then
4769 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4671 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4770 if test "$cross_compiling" = yes; then 4672 if test "$cross_compiling" = yes; then :
4771 : 4673 :
4772 else 4674 else
4773 cat >conftest.$ac_ext <<_ACEOF 4675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4774 /* confdefs.h. */
4775 _ACEOF
4776 cat confdefs.h >>conftest.$ac_ext
4777 cat >>conftest.$ac_ext <<_ACEOF
4778 /* end confdefs.h. */ 4676 /* end confdefs.h. */
4779 #include <ctype.h> 4677 #include <ctype.h>
4780 #include <stdlib.h> 4678 #include <stdlib.h>
4781 #if ((' ' & 0x0FF) == 0x020) 4679 #if ((' ' & 0x0FF) == 0x020)
4782 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4680 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4799 || toupper (i) != TOUPPER (i)) 4697 || toupper (i) != TOUPPER (i))
4800 return 2; 4698 return 2;
4801 return 0; 4699 return 0;
4802 } 4700 }
4803 _ACEOF 4701 _ACEOF
4804 rm -f conftest$ac_exeext 4702 if ac_fn_c_try_run "$LINENO"; then :
4805 if { (ac_try="$ac_link" 4703
4806 case "(($ac_try" in 4704 else
4807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4705 ac_cv_header_stdc=no
4808 *) ac_try_echo=$ac_try;; 4706 fi
4809 esac 4707 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4708 conftest.$ac_objext conftest.beam conftest.$ac_ext
4811 (eval "$ac_link") 2>&5 4709 fi
4812 ac_status=$? 4710
4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4711 fi
4814 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4712 fi
4815 { (case "(($ac_try" in 4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4714 $as_echo "$ac_cv_header_stdc" >&6; }
4817 *) ac_try_echo=$ac_try;;
4818 esac
4819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4820 (eval "$ac_try") 2>&5
4821 ac_status=$?
4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); }; }; then
4824 :
4825 else
4826 echo "$as_me: program exited with status $ac_status" >&5
4827 echo "$as_me: failed program was:" >&5
4828 sed 's/^/| /' conftest.$ac_ext >&5
4829
4830 ( exit $ac_status )
4831 ac_cv_header_stdc=no
4832 fi
4833 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4834 fi
4835
4836
4837 fi
4838 fi
4839 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4840 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4841 if test $ac_cv_header_stdc = yes; then 4715 if test $ac_cv_header_stdc = yes; then
4842 4716
4843 cat >>confdefs.h <<\_ACEOF 4717 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4844 #define STDC_HEADERS 1
4845 _ACEOF
4846 4718
4847 fi 4719 fi
4848 4720
4849 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4721 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4722 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4860 inttypes.h stdint.h unistd.h 4723 inttypes.h stdint.h unistd.h
4861 do 4724 do :
4862 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4725 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4863 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4726 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4727 "
4865 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4728 eval as_val=\$$as_ac_Header
4866 echo $ECHO_N "(cached) $ECHO_C" >&6 4729 if test "x$as_val" = x""yes; then :
4867 else
4868 cat >conftest.$ac_ext <<_ACEOF
4869 /* confdefs.h. */
4870 _ACEOF
4871 cat confdefs.h >>conftest.$ac_ext
4872 cat >>conftest.$ac_ext <<_ACEOF
4873 /* end confdefs.h. */
4874 $ac_includes_default
4875
4876 #include <$ac_header>
4877 _ACEOF
4878 rm -f conftest.$ac_objext
4879 if { (ac_try="$ac_compile"
4880 case "(($ac_try" in
4881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4882 *) ac_try_echo=$ac_try;;
4883 esac
4884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4885 (eval "$ac_compile") 2>conftest.er1
4886 ac_status=$?
4887 grep -v '^ *+' conftest.er1 >conftest.err
4888 rm -f conftest.er1
4889 cat conftest.err >&5
4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); } && {
4892 test -z "$ac_c_werror_flag" ||
4893 test ! -s conftest.err
4894 } && test -s conftest.$ac_objext; then
4895 eval "$as_ac_Header=yes"
4896 else
4897 echo "$as_me: failed program was:" >&5
4898 sed 's/^/| /' conftest.$ac_ext >&5
4899
4900 eval "$as_ac_Header=no"
4901 fi
4902
4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4904 fi
4905 ac_res=`eval echo '${'$as_ac_Header'}'`
4906 { echo "$as_me:$LINENO: result: $ac_res" >&5
4907 echo "${ECHO_T}$ac_res" >&6; }
4908 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4909 cat >>confdefs.h <<_ACEOF 4730 cat >>confdefs.h <<_ACEOF
4910 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4731 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4911 _ACEOF 4732 _ACEOF
4912 4733
4913 fi 4734 fi
4914 4735
4915 done 4736 done
4916 4737
4917 4738
4918
4919
4920
4921
4922 for ac_header in fcntl.h sys/time.h syslog.h unistd.h 4739 for ac_header in fcntl.h sys/time.h syslog.h unistd.h
4923 do 4740 do :
4924 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4741 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4925 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4742 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4926 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4743 eval as_val=\$$as_ac_Header
4927 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4744 if test "x$as_val" = x""yes; then :
4928 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4929 echo $ECHO_N "(cached) $ECHO_C" >&6
4930 fi
4931 ac_res=`eval echo '${'$as_ac_Header'}'`
4932 { echo "$as_me:$LINENO: result: $ac_res" >&5
4933 echo "${ECHO_T}$ac_res" >&6; }
4934 else
4935 # Is the header compilable?
4936 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4937 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4938 cat >conftest.$ac_ext <<_ACEOF
4939 /* confdefs.h. */
4940 _ACEOF
4941 cat confdefs.h >>conftest.$ac_ext
4942 cat >>conftest.$ac_ext <<_ACEOF
4943 /* end confdefs.h. */
4944 $ac_includes_default
4945 #include <$ac_header>
4946 _ACEOF
4947 rm -f conftest.$ac_objext
4948 if { (ac_try="$ac_compile"
4949 case "(($ac_try" in
4950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4951 *) ac_try_echo=$ac_try;;
4952 esac
4953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4954 (eval "$ac_compile") 2>conftest.er1
4955 ac_status=$?
4956 grep -v '^ *+' conftest.er1 >conftest.err
4957 rm -f conftest.er1
4958 cat conftest.err >&5
4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); } && {
4961 test -z "$ac_c_werror_flag" ||
4962 test ! -s conftest.err
4963 } && test -s conftest.$ac_objext; then
4964 ac_header_compiler=yes
4965 else
4966 echo "$as_me: failed program was:" >&5
4967 sed 's/^/| /' conftest.$ac_ext >&5
4968
4969 ac_header_compiler=no
4970 fi
4971
4972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4973 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4974 echo "${ECHO_T}$ac_header_compiler" >&6; }
4975
4976 # Is the header present?
4977 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4978 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4979 cat >conftest.$ac_ext <<_ACEOF
4980 /* confdefs.h. */
4981 _ACEOF
4982 cat confdefs.h >>conftest.$ac_ext
4983 cat >>conftest.$ac_ext <<_ACEOF
4984 /* end confdefs.h. */
4985 #include <$ac_header>
4986 _ACEOF
4987 if { (ac_try="$ac_cpp conftest.$ac_ext"
4988 case "(($ac_try" in
4989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4990 *) ac_try_echo=$ac_try;;
4991 esac
4992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4993 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4994 ac_status=$?
4995 grep -v '^ *+' conftest.er1 >conftest.err
4996 rm -f conftest.er1
4997 cat conftest.err >&5
4998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999 (exit $ac_status); } >/dev/null && {
5000 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5001 test ! -s conftest.err
5002 }; then
5003 ac_header_preproc=yes
5004 else
5005 echo "$as_me: failed program was:" >&5
5006 sed 's/^/| /' conftest.$ac_ext >&5
5007
5008 ac_header_preproc=no
5009 fi
5010
5011 rm -f conftest.err conftest.$ac_ext
5012 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5013 echo "${ECHO_T}$ac_header_preproc" >&6; }
5014
5015 # So? What about this header?
5016 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5017 yes:no: )
5018 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5019 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5020 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5021 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5022 ac_header_preproc=yes
5023 ;;
5024 no:yes:* )
5025 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5026 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5027 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5028 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5029 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5030 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5031 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5032 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5034 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5035 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5036 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5037 ( cat <<\_ASBOX
5038 ## ----------------------------- ##
5039 ## Report this to oku@debian.org ##
5040 ## ----------------------------- ##
5041 _ASBOX
5042 ) | sed "s/^/$as_me: WARNING: /" >&2
5043 ;;
5044 esac
5045 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5047 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5048 echo $ECHO_N "(cached) $ECHO_C" >&6
5049 else
5050 eval "$as_ac_Header=\$ac_header_preproc"
5051 fi
5052 ac_res=`eval echo '${'$as_ac_Header'}'`
5053 { echo "$as_me:$LINENO: result: $ac_res" >&5
5054 echo "${ECHO_T}$ac_res" >&6; }
5055
5056 fi
5057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5058 cat >>confdefs.h <<_ACEOF 4745 cat >>confdefs.h <<_ACEOF
5059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4746 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5060 _ACEOF 4747 _ACEOF
5061 4748
5062 fi 4749 fi
5063 4750
5064 done 4751 done
5065 4752
5066 4753
5067 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5068 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } 4755 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5069 if test "${ac_cv_c_const+set}" = set; then 4756 if test "${ac_cv_c_const+set}" = set; then :
5070 echo $ECHO_N "(cached) $ECHO_C" >&6 4757 $as_echo_n "(cached) " >&6
5071 else 4758 else
5072 cat >conftest.$ac_ext <<_ACEOF 4759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5073 /* confdefs.h. */
5074 _ACEOF
5075 cat confdefs.h >>conftest.$ac_ext
5076 cat >>conftest.$ac_ext <<_ACEOF
5077 /* end confdefs.h. */ 4760 /* end confdefs.h. */
5078 4761
5079 int 4762 int
5080 main () 4763 main ()
5081 { 4764 {
5131 4814
5132 ; 4815 ;
5133 return 0; 4816 return 0;
5134 } 4817 }
5135 _ACEOF 4818 _ACEOF
5136 rm -f conftest.$ac_objext 4819 if ac_fn_c_try_compile "$LINENO"; then :
5137 if { (ac_try="$ac_compile"
5138 case "(($ac_try" in
5139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5140 *) ac_try_echo=$ac_try;;
5141 esac
5142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5143 (eval "$ac_compile") 2>conftest.er1
5144 ac_status=$?
5145 grep -v '^ *+' conftest.er1 >conftest.err
5146 rm -f conftest.er1
5147 cat conftest.err >&5
5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5149 (exit $ac_status); } && {
5150 test -z "$ac_c_werror_flag" ||
5151 test ! -s conftest.err
5152 } && test -s conftest.$ac_objext; then
5153 ac_cv_c_const=yes 4820 ac_cv_c_const=yes
5154 else 4821 else
5155 echo "$as_me: failed program was:" >&5 4822 ac_cv_c_const=no
5156 sed 's/^/| /' conftest.$ac_ext >&5 4823 fi
5157
5158 ac_cv_c_const=no
5159 fi
5160
5161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5162 fi 4825 fi
5163 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5164 echo "${ECHO_T}$ac_cv_c_const" >&6; } 4827 $as_echo "$ac_cv_c_const" >&6; }
5165 if test $ac_cv_c_const = no; then 4828 if test $ac_cv_c_const = no; then
5166 4829
5167 cat >>confdefs.h <<\_ACEOF 4830 $as_echo "#define const /**/" >>confdefs.h
5168 #define const 4831
5169 _ACEOF 4832 fi
5170 4833
5171 fi 4834 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
5172 4835 if test "x$ac_cv_type_pid_t" = x""yes; then :
5173 { echo "$as_me:$LINENO: checking for pid_t" >&5 4836
5174 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
5175 if test "${ac_cv_type_pid_t+set}" = set; then
5176 echo $ECHO_N "(cached) $ECHO_C" >&6
5177 else
5178 cat >conftest.$ac_ext <<_ACEOF
5179 /* confdefs.h. */
5180 _ACEOF
5181 cat confdefs.h >>conftest.$ac_ext
5182 cat >>conftest.$ac_ext <<_ACEOF
5183 /* end confdefs.h. */
5184 $ac_includes_default
5185 typedef pid_t ac__type_new_;
5186 int
5187 main ()
5188 {
5189 if ((ac__type_new_ *) 0)
5190 return 0;
5191 if (sizeof (ac__type_new_))
5192 return 0;
5193 ;
5194 return 0;
5195 }
5196 _ACEOF
5197 rm -f conftest.$ac_objext
5198 if { (ac_try="$ac_compile"
5199 case "(($ac_try" in
5200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5201 *) ac_try_echo=$ac_try;;
5202 esac
5203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5204 (eval "$ac_compile") 2>conftest.er1
5205 ac_status=$?
5206 grep -v '^ *+' conftest.er1 >conftest.err
5207 rm -f conftest.er1
5208 cat conftest.err >&5
5209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5210 (exit $ac_status); } && {
5211 test -z "$ac_c_werror_flag" ||
5212 test ! -s conftest.err
5213 } && test -s conftest.$ac_objext; then
5214 ac_cv_type_pid_t=yes
5215 else
5216 echo "$as_me: failed program was:" >&5
5217 sed 's/^/| /' conftest.$ac_ext >&5
5218
5219 ac_cv_type_pid_t=no
5220 fi
5221
5222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5223 fi
5224 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5225 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
5226 if test $ac_cv_type_pid_t = yes; then
5227 :
5228 else 4837 else
5229 4838
5230 cat >>confdefs.h <<_ACEOF 4839 cat >>confdefs.h <<_ACEOF
5231 #define pid_t int 4840 #define pid_t int
5232 _ACEOF 4841 _ACEOF
5233 4842
5234 fi 4843 fi
5235 4844
5236 { echo "$as_me:$LINENO: checking for size_t" >&5 4845 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5237 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } 4846 if test "x$ac_cv_type_size_t" = x""yes; then :
5238 if test "${ac_cv_type_size_t+set}" = set; then 4847
5239 echo $ECHO_N "(cached) $ECHO_C" >&6
5240 else
5241 cat >conftest.$ac_ext <<_ACEOF
5242 /* confdefs.h. */
5243 _ACEOF
5244 cat confdefs.h >>conftest.$ac_ext
5245 cat >>conftest.$ac_ext <<_ACEOF
5246 /* end confdefs.h. */
5247 $ac_includes_default
5248 typedef size_t ac__type_new_;
5249 int
5250 main ()
5251 {
5252 if ((ac__type_new_ *) 0)
5253 return 0;
5254 if (sizeof (ac__type_new_))
5255 return 0;
5256 ;
5257 return 0;
5258 }
5259 _ACEOF
5260 rm -f conftest.$ac_objext
5261 if { (ac_try="$ac_compile"
5262 case "(($ac_try" in
5263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5264 *) ac_try_echo=$ac_try;;
5265 esac
5266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5267 (eval "$ac_compile") 2>conftest.er1
5268 ac_status=$?
5269 grep -v '^ *+' conftest.er1 >conftest.err
5270 rm -f conftest.er1
5271 cat conftest.err >&5
5272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273 (exit $ac_status); } && {
5274 test -z "$ac_c_werror_flag" ||
5275 test ! -s conftest.err
5276 } && test -s conftest.$ac_objext; then
5277 ac_cv_type_size_t=yes
5278 else
5279 echo "$as_me: failed program was:" >&5
5280 sed 's/^/| /' conftest.$ac_ext >&5
5281
5282 ac_cv_type_size_t=no
5283 fi
5284
5285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5286 fi
5287 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5288 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
5289 if test $ac_cv_type_size_t = yes; then
5290 :
5291 else 4848 else
5292 4849
5293 cat >>confdefs.h <<_ACEOF 4850 cat >>confdefs.h <<_ACEOF
5294 #define size_t unsigned int 4851 #define size_t unsigned int
5295 _ACEOF 4852 _ACEOF
5296 4853
5297 fi 4854 fi
5298 4855
5299 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
5300 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } 4857 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5301 if test "${ac_cv_header_time+set}" = set; then 4858 if test "${ac_cv_header_time+set}" = set; then :
5302 echo $ECHO_N "(cached) $ECHO_C" >&6 4859 $as_echo_n "(cached) " >&6
5303 else 4860 else
5304 cat >conftest.$ac_ext <<_ACEOF 4861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5305 /* confdefs.h. */
5306 _ACEOF
5307 cat confdefs.h >>conftest.$ac_ext
5308 cat >>conftest.$ac_ext <<_ACEOF
5309 /* end confdefs.h. */ 4862 /* end confdefs.h. */
5310 #include <sys/types.h> 4863 #include <sys/types.h>
5311 #include <sys/time.h> 4864 #include <sys/time.h>
5312 #include <time.h> 4865 #include <time.h>
5313 4866
5318 return 0; 4871 return 0;
5319 ; 4872 ;
5320 return 0; 4873 return 0;
5321 } 4874 }
5322 _ACEOF 4875 _ACEOF
5323 rm -f conftest.$ac_objext 4876 if ac_fn_c_try_compile "$LINENO"; then :
5324 if { (ac_try="$ac_compile"
5325 case "(($ac_try" in
5326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5327 *) ac_try_echo=$ac_try;;
5328 esac
5329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5330 (eval "$ac_compile") 2>conftest.er1
5331 ac_status=$?
5332 grep -v '^ *+' conftest.er1 >conftest.err
5333 rm -f conftest.er1
5334 cat conftest.err >&5
5335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5336 (exit $ac_status); } && {
5337 test -z "$ac_c_werror_flag" ||
5338 test ! -s conftest.err
5339 } && test -s conftest.$ac_objext; then
5340 ac_cv_header_time=yes 4877 ac_cv_header_time=yes
5341 else 4878 else
5342 echo "$as_me: failed program was:" >&5 4879 ac_cv_header_time=no
5343 sed 's/^/| /' conftest.$ac_ext >&5 4880 fi
5344
5345 ac_cv_header_time=no
5346 fi
5347
5348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5349 fi 4882 fi
5350 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
5351 echo "${ECHO_T}$ac_cv_header_time" >&6; } 4884 $as_echo "$ac_cv_header_time" >&6; }
5352 if test $ac_cv_header_time = yes; then 4885 if test $ac_cv_header_time = yes; then
5353 4886
5354 cat >>confdefs.h <<\_ACEOF 4887 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
5355 #define TIME_WITH_SYS_TIME 1 4888
5356 _ACEOF 4889 fi
5357 4890
5358 fi 4891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
5359 4892 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
5360 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 4893 if test "${ac_cv_struct_tm+set}" = set; then :
5361 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; } 4894 $as_echo_n "(cached) " >&6
5362 if test "${ac_cv_struct_tm+set}" = set; then 4895 else
5363 echo $ECHO_N "(cached) $ECHO_C" >&6 4896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5364 else
5365 cat >conftest.$ac_ext <<_ACEOF
5366 /* confdefs.h. */
5367 _ACEOF
5368 cat confdefs.h >>conftest.$ac_ext
5369 cat >>conftest.$ac_ext <<_ACEOF
5370 /* end confdefs.h. */ 4897 /* end confdefs.h. */
5371 #include <sys/types.h> 4898 #include <sys/types.h>
5372 #include <time.h> 4899 #include <time.h>
5373 4900
5374 int 4901 int
5375 main () 4902 main ()
5376 { 4903 {
5377 struct tm tm; 4904 struct tm tm;
5378 int *p = &tm.tm_sec; 4905 int *p = &tm.tm_sec;
5379 return !p; 4906 return !p;
5380 ; 4907 ;
5381 return 0; 4908 return 0;
5382 } 4909 }
5383 _ACEOF 4910 _ACEOF
5384 rm -f conftest.$ac_objext 4911 if ac_fn_c_try_compile "$LINENO"; then :
5385 if { (ac_try="$ac_compile"
5386 case "(($ac_try" in
5387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5388 *) ac_try_echo=$ac_try;;
5389 esac
5390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5391 (eval "$ac_compile") 2>conftest.er1
5392 ac_status=$?
5393 grep -v '^ *+' conftest.er1 >conftest.err
5394 rm -f conftest.er1
5395 cat conftest.err >&5
5396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5397 (exit $ac_status); } && {
5398 test -z "$ac_c_werror_flag" ||
5399 test ! -s conftest.err
5400 } && test -s conftest.$ac_objext; then
5401 ac_cv_struct_tm=time.h 4912 ac_cv_struct_tm=time.h
5402 else 4913 else
5403 echo "$as_me: failed program was:" >&5 4914 ac_cv_struct_tm=sys/time.h
5404 sed 's/^/| /' conftest.$ac_ext >&5 4915 fi
5405
5406 ac_cv_struct_tm=sys/time.h
5407 fi
5408
5409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5410 fi 4917 fi
5411 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
5412 echo "${ECHO_T}$ac_cv_struct_tm" >&6; } 4919 $as_echo "$ac_cv_struct_tm" >&6; }
5413 if test $ac_cv_struct_tm = sys/time.h; then 4920 if test $ac_cv_struct_tm = sys/time.h; then
5414 4921
5415 cat >>confdefs.h <<\_ACEOF 4922 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
5416 #define TM_IN_SYS_TIME 1 4923
5417 _ACEOF 4924 fi
5418 4925
5419 fi 4926
5420 4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working POSIX fnmatch" >&5
5421 4928 $as_echo_n "checking for working POSIX fnmatch... " >&6; }
5422 { echo "$as_me:$LINENO: checking for working POSIX fnmatch" >&5 4929 if test "${ac_cv_func_fnmatch_works+set}" = set; then :
5423 echo $ECHO_N "checking for working POSIX fnmatch... $ECHO_C" >&6; } 4930 $as_echo_n "(cached) " >&6
5424 if test "${ac_cv_func_fnmatch_works+set}" = set; then
5425 echo $ECHO_N "(cached) $ECHO_C" >&6
5426 else 4931 else
5427 # Some versions of Solaris, SCO, and the GNU C Library 4932 # Some versions of Solaris, SCO, and the GNU C Library
5428 # have a broken or incompatible fnmatch. 4933 # have a broken or incompatible fnmatch.
5429 # So we run a test program. If we are cross-compiling, take no chance. 4934 # So we run a test program. If we are cross-compiling, take no chance.
5430 # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test. 4935 # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test.
5431 if test "$cross_compiling" = yes; then 4936 if test "$cross_compiling" = yes; then :
5432 ac_cv_func_fnmatch_works=cross 4937 ac_cv_func_fnmatch_works=cross
5433 else 4938 else
5434 cat >conftest.$ac_ext <<_ACEOF 4939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5435 /* confdefs.h. */
5436 _ACEOF
5437 cat confdefs.h >>conftest.$ac_ext
5438 cat >>conftest.$ac_ext <<_ACEOF
5439 /* end confdefs.h. */ 4940 /* end confdefs.h. */
5440 #include <fnmatch.h> 4941 #include <fnmatch.h>
5441 # define y(a, b, c) (fnmatch (a, b, c) == 0) 4942 # define y(a, b, c) (fnmatch (a, b, c) == 0)
5442 # define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH) 4943 # define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH)
5443 4944
5454 && 1)); 4955 && 1));
5455 ; 4956 ;
5456 return 0; 4957 return 0;
5457 } 4958 }
5458 _ACEOF 4959 _ACEOF
5459 rm -f conftest$ac_exeext 4960 if ac_fn_c_try_run "$LINENO"; then :
5460 if { (ac_try="$ac_link"
5461 case "(($ac_try" in
5462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5463 *) ac_try_echo=$ac_try;;
5464 esac
5465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5466 (eval "$ac_link") 2>&5
5467 ac_status=$?
5468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5469 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5470 { (case "(($ac_try" in
5471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5472 *) ac_try_echo=$ac_try;;
5473 esac
5474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5475 (eval "$ac_try") 2>&5
5476 ac_status=$?
5477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5478 (exit $ac_status); }; }; then
5479 ac_cv_func_fnmatch_works=yes 4961 ac_cv_func_fnmatch_works=yes
5480 else 4962 else
5481 echo "$as_me: program exited with status $ac_status" >&5 4963 ac_cv_func_fnmatch_works=no
5482 echo "$as_me: failed program was:" >&5 4964 fi
5483 sed 's/^/| /' conftest.$ac_ext >&5 4965 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5484 4966 conftest.$ac_objext conftest.beam conftest.$ac_ext
5485 ( exit $ac_status ) 4967 fi
5486 ac_cv_func_fnmatch_works=no 4968
5487 fi 4969 fi
5488 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fnmatch_works" >&5
5489 fi 4971 $as_echo "$ac_cv_func_fnmatch_works" >&6; }
5490 4972 if test $ac_cv_func_fnmatch_works = yes; then :
5491 4973
5492 fi 4974 $as_echo "#define HAVE_FNMATCH 1" >>confdefs.h
5493 { echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch_works" >&5 4975
5494 echo "${ECHO_T}$ac_cv_func_fnmatch_works" >&6; } 4976 fi
5495 if test $ac_cv_func_fnmatch_works = yes; then 4977
5496 4978
5497 cat >>confdefs.h <<\_ACEOF 4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
5498 #define HAVE_FNMATCH 1 4980 $as_echo_n "checking return type of signal handlers... " >&6; }
5499 _ACEOF 4981 if test "${ac_cv_type_signal+set}" = set; then :
5500 4982 $as_echo_n "(cached) " >&6
5501 fi 4983 else
5502 4984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5503
5504
5505 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5506 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
5507 if test "${ac_cv_type_signal+set}" = set; then
5508 echo $ECHO_N "(cached) $ECHO_C" >&6
5509 else
5510 cat >conftest.$ac_ext <<_ACEOF
5511 /* confdefs.h. */
5512 _ACEOF
5513 cat confdefs.h >>conftest.$ac_ext
5514 cat >>conftest.$ac_ext <<_ACEOF
5515 /* end confdefs.h. */ 4985 /* end confdefs.h. */
5516 #include <sys/types.h> 4986 #include <sys/types.h>
5517 #include <signal.h> 4987 #include <signal.h>
5518 4988
5519 int 4989 int
5522 return *(signal (0, 0)) (0) == 1; 4992 return *(signal (0, 0)) (0) == 1;
5523 ; 4993 ;
5524 return 0; 4994 return 0;
5525 } 4995 }
5526 _ACEOF 4996 _ACEOF
5527 rm -f conftest.$ac_objext 4997 if ac_fn_c_try_compile "$LINENO"; then :
5528 if { (ac_try="$ac_compile"
5529 case "(($ac_try" in
5530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5531 *) ac_try_echo=$ac_try;;
5532 esac
5533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5534 (eval "$ac_compile") 2>conftest.er1
5535 ac_status=$?
5536 grep -v '^ *+' conftest.er1 >conftest.err
5537 rm -f conftest.er1
5538 cat conftest.err >&5
5539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5540 (exit $ac_status); } && {
5541 test -z "$ac_c_werror_flag" ||
5542 test ! -s conftest.err
5543 } && test -s conftest.$ac_objext; then
5544 ac_cv_type_signal=int 4998 ac_cv_type_signal=int
5545 else 4999 else
5546 echo "$as_me: failed program was:" >&5 5000 ac_cv_type_signal=void
5547 sed 's/^/| /' conftest.$ac_ext >&5 5001 fi
5548
5549 ac_cv_type_signal=void
5550 fi
5551
5552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5553 fi 5003 fi
5554 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
5555 echo "${ECHO_T}$ac_cv_type_signal" >&6; } 5005 $as_echo "$ac_cv_type_signal" >&6; }
5556 5006
5557 cat >>confdefs.h <<_ACEOF 5007 cat >>confdefs.h <<_ACEOF
5558 #define RETSIGTYPE $ac_cv_type_signal 5008 #define RETSIGTYPE $ac_cv_type_signal
5559 _ACEOF 5009 _ACEOF
5560 5010
5561 5011
5562
5563 for ac_func in strftime 5012 for ac_func in strftime
5564 do 5013 do :
5565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5014 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
5566 { echo "$as_me:$LINENO: checking for $ac_func" >&5 5015 if test "x$ac_cv_func_strftime" = x""yes; then :
5567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5568 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5569 echo $ECHO_N "(cached) $ECHO_C" >&6
5570 else
5571 cat >conftest.$ac_ext <<_ACEOF
5572 /* confdefs.h. */
5573 _ACEOF
5574 cat confdefs.h >>conftest.$ac_ext
5575 cat >>conftest.$ac_ext <<_ACEOF
5576 /* end confdefs.h. */
5577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5579 #define $ac_func innocuous_$ac_func
5580
5581 /* System header to define __stub macros and hopefully few prototypes,
5582 which can conflict with char $ac_func (); below.
5583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5584 <limits.h> exists even on freestanding compilers. */
5585
5586 #ifdef __STDC__
5587 # include <limits.h>
5588 #else
5589 # include <assert.h>
5590 #endif
5591
5592 #undef $ac_func
5593
5594 /* Override any GCC internal prototype to avoid an error.
5595 Use char because int might match the return type of a GCC
5596 builtin and then its argument prototype would still apply. */
5597 #ifdef __cplusplus
5598 extern "C"
5599 #endif
5600 char $ac_func ();
5601 /* The GNU C library defines this for functions which it implements
5602 to always fail with ENOSYS. Some functions are actually named
5603 something starting with __ and the normal name is an alias. */
5604 #if defined __stub_$ac_func || defined __stub___$ac_func
5605 choke me
5606 #endif
5607
5608 int
5609 main ()
5610 {
5611 return $ac_func ();
5612 ;
5613 return 0;
5614 }
5615 _ACEOF
5616 rm -f conftest.$ac_objext conftest$ac_exeext
5617 if { (ac_try="$ac_link"
5618 case "(($ac_try" in
5619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5620 *) ac_try_echo=$ac_try;;
5621 esac
5622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5623 (eval "$ac_link") 2>conftest.er1
5624 ac_status=$?
5625 grep -v '^ *+' conftest.er1 >conftest.err
5626 rm -f conftest.er1
5627 cat conftest.err >&5
5628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5629 (exit $ac_status); } && {
5630 test -z "$ac_c_werror_flag" ||
5631 test ! -s conftest.err
5632 } && test -s conftest$ac_exeext &&
5633 $as_test_x conftest$ac_exeext; then
5634 eval "$as_ac_var=yes"
5635 else
5636 echo "$as_me: failed program was:" >&5
5637 sed 's/^/| /' conftest.$ac_ext >&5
5638
5639 eval "$as_ac_var=no"
5640 fi
5641
5642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5643 conftest$ac_exeext conftest.$ac_ext
5644 fi
5645 ac_res=`eval echo '${'$as_ac_var'}'`
5646 { echo "$as_me:$LINENO: result: $ac_res" >&5
5647 echo "${ECHO_T}$ac_res" >&6; }
5648 if test `eval echo '${'$as_ac_var'}'` = yes; then
5649 cat >>confdefs.h <<_ACEOF 5016 cat >>confdefs.h <<_ACEOF
5650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5017 #define HAVE_STRFTIME 1
5651 _ACEOF 5018 _ACEOF
5652 5019
5653 else 5020 else
5654 # strftime is in -lintl on SCO UNIX. 5021 # strftime is in -lintl on SCO UNIX.
5655 { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
5656 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; } 5023 $as_echo_n "checking for strftime in -lintl... " >&6; }
5657 if test "${ac_cv_lib_intl_strftime+set}" = set; then 5024 if test "${ac_cv_lib_intl_strftime+set}" = set; then :
5658 echo $ECHO_N "(cached) $ECHO_C" >&6 5025 $as_echo_n "(cached) " >&6
5659 else 5026 else
5660 ac_check_lib_save_LIBS=$LIBS 5027 ac_check_lib_save_LIBS=$LIBS
5661 LIBS="-lintl $LIBS" 5028 LIBS="-lintl $LIBS"
5662 cat >conftest.$ac_ext <<_ACEOF 5029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5663 /* confdefs.h. */
5664 _ACEOF
5665 cat confdefs.h >>conftest.$ac_ext
5666 cat >>conftest.$ac_ext <<_ACEOF
5667 /* end confdefs.h. */ 5030 /* end confdefs.h. */
5668 5031
5669 /* Override any GCC internal prototype to avoid an error. 5032 /* Override any GCC internal prototype to avoid an error.
5670 Use char because int might match the return type of a GCC 5033 Use char because int might match the return type of a GCC
5671 builtin and then its argument prototype would still apply. */ 5034 builtin and then its argument prototype would still apply. */
5679 return strftime (); 5042 return strftime ();
5680 ; 5043 ;
5681 return 0; 5044 return 0;
5682 } 5045 }
5683 _ACEOF 5046 _ACEOF
5684 rm -f conftest.$ac_objext conftest$ac_exeext 5047 if ac_fn_c_try_link "$LINENO"; then :
5685 if { (ac_try="$ac_link"
5686 case "(($ac_try" in
5687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5688 *) ac_try_echo=$ac_try;;
5689 esac
5690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5691 (eval "$ac_link") 2>conftest.er1
5692 ac_status=$?
5693 grep -v '^ *+' conftest.er1 >conftest.err
5694 rm -f conftest.er1
5695 cat conftest.err >&5
5696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5697 (exit $ac_status); } && {
5698 test -z "$ac_c_werror_flag" ||
5699 test ! -s conftest.err
5700 } && test -s conftest$ac_exeext &&
5701 $as_test_x conftest$ac_exeext; then
5702 ac_cv_lib_intl_strftime=yes 5048 ac_cv_lib_intl_strftime=yes
5703 else 5049 else
5704 echo "$as_me: failed program was:" >&5 5050 ac_cv_lib_intl_strftime=no
5705 sed 's/^/| /' conftest.$ac_ext >&5 5051 fi
5706 5052 rm -f core conftest.err conftest.$ac_objext \
5707 ac_cv_lib_intl_strftime=no 5053 conftest$ac_exeext conftest.$ac_ext
5708 fi
5709
5710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5711 conftest$ac_exeext conftest.$ac_ext
5712 LIBS=$ac_check_lib_save_LIBS 5054 LIBS=$ac_check_lib_save_LIBS
5713 fi 5055 fi
5714 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
5715 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; } 5057 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
5716 if test $ac_cv_lib_intl_strftime = yes; then 5058 if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
5717 cat >>confdefs.h <<\_ACEOF 5059 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
5718 #define HAVE_STRFTIME 1
5719 _ACEOF
5720 5060
5721 LIBS="-lintl $LIBS" 5061 LIBS="-lintl $LIBS"
5722 fi 5062 fi
5723 5063
5724 fi 5064 fi
5725 done 5065 done
5726 5066
5727
5728 for ac_func in vprintf 5067 for ac_func in vprintf
5729 do 5068 do :
5730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5069 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
5731 { echo "$as_me:$LINENO: checking for $ac_func" >&5 5070 if test "x$ac_cv_func_vprintf" = x""yes; then :
5732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5733 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5734 echo $ECHO_N "(cached) $ECHO_C" >&6
5735 else
5736 cat >conftest.$ac_ext <<_ACEOF
5737 /* confdefs.h. */
5738 _ACEOF
5739 cat confdefs.h >>conftest.$ac_ext
5740 cat >>conftest.$ac_ext <<_ACEOF
5741 /* end confdefs.h. */
5742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5744 #define $ac_func innocuous_$ac_func
5745
5746 /* System header to define __stub macros and hopefully few prototypes,
5747 which can conflict with char $ac_func (); below.
5748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5749 <limits.h> exists even on freestanding compilers. */
5750
5751 #ifdef __STDC__
5752 # include <limits.h>
5753 #else
5754 # include <assert.h>
5755 #endif
5756
5757 #undef $ac_func
5758
5759 /* Override any GCC internal prototype to avoid an error.
5760 Use char because int might match the return type of a GCC
5761 builtin and then its argument prototype would still apply. */
5762 #ifdef __cplusplus
5763 extern "C"
5764 #endif
5765 char $ac_func ();
5766 /* The GNU C library defines this for functions which it implements
5767 to always fail with ENOSYS. Some functions are actually named
5768 something starting with __ and the normal name is an alias. */
5769 #if defined __stub_$ac_func || defined __stub___$ac_func
5770 choke me
5771 #endif
5772
5773 int
5774 main ()
5775 {
5776 return $ac_func ();
5777 ;
5778 return 0;
5779 }
5780 _ACEOF
5781 rm -f conftest.$ac_objext conftest$ac_exeext
5782 if { (ac_try="$ac_link"
5783 case "(($ac_try" in
5784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5785 *) ac_try_echo=$ac_try;;
5786 esac
5787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5788 (eval "$ac_link") 2>conftest.er1
5789 ac_status=$?
5790 grep -v '^ *+' conftest.er1 >conftest.err
5791 rm -f conftest.er1
5792 cat conftest.err >&5
5793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5794 (exit $ac_status); } && {
5795 test -z "$ac_c_werror_flag" ||
5796 test ! -s conftest.err
5797 } && test -s conftest$ac_exeext &&
5798 $as_test_x conftest$ac_exeext; then
5799 eval "$as_ac_var=yes"
5800 else
5801 echo "$as_me: failed program was:" >&5
5802 sed 's/^/| /' conftest.$ac_ext >&5
5803
5804 eval "$as_ac_var=no"
5805 fi
5806
5807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5808 conftest$ac_exeext conftest.$ac_ext
5809 fi
5810 ac_res=`eval echo '${'$as_ac_var'}'`
5811 { echo "$as_me:$LINENO: result: $ac_res" >&5
5812 echo "${ECHO_T}$ac_res" >&6; }
5813 if test `eval echo '${'$as_ac_var'}'` = yes; then
5814 cat >>confdefs.h <<_ACEOF 5071 cat >>confdefs.h <<_ACEOF
5815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5072 #define HAVE_VPRINTF 1
5816 _ACEOF 5073 _ACEOF
5817 5074
5818 { echo "$as_me:$LINENO: checking for _doprnt" >&5 5075 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
5819 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; } 5076 if test "x$ac_cv_func__doprnt" = x""yes; then :
5820 if test "${ac_cv_func__doprnt+set}" = set; then 5077
5821 echo $ECHO_N "(cached) $ECHO_C" >&6 5078 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
5822 else
5823 cat >conftest.$ac_ext <<_ACEOF
5824 /* confdefs.h. */
5825 _ACEOF
5826 cat confdefs.h >>conftest.$ac_ext
5827 cat >>conftest.$ac_ext <<_ACEOF
5828 /* end confdefs.h. */
5829 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
5830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5831 #define _doprnt innocuous__doprnt
5832
5833 /* System header to define __stub macros and hopefully few prototypes,
5834 which can conflict with char _doprnt (); below.
5835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5836 <limits.h> exists even on freestanding compilers. */
5837
5838 #ifdef __STDC__
5839 # include <limits.h>
5840 #else
5841 # include <assert.h>
5842 #endif
5843
5844 #undef _doprnt
5845
5846 /* Override any GCC internal prototype to avoid an error.
5847 Use char because int might match the return type of a GCC
5848 builtin and then its argument prototype would still apply. */
5849 #ifdef __cplusplus
5850 extern "C"
5851 #endif
5852 char _doprnt ();
5853 /* The GNU C library defines this for functions which it implements
5854 to always fail with ENOSYS. Some functions are actually named
5855 something starting with __ and the normal name is an alias. */
5856 #if defined __stub__doprnt || defined __stub____doprnt
5857 choke me
5858 #endif
5859
5860 int
5861 main ()
5862 {
5863 return _doprnt ();
5864 ;
5865 return 0;
5866 }
5867 _ACEOF
5868 rm -f conftest.$ac_objext conftest$ac_exeext
5869 if { (ac_try="$ac_link"
5870 case "(($ac_try" in
5871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5872 *) ac_try_echo=$ac_try;;
5873 esac
5874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5875 (eval "$ac_link") 2>conftest.er1
5876 ac_status=$?
5877 grep -v '^ *+' conftest.er1 >conftest.err
5878 rm -f conftest.er1
5879 cat conftest.err >&5
5880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5881 (exit $ac_status); } && {
5882 test -z "$ac_c_werror_flag" ||
5883 test ! -s conftest.err
5884 } && test -s conftest$ac_exeext &&
5885 $as_test_x conftest$ac_exeext; then
5886 ac_cv_func__doprnt=yes
5887 else
5888 echo "$as_me: failed program was:" >&5
5889 sed 's/^/| /' conftest.$ac_ext >&5
5890
5891 ac_cv_func__doprnt=no
5892 fi
5893
5894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5895 conftest$ac_exeext conftest.$ac_ext
5896 fi
5897 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
5898 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
5899 if test $ac_cv_func__doprnt = yes; then
5900
5901 cat >>confdefs.h <<\_ACEOF
5902 #define HAVE_DOPRNT 1
5903 _ACEOF
5904 5079
5905 fi 5080 fi
5906 5081
5907 fi 5082 fi
5908 done 5083 done
5909 5084
5910 5085
5911
5912
5913
5914
5915 for ac_func in select socket strerror strstr 5086 for ac_func in select socket strerror strstr
5916 do 5087 do :
5917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5088 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5918 { echo "$as_me:$LINENO: checking for $ac_func" >&5 5089 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5090 eval as_val=\$$as_ac_var
5920 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5091 if test "x$as_val" = x""yes; then :
5921 echo $ECHO_N "(cached) $ECHO_C" >&6
5922 else
5923 cat >conftest.$ac_ext <<_ACEOF
5924 /* confdefs.h. */
5925 _ACEOF
5926 cat confdefs.h >>conftest.$ac_ext
5927 cat >>conftest.$ac_ext <<_ACEOF
5928 /* end confdefs.h. */
5929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5931 #define $ac_func innocuous_$ac_func
5932
5933 /* System header to define __stub macros and hopefully few prototypes,
5934 which can conflict with char $ac_func (); below.
5935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5936 <limits.h> exists even on freestanding compilers. */
5937
5938 #ifdef __STDC__
5939 # include <limits.h>
5940 #else
5941 # include <assert.h>
5942 #endif
5943
5944 #undef $ac_func
5945
5946 /* Override any GCC internal prototype to avoid an error.
5947 Use char because int might match the return type of a GCC
5948 builtin and then its argument prototype would still apply. */
5949 #ifdef __cplusplus
5950 extern "C"
5951 #endif
5952 char $ac_func ();
5953 /* The GNU C library defines this for functions which it implements
5954 to always fail with ENOSYS. Some functions are actually named
5955 something starting with __ and the normal name is an alias. */
5956 #if defined __stub_$ac_func || defined __stub___$ac_func
5957 choke me
5958 #endif
5959
5960 int
5961 main ()
5962 {
5963 return $ac_func ();
5964 ;
5965 return 0;
5966 }
5967 _ACEOF
5968 rm -f conftest.$ac_objext conftest$ac_exeext
5969 if { (ac_try="$ac_link"
5970 case "(($ac_try" in
5971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5972 *) ac_try_echo=$ac_try;;
5973 esac
5974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5975 (eval "$ac_link") 2>conftest.er1
5976 ac_status=$?
5977 grep -v '^ *+' conftest.er1 >conftest.err
5978 rm -f conftest.er1
5979 cat conftest.err >&5
5980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5981 (exit $ac_status); } && {
5982 test -z "$ac_c_werror_flag" ||
5983 test ! -s conftest.err
5984 } && test -s conftest$ac_exeext &&
5985 $as_test_x conftest$ac_exeext; then
5986 eval "$as_ac_var=yes"
5987 else
5988 echo "$as_me: failed program was:" >&5
5989 sed 's/^/| /' conftest.$ac_ext >&5
5990
5991 eval "$as_ac_var=no"
5992 fi
5993
5994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5995 conftest$ac_exeext conftest.$ac_ext
5996 fi
5997 ac_res=`eval echo '${'$as_ac_var'}'`
5998 { echo "$as_me:$LINENO: result: $ac_res" >&5
5999 echo "${ECHO_T}$ac_res" >&6; }
6000 if test `eval echo '${'$as_ac_var'}'` = yes; then
6001 cat >>confdefs.h <<_ACEOF 5092 cat >>confdefs.h <<_ACEOF
6002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5093 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6003 _ACEOF 5094 _ACEOF
6004 5095
6005 fi 5096 fi
6006 done 5097 done
6007 5098
6008 5099
6009 5100
6010 # Check whether --with-user was given. 5101 # Check whether --with-user was given.
6011 if test "${with_user+set}" = set; then 5102 if test "${with_user+set}" = set; then :
6012 withval=$with_user; 5103 withval=$with_user;
6013 fi 5104 fi
6014 5105
6015 if test "x$with_user" = 'x'; then 5106 if test "x$with_user" = 'x'; then
6016 with_user='mail' 5107 with_user='mail'
6017 fi 5108 fi
6018 5109
6019 5110
6020 # Check whether --with-group was given. 5111 # Check whether --with-group was given.
6021 if test "${with_group+set}" = set; then 5112 if test "${with_group+set}" = set; then :
6022 withval=$with_group; 5113 withval=$with_group;
6023 fi 5114 fi
6024 5115
6025 if test "x$with_group" = 'x'; then 5116 if test "x$with_group" = 'x'; then
6026 with_group='trusted' 5117 with_group='trusted'
6027 fi 5118 fi
6028 5119
6029 # Check whether --enable-debug was given. 5120 # Check whether --enable-debug was given.
6030 if test "${enable_debug+set}" = set; then 5121 if test "${enable_debug+set}" = set; then :
6031 enableval=$enable_debug; if test "x$enable_debug" != 'xno'; then 5122 enableval=$enable_debug; if test "x$enable_debug" != 'xno'; then
6032 debug_enabled='yes' 5123 debug_enabled='yes'
6033 fi 5124 fi
6034 else 5125 else
6035 debug_enabled='yes' 5126 debug_enabled='yes'
6036 5127
6037 fi 5128 fi
6038 5129
6039 if test "x$debug_enabled" = xyes; then 5130 if test "x$debug_enabled" = xyes; then
6040 5131
6041 cat >>confdefs.h <<\_ACEOF 5132 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
6042 #define ENABLE_DEBUG 1
6043 _ACEOF
6044 5133
6045 fi 5134 fi
6046 5135
6047 5136
6048 cat >>confdefs.h <<_ACEOF 5137 cat >>confdefs.h <<_ACEOF
6057 5146
6058 5147
6059 5148
6060 5149
6061 # Check whether --with-glib_static was given. 5150 # Check whether --with-glib_static was given.
6062 if test "${with_glib_static+set}" = set; then 5151 if test "${with_glib_static+set}" = set; then :
6063 withval=$with_glib_static; 5152 withval=$with_glib_static;
6064 fi 5153 fi
6065 5154
6066 if test "x$with_glib_static" != 'x'; then 5155 if test "x$with_glib_static" != 'x'; then
6067 GLIB_LIBS=$with_glib_static 5156 GLIB_LIBS=$with_glib_static
6070 5159
6071 MD5_LIBS='' 5160 MD5_LIBS=''
6072 BASE64_LIBS='' 5161 BASE64_LIBS=''
6073 5162
6074 # Check whether --enable-smtp_server was given. 5163 # Check whether --enable-smtp_server was given.
6075 if test "${enable_smtp_server+set}" = set; then 5164 if test "${enable_smtp_server+set}" = set; then :
6076 enableval=$enable_smtp_server; if test "x$enable_smtp_server" != 'xno'; then 5165 enableval=$enable_smtp_server; if test "x$enable_smtp_server" != 'xno'; then
6077 smtp_server_enabled='yes' 5166 smtp_server_enabled='yes'
6078 fi 5167 fi
6079 else 5168 else
6080 smtp_server_enabled='yes' 5169 smtp_server_enabled='yes'
6081 5170
6082 fi 5171 fi
6083 5172
6084 if test "x$smtp_server_enabled" = xyes; then 5173 if test "x$smtp_server_enabled" = xyes; then
6085 5174
6086 cat >>confdefs.h <<\_ACEOF 5175 $as_echo "#define ENABLE_SMTP_SERVER 1" >>confdefs.h
6087 #define ENABLE_SMTP_SERVER 1
6088 _ACEOF
6089 5176
6090 fi 5177 fi
6091 5178
6092 # Check whether --enable-pop3 was given. 5179 # Check whether --enable-pop3 was given.
6093 if test "${enable_pop3+set}" = set; then 5180 if test "${enable_pop3+set}" = set; then :
6094 enableval=$enable_pop3; if test "x$enable_pop3" != 'xno'; then 5181 enableval=$enable_pop3; if test "x$enable_pop3" != 'xno'; then
6095 pop3_enabled='yes' 5182 pop3_enabled='yes'
6096 fi 5183 fi
6097 else 5184 else
6098 pop3_enabled='yes' 5185 pop3_enabled='yes'
6099 5186
6100 fi 5187 fi
6101 5188
6102 if test "x$pop3_enabled" = xyes; then 5189 if test "x$pop3_enabled" = xyes; then
6103 5190
6104 cat >>confdefs.h <<\_ACEOF 5191 $as_echo "#define ENABLE_POP3 1" >>confdefs.h
6105 #define ENABLE_POP3 1
6106 _ACEOF
6107 5192
6108 # MD5_LIBS='md5/libmd5c.a' 5193 # MD5_LIBS='md5/libmd5c.a'
6109 need_md5='yes' 5194 need_md5='yes'
6110 fi 5195 fi
6111 5196
6112 # Check whether --enable-auth was given. 5197 # Check whether --enable-auth was given.
6113 if test "${enable_auth+set}" = set; then 5198 if test "${enable_auth+set}" = set; then :
6114 enableval=$enable_auth; if test "x$enable_auth" != 'xno'; then 5199 enableval=$enable_auth; if test "x$enable_auth" != 'xno'; then
6115 auth_enabled='yes' 5200 auth_enabled='yes'
6116 fi 5201 fi
6117 fi 5202 fi
6118 5203
6119 if test "x$auth_enabled" = xyes; then 5204 if test "x$auth_enabled" = xyes; then
6120 5205
6121 cat >>confdefs.h <<\_ACEOF 5206 $as_echo "#define ENABLE_AUTH 1" >>confdefs.h
6122 #define ENABLE_AUTH 1
6123 _ACEOF
6124 5207
6125 BASE64_LIBS='base64/libbase64.a' 5208 BASE64_LIBS='base64/libbase64.a'
6126 # MD5_LIBS='md5/libmd5c.a' 5209 # MD5_LIBS='md5/libmd5c.a'
6127 need_md5='yes' 5210 need_md5='yes'
6128 fi 5211 fi
6129 5212
6130 5213
6131 # Check whether --enable-maildir was given. 5214 # Check whether --enable-maildir was given.
6132 if test "${enable_maildir+set}" = set; then 5215 if test "${enable_maildir+set}" = set; then :
6133 enableval=$enable_maildir; if test "x$enable_maildir" != 'xno'; then 5216 enableval=$enable_maildir; if test "x$enable_maildir" != 'xno'; then
6134 maildir_enabled='yes' 5217 maildir_enabled='yes'
6135 fi 5218 fi
6136 fi 5219 fi
6137 5220
6138 if test "x$maildir_enabled" = xyes; then 5221 if test "x$maildir_enabled" = xyes; then
6139 5222
6140 cat >>confdefs.h <<\_ACEOF 5223 $as_echo "#define ENABLE_MAILDIR 1" >>confdefs.h
6141 #define ENABLE_MAILDIR 1
6142 _ACEOF
6143 5224
6144 fi 5225 fi
6145 5226
6146 5227
6147 # Check whether --with-libcrypto was given. 5228 # Check whether --with-libcrypto was given.
6148 if test "${with_libcrypto+set}" = set; then 5229 if test "${with_libcrypto+set}" = set; then :
6149 withval=$with_libcrypto; 5230 withval=$with_libcrypto;
6150 fi 5231 fi
6151 5232
6152 if test "x$with_libcrypto" != 'xyes'; then 5233 if test "x$with_libcrypto" != 'xyes'; then
6153 with_libcrypto='no' 5234 with_libcrypto='no'
6154 fi 5235 fi
6155 5236
6156 if test "x$need_md5" = 'xyes'; then 5237 if test "x$need_md5" = 'xyes'; then
6157 if test "x$with_libcrypto" = "xyes"; then 5238 if test "x$with_libcrypto" = "xyes"; then
6158 { echo "$as_me:$LINENO: checking for MD5 in -lcrypto" >&5 5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5 in -lcrypto" >&5
6159 echo $ECHO_N "checking for MD5 in -lcrypto... $ECHO_C" >&6; } 5240 $as_echo_n "checking for MD5 in -lcrypto... " >&6; }
6160 if test "${ac_cv_lib_crypto_MD5+set}" = set; then 5241 if test "${ac_cv_lib_crypto_MD5+set}" = set; then :
6161 echo $ECHO_N "(cached) $ECHO_C" >&6 5242 $as_echo_n "(cached) " >&6
6162 else 5243 else
6163 ac_check_lib_save_LIBS=$LIBS 5244 ac_check_lib_save_LIBS=$LIBS
6164 LIBS="-lcrypto $LIBS" 5245 LIBS="-lcrypto $LIBS"
6165 cat >conftest.$ac_ext <<_ACEOF 5246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6166 /* confdefs.h. */
6167 _ACEOF
6168 cat confdefs.h >>conftest.$ac_ext
6169 cat >>conftest.$ac_ext <<_ACEOF
6170 /* end confdefs.h. */ 5247 /* end confdefs.h. */
6171 5248
6172 /* Override any GCC internal prototype to avoid an error. 5249 /* Override any GCC internal prototype to avoid an error.
6173 Use char because int might match the return type of a GCC 5250 Use char because int might match the return type of a GCC
6174 builtin and then its argument prototype would still apply. */ 5251 builtin and then its argument prototype would still apply. */
6182 return MD5 (); 5259 return MD5 ();
6183 ; 5260 ;
6184 return 0; 5261 return 0;
6185 } 5262 }
6186 _ACEOF 5263 _ACEOF
6187 rm -f conftest.$ac_objext conftest$ac_exeext 5264 if ac_fn_c_try_link "$LINENO"; then :
6188 if { (ac_try="$ac_link"
6189 case "(($ac_try" in
6190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6191 *) ac_try_echo=$ac_try;;
6192 esac
6193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6194 (eval "$ac_link") 2>conftest.er1
6195 ac_status=$?
6196 grep -v '^ *+' conftest.er1 >conftest.err
6197 rm -f conftest.er1
6198 cat conftest.err >&5
6199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6200 (exit $ac_status); } && {
6201 test -z "$ac_c_werror_flag" ||
6202 test ! -s conftest.err
6203 } && test -s conftest$ac_exeext &&
6204 $as_test_x conftest$ac_exeext; then
6205 ac_cv_lib_crypto_MD5=yes 5265 ac_cv_lib_crypto_MD5=yes
6206 else 5266 else
6207 echo "$as_me: failed program was:" >&5 5267 ac_cv_lib_crypto_MD5=no
6208 sed 's/^/| /' conftest.$ac_ext >&5 5268 fi
6209 5269 rm -f core conftest.err conftest.$ac_objext \
6210 ac_cv_lib_crypto_MD5=no 5270 conftest$ac_exeext conftest.$ac_ext
6211 fi
6212
6213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6214 conftest$ac_exeext conftest.$ac_ext
6215 LIBS=$ac_check_lib_save_LIBS 5271 LIBS=$ac_check_lib_save_LIBS
6216 fi 5272 fi
6217 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_MD5" >&5 5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5" >&5
6218 echo "${ECHO_T}$ac_cv_lib_crypto_MD5" >&6; } 5274 $as_echo "$ac_cv_lib_crypto_MD5" >&6; }
6219 if test $ac_cv_lib_crypto_MD5 = yes; then 5275 if test "x$ac_cv_lib_crypto_MD5" = x""yes; then :
6220 has_crypto='yes' 5276 has_crypto='yes'
6221 else 5277 else
6222 { { echo "$as_me:$LINENO: error: 'no libcrypto'" >&5 5278 as_fn_error "'no libcrypto'" "$LINENO" 5
6223 echo "$as_me: error: 'no libcrypto'" >&2;}
6224 { (exit 1); exit 1; }; }
6225 fi 5279 fi
6226 5280
6227 if test "x$has_crypto" = 'xyes'; then 5281 if test "x$has_crypto" = 'xyes'; then
6228 5282
6229 cat >>confdefs.h <<\_ACEOF 5283 $as_echo "#define USE_LIB_CRYPTO 1" >>confdefs.h
6230 #define USE_LIB_CRYPTO 1
6231 _ACEOF
6232 5284
6233 MD5_LIBS='-lcrypto' 5285 MD5_LIBS='-lcrypto'
6234 fi 5286 fi
6235 else 5287 else
6236 MD5_LIBS='md5/libmd5c.a' 5288 MD5_LIBS='md5/libmd5c.a'
6238 fi 5290 fi
6239 5291
6240 5292
6241 IDENT_LIBS='' 5293 IDENT_LIBS=''
6242 # Check whether --enable-ident was given. 5294 # Check whether --enable-ident was given.
6243 if test "${enable_ident+set}" = set; then 5295 if test "${enable_ident+set}" = set; then :
6244 enableval=$enable_ident; if test "x$enable_ident" != 'xno'; then 5296 enableval=$enable_ident; if test "x$enable_ident" != 'xno'; then
6245 ident_enabled='yes' 5297 ident_enabled='yes'
6246 fi 5298 fi
6247 fi 5299 fi
6248 5300
6249 5301
6250 if test "x$ident_enabled" = xyes; then 5302 if test "x$ident_enabled" = xyes; then
6251 5303
6252 cat >>confdefs.h <<\_ACEOF 5304 $as_echo "#define ENABLE_IDENT 1" >>confdefs.h
6253 #define ENABLE_IDENT 1 5305
6254 _ACEOF 5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ident_id in -lident" >&5
6255 5307 $as_echo_n "checking for ident_id in -lident... " >&6; }
6256 { echo "$as_me:$LINENO: checking for ident_id in -lident" >&5 5308 if test "${ac_cv_lib_ident_ident_id+set}" = set; then :
6257 echo $ECHO_N "checking for ident_id in -lident... $ECHO_C" >&6; } 5309 $as_echo_n "(cached) " >&6
6258 if test "${ac_cv_lib_ident_ident_id+set}" = set; then
6259 echo $ECHO_N "(cached) $ECHO_C" >&6
6260 else 5310 else
6261 ac_check_lib_save_LIBS=$LIBS 5311 ac_check_lib_save_LIBS=$LIBS
6262 LIBS="-lident $LIBS" 5312 LIBS="-lident $LIBS"
6263 cat >conftest.$ac_ext <<_ACEOF 5313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6264 /* confdefs.h. */
6265 _ACEOF
6266 cat confdefs.h >>conftest.$ac_ext
6267 cat >>conftest.$ac_ext <<_ACEOF
6268 /* end confdefs.h. */ 5314 /* end confdefs.h. */
6269 5315
6270 /* Override any GCC internal prototype to avoid an error. 5316 /* Override any GCC internal prototype to avoid an error.
6271 Use char because int might match the return type of a GCC 5317 Use char because int might match the return type of a GCC
6272 builtin and then its argument prototype would still apply. */ 5318 builtin and then its argument prototype would still apply. */
6280 return ident_id (); 5326 return ident_id ();
6281 ; 5327 ;
6282 return 0; 5328 return 0;
6283 } 5329 }
6284 _ACEOF 5330 _ACEOF
6285 rm -f conftest.$ac_objext conftest$ac_exeext 5331 if ac_fn_c_try_link "$LINENO"; then :
6286 if { (ac_try="$ac_link"
6287 case "(($ac_try" in
6288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6289 *) ac_try_echo=$ac_try;;
6290 esac
6291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6292 (eval "$ac_link") 2>conftest.er1
6293 ac_status=$?
6294 grep -v '^ *+' conftest.er1 >conftest.err
6295 rm -f conftest.er1
6296 cat conftest.err >&5
6297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6298 (exit $ac_status); } && {
6299 test -z "$ac_c_werror_flag" ||
6300 test ! -s conftest.err
6301 } && test -s conftest$ac_exeext &&
6302 $as_test_x conftest$ac_exeext; then
6303 ac_cv_lib_ident_ident_id=yes 5332 ac_cv_lib_ident_ident_id=yes
6304 else 5333 else
6305 echo "$as_me: failed program was:" >&5 5334 ac_cv_lib_ident_ident_id=no
6306 sed 's/^/| /' conftest.$ac_ext >&5 5335 fi
6307 5336 rm -f core conftest.err conftest.$ac_objext \
6308 ac_cv_lib_ident_ident_id=no 5337 conftest$ac_exeext conftest.$ac_ext
6309 fi
6310
6311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6312 conftest$ac_exeext conftest.$ac_ext
6313 LIBS=$ac_check_lib_save_LIBS 5338 LIBS=$ac_check_lib_save_LIBS
6314 fi 5339 fi
6315 { echo "$as_me:$LINENO: result: $ac_cv_lib_ident_ident_id" >&5 5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ident_ident_id" >&5
6316 echo "${ECHO_T}$ac_cv_lib_ident_ident_id" >&6; } 5341 $as_echo "$ac_cv_lib_ident_ident_id" >&6; }
6317 if test $ac_cv_lib_ident_ident_id = yes; then 5342 if test "x$ac_cv_lib_ident_ident_id" = x""yes; then :
6318 IDENT_LIBS='-lident' 5343 IDENT_LIBS='-lident'
6319 else 5344 else
6320 IDENT_LIBS='libident/libident.a' 5345 IDENT_LIBS='libident/libident.a'
6321 fi 5346 fi
6322 5347
6323 fi 5348 fi
6324 5349
6325 5350
6326 # Check whether --enable-mserver was given. 5351 # Check whether --enable-mserver was given.
6327 if test "${enable_mserver+set}" = set; then 5352 if test "${enable_mserver+set}" = set; then :
6328 enableval=$enable_mserver; if test "x$enable_mserver" != 'xno'; then 5353 enableval=$enable_mserver; if test "x$enable_mserver" != 'xno'; then
6329 mserver_enabled='yes' 5354 mserver_enabled='yes'
6330 fi 5355 fi
6331 fi 5356 fi
6332 5357
6333 if test "x$mserver_enabled" = xyes; then 5358 if test "x$mserver_enabled" = xyes; then
6334 5359
6335 cat >>confdefs.h <<\_ACEOF 5360 $as_echo "#define ENABLE_MSERVER 1" >>confdefs.h
6336 #define ENABLE_MSERVER 1
6337 _ACEOF
6338 5361
6339 fi 5362 fi
6340 5363
6341 5364
6342 # Check whether --with-liblockfile was given. 5365 # Check whether --with-liblockfile was given.
6343 if test "${with_liblockfile+set}" = set; then 5366 if test "${with_liblockfile+set}" = set; then :
6344 withval=$with_liblockfile; 5367 withval=$with_liblockfile;
6345 fi 5368 fi
6346 5369
6347 if test "x$with_liblockfile" != 'x'; then 5370 if test "x$with_liblockfile" != 'x'; then
6348 with_liblockfile='yes' 5371 with_liblockfile='yes'
6349 fi 5372 fi
6350 if test "x$with_liblockfile" = xyes; then 5373 if test "x$with_liblockfile" = xyes; then
6351 { echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5 5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5
6352 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6; } 5375 $as_echo_n "checking for maillock in -llockfile... " >&6; }
6353 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then 5376 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then :
6354 echo $ECHO_N "(cached) $ECHO_C" >&6 5377 $as_echo_n "(cached) " >&6
6355 else 5378 else
6356 ac_check_lib_save_LIBS=$LIBS 5379 ac_check_lib_save_LIBS=$LIBS
6357 LIBS="-llockfile $LIBS" 5380 LIBS="-llockfile $LIBS"
6358 cat >conftest.$ac_ext <<_ACEOF 5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6359 /* confdefs.h. */
6360 _ACEOF
6361 cat confdefs.h >>conftest.$ac_ext
6362 cat >>conftest.$ac_ext <<_ACEOF
6363 /* end confdefs.h. */ 5382 /* end confdefs.h. */
6364 5383
6365 /* Override any GCC internal prototype to avoid an error. 5384 /* Override any GCC internal prototype to avoid an error.
6366 Use char because int might match the return type of a GCC 5385 Use char because int might match the return type of a GCC
6367 builtin and then its argument prototype would still apply. */ 5386 builtin and then its argument prototype would still apply. */
6375 return maillock (); 5394 return maillock ();
6376 ; 5395 ;
6377 return 0; 5396 return 0;
6378 } 5397 }
6379 _ACEOF 5398 _ACEOF
6380 rm -f conftest.$ac_objext conftest$ac_exeext 5399 if ac_fn_c_try_link "$LINENO"; then :
6381 if { (ac_try="$ac_link"
6382 case "(($ac_try" in
6383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6384 *) ac_try_echo=$ac_try;;
6385 esac
6386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6387 (eval "$ac_link") 2>conftest.er1
6388 ac_status=$?
6389 grep -v '^ *+' conftest.er1 >conftest.err
6390 rm -f conftest.er1
6391 cat conftest.err >&5
6392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6393 (exit $ac_status); } && {
6394 test -z "$ac_c_werror_flag" ||
6395 test ! -s conftest.err
6396 } && test -s conftest$ac_exeext &&
6397 $as_test_x conftest$ac_exeext; then
6398 ac_cv_lib_lockfile_maillock=yes 5400 ac_cv_lib_lockfile_maillock=yes
6399 else 5401 else
6400 echo "$as_me: failed program was:" >&5 5402 ac_cv_lib_lockfile_maillock=no
6401 sed 's/^/| /' conftest.$ac_ext >&5 5403 fi
6402 5404 rm -f core conftest.err conftest.$ac_objext \
6403 ac_cv_lib_lockfile_maillock=no 5405 conftest$ac_exeext conftest.$ac_ext
6404 fi
6405
6406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6407 conftest$ac_exeext conftest.$ac_ext
6408 LIBS=$ac_check_lib_save_LIBS 5406 LIBS=$ac_check_lib_save_LIBS
6409 fi 5407 fi
6410 { echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5
6411 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6; } 5409 $as_echo "$ac_cv_lib_lockfile_maillock" >&6; }
6412 if test $ac_cv_lib_lockfile_maillock = yes; then 5410 if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then :
6413 has_lockfile=yes 5411 has_lockfile=yes
6414 else 5412 else
6415 { { echo "$as_me:$LINENO: error: \"no liblockfile\"" >&5 5413 as_fn_error "\"no liblockfile\"" "$LINENO" 5
6416 echo "$as_me: error: \"no liblockfile\"" >&2;}
6417 { (exit 1); exit 1; }; }
6418 fi 5414 fi
6419 5415
6420 LOCKFILE_LIBS='-llockfile' 5416 LOCKFILE_LIBS='-llockfile'
6421 5417
6422 cat >>confdefs.h <<\_ACEOF 5418 $as_echo "#define USE_LIBLOCKFILE 1" >>confdefs.h
6423 #define USE_LIBLOCKFILE 1
6424 _ACEOF
6425 5419
6426 else 5420 else
6427 LOCKFILE_LIBS='' 5421 LOCKFILE_LIBS=''
6428 fi 5422 fi
6429 5423
6430 5424
6431 5425
6432 5426
6433 # Check whether --with-logdir was given. 5427 # Check whether --with-logdir was given.
6434 if test "${with_logdir+set}" = set; then 5428 if test "${with_logdir+set}" = set; then :
6435 withval=$with_logdir; 5429 withval=$with_logdir;
6436 else 5430 else
6437 with_logdir='/var/log/masqmail/' 5431 with_logdir='/var/log/masqmail/'
6438 5432
6439 fi 5433 fi
6440 5434
6441 5435
6442 5436
6443 5437
6444 # Check whether --with-spooldir was given. 5438 # Check whether --with-spooldir was given.
6445 if test "${with_spooldir+set}" = set; then 5439 if test "${with_spooldir+set}" = set; then :
6446 withval=$with_spooldir; 5440 withval=$with_spooldir;
6447 else 5441 else
6448 with_spooldir='/var/spool/masqmail/' 5442 with_spooldir='/var/spool/masqmail/'
6449 5443
6450 fi 5444 fi
6451 5445
6452 5446
6453 5447
6454 5448
6455 # Check whether --with-confdir was given. 5449 # Check whether --with-confdir was given.
6456 if test "${with_confdir+set}" = set; then 5450 if test "${with_confdir+set}" = set; then :
6457 withval=$with_confdir; 5451 withval=$with_confdir;
6458 else 5452 else
6459 with_confdir='/etc/masqmail' 5453 with_confdir='/etc/masqmail'
6460 5454
6461 fi 5455 fi
6467 5461
6468 5462
6469 5463
6470 test "x$prefix" = xNONE && prefix="$ac_default_prefix" 5464 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
6471 5465
5466
6472 cat >>confdefs.h <<_ACEOF 5467 cat >>confdefs.h <<_ACEOF
6473 #define DATA_DIR "`eval echo \""$datadir"\"`/masqmail" 5468 #define DATA_DIR "`eval eval echo $datadir`/masqmail"
6474 _ACEOF 5469 _ACEOF
6475 5470
6476 5471
6477 if test "x${exec_prefix}" != 'xNONE'; then 5472 if test "x${exec_prefix}" != 'xNONE'; then
6478 5473
6521 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 5516 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6522 eval ac_val=\$$ac_var 5517 eval ac_val=\$$ac_var
6523 case $ac_val in #( 5518 case $ac_val in #(
6524 *${as_nl}*) 5519 *${as_nl}*)
6525 case $ac_var in #( 5520 case $ac_var in #(
6526 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 5521 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6527 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 5522 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6528 esac 5523 esac
6529 case $ac_var in #( 5524 case $ac_var in #(
6530 _ | IFS | as_nl) ;; #( 5525 _ | IFS | as_nl) ;; #(
6531 *) $as_unset $ac_var ;; 5526 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5527 *) { eval $ac_var=; unset $ac_var;} ;;
6532 esac ;; 5528 esac ;;
6533 esac 5529 esac
6534 done 5530 done
6535 5531
6536 (set) 2>&1 | 5532 (set) 2>&1 |
6537 case $as_nl`(ac_space=' '; set) 2>&1` in #( 5533 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6538 *${as_nl}ac_space=\ *) 5534 *${as_nl}ac_space=\ *)
6539 # `set' does not quote correctly, so add quotes (double-quote 5535 # `set' does not quote correctly, so add quotes: double-quote
6540 # substitution turns \\\\ into \\, and sed turns \\ into \). 5536 # substitution turns \\\\ into \\, and sed turns \\ into \.
6541 sed -n \ 5537 sed -n \
6542 "s/'/'\\\\''/g; 5538 "s/'/'\\\\''/g;
6543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5539 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6544 ;; #( 5540 ;; #(
6545 *) 5541 *)
6558 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5554 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6559 :end' >>confcache 5555 :end' >>confcache
6560 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 5556 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6561 if test -w "$cache_file"; then 5557 if test -w "$cache_file"; then
6562 test "x$cache_file" != "x/dev/null" && 5558 test "x$cache_file" != "x/dev/null" &&
6563 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 5559 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6564 echo "$as_me: updating cache $cache_file" >&6;} 5560 $as_echo "$as_me: updating cache $cache_file" >&6;}
6565 cat confcache >$cache_file 5561 cat confcache >$cache_file
6566 else 5562 else
6567 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 5563 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6568 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 5564 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6569 fi 5565 fi
6570 fi 5566 fi
6571 rm -f confcache 5567 rm -f confcache
6572 5568
6573 test "x$prefix" = xNONE && prefix=$ac_default_prefix 5569 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6579 ac_libobjs= 5575 ac_libobjs=
6580 ac_ltlibobjs= 5576 ac_ltlibobjs=
6581 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5577 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6582 # 1. Remove the extension, and $U if already installed. 5578 # 1. Remove the extension, and $U if already installed.
6583 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 5579 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6584 ac_i=`echo "$ac_i" | sed "$ac_script"` 5580 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6585 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 5581 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6586 # will be set to the directory where LIBOBJS objects are built. 5582 # will be set to the directory where LIBOBJS objects are built.
6587 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 5583 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6588 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 5584 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6589 done 5585 done
6590 LIBOBJS=$ac_libobjs 5586 LIBOBJS=$ac_libobjs
6591 5587
6592 LTLIBOBJS=$ac_ltlibobjs 5588 LTLIBOBJS=$ac_ltlibobjs
6593 5589
6594 5590
5591 if test -n "$EXEEXT"; then
5592 am__EXEEXT_TRUE=
5593 am__EXEEXT_FALSE='#'
5594 else
5595 am__EXEEXT_TRUE='#'
5596 am__EXEEXT_FALSE=
5597 fi
5598
6595 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 5599 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6596 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 5600 as_fn_error "conditional \"AMDEP\" was never defined.
6597 Usually this means the macro was only invoked conditionally." >&5 5601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6598 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6599 Usually this means the macro was only invoked conditionally." >&2;}
6600 { (exit 1); exit 1; }; }
6601 fi 5602 fi
6602 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 5603 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6603 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 5604 as_fn_error "conditional \"am__fastdepCC\" was never defined.
6604 Usually this means the macro was only invoked conditionally." >&5 5605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6605 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6606 Usually this means the macro was only invoked conditionally." >&2;}
6607 { (exit 1); exit 1; }; }
6608 fi 5606 fi
6609 5607
6610 : ${CONFIG_STATUS=./config.status} 5608 : ${CONFIG_STATUS=./config.status}
5609 ac_write_fail=0
6611 ac_clean_files_save=$ac_clean_files 5610 ac_clean_files_save=$ac_clean_files
6612 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 5611 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6613 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 5612 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6614 echo "$as_me: creating $CONFIG_STATUS" >&6;} 5613 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6615 cat >$CONFIG_STATUS <<_ACEOF 5614 as_write_fail=0
5615 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6616 #! $SHELL 5616 #! $SHELL
6617 # Generated by $as_me. 5617 # Generated by $as_me.
6618 # Run this file to recreate the current configuration. 5618 # Run this file to recreate the current configuration.
6619 # Compiler output produced by configure, useful for debugging 5619 # Compiler output produced by configure, useful for debugging
6620 # configure, is in config.log if it exists. 5620 # configure, is in config.log if it exists.
6621 5621
6622 debug=false 5622 debug=false
6623 ac_cs_recheck=false 5623 ac_cs_recheck=false
6624 ac_cs_silent=false 5624 ac_cs_silent=false
5625
6625 SHELL=\${CONFIG_SHELL-$SHELL} 5626 SHELL=\${CONFIG_SHELL-$SHELL}
6626 _ACEOF 5627 export SHELL
6627 5628 _ASEOF
6628 cat >>$CONFIG_STATUS <<\_ACEOF 5629 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6629 ## --------------------- ## 5630 ## -------------------- ##
6630 ## M4sh Initialization. ## 5631 ## M4sh Initialization. ##
6631 ## --------------------- ## 5632 ## -------------------- ##
6632 5633
6633 # Be more Bourne compatible 5634 # Be more Bourne compatible
6634 DUALCASE=1; export DUALCASE # for MKS sh 5635 DUALCASE=1; export DUALCASE # for MKS sh
6635 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 5636 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6636 emulate sh 5637 emulate sh
6637 NULLCMD=: 5638 NULLCMD=:
6638 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 5639 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6639 # is contrary to our usage. Disable this feature. 5640 # is contrary to our usage. Disable this feature.
6640 alias -g '${1+"$@"}'='"$@"' 5641 alias -g '${1+"$@"}'='"$@"'
6641 setopt NO_GLOB_SUBST 5642 setopt NO_GLOB_SUBST
6642 else 5643 else
6643 case `(set -o) 2>/dev/null` in 5644 case `(set -o) 2>/dev/null` in #(
6644 *posix*) set -o posix ;; 5645 *posix*) :
5646 set -o posix ;; #(
5647 *) :
5648 ;;
6645 esac 5649 esac
6646 5650 fi
6647 fi 5651
6648 5652
6649 5653 as_nl='
6650 5654 '
6651 5655 export as_nl
6652 # PATH needs CR 5656 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6653 # Avoid depending upon Character Ranges. 5657 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6654 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5658 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6655 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5659 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6656 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5660 # Prefer a ksh shell builtin over an external printf program on Solaris,
6657 as_cr_digits='0123456789' 5661 # but without wasting forks for bash or zsh.
6658 as_cr_alnum=$as_cr_Letters$as_cr_digits 5662 if test -z "$BASH_VERSION$ZSH_VERSION" \
5663 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5664 as_echo='print -r --'
5665 as_echo_n='print -rn --'
5666 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5667 as_echo='printf %s\n'
5668 as_echo_n='printf %s'
5669 else
5670 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5671 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5672 as_echo_n='/usr/ucb/echo -n'
5673 else
5674 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5675 as_echo_n_body='eval
5676 arg=$1;
5677 case $arg in #(
5678 *"$as_nl"*)
5679 expr "X$arg" : "X\\(.*\\)$as_nl";
5680 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5681 esac;
5682 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5683 '
5684 export as_echo_n_body
5685 as_echo_n='sh -c $as_echo_n_body as_echo'
5686 fi
5687 export as_echo_body
5688 as_echo='sh -c $as_echo_body as_echo'
5689 fi
6659 5690
6660 # The user is always right. 5691 # The user is always right.
6661 if test "${PATH_SEPARATOR+set}" != set; then 5692 if test "${PATH_SEPARATOR+set}" != set; then
6662 echo "#! /bin/sh" >conf$$.sh 5693 PATH_SEPARATOR=:
6663 echo "exit 0" >>conf$$.sh 5694 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6664 chmod +x conf$$.sh 5695 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6665 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 5696 PATH_SEPARATOR=';'
6666 PATH_SEPARATOR=';' 5697 }
6667 else
6668 PATH_SEPARATOR=:
6669 fi
6670 rm -f conf$$.sh
6671 fi
6672
6673 # Support unset when possible.
6674 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6675 as_unset=unset
6676 else
6677 as_unset=false
6678 fi 5698 fi
6679 5699
6680 5700
6681 # IFS 5701 # IFS
6682 # We need space, tab and new line, in precisely that order. Quoting is 5702 # We need space, tab and new line, in precisely that order. Quoting is
6683 # there to prevent editors from complaining about space-tab. 5703 # there to prevent editors from complaining about space-tab.
6684 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 5704 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6685 # splitting by setting IFS to empty value.) 5705 # splitting by setting IFS to empty value.)
6686 as_nl='
6687 '
6688 IFS=" "" $as_nl" 5706 IFS=" "" $as_nl"
6689 5707
6690 # Find who we are. Look in the path if we contain no directory separator. 5708 # Find who we are. Look in the path if we contain no directory separator.
6691 case $0 in 5709 case $0 in #((
6692 *[\\/]* ) as_myself=$0 ;; 5710 *[\\/]* ) as_myself=$0 ;;
6693 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5711 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6694 for as_dir in $PATH 5712 for as_dir in $PATH
6695 do 5713 do
6696 IFS=$as_save_IFS 5714 IFS=$as_save_IFS
6697 test -z "$as_dir" && as_dir=. 5715 test -z "$as_dir" && as_dir=.
6698 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5716 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6699 done 5717 done
6700 IFS=$as_save_IFS 5718 IFS=$as_save_IFS
6701 5719
6702 ;; 5720 ;;
6703 esac 5721 esac
6704 # We did not find ourselves, most probably we were run as `sh COMMAND' 5722 # We did not find ourselves, most probably we were run as `sh COMMAND'
6705 # in which case we are not to be found in the path. 5723 # in which case we are not to be found in the path.
6706 if test "x$as_myself" = x; then 5724 if test "x$as_myself" = x; then
6707 as_myself=$0 5725 as_myself=$0
6708 fi 5726 fi
6709 if test ! -f "$as_myself"; then 5727 if test ! -f "$as_myself"; then
6710 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5728 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6711 { (exit 1); exit 1; } 5729 exit 1
6712 fi 5730 fi
6713 5731
6714 # Work around bugs in pre-3.0 UWIN ksh. 5732 # Unset variables that we do not need and which cause bugs (e.g. in
6715 for as_var in ENV MAIL MAILPATH 5733 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6716 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 5734 # suppresses any "Segmentation fault" message there. '((' could
5735 # trigger a bug in pdksh 5.2.14.
5736 for as_var in BASH_ENV ENV MAIL MAILPATH
5737 do eval test x\${$as_var+set} = xset \
5738 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6717 done 5739 done
6718 PS1='$ ' 5740 PS1='$ '
6719 PS2='> ' 5741 PS2='> '
6720 PS4='+ ' 5742 PS4='+ '
6721 5743
6722 # NLS nuisances. 5744 # NLS nuisances.
6723 for as_var in \ 5745 LC_ALL=C
6724 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 5746 export LC_ALL
6725 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 5747 LANGUAGE=C
6726 LC_TELEPHONE LC_TIME 5748 export LANGUAGE
6727 do 5749
6728 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 5750 # CDPATH.
6729 eval $as_var=C; export $as_var 5751 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6730 else 5752
6731 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 5753
5754 # as_fn_error ERROR [LINENO LOG_FD]
5755 # ---------------------------------
5756 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5757 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5758 # script with status $?, using 1 if that was 0.
5759 as_fn_error ()
5760 {
5761 as_status=$?; test $as_status -eq 0 && as_status=1
5762 if test "$3"; then
5763 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5764 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
6732 fi 5765 fi
6733 done 5766 $as_echo "$as_me: error: $1" >&2
6734 5767 as_fn_exit $as_status
6735 # Required to use basename. 5768 } # as_fn_error
5769
5770
5771 # as_fn_set_status STATUS
5772 # -----------------------
5773 # Set $? to STATUS, without forking.
5774 as_fn_set_status ()
5775 {
5776 return $1
5777 } # as_fn_set_status
5778
5779 # as_fn_exit STATUS
5780 # -----------------
5781 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5782 as_fn_exit ()
5783 {
5784 set +e
5785 as_fn_set_status $1
5786 exit $1
5787 } # as_fn_exit
5788
5789 # as_fn_unset VAR
5790 # ---------------
5791 # Portably unset VAR.
5792 as_fn_unset ()
5793 {
5794 { eval $1=; unset $1;}
5795 }
5796 as_unset=as_fn_unset
5797 # as_fn_append VAR VALUE
5798 # ----------------------
5799 # Append the text in VALUE to the end of the definition contained in VAR. Take
5800 # advantage of any shell optimizations that allow amortized linear growth over
5801 # repeated appends, instead of the typical quadratic growth present in naive
5802 # implementations.
5803 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5804 eval 'as_fn_append ()
5805 {
5806 eval $1+=\$2
5807 }'
5808 else
5809 as_fn_append ()
5810 {
5811 eval $1=\$$1\$2
5812 }
5813 fi # as_fn_append
5814
5815 # as_fn_arith ARG...
5816 # ------------------
5817 # Perform arithmetic evaluation on the ARGs, and store the result in the
5818 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5819 # must be portable across $(()) and expr.
5820 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5821 eval 'as_fn_arith ()
5822 {
5823 as_val=$(( $* ))
5824 }'
5825 else
5826 as_fn_arith ()
5827 {
5828 as_val=`expr "$@" || test $? -eq 1`
5829 }
5830 fi # as_fn_arith
5831
5832
6736 if expr a : '\(a\)' >/dev/null 2>&1 && 5833 if expr a : '\(a\)' >/dev/null 2>&1 &&
6737 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5834 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6738 as_expr=expr 5835 as_expr=expr
6739 else 5836 else
6740 as_expr=false 5837 as_expr=false
6744 as_basename=basename 5841 as_basename=basename
6745 else 5842 else
6746 as_basename=false 5843 as_basename=false
6747 fi 5844 fi
6748 5845
6749 5846 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6750 # Name of the executable. 5847 as_dirname=dirname
5848 else
5849 as_dirname=false
5850 fi
5851
6751 as_me=`$as_basename -- "$0" || 5852 as_me=`$as_basename -- "$0" ||
6752 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5853 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6753 X"$0" : 'X\(//\)$' \| \ 5854 X"$0" : 'X\(//\)$' \| \
6754 X"$0" : 'X\(/\)' \| . 2>/dev/null || 5855 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6755 echo X/"$0" | 5856 $as_echo X/"$0" |
6756 sed '/^.*\/\([^/][^/]*\)\/*$/{ 5857 sed '/^.*\/\([^/][^/]*\)\/*$/{
6757 s//\1/ 5858 s//\1/
6758 q 5859 q
6759 } 5860 }
6760 /^X\/\(\/\/\)$/{ 5861 /^X\/\(\/\/\)$/{
6765 s//\1/ 5866 s//\1/
6766 q 5867 q
6767 } 5868 }
6768 s/.*/./; q'` 5869 s/.*/./; q'`
6769 5870
6770 # CDPATH. 5871 # Avoid depending upon Character Ranges.
6771 $as_unset CDPATH 5872 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6772 5873 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6773 5874 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6774 5875 as_cr_digits='0123456789'
6775 as_lineno_1=$LINENO 5876 as_cr_alnum=$as_cr_Letters$as_cr_digits
6776 as_lineno_2=$LINENO
6777 test "x$as_lineno_1" != "x$as_lineno_2" &&
6778 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6779
6780 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6781 # uniformly replaced by the line number. The first 'sed' inserts a
6782 # line-number line after each line using $LINENO; the second 'sed'
6783 # does the real work. The second script uses 'N' to pair each
6784 # line-number line with the line containing $LINENO, and appends
6785 # trailing '-' during substitution so that $LINENO is not a special
6786 # case at line end.
6787 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6788 # scripts with optimization help from Paolo Bonzini. Blame Lee
6789 # E. McMahon (1931-1989) for sed's syntax. :-)
6790 sed -n '
6791 p
6792 /[$]LINENO/=
6793 ' <$as_myself |
6794 sed '
6795 s/[$]LINENO.*/&-/
6796 t lineno
6797 b
6798 :lineno
6799 N
6800 :loop
6801 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6802 t loop
6803 s/-\n.*//
6804 ' >$as_me.lineno &&
6805 chmod +x "$as_me.lineno" ||
6806 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6807 { (exit 1); exit 1; }; }
6808
6809 # Don't try to exec as it changes $[0], causing all sort of problems
6810 # (the dirname of $[0] is not the place where we might find the
6811 # original and so on. Autoconf is especially sensitive to this).
6812 . "./$as_me.lineno"
6813 # Exit status is that of the last command.
6814 exit
6815 }
6816
6817
6818 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6819 as_dirname=dirname
6820 else
6821 as_dirname=false
6822 fi
6823 5877
6824 ECHO_C= ECHO_N= ECHO_T= 5878 ECHO_C= ECHO_N= ECHO_T=
6825 case `echo -n x` in 5879 case `echo -n x` in #(((((
6826 -n*) 5880 -n*)
6827 case `echo 'x\c'` in 5881 case `echo 'xy\c'` in
6828 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5882 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6829 *) ECHO_C='\c';; 5883 xy) ECHO_C='\c';;
5884 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5885 ECHO_T=' ';;
6830 esac;; 5886 esac;;
6831 *) 5887 *)
6832 ECHO_N='-n';; 5888 ECHO_N='-n';;
6833 esac 5889 esac
6834 5890
6835 if expr a : '\(a\)' >/dev/null 2>&1 &&
6836 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6837 as_expr=expr
6838 else
6839 as_expr=false
6840 fi
6841
6842 rm -f conf$$ conf$$.exe conf$$.file 5891 rm -f conf$$ conf$$.exe conf$$.file
6843 if test -d conf$$.dir; then 5892 if test -d conf$$.dir; then
6844 rm -f conf$$.dir/conf$$.file 5893 rm -f conf$$.dir/conf$$.file
6845 else 5894 else
6846 rm -f conf$$.dir 5895 rm -f conf$$.dir
6847 mkdir conf$$.dir 5896 mkdir conf$$.dir 2>/dev/null
6848 fi 5897 fi
6849 echo >conf$$.file 5898 if (echo >conf$$.file) 2>/dev/null; then
6850 if ln -s conf$$.file conf$$ 2>/dev/null; then 5899 if ln -s conf$$.file conf$$ 2>/dev/null; then
6851 as_ln_s='ln -s' 5900 as_ln_s='ln -s'
6852 # ... but there are two gotchas: 5901 # ... but there are two gotchas:
6853 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5902 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6854 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5903 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6855 # In both cases, we have to default to `cp -p'. 5904 # In both cases, we have to default to `cp -p'.
6856 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5905 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5906 as_ln_s='cp -p'
5907 elif ln conf$$.file conf$$ 2>/dev/null; then
5908 as_ln_s=ln
5909 else
6857 as_ln_s='cp -p' 5910 as_ln_s='cp -p'
6858 elif ln conf$$.file conf$$ 2>/dev/null; then 5911 fi
6859 as_ln_s=ln
6860 else 5912 else
6861 as_ln_s='cp -p' 5913 as_ln_s='cp -p'
6862 fi 5914 fi
6863 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5915 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6864 rmdir conf$$.dir 2>/dev/null 5916 rmdir conf$$.dir 2>/dev/null
6865 5917
6866 if mkdir -p . 2>/dev/null; then 5918
6867 as_mkdir_p=: 5919 # as_fn_mkdir_p
6868 else 5920 # -------------
6869 test -d ./-p && rmdir ./-p 5921 # Create "$as_dir" as a directory, including parents if necessary.
6870 as_mkdir_p=false 5922 as_fn_mkdir_p ()
6871 fi
6872
6873 if test -x / >/dev/null 2>&1; then
6874 as_test_x='test -x'
6875 else
6876 if ls -dL / >/dev/null 2>&1; then
6877 as_ls_L_option=L
6878 else
6879 as_ls_L_option=
6880 fi
6881 as_test_x='
6882 eval sh -c '\''
6883 if test -d "$1"; then
6884 test -d "$1/.";
6885 else
6886 case $1 in
6887 -*)set "./$1";;
6888 esac;
6889 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6890 ???[sx]*):;;*)false;;esac;fi
6891 '\'' sh
6892 '
6893 fi
6894 as_executable_p=$as_test_x
6895
6896 # Sed expression to map a string onto a valid CPP name.
6897 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6898
6899 # Sed expression to map a string onto a valid variable name.
6900 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6901
6902
6903 exec 6>&1
6904
6905 # Save the log message, to keep $[0] and so on meaningful, and to
6906 # report actual input values of CONFIG_FILES etc. instead of their
6907 # values after options handling.
6908 ac_log="
6909 This file was extended by masqmail $as_me 0.2.21, which was
6910 generated by GNU Autoconf 2.61. Invocation command line was
6911
6912 CONFIG_FILES = $CONFIG_FILES
6913 CONFIG_HEADERS = $CONFIG_HEADERS
6914 CONFIG_LINKS = $CONFIG_LINKS
6915 CONFIG_COMMANDS = $CONFIG_COMMANDS
6916 $ $0 $@
6917
6918 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6919 "
6920
6921 _ACEOF
6922
6923 cat >>$CONFIG_STATUS <<_ACEOF
6924 # Files that config.status was made for.
6925 config_files="$ac_config_files"
6926 config_headers="$ac_config_headers"
6927 config_commands="$ac_config_commands"
6928
6929 _ACEOF
6930
6931 cat >>$CONFIG_STATUS <<\_ACEOF
6932 ac_cs_usage="\
6933 \`$as_me' instantiates files from templates according to the
6934 current configuration.
6935
6936 Usage: $0 [OPTIONS] [FILE]...
6937
6938 -h, --help print this help, then exit
6939 -V, --version print version number and configuration settings, then exit
6940 -q, --quiet do not print progress messages
6941 -d, --debug don't remove temporary files
6942 --recheck update $as_me by reconfiguring in the same conditions
6943 --file=FILE[:TEMPLATE]
6944 instantiate the configuration file FILE
6945 --header=FILE[:TEMPLATE]
6946 instantiate the configuration header FILE
6947
6948 Configuration files:
6949 $config_files
6950
6951 Configuration headers:
6952 $config_headers
6953
6954 Configuration commands:
6955 $config_commands
6956
6957 Report bugs to <bug-autoconf@gnu.org>."
6958
6959 _ACEOF
6960 cat >>$CONFIG_STATUS <<_ACEOF
6961 ac_cs_version="\\
6962 masqmail config.status 0.2.21
6963 configured by $0, generated by GNU Autoconf 2.61,
6964 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6965
6966 Copyright (C) 2006 Free Software Foundation, Inc.
6967 This config.status script is free software; the Free Software Foundation
6968 gives unlimited permission to copy, distribute and modify it."
6969
6970 ac_pwd='$ac_pwd'
6971 srcdir='$srcdir'
6972 INSTALL='$INSTALL'
6973 _ACEOF
6974
6975 cat >>$CONFIG_STATUS <<\_ACEOF
6976 # If no file are specified by the user, then we need to provide default
6977 # value. By we need to know if files were specified by the user.
6978 ac_need_defaults=:
6979 while test $# != 0
6980 do
6981 case $1 in
6982 --*=*)
6983 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6984 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6985 ac_shift=:
6986 ;;
6987 *)
6988 ac_option=$1
6989 ac_optarg=$2
6990 ac_shift=shift
6991 ;;
6992 esac
6993
6994 case $ac_option in
6995 # Handling of the options.
6996 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6997 ac_cs_recheck=: ;;
6998 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6999 echo "$ac_cs_version"; exit ;;
7000 --debug | --debu | --deb | --de | --d | -d )
7001 debug=: ;;
7002 --file | --fil | --fi | --f )
7003 $ac_shift
7004 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7005 ac_need_defaults=false;;
7006 --header | --heade | --head | --hea )
7007 $ac_shift
7008 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7009 ac_need_defaults=false;;
7010 --he | --h)
7011 # Conflict between --help and --header
7012 { echo "$as_me: error: ambiguous option: $1
7013 Try \`$0 --help' for more information." >&2
7014 { (exit 1); exit 1; }; };;
7015 --help | --hel | -h )
7016 echo "$ac_cs_usage"; exit ;;
7017 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7018 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7019 ac_cs_silent=: ;;
7020
7021 # This is an error.
7022 -*) { echo "$as_me: error: unrecognized option: $1
7023 Try \`$0 --help' for more information." >&2
7024 { (exit 1); exit 1; }; } ;;
7025
7026 *) ac_config_targets="$ac_config_targets $1"
7027 ac_need_defaults=false ;;
7028
7029 esac
7030 shift
7031 done
7032
7033 ac_configure_extra_args=
7034
7035 if $ac_cs_silent; then
7036 exec 6>/dev/null
7037 ac_configure_extra_args="$ac_configure_extra_args --silent"
7038 fi
7039
7040 _ACEOF
7041 cat >>$CONFIG_STATUS <<_ACEOF
7042 if \$ac_cs_recheck; then
7043 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7044 CONFIG_SHELL=$SHELL
7045 export CONFIG_SHELL
7046 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7047 fi
7048
7049 _ACEOF
7050 cat >>$CONFIG_STATUS <<\_ACEOF
7051 exec 5>>config.log
7052 { 5923 {
7053 echo 5924
7054 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7055 ## Running $as_me. ##
7056 _ASBOX
7057 echo "$ac_log"
7058 } >&5
7059
7060 _ACEOF
7061 cat >>$CONFIG_STATUS <<_ACEOF
7062 #
7063 # INIT-COMMANDS
7064 #
7065 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7066
7067 _ACEOF
7068
7069 cat >>$CONFIG_STATUS <<\_ACEOF
7070
7071 # Handling of arguments.
7072 for ac_config_target in $ac_config_targets
7073 do
7074 case $ac_config_target in
7075 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7076 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7077 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7078 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7079 "src/base64/Makefile") CONFIG_FILES="$CONFIG_FILES src/base64/Makefile" ;;
7080 "src/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/md5/Makefile" ;;
7081 "src/libident/Makefile") CONFIG_FILES="$CONFIG_FILES src/libident/Makefile" ;;
7082
7083 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7084 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7085 { (exit 1); exit 1; }; };;
7086 esac
7087 done
7088
7089
7090 # If the user did not use the arguments to specify the items to instantiate,
7091 # then the envvar interface is used. Set only those that are not.
7092 # We use the long form for the default assignment because of an extremely
7093 # bizarre bug on SunOS 4.1.3.
7094 if $ac_need_defaults; then
7095 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7096 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7097 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7098 fi
7099
7100 # Have a temporary directory for convenience. Make it in the build tree
7101 # simply because there is no reason against having it here, and in addition,
7102 # creating and moving files from /tmp can sometimes cause problems.
7103 # Hook for its removal unless debugging.
7104 # Note that there is a small window in which the directory will not be cleaned:
7105 # after its creation but before its name has been assigned to `$tmp'.
7106 $debug ||
7107 {
7108 tmp=
7109 trap 'exit_status=$?
7110 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7111 ' 0
7112 trap '{ (exit 1); exit 1; }' 1 2 13 15
7113 }
7114 # Create a (secure) tmp directory for tmp files.
7115
7116 {
7117 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7118 test -n "$tmp" && test -d "$tmp"
7119 } ||
7120 {
7121 tmp=./conf$$-$RANDOM
7122 (umask 077 && mkdir "$tmp")
7123 } ||
7124 {
7125 echo "$me: cannot create a temporary directory in ." >&2
7126 { (exit 1); exit 1; }
7127 }
7128
7129 #
7130 # Set up the sed scripts for CONFIG_FILES section.
7131 #
7132
7133 # No need to generate the scripts if there are no CONFIG_FILES.
7134 # This happens for instance when ./config.status config.h
7135 if test -n "$CONFIG_FILES"; then
7136
7137 _ACEOF
7138
7139
7140
7141 ac_delim='%!_!# '
7142 for ac_last_try in false false false false false :; do
7143 cat >conf$$subs.sed <<_ACEOF
7144 SHELL!$SHELL$ac_delim
7145 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7146 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7147 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7148 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7149 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7150 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7151 exec_prefix!$exec_prefix$ac_delim
7152 prefix!$prefix$ac_delim
7153 program_transform_name!$program_transform_name$ac_delim
7154 bindir!$bindir$ac_delim
7155 sbindir!$sbindir$ac_delim
7156 libexecdir!$libexecdir$ac_delim
7157 datarootdir!$datarootdir$ac_delim
7158 datadir!$datadir$ac_delim
7159 sysconfdir!$sysconfdir$ac_delim
7160 sharedstatedir!$sharedstatedir$ac_delim
7161 localstatedir!$localstatedir$ac_delim
7162 includedir!$includedir$ac_delim
7163 oldincludedir!$oldincludedir$ac_delim
7164 docdir!$docdir$ac_delim
7165 infodir!$infodir$ac_delim
7166 htmldir!$htmldir$ac_delim
7167 dvidir!$dvidir$ac_delim
7168 pdfdir!$pdfdir$ac_delim
7169 psdir!$psdir$ac_delim
7170 libdir!$libdir$ac_delim
7171 localedir!$localedir$ac_delim
7172 mandir!$mandir$ac_delim
7173 DEFS!$DEFS$ac_delim
7174 ECHO_C!$ECHO_C$ac_delim
7175 ECHO_N!$ECHO_N$ac_delim
7176 ECHO_T!$ECHO_T$ac_delim
7177 LIBS!$LIBS$ac_delim
7178 build_alias!$build_alias$ac_delim
7179 host_alias!$host_alias$ac_delim
7180 target_alias!$target_alias$ac_delim
7181 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7182 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7183 INSTALL_DATA!$INSTALL_DATA$ac_delim
7184 CYGPATH_W!$CYGPATH_W$ac_delim
7185 PACKAGE!$PACKAGE$ac_delim
7186 VERSION!$VERSION$ac_delim
7187 ACLOCAL!$ACLOCAL$ac_delim
7188 AUTOCONF!$AUTOCONF$ac_delim
7189 AUTOMAKE!$AUTOMAKE$ac_delim
7190 AUTOHEADER!$AUTOHEADER$ac_delim
7191 MAKEINFO!$MAKEINFO$ac_delim
7192 AMTAR!$AMTAR$ac_delim
7193 install_sh!$install_sh$ac_delim
7194 STRIP!$STRIP$ac_delim
7195 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
7196 AWK!$AWK$ac_delim
7197 SET_MAKE!$SET_MAKE$ac_delim
7198 am__leading_dot!$am__leading_dot$ac_delim
7199 CC!$CC$ac_delim
7200 CFLAGS!$CFLAGS$ac_delim
7201 LDFLAGS!$LDFLAGS$ac_delim
7202 CPPFLAGS!$CPPFLAGS$ac_delim
7203 ac_ct_CC!$ac_ct_CC$ac_delim
7204 EXEEXT!$EXEEXT$ac_delim
7205 OBJEXT!$OBJEXT$ac_delim
7206 DEPDIR!$DEPDIR$ac_delim
7207 am__include!$am__include$ac_delim
7208 am__quote!$am__quote$ac_delim
7209 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
7210 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
7211 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
7212 CCDEPMODE!$CCDEPMODE$ac_delim
7213 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
7214 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
7215 CPP!$CPP$ac_delim
7216 GREP!$GREP$ac_delim
7217 EGREP!$EGREP$ac_delim
7218 RANLIB!$RANLIB$ac_delim
7219 PKG_CONFIG!$PKG_CONFIG$ac_delim
7220 GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
7221 GLIB_LIBS!$GLIB_LIBS$ac_delim
7222 RESOLV_LIBS!$RESOLV_LIBS$ac_delim
7223 with_user!$with_user$ac_delim
7224 with_group!$with_group$ac_delim
7225 BASE64_LIBS!$BASE64_LIBS$ac_delim
7226 MD5_LIBS!$MD5_LIBS$ac_delim
7227 has_ident!$has_ident$ac_delim
7228 IDENT_LIBS!$IDENT_LIBS$ac_delim
7229 LOCKFILE_LIBS!$LOCKFILE_LIBS$ac_delim
7230 USE_LIBLOCKFILE!$USE_LIBLOCKFILE$ac_delim
7231 with_logdir!$with_logdir$ac_delim
7232 with_spooldir!$with_spooldir$ac_delim
7233 with_confdir!$with_confdir$ac_delim
7234 LIBOBJS!$LIBOBJS$ac_delim
7235 LTLIBOBJS!$LTLIBOBJS$ac_delim
7236 _ACEOF
7237
7238 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 92; then
7239 break
7240 elif $ac_last_try; then
7241 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7242 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7243 { (exit 1); exit 1; }; }
7244 else
7245 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7246 fi
7247 done
7248
7249 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7250 if test -n "$ac_eof"; then
7251 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7252 ac_eof=`expr $ac_eof + 1`
7253 fi
7254
7255 cat >>$CONFIG_STATUS <<_ACEOF
7256 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7257 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7258 _ACEOF
7259 sed '
7260 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7261 s/^/s,@/; s/!/@,|#_!!_#|/
7262 :n
7263 t n
7264 s/'"$ac_delim"'$/,g/; t
7265 s/$/\\/; p
7266 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7267 ' >>$CONFIG_STATUS <conf$$subs.sed
7268 rm -f conf$$subs.sed
7269 cat >>$CONFIG_STATUS <<_ACEOF
7270 :end
7271 s/|#_!!_#|//g
7272 CEOF$ac_eof
7273 _ACEOF
7274
7275
7276 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7277 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7278 # trailing colons and then remove the whole line if VPATH becomes empty
7279 # (actually we leave an empty line to preserve line numbers).
7280 if test "x$srcdir" = x.; then
7281 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7282 s/:*\$(srcdir):*/:/
7283 s/:*\${srcdir}:*/:/
7284 s/:*@srcdir@:*/:/
7285 s/^\([^=]*=[ ]*\):*/\1/
7286 s/:*$//
7287 s/^[^=]*=[ ]*$//
7288 }'
7289 fi
7290
7291 cat >>$CONFIG_STATUS <<\_ACEOF
7292 fi # test -n "$CONFIG_FILES"
7293
7294
7295 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
7296 do
7297 case $ac_tag in
7298 :[FHLC]) ac_mode=$ac_tag; continue;;
7299 esac
7300 case $ac_mode$ac_tag in
7301 :[FHL]*:*);;
7302 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7303 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7304 { (exit 1); exit 1; }; };;
7305 :[FH]-) ac_tag=-:-;;
7306 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7307 esac
7308 ac_save_IFS=$IFS
7309 IFS=:
7310 set x $ac_tag
7311 IFS=$ac_save_IFS
7312 shift
7313 ac_file=$1
7314 shift
7315
7316 case $ac_mode in
7317 :L) ac_source=$1;;
7318 :[FH])
7319 ac_file_inputs=
7320 for ac_f
7321 do
7322 case $ac_f in
7323 -) ac_f="$tmp/stdin";;
7324 *) # Look for the file first in the build tree, then in the source tree
7325 # (if the path is not absolute). The absolute path cannot be DOS-style,
7326 # because $ac_f cannot contain `:'.
7327 test -f "$ac_f" ||
7328 case $ac_f in
7329 [\\/$]*) false;;
7330 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7331 esac ||
7332 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7333 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7334 { (exit 1); exit 1; }; };;
7335 esac
7336 ac_file_inputs="$ac_file_inputs $ac_f"
7337 done
7338
7339 # Let's still pretend it is `configure' which instantiates (i.e., don't
7340 # use $as_me), people would be surprised to read:
7341 # /* config.h. Generated by config.status. */
7342 configure_input="Generated from "`IFS=:
7343 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7344 if test x"$ac_file" != x-; then
7345 configure_input="$ac_file. $configure_input"
7346 { echo "$as_me:$LINENO: creating $ac_file" >&5
7347 echo "$as_me: creating $ac_file" >&6;}
7348 fi
7349
7350 case $ac_tag in
7351 *:-:* | *:-) cat >"$tmp/stdin";;
7352 esac
7353 ;;
7354 esac
7355
7356 ac_dir=`$as_dirname -- "$ac_file" ||
7357 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7358 X"$ac_file" : 'X\(//\)[^/]' \| \
7359 X"$ac_file" : 'X\(//\)$' \| \
7360 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7361 echo X"$ac_file" |
7362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7363 s//\1/
7364 q
7365 }
7366 /^X\(\/\/\)[^/].*/{
7367 s//\1/
7368 q
7369 }
7370 /^X\(\/\/\)$/{
7371 s//\1/
7372 q
7373 }
7374 /^X\(\/\).*/{
7375 s//\1/
7376 q
7377 }
7378 s/.*/./; q'`
7379 { as_dir="$ac_dir"
7380 case $as_dir in #( 5925 case $as_dir in #(
7381 -*) as_dir=./$as_dir;; 5926 -*) as_dir=./$as_dir;;
7382 esac 5927 esac
7383 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 5928 test -d "$as_dir" || eval $as_mkdir_p || {
7384 as_dirs= 5929 as_dirs=
7385 while :; do 5930 while :; do
7386 case $as_dir in #( 5931 case $as_dir in #(
7387 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 5932 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7388 *) as_qdir=$as_dir;; 5933 *) as_qdir=$as_dir;;
7389 esac 5934 esac
7390 as_dirs="'$as_qdir' $as_dirs" 5935 as_dirs="'$as_qdir' $as_dirs"
7391 as_dir=`$as_dirname -- "$as_dir" || 5936 as_dir=`$as_dirname -- "$as_dir" ||
7392 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5937 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7393 X"$as_dir" : 'X\(//\)[^/]' \| \ 5938 X"$as_dir" : 'X\(//\)[^/]' \| \
7394 X"$as_dir" : 'X\(//\)$' \| \ 5939 X"$as_dir" : 'X\(//\)$' \| \
7395 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5940 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7396 echo X"$as_dir" | 5941 $as_echo X"$as_dir" |
7397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5942 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7398 s//\1/ 5943 s//\1/
7399 q 5944 q
7400 } 5945 }
7401 /^X\(\/\/\)[^/].*/{ 5946 /^X\(\/\/\)[^/].*/{
7412 } 5957 }
7413 s/.*/./; q'` 5958 s/.*/./; q'`
7414 test -d "$as_dir" && break 5959 test -d "$as_dir" && break
7415 done 5960 done
7416 test -z "$as_dirs" || eval "mkdir $as_dirs" 5961 test -z "$as_dirs" || eval "mkdir $as_dirs"
7417 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 5962 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
7418 echo "$as_me: error: cannot create directory $as_dir" >&2;} 5963
7419 { (exit 1); exit 1; }; }; } 5964
5965 } # as_fn_mkdir_p
5966 if mkdir -p . 2>/dev/null; then
5967 as_mkdir_p='mkdir -p "$as_dir"'
5968 else
5969 test -d ./-p && rmdir ./-p
5970 as_mkdir_p=false
5971 fi
5972
5973 if test -x / >/dev/null 2>&1; then
5974 as_test_x='test -x'
5975 else
5976 if ls -dL / >/dev/null 2>&1; then
5977 as_ls_L_option=L
5978 else
5979 as_ls_L_option=
5980 fi
5981 as_test_x='
5982 eval sh -c '\''
5983 if test -d "$1"; then
5984 test -d "$1/.";
5985 else
5986 case $1 in #(
5987 -*)set "./$1";;
5988 esac;
5989 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5990 ???[sx]*):;;*)false;;esac;fi
5991 '\'' sh
5992 '
5993 fi
5994 as_executable_p=$as_test_x
5995
5996 # Sed expression to map a string onto a valid CPP name.
5997 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5998
5999 # Sed expression to map a string onto a valid variable name.
6000 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6001
6002
6003 exec 6>&1
6004 ## ----------------------------------- ##
6005 ## Main body of $CONFIG_STATUS script. ##
6006 ## ----------------------------------- ##
6007 _ASEOF
6008 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6009
6010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6011 # Save the log message, to keep $0 and so on meaningful, and to
6012 # report actual input values of CONFIG_FILES etc. instead of their
6013 # values after options handling.
6014 ac_log="
6015 This file was extended by masqmail $as_me 0.2.21, which was
6016 generated by GNU Autoconf 2.65. Invocation command line was
6017
6018 CONFIG_FILES = $CONFIG_FILES
6019 CONFIG_HEADERS = $CONFIG_HEADERS
6020 CONFIG_LINKS = $CONFIG_LINKS
6021 CONFIG_COMMANDS = $CONFIG_COMMANDS
6022 $ $0 $@
6023
6024 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6025 "
6026
6027 _ACEOF
6028
6029 case $ac_config_files in *"
6030 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6031 esac
6032
6033 case $ac_config_headers in *"
6034 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6035 esac
6036
6037
6038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6039 # Files that config.status was made for.
6040 config_files="$ac_config_files"
6041 config_headers="$ac_config_headers"
6042 config_commands="$ac_config_commands"
6043
6044 _ACEOF
6045
6046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6047 ac_cs_usage="\
6048 \`$as_me' instantiates files and other configuration actions
6049 from templates according to the current configuration. Unless the files
6050 and actions are specified as TAGs, all are instantiated by default.
6051
6052 Usage: $0 [OPTION]... [TAG]...
6053
6054 -h, --help print this help, then exit
6055 -V, --version print version number and configuration settings, then exit
6056 --config print configuration, then exit
6057 -q, --quiet, --silent
6058 do not print progress messages
6059 -d, --debug don't remove temporary files
6060 --recheck update $as_me by reconfiguring in the same conditions
6061 --file=FILE[:TEMPLATE]
6062 instantiate the configuration file FILE
6063 --header=FILE[:TEMPLATE]
6064 instantiate the configuration header FILE
6065
6066 Configuration files:
6067 $config_files
6068
6069 Configuration headers:
6070 $config_headers
6071
6072 Configuration commands:
6073 $config_commands
6074
6075 Report bugs to <meillo@marmaro.de>."
6076
6077 _ACEOF
6078 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6079 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6080 ac_cs_version="\\
6081 masqmail config.status 0.2.21
6082 configured by $0, generated by GNU Autoconf 2.65,
6083 with options \\"\$ac_cs_config\\"
6084
6085 Copyright (C) 2009 Free Software Foundation, Inc.
6086 This config.status script is free software; the Free Software Foundation
6087 gives unlimited permission to copy, distribute and modify it."
6088
6089 ac_pwd='$ac_pwd'
6090 srcdir='$srcdir'
6091 INSTALL='$INSTALL'
6092 MKDIR_P='$MKDIR_P'
6093 AWK='$AWK'
6094 test -n "\$AWK" || AWK=awk
6095 _ACEOF
6096
6097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6098 # The default lists apply if the user does not specify any file.
6099 ac_need_defaults=:
6100 while test $# != 0
6101 do
6102 case $1 in
6103 --*=*)
6104 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6105 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6106 ac_shift=:
6107 ;;
6108 *)
6109 ac_option=$1
6110 ac_optarg=$2
6111 ac_shift=shift
6112 ;;
6113 esac
6114
6115 case $ac_option in
6116 # Handling of the options.
6117 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6118 ac_cs_recheck=: ;;
6119 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6120 $as_echo "$ac_cs_version"; exit ;;
6121 --config | --confi | --conf | --con | --co | --c )
6122 $as_echo "$ac_cs_config"; exit ;;
6123 --debug | --debu | --deb | --de | --d | -d )
6124 debug=: ;;
6125 --file | --fil | --fi | --f )
6126 $ac_shift
6127 case $ac_optarg in
6128 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6129 esac
6130 as_fn_append CONFIG_FILES " '$ac_optarg'"
6131 ac_need_defaults=false;;
6132 --header | --heade | --head | --hea )
6133 $ac_shift
6134 case $ac_optarg in
6135 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6136 esac
6137 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6138 ac_need_defaults=false;;
6139 --he | --h)
6140 # Conflict between --help and --header
6141 as_fn_error "ambiguous option: \`$1'
6142 Try \`$0 --help' for more information.";;
6143 --help | --hel | -h )
6144 $as_echo "$ac_cs_usage"; exit ;;
6145 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6146 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6147 ac_cs_silent=: ;;
6148
6149 # This is an error.
6150 -*) as_fn_error "unrecognized option: \`$1'
6151 Try \`$0 --help' for more information." ;;
6152
6153 *) as_fn_append ac_config_targets " $1"
6154 ac_need_defaults=false ;;
6155
6156 esac
6157 shift
6158 done
6159
6160 ac_configure_extra_args=
6161
6162 if $ac_cs_silent; then
6163 exec 6>/dev/null
6164 ac_configure_extra_args="$ac_configure_extra_args --silent"
6165 fi
6166
6167 _ACEOF
6168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6169 if \$ac_cs_recheck; then
6170 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6171 shift
6172 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6173 CONFIG_SHELL='$SHELL'
6174 export CONFIG_SHELL
6175 exec "\$@"
6176 fi
6177
6178 _ACEOF
6179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6180 exec 5>>config.log
6181 {
6182 echo
6183 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6184 ## Running $as_me. ##
6185 _ASBOX
6186 $as_echo "$ac_log"
6187 } >&5
6188
6189 _ACEOF
6190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6191 #
6192 # INIT-COMMANDS
6193 #
6194 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6195
6196 _ACEOF
6197
6198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6199
6200 # Handling of arguments.
6201 for ac_config_target in $ac_config_targets
6202 do
6203 case $ac_config_target in
6204 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6205 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6206 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6207 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6208 "src/base64/Makefile") CONFIG_FILES="$CONFIG_FILES src/base64/Makefile" ;;
6209 "src/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/md5/Makefile" ;;
6210 "src/libident/Makefile") CONFIG_FILES="$CONFIG_FILES src/libident/Makefile" ;;
6211
6212 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6213 esac
6214 done
6215
6216
6217 # If the user did not use the arguments to specify the items to instantiate,
6218 # then the envvar interface is used. Set only those that are not.
6219 # We use the long form for the default assignment because of an extremely
6220 # bizarre bug on SunOS 4.1.3.
6221 if $ac_need_defaults; then
6222 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6223 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6224 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6225 fi
6226
6227 # Have a temporary directory for convenience. Make it in the build tree
6228 # simply because there is no reason against having it here, and in addition,
6229 # creating and moving files from /tmp can sometimes cause problems.
6230 # Hook for its removal unless debugging.
6231 # Note that there is a small window in which the directory will not be cleaned:
6232 # after its creation but before its name has been assigned to `$tmp'.
6233 $debug ||
6234 {
6235 tmp=
6236 trap 'exit_status=$?
6237 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6238 ' 0
6239 trap 'as_fn_exit 1' 1 2 13 15
6240 }
6241 # Create a (secure) tmp directory for tmp files.
6242
6243 {
6244 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6245 test -n "$tmp" && test -d "$tmp"
6246 } ||
6247 {
6248 tmp=./conf$$-$RANDOM
6249 (umask 077 && mkdir "$tmp")
6250 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
6251
6252 # Set up the scripts for CONFIG_FILES section.
6253 # No need to generate them if there are no CONFIG_FILES.
6254 # This happens for instance with `./config.status config.h'.
6255 if test -n "$CONFIG_FILES"; then
6256
6257
6258 ac_cr=`echo X | tr X '\015'`
6259 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6260 # But we know of no other shell where ac_cr would be empty at this
6261 # point, so we can use a bashism as a fallback.
6262 if test "x$ac_cr" = x; then
6263 eval ac_cr=\$\'\\r\'
6264 fi
6265 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6266 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6267 ac_cs_awk_cr='\r'
6268 else
6269 ac_cs_awk_cr=$ac_cr
6270 fi
6271
6272 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6273 _ACEOF
6274
6275
6276 {
6277 echo "cat >conf$$subs.awk <<_ACEOF" &&
6278 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6279 echo "_ACEOF"
6280 } >conf$$subs.sh ||
6281 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6282 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6283 ac_delim='%!_!# '
6284 for ac_last_try in false false false false false :; do
6285 . ./conf$$subs.sh ||
6286 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6287
6288 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6289 if test $ac_delim_n = $ac_delim_num; then
6290 break
6291 elif $ac_last_try; then
6292 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6293 else
6294 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6295 fi
6296 done
6297 rm -f conf$$subs.sh
6298
6299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6300 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6301 _ACEOF
6302 sed -n '
6303 h
6304 s/^/S["/; s/!.*/"]=/
6305 p
6306 g
6307 s/^[^!]*!//
6308 :repl
6309 t repl
6310 s/'"$ac_delim"'$//
6311 t delim
6312 :nl
6313 h
6314 s/\(.\{148\}\)..*/\1/
6315 t more1
6316 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6317 p
6318 n
6319 b repl
6320 :more1
6321 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6322 p
6323 g
6324 s/.\{148\}//
6325 t nl
6326 :delim
6327 h
6328 s/\(.\{148\}\)..*/\1/
6329 t more2
6330 s/["\\]/\\&/g; s/^/"/; s/$/"/
6331 p
6332 b
6333 :more2
6334 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6335 p
6336 g
6337 s/.\{148\}//
6338 t delim
6339 ' <conf$$subs.awk | sed '
6340 /^[^""]/{
6341 N
6342 s/\n//
6343 }
6344 ' >>$CONFIG_STATUS || ac_write_fail=1
6345 rm -f conf$$subs.awk
6346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6347 _ACAWK
6348 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6349 for (key in S) S_is_set[key] = 1
6350 FS = ""
6351
6352 }
6353 {
6354 line = $ 0
6355 nfields = split(line, field, "@")
6356 substed = 0
6357 len = length(field[1])
6358 for (i = 2; i < nfields; i++) {
6359 key = field[i]
6360 keylen = length(key)
6361 if (S_is_set[key]) {
6362 value = S[key]
6363 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6364 len += length(value) + length(field[++i])
6365 substed = 1
6366 } else
6367 len += 1 + keylen
6368 }
6369
6370 print line
6371 }
6372
6373 _ACAWK
6374 _ACEOF
6375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6376 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6377 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6378 else
6379 cat
6380 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6381 || as_fn_error "could not setup config files machinery" "$LINENO" 5
6382 _ACEOF
6383
6384 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6385 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6386 # trailing colons and then remove the whole line if VPATH becomes empty
6387 # (actually we leave an empty line to preserve line numbers).
6388 if test "x$srcdir" = x.; then
6389 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6390 s/:*\$(srcdir):*/:/
6391 s/:*\${srcdir}:*/:/
6392 s/:*@srcdir@:*/:/
6393 s/^\([^=]*=[ ]*\):*/\1/
6394 s/:*$//
6395 s/^[^=]*=[ ]*$//
6396 }'
6397 fi
6398
6399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6400 fi # test -n "$CONFIG_FILES"
6401
6402 # Set up the scripts for CONFIG_HEADERS section.
6403 # No need to generate them if there are no CONFIG_HEADERS.
6404 # This happens for instance with `./config.status Makefile'.
6405 if test -n "$CONFIG_HEADERS"; then
6406 cat >"$tmp/defines.awk" <<\_ACAWK ||
6407 BEGIN {
6408 _ACEOF
6409
6410 # Transform confdefs.h into an awk script `defines.awk', embedded as
6411 # here-document in config.status, that substitutes the proper values into
6412 # config.h.in to produce config.h.
6413
6414 # Create a delimiter string that does not exist in confdefs.h, to ease
6415 # handling of long lines.
6416 ac_delim='%!_!# '
6417 for ac_last_try in false false :; do
6418 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6419 if test -z "$ac_t"; then
6420 break
6421 elif $ac_last_try; then
6422 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
6423 else
6424 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6425 fi
6426 done
6427
6428 # For the awk script, D is an array of macro values keyed by name,
6429 # likewise P contains macro parameters if any. Preserve backslash
6430 # newline sequences.
6431
6432 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6433 sed -n '
6434 s/.\{148\}/&'"$ac_delim"'/g
6435 t rset
6436 :rset
6437 s/^[ ]*#[ ]*define[ ][ ]*/ /
6438 t def
6439 d
6440 :def
6441 s/\\$//
6442 t bsnl
6443 s/["\\]/\\&/g
6444 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6445 D["\1"]=" \3"/p
6446 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6447 d
6448 :bsnl
6449 s/["\\]/\\&/g
6450 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6451 D["\1"]=" \3\\\\\\n"\\/p
6452 t cont
6453 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6454 t cont
6455 d
6456 :cont
6457 n
6458 s/.\{148\}/&'"$ac_delim"'/g
6459 t clear
6460 :clear
6461 s/\\$//
6462 t bsnlc
6463 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6464 d
6465 :bsnlc
6466 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6467 b cont
6468 ' <confdefs.h | sed '
6469 s/'"$ac_delim"'/"\\\
6470 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6471
6472 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6473 for (key in D) D_is_set[key] = 1
6474 FS = ""
6475 }
6476 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6477 line = \$ 0
6478 split(line, arg, " ")
6479 if (arg[1] == "#") {
6480 defundef = arg[2]
6481 mac1 = arg[3]
6482 } else {
6483 defundef = substr(arg[1], 2)
6484 mac1 = arg[2]
6485 }
6486 split(mac1, mac2, "(") #)
6487 macro = mac2[1]
6488 prefix = substr(line, 1, index(line, defundef) - 1)
6489 if (D_is_set[macro]) {
6490 # Preserve the white space surrounding the "#".
6491 print prefix "define", macro P[macro] D[macro]
6492 next
6493 } else {
6494 # Replace #undef with comments. This is necessary, for example,
6495 # in the case of _POSIX_SOURCE, which is predefined and required
6496 # on some systems where configure will not decide to define it.
6497 if (defundef == "undef") {
6498 print "/*", prefix defundef, macro, "*/"
6499 next
6500 }
6501 }
6502 }
6503 { print }
6504 _ACAWK
6505 _ACEOF
6506 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6507 as_fn_error "could not setup config headers machinery" "$LINENO" 5
6508 fi # test -n "$CONFIG_HEADERS"
6509
6510
6511 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6512 shift
6513 for ac_tag
6514 do
6515 case $ac_tag in
6516 :[FHLC]) ac_mode=$ac_tag; continue;;
6517 esac
6518 case $ac_mode$ac_tag in
6519 :[FHL]*:*);;
6520 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
6521 :[FH]-) ac_tag=-:-;;
6522 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6523 esac
6524 ac_save_IFS=$IFS
6525 IFS=:
6526 set x $ac_tag
6527 IFS=$ac_save_IFS
6528 shift
6529 ac_file=$1
6530 shift
6531
6532 case $ac_mode in
6533 :L) ac_source=$1;;
6534 :[FH])
6535 ac_file_inputs=
6536 for ac_f
6537 do
6538 case $ac_f in
6539 -) ac_f="$tmp/stdin";;
6540 *) # Look for the file first in the build tree, then in the source tree
6541 # (if the path is not absolute). The absolute path cannot be DOS-style,
6542 # because $ac_f cannot contain `:'.
6543 test -f "$ac_f" ||
6544 case $ac_f in
6545 [\\/$]*) false;;
6546 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6547 esac ||
6548 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6549 esac
6550 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6551 as_fn_append ac_file_inputs " '$ac_f'"
6552 done
6553
6554 # Let's still pretend it is `configure' which instantiates (i.e., don't
6555 # use $as_me), people would be surprised to read:
6556 # /* config.h. Generated by config.status. */
6557 configure_input='Generated from '`
6558 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6559 `' by configure.'
6560 if test x"$ac_file" != x-; then
6561 configure_input="$ac_file. $configure_input"
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6563 $as_echo "$as_me: creating $ac_file" >&6;}
6564 fi
6565 # Neutralize special characters interpreted by sed in replacement strings.
6566 case $configure_input in #(
6567 *\&* | *\|* | *\\* )
6568 ac_sed_conf_input=`$as_echo "$configure_input" |
6569 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6570 *) ac_sed_conf_input=$configure_input;;
6571 esac
6572
6573 case $ac_tag in
6574 *:-:* | *:-) cat >"$tmp/stdin" \
6575 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
6576 esac
6577 ;;
6578 esac
6579
6580 ac_dir=`$as_dirname -- "$ac_file" ||
6581 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6582 X"$ac_file" : 'X\(//\)[^/]' \| \
6583 X"$ac_file" : 'X\(//\)$' \| \
6584 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6585 $as_echo X"$ac_file" |
6586 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6587 s//\1/
6588 q
6589 }
6590 /^X\(\/\/\)[^/].*/{
6591 s//\1/
6592 q
6593 }
6594 /^X\(\/\/\)$/{
6595 s//\1/
6596 q
6597 }
6598 /^X\(\/\).*/{
6599 s//\1/
6600 q
6601 }
6602 s/.*/./; q'`
6603 as_dir="$ac_dir"; as_fn_mkdir_p
7420 ac_builddir=. 6604 ac_builddir=.
7421 6605
7422 case "$ac_dir" in 6606 case "$ac_dir" in
7423 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 6607 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7424 *) 6608 *)
7425 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 6609 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7426 # A ".." for each directory in $ac_dir_suffix. 6610 # A ".." for each directory in $ac_dir_suffix.
7427 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 6611 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7428 case $ac_top_builddir_sub in 6612 case $ac_top_builddir_sub in
7429 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 6613 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7430 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 6614 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7431 esac ;; 6615 esac ;;
7432 esac 6616 esac
7460 6644
7461 case $INSTALL in 6645 case $INSTALL in
7462 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 6646 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7463 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 6647 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7464 esac 6648 esac
7465 _ACEOF 6649 ac_MKDIR_P=$MKDIR_P
7466 6650 case $MKDIR_P in
7467 cat >>$CONFIG_STATUS <<\_ACEOF 6651 [\\/$]* | ?:[\\/]* ) ;;
6652 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6653 esac
6654 _ACEOF
6655
6656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7468 # If the template does not know about datarootdir, expand it. 6657 # If the template does not know about datarootdir, expand it.
7469 # FIXME: This hack should be removed a few years after 2.60. 6658 # FIXME: This hack should be removed a few years after 2.60.
7470 ac_datarootdir_hack=; ac_datarootdir_seen= 6659 ac_datarootdir_hack=; ac_datarootdir_seen=
7471 6660 ac_sed_dataroot='
7472 case `sed -n '/datarootdir/ { 6661 /datarootdir/ {
7473 p 6662 p
7474 q 6663 q
7475 } 6664 }
7476 /@datadir@/p 6665 /@datadir@/p
7477 /@docdir@/p 6666 /@docdir@/p
7478 /@infodir@/p 6667 /@infodir@/p
7479 /@localedir@/p 6668 /@localedir@/p
7480 /@mandir@/p 6669 /@mandir@/p'
7481 ' $ac_file_inputs` in 6670 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7482 *datarootdir*) ac_datarootdir_seen=yes;; 6671 *datarootdir*) ac_datarootdir_seen=yes;;
7483 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 6672 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7484 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 6673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7485 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 6674 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7486 _ACEOF 6675 _ACEOF
7487 cat >>$CONFIG_STATUS <<_ACEOF 6676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7488 ac_datarootdir_hack=' 6677 ac_datarootdir_hack='
7489 s&@datadir@&$datadir&g 6678 s&@datadir@&$datadir&g
7490 s&@docdir@&$docdir&g 6679 s&@docdir@&$docdir&g
7491 s&@infodir@&$infodir&g 6680 s&@infodir@&$infodir&g
7492 s&@localedir@&$localedir&g 6681 s&@localedir@&$localedir&g
7493 s&@mandir@&$mandir&g 6682 s&@mandir@&$mandir&g
7494 s&\\\${datarootdir}&$datarootdir&g' ;; 6683 s&\\\${datarootdir}&$datarootdir&g' ;;
7495 esac 6684 esac
7496 _ACEOF 6685 _ACEOF
7497 6686
7498 # Neutralize VPATH when `$srcdir' = `.'. 6687 # Neutralize VPATH when `$srcdir' = `.'.
7499 # Shell code in configure.ac might set extrasub. 6688 # Shell code in configure.ac might set extrasub.
7500 # FIXME: do we really want to maintain this feature? 6689 # FIXME: do we really want to maintain this feature?
7501 cat >>$CONFIG_STATUS <<_ACEOF 6690 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7502 sed "$ac_vpsub 6691 ac_sed_extra="$ac_vpsub
7503 $extrasub 6692 $extrasub
7504 _ACEOF 6693 _ACEOF
7505 cat >>$CONFIG_STATUS <<\_ACEOF 6694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7506 :t 6695 :t
7507 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6696 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7508 s&@configure_input@&$configure_input&;t t 6697 s|@configure_input@|$ac_sed_conf_input|;t t
7509 s&@top_builddir@&$ac_top_builddir_sub&;t t 6698 s&@top_builddir@&$ac_top_builddir_sub&;t t
6699 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7510 s&@srcdir@&$ac_srcdir&;t t 6700 s&@srcdir@&$ac_srcdir&;t t
7511 s&@abs_srcdir@&$ac_abs_srcdir&;t t 6701 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7512 s&@top_srcdir@&$ac_top_srcdir&;t t 6702 s&@top_srcdir@&$ac_top_srcdir&;t t
7513 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 6703 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7514 s&@builddir@&$ac_builddir&;t t 6704 s&@builddir@&$ac_builddir&;t t
7515 s&@abs_builddir@&$ac_abs_builddir&;t t 6705 s&@abs_builddir@&$ac_abs_builddir&;t t
7516 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 6706 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7517 s&@INSTALL@&$ac_INSTALL&;t t 6707 s&@INSTALL@&$ac_INSTALL&;t t
6708 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7518 $ac_datarootdir_hack 6709 $ac_datarootdir_hack
7519 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 6710 "
6711 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6712 || as_fn_error "could not create $ac_file" "$LINENO" 5
7520 6713
7521 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6714 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7522 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 6715 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7523 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 6716 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7524 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7525 which seems to be undefined. Please make sure it is defined." >&5 6718 which seems to be undefined. Please make sure it is defined." >&5
7526 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6719 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7527 which seems to be undefined. Please make sure it is defined." >&2;} 6720 which seems to be undefined. Please make sure it is defined." >&2;}
7528 6721
7529 rm -f "$tmp/stdin" 6722 rm -f "$tmp/stdin"
7530 case $ac_file in 6723 case $ac_file in
7531 -) cat "$tmp/out"; rm -f "$tmp/out";; 6724 -) cat "$tmp/out" && rm -f "$tmp/out";;
7532 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 6725 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
7533 esac 6726 esac \
6727 || as_fn_error "could not create $ac_file" "$LINENO" 5
7534 ;; 6728 ;;
7535 :H) 6729 :H)
7536 # 6730 #
7537 # CONFIG_HEADER 6731 # CONFIG_HEADER
7538 # 6732 #
7539 _ACEOF
7540
7541 # Transform confdefs.h into a sed script `conftest.defines', that
7542 # substitutes the proper values into config.h.in to produce config.h.
7543 rm -f conftest.defines conftest.tail
7544 # First, append a space to every undef/define line, to ease matching.
7545 echo 's/$/ /' >conftest.defines
7546 # Then, protect against being on the right side of a sed subst, or in
7547 # an unquoted here document, in config.status. If some macros were
7548 # called several times there might be several #defines for the same
7549 # symbol, which is useless. But do not sort them, since the last
7550 # AC_DEFINE must be honored.
7551 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7552 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7553 # NAME is the cpp macro being defined, VALUE is the value it is being given.
7554 # PARAMS is the parameter list in the macro definition--in most cases, it's
7555 # just an empty string.
7556 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
7557 ac_dB='\\)[ (].*,\\1define\\2'
7558 ac_dC=' '
7559 ac_dD=' ,'
7560
7561 uniq confdefs.h |
7562 sed -n '
7563 t rset
7564 :rset
7565 s/^[ ]*#[ ]*define[ ][ ]*//
7566 t ok
7567 d
7568 :ok
7569 s/[\\&,]/\\&/g
7570 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
7571 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
7572 ' >>conftest.defines
7573
7574 # Remove the space that was appended to ease matching.
7575 # Then replace #undef with comments. This is necessary, for
7576 # example, in the case of _POSIX_SOURCE, which is predefined and required
7577 # on some systems where configure will not decide to define it.
7578 # (The regexp can be short, since the line contains either #define or #undef.)
7579 echo 's/ $//
7580 s,^[ #]*u.*,/* & */,' >>conftest.defines
7581
7582 # Break up conftest.defines:
7583 ac_max_sed_lines=50
7584
7585 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
7586 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
7587 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
7588 # et cetera.
7589 ac_in='$ac_file_inputs'
7590 ac_out='"$tmp/out1"'
7591 ac_nxt='"$tmp/out2"'
7592
7593 while :
7594 do
7595 # Write a here document:
7596 cat >>$CONFIG_STATUS <<_ACEOF
7597 # First, check the format of the line:
7598 cat >"\$tmp/defines.sed" <<\\CEOF
7599 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
7600 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
7601 b
7602 :def
7603 _ACEOF
7604 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
7605 echo 'CEOF
7606 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
7607 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
7608 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
7609 grep . conftest.tail >/dev/null || break
7610 rm -f conftest.defines
7611 mv conftest.tail conftest.defines
7612 done
7613 rm -f conftest.defines conftest.tail
7614
7615 echo "ac_result=$ac_in" >>$CONFIG_STATUS
7616 cat >>$CONFIG_STATUS <<\_ACEOF
7617 if test x"$ac_file" != x-; then 6733 if test x"$ac_file" != x-; then
7618 echo "/* $configure_input */" >"$tmp/config.h" 6734 {
7619 cat "$ac_result" >>"$tmp/config.h" 6735 $as_echo "/* $configure_input */" \
7620 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 6736 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
7621 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 6737 } >"$tmp/config.h" \
7622 echo "$as_me: $ac_file is unchanged" >&6;} 6738 || as_fn_error "could not create $ac_file" "$LINENO" 5
6739 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6741 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7623 else 6742 else
7624 rm -f $ac_file 6743 rm -f "$ac_file"
7625 mv "$tmp/config.h" $ac_file 6744 mv "$tmp/config.h" "$ac_file" \
6745 || as_fn_error "could not create $ac_file" "$LINENO" 5
7626 fi 6746 fi
7627 else 6747 else
7628 echo "/* $configure_input */" 6748 $as_echo "/* $configure_input */" \
7629 cat "$ac_result" 6749 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6750 || as_fn_error "could not create -" "$LINENO" 5
7630 fi 6751 fi
7631 rm -f "$tmp/out12" 6752 # Compute "$ac_file"'s index in $config_headers.
7632 # Compute $ac_file's index in $config_headers. 6753 _am_arg="$ac_file"
7633 _am_stamp_count=1 6754 _am_stamp_count=1
7634 for _am_header in $config_headers :; do 6755 for _am_header in $config_headers :; do
7635 case $_am_header in 6756 case $_am_header in
7636 $ac_file | $ac_file:* ) 6757 $_am_arg | $_am_arg:* )
7637 break ;; 6758 break ;;
7638 * ) 6759 * )
7639 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 6760 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7640 esac 6761 esac
7641 done 6762 done
7642 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file || 6763 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7643 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6764 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7644 X$ac_file : 'X\(//\)[^/]' \| \ 6765 X"$_am_arg" : 'X\(//\)[^/]' \| \
7645 X$ac_file : 'X\(//\)$' \| \ 6766 X"$_am_arg" : 'X\(//\)$' \| \
7646 X$ac_file : 'X\(/\)' \| . 2>/dev/null || 6767 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7647 echo X$ac_file | 6768 $as_echo X"$_am_arg" |
7648 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7649 s//\1/ 6770 s//\1/
7650 q 6771 q
7651 } 6772 }
7652 /^X\(\/\/\)[^/].*/{ 6773 /^X\(\/\/\)[^/].*/{
7662 q 6783 q
7663 } 6784 }
7664 s/.*/./; q'`/stamp-h$_am_stamp_count 6785 s/.*/./; q'`/stamp-h$_am_stamp_count
7665 ;; 6786 ;;
7666 6787
7667 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 6788 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7668 echo "$as_me: executing $ac_file commands" >&6;} 6789 $as_echo "$as_me: executing $ac_file commands" >&6;}
7669 ;; 6790 ;;
7670 esac 6791 esac
7671 6792
7672 6793
7673 case $ac_file$ac_mode in 6794 case $ac_file$ac_mode in
7674 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 6795 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7675 # Strip MF so we end up with the name of the file. 6796 # Autoconf 2.62 quotes --file arguments for eval, but not when files
7676 mf=`echo "$mf" | sed -e 's/:.*$//'` 6797 # are listed without --file. Let's play safe and only enable the eval
7677 # Check whether this is an Automake generated Makefile or not. 6798 # if we detect the quoting.
7678 # We used to match only the files named `Makefile.in', but 6799 case $CONFIG_FILES in
7679 # some people rename them; so instead we look at the file content. 6800 *\'*) eval set x "$CONFIG_FILES" ;;
7680 # Grep'ing the first line is not enough: some people post-process 6801 *) set x $CONFIG_FILES ;;
7681 # each Makefile.in and add a new line on top of each file to say so. 6802 esac
7682 # So let's grep whole file. 6803 shift
7683 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 6804 for mf
7684 dirpart=`$as_dirname -- "$mf" || 6805 do
6806 # Strip MF so we end up with the name of the file.
6807 mf=`echo "$mf" | sed -e 's/:.*$//'`
6808 # Check whether this is an Automake generated Makefile or not.
6809 # We used to match only the files named `Makefile.in', but
6810 # some people rename them; so instead we look at the file content.
6811 # Grep'ing the first line is not enough: some people post-process
6812 # each Makefile.in and add a new line on top of each file to say so.
6813 # Grep'ing the whole file is not good either: AIX grep has a line
6814 # limit of 2048, but all sed's we know have understand at least 4000.
6815 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6816 dirpart=`$as_dirname -- "$mf" ||
7685 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6817 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7686 X"$mf" : 'X\(//\)[^/]' \| \ 6818 X"$mf" : 'X\(//\)[^/]' \| \
7687 X"$mf" : 'X\(//\)$' \| \ 6819 X"$mf" : 'X\(//\)$' \| \
7688 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 6820 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7689 echo X"$mf" | 6821 $as_echo X"$mf" |
7690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6822 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7691 s//\1/ 6823 s//\1/
7692 q 6824 q
7693 } 6825 }
7694 /^X\(\/\/\)[^/].*/{ 6826 /^X\(\/\/\)[^/].*/{
7702 /^X\(\/\).*/{ 6834 /^X\(\/\).*/{
7703 s//\1/ 6835 s//\1/
7704 q 6836 q
7705 } 6837 }
7706 s/.*/./; q'` 6838 s/.*/./; q'`
7707 else 6839 else
7708 continue 6840 continue
7709 fi 6841 fi
7710 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 6842 # Extract the definition of DEPDIR, am__include, and am__quote
7711 # Extract the definition of DEP_FILES from the Makefile without 6843 # from the Makefile without running `make'.
7712 # running `make'. 6844 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7713 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 6845 test -z "$DEPDIR" && continue
7714 test -z "$DEPDIR" && continue 6846 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7715 # When using ansi2knr, U may be empty or an underscore; expand it 6847 test -z "am__include" && continue
7716 U=`sed -n -e '/^U = / s///p' < "$mf"` 6848 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7717 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 6849 # When using ansi2knr, U may be empty or an underscore; expand it
7718 # We invoke sed twice because it is the simplest approach to 6850 U=`sed -n 's/^U = //p' < "$mf"`
7719 # changing $(DEPDIR) to its actual value in the expansion. 6851 # Find all dependency output files, they are included files with
7720 for file in `sed -n -e ' 6852 # $(DEPDIR) in their names. We invoke sed twice because it is the
7721 /^DEP_FILES = .*\\\\$/ { 6853 # simplest approach to changing $(DEPDIR) to its actual value in the
7722 s/^DEP_FILES = // 6854 # expansion.
7723 :loop 6855 for file in `sed -n "
7724 s/\\\\$// 6856 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7725 p 6857 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7726 n 6858 # Make sure the directory exists.
7727 /\\\\$/ b loop 6859 test -f "$dirpart/$file" && continue
7728 p 6860 fdir=`$as_dirname -- "$file" ||
7729 }
7730 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7731 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7732 # Make sure the directory exists.
7733 test -f "$dirpart/$file" && continue
7734 fdir=`$as_dirname -- "$file" ||
7735 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6861 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7736 X"$file" : 'X\(//\)[^/]' \| \ 6862 X"$file" : 'X\(//\)[^/]' \| \
7737 X"$file" : 'X\(//\)$' \| \ 6863 X"$file" : 'X\(//\)$' \| \
7738 X"$file" : 'X\(/\)' \| . 2>/dev/null || 6864 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7739 echo X"$file" | 6865 $as_echo X"$file" |
7740 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7741 s//\1/ 6867 s//\1/
7742 q 6868 q
7743 } 6869 }
7744 /^X\(\/\/\)[^/].*/{ 6870 /^X\(\/\/\)[^/].*/{
7752 /^X\(\/\).*/{ 6878 /^X\(\/\).*/{
7753 s//\1/ 6879 s//\1/
7754 q 6880 q
7755 } 6881 }
7756 s/.*/./; q'` 6882 s/.*/./; q'`
7757 { as_dir=$dirpart/$fdir 6883 as_dir=$dirpart/$fdir; as_fn_mkdir_p
7758 case $as_dir in #( 6884 # echo "creating $dirpart/$file"
7759 -*) as_dir=./$as_dir;; 6885 echo '# dummy' > "$dirpart/$file"
7760 esac
7761 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7762 as_dirs=
7763 while :; do
7764 case $as_dir in #(
7765 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7766 *) as_qdir=$as_dir;;
7767 esac
7768 as_dirs="'$as_qdir' $as_dirs"
7769 as_dir=`$as_dirname -- "$as_dir" ||
7770 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7771 X"$as_dir" : 'X\(//\)[^/]' \| \
7772 X"$as_dir" : 'X\(//\)$' \| \
7773 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7774 echo X"$as_dir" |
7775 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7776 s//\1/
7777 q
7778 }
7779 /^X\(\/\/\)[^/].*/{
7780 s//\1/
7781 q
7782 }
7783 /^X\(\/\/\)$/{
7784 s//\1/
7785 q
7786 }
7787 /^X\(\/\).*/{
7788 s//\1/
7789 q
7790 }
7791 s/.*/./; q'`
7792 test -d "$as_dir" && break
7793 done 6886 done
7794 test -z "$as_dirs" || eval "mkdir $as_dirs"
7795 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7796 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7797 { (exit 1); exit 1; }; }; }
7798 # echo "creating $dirpart/$file"
7799 echo '# dummy' > "$dirpart/$file"
7800 done 6887 done
7801 done 6888 }
7802 ;; 6889 ;;
7803 6890
7804 esac 6891 esac
7805 done # for ac_tag 6892 done # for ac_tag
7806 6893
7807 6894
7808 { (exit 0); exit 0; } 6895 as_fn_exit 0
7809 _ACEOF 6896 _ACEOF
7810 chmod +x $CONFIG_STATUS
7811 ac_clean_files=$ac_clean_files_save 6897 ac_clean_files=$ac_clean_files_save
6898
6899 test $ac_write_fail = 0 ||
6900 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
7812 6901
7813 6902
7814 # configure is writing to config.log, and then calls config.status. 6903 # configure is writing to config.log, and then calls config.status.
7815 # config.status does its own redirection, appending to config.log. 6904 # config.status does its own redirection, appending to config.log.
7816 # Unfortunately, on DOS this fails, as config.log is still kept open 6905 # Unfortunately, on DOS this fails, as config.log is still kept open
7827 exec 5>/dev/null 6916 exec 5>/dev/null
7828 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6917 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7829 exec 5>>config.log 6918 exec 5>>config.log
7830 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6919 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7831 # would make configure fail if this is the last instruction. 6920 # would make configure fail if this is the last instruction.
7832 $ac_cs_success || { (exit 1); exit 1; } 6921 $ac_cs_success || as_fn_exit $?
7833 fi 6922 fi
7834 6923 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6925 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6926 fi
6927