Mercurial > masqmail
annotate configure @ 204:5745edd5b769
removed the --disable-smtp-server configure option
masqmail will now always have the possibility to listen on a port compiled in
if you don't want it to listen on a port add this to your masqmail.conf:
listen_addresses = ""
also, if you don't start it as daemon it will not listen neither
author | meillo@marmaro.de |
---|---|
date | Fri, 16 Jul 2010 15:38:53 +0200 |
parents | 45acc5727493 |
children | 4fd237550525 |
rev | line source |
---|---|
0 | 1 #! /bin/sh |
2 # Guess values for system-dependent variables and create Makefiles. | |
159 | 3 # Generated by GNU Autoconf 2.65 for masqmail 0.3.0. |
0 | 4 # |
36 | 5 # Report bugs to <meillo@marmaro.de>. |
6 # | |
0 | 7 # |
1 | 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
36 | 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
10 # Inc. | |
11 # | |
12 # | |
0 | 13 # This configure script is free software; the Free Software Foundation |
14 # gives unlimited permission to copy, distribute and modify it. | |
36 | 15 ## -------------------- ## |
16 ## M4sh Initialization. ## | |
17 ## -------------------- ## | |
0 | 18 |
1 | 19 # Be more Bourne compatible |
20 DUALCASE=1; export DUALCASE # for MKS sh | |
36 | 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
0 | 22 emulate sh |
23 NULLCMD=: | |
36 | 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
0 | 25 # is contrary to our usage. Disable this feature. |
26 alias -g '${1+"$@"}'='"$@"' | |
1 | 27 setopt NO_GLOB_SUBST |
28 else | |
36 | 29 case `(set -o) 2>/dev/null` in #( |
30 *posix*) : | |
31 set -o posix ;; #( | |
32 *) : | |
33 ;; | |
1 | 34 esac |
36 | 35 fi |
36 | |
37 | |
38 as_nl=' | |
39 ' | |
40 export as_nl | |
41 # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
45 # Prefer a ksh shell builtin over an external printf program on Solaris, | |
46 # but without wasting forks for bash or zsh. | |
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 | |
0 | 75 |
76 # The user is always right. | |
77 if test "${PATH_SEPARATOR+set}" != set; then | |
36 | 78 PATH_SEPARATOR=: |
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
81 PATH_SEPARATOR=';' | |
82 } | |
1 | 83 fi |
84 | |
85 | |
86 # IFS | |
87 # We need space, tab and new line, in precisely that order. Quoting is | |
88 # there to prevent editors from complaining about space-tab. | |
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
90 # splitting by setting IFS to empty value.) | |
91 IFS=" "" $as_nl" | |
92 | |
93 # Find who we are. Look in the path if we contain no directory separator. | |
36 | 94 case $0 in #(( |
1 | 95 *[\\/]* ) as_myself=$0 ;; |
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
0 | 97 for as_dir in $PATH |
98 do | |
99 IFS=$as_save_IFS | |
100 test -z "$as_dir" && as_dir=. | |
36 | 101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
102 done | |
1 | 103 IFS=$as_save_IFS |
104 | |
105 ;; | |
106 esac | |
107 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
108 # in which case we are not to be found in the path. | |
109 if test "x$as_myself" = x; then | |
110 as_myself=$0 | |
111 fi | |
112 if test ! -f "$as_myself"; then | |
36 | 113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
114 exit 1 | |
115 fi | |
116 | |
117 # Unset variables that we do not need and which cause bugs (e.g. in | |
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
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 || : | |
1 | 124 done |
125 PS1='$ ' | |
126 PS2='> ' | |
127 PS4='+ ' | |
128 | |
129 # NLS nuisances. | |
36 | 130 LC_ALL=C |
131 export LC_ALL | |
132 LANGUAGE=C | |
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 | |
1 | 188 do |
36 | 189 IFS=$as_save_IFS |
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." | |
1 | 232 else |
36 | 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." | |
0 | 238 fi |
36 | 239 exit 1 |
240 fi | |
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 | |
1 | 378 if expr a : '\(a\)' >/dev/null 2>&1 && |
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
380 as_expr=expr | |
381 else | |
382 as_expr=false | |
383 fi | |
384 | |
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
386 as_basename=basename | |
387 else | |
388 as_basename=false | |
389 fi | |
390 | |
36 | 391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
392 as_dirname=dirname | |
393 else | |
394 as_dirname=false | |
395 fi | |
396 | |
1 | 397 as_me=`$as_basename -- "$0" || |
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
399 X"$0" : 'X\(//\)$' \| \ | |
400 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
36 | 401 $as_echo X/"$0" | |
1 | 402 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
403 s//\1/ | |
404 q | |
405 } | |
406 /^X\/\(\/\/\)$/{ | |
407 s//\1/ | |
408 q | |
409 } | |
410 /^X\/\(\/\).*/{ | |
411 s//\1/ | |
412 q | |
413 } | |
414 s/.*/./; q'` | |
415 | |
36 | 416 # Avoid depending upon Character Ranges. |
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
420 as_cr_digits='0123456789' | |
421 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
422 | |
423 | |
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO | |
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO | |
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | |
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | |
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | |
1 | 429 sed -n ' |
430 p | |
431 /[$]LINENO/= | |
432 ' <$as_myself | | |
0 | 433 sed ' |
1 | 434 s/[$]LINENO.*/&-/ |
435 t lineno | |
436 b | |
437 :lineno | |
0 | 438 N |
1 | 439 :loop |
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
0 | 441 t loop |
1 | 442 s/-\n.*// |
0 | 443 ' >$as_me.lineno && |
1 | 444 chmod +x "$as_me.lineno" || |
36 | 445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
0 | 446 |
447 # Don't try to exec as it changes $[0], causing all sort of problems | |
448 # (the dirname of $[0] is not the place where we might find the | |
1 | 449 # original and so on. Autoconf is especially sensitive to this). |
450 . "./$as_me.lineno" | |
0 | 451 # Exit status is that of the last command. |
452 exit | |
453 } | |
454 | |
1 | 455 ECHO_C= ECHO_N= ECHO_T= |
36 | 456 case `echo -n x` in #((((( |
1 | 457 -n*) |
36 | 458 case `echo 'xy\c'` in |
1 | 459 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
36 | 460 xy) ECHO_C='\c';; |
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
462 ECHO_T=' ';; | |
1 | 463 esac;; |
464 *) | |
465 ECHO_N='-n';; | |
0 | 466 esac |
467 | |
468 rm -f conf$$ conf$$.exe conf$$.file | |
1 | 469 if test -d conf$$.dir; then |
470 rm -f conf$$.dir/conf$$.file | |
471 else | |
472 rm -f conf$$.dir | |
36 | 473 mkdir conf$$.dir 2>/dev/null |
474 fi | |
475 if (echo >conf$$.file) 2>/dev/null; then | |
476 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
477 as_ln_s='ln -s' | |
478 # ... but there are two gotchas: | |
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
481 # In both cases, we have to default to `cp -p'. | |
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 | |
0 | 487 as_ln_s='cp -p' |
36 | 488 fi |
0 | 489 else |
490 as_ln_s='cp -p' | |
491 fi | |
1 | 492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
493 rmdir conf$$.dir 2>/dev/null | |
0 | 494 |
495 if mkdir -p . 2>/dev/null; then | |
36 | 496 as_mkdir_p='mkdir -p "$as_dir"' |
0 | 497 else |
498 test -d ./-p && rmdir ./-p | |
499 as_mkdir_p=false | |
500 fi | |
501 | |
1 | 502 if test -x / >/dev/null 2>&1; then |
503 as_test_x='test -x' | |
504 else | |
505 if ls -dL / >/dev/null 2>&1; then | |
506 as_ls_L_option=L | |
507 else | |
508 as_ls_L_option= | |
509 fi | |
510 as_test_x=' | |
511 eval sh -c '\'' | |
512 if test -d "$1"; then | |
36 | 513 test -d "$1/."; |
1 | 514 else |
36 | 515 case $1 in #( |
516 -*)set "./$1";; | |
1 | 517 esac; |
36 | 518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
1 | 519 ???[sx]*):;;*)false;;esac;fi |
520 '\'' sh | |
521 ' | |
522 fi | |
523 as_executable_p=$as_test_x | |
0 | 524 |
525 # Sed expression to map a string onto a valid CPP name. | |
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
527 | |
528 # Sed expression to map a string onto a valid variable name. | |
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
530 | |
531 | |
36 | 532 test -n "$DJDIR" || exec 7<&0 </dev/null |
533 exec 6>&1 | |
0 | 534 |
535 # Name of the host. | |
536 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | |
537 # so uname gets run too. | |
538 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
539 | |
540 # | |
541 # Initializations. | |
542 # | |
543 ac_default_prefix=/usr/local | |
1 | 544 ac_clean_files= |
0 | 545 ac_config_libobj_dir=. |
1 | 546 LIBOBJS= |
0 | 547 cross_compiling=no |
548 subdirs= | |
549 MFLAGS= | |
550 MAKEFLAGS= | |
551 | |
552 # Identity of this package. | |
553 PACKAGE_NAME='masqmail' | |
554 PACKAGE_TARNAME='masqmail' | |
159 | 555 PACKAGE_VERSION='0.3.0' |
556 PACKAGE_STRING='masqmail 0.3.0' | |
36 | 557 PACKAGE_BUGREPORT='meillo@marmaro.de' |
558 PACKAGE_URL='' | |
0 | 559 |
560 ac_unique_file="src/masqmail.c" | |
561 # Factoring default headers for most tests. | |
562 ac_includes_default="\ | |
563 #include <stdio.h> | |
1 | 564 #ifdef HAVE_SYS_TYPES_H |
0 | 565 # include <sys/types.h> |
566 #endif | |
1 | 567 #ifdef HAVE_SYS_STAT_H |
0 | 568 # include <sys/stat.h> |
569 #endif | |
1 | 570 #ifdef STDC_HEADERS |
0 | 571 # include <stdlib.h> |
572 # include <stddef.h> | |
573 #else | |
1 | 574 # ifdef HAVE_STDLIB_H |
0 | 575 # include <stdlib.h> |
576 # endif | |
577 #endif | |
1 | 578 #ifdef HAVE_STRING_H |
579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | |
0 | 580 # include <memory.h> |
581 # endif | |
582 # include <string.h> | |
583 #endif | |
1 | 584 #ifdef HAVE_STRINGS_H |
0 | 585 # include <strings.h> |
586 #endif | |
1 | 587 #ifdef HAVE_INTTYPES_H |
0 | 588 # include <inttypes.h> |
589 #endif | |
1 | 590 #ifdef HAVE_STDINT_H |
591 # include <stdint.h> | |
592 #endif | |
593 #ifdef HAVE_UNISTD_H | |
0 | 594 # include <unistd.h> |
595 #endif" | |
596 | |
36 | 597 ac_subst_vars='am__EXEEXT_FALSE |
598 am__EXEEXT_TRUE | |
599 LTLIBOBJS | |
600 LIBOBJS | |
601 with_confdir | |
602 with_spooldir | |
603 with_logdir | |
604 USE_LIBLOCKFILE | |
605 LOCKFILE_LIBS | |
606 IDENT_LIBS | |
607 has_ident | |
608 MD5_LIBS | |
609 BASE64_LIBS | |
610 with_group | |
611 with_user | |
612 RESOLV_LIBS | |
613 GLIB_LIBS | |
614 GLIB_CFLAGS | |
54
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
615 PKG_CONFIG_LIBDIR |
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
616 PKG_CONFIG_PATH |
36 | 617 PKG_CONFIG |
618 RANLIB | |
619 EGREP | |
620 GREP | |
621 CPP | |
622 am__fastdepCC_FALSE | |
623 am__fastdepCC_TRUE | |
624 CCDEPMODE | |
625 AMDEPBACKSLASH | |
626 AMDEP_FALSE | |
627 AMDEP_TRUE | |
628 am__quote | |
629 am__include | |
630 DEPDIR | |
631 OBJEXT | |
632 EXEEXT | |
633 ac_ct_CC | |
634 CPPFLAGS | |
635 LDFLAGS | |
636 CFLAGS | |
637 CC | |
638 am__untar | |
639 am__tar | |
640 AMTAR | |
641 am__leading_dot | |
642 SET_MAKE | |
643 AWK | |
644 mkdir_p | |
645 MKDIR_P | |
646 INSTALL_STRIP_PROGRAM | |
647 STRIP | |
648 install_sh | |
649 MAKEINFO | |
650 AUTOHEADER | |
651 AUTOMAKE | |
652 AUTOCONF | |
653 ACLOCAL | |
654 VERSION | |
655 PACKAGE | |
656 CYGPATH_W | |
657 am__isrc | |
1 | 658 INSTALL_DATA |
36 | 659 INSTALL_SCRIPT |
660 INSTALL_PROGRAM | |
661 target_alias | |
662 host_alias | |
663 build_alias | |
664 LIBS | |
665 ECHO_T | |
666 ECHO_N | |
667 ECHO_C | |
668 DEFS | |
669 mandir | |
670 localedir | |
671 libdir | |
672 psdir | |
673 pdfdir | |
674 dvidir | |
675 htmldir | |
676 infodir | |
677 docdir | |
678 oldincludedir | |
679 includedir | |
680 localstatedir | |
681 sharedstatedir | |
682 sysconfdir | |
683 datadir | |
684 datarootdir | |
685 libexecdir | |
686 sbindir | |
687 bindir | |
688 program_transform_name | |
689 prefix | |
690 exec_prefix | |
691 PACKAGE_URL | |
692 PACKAGE_BUGREPORT | |
693 PACKAGE_STRING | |
694 PACKAGE_VERSION | |
695 PACKAGE_TARNAME | |
696 PACKAGE_NAME | |
697 PATH_SEPARATOR | |
698 SHELL' | |
699 ac_subst_files='' | |
700 ac_user_opts=' | |
701 enable_option_checking | |
702 enable_dependency_tracking | |
703 enable_resolver | |
1 | 704 with_user |
705 with_group | |
36 | 706 enable_debug |
707 enable_auth | |
708 enable_maildir | |
709 with_libcrypto | |
710 enable_ident | |
711 with_liblockfile | |
1 | 712 with_logdir |
713 with_spooldir | |
714 with_confdir | |
36 | 715 ' |
1 | 716 ac_precious_vars='build_alias |
717 host_alias | |
718 target_alias | |
719 CC | |
720 CFLAGS | |
721 LDFLAGS | |
722 LIBS | |
723 CPPFLAGS | |
724 CPP | |
725 PKG_CONFIG | |
54
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
726 PKG_CONFIG_PATH |
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
727 PKG_CONFIG_LIBDIR |
1 | 728 GLIB_CFLAGS |
729 GLIB_LIBS' | |
730 | |
0 | 731 |
732 # Initialize some variables set by options. | |
733 ac_init_help= | |
734 ac_init_version=false | |
36 | 735 ac_unrecognized_opts= |
736 ac_unrecognized_sep= | |
0 | 737 # The variables have the same names as the options, with |
738 # dashes changed to underlines. | |
739 cache_file=/dev/null | |
740 exec_prefix=NONE | |
741 no_create= | |
742 no_recursion= | |
743 prefix=NONE | |
744 program_prefix=NONE | |
745 program_suffix=NONE | |
746 program_transform_name=s,x,x, | |
747 silent= | |
748 site= | |
749 srcdir= | |
750 verbose= | |
751 x_includes=NONE | |
752 x_libraries=NONE | |
753 | |
754 # Installation directory options. | |
755 # These are left unexpanded so users can "make install exec_prefix=/foo" | |
756 # and all the variables that are supposed to be based on exec_prefix | |
757 # by default will actually change. | |
758 # Use braces instead of parens because sh, perl, etc. also accept them. | |
1 | 759 # (The list follows the same order as the GNU Coding Standards.) |
0 | 760 bindir='${exec_prefix}/bin' |
761 sbindir='${exec_prefix}/sbin' | |
762 libexecdir='${exec_prefix}/libexec' | |
1 | 763 datarootdir='${prefix}/share' |
764 datadir='${datarootdir}' | |
0 | 765 sysconfdir='${prefix}/etc' |
766 sharedstatedir='${prefix}/com' | |
767 localstatedir='${prefix}/var' | |
768 includedir='${prefix}/include' | |
769 oldincludedir='/usr/include' | |
1 | 770 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
771 infodir='${datarootdir}/info' | |
772 htmldir='${docdir}' | |
773 dvidir='${docdir}' | |
774 pdfdir='${docdir}' | |
775 psdir='${docdir}' | |
776 libdir='${exec_prefix}/lib' | |
777 localedir='${datarootdir}/locale' | |
778 mandir='${datarootdir}/man' | |
0 | 779 |
780 ac_prev= | |
1 | 781 ac_dashdash= |
0 | 782 for ac_option |
783 do | |
784 # If the previous option needs an argument, assign it. | |
785 if test -n "$ac_prev"; then | |
1 | 786 eval $ac_prev=\$ac_option |
0 | 787 ac_prev= |
788 continue | |
789 fi | |
790 | |
1 | 791 case $ac_option in |
792 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
793 *) ac_optarg=yes ;; | |
794 esac | |
0 | 795 |
796 # Accept the important Cygnus configure options, so we can diagnose typos. | |
797 | |
1 | 798 case $ac_dashdash$ac_option in |
799 --) | |
800 ac_dashdash=yes ;; | |
0 | 801 |
802 -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
803 ac_prev=bindir ;; | |
804 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
805 bindir=$ac_optarg ;; | |
806 | |
807 -build | --build | --buil | --bui | --bu) | |
808 ac_prev=build_alias ;; | |
809 -build=* | --build=* | --buil=* | --bui=* | --bu=*) | |
810 build_alias=$ac_optarg ;; | |
811 | |
812 -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
813 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
814 ac_prev=cache_file ;; | |
815 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
816 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
817 cache_file=$ac_optarg ;; | |
818 | |
819 --config-cache | -C) | |
820 cache_file=config.cache ;; | |
821 | |
1 | 822 -datadir | --datadir | --datadi | --datad) |
0 | 823 ac_prev=datadir ;; |
1 | 824 -datadir=* | --datadir=* | --datadi=* | --datad=*) |
0 | 825 datadir=$ac_optarg ;; |
826 | |
1 | 827 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
828 | --dataroo | --dataro | --datar) | |
829 ac_prev=datarootdir ;; | |
830 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
831 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
832 datarootdir=$ac_optarg ;; | |
833 | |
0 | 834 -disable-* | --disable-*) |
36 | 835 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
0 | 836 # Reject names that are not valid shell variable names. |
36 | 837 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
838 as_fn_error "invalid feature name: $ac_useropt" | |
839 ac_useropt_orig=$ac_useropt | |
840 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
841 case $ac_user_opts in | |
842 *" | |
843 "enable_$ac_useropt" | |
844 "*) ;; | |
845 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | |
846 ac_unrecognized_sep=', ';; | |
847 esac | |
848 eval enable_$ac_useropt=no ;; | |
1 | 849 |
850 -docdir | --docdir | --docdi | --doc | --do) | |
851 ac_prev=docdir ;; | |
852 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
853 docdir=$ac_optarg ;; | |
854 | |
855 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
856 ac_prev=dvidir ;; | |
857 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
858 dvidir=$ac_optarg ;; | |
0 | 859 |
860 -enable-* | --enable-*) | |
36 | 861 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
0 | 862 # Reject names that are not valid shell variable names. |
36 | 863 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
864 as_fn_error "invalid feature name: $ac_useropt" | |
865 ac_useropt_orig=$ac_useropt | |
866 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
867 case $ac_user_opts in | |
868 *" | |
869 "enable_$ac_useropt" | |
870 "*) ;; | |
871 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | |
872 ac_unrecognized_sep=', ';; | |
873 esac | |
874 eval enable_$ac_useropt=\$ac_optarg ;; | |
0 | 875 |
876 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
877 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
878 | --exec | --exe | --ex) | |
879 ac_prev=exec_prefix ;; | |
880 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
881 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
882 | --exec=* | --exe=* | --ex=*) | |
883 exec_prefix=$ac_optarg ;; | |
884 | |
885 -gas | --gas | --ga | --g) | |
886 # Obsolete; use --with-gas. | |
887 with_gas=yes ;; | |
888 | |
889 -help | --help | --hel | --he | -h) | |
890 ac_init_help=long ;; | |
891 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
892 ac_init_help=recursive ;; | |
893 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
894 ac_init_help=short ;; | |
895 | |
896 -host | --host | --hos | --ho) | |
897 ac_prev=host_alias ;; | |
898 -host=* | --host=* | --hos=* | --ho=*) | |
899 host_alias=$ac_optarg ;; | |
900 | |
1 | 901 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
902 ac_prev=htmldir ;; | |
903 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
904 | --ht=*) | |
905 htmldir=$ac_optarg ;; | |
906 | |
0 | 907 -includedir | --includedir | --includedi | --included | --include \ |
908 | --includ | --inclu | --incl | --inc) | |
909 ac_prev=includedir ;; | |
910 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
911 | --includ=* | --inclu=* | --incl=* | --inc=*) | |
912 includedir=$ac_optarg ;; | |
913 | |
914 -infodir | --infodir | --infodi | --infod | --info | --inf) | |
915 ac_prev=infodir ;; | |
916 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
917 infodir=$ac_optarg ;; | |
918 | |
919 -libdir | --libdir | --libdi | --libd) | |
920 ac_prev=libdir ;; | |
921 -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
922 libdir=$ac_optarg ;; | |
923 | |
924 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
925 | --libexe | --libex | --libe) | |
926 ac_prev=libexecdir ;; | |
927 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
928 | --libexe=* | --libex=* | --libe=*) | |
929 libexecdir=$ac_optarg ;; | |
930 | |
1 | 931 -localedir | --localedir | --localedi | --localed | --locale) |
932 ac_prev=localedir ;; | |
933 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
934 localedir=$ac_optarg ;; | |
935 | |
0 | 936 -localstatedir | --localstatedir | --localstatedi | --localstated \ |
1 | 937 | --localstate | --localstat | --localsta | --localst | --locals) |
0 | 938 ac_prev=localstatedir ;; |
939 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
1 | 940 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
0 | 941 localstatedir=$ac_optarg ;; |
942 | |
943 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
944 ac_prev=mandir ;; | |
945 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
946 mandir=$ac_optarg ;; | |
947 | |
948 -nfp | --nfp | --nf) | |
949 # Obsolete; use --without-fp. | |
950 with_fp=no ;; | |
951 | |
952 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
953 | --no-cr | --no-c | -n) | |
954 no_create=yes ;; | |
955 | |
956 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
957 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
958 no_recursion=yes ;; | |
959 | |
960 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
961 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
962 | --oldin | --oldi | --old | --ol | --o) | |
963 ac_prev=oldincludedir ;; | |
964 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
965 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
966 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
967 oldincludedir=$ac_optarg ;; | |
968 | |
969 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
970 ac_prev=prefix ;; | |
971 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
972 prefix=$ac_optarg ;; | |
973 | |
974 -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
975 | --program-pre | --program-pr | --program-p) | |
976 ac_prev=program_prefix ;; | |
977 -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
978 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
979 program_prefix=$ac_optarg ;; | |
980 | |
981 -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
982 | --program-suf | --program-su | --program-s) | |
983 ac_prev=program_suffix ;; | |
984 -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
985 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
986 program_suffix=$ac_optarg ;; | |
987 | |
988 -program-transform-name | --program-transform-name \ | |
989 | --program-transform-nam | --program-transform-na \ | |
990 | --program-transform-n | --program-transform- \ | |
991 | --program-transform | --program-transfor \ | |
992 | --program-transfo | --program-transf \ | |
993 | --program-trans | --program-tran \ | |
994 | --progr-tra | --program-tr | --program-t) | |
995 ac_prev=program_transform_name ;; | |
996 -program-transform-name=* | --program-transform-name=* \ | |
997 | --program-transform-nam=* | --program-transform-na=* \ | |
998 | --program-transform-n=* | --program-transform-=* \ | |
999 | --program-transform=* | --program-transfor=* \ | |
1000 | --program-transfo=* | --program-transf=* \ | |
1001 | --program-trans=* | --program-tran=* \ | |
1002 | --progr-tra=* | --program-tr=* | --program-t=*) | |
1003 program_transform_name=$ac_optarg ;; | |
1004 | |
1 | 1005 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
1006 ac_prev=pdfdir ;; | |
1007 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
1008 pdfdir=$ac_optarg ;; | |
1009 | |
1010 -psdir | --psdir | --psdi | --psd | --ps) | |
1011 ac_prev=psdir ;; | |
1012 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
1013 psdir=$ac_optarg ;; | |
1014 | |
0 | 1015 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1016 | -silent | --silent | --silen | --sile | --sil) | |
1017 silent=yes ;; | |
1018 | |
1019 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
1020 ac_prev=sbindir ;; | |
1021 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
1022 | --sbi=* | --sb=*) | |
1023 sbindir=$ac_optarg ;; | |
1024 | |
1025 -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
1026 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
1027 | --sharedst | --shareds | --shared | --share | --shar \ | |
1028 | --sha | --sh) | |
1029 ac_prev=sharedstatedir ;; | |
1030 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
1031 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
1032 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
1033 | --sha=* | --sh=*) | |
1034 sharedstatedir=$ac_optarg ;; | |
1035 | |
1036 -site | --site | --sit) | |
1037 ac_prev=site ;; | |
1038 -site=* | --site=* | --sit=*) | |
1039 site=$ac_optarg ;; | |
1040 | |
1041 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
1042 ac_prev=srcdir ;; | |
1043 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
1044 srcdir=$ac_optarg ;; | |
1045 | |
1046 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
1047 | --syscon | --sysco | --sysc | --sys | --sy) | |
1048 ac_prev=sysconfdir ;; | |
1049 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
1050 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
1051 sysconfdir=$ac_optarg ;; | |
1052 | |
1053 -target | --target | --targe | --targ | --tar | --ta | --t) | |
1054 ac_prev=target_alias ;; | |
1055 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | |
1056 target_alias=$ac_optarg ;; | |
1057 | |
1058 -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
1059 verbose=yes ;; | |
1060 | |
1061 -version | --version | --versio | --versi | --vers | -V) | |
1062 ac_init_version=: ;; | |
1063 | |
1064 -with-* | --with-*) | |
36 | 1065 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
0 | 1066 # Reject names that are not valid shell variable names. |
36 | 1067 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1068 as_fn_error "invalid package name: $ac_useropt" | |
1069 ac_useropt_orig=$ac_useropt | |
1070 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
1071 case $ac_user_opts in | |
1072 *" | |
1073 "with_$ac_useropt" | |
1074 "*) ;; | |
1075 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | |
1076 ac_unrecognized_sep=', ';; | |
1077 esac | |
1078 eval with_$ac_useropt=\$ac_optarg ;; | |
0 | 1079 |
1080 -without-* | --without-*) | |
36 | 1081 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
0 | 1082 # Reject names that are not valid shell variable names. |
36 | 1083 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1084 as_fn_error "invalid package name: $ac_useropt" | |
1085 ac_useropt_orig=$ac_useropt | |
1086 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
1087 case $ac_user_opts in | |
1088 *" | |
1089 "with_$ac_useropt" | |
1090 "*) ;; | |
1091 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | |
1092 ac_unrecognized_sep=', ';; | |
1093 esac | |
1094 eval with_$ac_useropt=no ;; | |
0 | 1095 |
1096 --x) | |
1097 # Obsolete; use --with-x. | |
1098 with_x=yes ;; | |
1099 | |
1100 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
1101 | --x-incl | --x-inc | --x-in | --x-i) | |
1102 ac_prev=x_includes ;; | |
1103 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
1104 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
1105 x_includes=$ac_optarg ;; | |
1106 | |
1107 -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
1108 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
1109 ac_prev=x_libraries ;; | |
1110 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
1111 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
1112 x_libraries=$ac_optarg ;; | |
1113 | |
36 | 1114 -*) as_fn_error "unrecognized option: \`$ac_option' |
1115 Try \`$0 --help' for more information." | |
0 | 1116 ;; |
1117 | |
1118 *=*) | |
1119 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
1120 # Reject names that are not valid shell variable names. | |
36 | 1121 case $ac_envvar in #( |
1122 '' | [0-9]* | *[!_$as_cr_alnum]* ) | |
1123 as_fn_error "invalid variable name: \`$ac_envvar'" ;; | |
1124 esac | |
1 | 1125 eval $ac_envvar=\$ac_optarg |
0 | 1126 export $ac_envvar ;; |
1127 | |
1128 *) | |
1129 # FIXME: should be removed in autoconf 3.0. | |
36 | 1130 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
0 | 1131 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
36 | 1132 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
0 | 1133 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1134 ;; | |
1135 | |
1136 esac | |
1137 done | |
1138 | |
1139 if test -n "$ac_prev"; then | |
1140 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | |
36 | 1141 as_fn_error "missing argument to $ac_option" |
1142 fi | |
1143 | |
1144 if test -n "$ac_unrecognized_opts"; then | |
1145 case $enable_option_checking in | |
1146 no) ;; | |
1147 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | |
1148 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
1149 esac | |
1150 fi | |
1151 | |
1152 # Check all directory arguments for consistency. | |
1 | 1153 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1154 datadir sysconfdir sharedstatedir localstatedir includedir \ | |
1155 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |
1156 libdir localedir mandir | |
0 | 1157 do |
1 | 1158 eval ac_val=\$$ac_var |
36 | 1159 # Remove trailing slashes. |
1160 case $ac_val in | |
1161 */ ) | |
1162 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | |
1163 eval $ac_var=\$ac_val;; | |
1164 esac | |
1165 # Be sure to have absolute directory names. | |
0 | 1166 case $ac_val in |
1 | 1167 [\\/$]* | ?:[\\/]* ) continue;; |
1168 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | |
0 | 1169 esac |
36 | 1170 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
0 | 1171 done |
1172 | |
1173 # There might be people who depend on the old broken behavior: `$host' | |
1174 # used to hold the argument of --host etc. | |
1175 # FIXME: To remove some day. | |
1176 build=$build_alias | |
1177 host=$host_alias | |
1178 target=$target_alias | |
1179 | |
1180 # FIXME: To remove some day. | |
1181 if test "x$host_alias" != x; then | |
1182 if test "x$build_alias" = x; then | |
1183 cross_compiling=maybe | |
36 | 1184 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
0 | 1185 If a cross compiler is detected then cross compile mode will be used." >&2 |
1186 elif test "x$build_alias" != "x$host_alias"; then | |
1187 cross_compiling=yes | |
1188 fi | |
1189 fi | |
1190 | |
1191 ac_tool_prefix= | |
1192 test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
1193 | |
1194 test "$silent" = yes && exec 6>/dev/null | |
1195 | |
1196 | |
1 | 1197 ac_pwd=`pwd` && test -n "$ac_pwd" && |
1198 ac_ls_di=`ls -di .` && | |
1199 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
36 | 1200 as_fn_error "working directory cannot be determined" |
1 | 1201 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
36 | 1202 as_fn_error "pwd does not report name of working directory" |
1 | 1203 |
1204 | |
0 | 1205 # Find the source files, if location was not specified. |
1206 if test -z "$srcdir"; then | |
1207 ac_srcdir_defaulted=yes | |
1 | 1208 # Try the directory containing this script, then the parent directory. |
36 | 1209 ac_confdir=`$as_dirname -- "$as_myself" || |
1210 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
1211 X"$as_myself" : 'X\(//\)[^/]' \| \ | |
1212 X"$as_myself" : 'X\(//\)$' \| \ | |
1213 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | |
1214 $as_echo X"$as_myself" | | |
1 | 1215 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1216 s//\1/ | |
1217 q | |
1218 } | |
1219 /^X\(\/\/\)[^/].*/{ | |
1220 s//\1/ | |
1221 q | |
1222 } | |
1223 /^X\(\/\/\)$/{ | |
1224 s//\1/ | |
1225 q | |
1226 } | |
1227 /^X\(\/\).*/{ | |
1228 s//\1/ | |
1229 q | |
1230 } | |
1231 s/.*/./; q'` | |
0 | 1232 srcdir=$ac_confdir |
1 | 1233 if test ! -r "$srcdir/$ac_unique_file"; then |
0 | 1234 srcdir=.. |
1235 fi | |
1236 else | |
1237 ac_srcdir_defaulted=no | |
1238 fi | |
1 | 1239 if test ! -r "$srcdir/$ac_unique_file"; then |
1240 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | |
36 | 1241 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
1 | 1242 fi |
1243 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | |
1244 ac_abs_confdir=`( | |
36 | 1245 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
1 | 1246 pwd)` |
1247 # When building in place, set srcdir=. | |
1248 if test "$ac_abs_confdir" = "$ac_pwd"; then | |
1249 srcdir=. | |
1250 fi | |
1251 # Remove unnecessary trailing slashes from srcdir. | |
1252 # Double slashes in file names in object file debugging info | |
1253 # mess up M-x gdb in Emacs. | |
1254 case $srcdir in | |
1255 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | |
1256 esac | |
1257 for ac_var in $ac_precious_vars; do | |
1258 eval ac_env_${ac_var}_set=\${${ac_var}+set} | |
1259 eval ac_env_${ac_var}_value=\$${ac_var} | |
1260 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | |
1261 eval ac_cv_env_${ac_var}_value=\$${ac_var} | |
1262 done | |
0 | 1263 |
1264 # | |
1265 # Report the --help message. | |
1266 # | |
1267 if test "$ac_init_help" = "long"; then | |
1268 # Omit some internal or obsolete options to make the list less imposing. | |
1269 # This message is too long to be a string in the A/UX 3.1 sh. | |
1270 cat <<_ACEOF | |
159 | 1271 \`configure' configures masqmail 0.3.0 to adapt to many kinds of systems. |
0 | 1272 |
1273 Usage: $0 [OPTION]... [VAR=VALUE]... | |
1274 | |
1275 To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
1276 VAR=VALUE. See below for descriptions of some of the useful variables. | |
1277 | |
1278 Defaults for the options are specified in brackets. | |
1279 | |
1280 Configuration: | |
1281 -h, --help display this help and exit | |
1282 --help=short display options specific to this package | |
1283 --help=recursive display the short help of all the included packages | |
1284 -V, --version display version information and exit | |
1285 -q, --quiet, --silent do not print \`checking...' messages | |
1286 --cache-file=FILE cache test results in FILE [disabled] | |
1287 -C, --config-cache alias for \`--cache-file=config.cache' | |
1288 -n, --no-create do not create output files | |
1289 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
1290 | |
1291 Installation directories: | |
1292 --prefix=PREFIX install architecture-independent files in PREFIX | |
36 | 1293 [$ac_default_prefix] |
0 | 1294 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
36 | 1295 [PREFIX] |
0 | 1296 |
1297 By default, \`make install' will install all the files in | |
1298 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
1299 an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
1300 for instance \`--prefix=\$HOME'. | |
1301 | |
1302 For better control, use the options below. | |
1303 | |
1304 Fine tuning of the installation directories: | |
36 | 1305 --bindir=DIR user executables [EPREFIX/bin] |
1306 --sbindir=DIR system admin executables [EPREFIX/sbin] | |
1307 --libexecdir=DIR program executables [EPREFIX/libexec] | |
1308 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
1309 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
1310 --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
1311 --libdir=DIR object code libraries [EPREFIX/lib] | |
1312 --includedir=DIR C header files [PREFIX/include] | |
1313 --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
1314 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | |
1315 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | |
1316 --infodir=DIR info documentation [DATAROOTDIR/info] | |
1317 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
1318 --mandir=DIR man documentation [DATAROOTDIR/man] | |
1319 --docdir=DIR documentation root [DATAROOTDIR/doc/masqmail] | |
1320 --htmldir=DIR html documentation [DOCDIR] | |
1321 --dvidir=DIR dvi documentation [DOCDIR] | |
1322 --pdfdir=DIR pdf documentation [DOCDIR] | |
1323 --psdir=DIR ps documentation [DOCDIR] | |
0 | 1324 _ACEOF |
1325 | |
1326 cat <<\_ACEOF | |
1327 | |
1328 Program names: | |
1329 --program-prefix=PREFIX prepend PREFIX to installed program names | |
1330 --program-suffix=SUFFIX append SUFFIX to installed program names | |
1331 --program-transform-name=PROGRAM run sed PROGRAM on installed program names | |
1332 _ACEOF | |
1333 fi | |
1334 | |
1335 if test -n "$ac_init_help"; then | |
1336 case $ac_init_help in | |
159 | 1337 short | recursive ) echo "Configuration of masqmail 0.3.0:";; |
0 | 1338 esac |
1339 cat <<\_ACEOF | |
1340 | |
1341 Optional Features: | |
36 | 1342 --disable-option-checking ignore unrecognized --enable/--with options |
0 | 1343 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1344 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
36 | 1345 --disable-dependency-tracking speeds up one-time build |
1346 --enable-dependency-tracking do not reject slow dependency extractors | |
193
bd9704417d49
typographic fix: alignments in configure -h
meillo@marmaro.de
parents:
192
diff
changeset
|
1347 --disable-resolver disable resolver support |
bd9704417d49
typographic fix: alignments in configure -h
meillo@marmaro.de
parents:
192
diff
changeset
|
1348 --disable-debug disable debugging |
bd9704417d49
typographic fix: alignments in configure -h
meillo@marmaro.de
parents:
192
diff
changeset
|
1349 --enable-auth enable AUTH (RFC 2554) client support |
bd9704417d49
typographic fix: alignments in configure -h
meillo@marmaro.de
parents:
192
diff
changeset
|
1350 --enable-maildir enable qmail style maildir support |
bd9704417d49
typographic fix: alignments in configure -h
meillo@marmaro.de
parents:
192
diff
changeset
|
1351 --enable-ident enable ident (RFC 1413) support |
0 | 1352 |
1353 Optional Packages: | |
1354 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | |
1355 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | |
193
bd9704417d49
typographic fix: alignments in configure -h
meillo@marmaro.de
parents:
192
diff
changeset
|
1356 --with-user=USER set user mail |
bd9704417d49
typographic fix: alignments in configure -h
meillo@marmaro.de
parents:
192
diff
changeset
|
1357 --with-group=GROUP set group trusted |
bd9704417d49
typographic fix: alignments in configure -h
meillo@marmaro.de
parents:
192
diff
changeset
|
1358 --with-libcrypto use libcrypto |
bd9704417d49
typographic fix: alignments in configure -h
meillo@marmaro.de
parents:
192
diff
changeset
|
1359 --with-liblockfile use liblock (for Debian) |
bd9704417d49
typographic fix: alignments in configure -h
meillo@marmaro.de
parents:
192
diff
changeset
|
1360 --with-logdir=DIR set log directory /var/log/masqmail |
bd9704417d49
typographic fix: alignments in configure -h
meillo@marmaro.de
parents:
192
diff
changeset
|
1361 --with-spooldir=DIR set spool directory /var/spool/masqmail |
bd9704417d49
typographic fix: alignments in configure -h
meillo@marmaro.de
parents:
192
diff
changeset
|
1362 --with-confdir directory for configuration /etc/masqmail |
0 | 1363 |
1364 Some influential environment variables: | |
1365 CC C compiler command | |
1366 CFLAGS C compiler flags | |
1367 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
1368 nonstandard directory <lib dir> | |
1 | 1369 LIBS libraries to pass to the linker, e.g. -l<library> |
36 | 1370 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1 | 1371 you have headers in a nonstandard directory <include dir> |
0 | 1372 CPP C preprocessor |
1373 PKG_CONFIG path to pkg-config utility | |
54
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
1374 PKG_CONFIG_PATH |
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
1375 directories to add to pkg-config's search path |
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
1376 PKG_CONFIG_LIBDIR |
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
1377 path overriding pkg-config's built-in search path |
0 | 1378 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config |
1379 GLIB_LIBS linker flags for GLIB, overriding pkg-config | |
1380 | |
1381 Use these variables to override the choices made by `configure' or to help | |
1382 it to find libraries and programs with nonstandard names/locations. | |
1383 | |
36 | 1384 Report bugs to <meillo@marmaro.de>. |
0 | 1385 _ACEOF |
1 | 1386 ac_status=$? |
0 | 1387 fi |
1388 | |
1389 if test "$ac_init_help" = "recursive"; then | |
1390 # If there are subdirs, report their specific --help. | |
1391 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | |
36 | 1392 test -d "$ac_dir" || |
1393 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
1394 continue | |
0 | 1395 ac_builddir=. |
1396 | |
1 | 1397 case "$ac_dir" in |
1398 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1399 *) | |
36 | 1400 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1 | 1401 # A ".." for each directory in $ac_dir_suffix. |
36 | 1402 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1 | 1403 case $ac_top_builddir_sub in |
1404 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1405 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
1406 esac ;; | |
1407 esac | |
1408 ac_abs_top_builddir=$ac_pwd | |
1409 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
1410 # for backward compatibility: | |
1411 ac_top_builddir=$ac_top_build_prefix | |
0 | 1412 |
1413 case $srcdir in | |
1 | 1414 .) # We are building in place. |
0 | 1415 ac_srcdir=. |
1 | 1416 ac_top_srcdir=$ac_top_builddir_sub |
1417 ac_abs_top_srcdir=$ac_pwd ;; | |
1418 [\\/]* | ?:[\\/]* ) # Absolute name. | |
0 | 1419 ac_srcdir=$srcdir$ac_dir_suffix; |
1 | 1420 ac_top_srcdir=$srcdir |
1421 ac_abs_top_srcdir=$srcdir ;; | |
1422 *) # Relative name. | |
1423 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
1424 ac_top_srcdir=$ac_top_build_prefix$srcdir | |
1425 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
0 | 1426 esac |
1 | 1427 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
1428 | |
1429 cd "$ac_dir" || { ac_status=$?; continue; } | |
1430 # Check for guested configure. | |
1431 if test -f "$ac_srcdir/configure.gnu"; then | |
1432 echo && | |
1433 $SHELL "$ac_srcdir/configure.gnu" --help=recursive | |
1434 elif test -f "$ac_srcdir/configure"; then | |
1435 echo && | |
1436 $SHELL "$ac_srcdir/configure" --help=recursive | |
0 | 1437 else |
36 | 1438 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1 | 1439 fi || ac_status=$? |
1440 cd "$ac_pwd" || { ac_status=$?; break; } | |
0 | 1441 done |
1442 fi | |
1443 | |
1 | 1444 test -n "$ac_init_help" && exit $ac_status |
0 | 1445 if $ac_init_version; then |
1446 cat <<\_ACEOF | |
159 | 1447 masqmail configure 0.3.0 |
36 | 1448 generated by GNU Autoconf 2.65 |
1449 | |
1450 Copyright (C) 2009 Free Software Foundation, Inc. | |
0 | 1451 This configure script is free software; the Free Software Foundation |
1452 gives unlimited permission to copy, distribute and modify it. | |
1453 _ACEOF | |
1 | 1454 exit |
1455 fi | |
36 | 1456 |
1457 ## ------------------------ ## | |
1458 ## Autoconf initialization. ## | |
1459 ## ------------------------ ## | |
1460 | |
1461 # ac_fn_c_try_compile LINENO | |
1462 # -------------------------- | |
1463 # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
1464 ac_fn_c_try_compile () | |
1465 { | |
1466 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1467 rm -f conftest.$ac_objext | |
1468 if { { ac_try="$ac_compile" | |
1469 case "(($ac_try" in | |
1470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1471 *) ac_try_echo=$ac_try;; | |
1472 esac | |
1473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1474 $as_echo "$ac_try_echo"; } >&5 | |
1475 (eval "$ac_compile") 2>conftest.err | |
1476 ac_status=$? | |
1477 if test -s conftest.err; then | |
1478 grep -v '^ *+' conftest.err >conftest.er1 | |
1479 cat conftest.er1 >&5 | |
1480 mv -f conftest.er1 conftest.err | |
1481 fi | |
1482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1483 test $ac_status = 0; } && { | |
1484 test -z "$ac_c_werror_flag" || | |
1485 test ! -s conftest.err | |
1486 } && test -s conftest.$ac_objext; then : | |
1487 ac_retval=0 | |
1488 else | |
1489 $as_echo "$as_me: failed program was:" >&5 | |
1490 sed 's/^/| /' conftest.$ac_ext >&5 | |
1491 | |
1492 ac_retval=1 | |
1493 fi | |
1494 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1495 as_fn_set_status $ac_retval | |
1496 | |
1497 } # ac_fn_c_try_compile | |
1498 | |
1499 # ac_fn_c_try_link LINENO | |
1500 # ----------------------- | |
1501 # Try to link conftest.$ac_ext, and return whether this succeeded. | |
1502 ac_fn_c_try_link () | |
1503 { | |
1504 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1505 rm -f conftest.$ac_objext conftest$ac_exeext | |
1506 if { { ac_try="$ac_link" | |
1507 case "(($ac_try" in | |
1508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1509 *) ac_try_echo=$ac_try;; | |
1510 esac | |
1511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1512 $as_echo "$ac_try_echo"; } >&5 | |
1513 (eval "$ac_link") 2>conftest.err | |
1514 ac_status=$? | |
1515 if test -s conftest.err; then | |
1516 grep -v '^ *+' conftest.err >conftest.er1 | |
1517 cat conftest.er1 >&5 | |
1518 mv -f conftest.er1 conftest.err | |
1519 fi | |
1520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1521 test $ac_status = 0; } && { | |
1522 test -z "$ac_c_werror_flag" || | |
1523 test ! -s conftest.err | |
1524 } && test -s conftest$ac_exeext && { | |
1525 test "$cross_compiling" = yes || | |
1526 $as_test_x conftest$ac_exeext | |
1527 }; then : | |
1528 ac_retval=0 | |
1529 else | |
1530 $as_echo "$as_me: failed program was:" >&5 | |
1531 sed 's/^/| /' conftest.$ac_ext >&5 | |
1532 | |
1533 ac_retval=1 | |
1534 fi | |
1535 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
1536 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
1537 # interfere with the next link command; also delete a directory that is | |
1538 # left behind by Apple's compiler. We do this before executing the actions. | |
1539 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1540 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1541 as_fn_set_status $ac_retval | |
1542 | |
1543 } # ac_fn_c_try_link | |
1544 | |
1545 # ac_fn_c_try_cpp LINENO | |
1546 # ---------------------- | |
1547 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | |
1548 ac_fn_c_try_cpp () | |
1549 { | |
1550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1551 if { { ac_try="$ac_cpp conftest.$ac_ext" | |
1552 case "(($ac_try" in | |
1553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1554 *) ac_try_echo=$ac_try;; | |
1555 esac | |
1556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1557 $as_echo "$ac_try_echo"; } >&5 | |
1558 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | |
1559 ac_status=$? | |
1560 if test -s conftest.err; then | |
1561 grep -v '^ *+' conftest.err >conftest.er1 | |
1562 cat conftest.er1 >&5 | |
1563 mv -f conftest.er1 conftest.err | |
1564 fi | |
1565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1566 test $ac_status = 0; } >/dev/null && { | |
1567 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
1568 test ! -s conftest.err | |
1569 }; then : | |
1570 ac_retval=0 | |
1571 else | |
1572 $as_echo "$as_me: failed program was:" >&5 | |
1573 sed 's/^/| /' conftest.$ac_ext >&5 | |
1574 | |
1575 ac_retval=1 | |
1576 fi | |
1577 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1578 as_fn_set_status $ac_retval | |
1579 | |
1580 } # ac_fn_c_try_cpp | |
1581 | |
1582 # ac_fn_c_try_run LINENO | |
1583 # ---------------------- | |
1584 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | |
1585 # that executables *can* be run. | |
1586 ac_fn_c_try_run () | |
1587 { | |
1588 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1589 if { { ac_try="$ac_link" | |
1590 case "(($ac_try" in | |
1591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1592 *) ac_try_echo=$ac_try;; | |
1593 esac | |
1594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1595 $as_echo "$ac_try_echo"; } >&5 | |
1596 (eval "$ac_link") 2>&5 | |
1597 ac_status=$? | |
1598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1599 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | |
1600 { { case "(($ac_try" in | |
1601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1602 *) ac_try_echo=$ac_try;; | |
1603 esac | |
1604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1605 $as_echo "$ac_try_echo"; } >&5 | |
1606 (eval "$ac_try") 2>&5 | |
1607 ac_status=$? | |
1608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1609 test $ac_status = 0; }; }; then : | |
1610 ac_retval=0 | |
1611 else | |
1612 $as_echo "$as_me: program exited with status $ac_status" >&5 | |
1613 $as_echo "$as_me: failed program was:" >&5 | |
1614 sed 's/^/| /' conftest.$ac_ext >&5 | |
1615 | |
1616 ac_retval=$ac_status | |
1617 fi | |
1618 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1619 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1620 as_fn_set_status $ac_retval | |
1621 | |
1622 } # ac_fn_c_try_run | |
1623 | |
1624 # ac_fn_c_check_func LINENO FUNC VAR | |
1625 # ---------------------------------- | |
1626 # Tests whether FUNC exists, setting the cache variable VAR accordingly | |
1627 ac_fn_c_check_func () | |
1628 { | |
1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1631 $as_echo_n "checking for $2... " >&6; } | |
1632 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1633 $as_echo_n "(cached) " >&6 | |
1634 else | |
1635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1636 /* end confdefs.h. */ | |
1637 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | |
1638 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
1639 #define $2 innocuous_$2 | |
1640 | |
1641 /* System header to define __stub macros and hopefully few prototypes, | |
1642 which can conflict with char $2 (); below. | |
1643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
1644 <limits.h> exists even on freestanding compilers. */ | |
1645 | |
1646 #ifdef __STDC__ | |
1647 # include <limits.h> | |
1648 #else | |
1649 # include <assert.h> | |
1650 #endif | |
1651 | |
1652 #undef $2 | |
1653 | |
1654 /* Override any GCC internal prototype to avoid an error. | |
1655 Use char because int might match the return type of a GCC | |
1656 builtin and then its argument prototype would still apply. */ | |
1657 #ifdef __cplusplus | |
1658 extern "C" | |
1659 #endif | |
1660 char $2 (); | |
1661 /* The GNU C library defines this for functions which it implements | |
1662 to always fail with ENOSYS. Some functions are actually named | |
1663 something starting with __ and the normal name is an alias. */ | |
1664 #if defined __stub_$2 || defined __stub___$2 | |
1665 choke me | |
1666 #endif | |
1667 | |
1668 int | |
1669 main () | |
1670 { | |
1671 return $2 (); | |
1672 ; | |
1673 return 0; | |
1674 } | |
1675 _ACEOF | |
1676 if ac_fn_c_try_link "$LINENO"; then : | |
1677 eval "$3=yes" | |
1678 else | |
1679 eval "$3=no" | |
1680 fi | |
1681 rm -f core conftest.err conftest.$ac_objext \ | |
1682 conftest$ac_exeext conftest.$ac_ext | |
1683 fi | |
1684 eval ac_res=\$$3 | |
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1686 $as_echo "$ac_res" >&6; } | |
1687 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1688 | |
1689 } # ac_fn_c_check_func | |
1690 | |
1691 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | |
1692 # ------------------------------------------------------- | |
1693 # Tests whether HEADER exists, giving a warning if it cannot be compiled using | |
1694 # the include files in INCLUDES and setting the cache variable VAR | |
1695 # accordingly. | |
1696 ac_fn_c_check_header_mongrel () | |
1697 { | |
1698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1699 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1701 $as_echo_n "checking for $2... " >&6; } | |
1702 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1703 $as_echo_n "(cached) " >&6 | |
1704 fi | |
1705 eval ac_res=\$$3 | |
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1707 $as_echo "$ac_res" >&6; } | |
1708 else | |
1709 # Is the header compilable? | |
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | |
1711 $as_echo_n "checking $2 usability... " >&6; } | |
1712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1713 /* end confdefs.h. */ | |
1714 $4 | |
1715 #include <$2> | |
1716 _ACEOF | |
1717 if ac_fn_c_try_compile "$LINENO"; then : | |
1718 ac_header_compiler=yes | |
1719 else | |
1720 ac_header_compiler=no | |
1721 fi | |
1722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | |
1724 $as_echo "$ac_header_compiler" >&6; } | |
1725 | |
1726 # Is the header present? | |
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | |
1728 $as_echo_n "checking $2 presence... " >&6; } | |
1729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1730 /* end confdefs.h. */ | |
1731 #include <$2> | |
1732 _ACEOF | |
1733 if ac_fn_c_try_cpp "$LINENO"; then : | |
1734 ac_header_preproc=yes | |
1735 else | |
1736 ac_header_preproc=no | |
1737 fi | |
1738 rm -f conftest.err conftest.$ac_ext | |
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | |
1740 $as_echo "$ac_header_preproc" >&6; } | |
1741 | |
1742 # So? What about this header? | |
1743 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | |
1744 yes:no: ) | |
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | |
1746 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1748 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1749 ;; | |
1750 no:yes:* ) | |
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | |
1752 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | |
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | |
1754 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | |
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | |
1756 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | |
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | |
1758 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | |
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1760 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1761 ( cat <<\_ASBOX | |
1762 ## -------------------------------- ## | |
1763 ## Report this to meillo@marmaro.de ## | |
1764 ## -------------------------------- ## | |
1765 _ASBOX | |
1766 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
1767 ;; | |
1768 esac | |
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1770 $as_echo_n "checking for $2... " >&6; } | |
1771 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1772 $as_echo_n "(cached) " >&6 | |
1773 else | |
1774 eval "$3=\$ac_header_compiler" | |
1775 fi | |
1776 eval ac_res=\$$3 | |
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1778 $as_echo "$ac_res" >&6; } | |
1779 fi | |
1780 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1781 | |
1782 } # ac_fn_c_check_header_mongrel | |
1783 | |
1784 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | |
1785 # ------------------------------------------------------- | |
1786 # Tests whether HEADER exists and can be compiled using the include files in | |
1787 # INCLUDES, setting the cache variable VAR accordingly. | |
1788 ac_fn_c_check_header_compile () | |
1789 { | |
1790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1792 $as_echo_n "checking for $2... " >&6; } | |
1793 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1794 $as_echo_n "(cached) " >&6 | |
1795 else | |
1796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1797 /* end confdefs.h. */ | |
1798 $4 | |
1799 #include <$2> | |
1800 _ACEOF | |
1801 if ac_fn_c_try_compile "$LINENO"; then : | |
1802 eval "$3=yes" | |
1803 else | |
1804 eval "$3=no" | |
1805 fi | |
1806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1807 fi | |
1808 eval ac_res=\$$3 | |
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1810 $as_echo "$ac_res" >&6; } | |
1811 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1812 | |
1813 } # ac_fn_c_check_header_compile | |
1814 | |
1815 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES | |
1816 # ------------------------------------------- | |
1817 # Tests whether TYPE exists after having included INCLUDES, setting cache | |
1818 # variable VAR accordingly. | |
1819 ac_fn_c_check_type () | |
1820 { | |
1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1823 $as_echo_n "checking for $2... " >&6; } | |
1824 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1825 $as_echo_n "(cached) " >&6 | |
1826 else | |
1827 eval "$3=no" | |
1828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1829 /* end confdefs.h. */ | |
1830 $4 | |
1831 int | |
1832 main () | |
1833 { | |
1834 if (sizeof ($2)) | |
1835 return 0; | |
1836 ; | |
1837 return 0; | |
1838 } | |
1839 _ACEOF | |
1840 if ac_fn_c_try_compile "$LINENO"; then : | |
1841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1842 /* end confdefs.h. */ | |
1843 $4 | |
1844 int | |
1845 main () | |
1846 { | |
1847 if (sizeof (($2))) | |
1848 return 0; | |
1849 ; | |
1850 return 0; | |
1851 } | |
1852 _ACEOF | |
1853 if ac_fn_c_try_compile "$LINENO"; then : | |
1854 | |
1855 else | |
1856 eval "$3=yes" | |
1857 fi | |
1858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1859 fi | |
1860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1861 fi | |
1862 eval ac_res=\$$3 | |
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1864 $as_echo "$ac_res" >&6; } | |
1865 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1866 | |
1867 } # ac_fn_c_check_type | |
1 | 1868 cat >config.log <<_ACEOF |
0 | 1869 This file contains any messages produced by compilers while |
1870 running configure, to aid debugging if configure makes a mistake. | |
1871 | |
159 | 1872 It was created by masqmail $as_me 0.3.0, which was |
36 | 1873 generated by GNU Autoconf 2.65. Invocation command line was |
0 | 1874 |
1875 $ $0 $@ | |
1876 | |
1877 _ACEOF | |
1 | 1878 exec 5>>config.log |
0 | 1879 { |
1880 cat <<_ASUNAME | |
1881 ## --------- ## | |
1882 ## Platform. ## | |
1883 ## --------- ## | |
1884 | |
1885 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
1886 uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
1887 uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
1888 uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
1889 uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
1890 | |
1891 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
1892 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
1893 | |
1894 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
1895 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
1896 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | |
1 | 1897 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
0 | 1898 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1899 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
1900 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
1901 | |
1902 _ASUNAME | |
1903 | |
1904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1905 for as_dir in $PATH | |
1906 do | |
1907 IFS=$as_save_IFS | |
1908 test -z "$as_dir" && as_dir=. | |
36 | 1909 $as_echo "PATH: $as_dir" |
1910 done | |
1 | 1911 IFS=$as_save_IFS |
0 | 1912 |
1913 } >&5 | |
1914 | |
1915 cat >&5 <<_ACEOF | |
1916 | |
1917 | |
1918 ## ----------- ## | |
1919 ## Core tests. ## | |
1920 ## ----------- ## | |
1921 | |
1922 _ACEOF | |
1923 | |
1924 | |
1925 # Keep a trace of the command line. | |
1926 # Strip out --no-create and --no-recursion so they do not pile up. | |
1927 # Strip out --silent because we don't want to record it for future runs. | |
1928 # Also quote any args containing shell meta-characters. | |
1929 # Make two passes to allow for proper duplicate-argument suppression. | |
1930 ac_configure_args= | |
1931 ac_configure_args0= | |
1932 ac_configure_args1= | |
1933 ac_must_keep_next=false | |
1934 for ac_pass in 1 2 | |
1935 do | |
1936 for ac_arg | |
1937 do | |
1938 case $ac_arg in | |
1939 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | |
1940 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
1941 | -silent | --silent | --silen | --sile | --sil) | |
1942 continue ;; | |
1 | 1943 *\'*) |
36 | 1944 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
0 | 1945 esac |
1946 case $ac_pass in | |
36 | 1947 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
0 | 1948 2) |
36 | 1949 as_fn_append ac_configure_args1 " '$ac_arg'" |
0 | 1950 if test $ac_must_keep_next = true; then |
1951 ac_must_keep_next=false # Got value, back to normal. | |
1952 else | |
1953 case $ac_arg in | |
1954 *=* | --config-cache | -C | -disable-* | --disable-* \ | |
1955 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
1956 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
1957 | -with-* | --with-* | -without-* | --without-* | --x) | |
1958 case "$ac_configure_args0 " in | |
1959 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
1960 esac | |
1961 ;; | |
1962 -* ) ac_must_keep_next=true ;; | |
1963 esac | |
1964 fi | |
36 | 1965 as_fn_append ac_configure_args " '$ac_arg'" |
0 | 1966 ;; |
1967 esac | |
1968 done | |
1969 done | |
36 | 1970 { ac_configure_args0=; unset ac_configure_args0;} |
1971 { ac_configure_args1=; unset ac_configure_args1;} | |
0 | 1972 |
1973 # When interrupted or exit'd, cleanup temporary files, and complete | |
1974 # config.log. We remove comments because anyway the quotes in there | |
1975 # would cause problems or look ugly. | |
1 | 1976 # WARNING: Use '\'' to represent an apostrophe within the trap. |
1977 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | |
0 | 1978 trap 'exit_status=$? |
1979 # Save into config.log some information that might help in debugging. | |
1980 { | |
1981 echo | |
1982 | |
1983 cat <<\_ASBOX | |
1984 ## ---------------- ## | |
1985 ## Cache variables. ## | |
1986 ## ---------------- ## | |
1987 _ASBOX | |
1988 echo | |
1989 # The following way of writing the cache mishandles newlines in values, | |
1 | 1990 ( |
1991 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | |
1992 eval ac_val=\$$ac_var | |
1993 case $ac_val in #( | |
1994 *${as_nl}*) | |
1995 case $ac_var in #( | |
36 | 1996 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
1997 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
1 | 1998 esac |
1999 case $ac_var in #( | |
2000 _ | IFS | as_nl) ;; #( | |
36 | 2001 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
2002 *) { eval $ac_var=; unset $ac_var;} ;; | |
1 | 2003 esac ;; |
2004 esac | |
2005 done | |
0 | 2006 (set) 2>&1 | |
1 | 2007 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
2008 *${as_nl}ac_space=\ *) | |
0 | 2009 sed -n \ |
1 | 2010 "s/'\''/'\''\\\\'\'''\''/g; |
2011 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | |
2012 ;; #( | |
0 | 2013 *) |
1 | 2014 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
0 | 2015 ;; |
1 | 2016 esac | |
2017 sort | |
2018 ) | |
0 | 2019 echo |
2020 | |
2021 cat <<\_ASBOX | |
2022 ## ----------------- ## | |
2023 ## Output variables. ## | |
2024 ## ----------------- ## | |
2025 _ASBOX | |
2026 echo | |
2027 for ac_var in $ac_subst_vars | |
2028 do | |
1 | 2029 eval ac_val=\$$ac_var |
2030 case $ac_val in | |
36 | 2031 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1 | 2032 esac |
36 | 2033 $as_echo "$ac_var='\''$ac_val'\''" |
0 | 2034 done | sort |
2035 echo | |
2036 | |
2037 if test -n "$ac_subst_files"; then | |
2038 cat <<\_ASBOX | |
1 | 2039 ## ------------------- ## |
2040 ## File substitutions. ## | |
2041 ## ------------------- ## | |
0 | 2042 _ASBOX |
2043 echo | |
2044 for ac_var in $ac_subst_files | |
2045 do | |
1 | 2046 eval ac_val=\$$ac_var |
2047 case $ac_val in | |
36 | 2048 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1 | 2049 esac |
36 | 2050 $as_echo "$ac_var='\''$ac_val'\''" |
0 | 2051 done | sort |
2052 echo | |
2053 fi | |
2054 | |
2055 if test -s confdefs.h; then | |
2056 cat <<\_ASBOX | |
2057 ## ----------- ## | |
2058 ## confdefs.h. ## | |
2059 ## ----------- ## | |
2060 _ASBOX | |
2061 echo | |
1 | 2062 cat confdefs.h |
0 | 2063 echo |
2064 fi | |
2065 test "$ac_signal" != 0 && | |
36 | 2066 $as_echo "$as_me: caught signal $ac_signal" |
2067 $as_echo "$as_me: exit $exit_status" | |
0 | 2068 } >&5 |
1 | 2069 rm -f core *.core core.conftest.* && |
2070 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | |
0 | 2071 exit $exit_status |
1 | 2072 ' 0 |
0 | 2073 for ac_signal in 1 2 13 15; do |
36 | 2074 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
0 | 2075 done |
2076 ac_signal=0 | |
2077 | |
2078 # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
1 | 2079 rm -f -r conftest* confdefs.h |
0 | 2080 |
36 | 2081 $as_echo "/* confdefs.h */" > confdefs.h |
2082 | |
0 | 2083 # Predefined preprocessor variables. |
2084 | |
2085 cat >>confdefs.h <<_ACEOF | |
2086 #define PACKAGE_NAME "$PACKAGE_NAME" | |
2087 _ACEOF | |
2088 | |
2089 cat >>confdefs.h <<_ACEOF | |
2090 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | |
2091 _ACEOF | |
2092 | |
2093 cat >>confdefs.h <<_ACEOF | |
2094 #define PACKAGE_VERSION "$PACKAGE_VERSION" | |
2095 _ACEOF | |
2096 | |
2097 cat >>confdefs.h <<_ACEOF | |
2098 #define PACKAGE_STRING "$PACKAGE_STRING" | |
2099 _ACEOF | |
2100 | |
2101 cat >>confdefs.h <<_ACEOF | |
2102 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | |
2103 _ACEOF | |
2104 | |
36 | 2105 cat >>confdefs.h <<_ACEOF |
2106 #define PACKAGE_URL "$PACKAGE_URL" | |
2107 _ACEOF | |
2108 | |
0 | 2109 |
2110 # Let the site file select an alternate cache file if it wants to. | |
36 | 2111 # Prefer an explicitly selected file to automatically selected ones. |
2112 ac_site_file1=NONE | |
2113 ac_site_file2=NONE | |
1 | 2114 if test -n "$CONFIG_SITE"; then |
36 | 2115 ac_site_file1=$CONFIG_SITE |
1 | 2116 elif test "x$prefix" != xNONE; then |
36 | 2117 ac_site_file1=$prefix/share/config.site |
2118 ac_site_file2=$prefix/etc/config.site | |
2119 else | |
2120 ac_site_file1=$ac_default_prefix/share/config.site | |
2121 ac_site_file2=$ac_default_prefix/etc/config.site | |
2122 fi | |
2123 for ac_site_file in "$ac_site_file1" "$ac_site_file2" | |
1 | 2124 do |
36 | 2125 test "x$ac_site_file" = xNONE && continue |
2126 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | |
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | |
2128 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | |
0 | 2129 sed 's/^/| /' "$ac_site_file" >&5 |
2130 . "$ac_site_file" | |
2131 fi | |
2132 done | |
2133 | |
2134 if test -r "$cache_file"; then | |
36 | 2135 # Some versions of bash will fail to source /dev/null (special files |
2136 # actually), so we avoid doing that. DJGPP emulates it as a regular file. | |
2137 if test /dev/null != "$cache_file" && test -f "$cache_file"; then | |
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | |
2139 $as_echo "$as_me: loading cache $cache_file" >&6;} | |
0 | 2140 case $cache_file in |
1 | 2141 [\\/]* | ?:[\\/]* ) . "$cache_file";; |
2142 *) . "./$cache_file";; | |
0 | 2143 esac |
2144 fi | |
2145 else | |
36 | 2146 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
2147 $as_echo "$as_me: creating cache $cache_file" >&6;} | |
0 | 2148 >$cache_file |
2149 fi | |
2150 | |
2151 # Check that the precious variables saved in the cache have kept the same | |
2152 # value. | |
2153 ac_cache_corrupted=false | |
1 | 2154 for ac_var in $ac_precious_vars; do |
0 | 2155 eval ac_old_set=\$ac_cv_env_${ac_var}_set |
2156 eval ac_new_set=\$ac_env_${ac_var}_set | |
1 | 2157 eval ac_old_val=\$ac_cv_env_${ac_var}_value |
2158 eval ac_new_val=\$ac_env_${ac_var}_value | |
0 | 2159 case $ac_old_set,$ac_new_set in |
2160 set,) | |
36 | 2161 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2162 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | |
0 | 2163 ac_cache_corrupted=: ;; |
2164 ,set) | |
36 | 2165 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
2166 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |
0 | 2167 ac_cache_corrupted=: ;; |
2168 ,);; | |
2169 *) | |
2170 if test "x$ac_old_val" != "x$ac_new_val"; then | |
36 | 2171 # differences in whitespace do not lead to failure. |
2172 ac_old_val_w=`echo x $ac_old_val` | |
2173 ac_new_val_w=`echo x $ac_new_val` | |
2174 if test "$ac_old_val_w" != "$ac_new_val_w"; then | |
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | |
2176 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | |
2177 ac_cache_corrupted=: | |
2178 else | |
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | |
2180 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | |
2181 eval $ac_var=\$ac_old_val | |
2182 fi | |
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | |
2184 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | |
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | |
2186 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |
0 | 2187 fi;; |
2188 esac | |
2189 # Pass precious variables to config.status. | |
2190 if test "$ac_new_set" = set; then | |
2191 case $ac_new_val in | |
36 | 2192 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
0 | 2193 *) ac_arg=$ac_var=$ac_new_val ;; |
2194 esac | |
2195 case " $ac_configure_args " in | |
2196 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | |
36 | 2197 *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
0 | 2198 esac |
2199 fi | |
2200 done | |
2201 if $ac_cache_corrupted; then | |
36 | 2202 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | |
2205 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | |
2206 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | |
2207 fi | |
2208 ## -------------------- ## | |
2209 ## Main body of script. ## | |
2210 ## -------------------- ## | |
1 | 2211 |
0 | 2212 ac_ext=c |
2213 ac_cpp='$CPP $CPPFLAGS' | |
2214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
2215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
2216 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
2217 | |
2218 | |
2219 | |
1 | 2220 ac_config_headers="$ac_config_headers config.h" |
0 | 2221 |
36 | 2222 am__api_version='1.11' |
2223 | |
0 | 2224 ac_aux_dir= |
1 | 2225 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
36 | 2226 for ac_t in install-sh install.sh shtool; do |
2227 if test -f "$ac_dir/$ac_t"; then | |
2228 ac_aux_dir=$ac_dir | |
2229 ac_install_sh="$ac_aux_dir/$ac_t -c" | |
2230 break 2 | |
2231 fi | |
2232 done | |
0 | 2233 done |
2234 if test -z "$ac_aux_dir"; then | |
36 | 2235 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
0 | 2236 fi |
1 | 2237 |
2238 # These three variables are undocumented and unsupported, | |
2239 # and are intended to be withdrawn in a future Autoconf release. | |
2240 # They can cause serious problems if a builder's source tree is in a directory | |
2241 # whose full name contains unusual characters. | |
2242 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | |
2243 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | |
2244 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |
2245 | |
0 | 2246 |
2247 # Find a good install program. We prefer a C program (faster), | |
2248 # so one script is as good as another. But avoid the broken or | |
2249 # incompatible versions: | |
2250 # SysV /etc/install, /usr/sbin/install | |
2251 # SunOS /usr/etc/install | |
2252 # IRIX /sbin/install | |
2253 # AIX /bin/install | |
2254 # AmigaOS /C/install, which installs bootblocks on floppy discs | |
2255 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
2256 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
2257 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
2258 # OS/2's system install, which has a completely different semantic | |
2259 # ./install, which can be erroneously created by make from ./install.sh. | |
36 | 2260 # Reject install programs that cannot install multiple files. |
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | |
2262 $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
0 | 2263 if test -z "$INSTALL"; then |
36 | 2264 if test "${ac_cv_path_install+set}" = set; then : |
2265 $as_echo_n "(cached) " >&6 | |
0 | 2266 else |
2267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2268 for as_dir in $PATH | |
2269 do | |
2270 IFS=$as_save_IFS | |
2271 test -z "$as_dir" && as_dir=. | |
36 | 2272 # Account for people who put trailing slashes in PATH elements. |
2273 case $as_dir/ in #(( | |
2274 ./ | .// | /[cC]/* | \ | |
0 | 2275 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
36 | 2276 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
0 | 2277 /usr/ucb/* ) ;; |
2278 *) | |
2279 # OSF1 and SCO ODT 3.0 have their own names for install. | |
2280 # Don't use installbsd from OSF since it installs stuff as root | |
2281 # by default. | |
2282 for ac_prog in ginstall scoinst install; do | |
2283 for ac_exec_ext in '' $ac_executable_extensions; do | |
1 | 2284 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
0 | 2285 if test $ac_prog = install && |
2286 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
2287 # AIX install. It has an incompatible calling convention. | |
2288 : | |
2289 elif test $ac_prog = install && | |
2290 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
2291 # program-specific install script used by HP pwplus--don't use. | |
2292 : | |
2293 else | |
36 | 2294 rm -rf conftest.one conftest.two conftest.dir |
2295 echo one > conftest.one | |
2296 echo two > conftest.two | |
2297 mkdir conftest.dir | |
2298 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | |
2299 test -s conftest.one && test -s conftest.two && | |
2300 test -s conftest.dir/conftest.one && | |
2301 test -s conftest.dir/conftest.two | |
2302 then | |
2303 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
2304 break 3 | |
2305 fi | |
0 | 2306 fi |
2307 fi | |
2308 done | |
2309 done | |
2310 ;; | |
2311 esac | |
36 | 2312 |
2313 done | |
1 | 2314 IFS=$as_save_IFS |
0 | 2315 |
36 | 2316 rm -rf conftest.one conftest.two conftest.dir |
0 | 2317 |
2318 fi | |
2319 if test "${ac_cv_path_install+set}" = set; then | |
2320 INSTALL=$ac_cv_path_install | |
2321 else | |
1 | 2322 # As a last resort, use the slow shell script. Don't cache a |
2323 # value for INSTALL within a source directory, because that will | |
0 | 2324 # break other packages using the cache if that directory is |
1 | 2325 # removed, or if the value is a relative name. |
0 | 2326 INSTALL=$ac_install_sh |
2327 fi | |
2328 fi | |
36 | 2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
2330 $as_echo "$INSTALL" >&6; } | |
0 | 2331 |
2332 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
2333 # It thinks the first close brace ends the variable substitution. | |
2334 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
2335 | |
2336 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
2337 | |
2338 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
2339 | |
36 | 2340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2341 $as_echo_n "checking whether build environment is sane... " >&6; } | |
0 | 2342 # Just in case |
2343 sleep 1 | |
2344 echo timestamp > conftest.file | |
36 | 2345 # Reject unsafe characters in $srcdir or the absolute working directory |
2346 # name. Accept space and tab only in the latter. | |
2347 am_lf=' | |
2348 ' | |
2349 case `pwd` in | |
2350 *[\\\"\#\$\&\'\`$am_lf]*) | |
2351 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; | |
2352 esac | |
2353 case $srcdir in | |
2354 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) | |
2355 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | |
2356 esac | |
2357 | |
0 | 2358 # Do `set' in a subshell so we don't clobber the current shell's |
2359 # arguments. Must try -L first in case configure is actually a | |
2360 # symlink; some systems play weird games with the mod time of symlinks | |
2361 # (eg FreeBSD returns the mod time of the symlink's containing | |
2362 # directory). | |
2363 if ( | |
36 | 2364 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
0 | 2365 if test "$*" = "X"; then |
2366 # -L didn't work. | |
36 | 2367 set X `ls -t "$srcdir/configure" conftest.file` |
0 | 2368 fi |
2369 rm -f conftest.file | |
2370 if test "$*" != "X $srcdir/configure conftest.file" \ | |
2371 && test "$*" != "X conftest.file $srcdir/configure"; then | |
2372 | |
2373 # If neither matched, then we have a broken ls. This can happen | |
2374 # if, for instance, CONFIG_SHELL is bash and it inherits a | |
2375 # broken ls alias from the environment. This has actually | |
2376 # happened. Such a system could not be considered "sane". | |
36 | 2377 as_fn_error "ls -t appears to fail. Make sure there is not a broken |
2378 alias in your environment" "$LINENO" 5 | |
0 | 2379 fi |
2380 | |
2381 test "$2" = conftest.file | |
2382 ) | |
2383 then | |
2384 # Ok. | |
2385 : | |
2386 else | |
36 | 2387 as_fn_error "newly created file is older than distributed files! |
2388 Check your system clock" "$LINENO" 5 | |
2389 fi | |
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
2391 $as_echo "yes" >&6; } | |
0 | 2392 test "$program_prefix" != NONE && |
1 | 2393 program_transform_name="s&^&$program_prefix&;$program_transform_name" |
0 | 2394 # Use a double $ so make ignores it. |
2395 test "$program_suffix" != NONE && | |
1 | 2396 program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
36 | 2397 # Double any \ or $. |
0 | 2398 # By default was `s,x,x', remove it if useless. |
36 | 2399 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
2400 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | |
0 | 2401 |
2402 # expand $ac_aux_dir to an absolute path | |
2403 am_aux_dir=`cd $ac_aux_dir && pwd` | |
2404 | |
36 | 2405 if test x"${MISSING+set}" != xset; then |
2406 case $am_aux_dir in | |
2407 *\ * | *\ *) | |
2408 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | |
2409 *) | |
2410 MISSING="\${SHELL} $am_aux_dir/missing" ;; | |
2411 esac | |
2412 fi | |
0 | 2413 # Use eval to expand $SHELL |
2414 if eval "$MISSING --run true"; then | |
2415 am_missing_run="$MISSING --run " | |
2416 else | |
2417 am_missing_run= | |
36 | 2418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
2419 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | |
2420 fi | |
2421 | |
2422 if test x"${install_sh}" != xset; then | |
2423 case $am_aux_dir in | |
2424 *\ * | *\ *) | |
2425 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | |
2426 *) | |
2427 install_sh="\${SHELL} $am_aux_dir/install-sh" | |
2428 esac | |
2429 fi | |
2430 | |
2431 # Installed binaries are usually stripped using `strip' when the user | |
2432 # run `make install-strip'. However `strip' might not be the right | |
2433 # tool to use in cross-compilation environments, therefore Automake | |
2434 # will honor the `STRIP' environment variable to overrule this program. | |
2435 if test "$cross_compiling" != no; then | |
2436 if test -n "$ac_tool_prefix"; then | |
2437 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | |
2438 set dummy ${ac_tool_prefix}strip; ac_word=$2 | |
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2440 $as_echo_n "checking for $ac_word... " >&6; } | |
2441 if test "${ac_cv_prog_STRIP+set}" = set; then : | |
2442 $as_echo_n "(cached) " >&6 | |
2443 else | |
2444 if test -n "$STRIP"; then | |
2445 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
2446 else | |
2447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2448 for as_dir in $PATH | |
2449 do | |
2450 IFS=$as_save_IFS | |
2451 test -z "$as_dir" && as_dir=. | |
2452 for ac_exec_ext in '' $ac_executable_extensions; do | |
2453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2454 ac_cv_prog_STRIP="${ac_tool_prefix}strip" | |
2455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2456 break 2 | |
2457 fi | |
2458 done | |
2459 done | |
2460 IFS=$as_save_IFS | |
2461 | |
2462 fi | |
2463 fi | |
2464 STRIP=$ac_cv_prog_STRIP | |
2465 if test -n "$STRIP"; then | |
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 | |
2467 $as_echo "$STRIP" >&6; } | |
2468 else | |
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2470 $as_echo "no" >&6; } | |
2471 fi | |
2472 | |
2473 | |
2474 fi | |
2475 if test -z "$ac_cv_prog_STRIP"; then | |
2476 ac_ct_STRIP=$STRIP | |
2477 # Extract the first word of "strip", so it can be a program name with args. | |
2478 set dummy strip; ac_word=$2 | |
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2480 $as_echo_n "checking for $ac_word... " >&6; } | |
2481 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : | |
2482 $as_echo_n "(cached) " >&6 | |
2483 else | |
2484 if test -n "$ac_ct_STRIP"; then | |
2485 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |
2486 else | |
2487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2488 for as_dir in $PATH | |
2489 do | |
2490 IFS=$as_save_IFS | |
2491 test -z "$as_dir" && as_dir=. | |
2492 for ac_exec_ext in '' $ac_executable_extensions; do | |
2493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2494 ac_cv_prog_ac_ct_STRIP="strip" | |
2495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2496 break 2 | |
2497 fi | |
2498 done | |
2499 done | |
2500 IFS=$as_save_IFS | |
2501 | |
2502 fi | |
2503 fi | |
2504 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | |
2505 if test -n "$ac_ct_STRIP"; then | |
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 | |
2507 $as_echo "$ac_ct_STRIP" >&6; } | |
2508 else | |
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2510 $as_echo "no" >&6; } | |
2511 fi | |
2512 | |
2513 if test "x$ac_ct_STRIP" = x; then | |
2514 STRIP=":" | |
2515 else | |
2516 case $cross_compiling:$ac_tool_warned in | |
2517 yes:) | |
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
2519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
2520 ac_tool_warned=yes ;; | |
2521 esac | |
2522 STRIP=$ac_ct_STRIP | |
2523 fi | |
2524 else | |
2525 STRIP="$ac_cv_prog_STRIP" | |
2526 fi | |
2527 | |
2528 fi | |
2529 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
2530 | |
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 | |
2532 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | |
2533 if test -z "$MKDIR_P"; then | |
2534 if test "${ac_cv_path_mkdir+set}" = set; then : | |
2535 $as_echo_n "(cached) " >&6 | |
2536 else | |
2537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2538 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | |
2539 do | |
2540 IFS=$as_save_IFS | |
2541 test -z "$as_dir" && as_dir=. | |
2542 for ac_prog in mkdir gmkdir; do | |
2543 for ac_exec_ext in '' $ac_executable_extensions; do | |
2544 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue | |
2545 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | |
2546 'mkdir (GNU coreutils) '* | \ | |
2547 'mkdir (coreutils) '* | \ | |
2548 'mkdir (fileutils) '4.1*) | |
2549 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | |
2550 break 3;; | |
2551 esac | |
2552 done | |
2553 done | |
2554 done | |
2555 IFS=$as_save_IFS | |
2556 | |
2557 fi | |
2558 | |
2559 test -d ./--version && rmdir ./--version | |
2560 if test "${ac_cv_path_mkdir+set}" = set; then | |
2561 MKDIR_P="$ac_cv_path_mkdir -p" | |
2562 else | |
2563 # As a last resort, use the slow shell script. Don't cache a | |
2564 # value for MKDIR_P within a source directory, because that will | |
2565 # break other packages using the cache if that directory is | |
2566 # removed, or if the value is a relative name. | |
2567 MKDIR_P="$ac_install_sh -d" | |
2568 fi | |
2569 fi | |
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 | |
2571 $as_echo "$MKDIR_P" >&6; } | |
2572 | |
2573 mkdir_p="$MKDIR_P" | |
2574 case $mkdir_p in | |
2575 [\\/$]* | ?:[\\/]*) ;; | |
2576 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
2577 esac | |
0 | 2578 |
2579 for ac_prog in gawk mawk nawk awk | |
2580 do | |
2581 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
2582 set dummy $ac_prog; ac_word=$2 | |
36 | 2583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2584 $as_echo_n "checking for $ac_word... " >&6; } | |
2585 if test "${ac_cv_prog_AWK+set}" = set; then : | |
2586 $as_echo_n "(cached) " >&6 | |
0 | 2587 else |
2588 if test -n "$AWK"; then | |
2589 ac_cv_prog_AWK="$AWK" # Let the user override the test. | |
2590 else | |
2591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2592 for as_dir in $PATH | |
2593 do | |
2594 IFS=$as_save_IFS | |
2595 test -z "$as_dir" && as_dir=. | |
36 | 2596 for ac_exec_ext in '' $ac_executable_extensions; do |
1 | 2597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
0 | 2598 ac_cv_prog_AWK="$ac_prog" |
36 | 2599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
0 | 2600 break 2 |
2601 fi | |
2602 done | |
36 | 2603 done |
1 | 2604 IFS=$as_save_IFS |
0 | 2605 |
2606 fi | |
2607 fi | |
2608 AWK=$ac_cv_prog_AWK | |
2609 if test -n "$AWK"; then | |
36 | 2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
2611 $as_echo "$AWK" >&6; } | |
2612 else | |
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2614 $as_echo "no" >&6; } | |
1 | 2615 fi |
2616 | |
0 | 2617 |
2618 test -n "$AWK" && break | |
2619 done | |
2620 | |
36 | 2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2622 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | |
2623 set x ${MAKE-make} | |
2624 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | |
2625 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : | |
2626 $as_echo_n "(cached) " >&6 | |
0 | 2627 else |
2628 cat >conftest.make <<\_ACEOF | |
1 | 2629 SHELL = /bin/sh |
0 | 2630 all: |
1 | 2631 @echo '@@@%%%=$(MAKE)=@@@%%%' |
0 | 2632 _ACEOF |
2633 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | |
1 | 2634 case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2635 *@@@%%%=?*=@@@%%%*) | |
2636 eval ac_cv_prog_make_${ac_make}_set=yes;; | |
2637 *) | |
2638 eval ac_cv_prog_make_${ac_make}_set=no;; | |
2639 esac | |
0 | 2640 rm -f conftest.make |
2641 fi | |
1 | 2642 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
36 | 2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2644 $as_echo "yes" >&6; } | |
0 | 2645 SET_MAKE= |
2646 else | |
36 | 2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2648 $as_echo "no" >&6; } | |
0 | 2649 SET_MAKE="MAKE=${MAKE-make}" |
2650 fi | |
2651 | |
2652 rm -rf .tst 2>/dev/null | |
2653 mkdir .tst 2>/dev/null | |
2654 if test -d .tst; then | |
2655 am__leading_dot=. | |
2656 else | |
2657 am__leading_dot=_ | |
2658 fi | |
2659 rmdir .tst 2>/dev/null | |
2660 | |
36 | 2661 if test "`cd $srcdir && pwd`" != "`pwd`"; then |
2662 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | |
2663 # is not polluted with repeated "-I." | |
2664 am__isrc=' -I$(srcdir)' | |
2665 # test to see if srcdir already configured | |
2666 if test -f $srcdir/config.status; then | |
2667 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 | |
2668 fi | |
0 | 2669 fi |
2670 | |
2671 # test whether we have cygpath | |
2672 if test -z "$CYGPATH_W"; then | |
2673 if (cygpath --version) >/dev/null 2>/dev/null; then | |
2674 CYGPATH_W='cygpath -w' | |
2675 else | |
2676 CYGPATH_W=echo | |
2677 fi | |
2678 fi | |
2679 | |
2680 | |
2681 # Define the identity of the package. | |
2682 PACKAGE='masqmail' | |
159 | 2683 VERSION='0.3.0' |
0 | 2684 |
2685 | |
2686 cat >>confdefs.h <<_ACEOF | |
2687 #define PACKAGE "$PACKAGE" | |
2688 _ACEOF | |
2689 | |
2690 | |
2691 cat >>confdefs.h <<_ACEOF | |
2692 #define VERSION "$VERSION" | |
2693 _ACEOF | |
2694 | |
2695 # Some tools Automake needs. | |
2696 | |
2697 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | |
2698 | |
2699 | |
2700 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | |
2701 | |
2702 | |
2703 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | |
2704 | |
2705 | |
2706 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | |
2707 | |
2708 | |
2709 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | |
2710 | |
36 | 2711 # We need awk for the "check" target. The system "awk" is bad on |
2712 # some platforms. | |
2713 # Always define AMTAR for backward compatibility. | |
0 | 2714 |
2715 AMTAR=${AMTAR-"${am_missing_run}tar"} | |
2716 | |
36 | 2717 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
2718 | |
2719 | |
0 | 2720 |
2721 | |
2722 | |
2723 | |
2724 | |
2725 | |
2726 ac_ext=c | |
2727 ac_cpp='$CPP $CPPFLAGS' | |
2728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
2729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
2730 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
2731 if test -n "$ac_tool_prefix"; then | |
2732 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
2733 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
36 | 2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2735 $as_echo_n "checking for $ac_word... " >&6; } | |
2736 if test "${ac_cv_prog_CC+set}" = set; then : | |
2737 $as_echo_n "(cached) " >&6 | |
0 | 2738 else |
2739 if test -n "$CC"; then | |
2740 ac_cv_prog_CC="$CC" # Let the user override the test. | |
2741 else | |
2742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2743 for as_dir in $PATH | |
2744 do | |
2745 IFS=$as_save_IFS | |
2746 test -z "$as_dir" && as_dir=. | |
36 | 2747 for ac_exec_ext in '' $ac_executable_extensions; do |
1 | 2748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
0 | 2749 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
36 | 2750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
0 | 2751 break 2 |
2752 fi | |
2753 done | |
36 | 2754 done |
1 | 2755 IFS=$as_save_IFS |
0 | 2756 |
2757 fi | |
2758 fi | |
2759 CC=$ac_cv_prog_CC | |
2760 if test -n "$CC"; then | |
36 | 2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2762 $as_echo "$CC" >&6; } | |
2763 else | |
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2765 $as_echo "no" >&6; } | |
1 | 2766 fi |
2767 | |
0 | 2768 |
2769 fi | |
2770 if test -z "$ac_cv_prog_CC"; then | |
2771 ac_ct_CC=$CC | |
2772 # Extract the first word of "gcc", so it can be a program name with args. | |
2773 set dummy gcc; ac_word=$2 | |
36 | 2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2775 $as_echo_n "checking for $ac_word... " >&6; } | |
2776 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | |
2777 $as_echo_n "(cached) " >&6 | |
0 | 2778 else |
2779 if test -n "$ac_ct_CC"; then | |
2780 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
2781 else | |
2782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2783 for as_dir in $PATH | |
2784 do | |
2785 IFS=$as_save_IFS | |
2786 test -z "$as_dir" && as_dir=. | |
36 | 2787 for ac_exec_ext in '' $ac_executable_extensions; do |
1 | 2788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
0 | 2789 ac_cv_prog_ac_ct_CC="gcc" |
36 | 2790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
0 | 2791 break 2 |
2792 fi | |
2793 done | |
36 | 2794 done |
1 | 2795 IFS=$as_save_IFS |
0 | 2796 |
2797 fi | |
2798 fi | |
2799 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
2800 if test -n "$ac_ct_CC"; then | |
36 | 2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
2802 $as_echo "$ac_ct_CC" >&6; } | |
2803 else | |
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2805 $as_echo "no" >&6; } | |
1 | 2806 fi |
2807 | |
2808 if test "x$ac_ct_CC" = x; then | |
2809 CC="" | |
2810 else | |
2811 case $cross_compiling:$ac_tool_warned in | |
2812 yes:) | |
36 | 2813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
1 | 2815 ac_tool_warned=yes ;; |
2816 esac | |
2817 CC=$ac_ct_CC | |
2818 fi | |
0 | 2819 else |
2820 CC="$ac_cv_prog_CC" | |
2821 fi | |
2822 | |
2823 if test -z "$CC"; then | |
1 | 2824 if test -n "$ac_tool_prefix"; then |
2825 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | |
0 | 2826 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
36 | 2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2828 $as_echo_n "checking for $ac_word... " >&6; } | |
2829 if test "${ac_cv_prog_CC+set}" = set; then : | |
2830 $as_echo_n "(cached) " >&6 | |
0 | 2831 else |
2832 if test -n "$CC"; then | |
2833 ac_cv_prog_CC="$CC" # Let the user override the test. | |
2834 else | |
2835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2836 for as_dir in $PATH | |
2837 do | |
2838 IFS=$as_save_IFS | |
2839 test -z "$as_dir" && as_dir=. | |
36 | 2840 for ac_exec_ext in '' $ac_executable_extensions; do |
1 | 2841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
0 | 2842 ac_cv_prog_CC="${ac_tool_prefix}cc" |
36 | 2843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
0 | 2844 break 2 |
2845 fi | |
2846 done | |
36 | 2847 done |
1 | 2848 IFS=$as_save_IFS |
0 | 2849 |
2850 fi | |
2851 fi | |
2852 CC=$ac_cv_prog_CC | |
2853 if test -n "$CC"; then | |
36 | 2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2855 $as_echo "$CC" >&6; } | |
2856 else | |
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2858 $as_echo "no" >&6; } | |
1 | 2859 fi |
2860 | |
2861 | |
0 | 2862 fi |
2863 fi | |
2864 if test -z "$CC"; then | |
2865 # Extract the first word of "cc", so it can be a program name with args. | |
2866 set dummy cc; ac_word=$2 | |
36 | 2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2868 $as_echo_n "checking for $ac_word... " >&6; } | |
2869 if test "${ac_cv_prog_CC+set}" = set; then : | |
2870 $as_echo_n "(cached) " >&6 | |
0 | 2871 else |
2872 if test -n "$CC"; then | |
2873 ac_cv_prog_CC="$CC" # Let the user override the test. | |
2874 else | |
2875 ac_prog_rejected=no | |
2876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2877 for as_dir in $PATH | |
2878 do | |
2879 IFS=$as_save_IFS | |
2880 test -z "$as_dir" && as_dir=. | |
36 | 2881 for ac_exec_ext in '' $ac_executable_extensions; do |
1 | 2882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
0 | 2883 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2884 ac_prog_rejected=yes | |
2885 continue | |
2886 fi | |
2887 ac_cv_prog_CC="cc" | |
36 | 2888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
0 | 2889 break 2 |
2890 fi | |
2891 done | |
36 | 2892 done |
1 | 2893 IFS=$as_save_IFS |
0 | 2894 |
2895 if test $ac_prog_rejected = yes; then | |
2896 # We found a bogon in the path, so make sure we never use it. | |
2897 set dummy $ac_cv_prog_CC | |
2898 shift | |
2899 if test $# != 0; then | |
2900 # We chose a different compiler from the bogus one. | |
2901 # However, it has the same basename, so the bogon will be chosen | |
2902 # first if we set CC to just the basename; use the full file name. | |
2903 shift | |
2904 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | |
2905 fi | |
2906 fi | |
2907 fi | |
2908 fi | |
2909 CC=$ac_cv_prog_CC | |
2910 if test -n "$CC"; then | |
36 | 2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2912 $as_echo "$CC" >&6; } | |
2913 else | |
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2915 $as_echo "no" >&6; } | |
1 | 2916 fi |
2917 | |
0 | 2918 |
2919 fi | |
2920 if test -z "$CC"; then | |
2921 if test -n "$ac_tool_prefix"; then | |
1 | 2922 for ac_prog in cl.exe |
0 | 2923 do |
2924 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
2925 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
36 | 2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2927 $as_echo_n "checking for $ac_word... " >&6; } | |
2928 if test "${ac_cv_prog_CC+set}" = set; then : | |
2929 $as_echo_n "(cached) " >&6 | |
0 | 2930 else |
2931 if test -n "$CC"; then | |
2932 ac_cv_prog_CC="$CC" # Let the user override the test. | |
2933 else | |
2934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2935 for as_dir in $PATH | |
2936 do | |
2937 IFS=$as_save_IFS | |
2938 test -z "$as_dir" && as_dir=. | |
36 | 2939 for ac_exec_ext in '' $ac_executable_extensions; do |
1 | 2940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
0 | 2941 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
36 | 2942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
0 | 2943 break 2 |
2944 fi | |
2945 done | |
36 | 2946 done |
1 | 2947 IFS=$as_save_IFS |
0 | 2948 |
2949 fi | |
2950 fi | |
2951 CC=$ac_cv_prog_CC | |
2952 if test -n "$CC"; then | |
36 | 2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2954 $as_echo "$CC" >&6; } | |
2955 else | |
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2957 $as_echo "no" >&6; } | |
1 | 2958 fi |
2959 | |
0 | 2960 |
2961 test -n "$CC" && break | |
2962 done | |
2963 fi | |
2964 if test -z "$CC"; then | |
2965 ac_ct_CC=$CC | |
1 | 2966 for ac_prog in cl.exe |
0 | 2967 do |
2968 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
2969 set dummy $ac_prog; ac_word=$2 | |
36 | 2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2971 $as_echo_n "checking for $ac_word... " >&6; } | |
2972 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | |
2973 $as_echo_n "(cached) " >&6 | |
0 | 2974 else |
2975 if test -n "$ac_ct_CC"; then | |
2976 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
2977 else | |
2978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2979 for as_dir in $PATH | |
2980 do | |
2981 IFS=$as_save_IFS | |
2982 test -z "$as_dir" && as_dir=. | |
36 | 2983 for ac_exec_ext in '' $ac_executable_extensions; do |
1 | 2984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
0 | 2985 ac_cv_prog_ac_ct_CC="$ac_prog" |
36 | 2986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
0 | 2987 break 2 |
2988 fi | |
2989 done | |
36 | 2990 done |
1 | 2991 IFS=$as_save_IFS |
0 | 2992 |
2993 fi | |
2994 fi | |
2995 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
2996 if test -n "$ac_ct_CC"; then | |
36 | 2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
2998 $as_echo "$ac_ct_CC" >&6; } | |
2999 else | |
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3001 $as_echo "no" >&6; } | |
1 | 3002 fi |
3003 | |
0 | 3004 |
3005 test -n "$ac_ct_CC" && break | |
3006 done | |
3007 | |
1 | 3008 if test "x$ac_ct_CC" = x; then |
3009 CC="" | |
3010 else | |
3011 case $cross_compiling:$ac_tool_warned in | |
3012 yes:) | |
36 | 3013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3014 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
1 | 3015 ac_tool_warned=yes ;; |
3016 esac | |
3017 CC=$ac_ct_CC | |
3018 fi | |
0 | 3019 fi |
3020 | |
3021 fi | |
3022 | |
3023 | |
36 | 3024 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3026 as_fn_error "no acceptable C compiler found in \$PATH | |
3027 See \`config.log' for more details." "$LINENO" 5; } | |
0 | 3028 |
3029 # Provide some information about the compiler. | |
36 | 3030 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3031 set X $ac_compile | |
3032 ac_compiler=$2 | |
3033 for ac_option in --version -v -V -qversion; do | |
3034 { { ac_try="$ac_compiler $ac_option >&5" | |
1 | 3035 case "(($ac_try" in |
3036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3037 *) ac_try_echo=$ac_try;; | |
3038 esac | |
36 | 3039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3040 $as_echo "$ac_try_echo"; } >&5 | |
3041 (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
0 | 3042 ac_status=$? |
36 | 3043 if test -s conftest.err; then |
3044 sed '10a\ | |
3045 ... rest of stderr output deleted ... | |
3046 10q' conftest.err >conftest.er1 | |
3047 cat conftest.er1 >&5 | |
3048 fi | |
3049 rm -f conftest.er1 conftest.err | |
3050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3051 test $ac_status = 0; } | |
3052 done | |
3053 | |
3054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
0 | 3055 /* end confdefs.h. */ |
3056 | |
3057 int | |
3058 main () | |
3059 { | |
3060 | |
3061 ; | |
3062 return 0; | |
3063 } | |
3064 _ACEOF | |
3065 ac_clean_files_save=$ac_clean_files | |
36 | 3066 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
0 | 3067 # Try to create an executable without -o first, disregard a.out. |
3068 # It will help us diagnose broken compilers, and finding out an intuition | |
3069 # of exeext. | |
36 | 3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
3071 $as_echo_n "checking whether the C compiler works... " >&6; } | |
3072 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
3073 | |
3074 # The possible output files: | |
3075 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | |
3076 | |
1 | 3077 ac_rmfiles= |
3078 for ac_file in $ac_files | |
3079 do | |
3080 case $ac_file in | |
36 | 3081 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
1 | 3082 * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
3083 esac | |
3084 done | |
3085 rm -f $ac_rmfiles | |
3086 | |
36 | 3087 if { { ac_try="$ac_link_default" |
1 | 3088 case "(($ac_try" in |
3089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3090 *) ac_try_echo=$ac_try;; | |
3091 esac | |
36 | 3092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3093 $as_echo "$ac_try_echo"; } >&5 | |
1 | 3094 (eval "$ac_link_default") 2>&5 |
0 | 3095 ac_status=$? |
36 | 3096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3097 test $ac_status = 0; }; then : | |
1 | 3098 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
3099 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | |
3100 # in a Makefile. We should not override ac_cv_exeext if it was cached, | |
3101 # so that the user can short-circuit this test for compilers unknown to | |
3102 # Autoconf. | |
3103 for ac_file in $ac_files '' | |
0 | 3104 do |
3105 test -f "$ac_file" || continue | |
3106 case $ac_file in | |
36 | 3107 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
0 | 3108 ;; |
3109 [ab].out ) | |
3110 # We found the default executable, but exeext='' is most | |
3111 # certainly right. | |
3112 break;; | |
3113 *.* ) | |
36 | 3114 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
1 | 3115 then :; else |
3116 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
3117 fi | |
3118 # We set ac_cv_exeext here because the later test for it is not | |
3119 # safe: cross compilers may not add the suffix if given an `-o' | |
3120 # argument, so we may need to know it at that point already. | |
3121 # Even if this section looks crufty: it has the advantage of | |
3122 # actually working. | |
0 | 3123 break;; |
3124 * ) | |
3125 break;; | |
3126 esac | |
3127 done | |
1 | 3128 test "$ac_cv_exeext" = no && ac_cv_exeext= |
3129 | |
3130 else | |
3131 ac_file='' | |
3132 fi | |
36 | 3133 if test -z "$ac_file"; then : |
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3135 $as_echo "no" >&6; } | |
3136 $as_echo "$as_me: failed program was:" >&5 | |
0 | 3137 sed 's/^/| /' conftest.$ac_ext >&5 |
3138 | |
36 | 3139 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3141 { as_fn_set_status 77 | |
3142 as_fn_error "C compiler cannot create executables | |
3143 See \`config.log' for more details." "$LINENO" 5; }; } | |
3144 else | |
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
3146 $as_echo "yes" >&6; } | |
3147 fi | |
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | |
3149 $as_echo_n "checking for C compiler default output file name... " >&6; } | |
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | |
3151 $as_echo "$ac_file" >&6; } | |
0 | 3152 ac_exeext=$ac_cv_exeext |
1 | 3153 |
36 | 3154 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
0 | 3155 ac_clean_files=$ac_clean_files_save |
36 | 3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
3157 $as_echo_n "checking for suffix of executables... " >&6; } | |
3158 if { { ac_try="$ac_link" | |
1 | 3159 case "(($ac_try" in |
3160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3161 *) ac_try_echo=$ac_try;; | |
3162 esac | |
36 | 3163 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3164 $as_echo "$ac_try_echo"; } >&5 | |
1 | 3165 (eval "$ac_link") 2>&5 |
0 | 3166 ac_status=$? |
36 | 3167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3168 test $ac_status = 0; }; then : | |
0 | 3169 # If both `conftest.exe' and `conftest' are `present' (well, observable) |
3170 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
3171 # work properly (i.e., refer to `conftest.exe'), while it won't with | |
3172 # `rm'. | |
3173 for ac_file in conftest.exe conftest conftest.*; do | |
3174 test -f "$ac_file" || continue | |
3175 case $ac_file in | |
36 | 3176 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
0 | 3177 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3178 break;; | |
3179 * ) break;; | |
3180 esac | |
3181 done | |
3182 else | |
36 | 3183 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3185 as_fn_error "cannot compute suffix of executables: cannot compile and link | |
3186 See \`config.log' for more details." "$LINENO" 5; } | |
3187 fi | |
3188 rm -f conftest conftest$ac_cv_exeext | |
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | |
3190 $as_echo "$ac_cv_exeext" >&6; } | |
0 | 3191 |
3192 rm -f conftest.$ac_ext | |
3193 EXEEXT=$ac_cv_exeext | |
3194 ac_exeext=$EXEEXT | |
36 | 3195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3196 /* end confdefs.h. */ | |
3197 #include <stdio.h> | |
3198 int | |
3199 main () | |
3200 { | |
3201 FILE *f = fopen ("conftest.out", "w"); | |
3202 return ferror (f) || fclose (f) != 0; | |
3203 | |
3204 ; | |
3205 return 0; | |
3206 } | |
0 | 3207 _ACEOF |
36 | 3208 ac_clean_files="$ac_clean_files conftest.out" |
3209 # Check that the compiler produces executables we can run. If not, either | |
3210 # the compiler is broken, or we cross compile. | |
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | |
3212 $as_echo_n "checking whether we are cross compiling... " >&6; } | |
3213 if test "$cross_compiling" != yes; then | |
3214 { { ac_try="$ac_link" | |
3215 case "(($ac_try" in | |
3216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3217 *) ac_try_echo=$ac_try;; | |
3218 esac | |
3219 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3220 $as_echo "$ac_try_echo"; } >&5 | |
3221 (eval "$ac_link") 2>&5 | |
3222 ac_status=$? | |
3223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3224 test $ac_status = 0; } | |
3225 if { ac_try='./conftest$ac_cv_exeext' | |
3226 { { case "(($ac_try" in | |
3227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3228 *) ac_try_echo=$ac_try;; | |
3229 esac | |
3230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3231 $as_echo "$ac_try_echo"; } >&5 | |
3232 (eval "$ac_try") 2>&5 | |
3233 ac_status=$? | |
3234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3235 test $ac_status = 0; }; }; then | |
3236 cross_compiling=no | |
3237 else | |
3238 if test "$cross_compiling" = maybe; then | |
3239 cross_compiling=yes | |
3240 else | |
3241 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3243 as_fn_error "cannot run C compiled programs. | |
3244 If you meant to cross compile, use \`--host'. | |
3245 See \`config.log' for more details." "$LINENO" 5; } | |
3246 fi | |
3247 fi | |
3248 fi | |
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | |
3250 $as_echo "$cross_compiling" >&6; } | |
3251 | |
3252 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | |
3253 ac_clean_files=$ac_clean_files_save | |
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | |
3255 $as_echo_n "checking for suffix of object files... " >&6; } | |
3256 if test "${ac_cv_objext+set}" = set; then : | |
3257 $as_echo_n "(cached) " >&6 | |
3258 else | |
3259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
0 | 3260 /* end confdefs.h. */ |
3261 | |
3262 int | |
3263 main () | |
3264 { | |
3265 | |
3266 ; | |
3267 return 0; | |
3268 } | |
3269 _ACEOF | |
3270 rm -f conftest.o conftest.obj | |
36 | 3271 if { { ac_try="$ac_compile" |
1 | 3272 case "(($ac_try" in |
3273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3274 *) ac_try_echo=$ac_try;; | |
3275 esac | |
36 | 3276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3277 $as_echo "$ac_try_echo"; } >&5 | |
1 | 3278 (eval "$ac_compile") 2>&5 |
0 | 3279 ac_status=$? |
36 | 3280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3281 test $ac_status = 0; }; then : | |
1 | 3282 for ac_file in conftest.o conftest.obj conftest.*; do |
3283 test -f "$ac_file" || continue; | |
0 | 3284 case $ac_file in |
36 | 3285 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
0 | 3286 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3287 break;; | |
3288 esac | |
3289 done | |
3290 else | |
36 | 3291 $as_echo "$as_me: failed program was:" >&5 |
0 | 3292 sed 's/^/| /' conftest.$ac_ext >&5 |
3293 | |
36 | 3294 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3296 as_fn_error "cannot compute suffix of object files: cannot compile | |
3297 See \`config.log' for more details." "$LINENO" 5; } | |
3298 fi | |
0 | 3299 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3300 fi | |
36 | 3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3302 $as_echo "$ac_cv_objext" >&6; } | |
0 | 3303 OBJEXT=$ac_cv_objext |
3304 ac_objext=$OBJEXT | |
36 | 3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3306 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | |
3307 if test "${ac_cv_c_compiler_gnu+set}" = set; then : | |
3308 $as_echo_n "(cached) " >&6 | |
3309 else | |
3310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
0 | 3311 /* end confdefs.h. */ |
3312 | |
3313 int | |
3314 main () | |
3315 { | |
3316 #ifndef __GNUC__ | |
3317 choke me | |
3318 #endif | |
3319 | |
3320 ; | |
3321 return 0; | |
3322 } | |
3323 _ACEOF | |
36 | 3324 if ac_fn_c_try_compile "$LINENO"; then : |
0 | 3325 ac_compiler_gnu=yes |
3326 else | |
36 | 3327 ac_compiler_gnu=no |
3328 fi | |
1 | 3329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
0 | 3330 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3331 | |
3332 fi | |
36 | 3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
3334 $as_echo "$ac_cv_c_compiler_gnu" >&6; } | |
3335 if test $ac_compiler_gnu = yes; then | |
3336 GCC=yes | |
3337 else | |
3338 GCC= | |
3339 fi | |
0 | 3340 ac_test_CFLAGS=${CFLAGS+set} |
3341 ac_save_CFLAGS=$CFLAGS | |
36 | 3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3343 $as_echo_n "checking whether $CC accepts -g... " >&6; } | |
3344 if test "${ac_cv_prog_cc_g+set}" = set; then : | |
3345 $as_echo_n "(cached) " >&6 | |
0 | 3346 else |
1 | 3347 ac_save_c_werror_flag=$ac_c_werror_flag |
3348 ac_c_werror_flag=yes | |
3349 ac_cv_prog_cc_g=no | |
3350 CFLAGS="-g" | |
36 | 3351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1 | 3352 /* end confdefs.h. */ |
3353 | |
3354 int | |
3355 main () | |
3356 { | |
3357 | |
3358 ; | |
3359 return 0; | |
3360 } | |
3361 _ACEOF | |
36 | 3362 if ac_fn_c_try_compile "$LINENO"; then : |
1 | 3363 ac_cv_prog_cc_g=yes |
3364 else | |
36 | 3365 CFLAGS="" |
3366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
0 | 3367 /* end confdefs.h. */ |
3368 | |
3369 int | |
3370 main () | |
3371 { | |
3372 | |
3373 ; | |
3374 return 0; | |
3375 } | |
3376 _ACEOF | |
36 | 3377 if ac_fn_c_try_compile "$LINENO"; then : |
3378 | |
3379 else | |
3380 ac_c_werror_flag=$ac_save_c_werror_flag | |
1 | 3381 CFLAGS="-g" |
36 | 3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1 | 3383 /* end confdefs.h. */ |
3384 | |
3385 int | |
3386 main () | |
3387 { | |
3388 | |
3389 ; | |
3390 return 0; | |
3391 } | |
3392 _ACEOF | |
36 | 3393 if ac_fn_c_try_compile "$LINENO"; then : |
0 | 3394 ac_cv_prog_cc_g=yes |
36 | 3395 fi |
1 | 3396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3397 fi | |
3398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3399 fi | |
3400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3401 ac_c_werror_flag=$ac_save_c_werror_flag | |
3402 fi | |
36 | 3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
3404 $as_echo "$ac_cv_prog_cc_g" >&6; } | |
0 | 3405 if test "$ac_test_CFLAGS" = set; then |
3406 CFLAGS=$ac_save_CFLAGS | |
3407 elif test $ac_cv_prog_cc_g = yes; then | |
3408 if test "$GCC" = yes; then | |
3409 CFLAGS="-g -O2" | |
3410 else | |
3411 CFLAGS="-g" | |
3412 fi | |
3413 else | |
3414 if test "$GCC" = yes; then | |
3415 CFLAGS="-O2" | |
3416 else | |
3417 CFLAGS= | |
3418 fi | |
3419 fi | |
36 | 3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3421 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | |
3422 if test "${ac_cv_prog_cc_c89+set}" = set; then : | |
3423 $as_echo_n "(cached) " >&6 | |
0 | 3424 else |
1 | 3425 ac_cv_prog_cc_c89=no |
0 | 3426 ac_save_CC=$CC |
36 | 3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
0 | 3428 /* end confdefs.h. */ |
3429 #include <stdarg.h> | |
3430 #include <stdio.h> | |
3431 #include <sys/types.h> | |
3432 #include <sys/stat.h> | |
3433 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
3434 struct buf { int x; }; | |
3435 FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
3436 static char *e (p, i) | |
3437 char **p; | |
3438 int i; | |
3439 { | |
3440 return p[i]; | |
3441 } | |
3442 static char *f (char * (*g) (char **, int), char **p, ...) | |
3443 { | |
3444 char *s; | |
3445 va_list v; | |
3446 va_start (v,p); | |
3447 s = g (p, va_arg (v,int)); | |
3448 va_end (v); | |
3449 return s; | |
3450 } | |
3451 | |
3452 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
3453 function prototypes and stuff, but not '\xHH' hex character constants. | |
3454 These don't provoke an error unfortunately, instead are silently treated | |
1 | 3455 as 'x'. The following induces an error, until -std is added to get |
0 | 3456 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
3457 array size at least. It's necessary to write '\x00'==0 to get something | |
1 | 3458 that's true only with -std. */ |
0 | 3459 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
3460 | |
1 | 3461 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
3462 inside strings and character constants. */ | |
3463 #define FOO(x) 'x' | |
3464 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
3465 | |
0 | 3466 int test (int i, double x); |
3467 struct s1 {int (*f) (int a);}; | |
3468 struct s2 {int (*f) (double a);}; | |
3469 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
3470 int argc; | |
3471 char **argv; | |
3472 int | |
3473 main () | |
3474 { | |
3475 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
3476 ; | |
3477 return 0; | |
3478 } | |
3479 _ACEOF | |
1 | 3480 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
3481 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
0 | 3482 do |
3483 CC="$ac_save_CC $ac_arg" | |
36 | 3484 if ac_fn_c_try_compile "$LINENO"; then : |
1 | 3485 ac_cv_prog_cc_c89=$ac_arg |
36 | 3486 fi |
1 | 3487 rm -f core conftest.err conftest.$ac_objext |
3488 test "x$ac_cv_prog_cc_c89" != "xno" && break | |
0 | 3489 done |
1 | 3490 rm -f conftest.$ac_ext |
3491 CC=$ac_save_CC | |
3492 | |
3493 fi | |
3494 # AC_CACHE_VAL | |
3495 case "x$ac_cv_prog_cc_c89" in | |
3496 x) | |
36 | 3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
3498 $as_echo "none needed" >&6; } ;; | |
1 | 3499 xno) |
36 | 3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
3501 $as_echo "unsupported" >&6; } ;; | |
1 | 3502 *) |
3503 CC="$CC $ac_cv_prog_cc_c89" | |
36 | 3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
3505 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | |
1 | 3506 esac |
36 | 3507 if test "x$ac_cv_prog_cc_c89" != xno; then : |
3508 | |
3509 fi | |
1 | 3510 |
0 | 3511 ac_ext=c |
3512 ac_cpp='$CPP $CPPFLAGS' | |
3513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3515 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3516 DEPDIR="${am__leading_dot}deps" | |
3517 | |
1 | 3518 ac_config_commands="$ac_config_commands depfiles" |
0 | 3519 |
3520 | |
3521 am_make=${MAKE-make} | |
3522 cat > confinc << 'END' | |
3523 am__doit: | |
36 | 3524 @echo this is the am__doit target |
0 | 3525 .PHONY: am__doit |
3526 END | |
3527 # If we don't find an include directive, just comment out the code. | |
36 | 3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
3529 $as_echo_n "checking for style of include used by $am_make... " >&6; } | |
0 | 3530 am__include="#" |
3531 am__quote= | |
3532 _am_result=none | |
3533 # First try GNU make style include. | |
3534 echo "include confinc" > confmf | |
36 | 3535 # Ignore all kinds of additional output from `make'. |
3536 case `$am_make -s -f confmf 2> /dev/null` in #( | |
3537 *the\ am__doit\ target*) | |
3538 am__include=include | |
3539 am__quote= | |
3540 _am_result=GNU | |
3541 ;; | |
3542 esac | |
0 | 3543 # Now try BSD make style include. |
3544 if test "$am__include" = "#"; then | |
3545 echo '.include "confinc"' > confmf | |
36 | 3546 case `$am_make -s -f confmf 2> /dev/null` in #( |
3547 *the\ am__doit\ target*) | |
3548 am__include=.include | |
3549 am__quote="\"" | |
3550 _am_result=BSD | |
3551 ;; | |
3552 esac | |
3553 fi | |
3554 | |
3555 | |
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 | |
3557 $as_echo "$_am_result" >&6; } | |
0 | 3558 rm -f confinc confmf |
3559 | |
1 | 3560 # Check whether --enable-dependency-tracking was given. |
36 | 3561 if test "${enable_dependency_tracking+set}" = set; then : |
1 | 3562 enableval=$enable_dependency_tracking; |
3563 fi | |
3564 | |
0 | 3565 if test "x$enable_dependency_tracking" != xno; then |
3566 am_depcomp="$ac_aux_dir/depcomp" | |
3567 AMDEPBACKSLASH='\' | |
3568 fi | |
36 | 3569 if test "x$enable_dependency_tracking" != xno; then |
0 | 3570 AMDEP_TRUE= |
3571 AMDEP_FALSE='#' | |
3572 else | |
3573 AMDEP_TRUE='#' | |
3574 AMDEP_FALSE= | |
3575 fi | |
3576 | |
3577 | |
3578 | |
3579 depcc="$CC" am_compiler_list= | |
3580 | |
36 | 3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
3582 $as_echo_n "checking dependency style of $depcc... " >&6; } | |
3583 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : | |
3584 $as_echo_n "(cached) " >&6 | |
0 | 3585 else |
3586 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | |
3587 # We make a subdir and do the tests there. Otherwise we can end up | |
3588 # making bogus files that we don't know about and never remove. For | |
3589 # instance it was reported that on HP-UX the gcc test will end up | |
3590 # making a dummy file named `D' -- because `-MD' means `put the output | |
3591 # in D'. | |
3592 mkdir conftest.dir | |
3593 # Copy depcomp to subdir because otherwise we won't find it if we're | |
3594 # using a relative directory. | |
3595 cp "$am_depcomp" conftest.dir | |
3596 cd conftest.dir | |
3597 # We will build objects and dependencies in a subdirectory because | |
3598 # it helps to detect inapplicable dependency modes. For instance | |
3599 # both Tru64's cc and ICC support -MD to output dependencies as a | |
3600 # side effect of compilation, but ICC will put the dependencies in | |
3601 # the current directory while Tru64 will put them in the object | |
3602 # directory. | |
3603 mkdir sub | |
3604 | |
3605 am_cv_CC_dependencies_compiler_type=none | |
3606 if test "$am_compiler_list" = ""; then | |
3607 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | |
3608 fi | |
36 | 3609 am__universal=false |
3610 case " $depcc " in #( | |
3611 *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
3612 esac | |
3613 | |
0 | 3614 for depmode in $am_compiler_list; do |
3615 # Setup a source with many dependencies, because some compilers | |
3616 # like to wrap large dependency lists on column 80 (with \), and | |
3617 # we should not choose a depcomp mode which is confused by this. | |
3618 # | |
3619 # We need to recreate these files for each test, as the compiler may | |
3620 # overwrite some of them when testing with obscure command lines. | |
3621 # This happens at least with the AIX C compiler. | |
3622 : > sub/conftest.c | |
3623 for i in 1 2 3 4 5 6; do | |
3624 echo '#include "conftst'$i'.h"' >> sub/conftest.c | |
36 | 3625 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
3626 # Solaris 8's {/usr,}/bin/sh. | |
3627 touch sub/conftst$i.h | |
0 | 3628 done |
3629 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
3630 | |
36 | 3631 # We check with `-c' and `-o' for the sake of the "dashmstdout" |
3632 # mode. It turns out that the SunPro C++ compiler does not properly | |
3633 # handle `-M -o', and we need to detect this. Also, some Intel | |
3634 # versions had trouble with output in subdirs | |
3635 am__obj=sub/conftest.${OBJEXT-o} | |
3636 am__minus_obj="-o $am__obj" | |
0 | 3637 case $depmode in |
36 | 3638 gcc) |
3639 # This depmode causes a compiler race in universal mode. | |
3640 test "$am__universal" = false || continue | |
3641 ;; | |
0 | 3642 nosideeffect) |
3643 # after this tag, mechanisms are not by side-effect, so they'll | |
3644 # only be used when explicitly requested | |
3645 if test "x$enable_dependency_tracking" = xyes; then | |
3646 continue | |
3647 else | |
3648 break | |
3649 fi | |
3650 ;; | |
36 | 3651 msvisualcpp | msvcmsys) |
3652 # This compiler won't grok `-c -o', but also, the minuso test has | |
3653 # not run yet. These depmodes are late enough in the game, and | |
3654 # so weak that their functioning should not be impacted. | |
3655 am__obj=conftest.${OBJEXT-o} | |
3656 am__minus_obj= | |
3657 ;; | |
0 | 3658 none) break ;; |
3659 esac | |
3660 if depmode=$depmode \ | |
36 | 3661 source=sub/conftest.c object=$am__obj \ |
0 | 3662 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
36 | 3663 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
0 | 3664 >/dev/null 2>conftest.err && |
36 | 3665 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
0 | 3666 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
36 | 3667 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
0 | 3668 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
3669 # icc doesn't choke on unknown options, it will just issue warnings | |
36 | 3670 # or remarks (even with -Werror). So we grep stderr for any message |
3671 # that says an option was ignored or not supported. | |
3672 # When given -MP, icc 7.0 and 7.1 complain thusly: | |
3673 # icc: Command line warning: ignoring option '-M'; no argument required | |
3674 # The diagnosis changed in icc 8.0: | |
3675 # icc: Command line remark: option '-MP' not supported | |
3676 if (grep 'ignoring option' conftest.err || | |
3677 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
0 | 3678 am_cv_CC_dependencies_compiler_type=$depmode |
3679 break | |
3680 fi | |
3681 fi | |
3682 done | |
3683 | |
3684 cd .. | |
3685 rm -rf conftest.dir | |
3686 else | |
3687 am_cv_CC_dependencies_compiler_type=none | |
3688 fi | |
3689 | |
3690 fi | |
36 | 3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
3692 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | |
0 | 3693 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
3694 | |
36 | 3695 if |
0 | 3696 test "x$enable_dependency_tracking" != xno \ |
3697 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | |
3698 am__fastdepCC_TRUE= | |
3699 am__fastdepCC_FALSE='#' | |
3700 else | |
3701 am__fastdepCC_TRUE='#' | |
3702 am__fastdepCC_FALSE= | |
3703 fi | |
3704 | |
3705 | |
3706 | |
36 | 3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 |
3708 $as_echo_n "checking for library containing strerror... " >&6; } | |
3709 if test "${ac_cv_search_strerror+set}" = set; then : | |
3710 $as_echo_n "(cached) " >&6 | |
0 | 3711 else |
1 | 3712 ac_func_search_save_LIBS=$LIBS |
36 | 3713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
0 | 3714 /* end confdefs.h. */ |
3715 | |
1 | 3716 /* Override any GCC internal prototype to avoid an error. |
3717 Use char because int might match the return type of a GCC | |
3718 builtin and then its argument prototype would still apply. */ | |
0 | 3719 #ifdef __cplusplus |
3720 extern "C" | |
3721 #endif | |
3722 char strerror (); | |
3723 int | |
3724 main () | |
3725 { | |
1 | 3726 return strerror (); |
0 | 3727 ; |
3728 return 0; | |
3729 } | |
3730 _ACEOF | |
1 | 3731 for ac_lib in '' cposix; do |
3732 if test -z "$ac_lib"; then | |
3733 ac_res="none required" | |
3734 else | |
3735 ac_res=-l$ac_lib | |
3736 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | |
3737 fi | |
36 | 3738 if ac_fn_c_try_link "$LINENO"; then : |
1 | 3739 ac_cv_search_strerror=$ac_res |
36 | 3740 fi |
3741 rm -f core conftest.err conftest.$ac_objext \ | |
3742 conftest$ac_exeext | |
3743 if test "${ac_cv_search_strerror+set}" = set; then : | |
1 | 3744 break |
3745 fi | |
3746 done | |
36 | 3747 if test "${ac_cv_search_strerror+set}" = set; then : |
3748 | |
1 | 3749 else |
3750 ac_cv_search_strerror=no | |
3751 fi | |
3752 rm conftest.$ac_ext | |
3753 LIBS=$ac_func_search_save_LIBS | |
3754 fi | |
36 | 3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 |
3756 $as_echo "$ac_cv_search_strerror" >&6; } | |
1 | 3757 ac_res=$ac_cv_search_strerror |
36 | 3758 if test "$ac_res" != no; then : |
1 | 3759 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
3760 | |
3761 fi | |
0 | 3762 |
3763 ac_ext=c | |
3764 ac_cpp='$CPP $CPPFLAGS' | |
3765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3767 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
36 | 3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
3769 $as_echo_n "checking how to run the C preprocessor... " >&6; } | |
0 | 3770 # On Suns, sometimes $CPP names a directory. |
3771 if test -n "$CPP" && test -d "$CPP"; then | |
3772 CPP= | |
3773 fi | |
3774 if test -z "$CPP"; then | |
36 | 3775 if test "${ac_cv_prog_CPP+set}" = set; then : |
3776 $as_echo_n "(cached) " >&6 | |
0 | 3777 else |
3778 # Double quotes because CPP needs to be expanded | |
3779 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
3780 do | |
3781 ac_preproc_ok=false | |
3782 for ac_c_preproc_warn_flag in '' yes | |
3783 do | |
3784 # Use a header file that comes with gcc, so configuring glibc | |
3785 # with a fresh cross-compiler works. | |
3786 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
3787 # <limits.h> exists even on freestanding compilers. | |
3788 # On the NeXT, cc -E runs the code through the compiler's parser, | |
3789 # not just through cpp. "Syntax error" is here to catch this case. | |
36 | 3790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
0 | 3791 /* end confdefs.h. */ |
3792 #ifdef __STDC__ | |
3793 # include <limits.h> | |
3794 #else | |
3795 # include <assert.h> | |
3796 #endif | |
3797 Syntax error | |
3798 _ACEOF | |
36 | 3799 if ac_fn_c_try_cpp "$LINENO"; then : |
3800 | |
3801 else | |
0 | 3802 # Broken: fails on valid input. |
3803 continue | |
3804 fi | |
3805 rm -f conftest.err conftest.$ac_ext | |
3806 | |
1 | 3807 # OK, works on sane cases. Now check whether nonexistent headers |
0 | 3808 # can be detected and how. |
36 | 3809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
0 | 3810 /* end confdefs.h. */ |
3811 #include <ac_nonexistent.h> | |
3812 _ACEOF | |
36 | 3813 if ac_fn_c_try_cpp "$LINENO"; then : |
0 | 3814 # Broken: success on invalid input. |
3815 continue | |
3816 else | |
3817 # Passes both tests. | |
3818 ac_preproc_ok=: | |
3819 break | |
3820 fi | |
3821 rm -f conftest.err conftest.$ac_ext | |
3822 | |
3823 done | |
3824 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
3825 rm -f conftest.err conftest.$ac_ext | |
36 | 3826 if $ac_preproc_ok; then : |
0 | 3827 break |
3828 fi | |
3829 | |
3830 done | |
3831 ac_cv_prog_CPP=$CPP | |
3832 | |
3833 fi | |
3834 CPP=$ac_cv_prog_CPP | |
3835 else | |
3836 ac_cv_prog_CPP=$CPP | |
3837 fi | |
36 | 3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
3839 $as_echo "$CPP" >&6; } | |
0 | 3840 ac_preproc_ok=false |
3841 for ac_c_preproc_warn_flag in '' yes | |
3842 do | |
3843 # Use a header file that comes with gcc, so configuring glibc | |
3844 # with a fresh cross-compiler works. | |
3845 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
3846 # <limits.h> exists even on freestanding compilers. | |
3847 # On the NeXT, cc -E runs the code through the compiler's parser, | |
3848 # not just through cpp. "Syntax error" is here to catch this case. | |
36 | 3849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
0 | 3850 /* end confdefs.h. */ |
3851 #ifdef __STDC__ | |
3852 # include <limits.h> | |
3853 #else | |
3854 # include <assert.h> | |
3855 #endif | |
3856 Syntax error | |
3857 _ACEOF | |
36 | 3858 if ac_fn_c_try_cpp "$LINENO"; then : |
3859 | |
3860 else | |
0 | 3861 # Broken: fails on valid input. |
3862 continue | |
3863 fi | |
3864 rm -f conftest.err conftest.$ac_ext | |
3865 | |
1 | 3866 # OK, works on sane cases. Now check whether nonexistent headers |
0 | 3867 # can be detected and how. |
36 | 3868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
0 | 3869 /* end confdefs.h. */ |
3870 #include <ac_nonexistent.h> | |
3871 _ACEOF | |
36 | 3872 if ac_fn_c_try_cpp "$LINENO"; then : |
0 | 3873 # Broken: success on invalid input. |
3874 continue | |
3875 else | |
3876 # Passes both tests. | |
3877 ac_preproc_ok=: | |
3878 break | |
3879 fi | |
3880 rm -f conftest.err conftest.$ac_ext | |
3881 | |
3882 done | |
3883 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
3884 rm -f conftest.err conftest.$ac_ext | |
36 | 3885 if $ac_preproc_ok; then : |
3886 | |
3887 else | |
3888 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3890 as_fn_error "C preprocessor \"$CPP\" fails sanity check | |
3891 See \`config.log' for more details." "$LINENO" 5; } | |
0 | 3892 fi |
3893 | |
3894 ac_ext=c | |
3895 ac_cpp='$CPP $CPPFLAGS' | |
3896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3898 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3899 | |
3900 | |
36 | 3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
3902 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | |
3903 if test "${ac_cv_path_GREP+set}" = set; then : | |
3904 $as_echo_n "(cached) " >&6 | |
3905 else | |
3906 if test -z "$GREP"; then | |
1 | 3907 ac_path_GREP_found=false |
36 | 3908 # Loop through the user's path and test for each of PROGNAME-LIST |
3909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1 | 3910 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3911 do | |
3912 IFS=$as_save_IFS | |
3913 test -z "$as_dir" && as_dir=. | |
36 | 3914 for ac_prog in grep ggrep; do |
3915 for ac_exec_ext in '' $ac_executable_extensions; do | |
3916 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | |
3917 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | |
3918 # Check for GNU ac_path_GREP and select it if it is found. | |
1 | 3919 # Check for GNU $ac_path_GREP |
3920 case `"$ac_path_GREP" --version 2>&1` in | |
3921 *GNU*) | |
3922 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | |
3923 *) | |
3924 ac_count=0 | |
36 | 3925 $as_echo_n 0123456789 >"conftest.in" |
1 | 3926 while : |
3927 do | |
3928 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
3929 mv "conftest.tmp" "conftest.in" | |
3930 cp "conftest.in" "conftest.nl" | |
36 | 3931 $as_echo 'GREP' >> "conftest.nl" |
1 | 3932 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3933 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
36 | 3934 as_fn_arith $ac_count + 1 && ac_count=$as_val |
1 | 3935 if test $ac_count -gt ${ac_path_GREP_max-0}; then |
3936 # Best one so far, save it but keep looking for a better one | |
3937 ac_cv_path_GREP="$ac_path_GREP" | |
3938 ac_path_GREP_max=$ac_count | |
0 | 3939 fi |
1 | 3940 # 10*(2^10) chars as input seems more than enough |
3941 test $ac_count -gt 10 && break | |
3942 done | |
3943 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
3944 esac | |
3945 | |
36 | 3946 $ac_path_GREP_found && break 3 |
3947 done | |
1 | 3948 done |
36 | 3949 done |
1 | 3950 IFS=$as_save_IFS |
36 | 3951 if test -z "$ac_cv_path_GREP"; then |
3952 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
3953 fi | |
1 | 3954 else |
3955 ac_cv_path_GREP=$GREP | |
3956 fi | |
3957 | |
36 | 3958 fi |
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | |
3960 $as_echo "$ac_cv_path_GREP" >&6; } | |
1 | 3961 GREP="$ac_cv_path_GREP" |
3962 | |
3963 | |
36 | 3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
3965 $as_echo_n "checking for egrep... " >&6; } | |
3966 if test "${ac_cv_path_EGREP+set}" = set; then : | |
3967 $as_echo_n "(cached) " >&6 | |
1 | 3968 else |
3969 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | |
3970 then ac_cv_path_EGREP="$GREP -E" | |
3971 else | |
36 | 3972 if test -z "$EGREP"; then |
1 | 3973 ac_path_EGREP_found=false |
36 | 3974 # Loop through the user's path and test for each of PROGNAME-LIST |
3975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1 | 3976 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3977 do | |
3978 IFS=$as_save_IFS | |
3979 test -z "$as_dir" && as_dir=. | |
36 | 3980 for ac_prog in egrep; do |
3981 for ac_exec_ext in '' $ac_executable_extensions; do | |
3982 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | |
3983 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | |
3984 # Check for GNU ac_path_EGREP and select it if it is found. | |
1 | 3985 # Check for GNU $ac_path_EGREP |
3986 case `"$ac_path_EGREP" --version 2>&1` in | |
3987 *GNU*) | |
3988 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | |
3989 *) | |
3990 ac_count=0 | |
36 | 3991 $as_echo_n 0123456789 >"conftest.in" |
1 | 3992 while : |
3993 do | |
3994 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
3995 mv "conftest.tmp" "conftest.in" | |
3996 cp "conftest.in" "conftest.nl" | |
36 | 3997 $as_echo 'EGREP' >> "conftest.nl" |
1 | 3998 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3999 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
36 | 4000 as_fn_arith $ac_count + 1 && ac_count=$as_val |
1 | 4001 if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
4002 # Best one so far, save it but keep looking for a better one | |
4003 ac_cv_path_EGREP="$ac_path_EGREP" | |
4004 ac_path_EGREP_max=$ac_count | |
4005 fi | |
4006 # 10*(2^10) chars as input seems more than enough | |
4007 test $ac_count -gt 10 && break | |
4008 done | |
4009 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
4010 esac | |
4011 | |
36 | 4012 $ac_path_EGREP_found && break 3 |
4013 done | |
1 | 4014 done |
36 | 4015 done |
1 | 4016 IFS=$as_save_IFS |
36 | 4017 if test -z "$ac_cv_path_EGREP"; then |
4018 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
4019 fi | |
1 | 4020 else |
4021 ac_cv_path_EGREP=$EGREP | |
4022 fi | |
4023 | |
4024 fi | |
4025 fi | |
36 | 4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
4027 $as_echo "$ac_cv_path_EGREP" >&6; } | |
1 | 4028 EGREP="$ac_cv_path_EGREP" |
4029 | |
4030 | |
36 | 4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
4032 $as_echo_n "checking for ANSI C header files... " >&6; } | |
4033 if test "${ac_cv_header_stdc+set}" = set; then : | |
4034 $as_echo_n "(cached) " >&6 | |
4035 else | |
4036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
0 | 4037 /* end confdefs.h. */ |
4038 #include <stdlib.h> | |
4039 #include <stdarg.h> | |
4040 #include <string.h> | |
4041 #include <float.h> | |
4042 | |
4043 int | |
4044 main () | |
4045 { | |
4046 | |
4047 ; | |
4048 return 0; | |
4049 } | |
4050 _ACEOF | |
36 | 4051 if ac_fn_c_try_compile "$LINENO"; then : |
0 | 4052 ac_cv_header_stdc=yes |
4053 else | |
36 | 4054 ac_cv_header_stdc=no |
4055 fi | |
1 | 4056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
0 | 4057 |
4058 if test $ac_cv_header_stdc = yes; then | |
4059 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
36 | 4060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
0 | 4061 /* end confdefs.h. */ |
4062 #include <string.h> | |
4063 | |
4064 _ACEOF | |
4065 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
36 | 4066 $EGREP "memchr" >/dev/null 2>&1; then : |
4067 | |
0 | 4068 else |
4069 ac_cv_header_stdc=no | |
4070 fi | |
4071 rm -f conftest* | |
4072 | |
4073 fi | |
4074 | |
4075 if test $ac_cv_header_stdc = yes; then | |
4076 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
36 | 4077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
0 | 4078 /* end confdefs.h. */ |
4079 #include <stdlib.h> | |
4080 | |
4081 _ACEOF | |
4082 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
36 | 4083 $EGREP "free" >/dev/null 2>&1; then : |
4084 | |
0 | 4085 else |
4086 ac_cv_header_stdc=no | |
4087 fi | |
4088 rm -f conftest* | |
4089 | |
4090 fi | |
4091 | |
4092 if test $ac_cv_header_stdc = yes; then | |
4093 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
36 | 4094 if test "$cross_compiling" = yes; then : |
0 | 4095 : |
4096 else | |
36 | 4097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
0 | 4098 /* end confdefs.h. */ |
4099 #include <ctype.h> | |
1 | 4100 #include <stdlib.h> |
0 | 4101 #if ((' ' & 0x0FF) == 0x020) |
4102 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
4103 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
4104 #else | |
4105 # define ISLOWER(c) \ | |
4106 (('a' <= (c) && (c) <= 'i') \ | |
4107 || ('j' <= (c) && (c) <= 'r') \ | |
4108 || ('s' <= (c) && (c) <= 'z')) | |
4109 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
4110 #endif | |
4111 | |
4112 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
4113 int | |
4114 main () | |
4115 { | |
4116 int i; | |
4117 for (i = 0; i < 256; i++) | |
4118 if (XOR (islower (i), ISLOWER (i)) | |
4119 || toupper (i) != TOUPPER (i)) | |
1 | 4120 return 2; |
4121 return 0; | |
0 | 4122 } |
4123 _ACEOF | |
36 | 4124 if ac_fn_c_try_run "$LINENO"; then : |
4125 | |
4126 else | |
4127 ac_cv_header_stdc=no | |
4128 fi | |
4129 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
4130 conftest.$ac_objext conftest.beam conftest.$ac_ext | |
4131 fi | |
4132 | |
4133 fi | |
4134 fi | |
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | |
4136 $as_echo "$ac_cv_header_stdc" >&6; } | |
0 | 4137 if test $ac_cv_header_stdc = yes; then |
4138 | |
36 | 4139 $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
0 | 4140 |
4141 fi | |
4142 | |
4143 if test -n "$ac_tool_prefix"; then | |
4144 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | |
4145 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | |
36 | 4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4147 $as_echo_n "checking for $ac_word... " >&6; } | |
4148 if test "${ac_cv_prog_RANLIB+set}" = set; then : | |
4149 $as_echo_n "(cached) " >&6 | |
0 | 4150 else |
4151 if test -n "$RANLIB"; then | |
4152 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | |
4153 else | |
4154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4155 for as_dir in $PATH | |
4156 do | |
4157 IFS=$as_save_IFS | |
4158 test -z "$as_dir" && as_dir=. | |
36 | 4159 for ac_exec_ext in '' $ac_executable_extensions; do |
1 | 4160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
0 | 4161 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
36 | 4162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
0 | 4163 break 2 |
4164 fi | |
4165 done | |
36 | 4166 done |
1 | 4167 IFS=$as_save_IFS |
0 | 4168 |
4169 fi | |
4170 fi | |
4171 RANLIB=$ac_cv_prog_RANLIB | |
4172 if test -n "$RANLIB"; then | |
36 | 4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
4174 $as_echo "$RANLIB" >&6; } | |
4175 else | |
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4177 $as_echo "no" >&6; } | |
1 | 4178 fi |
4179 | |
0 | 4180 |
4181 fi | |
4182 if test -z "$ac_cv_prog_RANLIB"; then | |
4183 ac_ct_RANLIB=$RANLIB | |
4184 # Extract the first word of "ranlib", so it can be a program name with args. | |
4185 set dummy ranlib; ac_word=$2 | |
36 | 4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4187 $as_echo_n "checking for $ac_word... " >&6; } | |
4188 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : | |
4189 $as_echo_n "(cached) " >&6 | |
0 | 4190 else |
4191 if test -n "$ac_ct_RANLIB"; then | |
4192 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | |
4193 else | |
4194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4195 for as_dir in $PATH | |
4196 do | |
4197 IFS=$as_save_IFS | |
4198 test -z "$as_dir" && as_dir=. | |
36 | 4199 for ac_exec_ext in '' $ac_executable_extensions; do |
1 | 4200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
0 | 4201 ac_cv_prog_ac_ct_RANLIB="ranlib" |
36 | 4202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
0 | 4203 break 2 |
4204 fi | |
4205 done | |
36 | 4206 done |
1 | 4207 IFS=$as_save_IFS |
4208 | |
0 | 4209 fi |
4210 fi | |
4211 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | |
4212 if test -n "$ac_ct_RANLIB"; then | |
36 | 4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
4214 $as_echo "$ac_ct_RANLIB" >&6; } | |
4215 else | |
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4217 $as_echo "no" >&6; } | |
1 | 4218 fi |
4219 | |
4220 if test "x$ac_ct_RANLIB" = x; then | |
4221 RANLIB=":" | |
4222 else | |
4223 case $cross_compiling:$ac_tool_warned in | |
4224 yes:) | |
36 | 4225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
4226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
1 | 4227 ac_tool_warned=yes ;; |
4228 esac | |
4229 RANLIB=$ac_ct_RANLIB | |
4230 fi | |
0 | 4231 else |
4232 RANLIB="$ac_cv_prog_RANLIB" | |
4233 fi | |
4234 | |
4235 | |
4236 | |
4237 | |
54
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4238 |
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4239 |
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4240 |
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4241 |
0 | 4242 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
4243 if test -n "$ac_tool_prefix"; then | |
4244 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. | |
4245 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 | |
36 | 4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4247 $as_echo_n "checking for $ac_word... " >&6; } | |
4248 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | |
4249 $as_echo_n "(cached) " >&6 | |
0 | 4250 else |
4251 case $PKG_CONFIG in | |
4252 [\\/]* | ?:[\\/]*) | |
4253 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | |
4254 ;; | |
4255 *) | |
4256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4257 for as_dir in $PATH | |
4258 do | |
4259 IFS=$as_save_IFS | |
4260 test -z "$as_dir" && as_dir=. | |
36 | 4261 for ac_exec_ext in '' $ac_executable_extensions; do |
1 | 4262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
0 | 4263 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
36 | 4264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
0 | 4265 break 2 |
4266 fi | |
4267 done | |
36 | 4268 done |
1 | 4269 IFS=$as_save_IFS |
0 | 4270 |
4271 ;; | |
4272 esac | |
4273 fi | |
4274 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | |
4275 if test -n "$PKG_CONFIG"; then | |
36 | 4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
4277 $as_echo "$PKG_CONFIG" >&6; } | |
4278 else | |
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4280 $as_echo "no" >&6; } | |
1 | 4281 fi |
4282 | |
0 | 4283 |
4284 fi | |
4285 if test -z "$ac_cv_path_PKG_CONFIG"; then | |
4286 ac_pt_PKG_CONFIG=$PKG_CONFIG | |
4287 # Extract the first word of "pkg-config", so it can be a program name with args. | |
4288 set dummy pkg-config; ac_word=$2 | |
36 | 4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4290 $as_echo_n "checking for $ac_word... " >&6; } | |
4291 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : | |
4292 $as_echo_n "(cached) " >&6 | |
0 | 4293 else |
4294 case $ac_pt_PKG_CONFIG in | |
4295 [\\/]* | ?:[\\/]*) | |
4296 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. | |
4297 ;; | |
4298 *) | |
4299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4300 for as_dir in $PATH | |
4301 do | |
4302 IFS=$as_save_IFS | |
4303 test -z "$as_dir" && as_dir=. | |
36 | 4304 for ac_exec_ext in '' $ac_executable_extensions; do |
1 | 4305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
0 | 4306 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
36 | 4307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
0 | 4308 break 2 |
4309 fi | |
4310 done | |
36 | 4311 done |
1 | 4312 IFS=$as_save_IFS |
0 | 4313 |
4314 ;; | |
4315 esac | |
4316 fi | |
4317 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG | |
4318 if test -n "$ac_pt_PKG_CONFIG"; then | |
36 | 4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
4320 $as_echo "$ac_pt_PKG_CONFIG" >&6; } | |
4321 else | |
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4323 $as_echo "no" >&6; } | |
1 | 4324 fi |
4325 | |
4326 if test "x$ac_pt_PKG_CONFIG" = x; then | |
4327 PKG_CONFIG="" | |
4328 else | |
4329 case $cross_compiling:$ac_tool_warned in | |
4330 yes:) | |
36 | 4331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
4332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
1 | 4333 ac_tool_warned=yes ;; |
4334 esac | |
4335 PKG_CONFIG=$ac_pt_PKG_CONFIG | |
4336 fi | |
0 | 4337 else |
4338 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" | |
4339 fi | |
4340 | |
4341 fi | |
4342 if test -n "$PKG_CONFIG"; then | |
4343 _pkg_min_version=0.9.0 | |
36 | 4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 |
4345 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } | |
0 | 4346 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
36 | 4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
4348 $as_echo "yes" >&6; } | |
0 | 4349 else |
36 | 4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4351 $as_echo "no" >&6; } | |
0 | 4352 PKG_CONFIG="" |
4353 fi | |
4354 fi | |
4355 | |
4356 pkg_failed=no | |
36 | 4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5 |
4358 $as_echo_n "checking for GLIB... " >&6; } | |
0 | 4359 |
54
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4360 if test -n "$GLIB_CFLAGS"; then |
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4361 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" |
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4362 elif test -n "$PKG_CONFIG"; then |
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4363 if test -n "$PKG_CONFIG" && \ |
36 | 4364 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5 |
0 | 4365 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 |
4366 ac_status=$? | |
36 | 4367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4368 test $ac_status = 0; }; then | |
0 | 4369 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null` |
4370 else | |
4371 pkg_failed=yes | |
4372 fi | |
54
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4373 else |
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4374 pkg_failed=untried |
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4375 fi |
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4376 if test -n "$GLIB_LIBS"; then |
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4377 pkg_cv_GLIB_LIBS="$GLIB_LIBS" |
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4378 elif test -n "$PKG_CONFIG"; then |
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4379 if test -n "$PKG_CONFIG" && \ |
36 | 4380 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5 |
0 | 4381 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 |
4382 ac_status=$? | |
36 | 4383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4384 test $ac_status = 0; }; then | |
0 | 4385 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null` |
4386 else | |
4387 pkg_failed=yes | |
4388 fi | |
54
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4389 else |
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4390 pkg_failed=untried |
0 | 4391 fi |
4392 | |
1 | 4393 |
4394 | |
0 | 4395 if test $pkg_failed = yes; then |
54
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4397 $as_echo "no" >&6; } |
1 | 4398 |
4399 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |
4400 _pkg_short_errors_supported=yes | |
4401 else | |
4402 _pkg_short_errors_supported=no | |
4403 fi | |
4404 if test $_pkg_short_errors_supported = yes; then | |
54
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4405 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1` |
1 | 4406 else |
54
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4407 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1` |
1 | 4408 fi |
0 | 4409 # Put the nasty error message in config.log where it belongs |
1 | 4410 echo "$GLIB_PKG_ERRORS" >&5 |
4411 | |
36 | 4412 as_fn_error "Package requirements (glib-2.0) were not met: |
1 | 4413 |
4414 $GLIB_PKG_ERRORS | |
4415 | |
0 | 4416 Consider adjusting the PKG_CONFIG_PATH environment variable if you |
4417 installed software in a non-standard prefix. | |
4418 | |
1 | 4419 Alternatively, you may set the environment variables GLIB_CFLAGS |
4420 and GLIB_LIBS to avoid the need to call pkg-config. | |
54
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4421 See the pkg-config man page for more details." "$LINENO" 5 |
0 | 4422 elif test $pkg_failed = untried; then |
54
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4424 $as_echo "no" >&6; } |
36 | 4425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
4427 as_fn_error "The pkg-config script could not be found or is too old. Make sure it | |
0 | 4428 is in your PATH or set the PKG_CONFIG environment variable to the full |
4429 path to pkg-config. | |
4430 | |
1 | 4431 Alternatively, you may set the environment variables GLIB_CFLAGS |
4432 and GLIB_LIBS to avoid the need to call pkg-config. | |
4433 See the pkg-config man page for more details. | |
4434 | |
4435 To get pkg-config, see <http://pkg-config.freedesktop.org/>. | |
36 | 4436 See \`config.log' for more details." "$LINENO" 5; } |
0 | 4437 else |
4438 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS | |
4439 GLIB_LIBS=$pkg_cv_GLIB_LIBS | |
36 | 4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
4441 $as_echo "yes" >&6; } | |
54
907fee7c081a
changes probably introduced by a newer version of automake or thelike
meillo@marmaro.de
parents:
52
diff
changeset
|
4442 |
0 | 4443 fi |
4444 | |
4445 | |
4446 | |
181
8b17ea9fd17b
added comments on how to compile with glib-1.2
meillo@marmaro.de
parents:
175
diff
changeset
|
4447 |
1 | 4448 # Check whether --enable-resolver was given. |
36 | 4449 if test "${enable_resolver+set}" = set; then : |
1 | 4450 enableval=$enable_resolver; if test "$enable_resolver" != 'no'; then |
0 | 4451 resolver_enabled='yes' |
4452 fi | |
4453 else | |
4454 resolver_enabled='yes' | |
4455 | |
1 | 4456 fi |
4457 | |
0 | 4458 |
4459 if test "$resolver_enabled" = yes; then | |
4460 | |
36 | 4461 $as_echo "#define ENABLE_RESOLVER 1" >>confdefs.h |
4462 | |
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lc" >&5 | |
4464 $as_echo_n "checking for res_search in -lc... " >&6; } | |
4465 if test "${ac_cv_lib_c_res_search+set}" = set; then : | |
4466 $as_echo_n "(cached) " >&6 | |
0 | 4467 else |
4468 ac_check_lib_save_LIBS=$LIBS | |
4469 LIBS="-lc $LIBS" | |
36 | 4470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
0 | 4471 /* end confdefs.h. */ |
4472 | |
1 | 4473 /* Override any GCC internal prototype to avoid an error. |
4474 Use char because int might match the return type of a GCC | |
4475 builtin and then its argument prototype would still apply. */ | |
0 | 4476 #ifdef __cplusplus |
4477 extern "C" | |
4478 #endif | |
4479 char res_search (); | |
4480 int | |
4481 main () | |
4482 { | |
1 | 4483 return res_search (); |
0 | 4484 ; |
4485 return 0; | |
4486 } | |
4487 _ACEOF | |
36 | 4488 if ac_fn_c_try_link "$LINENO"; then : |
0 | 4489 ac_cv_lib_c_res_search=yes |
4490 else | |
36 | 4491 ac_cv_lib_c_res_search=no |
4492 fi | |
4493 rm -f core conftest.err conftest.$ac_objext \ | |
4494 conftest$ac_exeext conftest.$ac_ext | |
0 | 4495 LIBS=$ac_check_lib_save_LIBS |
4496 fi | |
36 | 4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_res_search" >&5 |
4498 $as_echo "$ac_cv_lib_c_res_search" >&6; } | |
4499 if test "x$ac_cv_lib_c_res_search" = x""yes; then : | |
0 | 4500 need_resolv=no |
4501 else | |
4502 need_resolv=yes | |
4503 fi | |
4504 | |
4505 if test "$need_resolv" = yes; then | |
36 | 4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lresolv" >&5 |
4507 $as_echo_n "checking for res_search in -lresolv... " >&6; } | |
4508 if test "${ac_cv_lib_resolv_res_search+set}" = set; then : | |
4509 $as_echo_n "(cached) " >&6 | |
0 | 4510 else |
4511 ac_check_lib_save_LIBS=$LIBS | |
4512 LIBS="-lresolv $LIBS" | |
36 | 4513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
0 | 4514 /* end confdefs.h. */ |
4515 | |
1 | 4516 /* Override any GCC internal prototype to avoid an error. |
4517 Use char because int might match the return type of a GCC | |
4518 builtin and then its argument prototype would still apply. */ | |
0 | 4519 #ifdef __cplusplus |
4520 extern "C" | |
4521 #endif | |
4522 char res_search (); | |
4523 int | |
4524 main () | |
4525 { | |
1 | 4526 return res_search (); |
0 | 4527 ; |
4528 return 0; | |
4529 } | |
4530 _ACEOF | |
36 | 4531 if ac_fn_c_try_link "$LINENO"; then : |
0 | 4532 ac_cv_lib_resolv_res_search=yes |
4533 else | |
36 | 4534 ac_cv_lib_resolv_res_search=no |
4535 fi | |
4536 rm -f core conftest.err conftest.$ac_objext \ | |
4537 conftest$ac_exeext conftest.$ac_ext | |
0 | 4538 LIBS=$ac_check_lib_save_LIBS |
4539 fi | |
36 | 4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_search" >&5 |
4541 $as_echo "$ac_cv_lib_resolv_res_search" >&6; } | |
4542 if test "x$ac_cv_lib_resolv_res_search" = x""yes; then : | |
1 | 4543 has_resolv=yes; RESOLV_LIBS="-lresolv" |
4544 else | |
4545 has_resolv=no | |
4546 fi | |
4547 | |
4548 if test "$has_resolv" = no; then | |
4549 saved_LIBS="$LIBS" | |
4550 LIBS="$LIBS -lresolv" | |
36 | 4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lresolv" >&5 |
4552 $as_echo_n "checking for res_search in -lresolv... " >&6; } | |
4553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1 | 4554 /* end confdefs.h. */ |
4555 #include <resolv.h> | |
4556 int | |
4557 main () | |
4558 { | |
4559 res_search (0, 0, 0, 0, 0); | |
4560 ; | |
4561 return 0; | |
4562 } | |
4563 _ACEOF | |
36 | 4564 if ac_fn_c_try_link "$LINENO"; then : |
4565 RESOLV_LIBS="-lresolv"; has_resolv=yes; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
4566 $as_echo "yes" >&6; } | |
4567 else | |
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4569 $as_echo "no" >&6; } | |
4570 fi | |
4571 rm -f core conftest.err conftest.$ac_objext \ | |
4572 conftest$ac_exeext conftest.$ac_ext; | |
1 | 4573 LIBS="$saved_LIBS" |
4574 fi | |
4575 if test "$has_resolv" = no; then | |
36 | 4576 as_fn_error "\"no libresolv\"" "$LINENO" 5 |
1 | 4577 RESOLV_LIBS='' |
4578 fi | |
0 | 4579 fi |
4580 else | |
4581 RESOLV_LIBS='' | |
4582 fi | |
4583 | |
4584 | |
4585 for ac_func in getline | |
36 | 4586 do : |
4587 ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline" | |
4588 if test "x$ac_cv_func_getline" = x""yes; then : | |
0 | 4589 cat >>confdefs.h <<_ACEOF |
36 | 4590 #define HAVE_GETLINE 1 |
0 | 4591 _ACEOF |
4592 | |
4593 fi | |
4594 done | |
4595 | |
4596 | |
4597 for ac_func in fdatasync | |
36 | 4598 do : |
4599 ac_fn_c_check_func "$LINENO" "fdatasync" "ac_cv_func_fdatasync" | |
4600 if test "x$ac_cv_func_fdatasync" = x""yes; then : | |
0 | 4601 cat >>confdefs.h <<_ACEOF |
36 | 4602 #define HAVE_FDATASYNC 1 |
0 | 4603 _ACEOF |
4604 | |
4605 fi | |
4606 done | |
4607 | |
4608 | |
36 | 4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
4610 $as_echo_n "checking for ANSI C header files... " >&6; } | |
4611 if test "${ac_cv_header_stdc+set}" = set; then : | |
4612 $as_echo_n "(cached) " >&6 | |
4613 else | |
4614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
0 | 4615 /* end confdefs.h. */ |
4616 #include <stdlib.h> | |
4617 #include <stdarg.h> | |
4618 #include <string.h> | |
4619 #include <float.h> | |
4620 | |
4621 int | |
4622 main () | |
4623 { | |
4624 | |
4625 ; | |
4626 return 0; | |
4627 } | |
4628 _ACEOF | |
36 | 4629 if ac_fn_c_try_compile "$LINENO"; then : |
0 | 4630 ac_cv_header_stdc=yes |
4631 else | |
36 | 4632 ac_cv_header_stdc=no |
4633 fi | |
1 | 4634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
0 | 4635 |
4636 if test $ac_cv_header_stdc = yes; then | |
4637 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
36 | 4638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
0 | 4639 /* end confdefs.h. */ |
4640 #include <string.h> | |
4641 | |
4642 _ACEOF | |
4643 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
36 | 4644 $EGREP "memchr" >/dev/null 2>&1; then : |
4645 | |
0 | 4646 else |
4647 ac_cv_header_stdc=no | |
4648 fi | |
4649 rm -f conftest* | |
4650 | |
4651 fi | |
4652 | |
4653 if test $ac_cv_header_stdc = yes; then | |
4654 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
36 | 4655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
0 | 4656 /* end confdefs.h. */ |
4657 #include <stdlib.h> | |
4658 | |
4659 _ACEOF | |
4660 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
36 | 4661 $EGREP "free" >/dev/null 2>&1; then : |
4662 | |
0 | 4663 else |
4664 ac_cv_header_stdc=no | |
4665 fi | |
4666 rm -f conftest* | |
4667 | |
4668 fi | |
4669 | |
4670 if test $ac_cv_header_stdc = yes; then | |
4671 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
36 | 4672 if test "$cross_compiling" = yes; then : |
0 | 4673 : |
4674 else | |
36 | 4675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
0 | 4676 /* end confdefs.h. */ |
4677 #include <ctype.h> | |
1 | 4678 #include <stdlib.h> |
0 | 4679 #if ((' ' & 0x0FF) == 0x020) |
4680 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
4681 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
4682 #else | |
4683 # define ISLOWER(c) \ | |
4684 (('a' <= (c) && (c) <= 'i') \ | |
4685 || ('j' <= (c) && (c) <= 'r') \ | |
4686 || ('s' <= (c) && (c) <= 'z')) | |
4687 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
4688 #endif | |
4689 | |
4690 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
4691 int | |
4692 main () | |
4693 { | |
4694 int i; | |
4695 for (i = 0; i < 256; i++) | |
4696 if (XOR (islower (i), ISLOWER (i)) | |
4697 || toupper (i) != TOUPPER (i)) | |
1 | 4698 return 2; |
4699 return 0; | |
0 | 4700 } |
4701 _ACEOF | |
36 | 4702 if ac_fn_c_try_run "$LINENO"; then : |
4703 | |
4704 else | |
4705 ac_cv_header_stdc=no | |
4706 fi | |
4707 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
4708 conftest.$ac_objext conftest.beam conftest.$ac_ext | |
4709 fi | |
4710 | |
4711 fi | |
4712 fi | |
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | |
4714 $as_echo "$ac_cv_header_stdc" >&6; } | |
0 | 4715 if test $ac_cv_header_stdc = yes; then |
4716 | |
36 | 4717 $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
0 | 4718 |
4719 fi | |
4720 | |
4721 # On IRIX 5.3, sys/types and inttypes.h are conflicting. | |
4722 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |
4723 inttypes.h stdint.h unistd.h | |
36 | 4724 do : |
4725 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
4726 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | |
4727 " | |
4728 eval as_val=\$$as_ac_Header | |
4729 if test "x$as_val" = x""yes; then : | |
0 | 4730 cat >>confdefs.h <<_ACEOF |
36 | 4731 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
0 | 4732 _ACEOF |
4733 | |
4734 fi | |
4735 | |
4736 done | |
4737 | |
4738 | |
4739 for ac_header in fcntl.h sys/time.h syslog.h unistd.h | |
36 | 4740 do : |
4741 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
4742 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | |
4743 eval as_val=\$$as_ac_Header | |
4744 if test "x$as_val" = x""yes; then : | |
0 | 4745 cat >>confdefs.h <<_ACEOF |
36 | 4746 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
0 | 4747 _ACEOF |
4748 | |
4749 fi | |
4750 | |
4751 done | |
4752 | |
4753 | |
36 | 4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
4755 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } | |
4756 if test "${ac_cv_c_const+set}" = set; then : | |
4757 $as_echo_n "(cached) " >&6 | |
4758 else | |
4759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
0 | 4760 /* end confdefs.h. */ |
4761 | |
4762 int | |
4763 main () | |
4764 { | |
4765 /* FIXME: Include the comments suggested by Paul. */ | |
4766 #ifndef __cplusplus | |
4767 /* Ultrix mips cc rejects this. */ | |
4768 typedef int charset[2]; | |
1 | 4769 const charset cs; |
0 | 4770 /* SunOS 4.1.1 cc rejects this. */ |
1 | 4771 char const *const *pcpcc; |
4772 char **ppc; | |
0 | 4773 /* NEC SVR4.0.2 mips cc rejects this. */ |
4774 struct point {int x, y;}; | |
4775 static struct point const zero = {0,0}; | |
4776 /* AIX XL C 1.02.0.0 rejects this. | |
4777 It does not let you subtract one const X* pointer from another in | |
4778 an arm of an if-expression whose if-part is not a constant | |
4779 expression */ | |
4780 const char *g = "string"; | |
1 | 4781 pcpcc = &g + (g ? g-g : 0); |
0 | 4782 /* HPUX 7.0 cc rejects these. */ |
1 | 4783 ++pcpcc; |
4784 ppc = (char**) pcpcc; | |
4785 pcpcc = (char const *const *) ppc; | |
0 | 4786 { /* SCO 3.2v4 cc rejects this. */ |
4787 char *t; | |
4788 char const *s = 0 ? (char *) 0 : (char const *) 0; | |
4789 | |
4790 *t++ = 0; | |
1 | 4791 if (s) return 0; |
0 | 4792 } |
4793 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ | |
4794 int x[] = {25, 17}; | |
4795 const int *foo = &x[0]; | |
4796 ++foo; | |
4797 } | |
4798 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | |
4799 typedef const int *iptr; | |
4800 iptr p = 0; | |
4801 ++p; | |
4802 } | |
4803 { /* AIX XL C 1.02.0.0 rejects this saying | |
4804 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | |
4805 struct s { int j; const int *ap[3]; }; | |
4806 struct s *b; b->j = 5; | |
4807 } | |
4808 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | |
4809 const int foo = 10; | |
1 | 4810 if (!foo) return 0; |
0 | 4811 } |
1 | 4812 return !cs[0] && !zero.x; |
0 | 4813 #endif |
4814 | |
4815 ; | |
4816 return 0; | |
4817 } | |
4818 _ACEOF | |
36 | 4819 if ac_fn_c_try_compile "$LINENO"; then : |
0 | 4820 ac_cv_c_const=yes |
4821 else | |
36 | 4822 ac_cv_c_const=no |
4823 fi | |
1 | 4824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4825 fi | |
36 | 4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
4827 $as_echo "$ac_cv_c_const" >&6; } | |
0 | 4828 if test $ac_cv_c_const = no; then |
4829 | |
36 | 4830 $as_echo "#define const /**/" >>confdefs.h |
4831 | |
4832 fi | |
4833 | |
4834 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" | |
4835 if test "x$ac_cv_type_pid_t" = x""yes; then : | |
4836 | |
0 | 4837 else |
4838 | |
4839 cat >>confdefs.h <<_ACEOF | |
4840 #define pid_t int | |
4841 _ACEOF | |
4842 | |
4843 fi | |
4844 | |
36 | 4845 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
4846 if test "x$ac_cv_type_size_t" = x""yes; then : | |
4847 | |
0 | 4848 else |
4849 | |
4850 cat >>confdefs.h <<_ACEOF | |
1 | 4851 #define size_t unsigned int |
4852 _ACEOF | |
4853 | |
4854 fi | |
4855 | |
36 | 4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
4857 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } | |
4858 if test "${ac_cv_header_time+set}" = set; then : | |
4859 $as_echo_n "(cached) " >&6 | |
4860 else | |
4861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
0 | 4862 /* end confdefs.h. */ |
4863 #include <sys/types.h> | |
4864 #include <sys/time.h> | |
4865 #include <time.h> | |
4866 | |
4867 int | |
4868 main () | |
4869 { | |
4870 if ((struct tm *) 0) | |
4871 return 0; | |
4872 ; | |
4873 return 0; | |
4874 } | |
4875 _ACEOF | |
36 | 4876 if ac_fn_c_try_compile "$LINENO"; then : |
0 | 4877 ac_cv_header_time=yes |
4878 else | |
36 | 4879 ac_cv_header_time=no |
4880 fi | |
1 | 4881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4882 fi | |
36 | 4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 |
4884 $as_echo "$ac_cv_header_time" >&6; } | |
0 | 4885 if test $ac_cv_header_time = yes; then |
4886 | |
36 | 4887 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h |
4888 | |
4889 fi | |
4890 | |
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 | |
4892 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } | |
4893 if test "${ac_cv_struct_tm+set}" = set; then : | |
4894 $as_echo_n "(cached) " >&6 | |
4895 else | |
4896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
0 | 4897 /* end confdefs.h. */ |
4898 #include <sys/types.h> | |
4899 #include <time.h> | |
4900 | |
4901 int | |
4902 main () | |
4903 { | |
1 | 4904 struct tm tm; |
4905 int *p = &tm.tm_sec; | |
36 | 4906 return !p; |
0 | 4907 ; |
4908 return 0; | |
4909 } | |
4910 _ACEOF | |
36 | 4911 if ac_fn_c_try_compile "$LINENO"; then : |
0 | 4912 ac_cv_struct_tm=time.h |
4913 else | |
36 | 4914 ac_cv_struct_tm=sys/time.h |
4915 fi | |
1 | 4916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4917 fi | |
36 | 4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 |
4919 $as_echo "$ac_cv_struct_tm" >&6; } | |
0 | 4920 if test $ac_cv_struct_tm = sys/time.h; then |
4921 | |
36 | 4922 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h |
4923 | |
4924 fi | |
4925 | |
4926 | |
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working POSIX fnmatch" >&5 | |
4928 $as_echo_n "checking for working POSIX fnmatch... " >&6; } | |
4929 if test "${ac_cv_func_fnmatch_works+set}" = set; then : | |
4930 $as_echo_n "(cached) " >&6 | |
0 | 4931 else |
4932 # Some versions of Solaris, SCO, and the GNU C Library | |
4933 # have a broken or incompatible fnmatch. | |
4934 # So we run a test program. If we are cross-compiling, take no chance. | |
4935 # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test. | |
36 | 4936 if test "$cross_compiling" = yes; then : |
0 | 4937 ac_cv_func_fnmatch_works=cross |
4938 else | |
36 | 4939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
0 | 4940 /* end confdefs.h. */ |
4941 #include <fnmatch.h> | |
4942 # define y(a, b, c) (fnmatch (a, b, c) == 0) | |
4943 # define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH) | |
4944 | |
4945 int | |
4946 main () | |
4947 { | |
1 | 4948 return |
0 | 4949 (!(y ("a*", "abc", 0) |
4950 && n ("d*/*1", "d/s/1", FNM_PATHNAME) | |
4951 && y ("a\\\\bc", "abc", 0) | |
4952 && n ("a\\\\bc", "abc", FNM_NOESCAPE) | |
4953 && y ("*x", ".x", 0) | |
4954 && n ("*x", ".x", FNM_PERIOD) | |
4955 && 1)); | |
4956 ; | |
4957 return 0; | |
4958 } | |
4959 _ACEOF | |
36 | 4960 if ac_fn_c_try_run "$LINENO"; then : |
0 | 4961 ac_cv_func_fnmatch_works=yes |
4962 else | |
36 | 4963 ac_cv_func_fnmatch_works=no |
4964 fi | |
4965 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
4966 conftest.$ac_objext conftest.beam conftest.$ac_ext | |
4967 fi | |
4968 | |
4969 fi | |
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fnmatch_works" >&5 | |
4971 $as_echo "$ac_cv_func_fnmatch_works" >&6; } | |
4972 if test $ac_cv_func_fnmatch_works = yes; then : | |
4973 | |
4974 $as_echo "#define HAVE_FNMATCH 1" >>confdefs.h | |
4975 | |
4976 fi | |
4977 | |
4978 | |
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 | |
4980 $as_echo_n "checking return type of signal handlers... " >&6; } | |
4981 if test "${ac_cv_type_signal+set}" = set; then : | |
4982 $as_echo_n "(cached) " >&6 | |
4983 else | |
4984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
0 | 4985 /* end confdefs.h. */ |
4986 #include <sys/types.h> | |
4987 #include <signal.h> | |
4988 | |
4989 int | |
4990 main () | |
4991 { | |
1 | 4992 return *(signal (0, 0)) (0) == 1; |
0 | 4993 ; |
4994 return 0; | |
4995 } | |
4996 _ACEOF | |
36 | 4997 if ac_fn_c_try_compile "$LINENO"; then : |
1 | 4998 ac_cv_type_signal=int |
0 | 4999 else |
36 | 5000 ac_cv_type_signal=void |
5001 fi | |
1 | 5002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5003 fi | |
36 | 5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 |
5005 $as_echo "$ac_cv_type_signal" >&6; } | |
0 | 5006 |
5007 cat >>confdefs.h <<_ACEOF | |
5008 #define RETSIGTYPE $ac_cv_type_signal | |
5009 _ACEOF | |
5010 | |
5011 | |
5012 for ac_func in strftime | |
36 | 5013 do : |
5014 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" | |
5015 if test "x$ac_cv_func_strftime" = x""yes; then : | |
0 | 5016 cat >>confdefs.h <<_ACEOF |
36 | 5017 #define HAVE_STRFTIME 1 |
0 | 5018 _ACEOF |
5019 | |
5020 else | |
5021 # strftime is in -lintl on SCO UNIX. | |
36 | 5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 |
5023 $as_echo_n "checking for strftime in -lintl... " >&6; } | |
5024 if test "${ac_cv_lib_intl_strftime+set}" = set; then : | |
5025 $as_echo_n "(cached) " >&6 | |
0 | 5026 else |
5027 ac_check_lib_save_LIBS=$LIBS | |
5028 LIBS="-lintl $LIBS" | |
36 | 5029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
0 | 5030 /* end confdefs.h. */ |
5031 | |
1 | 5032 /* Override any GCC internal prototype to avoid an error. |
5033 Use char because int might match the return type of a GCC | |
5034 builtin and then its argument prototype would still apply. */ | |
0 | 5035 #ifdef __cplusplus |
5036 extern "C" | |
5037 #endif | |
5038 char strftime (); | |
5039 int | |
5040 main () | |
5041 { | |
1 | 5042 return strftime (); |
0 | 5043 ; |
5044 return 0; | |
5045 } | |
5046 _ACEOF | |
36 | 5047 if ac_fn_c_try_link "$LINENO"; then : |
0 | 5048 ac_cv_lib_intl_strftime=yes |
5049 else | |
36 | 5050 ac_cv_lib_intl_strftime=no |
5051 fi | |
5052 rm -f core conftest.err conftest.$ac_objext \ | |
5053 conftest$ac_exeext conftest.$ac_ext | |
0 | 5054 LIBS=$ac_check_lib_save_LIBS |
5055 fi | |
36 | 5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 |
5057 $as_echo "$ac_cv_lib_intl_strftime" >&6; } | |
5058 if test "x$ac_cv_lib_intl_strftime" = x""yes; then : | |
5059 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h | |
0 | 5060 |
5061 LIBS="-lintl $LIBS" | |
5062 fi | |
5063 | |
5064 fi | |
5065 done | |
5066 | |
5067 for ac_func in vprintf | |
36 | 5068 do : |
5069 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" | |
5070 if test "x$ac_cv_func_vprintf" = x""yes; then : | |
0 | 5071 cat >>confdefs.h <<_ACEOF |
36 | 5072 #define HAVE_VPRINTF 1 |
0 | 5073 _ACEOF |
36 | 5074 |
5075 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" | |
5076 if test "x$ac_cv_func__doprnt" = x""yes; then : | |
5077 | |
5078 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h | |
0 | 5079 |
5080 fi | |
5081 | |
5082 fi | |
5083 done | |
5084 | |
5085 | |
5086 for ac_func in select socket strerror strstr | |
36 | 5087 do : |
5088 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
5089 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | |
5090 eval as_val=\$$as_ac_var | |
5091 if test "x$as_val" = x""yes; then : | |
0 | 5092 cat >>confdefs.h <<_ACEOF |
36 | 5093 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
0 | 5094 _ACEOF |
5095 | |
5096 fi | |
5097 done | |
5098 | |
5099 | |
5100 | |
1 | 5101 # Check whether --with-user was given. |
36 | 5102 if test "${with_user+set}" = set; then : |
1 | 5103 withval=$with_user; |
5104 fi | |
5105 | |
0 | 5106 if test "x$with_user" = 'x'; then |
5107 with_user='mail' | |
5108 fi | |
5109 | |
5110 | |
1 | 5111 # Check whether --with-group was given. |
36 | 5112 if test "${with_group+set}" = set; then : |
1 | 5113 withval=$with_group; |
5114 fi | |
5115 | |
0 | 5116 if test "x$with_group" = 'x'; then |
5117 with_group='trusted' | |
5118 fi | |
5119 | |
1 | 5120 # Check whether --enable-debug was given. |
36 | 5121 if test "${enable_debug+set}" = set; then : |
1 | 5122 enableval=$enable_debug; if test "x$enable_debug" != 'xno'; then |
0 | 5123 debug_enabled='yes' |
5124 fi | |
5125 else | |
5126 debug_enabled='yes' | |
5127 | |
1 | 5128 fi |
5129 | |
0 | 5130 if test "x$debug_enabled" = xyes; then |
5131 | |
36 | 5132 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h |
0 | 5133 |
5134 fi | |
5135 | |
5136 | |
5137 cat >>confdefs.h <<_ACEOF | |
5138 #define DEF_MAIL_USER "${with_user}" | |
5139 _ACEOF | |
5140 | |
5141 | |
5142 | |
5143 cat >>confdefs.h <<_ACEOF | |
5144 #define DEF_MAIL_GROUP "${with_group}" | |
5145 _ACEOF | |
5146 | |
5147 | |
5148 | |
5149 MD5_LIBS='' | |
5150 BASE64_LIBS='' | |
5151 | |
1 | 5152 # Check whether --enable-auth was given. |
36 | 5153 if test "${enable_auth+set}" = set; then : |
1 | 5154 enableval=$enable_auth; if test "x$enable_auth" != 'xno'; then |
0 | 5155 auth_enabled='yes' |
5156 fi | |
1 | 5157 fi |
5158 | |
0 | 5159 if test "x$auth_enabled" = xyes; then |
5160 | |
36 | 5161 $as_echo "#define ENABLE_AUTH 1" >>confdefs.h |
0 | 5162 |
5163 BASE64_LIBS='base64/libbase64.a' | |
5164 # MD5_LIBS='md5/libmd5c.a' | |
5165 need_md5='yes' | |
5166 fi | |
5167 | |
5168 | |
1 | 5169 # Check whether --enable-maildir was given. |
36 | 5170 if test "${enable_maildir+set}" = set; then : |
1 | 5171 enableval=$enable_maildir; if test "x$enable_maildir" != 'xno'; then |
0 | 5172 maildir_enabled='yes' |
5173 fi | |
1 | 5174 fi |
5175 | |
0 | 5176 if test "x$maildir_enabled" = xyes; then |
5177 | |
36 | 5178 $as_echo "#define ENABLE_MAILDIR 1" >>confdefs.h |
0 | 5179 |
5180 fi | |
5181 | |
5182 | |
1 | 5183 # Check whether --with-libcrypto was given. |
36 | 5184 if test "${with_libcrypto+set}" = set; then : |
1 | 5185 withval=$with_libcrypto; |
5186 fi | |
5187 | |
0 | 5188 if test "x$with_libcrypto" != 'xyes'; then |
5189 with_libcrypto='no' | |
5190 fi | |
5191 | |
5192 if test "x$need_md5" = 'xyes'; then | |
5193 if test "x$with_libcrypto" = "xyes"; then | |
36 | 5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5 in -lcrypto" >&5 |
5195 $as_echo_n "checking for MD5 in -lcrypto... " >&6; } | |
5196 if test "${ac_cv_lib_crypto_MD5+set}" = set; then : | |
5197 $as_echo_n "(cached) " >&6 | |
0 | 5198 else |
5199 ac_check_lib_save_LIBS=$LIBS | |
5200 LIBS="-lcrypto $LIBS" | |
36 | 5201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
0 | 5202 /* end confdefs.h. */ |
5203 | |
1 | 5204 /* Override any GCC internal prototype to avoid an error. |
5205 Use char because int might match the return type of a GCC | |
5206 builtin and then its argument prototype would still apply. */ | |
0 | 5207 #ifdef __cplusplus |
5208 extern "C" | |
5209 #endif | |
5210 char MD5 (); | |
5211 int | |
5212 main () | |
5213 { | |
1 | 5214 return MD5 (); |
0 | 5215 ; |
5216 return 0; | |
5217 } | |
5218 _ACEOF | |
36 | 5219 if ac_fn_c_try_link "$LINENO"; then : |
0 | 5220 ac_cv_lib_crypto_MD5=yes |
5221 else | |
36 | 5222 ac_cv_lib_crypto_MD5=no |
5223 fi | |
5224 rm -f core conftest.err conftest.$ac_objext \ | |
5225 conftest$ac_exeext conftest.$ac_ext | |
0 | 5226 LIBS=$ac_check_lib_save_LIBS |
5227 fi | |
36 | 5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5" >&5 |
5229 $as_echo "$ac_cv_lib_crypto_MD5" >&6; } | |
5230 if test "x$ac_cv_lib_crypto_MD5" = x""yes; then : | |
0 | 5231 has_crypto='yes' |
5232 else | |
36 | 5233 as_fn_error "'no libcrypto'" "$LINENO" 5 |
0 | 5234 fi |
5235 | |
5236 if test "x$has_crypto" = 'xyes'; then | |
5237 | |
36 | 5238 $as_echo "#define USE_LIB_CRYPTO 1" >>confdefs.h |
0 | 5239 |
5240 MD5_LIBS='-lcrypto' | |
5241 fi | |
5242 else | |
5243 MD5_LIBS='md5/libmd5c.a' | |
5244 fi | |
5245 fi | |
5246 | |
5247 | |
5248 IDENT_LIBS='' | |
1 | 5249 # Check whether --enable-ident was given. |
36 | 5250 if test "${enable_ident+set}" = set; then : |
1 | 5251 enableval=$enable_ident; if test "x$enable_ident" != 'xno'; then |
0 | 5252 ident_enabled='yes' |
5253 fi | |
1 | 5254 fi |
5255 | |
0 | 5256 |
5257 if test "x$ident_enabled" = xyes; then | |
5258 | |
36 | 5259 $as_echo "#define ENABLE_IDENT 1" >>confdefs.h |
5260 | |
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ident_id in -lident" >&5 | |
5262 $as_echo_n "checking for ident_id in -lident... " >&6; } | |
5263 if test "${ac_cv_lib_ident_ident_id+set}" = set; then : | |
5264 $as_echo_n "(cached) " >&6 | |
0 | 5265 else |
5266 ac_check_lib_save_LIBS=$LIBS | |
5267 LIBS="-lident $LIBS" | |
36 | 5268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
0 | 5269 /* end confdefs.h. */ |
5270 | |
1 | 5271 /* Override any GCC internal prototype to avoid an error. |
5272 Use char because int might match the return type of a GCC | |
5273 builtin and then its argument prototype would still apply. */ | |
0 | 5274 #ifdef __cplusplus |
5275 extern "C" | |
5276 #endif | |
5277 char ident_id (); | |
5278 int | |
5279 main () | |
5280 { | |
1 | 5281 return ident_id (); |
0 | 5282 ; |
5283 return 0; | |
5284 } | |
5285 _ACEOF | |
36 | 5286 if ac_fn_c_try_link "$LINENO"; then : |
0 | 5287 ac_cv_lib_ident_ident_id=yes |
5288 else | |
36 | 5289 ac_cv_lib_ident_ident_id=no |
5290 fi | |
5291 rm -f core conftest.err conftest.$ac_objext \ | |
5292 conftest$ac_exeext conftest.$ac_ext | |
0 | 5293 LIBS=$ac_check_lib_save_LIBS |
5294 fi | |
36 | 5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ident_ident_id" >&5 |
5296 $as_echo "$ac_cv_lib_ident_ident_id" >&6; } | |
5297 if test "x$ac_cv_lib_ident_ident_id" = x""yes; then : | |
0 | 5298 IDENT_LIBS='-lident' |
5299 else | |
5300 IDENT_LIBS='libident/libident.a' | |
5301 fi | |
5302 | |
5303 fi | |
5304 | |
5305 | |
5306 | |
1 | 5307 # Check whether --with-liblockfile was given. |
36 | 5308 if test "${with_liblockfile+set}" = set; then : |
1 | 5309 withval=$with_liblockfile; |
5310 fi | |
5311 | |
173
4917e764f108
Fix handling of --with-liblockfile=no or --without-liblockfile
meillo@marmaro.de
parents:
123
diff
changeset
|
5312 if test "x$with_liblockfile" = 'xno'; then |
4917e764f108
Fix handling of --with-liblockfile=no or --without-liblockfile
meillo@marmaro.de
parents:
123
diff
changeset
|
5313 with_liblockfile='' |
4917e764f108
Fix handling of --with-liblockfile=no or --without-liblockfile
meillo@marmaro.de
parents:
123
diff
changeset
|
5314 fi |
0 | 5315 if test "x$with_liblockfile" != 'x'; then |
5316 with_liblockfile='yes' | |
5317 fi | |
5318 if test "x$with_liblockfile" = xyes; then | |
36 | 5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5 |
5320 $as_echo_n "checking for maillock in -llockfile... " >&6; } | |
5321 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then : | |
5322 $as_echo_n "(cached) " >&6 | |
0 | 5323 else |
5324 ac_check_lib_save_LIBS=$LIBS | |
5325 LIBS="-llockfile $LIBS" | |
36 | 5326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
0 | 5327 /* end confdefs.h. */ |
5328 | |
1 | 5329 /* Override any GCC internal prototype to avoid an error. |
5330 Use char because int might match the return type of a GCC | |
5331 builtin and then its argument prototype would still apply. */ | |
0 | 5332 #ifdef __cplusplus |
5333 extern "C" | |
5334 #endif | |
5335 char maillock (); | |
5336 int | |
5337 main () | |
5338 { | |
1 | 5339 return maillock (); |
0 | 5340 ; |
5341 return 0; | |
5342 } | |
5343 _ACEOF | |
36 | 5344 if ac_fn_c_try_link "$LINENO"; then : |
0 | 5345 ac_cv_lib_lockfile_maillock=yes |
5346 else | |
36 | 5347 ac_cv_lib_lockfile_maillock=no |
5348 fi | |
5349 rm -f core conftest.err conftest.$ac_objext \ | |
5350 conftest$ac_exeext conftest.$ac_ext | |
0 | 5351 LIBS=$ac_check_lib_save_LIBS |
5352 fi | |
36 | 5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5 |
5354 $as_echo "$ac_cv_lib_lockfile_maillock" >&6; } | |
5355 if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then : | |
0 | 5356 has_lockfile=yes |
5357 else | |
36 | 5358 as_fn_error "\"no liblockfile\"" "$LINENO" 5 |
0 | 5359 fi |
5360 | |
5361 LOCKFILE_LIBS='-llockfile' | |
5362 | |
36 | 5363 $as_echo "#define USE_LIBLOCKFILE 1" >>confdefs.h |
0 | 5364 |
5365 else | |
5366 LOCKFILE_LIBS='' | |
5367 fi | |
5368 | |
5369 | |
5370 | |
5371 | |
1 | 5372 # Check whether --with-logdir was given. |
36 | 5373 if test "${with_logdir+set}" = set; then : |
1 | 5374 withval=$with_logdir; |
0 | 5375 else |
5376 with_logdir='/var/log/masqmail/' | |
5377 | |
1 | 5378 fi |
5379 | |
5380 | |
151 | 5381 cat >>confdefs.h <<_ACEOF |
5382 #define LOG_DIR "${with_logdir}" | |
5383 _ACEOF | |
5384 | |
5385 | |
1 | 5386 |
5387 | |
5388 # Check whether --with-spooldir was given. | |
36 | 5389 if test "${with_spooldir+set}" = set; then : |
1 | 5390 withval=$with_spooldir; |
0 | 5391 else |
5392 with_spooldir='/var/spool/masqmail/' | |
5393 | |
1 | 5394 fi |
5395 | |
5396 | |
151 | 5397 cat >>confdefs.h <<_ACEOF |
5398 #define SPOOL_DIR "${with_spooldir}" | |
5399 _ACEOF | |
5400 | |
5401 | |
1 | 5402 |
5403 | |
5404 # Check whether --with-confdir was given. | |
36 | 5405 if test "${with_confdir+set}" = set; then : |
1 | 5406 withval=$with_confdir; |
0 | 5407 else |
5408 with_confdir='/etc/masqmail' | |
5409 | |
1 | 5410 fi |
5411 | |
0 | 5412 |
5413 cat >>confdefs.h <<_ACEOF | |
5414 #define CONF_DIR "${with_confdir}" | |
5415 _ACEOF | |
5416 | |
5417 | |
5418 | |
5419 test "x$prefix" = xNONE && prefix="$ac_default_prefix" | |
5420 | |
36 | 5421 |
0 | 5422 cat >>confdefs.h <<_ACEOF |
36 | 5423 #define DATA_DIR "`eval eval echo $datadir`/masqmail" |
0 | 5424 _ACEOF |
5425 | |
5426 | |
5427 if test "x${exec_prefix}" != 'xNONE'; then | |
5428 | |
5429 cat >>confdefs.h <<_ACEOF | |
5430 #define SBINDIR "${exec_prefix}/sbin" | |
5431 _ACEOF | |
5432 | |
5433 else | |
5434 if test "x${prefix}" != 'xNONE'; then | |
5435 cat >>confdefs.h <<_ACEOF | |
5436 #define SBINDIR "${prefix}/sbin" | |
5437 _ACEOF | |
5438 | |
5439 else | |
5440 cat >>confdefs.h <<_ACEOF | |
5441 #define SBINDIR "/usr/sbin" | |
5442 _ACEOF | |
5443 | |
5444 fi | |
5445 fi | |
5446 | |
57 | 5447 ac_config_files="$ac_config_files Makefile src/Makefile src/base64/Makefile src/md5/Makefile src/libident/Makefile man/Makefile" |
1 | 5448 |
0 | 5449 cat >confcache <<\_ACEOF |
5450 # This file is a shell script that caches the results of configure | |
5451 # tests run on this system so they can be shared between configure | |
5452 # scripts and configure runs, see configure's option --config-cache. | |
5453 # It is not useful on other systems. If it contains results you don't | |
5454 # want to keep, you may remove or edit it. | |
5455 # | |
5456 # config.status only pays attention to the cache file if you give it | |
5457 # the --recheck option to rerun configure. | |
5458 # | |
5459 # `ac_cv_env_foo' variables (set or unset) will be overridden when | |
5460 # loading this file, other *unset* `ac_cv_foo' will be assigned the | |
5461 # following values. | |
5462 | |
5463 _ACEOF | |
5464 | |
5465 # The following way of writing the cache mishandles newlines in values, | |
5466 # but we know of no workaround that is simple, portable, and efficient. | |
1 | 5467 # So, we kill variables containing newlines. |
0 | 5468 # Ultrix sh set writes to stderr and can't be redirected directly, |
5469 # and sets the high bit in the cache file unless we assign to the vars. | |
1 | 5470 ( |
5471 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | |
5472 eval ac_val=\$$ac_var | |
5473 case $ac_val in #( | |
5474 *${as_nl}*) | |
5475 case $ac_var in #( | |
36 | 5476 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
5477 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
1 | 5478 esac |
5479 case $ac_var in #( | |
5480 _ | IFS | as_nl) ;; #( | |
36 | 5481 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
5482 *) { eval $ac_var=; unset $ac_var;} ;; | |
1 | 5483 esac ;; |
5484 esac | |
5485 done | |
5486 | |
0 | 5487 (set) 2>&1 | |
1 | 5488 case $as_nl`(ac_space=' '; set) 2>&1` in #( |
5489 *${as_nl}ac_space=\ *) | |
36 | 5490 # `set' does not quote correctly, so add quotes: double-quote |
5491 # substitution turns \\\\ into \\, and sed turns \\ into \. | |
0 | 5492 sed -n \ |
5493 "s/'/'\\\\''/g; | |
5494 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | |
1 | 5495 ;; #( |
0 | 5496 *) |
5497 # `set' quotes correctly as required by POSIX, so do not add quotes. | |
1 | 5498 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
0 | 5499 ;; |
1 | 5500 esac | |
5501 sort | |
5502 ) | | |
0 | 5503 sed ' |
1 | 5504 /^ac_cv_env_/b end |
0 | 5505 t clear |
1 | 5506 :clear |
0 | 5507 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
5508 t end | |
1 | 5509 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
5510 :end' >>confcache | |
5511 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | |
5512 if test -w "$cache_file"; then | |
5513 test "x$cache_file" != "x/dev/null" && | |
36 | 5514 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
5515 $as_echo "$as_me: updating cache $cache_file" >&6;} | |
0 | 5516 cat confcache >$cache_file |
5517 else | |
36 | 5518 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
5519 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
0 | 5520 fi |
5521 fi | |
5522 rm -f confcache | |
5523 | |
5524 test "x$prefix" = xNONE && prefix=$ac_default_prefix | |
5525 # Let make expand exec_prefix. | |
5526 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
5527 | |
5528 DEFS=-DHAVE_CONFIG_H | |
5529 | |
5530 ac_libobjs= | |
5531 ac_ltlibobjs= | |
5532 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | |
5533 # 1. Remove the extension, and $U if already installed. | |
1 | 5534 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
36 | 5535 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
1 | 5536 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
5537 # will be set to the directory where LIBOBJS objects are built. | |
36 | 5538 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
5539 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | |
0 | 5540 done |
5541 LIBOBJS=$ac_libobjs | |
5542 | |
5543 LTLIBOBJS=$ac_ltlibobjs | |
5544 | |
5545 | |
36 | 5546 if test -n "$EXEEXT"; then |
5547 am__EXEEXT_TRUE= | |
5548 am__EXEEXT_FALSE='#' | |
5549 else | |
5550 am__EXEEXT_TRUE='#' | |
5551 am__EXEEXT_FALSE= | |
5552 fi | |
5553 | |
0 | 5554 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
36 | 5555 as_fn_error "conditional \"AMDEP\" was never defined. |
5556 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
0 | 5557 fi |
5558 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | |
36 | 5559 as_fn_error "conditional \"am__fastdepCC\" was never defined. |
5560 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
0 | 5561 fi |
5562 | |
5563 : ${CONFIG_STATUS=./config.status} | |
36 | 5564 ac_write_fail=0 |
0 | 5565 ac_clean_files_save=$ac_clean_files |
5566 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | |
36 | 5567 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
5568 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | |
5569 as_write_fail=0 | |
5570 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |
0 | 5571 #! $SHELL |
5572 # Generated by $as_me. | |
5573 # Run this file to recreate the current configuration. | |
5574 # Compiler output produced by configure, useful for debugging | |
5575 # configure, is in config.log if it exists. | |
5576 | |
5577 debug=false | |
5578 ac_cs_recheck=false | |
5579 ac_cs_silent=false | |
36 | 5580 |
0 | 5581 SHELL=\${CONFIG_SHELL-$SHELL} |
36 | 5582 export SHELL |
5583 _ASEOF | |
5584 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | |
5585 ## -------------------- ## | |
5586 ## M4sh Initialization. ## | |
5587 ## -------------------- ## | |
0 | 5588 |
1 | 5589 # Be more Bourne compatible |
5590 DUALCASE=1; export DUALCASE # for MKS sh | |
36 | 5591 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
0 | 5592 emulate sh |
5593 NULLCMD=: | |
36 | 5594 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
0 | 5595 # is contrary to our usage. Disable this feature. |
5596 alias -g '${1+"$@"}'='"$@"' | |
1 | 5597 setopt NO_GLOB_SUBST |
5598 else | |
36 | 5599 case `(set -o) 2>/dev/null` in #( |
5600 *posix*) : | |
5601 set -o posix ;; #( | |
5602 *) : | |
5603 ;; | |
1 | 5604 esac |
36 | 5605 fi |
5606 | |
5607 | |
5608 as_nl=' | |
5609 ' | |
5610 export as_nl | |
5611 # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
5612 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
5613 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
5614 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
5615 # Prefer a ksh shell builtin over an external printf program on Solaris, | |
5616 # but without wasting forks for bash or zsh. | |
5617 if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
5618 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
5619 as_echo='print -r --' | |
5620 as_echo_n='print -rn --' | |
5621 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
5622 as_echo='printf %s\n' | |
5623 as_echo_n='printf %s' | |
5624 else | |
5625 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
5626 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
5627 as_echo_n='/usr/ucb/echo -n' | |
5628 else | |
5629 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
5630 as_echo_n_body='eval | |
5631 arg=$1; | |
5632 case $arg in #( | |
5633 *"$as_nl"*) | |
5634 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
5635 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
5636 esac; | |
5637 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
5638 ' | |
5639 export as_echo_n_body | |
5640 as_echo_n='sh -c $as_echo_n_body as_echo' | |
5641 fi | |
5642 export as_echo_body | |
5643 as_echo='sh -c $as_echo_body as_echo' | |
5644 fi | |
0 | 5645 |
5646 # The user is always right. | |
5647 if test "${PATH_SEPARATOR+set}" != set; then | |
36 | 5648 PATH_SEPARATOR=: |
5649 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
5650 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
5651 PATH_SEPARATOR=';' | |
5652 } | |
1 | 5653 fi |
5654 | |
5655 | |
5656 # IFS | |
5657 # We need space, tab and new line, in precisely that order. Quoting is | |
5658 # there to prevent editors from complaining about space-tab. | |
5659 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
5660 # splitting by setting IFS to empty value.) | |
5661 IFS=" "" $as_nl" | |
5662 | |
5663 # Find who we are. Look in the path if we contain no directory separator. | |
36 | 5664 case $0 in #(( |
1 | 5665 *[\\/]* ) as_myself=$0 ;; |
5666 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
0 | 5667 for as_dir in $PATH |
5668 do | |
5669 IFS=$as_save_IFS | |
5670 test -z "$as_dir" && as_dir=. | |
36 | 5671 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
5672 done | |
1 | 5673 IFS=$as_save_IFS |
5674 | |
5675 ;; | |
5676 esac | |
5677 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
5678 # in which case we are not to be found in the path. | |
5679 if test "x$as_myself" = x; then | |
5680 as_myself=$0 | |
5681 fi | |
5682 if test ! -f "$as_myself"; then | |
36 | 5683 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
5684 exit 1 | |
5685 fi | |
5686 | |
5687 # Unset variables that we do not need and which cause bugs (e.g. in | |
5688 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
5689 # suppresses any "Segmentation fault" message there. '((' could | |
5690 # trigger a bug in pdksh 5.2.14. | |
5691 for as_var in BASH_ENV ENV MAIL MAILPATH | |
5692 do eval test x\${$as_var+set} = xset \ | |
5693 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
1 | 5694 done |
5695 PS1='$ ' | |
5696 PS2='> ' | |
5697 PS4='+ ' | |
5698 | |
5699 # NLS nuisances. | |
36 | 5700 LC_ALL=C |
5701 export LC_ALL | |
5702 LANGUAGE=C | |
5703 export LANGUAGE | |
5704 | |
5705 # CDPATH. | |
5706 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
5707 | |
5708 | |
5709 # as_fn_error ERROR [LINENO LOG_FD] | |
5710 # --------------------------------- | |
5711 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
5712 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
5713 # script with status $?, using 1 if that was 0. | |
5714 as_fn_error () | |
5715 { | |
5716 as_status=$?; test $as_status -eq 0 && as_status=1 | |
5717 if test "$3"; then | |
5718 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
5719 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | |
0 | 5720 fi |
36 | 5721 $as_echo "$as_me: error: $1" >&2 |
5722 as_fn_exit $as_status | |
5723 } # as_fn_error | |
5724 | |
5725 | |
5726 # as_fn_set_status STATUS | |
5727 # ----------------------- | |
5728 # Set $? to STATUS, without forking. | |
5729 as_fn_set_status () | |
5730 { | |
5731 return $1 | |
5732 } # as_fn_set_status | |
5733 | |
5734 # as_fn_exit STATUS | |
5735 # ----------------- | |
5736 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
5737 as_fn_exit () | |
5738 { | |
5739 set +e | |
5740 as_fn_set_status $1 | |
5741 exit $1 | |
5742 } # as_fn_exit | |
5743 | |
5744 # as_fn_unset VAR | |
5745 # --------------- | |
5746 # Portably unset VAR. | |
5747 as_fn_unset () | |
5748 { | |
5749 { eval $1=; unset $1;} | |
5750 } | |
5751 as_unset=as_fn_unset | |
5752 # as_fn_append VAR VALUE | |
5753 # ---------------------- | |
5754 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
5755 # advantage of any shell optimizations that allow amortized linear growth over | |
5756 # repeated appends, instead of the typical quadratic growth present in naive | |
5757 # implementations. | |
5758 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
5759 eval 'as_fn_append () | |
5760 { | |
5761 eval $1+=\$2 | |
5762 }' | |
5763 else | |
5764 as_fn_append () | |
5765 { | |
5766 eval $1=\$$1\$2 | |
5767 } | |
5768 fi # as_fn_append | |
5769 | |
5770 # as_fn_arith ARG... | |
5771 # ------------------ | |
5772 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
5773 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
5774 # must be portable across $(()) and expr. | |
5775 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
5776 eval 'as_fn_arith () | |
5777 { | |
5778 as_val=$(( $* )) | |
5779 }' | |
5780 else | |
5781 as_fn_arith () | |
5782 { | |
5783 as_val=`expr "$@" || test $? -eq 1` | |
5784 } | |
5785 fi # as_fn_arith | |
5786 | |
5787 | |
1 | 5788 if expr a : '\(a\)' >/dev/null 2>&1 && |
5789 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
5790 as_expr=expr | |
5791 else | |
5792 as_expr=false | |
5793 fi | |
5794 | |
5795 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
5796 as_basename=basename | |
5797 else | |
5798 as_basename=false | |
5799 fi | |
5800 | |
36 | 5801 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
5802 as_dirname=dirname | |
5803 else | |
5804 as_dirname=false | |
5805 fi | |
5806 | |
1 | 5807 as_me=`$as_basename -- "$0" || |
5808 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
5809 X"$0" : 'X\(//\)$' \| \ | |
5810 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
36 | 5811 $as_echo X/"$0" | |
1 | 5812 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
5813 s//\1/ | |
5814 q | |
5815 } | |
5816 /^X\/\(\/\/\)$/{ | |
5817 s//\1/ | |
5818 q | |
5819 } | |
5820 /^X\/\(\/\).*/{ | |
5821 s//\1/ | |
5822 q | |
5823 } | |
5824 s/.*/./; q'` | |
5825 | |
36 | 5826 # Avoid depending upon Character Ranges. |
5827 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
5828 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
5829 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
5830 as_cr_digits='0123456789' | |
5831 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
1 | 5832 |
5833 ECHO_C= ECHO_N= ECHO_T= | |
36 | 5834 case `echo -n x` in #((((( |
1 | 5835 -n*) |
36 | 5836 case `echo 'xy\c'` in |
1 | 5837 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
36 | 5838 xy) ECHO_C='\c';; |
5839 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
5840 ECHO_T=' ';; | |
1 | 5841 esac;; |
5842 *) | |
5843 ECHO_N='-n';; | |
0 | 5844 esac |
5845 | |
5846 rm -f conf$$ conf$$.exe conf$$.file | |
1 | 5847 if test -d conf$$.dir; then |
5848 rm -f conf$$.dir/conf$$.file | |
5849 else | |
5850 rm -f conf$$.dir | |
36 | 5851 mkdir conf$$.dir 2>/dev/null |
5852 fi | |
5853 if (echo >conf$$.file) 2>/dev/null; then | |
5854 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
5855 as_ln_s='ln -s' | |
5856 # ... but there are two gotchas: | |
5857 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
5858 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
5859 # In both cases, we have to default to `cp -p'. | |
5860 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
5861 as_ln_s='cp -p' | |
5862 elif ln conf$$.file conf$$ 2>/dev/null; then | |
5863 as_ln_s=ln | |
5864 else | |
0 | 5865 as_ln_s='cp -p' |
36 | 5866 fi |
0 | 5867 else |
5868 as_ln_s='cp -p' | |
5869 fi | |
1 | 5870 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
5871 rmdir conf$$.dir 2>/dev/null | |
0 | 5872 |
36 | 5873 |
5874 # as_fn_mkdir_p | |
5875 # ------------- | |
5876 # Create "$as_dir" as a directory, including parents if necessary. | |
5877 as_fn_mkdir_p () | |
5878 { | |
5879 | |
5880 case $as_dir in #( | |
5881 -*) as_dir=./$as_dir;; | |
5882 esac | |
5883 test -d "$as_dir" || eval $as_mkdir_p || { | |
5884 as_dirs= | |
5885 while :; do | |
5886 case $as_dir in #( | |
5887 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
5888 *) as_qdir=$as_dir;; | |
5889 esac | |
5890 as_dirs="'$as_qdir' $as_dirs" | |
5891 as_dir=`$as_dirname -- "$as_dir" || | |
5892 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5893 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
5894 X"$as_dir" : 'X\(//\)$' \| \ | |
5895 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
5896 $as_echo X"$as_dir" | | |
5897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
5898 s//\1/ | |
5899 q | |
5900 } | |
5901 /^X\(\/\/\)[^/].*/{ | |
5902 s//\1/ | |
5903 q | |
5904 } | |
5905 /^X\(\/\/\)$/{ | |
5906 s//\1/ | |
5907 q | |
5908 } | |
5909 /^X\(\/\).*/{ | |
5910 s//\1/ | |
5911 q | |
5912 } | |
5913 s/.*/./; q'` | |
5914 test -d "$as_dir" && break | |
5915 done | |
5916 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
5917 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | |
5918 | |
5919 | |
5920 } # as_fn_mkdir_p | |
0 | 5921 if mkdir -p . 2>/dev/null; then |
36 | 5922 as_mkdir_p='mkdir -p "$as_dir"' |
0 | 5923 else |
5924 test -d ./-p && rmdir ./-p | |
5925 as_mkdir_p=false | |
5926 fi | |
5927 | |
1 | 5928 if test -x / >/dev/null 2>&1; then |
5929 as_test_x='test -x' | |
5930 else | |
5931 if ls -dL / >/dev/null 2>&1; then | |
5932 as_ls_L_option=L | |
5933 else | |
5934 as_ls_L_option= | |
5935 fi | |
5936 as_test_x=' | |
5937 eval sh -c '\'' | |
5938 if test -d "$1"; then | |
36 | 5939 test -d "$1/."; |
1 | 5940 else |
36 | 5941 case $1 in #( |
5942 -*)set "./$1";; | |
1 | 5943 esac; |
36 | 5944 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
1 | 5945 ???[sx]*):;;*)false;;esac;fi |
5946 '\'' sh | |
5947 ' | |
5948 fi | |
5949 as_executable_p=$as_test_x | |
0 | 5950 |
5951 # Sed expression to map a string onto a valid CPP name. | |
5952 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
5953 | |
5954 # Sed expression to map a string onto a valid variable name. | |
5955 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
5956 | |
5957 | |
5958 exec 6>&1 | |
36 | 5959 ## ----------------------------------- ## |
5960 ## Main body of $CONFIG_STATUS script. ## | |
5961 ## ----------------------------------- ## | |
5962 _ASEOF | |
5963 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | |
5964 | |
5965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5966 # Save the log message, to keep $0 and so on meaningful, and to | |
0 | 5967 # report actual input values of CONFIG_FILES etc. instead of their |
1 | 5968 # values after options handling. |
5969 ac_log=" | |
159 | 5970 This file was extended by masqmail $as_me 0.3.0, which was |
36 | 5971 generated by GNU Autoconf 2.65. Invocation command line was |
0 | 5972 |
5973 CONFIG_FILES = $CONFIG_FILES | |
5974 CONFIG_HEADERS = $CONFIG_HEADERS | |
5975 CONFIG_LINKS = $CONFIG_LINKS | |
5976 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
5977 $ $0 $@ | |
5978 | |
1 | 5979 on `(hostname || uname -n) 2>/dev/null | sed 1q` |
5980 " | |
5981 | |
5982 _ACEOF | |
5983 | |
36 | 5984 case $ac_config_files in *" |
5985 "*) set x $ac_config_files; shift; ac_config_files=$*;; | |
5986 esac | |
5987 | |
5988 case $ac_config_headers in *" | |
5989 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | |
5990 esac | |
5991 | |
5992 | |
5993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
0 | 5994 # Files that config.status was made for. |
1 | 5995 config_files="$ac_config_files" |
5996 config_headers="$ac_config_headers" | |
5997 config_commands="$ac_config_commands" | |
5998 | |
5999 _ACEOF | |
0 | 6000 |
36 | 6001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
0 | 6002 ac_cs_usage="\ |
36 | 6003 \`$as_me' instantiates files and other configuration actions |
6004 from templates according to the current configuration. Unless the files | |
6005 and actions are specified as TAGs, all are instantiated by default. | |
6006 | |
6007 Usage: $0 [OPTION]... [TAG]... | |
0 | 6008 |
6009 -h, --help print this help, then exit | |
1 | 6010 -V, --version print version number and configuration settings, then exit |
36 | 6011 --config print configuration, then exit |
6012 -q, --quiet, --silent | |
6013 do not print progress messages | |
0 | 6014 -d, --debug don't remove temporary files |
6015 --recheck update $as_me by reconfiguring in the same conditions | |
36 | 6016 --file=FILE[:TEMPLATE] |
6017 instantiate the configuration file FILE | |
6018 --header=FILE[:TEMPLATE] | |
6019 instantiate the configuration header FILE | |
0 | 6020 |
6021 Configuration files: | |
6022 $config_files | |
6023 | |
6024 Configuration headers: | |
6025 $config_headers | |
6026 | |
6027 Configuration commands: | |
6028 $config_commands | |
6029 | |
36 | 6030 Report bugs to <meillo@marmaro.de>." |
1 | 6031 |
6032 _ACEOF | |
36 | 6033 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
6034 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | |
0 | 6035 ac_cs_version="\\ |
159 | 6036 masqmail config.status 0.3.0 |
36 | 6037 configured by $0, generated by GNU Autoconf 2.65, |
6038 with options \\"\$ac_cs_config\\" | |
6039 | |
6040 Copyright (C) 2009 Free Software Foundation, Inc. | |
0 | 6041 This config.status script is free software; the Free Software Foundation |
6042 gives unlimited permission to copy, distribute and modify it." | |
1 | 6043 |
6044 ac_pwd='$ac_pwd' | |
6045 srcdir='$srcdir' | |
6046 INSTALL='$INSTALL' | |
36 | 6047 MKDIR_P='$MKDIR_P' |
6048 AWK='$AWK' | |
6049 test -n "\$AWK" || AWK=awk | |
0 | 6050 _ACEOF |
6051 | |
36 | 6052 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
6053 # The default lists apply if the user does not specify any file. | |
0 | 6054 ac_need_defaults=: |
6055 while test $# != 0 | |
6056 do | |
6057 case $1 in | |
6058 --*=*) | |
1 | 6059 ac_option=`expr "X$1" : 'X\([^=]*\)='` |
6060 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
0 | 6061 ac_shift=: |
6062 ;; | |
1 | 6063 *) |
0 | 6064 ac_option=$1 |
6065 ac_optarg=$2 | |
6066 ac_shift=shift | |
6067 ;; | |
6068 esac | |
6069 | |
6070 case $ac_option in | |
6071 # Handling of the options. | |
6072 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
6073 ac_cs_recheck=: ;; | |
1 | 6074 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
36 | 6075 $as_echo "$ac_cs_version"; exit ;; |
6076 --config | --confi | --conf | --con | --co | --c ) | |
6077 $as_echo "$ac_cs_config"; exit ;; | |
1 | 6078 --debug | --debu | --deb | --de | --d | -d ) |
0 | 6079 debug=: ;; |
6080 --file | --fil | --fi | --f ) | |
6081 $ac_shift | |
36 | 6082 case $ac_optarg in |
6083 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
6084 esac | |
6085 as_fn_append CONFIG_FILES " '$ac_optarg'" | |
0 | 6086 ac_need_defaults=false;; |
6087 --header | --heade | --head | --hea ) | |
6088 $ac_shift | |
36 | 6089 case $ac_optarg in |
6090 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
6091 esac | |
6092 as_fn_append CONFIG_HEADERS " '$ac_optarg'" | |
0 | 6093 ac_need_defaults=false;; |
1 | 6094 --he | --h) |
6095 # Conflict between --help and --header | |
36 | 6096 as_fn_error "ambiguous option: \`$1' |
6097 Try \`$0 --help' for more information.";; | |
1 | 6098 --help | --hel | -h ) |
36 | 6099 $as_echo "$ac_cs_usage"; exit ;; |
0 | 6100 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
6101 | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
6102 ac_cs_silent=: ;; | |
6103 | |
6104 # This is an error. | |
36 | 6105 -*) as_fn_error "unrecognized option: \`$1' |
6106 Try \`$0 --help' for more information." ;; | |
6107 | |
6108 *) as_fn_append ac_config_targets " $1" | |
1 | 6109 ac_need_defaults=false ;; |
0 | 6110 |
6111 esac | |
6112 shift | |
6113 done | |
6114 | |
6115 ac_configure_extra_args= | |
6116 | |
6117 if $ac_cs_silent; then | |
6118 exec 6>/dev/null | |
6119 ac_configure_extra_args="$ac_configure_extra_args --silent" | |
6120 fi | |
6121 | |
6122 _ACEOF | |
36 | 6123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
0 | 6124 if \$ac_cs_recheck; then |
36 | 6125 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
6126 shift | |
6127 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | |
6128 CONFIG_SHELL='$SHELL' | |
1 | 6129 export CONFIG_SHELL |
36 | 6130 exec "\$@" |
1 | 6131 fi |
6132 | |
6133 _ACEOF | |
36 | 6134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1 | 6135 exec 5>>config.log |
6136 { | |
6137 echo | |
6138 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
6139 ## Running $as_me. ## | |
6140 _ASBOX | |
36 | 6141 $as_echo "$ac_log" |
1 | 6142 } >&5 |
6143 | |
6144 _ACEOF | |
36 | 6145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
0 | 6146 # |
1 | 6147 # INIT-COMMANDS |
0 | 6148 # |
6149 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | |
6150 | |
6151 _ACEOF | |
6152 | |
36 | 6153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1 | 6154 |
6155 # Handling of arguments. | |
0 | 6156 for ac_config_target in $ac_config_targets |
6157 do | |
1 | 6158 case $ac_config_target in |
6159 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | |
6160 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | |
6161 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
6162 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; | |
6163 "src/base64/Makefile") CONFIG_FILES="$CONFIG_FILES src/base64/Makefile" ;; | |
6164 "src/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/md5/Makefile" ;; | |
6165 "src/libident/Makefile") CONFIG_FILES="$CONFIG_FILES src/libident/Makefile" ;; | |
57 | 6166 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; |
1 | 6167 |
36 | 6168 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
0 | 6169 esac |
6170 done | |
6171 | |
1 | 6172 |
0 | 6173 # If the user did not use the arguments to specify the items to instantiate, |
6174 # then the envvar interface is used. Set only those that are not. | |
6175 # We use the long form for the default assignment because of an extremely | |
6176 # bizarre bug on SunOS 4.1.3. | |
6177 if $ac_need_defaults; then | |
6178 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
6179 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | |
6180 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | |
6181 fi | |
6182 | |
6183 # Have a temporary directory for convenience. Make it in the build tree | |
1 | 6184 # simply because there is no reason against having it here, and in addition, |
0 | 6185 # creating and moving files from /tmp can sometimes cause problems. |
1 | 6186 # Hook for its removal unless debugging. |
6187 # Note that there is a small window in which the directory will not be cleaned: | |
6188 # after its creation but before its name has been assigned to `$tmp'. | |
0 | 6189 $debug || |
6190 { | |
1 | 6191 tmp= |
6192 trap 'exit_status=$? | |
6193 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | |
6194 ' 0 | |
36 | 6195 trap 'as_fn_exit 1' 1 2 13 15 |
0 | 6196 } |
6197 # Create a (secure) tmp directory for tmp files. | |
6198 | |
6199 { | |
1 | 6200 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
0 | 6201 test -n "$tmp" && test -d "$tmp" |
6202 } || | |
6203 { | |
1 | 6204 tmp=./conf$$-$RANDOM |
6205 (umask 077 && mkdir "$tmp") | |
36 | 6206 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
6207 | |
6208 # Set up the scripts for CONFIG_FILES section. | |
6209 # No need to generate them if there are no CONFIG_FILES. | |
6210 # This happens for instance with `./config.status config.h'. | |
6211 if test -n "$CONFIG_FILES"; then | |
6212 | |
6213 | |
6214 ac_cr=`echo X | tr X '\015'` | |
6215 # On cygwin, bash can eat \r inside `` if the user requested igncr. | |
6216 # But we know of no other shell where ac_cr would be empty at this | |
6217 # point, so we can use a bashism as a fallback. | |
6218 if test "x$ac_cr" = x; then | |
6219 eval ac_cr=\$\'\\r\' | |
6220 fi | |
6221 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | |
6222 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | |
6223 ac_cs_awk_cr='\r' | |
6224 else | |
6225 ac_cs_awk_cr=$ac_cr | |
6226 fi | |
6227 | |
6228 echo 'BEGIN {' >"$tmp/subs1.awk" && | |
6229 _ACEOF | |
6230 | |
6231 | |
0 | 6232 { |
36 | 6233 echo "cat >conf$$subs.awk <<_ACEOF" && |
6234 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | |
6235 echo "_ACEOF" | |
6236 } >conf$$subs.sh || | |
6237 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | |
6238 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | |
1 | 6239 ac_delim='%!_!# ' |
6240 for ac_last_try in false false false false false :; do | |
36 | 6241 . ./conf$$subs.sh || |
6242 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | |
6243 | |
6244 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | |
6245 if test $ac_delim_n = $ac_delim_num; then | |
1 | 6246 break |
6247 elif $ac_last_try; then | |
36 | 6248 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
1 | 6249 else |
6250 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
6251 fi | |
6252 done | |
36 | 6253 rm -f conf$$subs.sh |
6254 | |
6255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
6256 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | |
1 | 6257 _ACEOF |
36 | 6258 sed -n ' |
6259 h | |
6260 s/^/S["/; s/!.*/"]=/ | |
6261 p | |
6262 g | |
6263 s/^[^!]*!// | |
6264 :repl | |
6265 t repl | |
6266 s/'"$ac_delim"'$// | |
6267 t delim | |
6268 :nl | |
6269 h | |
6270 s/\(.\{148\}\)..*/\1/ | |
6271 t more1 | |
6272 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | |
6273 p | |
6274 n | |
6275 b repl | |
6276 :more1 | |
6277 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
6278 p | |
6279 g | |
6280 s/.\{148\}// | |
6281 t nl | |
6282 :delim | |
6283 h | |
6284 s/\(.\{148\}\)..*/\1/ | |
6285 t more2 | |
6286 s/["\\]/\\&/g; s/^/"/; s/$/"/ | |
6287 p | |
6288 b | |
6289 :more2 | |
6290 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
6291 p | |
6292 g | |
6293 s/.\{148\}// | |
6294 t delim | |
6295 ' <conf$$subs.awk | sed ' | |
6296 /^[^""]/{ | |
6297 N | |
6298 s/\n// | |
6299 } | |
6300 ' >>$CONFIG_STATUS || ac_write_fail=1 | |
6301 rm -f conf$$subs.awk | |
6302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
6303 _ACAWK | |
6304 cat >>"\$tmp/subs1.awk" <<_ACAWK && | |
6305 for (key in S) S_is_set[key] = 1 | |
6306 FS = "" | |
6307 | |
6308 } | |
6309 { | |
6310 line = $ 0 | |
6311 nfields = split(line, field, "@") | |
6312 substed = 0 | |
6313 len = length(field[1]) | |
6314 for (i = 2; i < nfields; i++) { | |
6315 key = field[i] | |
6316 keylen = length(key) | |
6317 if (S_is_set[key]) { | |
6318 value = S[key] | |
6319 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | |
6320 len += length(value) + length(field[++i]) | |
6321 substed = 1 | |
6322 } else | |
6323 len += 1 + keylen | |
6324 } | |
6325 | |
6326 print line | |
6327 } | |
6328 | |
6329 _ACAWK | |
1 | 6330 _ACEOF |
36 | 6331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
6332 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |
6333 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | |
6334 else | |
6335 cat | |
6336 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | |
6337 || as_fn_error "could not setup config files machinery" "$LINENO" 5 | |
6338 _ACEOF | |
1 | 6339 |
6340 # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
6341 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
6342 # trailing colons and then remove the whole line if VPATH becomes empty | |
6343 # (actually we leave an empty line to preserve line numbers). | |
6344 if test "x$srcdir" = x.; then | |
6345 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
6346 s/:*\$(srcdir):*/:/ | |
6347 s/:*\${srcdir}:*/:/ | |
6348 s/:*@srcdir@:*/:/ | |
6349 s/^\([^=]*=[ ]*\):*/\1/ | |
6350 s/:*$// | |
6351 s/^[^=]*=[ ]*$// | |
6352 }' | |
6353 fi | |
6354 | |
36 | 6355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1 | 6356 fi # test -n "$CONFIG_FILES" |
6357 | |
36 | 6358 # Set up the scripts for CONFIG_HEADERS section. |
6359 # No need to generate them if there are no CONFIG_HEADERS. | |
6360 # This happens for instance with `./config.status Makefile'. | |
6361 if test -n "$CONFIG_HEADERS"; then | |
6362 cat >"$tmp/defines.awk" <<\_ACAWK || | |
6363 BEGIN { | |
6364 _ACEOF | |
6365 | |
6366 # Transform confdefs.h into an awk script `defines.awk', embedded as | |
6367 # here-document in config.status, that substitutes the proper values into | |
6368 # config.h.in to produce config.h. | |
6369 | |
6370 # Create a delimiter string that does not exist in confdefs.h, to ease | |
6371 # handling of long lines. | |
6372 ac_delim='%!_!# ' | |
6373 for ac_last_try in false false :; do | |
6374 ac_t=`sed -n "/$ac_delim/p" confdefs.h` | |
6375 if test -z "$ac_t"; then | |
6376 break | |
6377 elif $ac_last_try; then | |
6378 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 | |
6379 else | |
6380 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
6381 fi | |
6382 done | |
6383 | |
6384 # For the awk script, D is an array of macro values keyed by name, | |
6385 # likewise P contains macro parameters if any. Preserve backslash | |
6386 # newline sequences. | |
6387 | |
6388 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | |
6389 sed -n ' | |
6390 s/.\{148\}/&'"$ac_delim"'/g | |
6391 t rset | |
6392 :rset | |
6393 s/^[ ]*#[ ]*define[ ][ ]*/ / | |
6394 t def | |
6395 d | |
6396 :def | |
6397 s/\\$// | |
6398 t bsnl | |
6399 s/["\\]/\\&/g | |
6400 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | |
6401 D["\1"]=" \3"/p | |
6402 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p | |
6403 d | |
6404 :bsnl | |
6405 s/["\\]/\\&/g | |
6406 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | |
6407 D["\1"]=" \3\\\\\\n"\\/p | |
6408 t cont | |
6409 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | |
6410 t cont | |
6411 d | |
6412 :cont | |
6413 n | |
6414 s/.\{148\}/&'"$ac_delim"'/g | |
6415 t clear | |
6416 :clear | |
6417 s/\\$// | |
6418 t bsnlc | |
6419 s/["\\]/\\&/g; s/^/"/; s/$/"/p | |
6420 d | |
6421 :bsnlc | |
6422 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | |
6423 b cont | |
6424 ' <confdefs.h | sed ' | |
6425 s/'"$ac_delim"'/"\\\ | |
6426 "/g' >>$CONFIG_STATUS || ac_write_fail=1 | |
6427 | |
6428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
6429 for (key in D) D_is_set[key] = 1 | |
6430 FS = "" | |
6431 } | |
6432 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { | |
6433 line = \$ 0 | |
6434 split(line, arg, " ") | |
6435 if (arg[1] == "#") { | |
6436 defundef = arg[2] | |
6437 mac1 = arg[3] | |
6438 } else { | |
6439 defundef = substr(arg[1], 2) | |
6440 mac1 = arg[2] | |
6441 } | |
6442 split(mac1, mac2, "(") #) | |
6443 macro = mac2[1] | |
6444 prefix = substr(line, 1, index(line, defundef) - 1) | |
6445 if (D_is_set[macro]) { | |
6446 # Preserve the white space surrounding the "#". | |
6447 print prefix "define", macro P[macro] D[macro] | |
6448 next | |
6449 } else { | |
6450 # Replace #undef with comments. This is necessary, for example, | |
6451 # in the case of _POSIX_SOURCE, which is predefined and required | |
6452 # on some systems where configure will not decide to define it. | |
6453 if (defundef == "undef") { | |
6454 print "/*", prefix defundef, macro, "*/" | |
6455 next | |
6456 } | |
6457 } | |
6458 } | |
6459 { print } | |
6460 _ACAWK | |
6461 _ACEOF | |
6462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
6463 as_fn_error "could not setup config headers machinery" "$LINENO" 5 | |
6464 fi # test -n "$CONFIG_HEADERS" | |
6465 | |
6466 | |
6467 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | |
6468 shift | |
6469 for ac_tag | |
1 | 6470 do |
6471 case $ac_tag in | |
6472 :[FHLC]) ac_mode=$ac_tag; continue;; | |
6473 esac | |
6474 case $ac_mode$ac_tag in | |
6475 :[FHL]*:*);; | |
36 | 6476 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; |
1 | 6477 :[FH]-) ac_tag=-:-;; |
6478 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
6479 esac | |
6480 ac_save_IFS=$IFS | |
6481 IFS=: | |
6482 set x $ac_tag | |
6483 IFS=$ac_save_IFS | |
6484 shift | |
6485 ac_file=$1 | |
6486 shift | |
6487 | |
6488 case $ac_mode in | |
6489 :L) ac_source=$1;; | |
6490 :[FH]) | |
6491 ac_file_inputs= | |
6492 for ac_f | |
6493 do | |
6494 case $ac_f in | |
6495 -) ac_f="$tmp/stdin";; | |
6496 *) # Look for the file first in the build tree, then in the source tree | |
6497 # (if the path is not absolute). The absolute path cannot be DOS-style, | |
6498 # because $ac_f cannot contain `:'. | |
6499 test -f "$ac_f" || | |
6500 case $ac_f in | |
6501 [\\/$]*) false;; | |
6502 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
6503 esac || | |
36 | 6504 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
1 | 6505 esac |
36 | 6506 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
6507 as_fn_append ac_file_inputs " '$ac_f'" | |
1 | 6508 done |
6509 | |
6510 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
6511 # use $as_me), people would be surprised to read: | |
6512 # /* config.h. Generated by config.status. */ | |
36 | 6513 configure_input='Generated from '` |
6514 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | |
6515 `' by configure.' | |
1 | 6516 if test x"$ac_file" != x-; then |
6517 configure_input="$ac_file. $configure_input" | |
36 | 6518 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
6519 $as_echo "$as_me: creating $ac_file" >&6;} | |
0 | 6520 fi |
36 | 6521 # Neutralize special characters interpreted by sed in replacement strings. |
6522 case $configure_input in #( | |
6523 *\&* | *\|* | *\\* ) | |
6524 ac_sed_conf_input=`$as_echo "$configure_input" | | |
6525 sed 's/[\\\\&|]/\\\\&/g'`;; #( | |
6526 *) ac_sed_conf_input=$configure_input;; | |
6527 esac | |
1 | 6528 |
6529 case $ac_tag in | |
36 | 6530 *:-:* | *:-) cat >"$tmp/stdin" \ |
6531 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; | |
1 | 6532 esac |
6533 ;; | |
0 | 6534 esac |
6535 | |
1 | 6536 ac_dir=`$as_dirname -- "$ac_file" || |
0 | 6537 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6538 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
6539 X"$ac_file" : 'X\(//\)$' \| \ | |
1 | 6540 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
36 | 6541 $as_echo X"$ac_file" | |
1 | 6542 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
6543 s//\1/ | |
6544 q | |
6545 } | |
6546 /^X\(\/\/\)[^/].*/{ | |
6547 s//\1/ | |
6548 q | |
6549 } | |
6550 /^X\(\/\/\)$/{ | |
6551 s//\1/ | |
6552 q | |
6553 } | |
6554 /^X\(\/\).*/{ | |
6555 s//\1/ | |
6556 q | |
6557 } | |
6558 s/.*/./; q'` | |
36 | 6559 as_dir="$ac_dir"; as_fn_mkdir_p |
0 | 6560 ac_builddir=. |
6561 | |
1 | 6562 case "$ac_dir" in |
6563 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
6564 *) | |
36 | 6565 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1 | 6566 # A ".." for each directory in $ac_dir_suffix. |
36 | 6567 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1 | 6568 case $ac_top_builddir_sub in |
6569 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
6570 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
6571 esac ;; | |
6572 esac | |
6573 ac_abs_top_builddir=$ac_pwd | |
6574 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
6575 # for backward compatibility: | |
6576 ac_top_builddir=$ac_top_build_prefix | |
0 | 6577 |
6578 case $srcdir in | |
1 | 6579 .) # We are building in place. |
0 | 6580 ac_srcdir=. |
1 | 6581 ac_top_srcdir=$ac_top_builddir_sub |
6582 ac_abs_top_srcdir=$ac_pwd ;; | |
6583 [\\/]* | ?:[\\/]* ) # Absolute name. | |
0 | 6584 ac_srcdir=$srcdir$ac_dir_suffix; |
1 | 6585 ac_top_srcdir=$srcdir |
6586 ac_abs_top_srcdir=$srcdir ;; | |
6587 *) # Relative name. | |
6588 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
6589 ac_top_srcdir=$ac_top_build_prefix$srcdir | |
6590 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
0 | 6591 esac |
1 | 6592 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
6593 | |
6594 | |
6595 case $ac_mode in | |
6596 :F) | |
6597 # | |
6598 # CONFIG_FILE | |
6599 # | |
0 | 6600 |
6601 case $INSTALL in | |
6602 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | |
1 | 6603 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
0 | 6604 esac |
36 | 6605 ac_MKDIR_P=$MKDIR_P |
6606 case $MKDIR_P in | |
6607 [\\/$]* | ?:[\\/]* ) ;; | |
6608 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; | |
6609 esac | |
1 | 6610 _ACEOF |
6611 | |
36 | 6612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1 | 6613 # If the template does not know about datarootdir, expand it. |
6614 # FIXME: This hack should be removed a few years after 2.60. | |
6615 ac_datarootdir_hack=; ac_datarootdir_seen= | |
36 | 6616 ac_sed_dataroot=' |
6617 /datarootdir/ { | |
1 | 6618 p |
6619 q | |
6620 } | |
6621 /@datadir@/p | |
6622 /@docdir@/p | |
6623 /@infodir@/p | |
6624 /@localedir@/p | |
36 | 6625 /@mandir@/p' |
6626 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | |
1 | 6627 *datarootdir*) ac_datarootdir_seen=yes;; |
6628 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | |
36 | 6629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
6630 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | |
1 | 6631 _ACEOF |
36 | 6632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
1 | 6633 ac_datarootdir_hack=' |
6634 s&@datadir@&$datadir&g | |
6635 s&@docdir@&$docdir&g | |
6636 s&@infodir@&$infodir&g | |
6637 s&@localedir@&$localedir&g | |
6638 s&@mandir@&$mandir&g | |
36 | 6639 s&\\\${datarootdir}&$datarootdir&g' ;; |
1 | 6640 esac |
6641 _ACEOF | |
6642 | |
6643 # Neutralize VPATH when `$srcdir' = `.'. | |
6644 # Shell code in configure.ac might set extrasub. | |
6645 # FIXME: do we really want to maintain this feature? | |
36 | 6646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
6647 ac_sed_extra="$ac_vpsub | |
0 | 6648 $extrasub |
6649 _ACEOF | |
36 | 6650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
0 | 6651 :t |
6652 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
36 | 6653 s|@configure_input@|$ac_sed_conf_input|;t t |
1 | 6654 s&@top_builddir@&$ac_top_builddir_sub&;t t |
36 | 6655 s&@top_build_prefix@&$ac_top_build_prefix&;t t |
1 | 6656 s&@srcdir@&$ac_srcdir&;t t |
6657 s&@abs_srcdir@&$ac_abs_srcdir&;t t | |
6658 s&@top_srcdir@&$ac_top_srcdir&;t t | |
6659 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | |
6660 s&@builddir@&$ac_builddir&;t t | |
6661 s&@abs_builddir@&$ac_abs_builddir&;t t | |
6662 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | |
6663 s&@INSTALL@&$ac_INSTALL&;t t | |
36 | 6664 s&@MKDIR_P@&$ac_MKDIR_P&;t t |
1 | 6665 $ac_datarootdir_hack |
36 | 6666 " |
6667 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | |
6668 || as_fn_error "could not create $ac_file" "$LINENO" 5 | |
1 | 6669 |
6670 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | |
6671 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | |
6672 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | |
36 | 6673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
1 | 6674 which seems to be undefined. Please make sure it is defined." >&5 |
36 | 6675 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
1 | 6676 which seems to be undefined. Please make sure it is defined." >&2;} |
6677 | |
6678 rm -f "$tmp/stdin" | |
0 | 6679 case $ac_file in |
36 | 6680 -) cat "$tmp/out" && rm -f "$tmp/out";; |
6681 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | |
6682 esac \ | |
6683 || as_fn_error "could not create $ac_file" "$LINENO" 5 | |
1 | 6684 ;; |
6685 :H) | |
6686 # | |
6687 # CONFIG_HEADER | |
6688 # | |
0 | 6689 if test x"$ac_file" != x-; then |
36 | 6690 { |
6691 $as_echo "/* $configure_input */" \ | |
6692 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | |
6693 } >"$tmp/config.h" \ | |
6694 || as_fn_error "could not create $ac_file" "$LINENO" 5 | |
6695 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | |
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | |
6697 $as_echo "$as_me: $ac_file is unchanged" >&6;} | |
0 | 6698 else |
36 | 6699 rm -f "$ac_file" |
6700 mv "$tmp/config.h" "$ac_file" \ | |
6701 || as_fn_error "could not create $ac_file" "$LINENO" 5 | |
0 | 6702 fi |
6703 else | |
36 | 6704 $as_echo "/* $configure_input */" \ |
6705 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | |
6706 || as_fn_error "could not create -" "$LINENO" 5 | |
0 | 6707 fi |
36 | 6708 # Compute "$ac_file"'s index in $config_headers. |
6709 _am_arg="$ac_file" | |
0 | 6710 _am_stamp_count=1 |
6711 for _am_header in $config_headers :; do | |
6712 case $_am_header in | |
36 | 6713 $_am_arg | $_am_arg:* ) |
0 | 6714 break ;; |
6715 * ) | |
6716 _am_stamp_count=`expr $_am_stamp_count + 1` ;; | |
6717 esac | |
6718 done | |
36 | 6719 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
6720 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
6721 X"$_am_arg" : 'X\(//\)[^/]' \| \ | |
6722 X"$_am_arg" : 'X\(//\)$' \| \ | |
6723 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || | |
6724 $as_echo X"$_am_arg" | | |
1 | 6725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
6726 s//\1/ | |
6727 q | |
6728 } | |
6729 /^X\(\/\/\)[^/].*/{ | |
6730 s//\1/ | |
6731 q | |
6732 } | |
6733 /^X\(\/\/\)$/{ | |
6734 s//\1/ | |
6735 q | |
6736 } | |
6737 /^X\(\/\).*/{ | |
6738 s//\1/ | |
6739 q | |
6740 } | |
6741 s/.*/./; q'`/stamp-h$_am_stamp_count | |
6742 ;; | |
6743 | |
36 | 6744 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
6745 $as_echo "$as_me: executing $ac_file commands" >&6;} | |
1 | 6746 ;; |
6747 esac | |
6748 | |
6749 | |
6750 case $ac_file$ac_mode in | |
36 | 6751 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
6752 # Autoconf 2.62 quotes --file arguments for eval, but not when files | |
6753 # are listed without --file. Let's play safe and only enable the eval | |
6754 # if we detect the quoting. | |
6755 case $CONFIG_FILES in | |
6756 *\'*) eval set x "$CONFIG_FILES" ;; | |
6757 *) set x $CONFIG_FILES ;; | |
6758 esac | |
6759 shift | |
6760 for mf | |
6761 do | |
6762 # Strip MF so we end up with the name of the file. | |
6763 mf=`echo "$mf" | sed -e 's/:.*$//'` | |
6764 # Check whether this is an Automake generated Makefile or not. | |
6765 # We used to match only the files named `Makefile.in', but | |
6766 # some people rename them; so instead we look at the file content. | |
6767 # Grep'ing the first line is not enough: some people post-process | |
6768 # each Makefile.in and add a new line on top of each file to say so. | |
6769 # Grep'ing the whole file is not good either: AIX grep has a line | |
6770 # limit of 2048, but all sed's we know have understand at least 4000. | |
6771 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | |
6772 dirpart=`$as_dirname -- "$mf" || | |
0 | 6773 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6774 X"$mf" : 'X\(//\)[^/]' \| \ | |
6775 X"$mf" : 'X\(//\)$' \| \ | |
1 | 6776 X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
36 | 6777 $as_echo X"$mf" | |
1 | 6778 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
6779 s//\1/ | |
6780 q | |
6781 } | |
6782 /^X\(\/\/\)[^/].*/{ | |
6783 s//\1/ | |
6784 q | |
6785 } | |
6786 /^X\(\/\/\)$/{ | |
6787 s//\1/ | |
6788 q | |
6789 } | |
6790 /^X\(\/\).*/{ | |
6791 s//\1/ | |
6792 q | |
6793 } | |
6794 s/.*/./; q'` | |
36 | 6795 else |
6796 continue | |
6797 fi | |
6798 # Extract the definition of DEPDIR, am__include, and am__quote | |
6799 # from the Makefile without running `make'. | |
6800 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
6801 test -z "$DEPDIR" && continue | |
6802 am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
6803 test -z "am__include" && continue | |
6804 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
6805 # When using ansi2knr, U may be empty or an underscore; expand it | |
6806 U=`sed -n 's/^U = //p' < "$mf"` | |
6807 # Find all dependency output files, they are included files with | |
6808 # $(DEPDIR) in their names. We invoke sed twice because it is the | |
6809 # simplest approach to changing $(DEPDIR) to its actual value in the | |
6810 # expansion. | |
6811 for file in `sed -n " | |
6812 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
6813 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
6814 # Make sure the directory exists. | |
6815 test -f "$dirpart/$file" && continue | |
6816 fdir=`$as_dirname -- "$file" || | |
0 | 6817 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6818 X"$file" : 'X\(//\)[^/]' \| \ | |
6819 X"$file" : 'X\(//\)$' \| \ | |
1 | 6820 X"$file" : 'X\(/\)' \| . 2>/dev/null || |
36 | 6821 $as_echo X"$file" | |
1 | 6822 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
6823 s//\1/ | |
6824 q | |
6825 } | |
6826 /^X\(\/\/\)[^/].*/{ | |
6827 s//\1/ | |
6828 q | |
6829 } | |
6830 /^X\(\/\/\)$/{ | |
6831 s//\1/ | |
6832 q | |
6833 } | |
6834 /^X\(\/\).*/{ | |
6835 s//\1/ | |
6836 q | |
6837 } | |
6838 s/.*/./; q'` | |
36 | 6839 as_dir=$dirpart/$fdir; as_fn_mkdir_p |
6840 # echo "creating $dirpart/$file" | |
6841 echo '# dummy' > "$dirpart/$file" | |
0 | 6842 done |
6843 done | |
36 | 6844 } |
0 | 6845 ;; |
1 | 6846 |
0 | 6847 esac |
1 | 6848 done # for ac_tag |
6849 | |
0 | 6850 |
36 | 6851 as_fn_exit 0 |
0 | 6852 _ACEOF |
6853 ac_clean_files=$ac_clean_files_save | |
6854 | |
36 | 6855 test $ac_write_fail = 0 || |
6856 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 | |
6857 | |
0 | 6858 |
6859 # configure is writing to config.log, and then calls config.status. | |
6860 # config.status does its own redirection, appending to config.log. | |
6861 # Unfortunately, on DOS this fails, as config.log is still kept open | |
6862 # by configure, so config.status won't be able to write to it; its | |
6863 # output is simply discarded. So we exec the FD to /dev/null, | |
6864 # effectively closing config.log, so it can be properly (re)opened and | |
6865 # appended to by config.status. When coming back to configure, we | |
6866 # need to make the FD available again. | |
6867 if test "$no_create" != yes; then | |
6868 ac_cs_success=: | |
6869 ac_config_status_args= | |
6870 test "$silent" = yes && | |
6871 ac_config_status_args="$ac_config_status_args --quiet" | |
6872 exec 5>/dev/null | |
6873 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | |
6874 exec 5>>config.log | |
6875 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | |
6876 # would make configure fail if this is the last instruction. | |
36 | 6877 $ac_cs_success || as_fn_exit $? |
6878 fi | |
6879 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | |
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | |
6881 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | |
6882 fi | |
6883 |