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