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