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