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