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