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