rev |
line source |
meillo@0
|
1 #! /bin/sh
|
meillo@0
|
2 # Guess values for system-dependent variables and create Makefiles.
|
meillo@52
|
3 # Generated by GNU Autoconf 2.65 for masqmail 0.2.23.
|
meillo@0
|
4 #
|
meillo@36
|
5 # Report bugs to <meillo@marmaro.de>.
|
meillo@36
|
6 #
|
meillo@0
|
7 #
|
meillo@1
|
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
meillo@36
|
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
meillo@36
|
10 # Inc.
|
meillo@36
|
11 #
|
meillo@36
|
12 #
|
meillo@0
|
13 # This configure script is free software; the Free Software Foundation
|
meillo@0
|
14 # gives unlimited permission to copy, distribute and modify it.
|
meillo@36
|
15 ## -------------------- ##
|
meillo@36
|
16 ## M4sh Initialization. ##
|
meillo@36
|
17 ## -------------------- ##
|
meillo@0
|
18
|
meillo@1
|
19 # Be more Bourne compatible
|
meillo@1
|
20 DUALCASE=1; export DUALCASE # for MKS sh
|
meillo@36
|
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
meillo@0
|
22 emulate sh
|
meillo@0
|
23 NULLCMD=:
|
meillo@36
|
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
meillo@0
|
25 # is contrary to our usage. Disable this feature.
|
meillo@0
|
26 alias -g '${1+"$@"}'='"$@"'
|
meillo@1
|
27 setopt NO_GLOB_SUBST
|
meillo@1
|
28 else
|
meillo@36
|
29 case `(set -o) 2>/dev/null` in #(
|
meillo@36
|
30 *posix*) :
|
meillo@36
|
31 set -o posix ;; #(
|
meillo@36
|
32 *) :
|
meillo@36
|
33 ;;
|
meillo@1
|
34 esac
|
meillo@36
|
35 fi
|
meillo@36
|
36
|
meillo@36
|
37
|
meillo@36
|
38 as_nl='
|
meillo@36
|
39 '
|
meillo@36
|
40 export as_nl
|
meillo@36
|
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
meillo@36
|
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
meillo@36
|
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
meillo@36
|
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
meillo@36
|
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
|
meillo@36
|
46 # but without wasting forks for bash or zsh.
|
meillo@36
|
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
|
meillo@36
|
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
meillo@36
|
49 as_echo='print -r --'
|
meillo@36
|
50 as_echo_n='print -rn --'
|
meillo@36
|
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
meillo@36
|
52 as_echo='printf %s\n'
|
meillo@36
|
53 as_echo_n='printf %s'
|
meillo@36
|
54 else
|
meillo@36
|
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
meillo@36
|
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
meillo@36
|
57 as_echo_n='/usr/ucb/echo -n'
|
meillo@36
|
58 else
|
meillo@36
|
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
meillo@36
|
60 as_echo_n_body='eval
|
meillo@36
|
61 arg=$1;
|
meillo@36
|
62 case $arg in #(
|
meillo@36
|
63 *"$as_nl"*)
|
meillo@36
|
64 expr "X$arg" : "X\\(.*\\)$as_nl";
|
meillo@36
|
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
meillo@36
|
66 esac;
|
meillo@36
|
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
meillo@36
|
68 '
|
meillo@36
|
69 export as_echo_n_body
|
meillo@36
|
70 as_echo_n='sh -c $as_echo_n_body as_echo'
|
meillo@36
|
71 fi
|
meillo@36
|
72 export as_echo_body
|
meillo@36
|
73 as_echo='sh -c $as_echo_body as_echo'
|
meillo@36
|
74 fi
|
meillo@0
|
75
|
meillo@0
|
76 # The user is always right.
|
meillo@0
|
77 if test "${PATH_SEPARATOR+set}" != set; then
|
meillo@36
|
78 PATH_SEPARATOR=:
|
meillo@36
|
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
meillo@36
|
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
meillo@36
|
81 PATH_SEPARATOR=';'
|
meillo@36
|
82 }
|
meillo@1
|
83 fi
|
meillo@1
|
84
|
meillo@1
|
85
|
meillo@1
|
86 # IFS
|
meillo@1
|
87 # We need space, tab and new line, in precisely that order. Quoting is
|
meillo@1
|
88 # there to prevent editors from complaining about space-tab.
|
meillo@1
|
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
meillo@1
|
90 # splitting by setting IFS to empty value.)
|
meillo@1
|
91 IFS=" "" $as_nl"
|
meillo@1
|
92
|
meillo@1
|
93 # Find who we are. Look in the path if we contain no directory separator.
|
meillo@36
|
94 case $0 in #((
|
meillo@1
|
95 *[\\/]* ) as_myself=$0 ;;
|
meillo@1
|
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
meillo@0
|
97 for as_dir in $PATH
|
meillo@0
|
98 do
|
meillo@0
|
99 IFS=$as_save_IFS
|
meillo@0
|
100 test -z "$as_dir" && as_dir=.
|
meillo@36
|
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
meillo@36
|
102 done
|
meillo@1
|
103 IFS=$as_save_IFS
|
meillo@1
|
104
|
meillo@1
|
105 ;;
|
meillo@1
|
106 esac
|
meillo@1
|
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
|
meillo@1
|
108 # in which case we are not to be found in the path.
|
meillo@1
|
109 if test "x$as_myself" = x; then
|
meillo@1
|
110 as_myself=$0
|
meillo@1
|
111 fi
|
meillo@1
|
112 if test ! -f "$as_myself"; then
|
meillo@36
|
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
meillo@36
|
114 exit 1
|
meillo@36
|
115 fi
|
meillo@36
|
116
|
meillo@36
|
117 # Unset variables that we do not need and which cause bugs (e.g. in
|
meillo@36
|
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
meillo@36
|
119 # suppresses any "Segmentation fault" message there. '((' could
|
meillo@36
|
120 # trigger a bug in pdksh 5.2.14.
|
meillo@36
|
121 for as_var in BASH_ENV ENV MAIL MAILPATH
|
meillo@36
|
122 do eval test x\${$as_var+set} = xset \
|
meillo@36
|
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
meillo@1
|
124 done
|
meillo@1
|
125 PS1='$ '
|
meillo@1
|
126 PS2='> '
|
meillo@1
|
127 PS4='+ '
|
meillo@1
|
128
|
meillo@1
|
129 # NLS nuisances.
|
meillo@36
|
130 LC_ALL=C
|
meillo@36
|
131 export LC_ALL
|
meillo@36
|
132 LANGUAGE=C
|
meillo@36
|
133 export LANGUAGE
|
meillo@36
|
134
|
meillo@36
|
135 # CDPATH.
|
meillo@36
|
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
meillo@36
|
137
|
meillo@36
|
138 if test "x$CONFIG_SHELL" = x; then
|
meillo@36
|
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
meillo@36
|
140 emulate sh
|
meillo@36
|
141 NULLCMD=:
|
meillo@36
|
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
meillo@36
|
143 # is contrary to our usage. Disable this feature.
|
meillo@36
|
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
meillo@36
|
145 setopt NO_GLOB_SUBST
|
meillo@36
|
146 else
|
meillo@36
|
147 case \`(set -o) 2>/dev/null\` in #(
|
meillo@36
|
148 *posix*) :
|
meillo@36
|
149 set -o posix ;; #(
|
meillo@36
|
150 *) :
|
meillo@36
|
151 ;;
|
meillo@36
|
152 esac
|
meillo@36
|
153 fi
|
meillo@36
|
154 "
|
meillo@36
|
155 as_required="as_fn_return () { (exit \$1); }
|
meillo@36
|
156 as_fn_success () { as_fn_return 0; }
|
meillo@36
|
157 as_fn_failure () { as_fn_return 1; }
|
meillo@36
|
158 as_fn_ret_success () { return 0; }
|
meillo@36
|
159 as_fn_ret_failure () { return 1; }
|
meillo@36
|
160
|
meillo@36
|
161 exitcode=0
|
meillo@36
|
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
meillo@36
|
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
meillo@36
|
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
meillo@36
|
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
meillo@36
|
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
meillo@36
|
167
|
meillo@36
|
168 else
|
meillo@36
|
169 exitcode=1; echo positional parameters were not saved.
|
meillo@36
|
170 fi
|
meillo@36
|
171 test x\$exitcode = x0 || exit 1"
|
meillo@36
|
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
meillo@36
|
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
meillo@36
|
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
meillo@36
|
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
meillo@36
|
176 test \$(( 1 + 1 )) = 2 || exit 1"
|
meillo@36
|
177 if (eval "$as_required") 2>/dev/null; then :
|
meillo@36
|
178 as_have_required=yes
|
meillo@36
|
179 else
|
meillo@36
|
180 as_have_required=no
|
meillo@36
|
181 fi
|
meillo@36
|
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
meillo@36
|
183
|
meillo@36
|
184 else
|
meillo@36
|
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
meillo@36
|
186 as_found=false
|
meillo@36
|
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
meillo@1
|
188 do
|
meillo@36
|
189 IFS=$as_save_IFS
|
meillo@36
|
190 test -z "$as_dir" && as_dir=.
|
meillo@36
|
191 as_found=:
|
meillo@36
|
192 case $as_dir in #(
|
meillo@36
|
193 /*)
|
meillo@36
|
194 for as_base in sh bash ksh sh5; do
|
meillo@36
|
195 # Try only shells that exist, to save several forks.
|
meillo@36
|
196 as_shell=$as_dir/$as_base
|
meillo@36
|
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
meillo@36
|
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
meillo@36
|
199 CONFIG_SHELL=$as_shell as_have_required=yes
|
meillo@36
|
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
meillo@36
|
201 break 2
|
meillo@36
|
202 fi
|
meillo@36
|
203 fi
|
meillo@36
|
204 done;;
|
meillo@36
|
205 esac
|
meillo@36
|
206 as_found=false
|
meillo@36
|
207 done
|
meillo@36
|
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
meillo@36
|
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
meillo@36
|
210 CONFIG_SHELL=$SHELL as_have_required=yes
|
meillo@36
|
211 fi; }
|
meillo@36
|
212 IFS=$as_save_IFS
|
meillo@36
|
213
|
meillo@36
|
214
|
meillo@36
|
215 if test "x$CONFIG_SHELL" != x; then :
|
meillo@36
|
216 # We cannot yet assume a decent shell, so we have to provide a
|
meillo@36
|
217 # neutralization value for shells without unset; and this also
|
meillo@36
|
218 # works around shells that cannot unset nonexistent variables.
|
meillo@36
|
219 BASH_ENV=/dev/null
|
meillo@36
|
220 ENV=/dev/null
|
meillo@36
|
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
meillo@36
|
222 export CONFIG_SHELL
|
meillo@36
|
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
meillo@36
|
224 fi
|
meillo@36
|
225
|
meillo@36
|
226 if test x$as_have_required = xno; then :
|
meillo@36
|
227 $as_echo "$0: This script requires a shell more modern than all"
|
meillo@36
|
228 $as_echo "$0: the shells that I found on your system."
|
meillo@36
|
229 if test x${ZSH_VERSION+set} = xset ; then
|
meillo@36
|
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
meillo@36
|
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
meillo@1
|
232 else
|
meillo@36
|
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and meillo@marmaro.de
|
meillo@36
|
234 $0: about your system, including any error possibly output
|
meillo@36
|
235 $0: before this message. Then install a modern shell, or
|
meillo@36
|
236 $0: manually run the script under such a shell if you do
|
meillo@36
|
237 $0: have one."
|
meillo@0
|
238 fi
|
meillo@36
|
239 exit 1
|
meillo@36
|
240 fi
|
meillo@36
|
241 fi
|
meillo@36
|
242 fi
|
meillo@36
|
243 SHELL=${CONFIG_SHELL-/bin/sh}
|
meillo@36
|
244 export SHELL
|
meillo@36
|
245 # Unset more variables known to interfere with behavior of common tools.
|
meillo@36
|
246 CLICOLOR_FORCE= GREP_OPTIONS=
|
meillo@36
|
247 unset CLICOLOR_FORCE GREP_OPTIONS
|
meillo@36
|
248
|
meillo@36
|
249 ## --------------------- ##
|
meillo@36
|
250 ## M4sh Shell Functions. ##
|
meillo@36
|
251 ## --------------------- ##
|
meillo@36
|
252 # as_fn_unset VAR
|
meillo@36
|
253 # ---------------
|
meillo@36
|
254 # Portably unset VAR.
|
meillo@36
|
255 as_fn_unset ()
|
meillo@36
|
256 {
|
meillo@36
|
257 { eval $1=; unset $1;}
|
meillo@36
|
258 }
|
meillo@36
|
259 as_unset=as_fn_unset
|
meillo@36
|
260
|
meillo@36
|
261 # as_fn_set_status STATUS
|
meillo@36
|
262 # -----------------------
|
meillo@36
|
263 # Set $? to STATUS, without forking.
|
meillo@36
|
264 as_fn_set_status ()
|
meillo@36
|
265 {
|
meillo@36
|
266 return $1
|
meillo@36
|
267 } # as_fn_set_status
|
meillo@36
|
268
|
meillo@36
|
269 # as_fn_exit STATUS
|
meillo@36
|
270 # -----------------
|
meillo@36
|
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
meillo@36
|
272 as_fn_exit ()
|
meillo@36
|
273 {
|
meillo@36
|
274 set +e
|
meillo@36
|
275 as_fn_set_status $1
|
meillo@36
|
276 exit $1
|
meillo@36
|
277 } # as_fn_exit
|
meillo@36
|
278
|
meillo@36
|
279 # as_fn_mkdir_p
|
meillo@36
|
280 # -------------
|
meillo@36
|
281 # Create "$as_dir" as a directory, including parents if necessary.
|
meillo@36
|
282 as_fn_mkdir_p ()
|
meillo@36
|
283 {
|
meillo@36
|
284
|
meillo@36
|
285 case $as_dir in #(
|
meillo@36
|
286 -*) as_dir=./$as_dir;;
|
meillo@36
|
287 esac
|
meillo@36
|
288 test -d "$as_dir" || eval $as_mkdir_p || {
|
meillo@36
|
289 as_dirs=
|
meillo@36
|
290 while :; do
|
meillo@36
|
291 case $as_dir in #(
|
meillo@36
|
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
meillo@36
|
293 *) as_qdir=$as_dir;;
|
meillo@36
|
294 esac
|
meillo@36
|
295 as_dirs="'$as_qdir' $as_dirs"
|
meillo@36
|
296 as_dir=`$as_dirname -- "$as_dir" ||
|
meillo@36
|
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
meillo@36
|
298 X"$as_dir" : 'X\(//\)[^/]' \| \
|
meillo@36
|
299 X"$as_dir" : 'X\(//\)$' \| \
|
meillo@36
|
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
meillo@36
|
301 $as_echo X"$as_dir" |
|
meillo@36
|
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
meillo@36
|
303 s//\1/
|
meillo@36
|
304 q
|
meillo@36
|
305 }
|
meillo@36
|
306 /^X\(\/\/\)[^/].*/{
|
meillo@36
|
307 s//\1/
|
meillo@36
|
308 q
|
meillo@36
|
309 }
|
meillo@36
|
310 /^X\(\/\/\)$/{
|
meillo@36
|
311 s//\1/
|
meillo@36
|
312 q
|
meillo@36
|
313 }
|
meillo@36
|
314 /^X\(\/\).*/{
|
meillo@36
|
315 s//\1/
|
meillo@36
|
316 q
|
meillo@36
|
317 }
|
meillo@36
|
318 s/.*/./; q'`
|
meillo@36
|
319 test -d "$as_dir" && break
|
meillo@36
|
320 done
|
meillo@36
|
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
|
meillo@36
|
322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
meillo@36
|
323
|
meillo@36
|
324
|
meillo@36
|
325 } # as_fn_mkdir_p
|
meillo@36
|
326 # as_fn_append VAR VALUE
|
meillo@36
|
327 # ----------------------
|
meillo@36
|
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
|
meillo@36
|
329 # advantage of any shell optimizations that allow amortized linear growth over
|
meillo@36
|
330 # repeated appends, instead of the typical quadratic growth present in naive
|
meillo@36
|
331 # implementations.
|
meillo@36
|
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
meillo@36
|
333 eval 'as_fn_append ()
|
meillo@36
|
334 {
|
meillo@36
|
335 eval $1+=\$2
|
meillo@36
|
336 }'
|
meillo@36
|
337 else
|
meillo@36
|
338 as_fn_append ()
|
meillo@36
|
339 {
|
meillo@36
|
340 eval $1=\$$1\$2
|
meillo@36
|
341 }
|
meillo@36
|
342 fi # as_fn_append
|
meillo@36
|
343
|
meillo@36
|
344 # as_fn_arith ARG...
|
meillo@36
|
345 # ------------------
|
meillo@36
|
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
|
meillo@36
|
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
|
meillo@36
|
348 # must be portable across $(()) and expr.
|
meillo@36
|
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
meillo@36
|
350 eval 'as_fn_arith ()
|
meillo@36
|
351 {
|
meillo@36
|
352 as_val=$(( $* ))
|
meillo@36
|
353 }'
|
meillo@36
|
354 else
|
meillo@36
|
355 as_fn_arith ()
|
meillo@36
|
356 {
|
meillo@36
|
357 as_val=`expr "$@" || test $? -eq 1`
|
meillo@36
|
358 }
|
meillo@36
|
359 fi # as_fn_arith
|
meillo@36
|
360
|
meillo@36
|
361
|
meillo@36
|
362 # as_fn_error ERROR [LINENO LOG_FD]
|
meillo@36
|
363 # ---------------------------------
|
meillo@36
|
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
meillo@36
|
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
meillo@36
|
366 # script with status $?, using 1 if that was 0.
|
meillo@36
|
367 as_fn_error ()
|
meillo@36
|
368 {
|
meillo@36
|
369 as_status=$?; test $as_status -eq 0 && as_status=1
|
meillo@36
|
370 if test "$3"; then
|
meillo@36
|
371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
meillo@36
|
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
meillo@36
|
373 fi
|
meillo@36
|
374 $as_echo "$as_me: error: $1" >&2
|
meillo@36
|
375 as_fn_exit $as_status
|
meillo@36
|
376 } # as_fn_error
|
meillo@36
|
377
|
meillo@1
|
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
|
meillo@1
|
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
meillo@1
|
380 as_expr=expr
|
meillo@1
|
381 else
|
meillo@1
|
382 as_expr=false
|
meillo@1
|
383 fi
|
meillo@1
|
384
|
meillo@1
|
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
meillo@1
|
386 as_basename=basename
|
meillo@1
|
387 else
|
meillo@1
|
388 as_basename=false
|
meillo@1
|
389 fi
|
meillo@1
|
390
|
meillo@36
|
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
meillo@36
|
392 as_dirname=dirname
|
meillo@36
|
393 else
|
meillo@36
|
394 as_dirname=false
|
meillo@36
|
395 fi
|
meillo@36
|
396
|
meillo@1
|
397 as_me=`$as_basename -- "$0" ||
|
meillo@1
|
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
meillo@1
|
399 X"$0" : 'X\(//\)$' \| \
|
meillo@1
|
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
meillo@36
|
401 $as_echo X/"$0" |
|
meillo@1
|
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
|
meillo@1
|
403 s//\1/
|
meillo@1
|
404 q
|
meillo@1
|
405 }
|
meillo@1
|
406 /^X\/\(\/\/\)$/{
|
meillo@1
|
407 s//\1/
|
meillo@1
|
408 q
|
meillo@1
|
409 }
|
meillo@1
|
410 /^X\/\(\/\).*/{
|
meillo@1
|
411 s//\1/
|
meillo@1
|
412 q
|
meillo@1
|
413 }
|
meillo@1
|
414 s/.*/./; q'`
|
meillo@1
|
415
|
meillo@36
|
416 # Avoid depending upon Character Ranges.
|
meillo@36
|
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
meillo@36
|
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
meillo@36
|
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
meillo@36
|
420 as_cr_digits='0123456789'
|
meillo@36
|
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
|
meillo@36
|
422
|
meillo@36
|
423
|
meillo@36
|
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
meillo@36
|
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
meillo@36
|
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
meillo@36
|
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
meillo@36
|
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
meillo@1
|
429 sed -n '
|
meillo@1
|
430 p
|
meillo@1
|
431 /[$]LINENO/=
|
meillo@1
|
432 ' <$as_myself |
|
meillo@0
|
433 sed '
|
meillo@1
|
434 s/[$]LINENO.*/&-/
|
meillo@1
|
435 t lineno
|
meillo@1
|
436 b
|
meillo@1
|
437 :lineno
|
meillo@0
|
438 N
|
meillo@1
|
439 :loop
|
meillo@1
|
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
meillo@0
|
441 t loop
|
meillo@1
|
442 s/-\n.*//
|
meillo@0
|
443 ' >$as_me.lineno &&
|
meillo@1
|
444 chmod +x "$as_me.lineno" ||
|
meillo@36
|
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
meillo@0
|
446
|
meillo@0
|
447 # Don't try to exec as it changes $[0], causing all sort of problems
|
meillo@0
|
448 # (the dirname of $[0] is not the place where we might find the
|
meillo@1
|
449 # original and so on. Autoconf is especially sensitive to this).
|
meillo@1
|
450 . "./$as_me.lineno"
|
meillo@0
|
451 # Exit status is that of the last command.
|
meillo@0
|
452 exit
|
meillo@0
|
453 }
|
meillo@0
|
454
|
meillo@1
|
455 ECHO_C= ECHO_N= ECHO_T=
|
meillo@36
|
456 case `echo -n x` in #(((((
|
meillo@1
|
457 -n*)
|
meillo@36
|
458 case `echo 'xy\c'` in
|
meillo@1
|
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
meillo@36
|
460 xy) ECHO_C='\c';;
|
meillo@36
|
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
meillo@36
|
462 ECHO_T=' ';;
|
meillo@1
|
463 esac;;
|
meillo@1
|
464 *)
|
meillo@1
|
465 ECHO_N='-n';;
|
meillo@0
|
466 esac
|
meillo@0
|
467
|
meillo@0
|
468 rm -f conf$$ conf$$.exe conf$$.file
|
meillo@1
|
469 if test -d conf$$.dir; then
|
meillo@1
|
470 rm -f conf$$.dir/conf$$.file
|
meillo@1
|
471 else
|
meillo@1
|
472 rm -f conf$$.dir
|
meillo@36
|
473 mkdir conf$$.dir 2>/dev/null
|
meillo@36
|
474 fi
|
meillo@36
|
475 if (echo >conf$$.file) 2>/dev/null; then
|
meillo@36
|
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
|
meillo@36
|
477 as_ln_s='ln -s'
|
meillo@36
|
478 # ... but there are two gotchas:
|
meillo@36
|
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
meillo@36
|
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
meillo@36
|
481 # In both cases, we have to default to `cp -p'.
|
meillo@36
|
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
meillo@36
|
483 as_ln_s='cp -p'
|
meillo@36
|
484 elif ln conf$$.file conf$$ 2>/dev/null; then
|
meillo@36
|
485 as_ln_s=ln
|
meillo@36
|
486 else
|
meillo@0
|
487 as_ln_s='cp -p'
|
meillo@36
|
488 fi
|
meillo@0
|
489 else
|
meillo@0
|
490 as_ln_s='cp -p'
|
meillo@0
|
491 fi
|
meillo@1
|
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
meillo@1
|
493 rmdir conf$$.dir 2>/dev/null
|
meillo@0
|
494
|
meillo@0
|
495 if mkdir -p . 2>/dev/null; then
|
meillo@36
|
496 as_mkdir_p='mkdir -p "$as_dir"'
|
meillo@0
|
497 else
|
meillo@0
|
498 test -d ./-p && rmdir ./-p
|
meillo@0
|
499 as_mkdir_p=false
|
meillo@0
|
500 fi
|
meillo@0
|
501
|
meillo@1
|
502 if test -x / >/dev/null 2>&1; then
|
meillo@1
|
503 as_test_x='test -x'
|
meillo@1
|
504 else
|
meillo@1
|
505 if ls -dL / >/dev/null 2>&1; then
|
meillo@1
|
506 as_ls_L_option=L
|
meillo@1
|
507 else
|
meillo@1
|
508 as_ls_L_option=
|
meillo@1
|
509 fi
|
meillo@1
|
510 as_test_x='
|
meillo@1
|
511 eval sh -c '\''
|
meillo@1
|
512 if test -d "$1"; then
|
meillo@36
|
513 test -d "$1/.";
|
meillo@1
|
514 else
|
meillo@36
|
515 case $1 in #(
|
meillo@36
|
516 -*)set "./$1";;
|
meillo@1
|
517 esac;
|
meillo@36
|
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
meillo@1
|
519 ???[sx]*):;;*)false;;esac;fi
|
meillo@1
|
520 '\'' sh
|
meillo@1
|
521 '
|
meillo@1
|
522 fi
|
meillo@1
|
523 as_executable_p=$as_test_x
|
meillo@0
|
524
|
meillo@0
|
525 # Sed expression to map a string onto a valid CPP name.
|
meillo@0
|
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
meillo@0
|
527
|
meillo@0
|
528 # Sed expression to map a string onto a valid variable name.
|
meillo@0
|
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
meillo@0
|
530
|
meillo@0
|
531
|
meillo@36
|
532 test -n "$DJDIR" || exec 7<&0 </dev/null
|
meillo@36
|
533 exec 6>&1
|
meillo@0
|
534
|
meillo@0
|
535 # Name of the host.
|
meillo@0
|
536 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
meillo@0
|
537 # so uname gets run too.
|
meillo@0
|
538 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
meillo@0
|
539
|
meillo@0
|
540 #
|
meillo@0
|
541 # Initializations.
|
meillo@0
|
542 #
|
meillo@0
|
543 ac_default_prefix=/usr/local
|
meillo@1
|
544 ac_clean_files=
|
meillo@0
|
545 ac_config_libobj_dir=.
|
meillo@1
|
546 LIBOBJS=
|
meillo@0
|
547 cross_compiling=no
|
meillo@0
|
548 subdirs=
|
meillo@0
|
549 MFLAGS=
|
meillo@0
|
550 MAKEFLAGS=
|
meillo@0
|
551
|
meillo@0
|
552 # Identity of this package.
|
meillo@0
|
553 PACKAGE_NAME='masqmail'
|
meillo@0
|
554 PACKAGE_TARNAME='masqmail'
|
meillo@52
|
555 PACKAGE_VERSION='0.2.23'
|
meillo@52
|
556 PACKAGE_STRING='masqmail 0.2.23'
|
meillo@36
|
557 PACKAGE_BUGREPORT='meillo@marmaro.de'
|
meillo@36
|
558 PACKAGE_URL=''
|
meillo@0
|
559
|
meillo@0
|
560 ac_unique_file="src/masqmail.c"
|
meillo@0
|
561 ac_default_prefix=/usr
|
meillo@0
|
562 # Factoring default headers for most tests.
|
meillo@0
|
563 ac_includes_default="\
|
meillo@0
|
564 #include <stdio.h>
|
meillo@1
|
565 #ifdef HAVE_SYS_TYPES_H
|
meillo@0
|
566 # include <sys/types.h>
|
meillo@0
|
567 #endif
|
meillo@1
|
568 #ifdef HAVE_SYS_STAT_H
|
meillo@0
|
569 # include <sys/stat.h>
|
meillo@0
|
570 #endif
|
meillo@1
|
571 #ifdef STDC_HEADERS
|
meillo@0
|
572 # include <stdlib.h>
|
meillo@0
|
573 # include <stddef.h>
|
meillo@0
|
574 #else
|
meillo@1
|
575 # ifdef HAVE_STDLIB_H
|
meillo@0
|
576 # include <stdlib.h>
|
meillo@0
|
577 # endif
|
meillo@0
|
578 #endif
|
meillo@1
|
579 #ifdef HAVE_STRING_H
|
meillo@1
|
580 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
meillo@0
|
581 # include <memory.h>
|
meillo@0
|
582 # endif
|
meillo@0
|
583 # include <string.h>
|
meillo@0
|
584 #endif
|
meillo@1
|
585 #ifdef HAVE_STRINGS_H
|
meillo@0
|
586 # include <strings.h>
|
meillo@0
|
587 #endif
|
meillo@1
|
588 #ifdef HAVE_INTTYPES_H
|
meillo@0
|
589 # include <inttypes.h>
|
meillo@0
|
590 #endif
|
meillo@1
|
591 #ifdef HAVE_STDINT_H
|
meillo@1
|
592 # include <stdint.h>
|
meillo@1
|
593 #endif
|
meillo@1
|
594 #ifdef HAVE_UNISTD_H
|
meillo@0
|
595 # include <unistd.h>
|
meillo@0
|
596 #endif"
|
meillo@0
|
597
|
meillo@36
|
598 ac_subst_vars='am__EXEEXT_FALSE
|
meillo@36
|
599 am__EXEEXT_TRUE
|
meillo@36
|
600 LTLIBOBJS
|
meillo@36
|
601 LIBOBJS
|
meillo@36
|
602 with_confdir
|
meillo@36
|
603 with_spooldir
|
meillo@36
|
604 with_logdir
|
meillo@36
|
605 USE_LIBLOCKFILE
|
meillo@36
|
606 LOCKFILE_LIBS
|
meillo@36
|
607 IDENT_LIBS
|
meillo@36
|
608 has_ident
|
meillo@36
|
609 MD5_LIBS
|
meillo@36
|
610 BASE64_LIBS
|
meillo@36
|
611 with_group
|
meillo@36
|
612 with_user
|
meillo@36
|
613 RESOLV_LIBS
|
meillo@36
|
614 GLIB_LIBS
|
meillo@36
|
615 GLIB_CFLAGS
|
meillo@54
|
616 PKG_CONFIG_LIBDIR
|
meillo@54
|
617 PKG_CONFIG_PATH
|
meillo@36
|
618 PKG_CONFIG
|
meillo@36
|
619 RANLIB
|
meillo@36
|
620 EGREP
|
meillo@36
|
621 GREP
|
meillo@36
|
622 CPP
|
meillo@36
|
623 am__fastdepCC_FALSE
|
meillo@36
|
624 am__fastdepCC_TRUE
|
meillo@36
|
625 CCDEPMODE
|
meillo@36
|
626 AMDEPBACKSLASH
|
meillo@36
|
627 AMDEP_FALSE
|
meillo@36
|
628 AMDEP_TRUE
|
meillo@36
|
629 am__quote
|
meillo@36
|
630 am__include
|
meillo@36
|
631 DEPDIR
|
meillo@36
|
632 OBJEXT
|
meillo@36
|
633 EXEEXT
|
meillo@36
|
634 ac_ct_CC
|
meillo@36
|
635 CPPFLAGS
|
meillo@36
|
636 LDFLAGS
|
meillo@36
|
637 CFLAGS
|
meillo@36
|
638 CC
|
meillo@36
|
639 am__untar
|
meillo@36
|
640 am__tar
|
meillo@36
|
641 AMTAR
|
meillo@36
|
642 am__leading_dot
|
meillo@36
|
643 SET_MAKE
|
meillo@36
|
644 AWK
|
meillo@36
|
645 mkdir_p
|
meillo@36
|
646 MKDIR_P
|
meillo@36
|
647 INSTALL_STRIP_PROGRAM
|
meillo@36
|
648 STRIP
|
meillo@36
|
649 install_sh
|
meillo@36
|
650 MAKEINFO
|
meillo@36
|
651 AUTOHEADER
|
meillo@36
|
652 AUTOMAKE
|
meillo@36
|
653 AUTOCONF
|
meillo@36
|
654 ACLOCAL
|
meillo@36
|
655 VERSION
|
meillo@36
|
656 PACKAGE
|
meillo@36
|
657 CYGPATH_W
|
meillo@36
|
658 am__isrc
|
meillo@36
|
659 INSTALL_DATA
|
meillo@36
|
660 INSTALL_SCRIPT
|
meillo@36
|
661 INSTALL_PROGRAM
|
meillo@36
|
662 target_alias
|
meillo@36
|
663 host_alias
|
meillo@36
|
664 build_alias
|
meillo@36
|
665 LIBS
|
meillo@36
|
666 ECHO_T
|
meillo@36
|
667 ECHO_N
|
meillo@36
|
668 ECHO_C
|
meillo@36
|
669 DEFS
|
meillo@36
|
670 mandir
|
meillo@36
|
671 localedir
|
meillo@36
|
672 libdir
|
meillo@36
|
673 psdir
|
meillo@36
|
674 pdfdir
|
meillo@36
|
675 dvidir
|
meillo@36
|
676 htmldir
|
meillo@36
|
677 infodir
|
meillo@36
|
678 docdir
|
meillo@36
|
679 oldincludedir
|
meillo@36
|
680 includedir
|
meillo@36
|
681 localstatedir
|
meillo@36
|
682 sharedstatedir
|
meillo@36
|
683 sysconfdir
|
meillo@36
|
684 datadir
|
meillo@36
|
685 datarootdir
|
meillo@36
|
686 libexecdir
|
meillo@36
|
687 sbindir
|
meillo@36
|
688 bindir
|
meillo@36
|
689 program_transform_name
|
meillo@36
|
690 prefix
|
meillo@36
|
691 exec_prefix
|
meillo@36
|
692 PACKAGE_URL
|
meillo@36
|
693 PACKAGE_BUGREPORT
|
meillo@36
|
694 PACKAGE_STRING
|
meillo@36
|
695 PACKAGE_VERSION
|
meillo@36
|
696 PACKAGE_TARNAME
|
meillo@36
|
697 PACKAGE_NAME
|
meillo@1
|
698 PATH_SEPARATOR
|
meillo@36
|
699 SHELL'
|
meillo@36
|
700 ac_subst_files=''
|
meillo@36
|
701 ac_user_opts='
|
meillo@36
|
702 enable_option_checking
|
meillo@36
|
703 enable_dependency_tracking
|
meillo@36
|
704 enable_resolver
|
meillo@1
|
705 with_user
|
meillo@1
|
706 with_group
|
meillo@36
|
707 enable_debug
|
meillo@36
|
708 with_glib_static
|
meillo@36
|
709 enable_smtp_server
|
meillo@36
|
710 enable_pop3
|
meillo@36
|
711 enable_auth
|
meillo@36
|
712 enable_maildir
|
meillo@36
|
713 with_libcrypto
|
meillo@36
|
714 enable_ident
|
meillo@36
|
715 enable_mserver
|
meillo@36
|
716 with_liblockfile
|
meillo@1
|
717 with_logdir
|
meillo@1
|
718 with_spooldir
|
meillo@1
|
719 with_confdir
|
meillo@36
|
720 '
|
meillo@1
|
721 ac_precious_vars='build_alias
|
meillo@1
|
722 host_alias
|
meillo@1
|
723 target_alias
|
meillo@1
|
724 CC
|
meillo@1
|
725 CFLAGS
|
meillo@1
|
726 LDFLAGS
|
meillo@1
|
727 LIBS
|
meillo@1
|
728 CPPFLAGS
|
meillo@1
|
729 CPP
|
meillo@1
|
730 PKG_CONFIG
|
meillo@54
|
731 PKG_CONFIG_PATH
|
meillo@54
|
732 PKG_CONFIG_LIBDIR
|
meillo@1
|
733 GLIB_CFLAGS
|
meillo@1
|
734 GLIB_LIBS'
|
meillo@1
|
735
|
meillo@0
|
736
|
meillo@0
|
737 # Initialize some variables set by options.
|
meillo@0
|
738 ac_init_help=
|
meillo@0
|
739 ac_init_version=false
|
meillo@36
|
740 ac_unrecognized_opts=
|
meillo@36
|
741 ac_unrecognized_sep=
|
meillo@0
|
742 # The variables have the same names as the options, with
|
meillo@0
|
743 # dashes changed to underlines.
|
meillo@0
|
744 cache_file=/dev/null
|
meillo@0
|
745 exec_prefix=NONE
|
meillo@0
|
746 no_create=
|
meillo@0
|
747 no_recursion=
|
meillo@0
|
748 prefix=NONE
|
meillo@0
|
749 program_prefix=NONE
|
meillo@0
|
750 program_suffix=NONE
|
meillo@0
|
751 program_transform_name=s,x,x,
|
meillo@0
|
752 silent=
|
meillo@0
|
753 site=
|
meillo@0
|
754 srcdir=
|
meillo@0
|
755 verbose=
|
meillo@0
|
756 x_includes=NONE
|
meillo@0
|
757 x_libraries=NONE
|
meillo@0
|
758
|
meillo@0
|
759 # Installation directory options.
|
meillo@0
|
760 # These are left unexpanded so users can "make install exec_prefix=/foo"
|
meillo@0
|
761 # and all the variables that are supposed to be based on exec_prefix
|
meillo@0
|
762 # by default will actually change.
|
meillo@0
|
763 # Use braces instead of parens because sh, perl, etc. also accept them.
|
meillo@1
|
764 # (The list follows the same order as the GNU Coding Standards.)
|
meillo@0
|
765 bindir='${exec_prefix}/bin'
|
meillo@0
|
766 sbindir='${exec_prefix}/sbin'
|
meillo@0
|
767 libexecdir='${exec_prefix}/libexec'
|
meillo@1
|
768 datarootdir='${prefix}/share'
|
meillo@1
|
769 datadir='${datarootdir}'
|
meillo@0
|
770 sysconfdir='${prefix}/etc'
|
meillo@0
|
771 sharedstatedir='${prefix}/com'
|
meillo@0
|
772 localstatedir='${prefix}/var'
|
meillo@0
|
773 includedir='${prefix}/include'
|
meillo@0
|
774 oldincludedir='/usr/include'
|
meillo@1
|
775 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
meillo@1
|
776 infodir='${datarootdir}/info'
|
meillo@1
|
777 htmldir='${docdir}'
|
meillo@1
|
778 dvidir='${docdir}'
|
meillo@1
|
779 pdfdir='${docdir}'
|
meillo@1
|
780 psdir='${docdir}'
|
meillo@1
|
781 libdir='${exec_prefix}/lib'
|
meillo@1
|
782 localedir='${datarootdir}/locale'
|
meillo@1
|
783 mandir='${datarootdir}/man'
|
meillo@0
|
784
|
meillo@0
|
785 ac_prev=
|
meillo@1
|
786 ac_dashdash=
|
meillo@0
|
787 for ac_option
|
meillo@0
|
788 do
|
meillo@0
|
789 # If the previous option needs an argument, assign it.
|
meillo@0
|
790 if test -n "$ac_prev"; then
|
meillo@1
|
791 eval $ac_prev=\$ac_option
|
meillo@0
|
792 ac_prev=
|
meillo@0
|
793 continue
|
meillo@0
|
794 fi
|
meillo@0
|
795
|
meillo@1
|
796 case $ac_option in
|
meillo@1
|
797 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
meillo@1
|
798 *) ac_optarg=yes ;;
|
meillo@1
|
799 esac
|
meillo@0
|
800
|
meillo@0
|
801 # Accept the important Cygnus configure options, so we can diagnose typos.
|
meillo@0
|
802
|
meillo@1
|
803 case $ac_dashdash$ac_option in
|
meillo@1
|
804 --)
|
meillo@1
|
805 ac_dashdash=yes ;;
|
meillo@0
|
806
|
meillo@0
|
807 -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
meillo@0
|
808 ac_prev=bindir ;;
|
meillo@0
|
809 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
meillo@0
|
810 bindir=$ac_optarg ;;
|
meillo@0
|
811
|
meillo@0
|
812 -build | --build | --buil | --bui | --bu)
|
meillo@0
|
813 ac_prev=build_alias ;;
|
meillo@0
|
814 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
meillo@0
|
815 build_alias=$ac_optarg ;;
|
meillo@0
|
816
|
meillo@0
|
817 -cache-file | --cache-file | --cache-fil | --cache-fi \
|
meillo@0
|
818 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
meillo@0
|
819 ac_prev=cache_file ;;
|
meillo@0
|
820 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
meillo@0
|
821 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
meillo@0
|
822 cache_file=$ac_optarg ;;
|
meillo@0
|
823
|
meillo@0
|
824 --config-cache | -C)
|
meillo@0
|
825 cache_file=config.cache ;;
|
meillo@0
|
826
|
meillo@1
|
827 -datadir | --datadir | --datadi | --datad)
|
meillo@0
|
828 ac_prev=datadir ;;
|
meillo@1
|
829 -datadir=* | --datadir=* | --datadi=* | --datad=*)
|
meillo@0
|
830 datadir=$ac_optarg ;;
|
meillo@0
|
831
|
meillo@1
|
832 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
meillo@1
|
833 | --dataroo | --dataro | --datar)
|
meillo@1
|
834 ac_prev=datarootdir ;;
|
meillo@1
|
835 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
meillo@1
|
836 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
meillo@1
|
837 datarootdir=$ac_optarg ;;
|
meillo@1
|
838
|
meillo@0
|
839 -disable-* | --disable-*)
|
meillo@36
|
840 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
meillo@0
|
841 # Reject names that are not valid shell variable names.
|
meillo@36
|
842 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
meillo@36
|
843 as_fn_error "invalid feature name: $ac_useropt"
|
meillo@36
|
844 ac_useropt_orig=$ac_useropt
|
meillo@36
|
845 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
meillo@36
|
846 case $ac_user_opts in
|
meillo@36
|
847 *"
|
meillo@36
|
848 "enable_$ac_useropt"
|
meillo@36
|
849 "*) ;;
|
meillo@36
|
850 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
meillo@36
|
851 ac_unrecognized_sep=', ';;
|
meillo@36
|
852 esac
|
meillo@36
|
853 eval enable_$ac_useropt=no ;;
|
meillo@1
|
854
|
meillo@1
|
855 -docdir | --docdir | --docdi | --doc | --do)
|
meillo@1
|
856 ac_prev=docdir ;;
|
meillo@1
|
857 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
meillo@1
|
858 docdir=$ac_optarg ;;
|
meillo@1
|
859
|
meillo@1
|
860 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
meillo@1
|
861 ac_prev=dvidir ;;
|
meillo@1
|
862 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
meillo@1
|
863 dvidir=$ac_optarg ;;
|
meillo@0
|
864
|
meillo@0
|
865 -enable-* | --enable-*)
|
meillo@36
|
866 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
meillo@0
|
867 # Reject names that are not valid shell variable names.
|
meillo@36
|
868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
meillo@36
|
869 as_fn_error "invalid feature name: $ac_useropt"
|
meillo@36
|
870 ac_useropt_orig=$ac_useropt
|
meillo@36
|
871 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
meillo@36
|
872 case $ac_user_opts in
|
meillo@36
|
873 *"
|
meillo@36
|
874 "enable_$ac_useropt"
|
meillo@36
|
875 "*) ;;
|
meillo@36
|
876 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
meillo@36
|
877 ac_unrecognized_sep=', ';;
|
meillo@36
|
878 esac
|
meillo@36
|
879 eval enable_$ac_useropt=\$ac_optarg ;;
|
meillo@0
|
880
|
meillo@0
|
881 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
meillo@0
|
882 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
meillo@0
|
883 | --exec | --exe | --ex)
|
meillo@0
|
884 ac_prev=exec_prefix ;;
|
meillo@0
|
885 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
meillo@0
|
886 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
meillo@0
|
887 | --exec=* | --exe=* | --ex=*)
|
meillo@0
|
888 exec_prefix=$ac_optarg ;;
|
meillo@0
|
889
|
meillo@0
|
890 -gas | --gas | --ga | --g)
|
meillo@0
|
891 # Obsolete; use --with-gas.
|
meillo@0
|
892 with_gas=yes ;;
|
meillo@0
|
893
|
meillo@0
|
894 -help | --help | --hel | --he | -h)
|
meillo@0
|
895 ac_init_help=long ;;
|
meillo@0
|
896 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
meillo@0
|
897 ac_init_help=recursive ;;
|
meillo@0
|
898 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
meillo@0
|
899 ac_init_help=short ;;
|
meillo@0
|
900
|
meillo@0
|
901 -host | --host | --hos | --ho)
|
meillo@0
|
902 ac_prev=host_alias ;;
|
meillo@0
|
903 -host=* | --host=* | --hos=* | --ho=*)
|
meillo@0
|
904 host_alias=$ac_optarg ;;
|
meillo@0
|
905
|
meillo@1
|
906 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
meillo@1
|
907 ac_prev=htmldir ;;
|
meillo@1
|
908 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
meillo@1
|
909 | --ht=*)
|
meillo@1
|
910 htmldir=$ac_optarg ;;
|
meillo@1
|
911
|
meillo@0
|
912 -includedir | --includedir | --includedi | --included | --include \
|
meillo@0
|
913 | --includ | --inclu | --incl | --inc)
|
meillo@0
|
914 ac_prev=includedir ;;
|
meillo@0
|
915 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
meillo@0
|
916 | --includ=* | --inclu=* | --incl=* | --inc=*)
|
meillo@0
|
917 includedir=$ac_optarg ;;
|
meillo@0
|
918
|
meillo@0
|
919 -infodir | --infodir | --infodi | --infod | --info | --inf)
|
meillo@0
|
920 ac_prev=infodir ;;
|
meillo@0
|
921 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
meillo@0
|
922 infodir=$ac_optarg ;;
|
meillo@0
|
923
|
meillo@0
|
924 -libdir | --libdir | --libdi | --libd)
|
meillo@0
|
925 ac_prev=libdir ;;
|
meillo@0
|
926 -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
meillo@0
|
927 libdir=$ac_optarg ;;
|
meillo@0
|
928
|
meillo@0
|
929 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
meillo@0
|
930 | --libexe | --libex | --libe)
|
meillo@0
|
931 ac_prev=libexecdir ;;
|
meillo@0
|
932 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
meillo@0
|
933 | --libexe=* | --libex=* | --libe=*)
|
meillo@0
|
934 libexecdir=$ac_optarg ;;
|
meillo@0
|
935
|
meillo@1
|
936 -localedir | --localedir | --localedi | --localed | --locale)
|
meillo@1
|
937 ac_prev=localedir ;;
|
meillo@1
|
938 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
meillo@1
|
939 localedir=$ac_optarg ;;
|
meillo@1
|
940
|
meillo@0
|
941 -localstatedir | --localstatedir | --localstatedi | --localstated \
|
meillo@1
|
942 | --localstate | --localstat | --localsta | --localst | --locals)
|
meillo@0
|
943 ac_prev=localstatedir ;;
|
meillo@0
|
944 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
meillo@1
|
945 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
meillo@0
|
946 localstatedir=$ac_optarg ;;
|
meillo@0
|
947
|
meillo@0
|
948 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
meillo@0
|
949 ac_prev=mandir ;;
|
meillo@0
|
950 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
meillo@0
|
951 mandir=$ac_optarg ;;
|
meillo@0
|
952
|
meillo@0
|
953 -nfp | --nfp | --nf)
|
meillo@0
|
954 # Obsolete; use --without-fp.
|
meillo@0
|
955 with_fp=no ;;
|
meillo@0
|
956
|
meillo@0
|
957 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
meillo@0
|
958 | --no-cr | --no-c | -n)
|
meillo@0
|
959 no_create=yes ;;
|
meillo@0
|
960
|
meillo@0
|
961 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
meillo@0
|
962 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
meillo@0
|
963 no_recursion=yes ;;
|
meillo@0
|
964
|
meillo@0
|
965 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
meillo@0
|
966 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
meillo@0
|
967 | --oldin | --oldi | --old | --ol | --o)
|
meillo@0
|
968 ac_prev=oldincludedir ;;
|
meillo@0
|
969 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
meillo@0
|
970 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
meillo@0
|
971 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
meillo@0
|
972 oldincludedir=$ac_optarg ;;
|
meillo@0
|
973
|
meillo@0
|
974 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
meillo@0
|
975 ac_prev=prefix ;;
|
meillo@0
|
976 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
meillo@0
|
977 prefix=$ac_optarg ;;
|
meillo@0
|
978
|
meillo@0
|
979 -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
meillo@0
|
980 | --program-pre | --program-pr | --program-p)
|
meillo@0
|
981 ac_prev=program_prefix ;;
|
meillo@0
|
982 -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
meillo@0
|
983 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
meillo@0
|
984 program_prefix=$ac_optarg ;;
|
meillo@0
|
985
|
meillo@0
|
986 -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
meillo@0
|
987 | --program-suf | --program-su | --program-s)
|
meillo@0
|
988 ac_prev=program_suffix ;;
|
meillo@0
|
989 -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
meillo@0
|
990 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
meillo@0
|
991 program_suffix=$ac_optarg ;;
|
meillo@0
|
992
|
meillo@0
|
993 -program-transform-name | --program-transform-name \
|
meillo@0
|
994 | --program-transform-nam | --program-transform-na \
|
meillo@0
|
995 | --program-transform-n | --program-transform- \
|
meillo@0
|
996 | --program-transform | --program-transfor \
|
meillo@0
|
997 | --program-transfo | --program-transf \
|
meillo@0
|
998 | --program-trans | --program-tran \
|
meillo@0
|
999 | --progr-tra | --program-tr | --program-t)
|
meillo@0
|
1000 ac_prev=program_transform_name ;;
|
meillo@0
|
1001 -program-transform-name=* | --program-transform-name=* \
|
meillo@0
|
1002 | --program-transform-nam=* | --program-transform-na=* \
|
meillo@0
|
1003 | --program-transform-n=* | --program-transform-=* \
|
meillo@0
|
1004 | --program-transform=* | --program-transfor=* \
|
meillo@0
|
1005 | --program-transfo=* | --program-transf=* \
|
meillo@0
|
1006 | --program-trans=* | --program-tran=* \
|
meillo@0
|
1007 | --progr-tra=* | --program-tr=* | --program-t=*)
|
meillo@0
|
1008 program_transform_name=$ac_optarg ;;
|
meillo@0
|
1009
|
meillo@1
|
1010 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
meillo@1
|
1011 ac_prev=pdfdir ;;
|
meillo@1
|
1012 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
meillo@1
|
1013 pdfdir=$ac_optarg ;;
|
meillo@1
|
1014
|
meillo@1
|
1015 -psdir | --psdir | --psdi | --psd | --ps)
|
meillo@1
|
1016 ac_prev=psdir ;;
|
meillo@1
|
1017 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
meillo@1
|
1018 psdir=$ac_optarg ;;
|
meillo@1
|
1019
|
meillo@0
|
1020 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
meillo@0
|
1021 | -silent | --silent | --silen | --sile | --sil)
|
meillo@0
|
1022 silent=yes ;;
|
meillo@0
|
1023
|
meillo@0
|
1024 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
meillo@0
|
1025 ac_prev=sbindir ;;
|
meillo@0
|
1026 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
meillo@0
|
1027 | --sbi=* | --sb=*)
|
meillo@0
|
1028 sbindir=$ac_optarg ;;
|
meillo@0
|
1029
|
meillo@0
|
1030 -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
meillo@0
|
1031 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
meillo@0
|
1032 | --sharedst | --shareds | --shared | --share | --shar \
|
meillo@0
|
1033 | --sha | --sh)
|
meillo@0
|
1034 ac_prev=sharedstatedir ;;
|
meillo@0
|
1035 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
meillo@0
|
1036 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
meillo@0
|
1037 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
meillo@0
|
1038 | --sha=* | --sh=*)
|
meillo@0
|
1039 sharedstatedir=$ac_optarg ;;
|
meillo@0
|
1040
|
meillo@0
|
1041 -site | --site | --sit)
|
meillo@0
|
1042 ac_prev=site ;;
|
meillo@0
|
1043 -site=* | --site=* | --sit=*)
|
meillo@0
|
1044 site=$ac_optarg ;;
|
meillo@0
|
1045
|
meillo@0
|
1046 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
meillo@0
|
1047 ac_prev=srcdir ;;
|
meillo@0
|
1048 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
meillo@0
|
1049 srcdir=$ac_optarg ;;
|
meillo@0
|
1050
|
meillo@0
|
1051 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
meillo@0
|
1052 | --syscon | --sysco | --sysc | --sys | --sy)
|
meillo@0
|
1053 ac_prev=sysconfdir ;;
|
meillo@0
|
1054 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
meillo@0
|
1055 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
meillo@0
|
1056 sysconfdir=$ac_optarg ;;
|
meillo@0
|
1057
|
meillo@0
|
1058 -target | --target | --targe | --targ | --tar | --ta | --t)
|
meillo@0
|
1059 ac_prev=target_alias ;;
|
meillo@0
|
1060 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
meillo@0
|
1061 target_alias=$ac_optarg ;;
|
meillo@0
|
1062
|
meillo@0
|
1063 -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
meillo@0
|
1064 verbose=yes ;;
|
meillo@0
|
1065
|
meillo@0
|
1066 -version | --version | --versio | --versi | --vers | -V)
|
meillo@0
|
1067 ac_init_version=: ;;
|
meillo@0
|
1068
|
meillo@0
|
1069 -with-* | --with-*)
|
meillo@36
|
1070 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
meillo@0
|
1071 # Reject names that are not valid shell variable names.
|
meillo@36
|
1072 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
meillo@36
|
1073 as_fn_error "invalid package name: $ac_useropt"
|
meillo@36
|
1074 ac_useropt_orig=$ac_useropt
|
meillo@36
|
1075 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
meillo@36
|
1076 case $ac_user_opts in
|
meillo@36
|
1077 *"
|
meillo@36
|
1078 "with_$ac_useropt"
|
meillo@36
|
1079 "*) ;;
|
meillo@36
|
1080 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
meillo@36
|
1081 ac_unrecognized_sep=', ';;
|
meillo@36
|
1082 esac
|
meillo@36
|
1083 eval with_$ac_useropt=\$ac_optarg ;;
|
meillo@0
|
1084
|
meillo@0
|
1085 -without-* | --without-*)
|
meillo@36
|
1086 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
meillo@0
|
1087 # Reject names that are not valid shell variable names.
|
meillo@36
|
1088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
meillo@36
|
1089 as_fn_error "invalid package name: $ac_useropt"
|
meillo@36
|
1090 ac_useropt_orig=$ac_useropt
|
meillo@36
|
1091 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
meillo@36
|
1092 case $ac_user_opts in
|
meillo@36
|
1093 *"
|
meillo@36
|
1094 "with_$ac_useropt"
|
meillo@36
|
1095 "*) ;;
|
meillo@36
|
1096 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
meillo@36
|
1097 ac_unrecognized_sep=', ';;
|
meillo@36
|
1098 esac
|
meillo@36
|
1099 eval with_$ac_useropt=no ;;
|
meillo@0
|
1100
|
meillo@0
|
1101 --x)
|
meillo@0
|
1102 # Obsolete; use --with-x.
|
meillo@0
|
1103 with_x=yes ;;
|
meillo@0
|
1104
|
meillo@0
|
1105 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
meillo@0
|
1106 | --x-incl | --x-inc | --x-in | --x-i)
|
meillo@0
|
1107 ac_prev=x_includes ;;
|
meillo@0
|
1108 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
meillo@0
|
1109 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
meillo@0
|
1110 x_includes=$ac_optarg ;;
|
meillo@0
|
1111
|
meillo@0
|
1112 -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
meillo@0
|
1113 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
meillo@0
|
1114 ac_prev=x_libraries ;;
|
meillo@0
|
1115 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
meillo@0
|
1116 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
meillo@0
|
1117 x_libraries=$ac_optarg ;;
|
meillo@0
|
1118
|
meillo@36
|
1119 -*) as_fn_error "unrecognized option: \`$ac_option'
|
meillo@36
|
1120 Try \`$0 --help' for more information."
|
meillo@0
|
1121 ;;
|
meillo@0
|
1122
|
meillo@0
|
1123 *=*)
|
meillo@0
|
1124 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
meillo@0
|
1125 # Reject names that are not valid shell variable names.
|
meillo@36
|
1126 case $ac_envvar in #(
|
meillo@36
|
1127 '' | [0-9]* | *[!_$as_cr_alnum]* )
|
meillo@36
|
1128 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
|
meillo@36
|
1129 esac
|
meillo@1
|
1130 eval $ac_envvar=\$ac_optarg
|
meillo@0
|
1131 export $ac_envvar ;;
|
meillo@0
|
1132
|
meillo@0
|
1133 *)
|
meillo@0
|
1134 # FIXME: should be removed in autoconf 3.0.
|
meillo@36
|
1135 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
meillo@0
|
1136 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
meillo@36
|
1137 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
meillo@0
|
1138 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
meillo@0
|
1139 ;;
|
meillo@0
|
1140
|
meillo@0
|
1141 esac
|
meillo@0
|
1142 done
|
meillo@0
|
1143
|
meillo@0
|
1144 if test -n "$ac_prev"; then
|
meillo@0
|
1145 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
meillo@36
|
1146 as_fn_error "missing argument to $ac_option"
|
meillo@36
|
1147 fi
|
meillo@36
|
1148
|
meillo@36
|
1149 if test -n "$ac_unrecognized_opts"; then
|
meillo@36
|
1150 case $enable_option_checking in
|
meillo@36
|
1151 no) ;;
|
meillo@36
|
1152 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
|
meillo@36
|
1153 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
meillo@36
|
1154 esac
|
meillo@36
|
1155 fi
|
meillo@36
|
1156
|
meillo@36
|
1157 # Check all directory arguments for consistency.
|
meillo@1
|
1158 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
meillo@1
|
1159 datadir sysconfdir sharedstatedir localstatedir includedir \
|
meillo@1
|
1160 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
meillo@1
|
1161 libdir localedir mandir
|
meillo@0
|
1162 do
|
meillo@1
|
1163 eval ac_val=\$$ac_var
|
meillo@36
|
1164 # Remove trailing slashes.
|
meillo@36
|
1165 case $ac_val in
|
meillo@36
|
1166 */ )
|
meillo@36
|
1167 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
meillo@36
|
1168 eval $ac_var=\$ac_val;;
|
meillo@36
|
1169 esac
|
meillo@36
|
1170 # Be sure to have absolute directory names.
|
meillo@0
|
1171 case $ac_val in
|
meillo@1
|
1172 [\\/$]* | ?:[\\/]* ) continue;;
|
meillo@1
|
1173 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
meillo@0
|
1174 esac
|
meillo@36
|
1175 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
|
meillo@0
|
1176 done
|
meillo@0
|
1177
|
meillo@0
|
1178 # There might be people who depend on the old broken behavior: `$host'
|
meillo@0
|
1179 # used to hold the argument of --host etc.
|
meillo@0
|
1180 # FIXME: To remove some day.
|
meillo@0
|
1181 build=$build_alias
|
meillo@0
|
1182 host=$host_alias
|
meillo@0
|
1183 target=$target_alias
|
meillo@0
|
1184
|
meillo@0
|
1185 # FIXME: To remove some day.
|
meillo@0
|
1186 if test "x$host_alias" != x; then
|
meillo@0
|
1187 if test "x$build_alias" = x; then
|
meillo@0
|
1188 cross_compiling=maybe
|
meillo@36
|
1189 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
meillo@0
|
1190 If a cross compiler is detected then cross compile mode will be used." >&2
|
meillo@0
|
1191 elif test "x$build_alias" != "x$host_alias"; then
|
meillo@0
|
1192 cross_compiling=yes
|
meillo@0
|
1193 fi
|
meillo@0
|
1194 fi
|
meillo@0
|
1195
|
meillo@0
|
1196 ac_tool_prefix=
|
meillo@0
|
1197 test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
meillo@0
|
1198
|
meillo@0
|
1199 test "$silent" = yes && exec 6>/dev/null
|
meillo@0
|
1200
|
meillo@0
|
1201
|
meillo@1
|
1202 ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
meillo@1
|
1203 ac_ls_di=`ls -di .` &&
|
meillo@1
|
1204 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
meillo@36
|
1205 as_fn_error "working directory cannot be determined"
|
meillo@1
|
1206 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
meillo@36
|
1207 as_fn_error "pwd does not report name of working directory"
|
meillo@1
|
1208
|
meillo@1
|
1209
|
meillo@0
|
1210 # Find the source files, if location was not specified.
|
meillo@0
|
1211 if test -z "$srcdir"; then
|
meillo@0
|
1212 ac_srcdir_defaulted=yes
|
meillo@1
|
1213 # Try the directory containing this script, then the parent directory.
|
meillo@36
|
1214 ac_confdir=`$as_dirname -- "$as_myself" ||
|
meillo@36
|
1215 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
meillo@36
|
1216 X"$as_myself" : 'X\(//\)[^/]' \| \
|
meillo@36
|
1217 X"$as_myself" : 'X\(//\)$' \| \
|
meillo@36
|
1218 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
meillo@36
|
1219 $as_echo X"$as_myself" |
|
meillo@1
|
1220 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
meillo@1
|
1221 s//\1/
|
meillo@1
|
1222 q
|
meillo@1
|
1223 }
|
meillo@1
|
1224 /^X\(\/\/\)[^/].*/{
|
meillo@1
|
1225 s//\1/
|
meillo@1
|
1226 q
|
meillo@1
|
1227 }
|
meillo@1
|
1228 /^X\(\/\/\)$/{
|
meillo@1
|
1229 s//\1/
|
meillo@1
|
1230 q
|
meillo@1
|
1231 }
|
meillo@1
|
1232 /^X\(\/\).*/{
|
meillo@1
|
1233 s//\1/
|
meillo@1
|
1234 q
|
meillo@1
|
1235 }
|
meillo@1
|
1236 s/.*/./; q'`
|
meillo@0
|
1237 srcdir=$ac_confdir
|
meillo@1
|
1238 if test ! -r "$srcdir/$ac_unique_file"; then
|
meillo@0
|
1239 srcdir=..
|
meillo@0
|
1240 fi
|
meillo@0
|
1241 else
|
meillo@0
|
1242 ac_srcdir_defaulted=no
|
meillo@0
|
1243 fi
|
meillo@1
|
1244 if test ! -r "$srcdir/$ac_unique_file"; then
|
meillo@1
|
1245 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
meillo@36
|
1246 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
|
meillo@1
|
1247 fi
|
meillo@1
|
1248 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
meillo@1
|
1249 ac_abs_confdir=`(
|
meillo@36
|
1250 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
|
meillo@1
|
1251 pwd)`
|
meillo@1
|
1252 # When building in place, set srcdir=.
|
meillo@1
|
1253 if test "$ac_abs_confdir" = "$ac_pwd"; then
|
meillo@1
|
1254 srcdir=.
|
meillo@1
|
1255 fi
|
meillo@1
|
1256 # Remove unnecessary trailing slashes from srcdir.
|
meillo@1
|
1257 # Double slashes in file names in object file debugging info
|
meillo@1
|
1258 # mess up M-x gdb in Emacs.
|
meillo@1
|
1259 case $srcdir in
|
meillo@1
|
1260 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
meillo@1
|
1261 esac
|
meillo@1
|
1262 for ac_var in $ac_precious_vars; do
|
meillo@1
|
1263 eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
meillo@1
|
1264 eval ac_env_${ac_var}_value=\$${ac_var}
|
meillo@1
|
1265 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
meillo@1
|
1266 eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
meillo@1
|
1267 done
|
meillo@0
|
1268
|
meillo@0
|
1269 #
|
meillo@0
|
1270 # Report the --help message.
|
meillo@0
|
1271 #
|
meillo@0
|
1272 if test "$ac_init_help" = "long"; then
|
meillo@0
|
1273 # Omit some internal or obsolete options to make the list less imposing.
|
meillo@0
|
1274 # This message is too long to be a string in the A/UX 3.1 sh.
|
meillo@0
|
1275 cat <<_ACEOF
|
meillo@52
|
1276 \`configure' configures masqmail 0.2.23 to adapt to many kinds of systems.
|
meillo@0
|
1277
|
meillo@0
|
1278 Usage: $0 [OPTION]... [VAR=VALUE]...
|
meillo@0
|
1279
|
meillo@0
|
1280 To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
meillo@0
|
1281 VAR=VALUE. See below for descriptions of some of the useful variables.
|
meillo@0
|
1282
|
meillo@0
|
1283 Defaults for the options are specified in brackets.
|
meillo@0
|
1284
|
meillo@0
|
1285 Configuration:
|
meillo@0
|
1286 -h, --help display this help and exit
|
meillo@0
|
1287 --help=short display options specific to this package
|
meillo@0
|
1288 --help=recursive display the short help of all the included packages
|
meillo@0
|
1289 -V, --version display version information and exit
|
meillo@0
|
1290 -q, --quiet, --silent do not print \`checking...' messages
|
meillo@0
|
1291 --cache-file=FILE cache test results in FILE [disabled]
|
meillo@0
|
1292 -C, --config-cache alias for \`--cache-file=config.cache'
|
meillo@0
|
1293 -n, --no-create do not create output files
|
meillo@0
|
1294 --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
meillo@0
|
1295
|
meillo@0
|
1296 Installation directories:
|
meillo@0
|
1297 --prefix=PREFIX install architecture-independent files in PREFIX
|
meillo@36
|
1298 [$ac_default_prefix]
|
meillo@0
|
1299 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
meillo@36
|
1300 [PREFIX]
|
meillo@0
|
1301
|
meillo@0
|
1302 By default, \`make install' will install all the files in
|
meillo@0
|
1303 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
meillo@0
|
1304 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
meillo@0
|
1305 for instance \`--prefix=\$HOME'.
|
meillo@0
|
1306
|
meillo@0
|
1307 For better control, use the options below.
|
meillo@0
|
1308
|
meillo@0
|
1309 Fine tuning of the installation directories:
|
meillo@36
|
1310 --bindir=DIR user executables [EPREFIX/bin]
|
meillo@36
|
1311 --sbindir=DIR system admin executables [EPREFIX/sbin]
|
meillo@36
|
1312 --libexecdir=DIR program executables [EPREFIX/libexec]
|
meillo@36
|
1313 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
meillo@36
|
1314 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
meillo@36
|
1315 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
meillo@36
|
1316 --libdir=DIR object code libraries [EPREFIX/lib]
|
meillo@36
|
1317 --includedir=DIR C header files [PREFIX/include]
|
meillo@36
|
1318 --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
meillo@36
|
1319 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
meillo@36
|
1320 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
meillo@36
|
1321 --infodir=DIR info documentation [DATAROOTDIR/info]
|
meillo@36
|
1322 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
meillo@36
|
1323 --mandir=DIR man documentation [DATAROOTDIR/man]
|
meillo@36
|
1324 --docdir=DIR documentation root [DATAROOTDIR/doc/masqmail]
|
meillo@36
|
1325 --htmldir=DIR html documentation [DOCDIR]
|
meillo@36
|
1326 --dvidir=DIR dvi documentation [DOCDIR]
|
meillo@36
|
1327 --pdfdir=DIR pdf documentation [DOCDIR]
|
meillo@36
|
1328 --psdir=DIR ps documentation [DOCDIR]
|
meillo@0
|
1329 _ACEOF
|
meillo@0
|
1330
|
meillo@0
|
1331 cat <<\_ACEOF
|
meillo@0
|
1332
|
meillo@0
|
1333 Program names:
|
meillo@0
|
1334 --program-prefix=PREFIX prepend PREFIX to installed program names
|
meillo@0
|
1335 --program-suffix=SUFFIX append SUFFIX to installed program names
|
meillo@0
|
1336 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
meillo@0
|
1337 _ACEOF
|
meillo@0
|
1338 fi
|
meillo@0
|
1339
|
meillo@0
|
1340 if test -n "$ac_init_help"; then
|
meillo@0
|
1341 case $ac_init_help in
|
meillo@52
|
1342 short | recursive ) echo "Configuration of masqmail 0.2.23:";;
|
meillo@0
|
1343 esac
|
meillo@0
|
1344 cat <<\_ACEOF
|
meillo@0
|
1345
|
meillo@0
|
1346 Optional Features:
|
meillo@36
|
1347 --disable-option-checking ignore unrecognized --enable/--with options
|
meillo@0
|
1348 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
meillo@0
|
1349 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
meillo@36
|
1350 --disable-dependency-tracking speeds up one-time build
|
meillo@36
|
1351 --enable-dependency-tracking do not reject slow dependency extractors
|
meillo@0
|
1352 --disable-resolver disable resolver support
|
meillo@0
|
1353 --disable-debug disable debugging
|
meillo@0
|
1354 --disable-smtp-server disable smtp server support
|
meillo@0
|
1355 --disable-pop3 disable pop3 support
|
meillo@0
|
1356 --enable-auth enable AUTH (RFC 2554) client support
|
meillo@0
|
1357 --enable-maildir enable qmail style maildir support
|
meillo@0
|
1358 --enable-ident enable ident (RFC 1413) support
|
meillo@0
|
1359 --enable-mserver enable mserver support
|
meillo@0
|
1360
|
meillo@0
|
1361 Optional Packages:
|
meillo@0
|
1362 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
meillo@0
|
1363 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
meillo@0
|
1364 --with-user=USER set user mail
|
meillo@0
|
1365 --with-group=GROUP set group trusted
|
meillo@0
|
1366 --with-glib-static=path link glib statically (path mandatory!)
|
meillo@0
|
1367 --with-libcrypto use libcrypto
|
meillo@0
|
1368 --with-liblockfile use liblock (for Debian)
|
meillo@0
|
1369 --with-logdir=DIR set log directory /var/masqmail
|
meillo@0
|
1370 --with-spooldir=DIR set spool directory /var/spool/masqmail
|
meillo@0
|
1371 --with-confdir directory for configuration /etc/masqmail
|
meillo@0
|
1372
|
meillo@0
|
1373 Some influential environment variables:
|
meillo@0
|
1374 CC C compiler command
|
meillo@0
|
1375 CFLAGS C compiler flags
|
meillo@0
|
1376 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
meillo@0
|
1377 nonstandard directory <lib dir>
|
meillo@1
|
1378 LIBS libraries to pass to the linker, e.g. -l<library>
|
meillo@36
|
1379 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
meillo@1
|
1380 you have headers in a nonstandard directory <include dir>
|
meillo@0
|
1381 CPP C preprocessor
|
meillo@0
|
1382 PKG_CONFIG path to pkg-config utility
|
meillo@54
|
1383 PKG_CONFIG_PATH
|
meillo@54
|
1384 directories to add to pkg-config's search path
|
meillo@54
|
1385 PKG_CONFIG_LIBDIR
|
meillo@54
|
1386 path overriding pkg-config's built-in search path
|
meillo@0
|
1387 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
|
meillo@0
|
1388 GLIB_LIBS linker flags for GLIB, overriding pkg-config
|
meillo@0
|
1389
|
meillo@0
|
1390 Use these variables to override the choices made by `configure' or to help
|
meillo@0
|
1391 it to find libraries and programs with nonstandard names/locations.
|
meillo@0
|
1392
|
meillo@36
|
1393 Report bugs to <meillo@marmaro.de>.
|
meillo@0
|
1394 _ACEOF
|
meillo@1
|
1395 ac_status=$?
|
meillo@0
|
1396 fi
|
meillo@0
|
1397
|
meillo@0
|
1398 if test "$ac_init_help" = "recursive"; then
|
meillo@0
|
1399 # If there are subdirs, report their specific --help.
|
meillo@0
|
1400 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
meillo@36
|
1401 test -d "$ac_dir" ||
|
meillo@36
|
1402 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
meillo@36
|
1403 continue
|
meillo@0
|
1404 ac_builddir=.
|
meillo@0
|
1405
|
meillo@1
|
1406 case "$ac_dir" in
|
meillo@1
|
1407 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
meillo@1
|
1408 *)
|
meillo@36
|
1409 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
meillo@1
|
1410 # A ".." for each directory in $ac_dir_suffix.
|
meillo@36
|
1411 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
meillo@1
|
1412 case $ac_top_builddir_sub in
|
meillo@1
|
1413 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
meillo@1
|
1414 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
meillo@1
|
1415 esac ;;
|
meillo@1
|
1416 esac
|
meillo@1
|
1417 ac_abs_top_builddir=$ac_pwd
|
meillo@1
|
1418 ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
meillo@1
|
1419 # for backward compatibility:
|
meillo@1
|
1420 ac_top_builddir=$ac_top_build_prefix
|
meillo@0
|
1421
|
meillo@0
|
1422 case $srcdir in
|
meillo@1
|
1423 .) # We are building in place.
|
meillo@0
|
1424 ac_srcdir=.
|
meillo@1
|
1425 ac_top_srcdir=$ac_top_builddir_sub
|
meillo@1
|
1426 ac_abs_top_srcdir=$ac_pwd ;;
|
meillo@1
|
1427 [\\/]* | ?:[\\/]* ) # Absolute name.
|
meillo@0
|
1428 ac_srcdir=$srcdir$ac_dir_suffix;
|
meillo@1
|
1429 ac_top_srcdir=$srcdir
|
meillo@1
|
1430 ac_abs_top_srcdir=$srcdir ;;
|
meillo@1
|
1431 *) # Relative name.
|
meillo@1
|
1432 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
meillo@1
|
1433 ac_top_srcdir=$ac_top_build_prefix$srcdir
|
meillo@1
|
1434 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
meillo@0
|
1435 esac
|
meillo@1
|
1436 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
meillo@1
|
1437
|
meillo@1
|
1438 cd "$ac_dir" || { ac_status=$?; continue; }
|
meillo@1
|
1439 # Check for guested configure.
|
meillo@1
|
1440 if test -f "$ac_srcdir/configure.gnu"; then
|
meillo@1
|
1441 echo &&
|
meillo@1
|
1442 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
meillo@1
|
1443 elif test -f "$ac_srcdir/configure"; then
|
meillo@1
|
1444 echo &&
|
meillo@1
|
1445 $SHELL "$ac_srcdir/configure" --help=recursive
|
meillo@0
|
1446 else
|
meillo@36
|
1447 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
meillo@1
|
1448 fi || ac_status=$?
|
meillo@1
|
1449 cd "$ac_pwd" || { ac_status=$?; break; }
|
meillo@0
|
1450 done
|
meillo@0
|
1451 fi
|
meillo@0
|
1452
|
meillo@1
|
1453 test -n "$ac_init_help" && exit $ac_status
|
meillo@0
|
1454 if $ac_init_version; then
|
meillo@0
|
1455 cat <<\_ACEOF
|
meillo@52
|
1456 masqmail configure 0.2.23
|
meillo@36
|
1457 generated by GNU Autoconf 2.65
|
meillo@36
|
1458
|
meillo@36
|
1459 Copyright (C) 2009 Free Software Foundation, Inc.
|
meillo@0
|
1460 This configure script is free software; the Free Software Foundation
|
meillo@0
|
1461 gives unlimited permission to copy, distribute and modify it.
|
meillo@0
|
1462 _ACEOF
|
meillo@1
|
1463 exit
|
meillo@1
|
1464 fi
|
meillo@36
|
1465
|
meillo@36
|
1466 ## ------------------------ ##
|
meillo@36
|
1467 ## Autoconf initialization. ##
|
meillo@36
|
1468 ## ------------------------ ##
|
meillo@36
|
1469
|
meillo@36
|
1470 # ac_fn_c_try_compile LINENO
|
meillo@36
|
1471 # --------------------------
|
meillo@36
|
1472 # Try to compile conftest.$ac_ext, and return whether this succeeded.
|
meillo@36
|
1473 ac_fn_c_try_compile ()
|
meillo@36
|
1474 {
|
meillo@36
|
1475 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
meillo@36
|
1476 rm -f conftest.$ac_objext
|
meillo@36
|
1477 if { { ac_try="$ac_compile"
|
meillo@36
|
1478 case "(($ac_try" in
|
meillo@36
|
1479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
meillo@36
|
1480 *) ac_try_echo=$ac_try;;
|
meillo@36
|
1481 esac
|
meillo@36
|
1482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
meillo@36
|
1483 $as_echo "$ac_try_echo"; } >&5
|
meillo@36
|
1484 (eval "$ac_compile") 2>conftest.err
|
meillo@36
|
1485 ac_status=$?
|
meillo@36
|
1486 if test -s conftest.err; then
|
meillo@36
|
1487 grep -v '^ *+' conftest.err >conftest.er1
|
meillo@36
|
1488 cat conftest.er1 >&5
|
meillo@36
|
1489 mv -f conftest.er1 conftest.err
|
meillo@36
|
1490 fi
|
meillo@36
|
1491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
meillo@36
|
1492 test $ac_status = 0; } && {
|
meillo@36
|
1493 test -z "$ac_c_werror_flag" ||
|
meillo@36
|
1494 test ! -s conftest.err
|
meillo@36
|
1495 } && test -s conftest.$ac_objext; then :
|
meillo@36
|
1496 ac_retval=0
|
meillo@36
|
1497 else
|
meillo@36
|
1498 $as_echo "$as_me: failed program was:" >&5
|
meillo@36
|
1499 sed 's/^/| /' conftest.$ac_ext >&5
|
meillo@36
|
1500
|
meillo@36
|
1501 ac_retval=1
|
meillo@36
|
1502 fi
|
meillo@36
|
1503 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
meillo@36
|
1504 as_fn_set_status $ac_retval
|
meillo@36
|
1505
|
meillo@36
|
1506 } # ac_fn_c_try_compile
|
meillo@36
|
1507
|
meillo@36
|
1508 # ac_fn_c_try_link LINENO
|
meillo@36
|
1509 # -----------------------
|
meillo@36
|
1510 # Try to link conftest.$ac_ext, and return whether this succeeded.
|
meillo@36
|
1511 ac_fn_c_try_link ()
|
meillo@36
|
1512 {
|
meillo@36
|
1513 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
meillo@36
|
1514 rm -f conftest.$ac_objext conftest$ac_exeext
|
meillo@36
|
1515 if { { ac_try="$ac_link"
|
meillo@36
|
1516 case "(($ac_try" in
|
meillo@36
|
1517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
meillo@36
|
1518 *) ac_try_echo=$ac_try;;
|
meillo@36
|
1519 esac
|
meillo@36
|
1520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
meillo@36
|
1521 $as_echo "$ac_try_echo"; } >&5
|
meillo@36
|
1522 (eval "$ac_link") 2>conftest.err
|
meillo@36
|
1523 ac_status=$?
|
meillo@36
|
1524 if test -s conftest.err; then
|
meillo@36
|
1525 grep -v '^ *+' conftest.err >conftest.er1
|
meillo@36
|
1526 cat conftest.er1 >&5
|
meillo@36
|
1527 mv -f conftest.er1 conftest.err
|
meillo@36
|
1528 fi
|
meillo@36
|
1529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
meillo@36
|
1530 test $ac_status = 0; } && {
|
meillo@36
|
1531 test -z "$ac_c_werror_flag" ||
|
meillo@36
|
1532 test ! -s conftest.err
|
meillo@36
|
1533 } && test -s conftest$ac_exeext && {
|
meillo@36
|
1534 test "$cross_compiling" = yes ||
|
meillo@36
|
1535 $as_test_x conftest$ac_exeext
|
meillo@36
|
1536 }; then :
|
meillo@36
|
1537 ac_retval=0
|
meillo@36
|
1538 else
|
meillo@36
|
1539 $as_echo "$as_me: failed program was:" >&5
|
meillo@36
|
1540 sed 's/^/| /' conftest.$ac_ext >&5
|
meillo@36
|
1541
|
meillo@36
|
1542 ac_retval=1
|
meillo@36
|
1543 fi
|
meillo@36
|
1544 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
meillo@36
|
1545 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
meillo@36
|
1546 # interfere with the next link command; also delete a directory that is
|
meillo@36
|
1547 # left behind by Apple's compiler. We do this before executing the actions.
|
meillo@36
|
1548 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
meillo@36
|
1549 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
meillo@36
|
1550 as_fn_set_status $ac_retval
|
meillo@36
|
1551
|
meillo@36
|
1552 } # ac_fn_c_try_link
|
meillo@36
|
1553
|
meillo@36
|
1554 # ac_fn_c_try_cpp LINENO
|
meillo@36
|
1555 # ----------------------
|
meillo@36
|
1556 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
meillo@36
|
1557 ac_fn_c_try_cpp ()
|
meillo@36
|
1558 {
|
meillo@36
|
1559 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
meillo@36
|
1560 if { { ac_try="$ac_cpp conftest.$ac_ext"
|
meillo@36
|
1561 case "(($ac_try" in
|
meillo@36
|
1562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
meillo@36
|
1563 *) ac_try_echo=$ac_try;;
|
meillo@36
|
1564 esac
|
meillo@36
|
1565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
meillo@36
|
1566 $as_echo "$ac_try_echo"; } >&5
|
meillo@36
|
1567 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
meillo@36
|
1568 ac_status=$?
|
meillo@36
|
1569 if test -s conftest.err; then
|
meillo@36
|
1570 grep -v '^ *+' conftest.err >conftest.er1
|
meillo@36
|
1571 cat conftest.er1 >&5
|
meillo@36
|
1572 mv -f conftest.er1 conftest.err
|
meillo@36
|
1573 fi
|
meillo@36
|
1574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
meillo@36
|
1575 test $ac_status = 0; } >/dev/null && {
|
meillo@36
|
1576 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
meillo@36
|
1577 test ! -s conftest.err
|
meillo@36
|
1578 }; then :
|
meillo@36
|
1579 ac_retval=0
|
meillo@36
|
1580 else
|
meillo@36
|
1581 $as_echo "$as_me: failed program was:" >&5
|
meillo@36
|
1582 sed 's/^/| /' conftest.$ac_ext >&5
|
meillo@36
|
1583
|
meillo@36
|
1584 ac_retval=1
|
meillo@36
|
1585 fi
|
meillo@36
|
1586 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
meillo@36
|
1587 as_fn_set_status $ac_retval
|
meillo@36
|
1588
|
meillo@36
|
1589 } # ac_fn_c_try_cpp
|
meillo@36
|
1590
|
meillo@36
|
1591 # ac_fn_c_try_run LINENO
|
meillo@36
|
1592 # ----------------------
|
meillo@36
|
1593 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
meillo@36
|
1594 # that executables *can* be run.
|
meillo@36
|
1595 ac_fn_c_try_run ()
|
meillo@36
|
1596 {
|
meillo@36
|
1597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
meillo@36
|
1598 if { { ac_try="$ac_link"
|
meillo@36
|
1599 case "(($ac_try" in
|
meillo@36
|
1600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
meillo@36
|
1601 *) ac_try_echo=$ac_try;;
|
meillo@36
|
1602 esac
|
meillo@36
|
1603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
meillo@36
|
1604 $as_echo "$ac_try_echo"; } >&5
|
meillo@36
|
1605 (eval "$ac_link") 2>&5
|
meillo@36
|
1606 ac_status=$?
|
meillo@36
|
1607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
meillo@36
|
1608 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
meillo@36
|
1609 { { case "(($ac_try" in
|
meillo@36
|
1610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
meillo@36
|
1611 *) ac_try_echo=$ac_try;;
|
meillo@36
|
1612 esac
|
meillo@36
|
1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
meillo@36
|
1614 $as_echo "$ac_try_echo"; } >&5
|
meillo@36
|
1615 (eval "$ac_try") 2>&5
|
meillo@36
|
1616 ac_status=$?
|
meillo@36
|
1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
meillo@36
|
1618 test $ac_status = 0; }; }; then :
|
meillo@36
|
1619 ac_retval=0
|
meillo@36
|
1620 else
|
meillo@36
|
1621 $as_echo "$as_me: program exited with status $ac_status" >&5
|
meillo@36
|
1622 $as_echo "$as_me: failed program was:" >&5
|
meillo@36
|
1623 sed 's/^/| /' conftest.$ac_ext >&5
|
meillo@36
|
1624
|
meillo@36
|
1625 ac_retval=$ac_status
|
meillo@36
|
1626 fi
|
meillo@36
|
1627 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
meillo@36
|
1628 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
meillo@36
|
1629 as_fn_set_status $ac_retval
|
meillo@36
|
1630
|
meillo@36
|
1631 } # ac_fn_c_try_run
|
meillo@36
|
1632
|
meillo@36
|
1633 # ac_fn_c_check_func LINENO FUNC VAR
|
meillo@36
|
1634 # ----------------------------------
|
meillo@36
|
1635 # Tests whether FUNC exists, setting the cache variable VAR accordingly
|
meillo@36
|
1636 ac_fn_c_check_func ()
|
meillo@36
|
1637 {
|
meillo@36
|
1638 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
meillo@36
|
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
meillo@36
|
1640 $as_echo_n "checking for $2... " >&6; }
|
meillo@36
|
1641 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
meillo@36
|
1642 $as_echo_n "(cached) " >&6
|
meillo@36
|
1643 else
|
meillo@36
|
1644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@36
|
1645 /* end confdefs.h. */
|
meillo@36
|
1646 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
meillo@36
|
1647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
meillo@36
|
1648 #define $2 innocuous_$2
|
meillo@36
|
1649
|
meillo@36
|
1650 /* System header to define __stub macros and hopefully few prototypes,
|
meillo@36
|
1651 which can conflict with char $2 (); below.
|
meillo@36
|
1652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
meillo@36
|
1653 <limits.h> exists even on freestanding compilers. */
|
meillo@36
|
1654
|
meillo@36
|
1655 #ifdef __STDC__
|
meillo@36
|
1656 # include <limits.h>
|
meillo@36
|
1657 #else
|
meillo@36
|
1658 # include <assert.h>
|
meillo@36
|
1659 #endif
|
meillo@36
|
1660
|
meillo@36
|
1661 #undef $2
|
meillo@36
|
1662
|
meillo@36
|
1663 /* Override any GCC internal prototype to avoid an error.
|
meillo@36
|
1664 Use char because int might match the return type of a GCC
|
meillo@36
|
1665 builtin and then its argument prototype would still apply. */
|
meillo@36
|
1666 #ifdef __cplusplus
|
meillo@36
|
1667 extern "C"
|
meillo@36
|
1668 #endif
|
meillo@36
|
1669 char $2 ();
|
meillo@36
|
1670 /* The GNU C library defines this for functions which it implements
|
meillo@36
|
1671 to always fail with ENOSYS. Some functions are actually named
|
meillo@36
|
1672 something starting with __ and the normal name is an alias. */
|
meillo@36
|
1673 #if defined __stub_$2 || defined __stub___$2
|
meillo@36
|
1674 choke me
|
meillo@36
|
1675 #endif
|
meillo@36
|
1676
|
meillo@36
|
1677 int
|
meillo@36
|
1678 main ()
|
meillo@36
|
1679 {
|
meillo@36
|
1680 return $2 ();
|
meillo@36
|
1681 ;
|
meillo@36
|
1682 return 0;
|
meillo@36
|
1683 }
|
meillo@36
|
1684 _ACEOF
|
meillo@36
|
1685 if ac_fn_c_try_link "$LINENO"; then :
|
meillo@36
|
1686 eval "$3=yes"
|
meillo@36
|
1687 else
|
meillo@36
|
1688 eval "$3=no"
|
meillo@36
|
1689 fi
|
meillo@36
|
1690 rm -f core conftest.err conftest.$ac_objext \
|
meillo@36
|
1691 conftest$ac_exeext conftest.$ac_ext
|
meillo@36
|
1692 fi
|
meillo@36
|
1693 eval ac_res=\$$3
|
meillo@36
|
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
meillo@36
|
1695 $as_echo "$ac_res" >&6; }
|
meillo@36
|
1696 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
meillo@36
|
1697
|
meillo@36
|
1698 } # ac_fn_c_check_func
|
meillo@36
|
1699
|
meillo@36
|
1700 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
meillo@36
|
1701 # -------------------------------------------------------
|
meillo@36
|
1702 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
meillo@36
|
1703 # the include files in INCLUDES and setting the cache variable VAR
|
meillo@36
|
1704 # accordingly.
|
meillo@36
|
1705 ac_fn_c_check_header_mongrel ()
|
meillo@36
|
1706 {
|
meillo@36
|
1707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
meillo@36
|
1708 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
meillo@36
|
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
meillo@36
|
1710 $as_echo_n "checking for $2... " >&6; }
|
meillo@36
|
1711 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
meillo@36
|
1712 $as_echo_n "(cached) " >&6
|
meillo@36
|
1713 fi
|
meillo@36
|
1714 eval ac_res=\$$3
|
meillo@36
|
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
meillo@36
|
1716 $as_echo "$ac_res" >&6; }
|
meillo@36
|
1717 else
|
meillo@36
|
1718 # Is the header compilable?
|
meillo@36
|
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
meillo@36
|
1720 $as_echo_n "checking $2 usability... " >&6; }
|
meillo@36
|
1721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@36
|
1722 /* end confdefs.h. */
|
meillo@36
|
1723 $4
|
meillo@36
|
1724 #include <$2>
|
meillo@36
|
1725 _ACEOF
|
meillo@36
|
1726 if ac_fn_c_try_compile "$LINENO"; then :
|
meillo@36
|
1727 ac_header_compiler=yes
|
meillo@36
|
1728 else
|
meillo@36
|
1729 ac_header_compiler=no
|
meillo@36
|
1730 fi
|
meillo@36
|
1731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
meillo@36
|
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
meillo@36
|
1733 $as_echo "$ac_header_compiler" >&6; }
|
meillo@36
|
1734
|
meillo@36
|
1735 # Is the header present?
|
meillo@36
|
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
meillo@36
|
1737 $as_echo_n "checking $2 presence... " >&6; }
|
meillo@36
|
1738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@36
|
1739 /* end confdefs.h. */
|
meillo@36
|
1740 #include <$2>
|
meillo@36
|
1741 _ACEOF
|
meillo@36
|
1742 if ac_fn_c_try_cpp "$LINENO"; then :
|
meillo@36
|
1743 ac_header_preproc=yes
|
meillo@36
|
1744 else
|
meillo@36
|
1745 ac_header_preproc=no
|
meillo@36
|
1746 fi
|
meillo@36
|
1747 rm -f conftest.err conftest.$ac_ext
|
meillo@36
|
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
meillo@36
|
1749 $as_echo "$ac_header_preproc" >&6; }
|
meillo@36
|
1750
|
meillo@36
|
1751 # So? What about this header?
|
meillo@36
|
1752 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
meillo@36
|
1753 yes:no: )
|
meillo@36
|
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
meillo@36
|
1755 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
meillo@36
|
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
meillo@36
|
1757 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
meillo@36
|
1758 ;;
|
meillo@36
|
1759 no:yes:* )
|
meillo@36
|
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
meillo@36
|
1761 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
meillo@36
|
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
meillo@36
|
1763 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
meillo@36
|
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
meillo@36
|
1765 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
meillo@36
|
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
meillo@36
|
1767 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
meillo@36
|
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
meillo@36
|
1769 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
meillo@36
|
1770 ( cat <<\_ASBOX
|
meillo@36
|
1771 ## -------------------------------- ##
|
meillo@36
|
1772 ## Report this to meillo@marmaro.de ##
|
meillo@36
|
1773 ## -------------------------------- ##
|
meillo@36
|
1774 _ASBOX
|
meillo@36
|
1775 ) | sed "s/^/$as_me: WARNING: /" >&2
|
meillo@36
|
1776 ;;
|
meillo@36
|
1777 esac
|
meillo@36
|
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
meillo@36
|
1779 $as_echo_n "checking for $2... " >&6; }
|
meillo@36
|
1780 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
meillo@36
|
1781 $as_echo_n "(cached) " >&6
|
meillo@36
|
1782 else
|
meillo@36
|
1783 eval "$3=\$ac_header_compiler"
|
meillo@36
|
1784 fi
|
meillo@36
|
1785 eval ac_res=\$$3
|
meillo@36
|
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
meillo@36
|
1787 $as_echo "$ac_res" >&6; }
|
meillo@36
|
1788 fi
|
meillo@36
|
1789 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
meillo@36
|
1790
|
meillo@36
|
1791 } # ac_fn_c_check_header_mongrel
|
meillo@36
|
1792
|
meillo@36
|
1793 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
meillo@36
|
1794 # -------------------------------------------------------
|
meillo@36
|
1795 # Tests whether HEADER exists and can be compiled using the include files in
|
meillo@36
|
1796 # INCLUDES, setting the cache variable VAR accordingly.
|
meillo@36
|
1797 ac_fn_c_check_header_compile ()
|
meillo@36
|
1798 {
|
meillo@36
|
1799 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
meillo@36
|
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
meillo@36
|
1801 $as_echo_n "checking for $2... " >&6; }
|
meillo@36
|
1802 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
meillo@36
|
1803 $as_echo_n "(cached) " >&6
|
meillo@36
|
1804 else
|
meillo@36
|
1805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@36
|
1806 /* end confdefs.h. */
|
meillo@36
|
1807 $4
|
meillo@36
|
1808 #include <$2>
|
meillo@36
|
1809 _ACEOF
|
meillo@36
|
1810 if ac_fn_c_try_compile "$LINENO"; then :
|
meillo@36
|
1811 eval "$3=yes"
|
meillo@36
|
1812 else
|
meillo@36
|
1813 eval "$3=no"
|
meillo@36
|
1814 fi
|
meillo@36
|
1815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
meillo@36
|
1816 fi
|
meillo@36
|
1817 eval ac_res=\$$3
|
meillo@36
|
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
meillo@36
|
1819 $as_echo "$ac_res" >&6; }
|
meillo@36
|
1820 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
meillo@36
|
1821
|
meillo@36
|
1822 } # ac_fn_c_check_header_compile
|
meillo@36
|
1823
|
meillo@36
|
1824 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
|
meillo@36
|
1825 # -------------------------------------------
|
meillo@36
|
1826 # Tests whether TYPE exists after having included INCLUDES, setting cache
|
meillo@36
|
1827 # variable VAR accordingly.
|
meillo@36
|
1828 ac_fn_c_check_type ()
|
meillo@36
|
1829 {
|
meillo@36
|
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
meillo@36
|
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
meillo@36
|
1832 $as_echo_n "checking for $2... " >&6; }
|
meillo@36
|
1833 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
meillo@36
|
1834 $as_echo_n "(cached) " >&6
|
meillo@36
|
1835 else
|
meillo@36
|
1836 eval "$3=no"
|
meillo@36
|
1837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@36
|
1838 /* end confdefs.h. */
|
meillo@36
|
1839 $4
|
meillo@36
|
1840 int
|
meillo@36
|
1841 main ()
|
meillo@36
|
1842 {
|
meillo@36
|
1843 if (sizeof ($2))
|
meillo@36
|
1844 return 0;
|
meillo@36
|
1845 ;
|
meillo@36
|
1846 return 0;
|
meillo@36
|
1847 }
|
meillo@36
|
1848 _ACEOF
|
meillo@36
|
1849 if ac_fn_c_try_compile "$LINENO"; then :
|
meillo@36
|
1850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@36
|
1851 /* end confdefs.h. */
|
meillo@36
|
1852 $4
|
meillo@36
|
1853 int
|
meillo@36
|
1854 main ()
|
meillo@36
|
1855 {
|
meillo@36
|
1856 if (sizeof (($2)))
|
meillo@36
|
1857 return 0;
|
meillo@36
|
1858 ;
|
meillo@36
|
1859 return 0;
|
meillo@36
|
1860 }
|
meillo@36
|
1861 _ACEOF
|
meillo@36
|
1862 if ac_fn_c_try_compile "$LINENO"; then :
|
meillo@36
|
1863
|
meillo@36
|
1864 else
|
meillo@36
|
1865 eval "$3=yes"
|
meillo@36
|
1866 fi
|
meillo@36
|
1867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
meillo@36
|
1868 fi
|
meillo@36
|
1869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
meillo@36
|
1870 fi
|
meillo@36
|
1871 eval ac_res=\$$3
|
meillo@36
|
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
meillo@36
|
1873 $as_echo "$ac_res" >&6; }
|
meillo@36
|
1874 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
meillo@36
|
1875
|
meillo@36
|
1876 } # ac_fn_c_check_type
|
meillo@1
|
1877 cat >config.log <<_ACEOF
|
meillo@0
|
1878 This file contains any messages produced by compilers while
|
meillo@0
|
1879 running configure, to aid debugging if configure makes a mistake.
|
meillo@0
|
1880
|
meillo@52
|
1881 It was created by masqmail $as_me 0.2.23, which was
|
meillo@36
|
1882 generated by GNU Autoconf 2.65. Invocation command line was
|
meillo@0
|
1883
|
meillo@0
|
1884 $ $0 $@
|
meillo@0
|
1885
|
meillo@0
|
1886 _ACEOF
|
meillo@1
|
1887 exec 5>>config.log
|
meillo@0
|
1888 {
|
meillo@0
|
1889 cat <<_ASUNAME
|
meillo@0
|
1890 ## --------- ##
|
meillo@0
|
1891 ## Platform. ##
|
meillo@0
|
1892 ## --------- ##
|
meillo@0
|
1893
|
meillo@0
|
1894 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
meillo@0
|
1895 uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
meillo@0
|
1896 uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
meillo@0
|
1897 uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
meillo@0
|
1898 uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
meillo@0
|
1899
|
meillo@0
|
1900 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
meillo@0
|
1901 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
meillo@0
|
1902
|
meillo@0
|
1903 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
meillo@0
|
1904 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
meillo@0
|
1905 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
meillo@1
|
1906 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
meillo@0
|
1907 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
meillo@0
|
1908 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
meillo@0
|
1909 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
meillo@0
|
1910
|
meillo@0
|
1911 _ASUNAME
|
meillo@0
|
1912
|
meillo@0
|
1913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
meillo@0
|
1914 for as_dir in $PATH
|
meillo@0
|
1915 do
|
meillo@0
|
1916 IFS=$as_save_IFS
|
meillo@0
|
1917 test -z "$as_dir" && as_dir=.
|
meillo@36
|
1918 $as_echo "PATH: $as_dir"
|
meillo@36
|
1919 done
|
meillo@1
|
1920 IFS=$as_save_IFS
|
meillo@0
|
1921
|
meillo@0
|
1922 } >&5
|
meillo@0
|
1923
|
meillo@0
|
1924 cat >&5 <<_ACEOF
|
meillo@0
|
1925
|
meillo@0
|
1926
|
meillo@0
|
1927 ## ----------- ##
|
meillo@0
|
1928 ## Core tests. ##
|
meillo@0
|
1929 ## ----------- ##
|
meillo@0
|
1930
|
meillo@0
|
1931 _ACEOF
|
meillo@0
|
1932
|
meillo@0
|
1933
|
meillo@0
|
1934 # Keep a trace of the command line.
|
meillo@0
|
1935 # Strip out --no-create and --no-recursion so they do not pile up.
|
meillo@0
|
1936 # Strip out --silent because we don't want to record it for future runs.
|
meillo@0
|
1937 # Also quote any args containing shell meta-characters.
|
meillo@0
|
1938 # Make two passes to allow for proper duplicate-argument suppression.
|
meillo@0
|
1939 ac_configure_args=
|
meillo@0
|
1940 ac_configure_args0=
|
meillo@0
|
1941 ac_configure_args1=
|
meillo@0
|
1942 ac_must_keep_next=false
|
meillo@0
|
1943 for ac_pass in 1 2
|
meillo@0
|
1944 do
|
meillo@0
|
1945 for ac_arg
|
meillo@0
|
1946 do
|
meillo@0
|
1947 case $ac_arg in
|
meillo@0
|
1948 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
meillo@0
|
1949 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
meillo@0
|
1950 | -silent | --silent | --silen | --sile | --sil)
|
meillo@0
|
1951 continue ;;
|
meillo@1
|
1952 *\'*)
|
meillo@36
|
1953 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
meillo@0
|
1954 esac
|
meillo@0
|
1955 case $ac_pass in
|
meillo@36
|
1956 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
meillo@0
|
1957 2)
|
meillo@36
|
1958 as_fn_append ac_configure_args1 " '$ac_arg'"
|
meillo@0
|
1959 if test $ac_must_keep_next = true; then
|
meillo@0
|
1960 ac_must_keep_next=false # Got value, back to normal.
|
meillo@0
|
1961 else
|
meillo@0
|
1962 case $ac_arg in
|
meillo@0
|
1963 *=* | --config-cache | -C | -disable-* | --disable-* \
|
meillo@0
|
1964 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
meillo@0
|
1965 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
meillo@0
|
1966 | -with-* | --with-* | -without-* | --without-* | --x)
|
meillo@0
|
1967 case "$ac_configure_args0 " in
|
meillo@0
|
1968 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
meillo@0
|
1969 esac
|
meillo@0
|
1970 ;;
|
meillo@0
|
1971 -* ) ac_must_keep_next=true ;;
|
meillo@0
|
1972 esac
|
meillo@0
|
1973 fi
|
meillo@36
|
1974 as_fn_append ac_configure_args " '$ac_arg'"
|
meillo@0
|
1975 ;;
|
meillo@0
|
1976 esac
|
meillo@0
|
1977 done
|
meillo@0
|
1978 done
|
meillo@36
|
1979 { ac_configure_args0=; unset ac_configure_args0;}
|
meillo@36
|
1980 { ac_configure_args1=; unset ac_configure_args1;}
|
meillo@0
|
1981
|
meillo@0
|
1982 # When interrupted or exit'd, cleanup temporary files, and complete
|
meillo@0
|
1983 # config.log. We remove comments because anyway the quotes in there
|
meillo@0
|
1984 # would cause problems or look ugly.
|
meillo@1
|
1985 # WARNING: Use '\'' to represent an apostrophe within the trap.
|
meillo@1
|
1986 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
meillo@0
|
1987 trap 'exit_status=$?
|
meillo@0
|
1988 # Save into config.log some information that might help in debugging.
|
meillo@0
|
1989 {
|
meillo@0
|
1990 echo
|
meillo@0
|
1991
|
meillo@0
|
1992 cat <<\_ASBOX
|
meillo@0
|
1993 ## ---------------- ##
|
meillo@0
|
1994 ## Cache variables. ##
|
meillo@0
|
1995 ## ---------------- ##
|
meillo@0
|
1996 _ASBOX
|
meillo@0
|
1997 echo
|
meillo@0
|
1998 # The following way of writing the cache mishandles newlines in values,
|
meillo@1
|
1999 (
|
meillo@1
|
2000 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
meillo@1
|
2001 eval ac_val=\$$ac_var
|
meillo@1
|
2002 case $ac_val in #(
|
meillo@1
|
2003 *${as_nl}*)
|
meillo@1
|
2004 case $ac_var in #(
|
meillo@36
|
2005 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
meillo@36
|
2006 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
meillo@1
|
2007 esac
|
meillo@1
|
2008 case $ac_var in #(
|
meillo@1
|
2009 _ | IFS | as_nl) ;; #(
|
meillo@36
|
2010 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
meillo@36
|
2011 *) { eval $ac_var=; unset $ac_var;} ;;
|
meillo@1
|
2012 esac ;;
|
meillo@1
|
2013 esac
|
meillo@1
|
2014 done
|
meillo@0
|
2015 (set) 2>&1 |
|
meillo@1
|
2016 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
meillo@1
|
2017 *${as_nl}ac_space=\ *)
|
meillo@0
|
2018 sed -n \
|
meillo@1
|
2019 "s/'\''/'\''\\\\'\'''\''/g;
|
meillo@1
|
2020 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
meillo@1
|
2021 ;; #(
|
meillo@1
|
2022 *)
|
meillo@1
|
2023 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
meillo@0
|
2024 ;;
|
meillo@1
|
2025 esac |
|
meillo@1
|
2026 sort
|
meillo@1
|
2027 )
|
meillo@0
|
2028 echo
|
meillo@0
|
2029
|
meillo@0
|
2030 cat <<\_ASBOX
|
meillo@0
|
2031 ## ----------------- ##
|
meillo@0
|
2032 ## Output variables. ##
|
meillo@0
|
2033 ## ----------------- ##
|
meillo@0
|
2034 _ASBOX
|
meillo@0
|
2035 echo
|
meillo@0
|
2036 for ac_var in $ac_subst_vars
|
meillo@0
|
2037 do
|
meillo@1
|
2038 eval ac_val=\$$ac_var
|
meillo@1
|
2039 case $ac_val in
|
meillo@36
|
2040 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
meillo@1
|
2041 esac
|
meillo@36
|
2042 $as_echo "$ac_var='\''$ac_val'\''"
|
meillo@0
|
2043 done | sort
|
meillo@0
|
2044 echo
|
meillo@0
|
2045
|
meillo@0
|
2046 if test -n "$ac_subst_files"; then
|
meillo@0
|
2047 cat <<\_ASBOX
|
meillo@1
|
2048 ## ------------------- ##
|
meillo@1
|
2049 ## File substitutions. ##
|
meillo@1
|
2050 ## ------------------- ##
|
meillo@0
|
2051 _ASBOX
|
meillo@0
|
2052 echo
|
meillo@0
|
2053 for ac_var in $ac_subst_files
|
meillo@0
|
2054 do
|
meillo@1
|
2055 eval ac_val=\$$ac_var
|
meillo@1
|
2056 case $ac_val in
|
meillo@36
|
2057 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
meillo@1
|
2058 esac
|
meillo@36
|
2059 $as_echo "$ac_var='\''$ac_val'\''"
|
meillo@0
|
2060 done | sort
|
meillo@0
|
2061 echo
|
meillo@0
|
2062 fi
|
meillo@0
|
2063
|
meillo@0
|
2064 if test -s confdefs.h; then
|
meillo@0
|
2065 cat <<\_ASBOX
|
meillo@0
|
2066 ## ----------- ##
|
meillo@0
|
2067 ## confdefs.h. ##
|
meillo@0
|
2068 ## ----------- ##
|
meillo@0
|
2069 _ASBOX
|
meillo@0
|
2070 echo
|
meillo@1
|
2071 cat confdefs.h
|
meillo@0
|
2072 echo
|
meillo@0
|
2073 fi
|
meillo@0
|
2074 test "$ac_signal" != 0 &&
|
meillo@36
|
2075 $as_echo "$as_me: caught signal $ac_signal"
|
meillo@36
|
2076 $as_echo "$as_me: exit $exit_status"
|
meillo@0
|
2077 } >&5
|
meillo@1
|
2078 rm -f core *.core core.conftest.* &&
|
meillo@1
|
2079 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
meillo@0
|
2080 exit $exit_status
|
meillo@1
|
2081 ' 0
|
meillo@0
|
2082 for ac_signal in 1 2 13 15; do
|
meillo@36
|
2083 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
meillo@0
|
2084 done
|
meillo@0
|
2085 ac_signal=0
|
meillo@0
|
2086
|
meillo@0
|
2087 # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
meillo@1
|
2088 rm -f -r conftest* confdefs.h
|
meillo@0
|
2089
|
meillo@36
|
2090 $as_echo "/* confdefs.h */" > confdefs.h
|
meillo@36
|
2091
|
meillo@0
|
2092 # Predefined preprocessor variables.
|
meillo@0
|
2093
|
meillo@0
|
2094 cat >>confdefs.h <<_ACEOF
|
meillo@0
|
2095 #define PACKAGE_NAME "$PACKAGE_NAME"
|
meillo@0
|
2096 _ACEOF
|
meillo@0
|
2097
|
meillo@0
|
2098 cat >>confdefs.h <<_ACEOF
|
meillo@0
|
2099 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
meillo@0
|
2100 _ACEOF
|
meillo@0
|
2101
|
meillo@0
|
2102 cat >>confdefs.h <<_ACEOF
|
meillo@0
|
2103 #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
meillo@0
|
2104 _ACEOF
|
meillo@0
|
2105
|
meillo@0
|
2106 cat >>confdefs.h <<_ACEOF
|
meillo@0
|
2107 #define PACKAGE_STRING "$PACKAGE_STRING"
|
meillo@0
|
2108 _ACEOF
|
meillo@0
|
2109
|
meillo@0
|
2110 cat >>confdefs.h <<_ACEOF
|
meillo@0
|
2111 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
meillo@0
|
2112 _ACEOF
|
meillo@0
|
2113
|
meillo@36
|
2114 cat >>confdefs.h <<_ACEOF
|
meillo@36
|
2115 #define PACKAGE_URL "$PACKAGE_URL"
|
meillo@36
|
2116 _ACEOF
|
meillo@36
|
2117
|
meillo@0
|
2118
|
meillo@0
|
2119 # Let the site file select an alternate cache file if it wants to.
|
meillo@36
|
2120 # Prefer an explicitly selected file to automatically selected ones.
|
meillo@36
|
2121 ac_site_file1=NONE
|
meillo@36
|
2122 ac_site_file2=NONE
|
meillo@1
|
2123 if test -n "$CONFIG_SITE"; then
|
meillo@36
|
2124 ac_site_file1=$CONFIG_SITE
|
meillo@1
|
2125 elif test "x$prefix" != xNONE; then
|
meillo@36
|
2126 ac_site_file1=$prefix/share/config.site
|
meillo@36
|
2127 ac_site_file2=$prefix/etc/config.site
|
meillo@36
|
2128 else
|
meillo@36
|
2129 ac_site_file1=$ac_default_prefix/share/config.site
|
meillo@36
|
2130 ac_site_file2=$ac_default_prefix/etc/config.site
|
meillo@36
|
2131 fi
|
meillo@36
|
2132 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
meillo@1
|
2133 do
|
meillo@36
|
2134 test "x$ac_site_file" = xNONE && continue
|
meillo@36
|
2135 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
meillo@36
|
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
meillo@36
|
2137 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
meillo@0
|
2138 sed 's/^/| /' "$ac_site_file" >&5
|
meillo@0
|
2139 . "$ac_site_file"
|
meillo@0
|
2140 fi
|
meillo@0
|
2141 done
|
meillo@0
|
2142
|
meillo@0
|
2143 if test -r "$cache_file"; then
|
meillo@36
|
2144 # Some versions of bash will fail to source /dev/null (special files
|
meillo@36
|
2145 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
meillo@36
|
2146 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
meillo@36
|
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
meillo@36
|
2148 $as_echo "$as_me: loading cache $cache_file" >&6;}
|
meillo@0
|
2149 case $cache_file in
|
meillo@1
|
2150 [\\/]* | ?:[\\/]* ) . "$cache_file";;
|
meillo@1
|
2151 *) . "./$cache_file";;
|
meillo@0
|
2152 esac
|
meillo@0
|
2153 fi
|
meillo@0
|
2154 else
|
meillo@36
|
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
meillo@36
|
2156 $as_echo "$as_me: creating cache $cache_file" >&6;}
|
meillo@0
|
2157 >$cache_file
|
meillo@0
|
2158 fi
|
meillo@0
|
2159
|
meillo@0
|
2160 # Check that the precious variables saved in the cache have kept the same
|
meillo@0
|
2161 # value.
|
meillo@0
|
2162 ac_cache_corrupted=false
|
meillo@1
|
2163 for ac_var in $ac_precious_vars; do
|
meillo@0
|
2164 eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
meillo@0
|
2165 eval ac_new_set=\$ac_env_${ac_var}_set
|
meillo@1
|
2166 eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
meillo@1
|
2167 eval ac_new_val=\$ac_env_${ac_var}_value
|
meillo@0
|
2168 case $ac_old_set,$ac_new_set in
|
meillo@0
|
2169 set,)
|
meillo@36
|
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
meillo@36
|
2171 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
meillo@0
|
2172 ac_cache_corrupted=: ;;
|
meillo@0
|
2173 ,set)
|
meillo@36
|
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
meillo@36
|
2175 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
meillo@0
|
2176 ac_cache_corrupted=: ;;
|
meillo@0
|
2177 ,);;
|
meillo@0
|
2178 *)
|
meillo@0
|
2179 if test "x$ac_old_val" != "x$ac_new_val"; then
|
meillo@36
|
2180 # differences in whitespace do not lead to failure.
|
meillo@36
|
2181 ac_old_val_w=`echo x $ac_old_val`
|
meillo@36
|
2182 ac_new_val_w=`echo x $ac_new_val`
|
meillo@36
|
2183 if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
meillo@36
|
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
meillo@36
|
2185 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
meillo@36
|
2186 ac_cache_corrupted=:
|
meillo@36
|
2187 else
|
meillo@36
|
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
meillo@36
|
2189 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
meillo@36
|
2190 eval $ac_var=\$ac_old_val
|
meillo@36
|
2191 fi
|
meillo@36
|
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
meillo@36
|
2193 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
meillo@36
|
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
meillo@36
|
2195 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
meillo@0
|
2196 fi;;
|
meillo@0
|
2197 esac
|
meillo@0
|
2198 # Pass precious variables to config.status.
|
meillo@0
|
2199 if test "$ac_new_set" = set; then
|
meillo@0
|
2200 case $ac_new_val in
|
meillo@36
|
2201 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
meillo@0
|
2202 *) ac_arg=$ac_var=$ac_new_val ;;
|
meillo@0
|
2203 esac
|
meillo@0
|
2204 case " $ac_configure_args " in
|
meillo@0
|
2205 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
meillo@36
|
2206 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
meillo@0
|
2207 esac
|
meillo@0
|
2208 fi
|
meillo@0
|
2209 done
|
meillo@0
|
2210 if $ac_cache_corrupted; then
|
meillo@36
|
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
meillo@36
|
2212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
meillo@36
|
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
meillo@36
|
2214 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
meillo@36
|
2215 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
meillo@36
|
2216 fi
|
meillo@36
|
2217 ## -------------------- ##
|
meillo@36
|
2218 ## Main body of script. ##
|
meillo@36
|
2219 ## -------------------- ##
|
meillo@1
|
2220
|
meillo@0
|
2221 ac_ext=c
|
meillo@0
|
2222 ac_cpp='$CPP $CPPFLAGS'
|
meillo@0
|
2223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
meillo@0
|
2224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
meillo@0
|
2225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
meillo@0
|
2226
|
meillo@0
|
2227
|
meillo@0
|
2228
|
meillo@1
|
2229 ac_config_headers="$ac_config_headers config.h"
|
meillo@0
|
2230
|
meillo@36
|
2231 am__api_version='1.11'
|
meillo@36
|
2232
|
meillo@0
|
2233 ac_aux_dir=
|
meillo@1
|
2234 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
meillo@36
|
2235 for ac_t in install-sh install.sh shtool; do
|
meillo@36
|
2236 if test -f "$ac_dir/$ac_t"; then
|
meillo@36
|
2237 ac_aux_dir=$ac_dir
|
meillo@36
|
2238 ac_install_sh="$ac_aux_dir/$ac_t -c"
|
meillo@36
|
2239 break 2
|
meillo@36
|
2240 fi
|
meillo@36
|
2241 done
|
meillo@0
|
2242 done
|
meillo@0
|
2243 if test -z "$ac_aux_dir"; then
|
meillo@36
|
2244 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
meillo@0
|
2245 fi
|
meillo@1
|
2246
|
meillo@1
|
2247 # These three variables are undocumented and unsupported,
|
meillo@1
|
2248 # and are intended to be withdrawn in a future Autoconf release.
|
meillo@1
|
2249 # They can cause serious problems if a builder's source tree is in a directory
|
meillo@1
|
2250 # whose full name contains unusual characters.
|
meillo@1
|
2251 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
meillo@1
|
2252 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
meillo@1
|
2253 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
meillo@1
|
2254
|
meillo@0
|
2255
|
meillo@0
|
2256 # Find a good install program. We prefer a C program (faster),
|
meillo@0
|
2257 # so one script is as good as another. But avoid the broken or
|
meillo@0
|
2258 # incompatible versions:
|
meillo@0
|
2259 # SysV /etc/install, /usr/sbin/install
|
meillo@0
|
2260 # SunOS /usr/etc/install
|
meillo@0
|
2261 # IRIX /sbin/install
|
meillo@0
|
2262 # AIX /bin/install
|
meillo@0
|
2263 # AmigaOS /C/install, which installs bootblocks on floppy discs
|
meillo@0
|
2264 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
meillo@0
|
2265 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
meillo@0
|
2266 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
meillo@0
|
2267 # OS/2's system install, which has a completely different semantic
|
meillo@0
|
2268 # ./install, which can be erroneously created by make from ./install.sh.
|
meillo@36
|
2269 # Reject install programs that cannot install multiple files.
|
meillo@36
|
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
meillo@36
|
2271 $as_echo_n "checking for a BSD-compatible install... " >&6; }
|
meillo@0
|
2272 if test -z "$INSTALL"; then
|
meillo@36
|
2273 if test "${ac_cv_path_install+set}" = set; then :
|
meillo@36
|
2274 $as_echo_n "(cached) " >&6
|
meillo@0
|
2275 else
|
meillo@0
|
2276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
meillo@0
|
2277 for as_dir in $PATH
|
meillo@0
|
2278 do
|
meillo@0
|
2279 IFS=$as_save_IFS
|
meillo@0
|
2280 test -z "$as_dir" && as_dir=.
|
meillo@36
|
2281 # Account for people who put trailing slashes in PATH elements.
|
meillo@36
|
2282 case $as_dir/ in #((
|
meillo@36
|
2283 ./ | .// | /[cC]/* | \
|
meillo@0
|
2284 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
meillo@36
|
2285 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
meillo@0
|
2286 /usr/ucb/* ) ;;
|
meillo@0
|
2287 *)
|
meillo@0
|
2288 # OSF1 and SCO ODT 3.0 have their own names for install.
|
meillo@0
|
2289 # Don't use installbsd from OSF since it installs stuff as root
|
meillo@0
|
2290 # by default.
|
meillo@0
|
2291 for ac_prog in ginstall scoinst install; do
|
meillo@0
|
2292 for ac_exec_ext in '' $ac_executable_extensions; do
|
meillo@1
|
2293 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
meillo@0
|
2294 if test $ac_prog = install &&
|
meillo@0
|
2295 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
meillo@0
|
2296 # AIX install. It has an incompatible calling convention.
|
meillo@0
|
2297 :
|
meillo@0
|
2298 elif test $ac_prog = install &&
|
meillo@0
|
2299 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
meillo@0
|
2300 # program-specific install script used by HP pwplus--don't use.
|
meillo@0
|
2301 :
|
meillo@0
|
2302 else
|
meillo@36
|
2303 rm -rf conftest.one conftest.two conftest.dir
|
meillo@36
|
2304 echo one > conftest.one
|
meillo@36
|
2305 echo two > conftest.two
|
meillo@36
|
2306 mkdir conftest.dir
|
meillo@36
|
2307 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
meillo@36
|
2308 test -s conftest.one && test -s conftest.two &&
|
meillo@36
|
2309 test -s conftest.dir/conftest.one &&
|
meillo@36
|
2310 test -s conftest.dir/conftest.two
|
meillo@36
|
2311 then
|
meillo@36
|
2312 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
meillo@36
|
2313 break 3
|
meillo@36
|
2314 fi
|
meillo@0
|
2315 fi
|
meillo@0
|
2316 fi
|
meillo@0
|
2317 done
|
meillo@0
|
2318 done
|
meillo@0
|
2319 ;;
|
meillo@0
|
2320 esac
|
meillo@36
|
2321
|
meillo@36
|
2322 done
|
meillo@1
|
2323 IFS=$as_save_IFS
|
meillo@0
|
2324
|
meillo@36
|
2325 rm -rf conftest.one conftest.two conftest.dir
|
meillo@0
|
2326
|
meillo@0
|
2327 fi
|
meillo@0
|
2328 if test "${ac_cv_path_install+set}" = set; then
|
meillo@0
|
2329 INSTALL=$ac_cv_path_install
|
meillo@0
|
2330 else
|
meillo@1
|
2331 # As a last resort, use the slow shell script. Don't cache a
|
meillo@1
|
2332 # value for INSTALL within a source directory, because that will
|
meillo@0
|
2333 # break other packages using the cache if that directory is
|
meillo@1
|
2334 # removed, or if the value is a relative name.
|
meillo@0
|
2335 INSTALL=$ac_install_sh
|
meillo@0
|
2336 fi
|
meillo@0
|
2337 fi
|
meillo@36
|
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
meillo@36
|
2339 $as_echo "$INSTALL" >&6; }
|
meillo@0
|
2340
|
meillo@0
|
2341 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
meillo@0
|
2342 # It thinks the first close brace ends the variable substitution.
|
meillo@0
|
2343 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
meillo@0
|
2344
|
meillo@0
|
2345 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
meillo@0
|
2346
|
meillo@0
|
2347 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
meillo@0
|
2348
|
meillo@36
|
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
meillo@36
|
2350 $as_echo_n "checking whether build environment is sane... " >&6; }
|
meillo@0
|
2351 # Just in case
|
meillo@0
|
2352 sleep 1
|
meillo@0
|
2353 echo timestamp > conftest.file
|
meillo@36
|
2354 # Reject unsafe characters in $srcdir or the absolute working directory
|
meillo@36
|
2355 # name. Accept space and tab only in the latter.
|
meillo@36
|
2356 am_lf='
|
meillo@36
|
2357 '
|
meillo@36
|
2358 case `pwd` in
|
meillo@36
|
2359 *[\\\"\#\$\&\'\`$am_lf]*)
|
meillo@36
|
2360 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
|
meillo@36
|
2361 esac
|
meillo@36
|
2362 case $srcdir in
|
meillo@36
|
2363 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
|
meillo@36
|
2364 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
|
meillo@36
|
2365 esac
|
meillo@36
|
2366
|
meillo@0
|
2367 # Do `set' in a subshell so we don't clobber the current shell's
|
meillo@0
|
2368 # arguments. Must try -L first in case configure is actually a
|
meillo@0
|
2369 # symlink; some systems play weird games with the mod time of symlinks
|
meillo@0
|
2370 # (eg FreeBSD returns the mod time of the symlink's containing
|
meillo@0
|
2371 # directory).
|
meillo@0
|
2372 if (
|
meillo@36
|
2373 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
|
meillo@0
|
2374 if test "$*" = "X"; then
|
meillo@0
|
2375 # -L didn't work.
|
meillo@36
|
2376 set X `ls -t "$srcdir/configure" conftest.file`
|
meillo@0
|
2377 fi
|
meillo@0
|
2378 rm -f conftest.file
|
meillo@0
|
2379 if test "$*" != "X $srcdir/configure conftest.file" \
|
meillo@0
|
2380 && test "$*" != "X conftest.file $srcdir/configure"; then
|
meillo@0
|
2381
|
meillo@0
|
2382 # If neither matched, then we have a broken ls. This can happen
|
meillo@0
|
2383 # if, for instance, CONFIG_SHELL is bash and it inherits a
|
meillo@0
|
2384 # broken ls alias from the environment. This has actually
|
meillo@0
|
2385 # happened. Such a system could not be considered "sane".
|
meillo@36
|
2386 as_fn_error "ls -t appears to fail. Make sure there is not a broken
|
meillo@36
|
2387 alias in your environment" "$LINENO" 5
|
meillo@0
|
2388 fi
|
meillo@0
|
2389
|
meillo@0
|
2390 test "$2" = conftest.file
|
meillo@0
|
2391 )
|
meillo@0
|
2392 then
|
meillo@0
|
2393 # Ok.
|
meillo@0
|
2394 :
|
meillo@0
|
2395 else
|
meillo@36
|
2396 as_fn_error "newly created file is older than distributed files!
|
meillo@36
|
2397 Check your system clock" "$LINENO" 5
|
meillo@36
|
2398 fi
|
meillo@36
|
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
meillo@36
|
2400 $as_echo "yes" >&6; }
|
meillo@0
|
2401 test "$program_prefix" != NONE &&
|
meillo@1
|
2402 program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
meillo@0
|
2403 # Use a double $ so make ignores it.
|
meillo@0
|
2404 test "$program_suffix" != NONE &&
|
meillo@1
|
2405 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
|
meillo@36
|
2406 # Double any \ or $.
|
meillo@0
|
2407 # By default was `s,x,x', remove it if useless.
|
meillo@36
|
2408 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
meillo@36
|
2409 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
meillo@0
|
2410
|
meillo@0
|
2411 # expand $ac_aux_dir to an absolute path
|
meillo@0
|
2412 am_aux_dir=`cd $ac_aux_dir && pwd`
|
meillo@0
|
2413
|
meillo@36
|
2414 if test x"${MISSING+set}" != xset; then
|
meillo@36
|
2415 case $am_aux_dir in
|
meillo@36
|
2416 *\ * | *\ *)
|
meillo@36
|
2417 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
meillo@36
|
2418 *)
|
meillo@36
|
2419 MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
meillo@36
|
2420 esac
|
meillo@36
|
2421 fi
|
meillo@0
|
2422 # Use eval to expand $SHELL
|
meillo@0
|
2423 if eval "$MISSING --run true"; then
|
meillo@0
|
2424 am_missing_run="$MISSING --run "
|
meillo@0
|
2425 else
|
meillo@0
|
2426 am_missing_run=
|
meillo@36
|
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
|
meillo@36
|
2428 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
meillo@36
|
2429 fi
|
meillo@36
|
2430
|
meillo@36
|
2431 if test x"${install_sh}" != xset; then
|
meillo@36
|
2432 case $am_aux_dir in
|
meillo@36
|
2433 *\ * | *\ *)
|
meillo@36
|
2434 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
|
meillo@36
|
2435 *)
|
meillo@36
|
2436 install_sh="\${SHELL} $am_aux_dir/install-sh"
|
meillo@36
|
2437 esac
|
meillo@36
|
2438 fi
|
meillo@36
|
2439
|
meillo@36
|
2440 # Installed binaries are usually stripped using `strip' when the user
|
meillo@36
|
2441 # run `make install-strip'. However `strip' might not be the right
|
meillo@36
|
2442 # tool to use in cross-compilation environments, therefore Automake
|
meillo@36
|
2443 # will honor the `STRIP' environment variable to overrule this program.
|
meillo@36
|
2444 if test "$cross_compiling" != no; then
|
meillo@36
|
2445 if test -n "$ac_tool_prefix"; then
|
meillo@36
|
2446 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
meillo@36
|
2447 set dummy ${ac_tool_prefix}strip; ac_word=$2
|
meillo@36
|
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
meillo@36
|
2449 $as_echo_n "checking for $ac_word... " >&6; }
|
meillo@36
|
2450 if test "${ac_cv_prog_STRIP+set}" = set; then :
|
meillo@36
|
2451 $as_echo_n "(cached) " >&6
|
meillo@36
|
2452 else
|
meillo@36
|
2453 if test -n "$STRIP"; then
|
meillo@36
|
2454 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
meillo@0
|
2455 else
|
meillo@0
|
2456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
meillo@0
|
2457 for as_dir in $PATH
|
meillo@0
|
2458 do
|
meillo@0
|
2459 IFS=$as_save_IFS
|
meillo@0
|
2460 test -z "$as_dir" && as_dir=.
|
meillo@36
|
2461 for ac_exec_ext in '' $ac_executable_extensions; do
|
meillo@1
|
2462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
meillo@36
|
2463 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
meillo@36
|
2464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
meillo@0
|
2465 break 2
|
meillo@0
|
2466 fi
|
meillo@0
|
2467 done
|
meillo@36
|
2468 done
|
meillo@36
|
2469 IFS=$as_save_IFS
|
meillo@36
|
2470
|
meillo@36
|
2471 fi
|
meillo@36
|
2472 fi
|
meillo@36
|
2473 STRIP=$ac_cv_prog_STRIP
|
meillo@36
|
2474 if test -n "$STRIP"; then
|
meillo@36
|
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
meillo@36
|
2476 $as_echo "$STRIP" >&6; }
|
meillo@36
|
2477 else
|
meillo@36
|
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
meillo@36
|
2479 $as_echo "no" >&6; }
|
meillo@36
|
2480 fi
|
meillo@36
|
2481
|
meillo@36
|
2482
|
meillo@36
|
2483 fi
|
meillo@36
|
2484 if test -z "$ac_cv_prog_STRIP"; then
|
meillo@36
|
2485 ac_ct_STRIP=$STRIP
|
meillo@36
|
2486 # Extract the first word of "strip", so it can be a program name with args.
|
meillo@36
|
2487 set dummy strip; ac_word=$2
|
meillo@36
|
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
meillo@36
|
2489 $as_echo_n "checking for $ac_word... " >&6; }
|
meillo@36
|
2490 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
|
meillo@36
|
2491 $as_echo_n "(cached) " >&6
|
meillo@36
|
2492 else
|
meillo@36
|
2493 if test -n "$ac_ct_STRIP"; then
|
meillo@36
|
2494 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
meillo@36
|
2495 else
|
meillo@36
|
2496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
meillo@36
|
2497 for as_dir in $PATH
|
meillo@36
|
2498 do
|
meillo@36
|
2499 IFS=$as_save_IFS
|
meillo@36
|
2500 test -z "$as_dir" && as_dir=.
|
meillo@36
|
2501 for ac_exec_ext in '' $ac_executable_extensions; do
|
meillo@36
|
2502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
meillo@36
|
2503 ac_cv_prog_ac_ct_STRIP="strip"
|
meillo@36
|
2504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
meillo@36
|
2505 break 2
|
meillo@36
|
2506 fi
|
meillo@0
|
2507 done
|
meillo@36
|
2508 done
|
meillo@36
|
2509 IFS=$as_save_IFS
|
meillo@36
|
2510
|
meillo@36
|
2511 fi
|
meillo@36
|
2512 fi
|
meillo@36
|
2513 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
meillo@36
|
2514 if test -n "$ac_ct_STRIP"; then
|
meillo@36
|
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
meillo@36
|
2516 $as_echo "$ac_ct_STRIP" >&6; }
|
meillo@36
|
2517 else
|
meillo@36
|
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
meillo@36
|
2519 $as_echo "no" >&6; }
|
meillo@36
|
2520 fi
|
meillo@36
|
2521
|
meillo@36
|
2522 if test "x$ac_ct_STRIP" = x; then
|
meillo@36
|
2523 STRIP=":"
|
meillo@36
|
2524 else
|
meillo@36
|
2525 case $cross_compiling:$ac_tool_warned in
|
meillo@36
|
2526 yes:)
|
meillo@36
|
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
meillo@36
|
2528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
meillo@36
|
2529 ac_tool_warned=yes ;;
|
meillo@36
|
2530 esac
|
meillo@36
|
2531 STRIP=$ac_ct_STRIP
|
meillo@36
|
2532 fi
|
meillo@36
|
2533 else
|
meillo@36
|
2534 STRIP="$ac_cv_prog_STRIP"
|
meillo@36
|
2535 fi
|
meillo@36
|
2536
|
meillo@36
|
2537 fi
|
meillo@36
|
2538 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
meillo@36
|
2539
|
meillo@36
|
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
|
meillo@36
|
2541 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
|
meillo@36
|
2542 if test -z "$MKDIR_P"; then
|
meillo@36
|
2543 if test "${ac_cv_path_mkdir+set}" = set; then :
|
meillo@36
|
2544 $as_echo_n "(cached) " >&6
|
meillo@36
|
2545 else
|
meillo@36
|
2546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
meillo@36
|
2547 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
|
meillo@36
|
2548 do
|
meillo@36
|
2549 IFS=$as_save_IFS
|
meillo@36
|
2550 test -z "$as_dir" && as_dir=.
|
meillo@36
|
2551 for ac_prog in mkdir gmkdir; do
|
meillo@36
|
2552 for ac_exec_ext in '' $ac_executable_extensions; do
|
meillo@36
|
2553 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
|
meillo@36
|
2554 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
meillo@36
|
2555 'mkdir (GNU coreutils) '* | \
|
meillo@36
|
2556 'mkdir (coreutils) '* | \
|
meillo@36
|
2557 'mkdir (fileutils) '4.1*)
|
meillo@36
|
2558 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
|
meillo@36
|
2559 break 3;;
|
meillo@36
|
2560 esac
|
meillo@36
|
2561 done
|
meillo@36
|
2562 done
|
meillo@36
|
2563 done
|
meillo@36
|
2564 IFS=$as_save_IFS
|
meillo@36
|
2565
|
meillo@36
|
2566 fi
|
meillo@36
|
2567
|
meillo@36
|
2568 test -d ./--version && rmdir ./--version
|
meillo@36
|
2569 if test "${ac_cv_path_mkdir+set}" = set; then
|
meillo@36
|
2570 MKDIR_P="$ac_cv_path_mkdir -p"
|
meillo@36
|
2571 else
|
meillo@36
|
2572 # As a last resort, use the slow shell script. Don't cache a
|
meillo@36
|
2573 # value for MKDIR_P within a source directory, because that will
|
meillo@36
|
2574 # break other packages using the cache if that directory is
|
meillo@36
|
2575 # removed, or if the value is a relative name.
|
meillo@36
|
2576 MKDIR_P="$ac_install_sh -d"
|
meillo@36
|
2577 fi
|
meillo@36
|
2578 fi
|
meillo@36
|
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
meillo@36
|
2580 $as_echo "$MKDIR_P" >&6; }
|
meillo@36
|
2581
|
meillo@36
|
2582 mkdir_p="$MKDIR_P"
|
meillo@36
|
2583 case $mkdir_p in
|
meillo@36
|
2584 [\\/$]* | ?:[\\/]*) ;;
|
meillo@36
|
2585 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
|
meillo@36
|
2586 esac
|
meillo@36
|
2587
|
meillo@36
|
2588 for ac_prog in gawk mawk nawk awk
|
meillo@36
|
2589 do
|
meillo@36
|
2590 # Extract the first word of "$ac_prog", so it can be a program name with args.
|
meillo@36
|
2591 set dummy $ac_prog; ac_word=$2
|
meillo@36
|
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
meillo@36
|
2593 $as_echo_n "checking for $ac_word... " >&6; }
|
meillo@36
|
2594 if test "${ac_cv_prog_AWK+set}" = set; then :
|
meillo@36
|
2595 $as_echo_n "(cached) " >&6
|
meillo@36
|
2596 else
|
meillo@36
|
2597 if test -n "$AWK"; then
|
meillo@36
|
2598 ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
meillo@36
|
2599 else
|
meillo@36
|
2600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
meillo@36
|
2601 for as_dir in $PATH
|
meillo@36
|
2602 do
|
meillo@36
|
2603 IFS=$as_save_IFS
|
meillo@36
|
2604 test -z "$as_dir" && as_dir=.
|
meillo@36
|
2605 for ac_exec_ext in '' $ac_executable_extensions; do
|
meillo@36
|
2606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
meillo@36
|
2607 ac_cv_prog_AWK="$ac_prog"
|
meillo@36
|
2608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
meillo@36
|
2609 break 2
|
meillo@36
|
2610 fi
|
meillo@36
|
2611 done
|
meillo@36
|
2612 done
|
meillo@1
|
2613 IFS=$as_save_IFS
|
meillo@0
|
2614
|
meillo@0
|
2615 fi
|
meillo@0
|
2616 fi
|
meillo@0
|
2617 AWK=$ac_cv_prog_AWK
|
meillo@0
|
2618 if test -n "$AWK"; then
|
meillo@36
|
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
meillo@36
|
2620 $as_echo "$AWK" >&6; }
|
meillo@36
|
2621 else
|
meillo@36
|
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
meillo@36
|
2623 $as_echo "no" >&6; }
|
meillo@1
|
2624 fi
|
meillo@1
|
2625
|
meillo@0
|
2626
|
meillo@0
|
2627 test -n "$AWK" && break
|
meillo@0
|
2628 done
|
meillo@0
|
2629
|
meillo@36
|
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
meillo@36
|
2631 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
meillo@36
|
2632 set x ${MAKE-make}
|
meillo@36
|
2633 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
meillo@36
|
2634 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
|
meillo@36
|
2635 $as_echo_n "(cached) " >&6
|
meillo@0
|
2636 else
|
meillo@0
|
2637 cat >conftest.make <<\_ACEOF
|
meillo@1
|
2638 SHELL = /bin/sh
|
meillo@0
|
2639 all:
|
meillo@1
|
2640 @echo '@@@%%%=$(MAKE)=@@@%%%'
|
meillo@0
|
2641 _ACEOF
|
meillo@0
|
2642 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
meillo@1
|
2643 case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
meillo@1
|
2644 *@@@%%%=?*=@@@%%%*)
|
meillo@1
|
2645 eval ac_cv_prog_make_${ac_make}_set=yes;;
|
meillo@1
|
2646 *)
|
meillo@1
|
2647 eval ac_cv_prog_make_${ac_make}_set=no;;
|
meillo@1
|
2648 esac
|
meillo@0
|
2649 rm -f conftest.make
|
meillo@0
|
2650 fi
|
meillo@1
|
2651 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
meillo@36
|
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
meillo@36
|
2653 $as_echo "yes" >&6; }
|
meillo@0
|
2654 SET_MAKE=
|
meillo@0
|
2655 else
|
meillo@36
|
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
meillo@36
|
2657 $as_echo "no" >&6; }
|
meillo@0
|
2658 SET_MAKE="MAKE=${MAKE-make}"
|
meillo@0
|
2659 fi
|
meillo@0
|
2660
|
meillo@0
|
2661 rm -rf .tst 2>/dev/null
|
meillo@0
|
2662 mkdir .tst 2>/dev/null
|
meillo@0
|
2663 if test -d .tst; then
|
meillo@0
|
2664 am__leading_dot=.
|
meillo@0
|
2665 else
|
meillo@0
|
2666 am__leading_dot=_
|
meillo@0
|
2667 fi
|
meillo@0
|
2668 rmdir .tst 2>/dev/null
|
meillo@0
|
2669
|
meillo@36
|
2670 if test "`cd $srcdir && pwd`" != "`pwd`"; then
|
meillo@36
|
2671 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
meillo@36
|
2672 # is not polluted with repeated "-I."
|
meillo@36
|
2673 am__isrc=' -I$(srcdir)'
|
meillo@36
|
2674 # test to see if srcdir already configured
|
meillo@36
|
2675 if test -f $srcdir/config.status; then
|
meillo@36
|
2676 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
|
meillo@36
|
2677 fi
|
meillo@0
|
2678 fi
|
meillo@0
|
2679
|
meillo@0
|
2680 # test whether we have cygpath
|
meillo@0
|
2681 if test -z "$CYGPATH_W"; then
|
meillo@0
|
2682 if (cygpath --version) >/dev/null 2>/dev/null; then
|
meillo@0
|
2683 CYGPATH_W='cygpath -w'
|
meillo@0
|
2684 else
|
meillo@0
|
2685 CYGPATH_W=echo
|
meillo@0
|
2686 fi
|
meillo@0
|
2687 fi
|
meillo@0
|
2688
|
meillo@0
|
2689
|
meillo@0
|
2690 # Define the identity of the package.
|
meillo@0
|
2691 PACKAGE='masqmail'
|
meillo@52
|
2692 VERSION='0.2.23'
|
meillo@0
|
2693
|
meillo@0
|
2694
|
meillo@0
|
2695 cat >>confdefs.h <<_ACEOF
|
meillo@0
|
2696 #define PACKAGE "$PACKAGE"
|
meillo@0
|
2697 _ACEOF
|
meillo@0
|
2698
|
meillo@0
|
2699
|
meillo@0
|
2700 cat >>confdefs.h <<_ACEOF
|
meillo@0
|
2701 #define VERSION "$VERSION"
|
meillo@0
|
2702 _ACEOF
|
meillo@0
|
2703
|
meillo@0
|
2704 # Some tools Automake needs.
|
meillo@0
|
2705
|
meillo@0
|
2706 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
|
meillo@0
|
2707
|
meillo@0
|
2708
|
meillo@0
|
2709 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
meillo@0
|
2710
|
meillo@0
|
2711
|
meillo@0
|
2712 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
|
meillo@0
|
2713
|
meillo@0
|
2714
|
meillo@0
|
2715 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
meillo@0
|
2716
|
meillo@0
|
2717
|
meillo@0
|
2718 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
meillo@0
|
2719
|
meillo@0
|
2720 # We need awk for the "check" target. The system "awk" is bad on
|
meillo@0
|
2721 # some platforms.
|
meillo@36
|
2722 # Always define AMTAR for backward compatibility.
|
meillo@36
|
2723
|
meillo@36
|
2724 AMTAR=${AMTAR-"${am_missing_run}tar"}
|
meillo@36
|
2725
|
meillo@36
|
2726 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
|
meillo@36
|
2727
|
meillo@36
|
2728
|
meillo@0
|
2729
|
meillo@0
|
2730
|
meillo@0
|
2731
|
meillo@0
|
2732
|
meillo@0
|
2733
|
meillo@0
|
2734
|
meillo@0
|
2735
|
meillo@0
|
2736
|
meillo@0
|
2737 ac_ext=c
|
meillo@0
|
2738 ac_cpp='$CPP $CPPFLAGS'
|
meillo@0
|
2739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
meillo@0
|
2740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
meillo@0
|
2741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
meillo@0
|
2742 if test -n "$ac_tool_prefix"; then
|
meillo@0
|
2743 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
meillo@0
|
2744 set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
meillo@36
|
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
meillo@36
|
2746 $as_echo_n "checking for $ac_word... " >&6; }
|
meillo@36
|
2747 if test "${ac_cv_prog_CC+set}" = set; then :
|
meillo@36
|
2748 $as_echo_n "(cached) " >&6
|
meillo@0
|
2749 else
|
meillo@0
|
2750 if test -n "$CC"; then
|
meillo@0
|
2751 ac_cv_prog_CC="$CC" # Let the user override the test.
|
meillo@0
|
2752 else
|
meillo@0
|
2753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
meillo@0
|
2754 for as_dir in $PATH
|
meillo@0
|
2755 do
|
meillo@0
|
2756 IFS=$as_save_IFS
|
meillo@0
|
2757 test -z "$as_dir" && as_dir=.
|
meillo@36
|
2758 for ac_exec_ext in '' $ac_executable_extensions; do
|
meillo@1
|
2759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
meillo@0
|
2760 ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
meillo@36
|
2761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
meillo@0
|
2762 break 2
|
meillo@0
|
2763 fi
|
meillo@0
|
2764 done
|
meillo@36
|
2765 done
|
meillo@1
|
2766 IFS=$as_save_IFS
|
meillo@0
|
2767
|
meillo@0
|
2768 fi
|
meillo@0
|
2769 fi
|
meillo@0
|
2770 CC=$ac_cv_prog_CC
|
meillo@0
|
2771 if test -n "$CC"; then
|
meillo@36
|
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
meillo@36
|
2773 $as_echo "$CC" >&6; }
|
meillo@36
|
2774 else
|
meillo@36
|
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
meillo@36
|
2776 $as_echo "no" >&6; }
|
meillo@1
|
2777 fi
|
meillo@1
|
2778
|
meillo@0
|
2779
|
meillo@0
|
2780 fi
|
meillo@0
|
2781 if test -z "$ac_cv_prog_CC"; then
|
meillo@0
|
2782 ac_ct_CC=$CC
|
meillo@0
|
2783 # Extract the first word of "gcc", so it can be a program name with args.
|
meillo@0
|
2784 set dummy gcc; ac_word=$2
|
meillo@36
|
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
meillo@36
|
2786 $as_echo_n "checking for $ac_word... " >&6; }
|
meillo@36
|
2787 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
meillo@36
|
2788 $as_echo_n "(cached) " >&6
|
meillo@0
|
2789 else
|
meillo@0
|
2790 if test -n "$ac_ct_CC"; then
|
meillo@0
|
2791 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
meillo@0
|
2792 else
|
meillo@0
|
2793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
meillo@0
|
2794 for as_dir in $PATH
|
meillo@0
|
2795 do
|
meillo@0
|
2796 IFS=$as_save_IFS
|
meillo@0
|
2797 test -z "$as_dir" && as_dir=.
|
meillo@36
|
2798 for ac_exec_ext in '' $ac_executable_extensions; do
|
meillo@1
|
2799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
meillo@0
|
2800 ac_cv_prog_ac_ct_CC="gcc"
|
meillo@36
|
2801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
meillo@0
|
2802 break 2
|
meillo@0
|
2803 fi
|
meillo@0
|
2804 done
|
meillo@36
|
2805 done
|
meillo@1
|
2806 IFS=$as_save_IFS
|
meillo@0
|
2807
|
meillo@0
|
2808 fi
|
meillo@0
|
2809 fi
|
meillo@0
|
2810 ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
meillo@0
|
2811 if test -n "$ac_ct_CC"; then
|
meillo@36
|
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
meillo@36
|
2813 $as_echo "$ac_ct_CC" >&6; }
|
meillo@36
|
2814 else
|
meillo@36
|
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
meillo@36
|
2816 $as_echo "no" >&6; }
|
meillo@1
|
2817 fi
|
meillo@1
|
2818
|
meillo@1
|
2819 if test "x$ac_ct_CC" = x; then
|
meillo@1
|
2820 CC=""
|
meillo@1
|
2821 else
|
meillo@1
|
2822 case $cross_compiling:$ac_tool_warned in
|
meillo@1
|
2823 yes:)
|
meillo@36
|
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
meillo@36
|
2825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
meillo@1
|
2826 ac_tool_warned=yes ;;
|
meillo@1
|
2827 esac
|
meillo@1
|
2828 CC=$ac_ct_CC
|
meillo@1
|
2829 fi
|
meillo@0
|
2830 else
|
meillo@0
|
2831 CC="$ac_cv_prog_CC"
|
meillo@0
|
2832 fi
|
meillo@0
|
2833
|
meillo@0
|
2834 if test -z "$CC"; then
|
meillo@1
|
2835 if test -n "$ac_tool_prefix"; then
|
meillo@1
|
2836 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
meillo@0
|
2837 set dummy ${ac_tool_prefix}cc; ac_word=$2
|
meillo@36
|
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
meillo@36
|
2839 $as_echo_n "checking for $ac_word... " >&6; }
|
meillo@36
|
2840 if test "${ac_cv_prog_CC+set}" = set; then :
|
meillo@36
|
2841 $as_echo_n "(cached) " >&6
|
meillo@0
|
2842 else
|
meillo@0
|
2843 if test -n "$CC"; then
|
meillo@0
|
2844 ac_cv_prog_CC="$CC" # Let the user override the test.
|
meillo@0
|
2845 else
|
meillo@0
|
2846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
meillo@0
|
2847 for as_dir in $PATH
|
meillo@0
|
2848 do
|
meillo@0
|
2849 IFS=$as_save_IFS
|
meillo@0
|
2850 test -z "$as_dir" && as_dir=.
|
meillo@36
|
2851 for ac_exec_ext in '' $ac_executable_extensions; do
|
meillo@1
|
2852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
meillo@0
|
2853 ac_cv_prog_CC="${ac_tool_prefix}cc"
|
meillo@36
|
2854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
meillo@0
|
2855 break 2
|
meillo@0
|
2856 fi
|
meillo@0
|
2857 done
|
meillo@36
|
2858 done
|
meillo@1
|
2859 IFS=$as_save_IFS
|
meillo@0
|
2860
|
meillo@0
|
2861 fi
|
meillo@0
|
2862 fi
|
meillo@0
|
2863 CC=$ac_cv_prog_CC
|
meillo@0
|
2864 if test -n "$CC"; then
|
meillo@36
|
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
meillo@36
|
2866 $as_echo "$CC" >&6; }
|
meillo@36
|
2867 else
|
meillo@36
|
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
meillo@36
|
2869 $as_echo "no" >&6; }
|
meillo@1
|
2870 fi
|
meillo@1
|
2871
|
meillo@1
|
2872
|
meillo@0
|
2873 fi
|
meillo@0
|
2874 fi
|
meillo@0
|
2875 if test -z "$CC"; then
|
meillo@0
|
2876 # Extract the first word of "cc", so it can be a program name with args.
|
meillo@0
|
2877 set dummy cc; ac_word=$2
|
meillo@36
|
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
meillo@36
|
2879 $as_echo_n "checking for $ac_word... " >&6; }
|
meillo@36
|
2880 if test "${ac_cv_prog_CC+set}" = set; then :
|
meillo@36
|
2881 $as_echo_n "(cached) " >&6
|
meillo@0
|
2882 else
|
meillo@0
|
2883 if test -n "$CC"; then
|
meillo@0
|
2884 ac_cv_prog_CC="$CC" # Let the user override the test.
|
meillo@0
|
2885 else
|
meillo@0
|
2886 ac_prog_rejected=no
|
meillo@0
|
2887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
meillo@0
|
2888 for as_dir in $PATH
|
meillo@0
|
2889 do
|
meillo@0
|
2890 IFS=$as_save_IFS
|
meillo@0
|
2891 test -z "$as_dir" && as_dir=.
|
meillo@36
|
2892 for ac_exec_ext in '' $ac_executable_extensions; do
|
meillo@1
|
2893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
meillo@0
|
2894 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
meillo@0
|
2895 ac_prog_rejected=yes
|
meillo@0
|
2896 continue
|
meillo@0
|
2897 fi
|
meillo@0
|
2898 ac_cv_prog_CC="cc"
|
meillo@36
|
2899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
meillo@0
|
2900 break 2
|
meillo@0
|
2901 fi
|
meillo@0
|
2902 done
|
meillo@36
|
2903 done
|
meillo@1
|
2904 IFS=$as_save_IFS
|
meillo@0
|
2905
|
meillo@0
|
2906 if test $ac_prog_rejected = yes; then
|
meillo@0
|
2907 # We found a bogon in the path, so make sure we never use it.
|
meillo@0
|
2908 set dummy $ac_cv_prog_CC
|
meillo@0
|
2909 shift
|
meillo@0
|
2910 if test $# != 0; then
|
meillo@0
|
2911 # We chose a different compiler from the bogus one.
|
meillo@0
|
2912 # However, it has the same basename, so the bogon will be chosen
|
meillo@0
|
2913 # first if we set CC to just the basename; use the full file name.
|
meillo@0
|
2914 shift
|
meillo@0
|
2915 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
meillo@0
|
2916 fi
|
meillo@0
|
2917 fi
|
meillo@0
|
2918 fi
|
meillo@0
|
2919 fi
|
meillo@0
|
2920 CC=$ac_cv_prog_CC
|
meillo@0
|
2921 if test -n "$CC"; then
|
meillo@36
|
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
meillo@36
|
2923 $as_echo "$CC" >&6; }
|
meillo@36
|
2924 else
|
meillo@36
|
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
meillo@36
|
2926 $as_echo "no" >&6; }
|
meillo@1
|
2927 fi
|
meillo@1
|
2928
|
meillo@0
|
2929
|
meillo@0
|
2930 fi
|
meillo@0
|
2931 if test -z "$CC"; then
|
meillo@0
|
2932 if test -n "$ac_tool_prefix"; then
|
meillo@1
|
2933 for ac_prog in cl.exe
|
meillo@0
|
2934 do
|
meillo@0
|
2935 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
meillo@0
|
2936 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
meillo@36
|
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
meillo@36
|
2938 $as_echo_n "checking for $ac_word... " >&6; }
|
meillo@36
|
2939 if test "${ac_cv_prog_CC+set}" = set; then :
|
meillo@36
|
2940 $as_echo_n "(cached) " >&6
|
meillo@0
|
2941 else
|
meillo@0
|
2942 if test -n "$CC"; then
|
meillo@0
|
2943 ac_cv_prog_CC="$CC" # Let the user override the test.
|
meillo@0
|
2944 else
|
meillo@0
|
2945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
meillo@0
|
2946 for as_dir in $PATH
|
meillo@0
|
2947 do
|
meillo@0
|
2948 IFS=$as_save_IFS
|
meillo@0
|
2949 test -z "$as_dir" && as_dir=.
|
meillo@36
|
2950 for ac_exec_ext in '' $ac_executable_extensions; do
|
meillo@1
|
2951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
meillo@0
|
2952 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
meillo@36
|
2953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
meillo@0
|
2954 break 2
|
meillo@0
|
2955 fi
|
meillo@0
|
2956 done
|
meillo@36
|
2957 done
|
meillo@1
|
2958 IFS=$as_save_IFS
|
meillo@0
|
2959
|
meillo@0
|
2960 fi
|
meillo@0
|
2961 fi
|
meillo@0
|
2962 CC=$ac_cv_prog_CC
|
meillo@0
|
2963 if test -n "$CC"; then
|
meillo@36
|
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
meillo@36
|
2965 $as_echo "$CC" >&6; }
|
meillo@36
|
2966 else
|
meillo@36
|
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
meillo@36
|
2968 $as_echo "no" >&6; }
|
meillo@1
|
2969 fi
|
meillo@1
|
2970
|
meillo@0
|
2971
|
meillo@0
|
2972 test -n "$CC" && break
|
meillo@0
|
2973 done
|
meillo@0
|
2974 fi
|
meillo@0
|
2975 if test -z "$CC"; then
|
meillo@0
|
2976 ac_ct_CC=$CC
|
meillo@1
|
2977 for ac_prog in cl.exe
|
meillo@0
|
2978 do
|
meillo@0
|
2979 # Extract the first word of "$ac_prog", so it can be a program name with args.
|
meillo@0
|
2980 set dummy $ac_prog; ac_word=$2
|
meillo@36
|
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
meillo@36
|
2982 $as_echo_n "checking for $ac_word... " >&6; }
|
meillo@36
|
2983 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
meillo@36
|
2984 $as_echo_n "(cached) " >&6
|
meillo@0
|
2985 else
|
meillo@0
|
2986 if test -n "$ac_ct_CC"; then
|
meillo@0
|
2987 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
meillo@0
|
2988 else
|
meillo@0
|
2989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
meillo@0
|
2990 for as_dir in $PATH
|
meillo@0
|
2991 do
|
meillo@0
|
2992 IFS=$as_save_IFS
|
meillo@0
|
2993 test -z "$as_dir" && as_dir=.
|
meillo@36
|
2994 for ac_exec_ext in '' $ac_executable_extensions; do
|
meillo@1
|
2995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
meillo@0
|
2996 ac_cv_prog_ac_ct_CC="$ac_prog"
|
meillo@36
|
2997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
meillo@0
|
2998 break 2
|
meillo@0
|
2999 fi
|
meillo@0
|
3000 done
|
meillo@36
|
3001 done
|
meillo@1
|
3002 IFS=$as_save_IFS
|
meillo@0
|
3003
|
meillo@0
|
3004 fi
|
meillo@0
|
3005 fi
|
meillo@0
|
3006 ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
meillo@0
|
3007 if test -n "$ac_ct_CC"; then
|
meillo@36
|
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
meillo@36
|
3009 $as_echo "$ac_ct_CC" >&6; }
|
meillo@36
|
3010 else
|
meillo@36
|
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
meillo@36
|
3012 $as_echo "no" >&6; }
|
meillo@1
|
3013 fi
|
meillo@1
|
3014
|
meillo@0
|
3015
|
meillo@0
|
3016 test -n "$ac_ct_CC" && break
|
meillo@0
|
3017 done
|
meillo@0
|
3018
|
meillo@1
|
3019 if test "x$ac_ct_CC" = x; then
|
meillo@1
|
3020 CC=""
|
meillo@1
|
3021 else
|
meillo@1
|
3022 case $cross_compiling:$ac_tool_warned in
|
meillo@1
|
3023 yes:)
|
meillo@36
|
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
meillo@36
|
3025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
meillo@1
|
3026 ac_tool_warned=yes ;;
|
meillo@1
|
3027 esac
|
meillo@1
|
3028 CC=$ac_ct_CC
|
meillo@1
|
3029 fi
|
meillo@0
|
3030 fi
|
meillo@0
|
3031
|
meillo@0
|
3032 fi
|
meillo@0
|
3033
|
meillo@0
|
3034
|
meillo@36
|
3035 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
meillo@36
|
3036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
meillo@36
|
3037 as_fn_error "no acceptable C compiler found in \$PATH
|
meillo@36
|
3038 See \`config.log' for more details." "$LINENO" 5; }
|
meillo@0
|
3039
|
meillo@0
|
3040 # Provide some information about the compiler.
|
meillo@36
|
3041 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
meillo@36
|
3042 set X $ac_compile
|
meillo@36
|
3043 ac_compiler=$2
|
meillo@36
|
3044 for ac_option in --version -v -V -qversion; do
|
meillo@36
|
3045 { { ac_try="$ac_compiler $ac_option >&5"
|
meillo@1
|
3046 case "(($ac_try" in
|
meillo@1
|
3047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
meillo@1
|
3048 *) ac_try_echo=$ac_try;;
|
meillo@1
|
3049 esac
|
meillo@36
|
3050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
meillo@36
|
3051 $as_echo "$ac_try_echo"; } >&5
|
meillo@36
|
3052 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
meillo@0
|
3053 ac_status=$?
|
meillo@36
|
3054 if test -s conftest.err; then
|
meillo@36
|
3055 sed '10a\
|
meillo@36
|
3056 ... rest of stderr output deleted ...
|
meillo@36
|
3057 10q' conftest.err >conftest.er1
|
meillo@36
|
3058 cat conftest.er1 >&5
|
meillo@36
|
3059 fi
|
meillo@36
|
3060 rm -f conftest.er1 conftest.err
|
meillo@36
|
3061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
meillo@36
|
3062 test $ac_status = 0; }
|
meillo@36
|
3063 done
|
meillo@36
|
3064
|
meillo@36
|
3065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
3066 /* end confdefs.h. */
|
meillo@0
|
3067
|
meillo@0
|
3068 int
|
meillo@0
|
3069 main ()
|
meillo@0
|
3070 {
|
meillo@0
|
3071
|
meillo@0
|
3072 ;
|
meillo@0
|
3073 return 0;
|
meillo@0
|
3074 }
|
meillo@0
|
3075 _ACEOF
|
meillo@0
|
3076 ac_clean_files_save=$ac_clean_files
|
meillo@36
|
3077 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
meillo@0
|
3078 # Try to create an executable without -o first, disregard a.out.
|
meillo@0
|
3079 # It will help us diagnose broken compilers, and finding out an intuition
|
meillo@0
|
3080 # of exeext.
|
meillo@36
|
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
meillo@36
|
3082 $as_echo_n "checking whether the C compiler works... " >&6; }
|
meillo@36
|
3083 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
meillo@36
|
3084
|
meillo@36
|
3085 # The possible output files:
|
meillo@36
|
3086 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
meillo@36
|
3087
|
meillo@1
|
3088 ac_rmfiles=
|
meillo@1
|
3089 for ac_file in $ac_files
|
meillo@1
|
3090 do
|
meillo@1
|
3091 case $ac_file in
|
meillo@36
|
3092 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
meillo@1
|
3093 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
meillo@1
|
3094 esac
|
meillo@1
|
3095 done
|
meillo@1
|
3096 rm -f $ac_rmfiles
|
meillo@1
|
3097
|
meillo@36
|
3098 if { { ac_try="$ac_link_default"
|
meillo@1
|
3099 case "(($ac_try" in
|
meillo@1
|
3100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
meillo@1
|
3101 *) ac_try_echo=$ac_try;;
|
meillo@1
|
3102 esac
|
meillo@36
|
3103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
meillo@36
|
3104 $as_echo "$ac_try_echo"; } >&5
|
meillo@1
|
3105 (eval "$ac_link_default") 2>&5
|
meillo@0
|
3106 ac_status=$?
|
meillo@36
|
3107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
meillo@36
|
3108 test $ac_status = 0; }; then :
|
meillo@1
|
3109 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
meillo@1
|
3110 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
meillo@1
|
3111 # in a Makefile. We should not override ac_cv_exeext if it was cached,
|
meillo@1
|
3112 # so that the user can short-circuit this test for compilers unknown to
|
meillo@1
|
3113 # Autoconf.
|
meillo@1
|
3114 for ac_file in $ac_files ''
|
meillo@0
|
3115 do
|
meillo@0
|
3116 test -f "$ac_file" || continue
|
meillo@0
|
3117 case $ac_file in
|
meillo@36
|
3118 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
meillo@0
|
3119 ;;
|
meillo@0
|
3120 [ab].out )
|
meillo@0
|
3121 # We found the default executable, but exeext='' is most
|
meillo@0
|
3122 # certainly right.
|
meillo@0
|
3123 break;;
|
meillo@0
|
3124 *.* )
|
meillo@36
|
3125 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
meillo@1
|
3126 then :; else
|
meillo@1
|
3127 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
meillo@1
|
3128 fi
|
meillo@1
|
3129 # We set ac_cv_exeext here because the later test for it is not
|
meillo@1
|
3130 # safe: cross compilers may not add the suffix if given an `-o'
|
meillo@1
|
3131 # argument, so we may need to know it at that point already.
|
meillo@1
|
3132 # Even if this section looks crufty: it has the advantage of
|
meillo@1
|
3133 # actually working.
|
meillo@0
|
3134 break;;
|
meillo@0
|
3135 * )
|
meillo@0
|
3136 break;;
|
meillo@0
|
3137 esac
|
meillo@0
|
3138 done
|
meillo@1
|
3139 test "$ac_cv_exeext" = no && ac_cv_exeext=
|
meillo@1
|
3140
|
meillo@1
|
3141 else
|
meillo@1
|
3142 ac_file=''
|
meillo@1
|
3143 fi
|
meillo@36
|
3144 if test -z "$ac_file"; then :
|
meillo@36
|
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
meillo@36
|
3146 $as_echo "no" >&6; }
|
meillo@36
|
3147 $as_echo "$as_me: failed program was:" >&5
|
meillo@0
|
3148 sed 's/^/| /' conftest.$ac_ext >&5
|
meillo@0
|
3149
|
meillo@36
|
3150 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
meillo@36
|
3151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
meillo@36
|
3152 { as_fn_set_status 77
|
meillo@36
|
3153 as_fn_error "C compiler cannot create executables
|
meillo@36
|
3154 See \`config.log' for more details." "$LINENO" 5; }; }
|
meillo@36
|
3155 else
|
meillo@36
|
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
meillo@36
|
3157 $as_echo "yes" >&6; }
|
meillo@36
|
3158 fi
|
meillo@36
|
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
meillo@36
|
3160 $as_echo_n "checking for C compiler default output file name... " >&6; }
|
meillo@36
|
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
meillo@36
|
3162 $as_echo "$ac_file" >&6; }
|
meillo@0
|
3163 ac_exeext=$ac_cv_exeext
|
meillo@1
|
3164
|
meillo@36
|
3165 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
meillo@0
|
3166 ac_clean_files=$ac_clean_files_save
|
meillo@36
|
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
meillo@36
|
3168 $as_echo_n "checking for suffix of executables... " >&6; }
|
meillo@36
|
3169 if { { ac_try="$ac_link"
|
meillo@1
|
3170 case "(($ac_try" in
|
meillo@1
|
3171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
meillo@1
|
3172 *) ac_try_echo=$ac_try;;
|
meillo@1
|
3173 esac
|
meillo@36
|
3174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
meillo@36
|
3175 $as_echo "$ac_try_echo"; } >&5
|
meillo@1
|
3176 (eval "$ac_link") 2>&5
|
meillo@0
|
3177 ac_status=$?
|
meillo@36
|
3178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
meillo@36
|
3179 test $ac_status = 0; }; then :
|
meillo@0
|
3180 # If both `conftest.exe' and `conftest' are `present' (well, observable)
|
meillo@0
|
3181 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
meillo@0
|
3182 # work properly (i.e., refer to `conftest.exe'), while it won't with
|
meillo@0
|
3183 # `rm'.
|
meillo@0
|
3184 for ac_file in conftest.exe conftest conftest.*; do
|
meillo@0
|
3185 test -f "$ac_file" || continue
|
meillo@0
|
3186 case $ac_file in
|
meillo@36
|
3187 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
meillo@0
|
3188 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
meillo@0
|
3189 break;;
|
meillo@0
|
3190 * ) break;;
|
meillo@0
|
3191 esac
|
meillo@0
|
3192 done
|
meillo@0
|
3193 else
|
meillo@36
|
3194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
meillo@36
|
3195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
meillo@36
|
3196 as_fn_error "cannot compute suffix of executables: cannot compile and link
|
meillo@36
|
3197 See \`config.log' for more details." "$LINENO" 5; }
|
meillo@36
|
3198 fi
|
meillo@36
|
3199 rm -f conftest conftest$ac_cv_exeext
|
meillo@36
|
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
meillo@36
|
3201 $as_echo "$ac_cv_exeext" >&6; }
|
meillo@0
|
3202
|
meillo@0
|
3203 rm -f conftest.$ac_ext
|
meillo@0
|
3204 EXEEXT=$ac_cv_exeext
|
meillo@0
|
3205 ac_exeext=$EXEEXT
|
meillo@36
|
3206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@36
|
3207 /* end confdefs.h. */
|
meillo@36
|
3208 #include <stdio.h>
|
meillo@36
|
3209 int
|
meillo@36
|
3210 main ()
|
meillo@36
|
3211 {
|
meillo@36
|
3212 FILE *f = fopen ("conftest.out", "w");
|
meillo@36
|
3213 return ferror (f) || fclose (f) != 0;
|
meillo@36
|
3214
|
meillo@36
|
3215 ;
|
meillo@36
|
3216 return 0;
|
meillo@36
|
3217 }
|
meillo@0
|
3218 _ACEOF
|
meillo@36
|
3219 ac_clean_files="$ac_clean_files conftest.out"
|
meillo@36
|
3220 # Check that the compiler produces executables we can run. If not, either
|
meillo@36
|
3221 # the compiler is broken, or we cross compile.
|
meillo@36
|
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
meillo@36
|
3223 $as_echo_n "checking whether we are cross compiling... " >&6; }
|
meillo@36
|
3224 if test "$cross_compiling" != yes; then
|
meillo@36
|
3225 { { ac_try="$ac_link"
|
meillo@36
|
3226 case "(($ac_try" in
|
meillo@36
|
3227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
meillo@36
|
3228 *) ac_try_echo=$ac_try;;
|
meillo@36
|
3229 esac
|
meillo@36
|
3230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
meillo@36
|
3231 $as_echo "$ac_try_echo"; } >&5
|
meillo@36
|
3232 (eval "$ac_link") 2>&5
|
meillo@36
|
3233 ac_status=$?
|
meillo@36
|
3234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
meillo@36
|
3235 test $ac_status = 0; }
|
meillo@36
|
3236 if { ac_try='./conftest$ac_cv_exeext'
|
meillo@36
|
3237 { { case "(($ac_try" in
|
meillo@36
|
3238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
meillo@36
|
3239 *) ac_try_echo=$ac_try;;
|
meillo@36
|
3240 esac
|
meillo@36
|
3241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
meillo@36
|
3242 $as_echo "$ac_try_echo"; } >&5
|
meillo@36
|
3243 (eval "$ac_try") 2>&5
|
meillo@36
|
3244 ac_status=$?
|
meillo@36
|
3245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
meillo@36
|
3246 test $ac_status = 0; }; }; then
|
meillo@36
|
3247 cross_compiling=no
|
meillo@36
|
3248 else
|
meillo@36
|
3249 if test "$cross_compiling" = maybe; then
|
meillo@36
|
3250 cross_compiling=yes
|
meillo@36
|
3251 else
|
meillo@36
|
3252 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
meillo@36
|
3253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
meillo@36
|
3254 as_fn_error "cannot run C compiled programs.
|
meillo@36
|
3255 If you meant to cross compile, use \`--host'.
|
meillo@36
|
3256 See \`config.log' for more details." "$LINENO" 5; }
|
meillo@36
|
3257 fi
|
meillo@36
|
3258 fi
|
meillo@36
|
3259 fi
|
meillo@36
|
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
meillo@36
|
3261 $as_echo "$cross_compiling" >&6; }
|
meillo@36
|
3262
|
meillo@36
|
3263 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
meillo@36
|
3264 ac_clean_files=$ac_clean_files_save
|
meillo@36
|
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
meillo@36
|
3266 $as_echo_n "checking for suffix of object files... " >&6; }
|
meillo@36
|
3267 if test "${ac_cv_objext+set}" = set; then :
|
meillo@36
|
3268 $as_echo_n "(cached) " >&6
|
meillo@36
|
3269 else
|
meillo@36
|
3270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
3271 /* end confdefs.h. */
|
meillo@0
|
3272
|
meillo@0
|
3273 int
|
meillo@0
|
3274 main ()
|
meillo@0
|
3275 {
|
meillo@0
|
3276
|
meillo@0
|
3277 ;
|
meillo@0
|
3278 return 0;
|
meillo@0
|
3279 }
|
meillo@0
|
3280 _ACEOF
|
meillo@0
|
3281 rm -f conftest.o conftest.obj
|
meillo@36
|
3282 if { { ac_try="$ac_compile"
|
meillo@1
|
3283 case "(($ac_try" in
|
meillo@1
|
3284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
meillo@1
|
3285 *) ac_try_echo=$ac_try;;
|
meillo@1
|
3286 esac
|
meillo@36
|
3287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
meillo@36
|
3288 $as_echo "$ac_try_echo"; } >&5
|
meillo@1
|
3289 (eval "$ac_compile") 2>&5
|
meillo@0
|
3290 ac_status=$?
|
meillo@36
|
3291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
meillo@36
|
3292 test $ac_status = 0; }; then :
|
meillo@1
|
3293 for ac_file in conftest.o conftest.obj conftest.*; do
|
meillo@1
|
3294 test -f "$ac_file" || continue;
|
meillo@0
|
3295 case $ac_file in
|
meillo@36
|
3296 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
meillo@0
|
3297 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
meillo@0
|
3298 break;;
|
meillo@0
|
3299 esac
|
meillo@0
|
3300 done
|
meillo@0
|
3301 else
|
meillo@36
|
3302 $as_echo "$as_me: failed program was:" >&5
|
meillo@0
|
3303 sed 's/^/| /' conftest.$ac_ext >&5
|
meillo@0
|
3304
|
meillo@36
|
3305 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
meillo@36
|
3306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
meillo@36
|
3307 as_fn_error "cannot compute suffix of object files: cannot compile
|
meillo@36
|
3308 See \`config.log' for more details." "$LINENO" 5; }
|
meillo@36
|
3309 fi
|
meillo@0
|
3310 rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
meillo@0
|
3311 fi
|
meillo@36
|
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
meillo@36
|
3313 $as_echo "$ac_cv_objext" >&6; }
|
meillo@0
|
3314 OBJEXT=$ac_cv_objext
|
meillo@0
|
3315 ac_objext=$OBJEXT
|
meillo@36
|
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
meillo@36
|
3317 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
meillo@36
|
3318 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
|
meillo@36
|
3319 $as_echo_n "(cached) " >&6
|
meillo@36
|
3320 else
|
meillo@36
|
3321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
3322 /* end confdefs.h. */
|
meillo@0
|
3323
|
meillo@0
|
3324 int
|
meillo@0
|
3325 main ()
|
meillo@0
|
3326 {
|
meillo@0
|
3327 #ifndef __GNUC__
|
meillo@0
|
3328 choke me
|
meillo@0
|
3329 #endif
|
meillo@0
|
3330
|
meillo@0
|
3331 ;
|
meillo@0
|
3332 return 0;
|
meillo@0
|
3333 }
|
meillo@0
|
3334 _ACEOF
|
meillo@36
|
3335 if ac_fn_c_try_compile "$LINENO"; then :
|
meillo@0
|
3336 ac_compiler_gnu=yes
|
meillo@0
|
3337 else
|
meillo@36
|
3338 ac_compiler_gnu=no
|
meillo@36
|
3339 fi
|
meillo@1
|
3340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
meillo@0
|
3341 ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
meillo@0
|
3342
|
meillo@0
|
3343 fi
|
meillo@36
|
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
meillo@36
|
3345 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
meillo@36
|
3346 if test $ac_compiler_gnu = yes; then
|
meillo@36
|
3347 GCC=yes
|
meillo@36
|
3348 else
|
meillo@36
|
3349 GCC=
|
meillo@36
|
3350 fi
|
meillo@0
|
3351 ac_test_CFLAGS=${CFLAGS+set}
|
meillo@0
|
3352 ac_save_CFLAGS=$CFLAGS
|
meillo@36
|
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
meillo@36
|
3354 $as_echo_n "checking whether $CC accepts -g... " >&6; }
|
meillo@36
|
3355 if test "${ac_cv_prog_cc_g+set}" = set; then :
|
meillo@36
|
3356 $as_echo_n "(cached) " >&6
|
meillo@0
|
3357 else
|
meillo@1
|
3358 ac_save_c_werror_flag=$ac_c_werror_flag
|
meillo@1
|
3359 ac_c_werror_flag=yes
|
meillo@1
|
3360 ac_cv_prog_cc_g=no
|
meillo@1
|
3361 CFLAGS="-g"
|
meillo@36
|
3362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
3363 /* end confdefs.h. */
|
meillo@0
|
3364
|
meillo@0
|
3365 int
|
meillo@0
|
3366 main ()
|
meillo@0
|
3367 {
|
meillo@0
|
3368
|
meillo@0
|
3369 ;
|
meillo@0
|
3370 return 0;
|
meillo@0
|
3371 }
|
meillo@0
|
3372 _ACEOF
|
meillo@36
|
3373 if ac_fn_c_try_compile "$LINENO"; then :
|
meillo@0
|
3374 ac_cv_prog_cc_g=yes
|
meillo@0
|
3375 else
|
meillo@36
|
3376 CFLAGS=""
|
meillo@36
|
3377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@1
|
3378 /* end confdefs.h. */
|
meillo@1
|
3379
|
meillo@1
|
3380 int
|
meillo@1
|
3381 main ()
|
meillo@1
|
3382 {
|
meillo@1
|
3383
|
meillo@1
|
3384 ;
|
meillo@1
|
3385 return 0;
|
meillo@1
|
3386 }
|
meillo@1
|
3387 _ACEOF
|
meillo@36
|
3388 if ac_fn_c_try_compile "$LINENO"; then :
|
meillo@36
|
3389
|
meillo@36
|
3390 else
|
meillo@36
|
3391 ac_c_werror_flag=$ac_save_c_werror_flag
|
meillo@1
|
3392 CFLAGS="-g"
|
meillo@36
|
3393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@1
|
3394 /* end confdefs.h. */
|
meillo@1
|
3395
|
meillo@1
|
3396 int
|
meillo@1
|
3397 main ()
|
meillo@1
|
3398 {
|
meillo@1
|
3399
|
meillo@1
|
3400 ;
|
meillo@1
|
3401 return 0;
|
meillo@1
|
3402 }
|
meillo@1
|
3403 _ACEOF
|
meillo@36
|
3404 if ac_fn_c_try_compile "$LINENO"; then :
|
meillo@1
|
3405 ac_cv_prog_cc_g=yes
|
meillo@36
|
3406 fi
|
meillo@1
|
3407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
meillo@1
|
3408 fi
|
meillo@1
|
3409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
meillo@1
|
3410 fi
|
meillo@1
|
3411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
meillo@1
|
3412 ac_c_werror_flag=$ac_save_c_werror_flag
|
meillo@1
|
3413 fi
|
meillo@36
|
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
meillo@36
|
3415 $as_echo "$ac_cv_prog_cc_g" >&6; }
|
meillo@0
|
3416 if test "$ac_test_CFLAGS" = set; then
|
meillo@0
|
3417 CFLAGS=$ac_save_CFLAGS
|
meillo@0
|
3418 elif test $ac_cv_prog_cc_g = yes; then
|
meillo@0
|
3419 if test "$GCC" = yes; then
|
meillo@0
|
3420 CFLAGS="-g -O2"
|
meillo@0
|
3421 else
|
meillo@0
|
3422 CFLAGS="-g"
|
meillo@0
|
3423 fi
|
meillo@0
|
3424 else
|
meillo@0
|
3425 if test "$GCC" = yes; then
|
meillo@0
|
3426 CFLAGS="-O2"
|
meillo@0
|
3427 else
|
meillo@0
|
3428 CFLAGS=
|
meillo@0
|
3429 fi
|
meillo@0
|
3430 fi
|
meillo@36
|
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
meillo@36
|
3432 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
meillo@36
|
3433 if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
meillo@36
|
3434 $as_echo_n "(cached) " >&6
|
meillo@0
|
3435 else
|
meillo@1
|
3436 ac_cv_prog_cc_c89=no
|
meillo@0
|
3437 ac_save_CC=$CC
|
meillo@36
|
3438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
3439 /* end confdefs.h. */
|
meillo@0
|
3440 #include <stdarg.h>
|
meillo@0
|
3441 #include <stdio.h>
|
meillo@0
|
3442 #include <sys/types.h>
|
meillo@0
|
3443 #include <sys/stat.h>
|
meillo@0
|
3444 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
meillo@0
|
3445 struct buf { int x; };
|
meillo@0
|
3446 FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
meillo@0
|
3447 static char *e (p, i)
|
meillo@0
|
3448 char **p;
|
meillo@0
|
3449 int i;
|
meillo@0
|
3450 {
|
meillo@0
|
3451 return p[i];
|
meillo@0
|
3452 }
|
meillo@0
|
3453 static char *f (char * (*g) (char **, int), char **p, ...)
|
meillo@0
|
3454 {
|
meillo@0
|
3455 char *s;
|
meillo@0
|
3456 va_list v;
|
meillo@0
|
3457 va_start (v,p);
|
meillo@0
|
3458 s = g (p, va_arg (v,int));
|
meillo@0
|
3459 va_end (v);
|
meillo@0
|
3460 return s;
|
meillo@0
|
3461 }
|
meillo@0
|
3462
|
meillo@0
|
3463 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
meillo@0
|
3464 function prototypes and stuff, but not '\xHH' hex character constants.
|
meillo@0
|
3465 These don't provoke an error unfortunately, instead are silently treated
|
meillo@1
|
3466 as 'x'. The following induces an error, until -std is added to get
|
meillo@0
|
3467 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
meillo@0
|
3468 array size at least. It's necessary to write '\x00'==0 to get something
|
meillo@1
|
3469 that's true only with -std. */
|
meillo@0
|
3470 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
meillo@0
|
3471
|
meillo@1
|
3472 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
meillo@1
|
3473 inside strings and character constants. */
|
meillo@1
|
3474 #define FOO(x) 'x'
|
meillo@1
|
3475 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
meillo@1
|
3476
|
meillo@0
|
3477 int test (int i, double x);
|
meillo@0
|
3478 struct s1 {int (*f) (int a);};
|
meillo@0
|
3479 struct s2 {int (*f) (double a);};
|
meillo@0
|
3480 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
meillo@0
|
3481 int argc;
|
meillo@0
|
3482 char **argv;
|
meillo@0
|
3483 int
|
meillo@0
|
3484 main ()
|
meillo@0
|
3485 {
|
meillo@0
|
3486 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
meillo@0
|
3487 ;
|
meillo@0
|
3488 return 0;
|
meillo@0
|
3489 }
|
meillo@0
|
3490 _ACEOF
|
meillo@1
|
3491 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
meillo@1
|
3492 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
meillo@0
|
3493 do
|
meillo@0
|
3494 CC="$ac_save_CC $ac_arg"
|
meillo@36
|
3495 if ac_fn_c_try_compile "$LINENO"; then :
|
meillo@1
|
3496 ac_cv_prog_cc_c89=$ac_arg
|
meillo@36
|
3497 fi
|
meillo@1
|
3498 rm -f core conftest.err conftest.$ac_objext
|
meillo@1
|
3499 test "x$ac_cv_prog_cc_c89" != "xno" && break
|
meillo@0
|
3500 done
|
meillo@1
|
3501 rm -f conftest.$ac_ext
|
meillo@0
|
3502 CC=$ac_save_CC
|
meillo@0
|
3503
|
meillo@0
|
3504 fi
|
meillo@1
|
3505 # AC_CACHE_VAL
|
meillo@1
|
3506 case "x$ac_cv_prog_cc_c89" in
|
meillo@1
|
3507 x)
|
meillo@36
|
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
meillo@36
|
3509 $as_echo "none needed" >&6; } ;;
|
meillo@1
|
3510 xno)
|
meillo@36
|
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
meillo@36
|
3512 $as_echo "unsupported" >&6; } ;;
|
meillo@0
|
3513 *)
|
meillo@1
|
3514 CC="$CC $ac_cv_prog_cc_c89"
|
meillo@36
|
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
meillo@36
|
3516 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
meillo@0
|
3517 esac
|
meillo@36
|
3518 if test "x$ac_cv_prog_cc_c89" != xno; then :
|
meillo@36
|
3519
|
meillo@36
|
3520 fi
|
meillo@1
|
3521
|
meillo@0
|
3522 ac_ext=c
|
meillo@0
|
3523 ac_cpp='$CPP $CPPFLAGS'
|
meillo@0
|
3524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
meillo@0
|
3525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
meillo@0
|
3526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
meillo@0
|
3527 DEPDIR="${am__leading_dot}deps"
|
meillo@0
|
3528
|
meillo@1
|
3529 ac_config_commands="$ac_config_commands depfiles"
|
meillo@0
|
3530
|
meillo@0
|
3531
|
meillo@0
|
3532 am_make=${MAKE-make}
|
meillo@0
|
3533 cat > confinc << 'END'
|
meillo@0
|
3534 am__doit:
|
meillo@36
|
3535 @echo this is the am__doit target
|
meillo@0
|
3536 .PHONY: am__doit
|
meillo@0
|
3537 END
|
meillo@0
|
3538 # If we don't find an include directive, just comment out the code.
|
meillo@36
|
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
|
meillo@36
|
3540 $as_echo_n "checking for style of include used by $am_make... " >&6; }
|
meillo@0
|
3541 am__include="#"
|
meillo@0
|
3542 am__quote=
|
meillo@0
|
3543 _am_result=none
|
meillo@0
|
3544 # First try GNU make style include.
|
meillo@0
|
3545 echo "include confinc" > confmf
|
meillo@36
|
3546 # Ignore all kinds of additional output from `make'.
|
meillo@36
|
3547 case `$am_make -s -f confmf 2> /dev/null` in #(
|
meillo@36
|
3548 *the\ am__doit\ target*)
|
meillo@36
|
3549 am__include=include
|
meillo@36
|
3550 am__quote=
|
meillo@36
|
3551 _am_result=GNU
|
meillo@36
|
3552 ;;
|
meillo@36
|
3553 esac
|
meillo@0
|
3554 # Now try BSD make style include.
|
meillo@0
|
3555 if test "$am__include" = "#"; then
|
meillo@0
|
3556 echo '.include "confinc"' > confmf
|
meillo@36
|
3557 case `$am_make -s -f confmf 2> /dev/null` in #(
|
meillo@36
|
3558 *the\ am__doit\ target*)
|
meillo@36
|
3559 am__include=.include
|
meillo@36
|
3560 am__quote="\""
|
meillo@36
|
3561 _am_result=BSD
|
meillo@36
|
3562 ;;
|
meillo@36
|
3563 esac
|
meillo@36
|
3564 fi
|
meillo@36
|
3565
|
meillo@36
|
3566
|
meillo@36
|
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
meillo@36
|
3568 $as_echo "$_am_result" >&6; }
|
meillo@0
|
3569 rm -f confinc confmf
|
meillo@0
|
3570
|
meillo@1
|
3571 # Check whether --enable-dependency-tracking was given.
|
meillo@36
|
3572 if test "${enable_dependency_tracking+set}" = set; then :
|
meillo@1
|
3573 enableval=$enable_dependency_tracking;
|
meillo@1
|
3574 fi
|
meillo@1
|
3575
|
meillo@0
|
3576 if test "x$enable_dependency_tracking" != xno; then
|
meillo@0
|
3577 am_depcomp="$ac_aux_dir/depcomp"
|
meillo@0
|
3578 AMDEPBACKSLASH='\'
|
meillo@0
|
3579 fi
|
meillo@36
|
3580 if test "x$enable_dependency_tracking" != xno; then
|
meillo@0
|
3581 AMDEP_TRUE=
|
meillo@0
|
3582 AMDEP_FALSE='#'
|
meillo@0
|
3583 else
|
meillo@0
|
3584 AMDEP_TRUE='#'
|
meillo@0
|
3585 AMDEP_FALSE=
|
meillo@0
|
3586 fi
|
meillo@0
|
3587
|
meillo@0
|
3588
|
meillo@0
|
3589
|
meillo@0
|
3590 depcc="$CC" am_compiler_list=
|
meillo@0
|
3591
|
meillo@36
|
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
meillo@36
|
3593 $as_echo_n "checking dependency style of $depcc... " >&6; }
|
meillo@36
|
3594 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
|
meillo@36
|
3595 $as_echo_n "(cached) " >&6
|
meillo@0
|
3596 else
|
meillo@0
|
3597 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
meillo@0
|
3598 # We make a subdir and do the tests there. Otherwise we can end up
|
meillo@0
|
3599 # making bogus files that we don't know about and never remove. For
|
meillo@0
|
3600 # instance it was reported that on HP-UX the gcc test will end up
|
meillo@0
|
3601 # making a dummy file named `D' -- because `-MD' means `put the output
|
meillo@0
|
3602 # in D'.
|
meillo@0
|
3603 mkdir conftest.dir
|
meillo@0
|
3604 # Copy depcomp to subdir because otherwise we won't find it if we're
|
meillo@0
|
3605 # using a relative directory.
|
meillo@0
|
3606 cp "$am_depcomp" conftest.dir
|
meillo@0
|
3607 cd conftest.dir
|
meillo@0
|
3608 # We will build objects and dependencies in a subdirectory because
|
meillo@0
|
3609 # it helps to detect inapplicable dependency modes. For instance
|
meillo@0
|
3610 # both Tru64's cc and ICC support -MD to output dependencies as a
|
meillo@0
|
3611 # side effect of compilation, but ICC will put the dependencies in
|
meillo@0
|
3612 # the current directory while Tru64 will put them in the object
|
meillo@0
|
3613 # directory.
|
meillo@0
|
3614 mkdir sub
|
meillo@0
|
3615
|
meillo@0
|
3616 am_cv_CC_dependencies_compiler_type=none
|
meillo@0
|
3617 if test "$am_compiler_list" = ""; then
|
meillo@0
|
3618 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
meillo@0
|
3619 fi
|
meillo@36
|
3620 am__universal=false
|
meillo@36
|
3621 case " $depcc " in #(
|
meillo@36
|
3622 *\ -arch\ *\ -arch\ *) am__universal=true ;;
|
meillo@36
|
3623 esac
|
meillo@36
|
3624
|
meillo@0
|
3625 for depmode in $am_compiler_list; do
|
meillo@0
|
3626 # Setup a source with many dependencies, because some compilers
|
meillo@0
|
3627 # like to wrap large dependency lists on column 80 (with \), and
|
meillo@0
|
3628 # we should not choose a depcomp mode which is confused by this.
|
meillo@0
|
3629 #
|
meillo@0
|
3630 # We need to recreate these files for each test, as the compiler may
|
meillo@0
|
3631 # overwrite some of them when testing with obscure command lines.
|
meillo@0
|
3632 # This happens at least with the AIX C compiler.
|
meillo@0
|
3633 : > sub/conftest.c
|
meillo@0
|
3634 for i in 1 2 3 4 5 6; do
|
meillo@0
|
3635 echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
meillo@36
|
3636 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
meillo@36
|
3637 # Solaris 8's {/usr,}/bin/sh.
|
meillo@36
|
3638 touch sub/conftst$i.h
|
meillo@0
|
3639 done
|
meillo@0
|
3640 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
meillo@0
|
3641
|
meillo@36
|
3642 # We check with `-c' and `-o' for the sake of the "dashmstdout"
|
meillo@36
|
3643 # mode. It turns out that the SunPro C++ compiler does not properly
|
meillo@36
|
3644 # handle `-M -o', and we need to detect this. Also, some Intel
|
meillo@36
|
3645 # versions had trouble with output in subdirs
|
meillo@36
|
3646 am__obj=sub/conftest.${OBJEXT-o}
|
meillo@36
|
3647 am__minus_obj="-o $am__obj"
|
meillo@0
|
3648 case $depmode in
|
meillo@36
|
3649 gcc)
|
meillo@36
|
3650 # This depmode causes a compiler race in universal mode.
|
meillo@36
|
3651 test "$am__universal" = false || continue
|
meillo@36
|
3652 ;;
|
meillo@0
|
3653 nosideeffect)
|
meillo@0
|
3654 # after this tag, mechanisms are not by side-effect, so they'll
|
meillo@0
|
3655 # only be used when explicitly requested
|
meillo@0
|
3656 if test "x$enable_dependency_tracking" = xyes; then
|
meillo@0
|
3657 continue
|
meillo@0
|
3658 else
|
meillo@0
|
3659 break
|
meillo@0
|
3660 fi
|
meillo@0
|
3661 ;;
|
meillo@36
|
3662 msvisualcpp | msvcmsys)
|
meillo@36
|
3663 # This compiler won't grok `-c -o', but also, the minuso test has
|
meillo@36
|
3664 # not run yet. These depmodes are late enough in the game, and
|
meillo@36
|
3665 # so weak that their functioning should not be impacted.
|
meillo@36
|
3666 am__obj=conftest.${OBJEXT-o}
|
meillo@36
|
3667 am__minus_obj=
|
meillo@36
|
3668 ;;
|
meillo@0
|
3669 none) break ;;
|
meillo@0
|
3670 esac
|
meillo@0
|
3671 if depmode=$depmode \
|
meillo@36
|
3672 source=sub/conftest.c object=$am__obj \
|
meillo@0
|
3673 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
meillo@36
|
3674 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
meillo@0
|
3675 >/dev/null 2>conftest.err &&
|
meillo@36
|
3676 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
meillo@0
|
3677 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
meillo@36
|
3678 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
meillo@0
|
3679 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
meillo@0
|
3680 # icc doesn't choke on unknown options, it will just issue warnings
|
meillo@36
|
3681 # or remarks (even with -Werror). So we grep stderr for any message
|
meillo@36
|
3682 # that says an option was ignored or not supported.
|
meillo@36
|
3683 # When given -MP, icc 7.0 and 7.1 complain thusly:
|
meillo@36
|
3684 # icc: Command line warning: ignoring option '-M'; no argument required
|
meillo@36
|
3685 # The diagnosis changed in icc 8.0:
|
meillo@36
|
3686 # icc: Command line remark: option '-MP' not supported
|
meillo@36
|
3687 if (grep 'ignoring option' conftest.err ||
|
meillo@36
|
3688 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
meillo@0
|
3689 am_cv_CC_dependencies_compiler_type=$depmode
|
meillo@0
|
3690 break
|
meillo@0
|
3691 fi
|
meillo@0
|
3692 fi
|
meillo@0
|
3693 done
|
meillo@0
|
3694
|
meillo@0
|
3695 cd ..
|
meillo@0
|
3696 rm -rf conftest.dir
|
meillo@0
|
3697 else
|
meillo@0
|
3698 am_cv_CC_dependencies_compiler_type=none
|
meillo@0
|
3699 fi
|
meillo@0
|
3700
|
meillo@0
|
3701 fi
|
meillo@36
|
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
meillo@36
|
3703 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
meillo@0
|
3704 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
meillo@0
|
3705
|
meillo@36
|
3706 if
|
meillo@0
|
3707 test "x$enable_dependency_tracking" != xno \
|
meillo@0
|
3708 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
|
meillo@0
|
3709 am__fastdepCC_TRUE=
|
meillo@0
|
3710 am__fastdepCC_FALSE='#'
|
meillo@0
|
3711 else
|
meillo@0
|
3712 am__fastdepCC_TRUE='#'
|
meillo@0
|
3713 am__fastdepCC_FALSE=
|
meillo@0
|
3714 fi
|
meillo@0
|
3715
|
meillo@0
|
3716
|
meillo@0
|
3717
|
meillo@36
|
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
|
meillo@36
|
3719 $as_echo_n "checking for library containing strerror... " >&6; }
|
meillo@36
|
3720 if test "${ac_cv_search_strerror+set}" = set; then :
|
meillo@36
|
3721 $as_echo_n "(cached) " >&6
|
meillo@0
|
3722 else
|
meillo@1
|
3723 ac_func_search_save_LIBS=$LIBS
|
meillo@36
|
3724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
3725 /* end confdefs.h. */
|
meillo@0
|
3726
|
meillo@1
|
3727 /* Override any GCC internal prototype to avoid an error.
|
meillo@1
|
3728 Use char because int might match the return type of a GCC
|
meillo@1
|
3729 builtin and then its argument prototype would still apply. */
|
meillo@0
|
3730 #ifdef __cplusplus
|
meillo@0
|
3731 extern "C"
|
meillo@0
|
3732 #endif
|
meillo@0
|
3733 char strerror ();
|
meillo@0
|
3734 int
|
meillo@0
|
3735 main ()
|
meillo@0
|
3736 {
|
meillo@1
|
3737 return strerror ();
|
meillo@0
|
3738 ;
|
meillo@0
|
3739 return 0;
|
meillo@0
|
3740 }
|
meillo@0
|
3741 _ACEOF
|
meillo@1
|
3742 for ac_lib in '' cposix; do
|
meillo@1
|
3743 if test -z "$ac_lib"; then
|
meillo@1
|
3744 ac_res="none required"
|
meillo@1
|
3745 else
|
meillo@1
|
3746 ac_res=-l$ac_lib
|
meillo@1
|
3747 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
meillo@1
|
3748 fi
|
meillo@36
|
3749 if ac_fn_c_try_link "$LINENO"; then :
|
meillo@1
|
3750 ac_cv_search_strerror=$ac_res
|
meillo@36
|
3751 fi
|
meillo@36
|
3752 rm -f core conftest.err conftest.$ac_objext \
|
meillo@36
|
3753 conftest$ac_exeext
|
meillo@36
|
3754 if test "${ac_cv_search_strerror+set}" = set; then :
|
meillo@1
|
3755 break
|
meillo@1
|
3756 fi
|
meillo@1
|
3757 done
|
meillo@36
|
3758 if test "${ac_cv_search_strerror+set}" = set; then :
|
meillo@36
|
3759
|
meillo@1
|
3760 else
|
meillo@1
|
3761 ac_cv_search_strerror=no
|
meillo@1
|
3762 fi
|
meillo@1
|
3763 rm conftest.$ac_ext
|
meillo@1
|
3764 LIBS=$ac_func_search_save_LIBS
|
meillo@1
|
3765 fi
|
meillo@36
|
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
|
meillo@36
|
3767 $as_echo "$ac_cv_search_strerror" >&6; }
|
meillo@1
|
3768 ac_res=$ac_cv_search_strerror
|
meillo@36
|
3769 if test "$ac_res" != no; then :
|
meillo@1
|
3770 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
meillo@1
|
3771
|
meillo@1
|
3772 fi
|
meillo@0
|
3773
|
meillo@0
|
3774 ac_ext=c
|
meillo@0
|
3775 ac_cpp='$CPP $CPPFLAGS'
|
meillo@0
|
3776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
meillo@0
|
3777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
meillo@0
|
3778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
meillo@36
|
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
meillo@36
|
3780 $as_echo_n "checking how to run the C preprocessor... " >&6; }
|
meillo@0
|
3781 # On Suns, sometimes $CPP names a directory.
|
meillo@0
|
3782 if test -n "$CPP" && test -d "$CPP"; then
|
meillo@0
|
3783 CPP=
|
meillo@0
|
3784 fi
|
meillo@0
|
3785 if test -z "$CPP"; then
|
meillo@36
|
3786 if test "${ac_cv_prog_CPP+set}" = set; then :
|
meillo@36
|
3787 $as_echo_n "(cached) " >&6
|
meillo@0
|
3788 else
|
meillo@0
|
3789 # Double quotes because CPP needs to be expanded
|
meillo@0
|
3790 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
meillo@0
|
3791 do
|
meillo@0
|
3792 ac_preproc_ok=false
|
meillo@0
|
3793 for ac_c_preproc_warn_flag in '' yes
|
meillo@0
|
3794 do
|
meillo@0
|
3795 # Use a header file that comes with gcc, so configuring glibc
|
meillo@0
|
3796 # with a fresh cross-compiler works.
|
meillo@0
|
3797 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
meillo@0
|
3798 # <limits.h> exists even on freestanding compilers.
|
meillo@0
|
3799 # On the NeXT, cc -E runs the code through the compiler's parser,
|
meillo@0
|
3800 # not just through cpp. "Syntax error" is here to catch this case.
|
meillo@36
|
3801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
3802 /* end confdefs.h. */
|
meillo@0
|
3803 #ifdef __STDC__
|
meillo@0
|
3804 # include <limits.h>
|
meillo@0
|
3805 #else
|
meillo@0
|
3806 # include <assert.h>
|
meillo@0
|
3807 #endif
|
meillo@0
|
3808 Syntax error
|
meillo@0
|
3809 _ACEOF
|
meillo@36
|
3810 if ac_fn_c_try_cpp "$LINENO"; then :
|
meillo@36
|
3811
|
meillo@36
|
3812 else
|
meillo@0
|
3813 # Broken: fails on valid input.
|
meillo@0
|
3814 continue
|
meillo@0
|
3815 fi
|
meillo@0
|
3816 rm -f conftest.err conftest.$ac_ext
|
meillo@0
|
3817
|
meillo@1
|
3818 # OK, works on sane cases. Now check whether nonexistent headers
|
meillo@0
|
3819 # can be detected and how.
|
meillo@36
|
3820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
3821 /* end confdefs.h. */
|
meillo@0
|
3822 #include <ac_nonexistent.h>
|
meillo@0
|
3823 _ACEOF
|
meillo@36
|
3824 if ac_fn_c_try_cpp "$LINENO"; then :
|
meillo@0
|
3825 # Broken: success on invalid input.
|
meillo@0
|
3826 continue
|
meillo@0
|
3827 else
|
meillo@0
|
3828 # Passes both tests.
|
meillo@0
|
3829 ac_preproc_ok=:
|
meillo@0
|
3830 break
|
meillo@0
|
3831 fi
|
meillo@0
|
3832 rm -f conftest.err conftest.$ac_ext
|
meillo@0
|
3833
|
meillo@0
|
3834 done
|
meillo@0
|
3835 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
meillo@0
|
3836 rm -f conftest.err conftest.$ac_ext
|
meillo@36
|
3837 if $ac_preproc_ok; then :
|
meillo@0
|
3838 break
|
meillo@0
|
3839 fi
|
meillo@0
|
3840
|
meillo@0
|
3841 done
|
meillo@0
|
3842 ac_cv_prog_CPP=$CPP
|
meillo@0
|
3843
|
meillo@0
|
3844 fi
|
meillo@0
|
3845 CPP=$ac_cv_prog_CPP
|
meillo@0
|
3846 else
|
meillo@0
|
3847 ac_cv_prog_CPP=$CPP
|
meillo@0
|
3848 fi
|
meillo@36
|
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
meillo@36
|
3850 $as_echo "$CPP" >&6; }
|
meillo@0
|
3851 ac_preproc_ok=false
|
meillo@0
|
3852 for ac_c_preproc_warn_flag in '' yes
|
meillo@0
|
3853 do
|
meillo@0
|
3854 # Use a header file that comes with gcc, so configuring glibc
|
meillo@0
|
3855 # with a fresh cross-compiler works.
|
meillo@0
|
3856 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
meillo@0
|
3857 # <limits.h> exists even on freestanding compilers.
|
meillo@0
|
3858 # On the NeXT, cc -E runs the code through the compiler's parser,
|
meillo@0
|
3859 # not just through cpp. "Syntax error" is here to catch this case.
|
meillo@36
|
3860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
3861 /* end confdefs.h. */
|
meillo@0
|
3862 #ifdef __STDC__
|
meillo@0
|
3863 # include <limits.h>
|
meillo@0
|
3864 #else
|
meillo@0
|
3865 # include <assert.h>
|
meillo@0
|
3866 #endif
|
meillo@0
|
3867 Syntax error
|
meillo@0
|
3868 _ACEOF
|
meillo@36
|
3869 if ac_fn_c_try_cpp "$LINENO"; then :
|
meillo@36
|
3870
|
meillo@36
|
3871 else
|
meillo@0
|
3872 # Broken: fails on valid input.
|
meillo@0
|
3873 continue
|
meillo@0
|
3874 fi
|
meillo@0
|
3875 rm -f conftest.err conftest.$ac_ext
|
meillo@0
|
3876
|
meillo@1
|
3877 # OK, works on sane cases. Now check whether nonexistent headers
|
meillo@0
|
3878 # can be detected and how.
|
meillo@36
|
3879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
3880 /* end confdefs.h. */
|
meillo@0
|
3881 #include <ac_nonexistent.h>
|
meillo@0
|
3882 _ACEOF
|
meillo@36
|
3883 if ac_fn_c_try_cpp "$LINENO"; then :
|
meillo@0
|
3884 # Broken: success on invalid input.
|
meillo@0
|
3885 continue
|
meillo@0
|
3886 else
|
meillo@0
|
3887 # Passes both tests.
|
meillo@0
|
3888 ac_preproc_ok=:
|
meillo@0
|
3889 break
|
meillo@0
|
3890 fi
|
meillo@0
|
3891 rm -f conftest.err conftest.$ac_ext
|
meillo@0
|
3892
|
meillo@0
|
3893 done
|
meillo@0
|
3894 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
meillo@0
|
3895 rm -f conftest.err conftest.$ac_ext
|
meillo@36
|
3896 if $ac_preproc_ok; then :
|
meillo@36
|
3897
|
meillo@36
|
3898 else
|
meillo@36
|
3899 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
meillo@36
|
3900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
meillo@36
|
3901 as_fn_error "C preprocessor \"$CPP\" fails sanity check
|
meillo@36
|
3902 See \`config.log' for more details." "$LINENO" 5; }
|
meillo@0
|
3903 fi
|
meillo@0
|
3904
|
meillo@0
|
3905 ac_ext=c
|
meillo@0
|
3906 ac_cpp='$CPP $CPPFLAGS'
|
meillo@0
|
3907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
meillo@0
|
3908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
meillo@0
|
3909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
meillo@0
|
3910
|
meillo@0
|
3911
|
meillo@36
|
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
meillo@36
|
3913 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
meillo@36
|
3914 if test "${ac_cv_path_GREP+set}" = set; then :
|
meillo@36
|
3915 $as_echo_n "(cached) " >&6
|
meillo@36
|
3916 else
|
meillo@36
|
3917 if test -z "$GREP"; then
|
meillo@1
|
3918 ac_path_GREP_found=false
|
meillo@36
|
3919 # Loop through the user's path and test for each of PROGNAME-LIST
|
meillo@36
|
3920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
meillo@1
|
3921 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
meillo@1
|
3922 do
|
meillo@1
|
3923 IFS=$as_save_IFS
|
meillo@1
|
3924 test -z "$as_dir" && as_dir=.
|
meillo@36
|
3925 for ac_prog in grep ggrep; do
|
meillo@36
|
3926 for ac_exec_ext in '' $ac_executable_extensions; do
|
meillo@36
|
3927 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
meillo@36
|
3928 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
meillo@36
|
3929 # Check for GNU ac_path_GREP and select it if it is found.
|
meillo@1
|
3930 # Check for GNU $ac_path_GREP
|
meillo@1
|
3931 case `"$ac_path_GREP" --version 2>&1` in
|
meillo@1
|
3932 *GNU*)
|
meillo@1
|
3933 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
meillo@1
|
3934 *)
|
meillo@1
|
3935 ac_count=0
|
meillo@36
|
3936 $as_echo_n 0123456789 >"conftest.in"
|
meillo@1
|
3937 while :
|
meillo@1
|
3938 do
|
meillo@1
|
3939 cat "conftest.in" "conftest.in" >"conftest.tmp"
|
meillo@1
|
3940 mv "conftest.tmp" "conftest.in"
|
meillo@1
|
3941 cp "conftest.in" "conftest.nl"
|
meillo@36
|
3942 $as_echo 'GREP' >> "conftest.nl"
|
meillo@1
|
3943 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
meillo@1
|
3944 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
meillo@36
|
3945 as_fn_arith $ac_count + 1 && ac_count=$as_val
|
meillo@1
|
3946 if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
meillo@1
|
3947 # Best one so far, save it but keep looking for a better one
|
meillo@1
|
3948 ac_cv_path_GREP="$ac_path_GREP"
|
meillo@1
|
3949 ac_path_GREP_max=$ac_count
|
meillo@0
|
3950 fi
|
meillo@1
|
3951 # 10*(2^10) chars as input seems more than enough
|
meillo@1
|
3952 test $ac_count -gt 10 && break
|
meillo@1
|
3953 done
|
meillo@1
|
3954 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
meillo@1
|
3955 esac
|
meillo@1
|
3956
|
meillo@36
|
3957 $ac_path_GREP_found && break 3
|
meillo@36
|
3958 done
|
meillo@1
|
3959 done
|
meillo@36
|
3960 done
|
meillo@1
|
3961 IFS=$as_save_IFS
|
meillo@36
|
3962 if test -z "$ac_cv_path_GREP"; then
|
meillo@36
|
3963 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
meillo@36
|
3964 fi
|
meillo@1
|
3965 else
|
meillo@1
|
3966 ac_cv_path_GREP=$GREP
|
meillo@1
|
3967 fi
|
meillo@1
|
3968
|
meillo@36
|
3969 fi
|
meillo@36
|
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
meillo@36
|
3971 $as_echo "$ac_cv_path_GREP" >&6; }
|
meillo@1
|
3972 GREP="$ac_cv_path_GREP"
|
meillo@1
|
3973
|
meillo@1
|
3974
|
meillo@36
|
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
meillo@36
|
3976 $as_echo_n "checking for egrep... " >&6; }
|
meillo@36
|
3977 if test "${ac_cv_path_EGREP+set}" = set; then :
|
meillo@36
|
3978 $as_echo_n "(cached) " >&6
|
meillo@1
|
3979 else
|
meillo@1
|
3980 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
meillo@1
|
3981 then ac_cv_path_EGREP="$GREP -E"
|
meillo@1
|
3982 else
|
meillo@36
|
3983 if test -z "$EGREP"; then
|
meillo@1
|
3984 ac_path_EGREP_found=false
|
meillo@36
|
3985 # Loop through the user's path and test for each of PROGNAME-LIST
|
meillo@36
|
3986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
meillo@1
|
3987 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
meillo@1
|
3988 do
|
meillo@1
|
3989 IFS=$as_save_IFS
|
meillo@1
|
3990 test -z "$as_dir" && as_dir=.
|
meillo@36
|
3991 for ac_prog in egrep; do
|
meillo@36
|
3992 for ac_exec_ext in '' $ac_executable_extensions; do
|
meillo@36
|
3993 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
meillo@36
|
3994 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
meillo@36
|
3995 # Check for GNU ac_path_EGREP and select it if it is found.
|
meillo@1
|
3996 # Check for GNU $ac_path_EGREP
|
meillo@1
|
3997 case `"$ac_path_EGREP" --version 2>&1` in
|
meillo@1
|
3998 *GNU*)
|
meillo@1
|
3999 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
meillo@1
|
4000 *)
|
meillo@1
|
4001 ac_count=0
|
meillo@36
|
4002 $as_echo_n 0123456789 >"conftest.in"
|
meillo@1
|
4003 while :
|
meillo@1
|
4004 do
|
meillo@1
|
4005 cat "conftest.in" "conftest.in" >"conftest.tmp"
|
meillo@1
|
4006 mv "conftest.tmp" "conftest.in"
|
meillo@1
|
4007 cp "conftest.in" "conftest.nl"
|
meillo@36
|
4008 $as_echo 'EGREP' >> "conftest.nl"
|
meillo@1
|
4009 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
meillo@1
|
4010 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
meillo@36
|
4011 as_fn_arith $ac_count + 1 && ac_count=$as_val
|
meillo@1
|
4012 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
meillo@1
|
4013 # Best one so far, save it but keep looking for a better one
|
meillo@1
|
4014 ac_cv_path_EGREP="$ac_path_EGREP"
|
meillo@1
|
4015 ac_path_EGREP_max=$ac_count
|
meillo@1
|
4016 fi
|
meillo@1
|
4017 # 10*(2^10) chars as input seems more than enough
|
meillo@1
|
4018 test $ac_count -gt 10 && break
|
meillo@1
|
4019 done
|
meillo@1
|
4020 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
meillo@1
|
4021 esac
|
meillo@1
|
4022
|
meillo@36
|
4023 $ac_path_EGREP_found && break 3
|
meillo@36
|
4024 done
|
meillo@1
|
4025 done
|
meillo@36
|
4026 done
|
meillo@1
|
4027 IFS=$as_save_IFS
|
meillo@36
|
4028 if test -z "$ac_cv_path_EGREP"; then
|
meillo@36
|
4029 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
meillo@36
|
4030 fi
|
meillo@1
|
4031 else
|
meillo@1
|
4032 ac_cv_path_EGREP=$EGREP
|
meillo@1
|
4033 fi
|
meillo@1
|
4034
|
meillo@1
|
4035 fi
|
meillo@1
|
4036 fi
|
meillo@36
|
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
meillo@36
|
4038 $as_echo "$ac_cv_path_EGREP" >&6; }
|
meillo@1
|
4039 EGREP="$ac_cv_path_EGREP"
|
meillo@1
|
4040
|
meillo@1
|
4041
|
meillo@36
|
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
meillo@36
|
4043 $as_echo_n "checking for ANSI C header files... " >&6; }
|
meillo@36
|
4044 if test "${ac_cv_header_stdc+set}" = set; then :
|
meillo@36
|
4045 $as_echo_n "(cached) " >&6
|
meillo@36
|
4046 else
|
meillo@36
|
4047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
4048 /* end confdefs.h. */
|
meillo@0
|
4049 #include <stdlib.h>
|
meillo@0
|
4050 #include <stdarg.h>
|
meillo@0
|
4051 #include <string.h>
|
meillo@0
|
4052 #include <float.h>
|
meillo@0
|
4053
|
meillo@0
|
4054 int
|
meillo@0
|
4055 main ()
|
meillo@0
|
4056 {
|
meillo@0
|
4057
|
meillo@0
|
4058 ;
|
meillo@0
|
4059 return 0;
|
meillo@0
|
4060 }
|
meillo@0
|
4061 _ACEOF
|
meillo@36
|
4062 if ac_fn_c_try_compile "$LINENO"; then :
|
meillo@0
|
4063 ac_cv_header_stdc=yes
|
meillo@0
|
4064 else
|
meillo@36
|
4065 ac_cv_header_stdc=no
|
meillo@36
|
4066 fi
|
meillo@1
|
4067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
meillo@0
|
4068
|
meillo@0
|
4069 if test $ac_cv_header_stdc = yes; then
|
meillo@0
|
4070 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
meillo@36
|
4071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
4072 /* end confdefs.h. */
|
meillo@0
|
4073 #include <string.h>
|
meillo@0
|
4074
|
meillo@0
|
4075 _ACEOF
|
meillo@0
|
4076 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
meillo@36
|
4077 $EGREP "memchr" >/dev/null 2>&1; then :
|
meillo@36
|
4078
|
meillo@0
|
4079 else
|
meillo@0
|
4080 ac_cv_header_stdc=no
|
meillo@0
|
4081 fi
|
meillo@0
|
4082 rm -f conftest*
|
meillo@0
|
4083
|
meillo@0
|
4084 fi
|
meillo@0
|
4085
|
meillo@0
|
4086 if test $ac_cv_header_stdc = yes; then
|
meillo@0
|
4087 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
meillo@36
|
4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
4089 /* end confdefs.h. */
|
meillo@0
|
4090 #include <stdlib.h>
|
meillo@0
|
4091
|
meillo@0
|
4092 _ACEOF
|
meillo@0
|
4093 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
meillo@36
|
4094 $EGREP "free" >/dev/null 2>&1; then :
|
meillo@36
|
4095
|
meillo@0
|
4096 else
|
meillo@0
|
4097 ac_cv_header_stdc=no
|
meillo@0
|
4098 fi
|
meillo@0
|
4099 rm -f conftest*
|
meillo@0
|
4100
|
meillo@0
|
4101 fi
|
meillo@0
|
4102
|
meillo@0
|
4103 if test $ac_cv_header_stdc = yes; then
|
meillo@0
|
4104 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
meillo@36
|
4105 if test "$cross_compiling" = yes; then :
|
meillo@0
|
4106 :
|
meillo@0
|
4107 else
|
meillo@36
|
4108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
4109 /* end confdefs.h. */
|
meillo@0
|
4110 #include <ctype.h>
|
meillo@1
|
4111 #include <stdlib.h>
|
meillo@0
|
4112 #if ((' ' & 0x0FF) == 0x020)
|
meillo@0
|
4113 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
meillo@0
|
4114 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
meillo@0
|
4115 #else
|
meillo@0
|
4116 # define ISLOWER(c) \
|
meillo@0
|
4117 (('a' <= (c) && (c) <= 'i') \
|
meillo@0
|
4118 || ('j' <= (c) && (c) <= 'r') \
|
meillo@0
|
4119 || ('s' <= (c) && (c) <= 'z'))
|
meillo@0
|
4120 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
meillo@0
|
4121 #endif
|
meillo@0
|
4122
|
meillo@0
|
4123 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
meillo@0
|
4124 int
|
meillo@0
|
4125 main ()
|
meillo@0
|
4126 {
|
meillo@0
|
4127 int i;
|
meillo@0
|
4128 for (i = 0; i < 256; i++)
|
meillo@0
|
4129 if (XOR (islower (i), ISLOWER (i))
|
meillo@0
|
4130 || toupper (i) != TOUPPER (i))
|
meillo@1
|
4131 return 2;
|
meillo@1
|
4132 return 0;
|
meillo@0
|
4133 }
|
meillo@0
|
4134 _ACEOF
|
meillo@36
|
4135 if ac_fn_c_try_run "$LINENO"; then :
|
meillo@36
|
4136
|
meillo@36
|
4137 else
|
meillo@36
|
4138 ac_cv_header_stdc=no
|
meillo@36
|
4139 fi
|
meillo@36
|
4140 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
meillo@36
|
4141 conftest.$ac_objext conftest.beam conftest.$ac_ext
|
meillo@36
|
4142 fi
|
meillo@36
|
4143
|
meillo@36
|
4144 fi
|
meillo@36
|
4145 fi
|
meillo@36
|
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
meillo@36
|
4147 $as_echo "$ac_cv_header_stdc" >&6; }
|
meillo@0
|
4148 if test $ac_cv_header_stdc = yes; then
|
meillo@0
|
4149
|
meillo@36
|
4150 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
meillo@0
|
4151
|
meillo@0
|
4152 fi
|
meillo@0
|
4153
|
meillo@0
|
4154 if test -n "$ac_tool_prefix"; then
|
meillo@0
|
4155 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
meillo@0
|
4156 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
meillo@36
|
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
meillo@36
|
4158 $as_echo_n "checking for $ac_word... " >&6; }
|
meillo@36
|
4159 if test "${ac_cv_prog_RANLIB+set}" = set; then :
|
meillo@36
|
4160 $as_echo_n "(cached) " >&6
|
meillo@0
|
4161 else
|
meillo@0
|
4162 if test -n "$RANLIB"; then
|
meillo@0
|
4163 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
meillo@0
|
4164 else
|
meillo@0
|
4165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
meillo@0
|
4166 for as_dir in $PATH
|
meillo@0
|
4167 do
|
meillo@0
|
4168 IFS=$as_save_IFS
|
meillo@0
|
4169 test -z "$as_dir" && as_dir=.
|
meillo@36
|
4170 for ac_exec_ext in '' $ac_executable_extensions; do
|
meillo@1
|
4171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
meillo@0
|
4172 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
meillo@36
|
4173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
meillo@0
|
4174 break 2
|
meillo@0
|
4175 fi
|
meillo@0
|
4176 done
|
meillo@36
|
4177 done
|
meillo@1
|
4178 IFS=$as_save_IFS
|
meillo@0
|
4179
|
meillo@0
|
4180 fi
|
meillo@0
|
4181 fi
|
meillo@0
|
4182 RANLIB=$ac_cv_prog_RANLIB
|
meillo@0
|
4183 if test -n "$RANLIB"; then
|
meillo@36
|
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
meillo@36
|
4185 $as_echo "$RANLIB" >&6; }
|
meillo@36
|
4186 else
|
meillo@36
|
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
meillo@36
|
4188 $as_echo "no" >&6; }
|
meillo@1
|
4189 fi
|
meillo@1
|
4190
|
meillo@0
|
4191
|
meillo@0
|
4192 fi
|
meillo@0
|
4193 if test -z "$ac_cv_prog_RANLIB"; then
|
meillo@0
|
4194 ac_ct_RANLIB=$RANLIB
|
meillo@0
|
4195 # Extract the first word of "ranlib", so it can be a program name with args.
|
meillo@0
|
4196 set dummy ranlib; ac_word=$2
|
meillo@36
|
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
meillo@36
|
4198 $as_echo_n "checking for $ac_word... " >&6; }
|
meillo@36
|
4199 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
|
meillo@36
|
4200 $as_echo_n "(cached) " >&6
|
meillo@0
|
4201 else
|
meillo@0
|
4202 if test -n "$ac_ct_RANLIB"; then
|
meillo@0
|
4203 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
meillo@0
|
4204 else
|
meillo@0
|
4205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
meillo@0
|
4206 for as_dir in $PATH
|
meillo@0
|
4207 do
|
meillo@0
|
4208 IFS=$as_save_IFS
|
meillo@0
|
4209 test -z "$as_dir" && as_dir=.
|
meillo@36
|
4210 for ac_exec_ext in '' $ac_executable_extensions; do
|
meillo@1
|
4211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
meillo@0
|
4212 ac_cv_prog_ac_ct_RANLIB="ranlib"
|
meillo@36
|
4213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
meillo@0
|
4214 break 2
|
meillo@0
|
4215 fi
|
meillo@0
|
4216 done
|
meillo@36
|
4217 done
|
meillo@1
|
4218 IFS=$as_save_IFS
|
meillo@1
|
4219
|
meillo@0
|
4220 fi
|
meillo@0
|
4221 fi
|
meillo@0
|
4222 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
meillo@0
|
4223 if test -n "$ac_ct_RANLIB"; then
|
meillo@36
|
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
meillo@36
|
4225 $as_echo "$ac_ct_RANLIB" >&6; }
|
meillo@36
|
4226 else
|
meillo@36
|
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
meillo@36
|
4228 $as_echo "no" >&6; }
|
meillo@1
|
4229 fi
|
meillo@1
|
4230
|
meillo@1
|
4231 if test "x$ac_ct_RANLIB" = x; then
|
meillo@1
|
4232 RANLIB=":"
|
meillo@1
|
4233 else
|
meillo@1
|
4234 case $cross_compiling:$ac_tool_warned in
|
meillo@1
|
4235 yes:)
|
meillo@36
|
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
meillo@36
|
4237 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
meillo@1
|
4238 ac_tool_warned=yes ;;
|
meillo@1
|
4239 esac
|
meillo@1
|
4240 RANLIB=$ac_ct_RANLIB
|
meillo@1
|
4241 fi
|
meillo@0
|
4242 else
|
meillo@0
|
4243 RANLIB="$ac_cv_prog_RANLIB"
|
meillo@0
|
4244 fi
|
meillo@0
|
4245
|
meillo@0
|
4246
|
meillo@0
|
4247
|
meillo@0
|
4248
|
meillo@54
|
4249
|
meillo@54
|
4250
|
meillo@54
|
4251
|
meillo@54
|
4252
|
meillo@0
|
4253 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
|
meillo@0
|
4254 if test -n "$ac_tool_prefix"; then
|
meillo@0
|
4255 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
|
meillo@0
|
4256 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
|
meillo@36
|
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
meillo@36
|
4258 $as_echo_n "checking for $ac_word... " >&6; }
|
meillo@36
|
4259 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
|
meillo@36
|
4260 $as_echo_n "(cached) " >&6
|
meillo@0
|
4261 else
|
meillo@0
|
4262 case $PKG_CONFIG in
|
meillo@0
|
4263 [\\/]* | ?:[\\/]*)
|
meillo@0
|
4264 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
|
meillo@0
|
4265 ;;
|
meillo@0
|
4266 *)
|
meillo@0
|
4267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
meillo@0
|
4268 for as_dir in $PATH
|
meillo@0
|
4269 do
|
meillo@0
|
4270 IFS=$as_save_IFS
|
meillo@0
|
4271 test -z "$as_dir" && as_dir=.
|
meillo@36
|
4272 for ac_exec_ext in '' $ac_executable_extensions; do
|
meillo@1
|
4273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
meillo@0
|
4274 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
meillo@36
|
4275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
meillo@0
|
4276 break 2
|
meillo@0
|
4277 fi
|
meillo@0
|
4278 done
|
meillo@36
|
4279 done
|
meillo@1
|
4280 IFS=$as_save_IFS
|
meillo@0
|
4281
|
meillo@0
|
4282 ;;
|
meillo@0
|
4283 esac
|
meillo@0
|
4284 fi
|
meillo@0
|
4285 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
|
meillo@0
|
4286 if test -n "$PKG_CONFIG"; then
|
meillo@36
|
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
|
meillo@36
|
4288 $as_echo "$PKG_CONFIG" >&6; }
|
meillo@36
|
4289 else
|
meillo@36
|
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
meillo@36
|
4291 $as_echo "no" >&6; }
|
meillo@1
|
4292 fi
|
meillo@1
|
4293
|
meillo@0
|
4294
|
meillo@0
|
4295 fi
|
meillo@0
|
4296 if test -z "$ac_cv_path_PKG_CONFIG"; then
|
meillo@0
|
4297 ac_pt_PKG_CONFIG=$PKG_CONFIG
|
meillo@0
|
4298 # Extract the first word of "pkg-config", so it can be a program name with args.
|
meillo@0
|
4299 set dummy pkg-config; ac_word=$2
|
meillo@36
|
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
meillo@36
|
4301 $as_echo_n "checking for $ac_word... " >&6; }
|
meillo@36
|
4302 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
|
meillo@36
|
4303 $as_echo_n "(cached) " >&6
|
meillo@0
|
4304 else
|
meillo@0
|
4305 case $ac_pt_PKG_CONFIG in
|
meillo@0
|
4306 [\\/]* | ?:[\\/]*)
|
meillo@0
|
4307 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
|
meillo@0
|
4308 ;;
|
meillo@0
|
4309 *)
|
meillo@0
|
4310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
meillo@0
|
4311 for as_dir in $PATH
|
meillo@0
|
4312 do
|
meillo@0
|
4313 IFS=$as_save_IFS
|
meillo@0
|
4314 test -z "$as_dir" && as_dir=.
|
meillo@36
|
4315 for ac_exec_ext in '' $ac_executable_extensions; do
|
meillo@1
|
4316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
meillo@0
|
4317 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
meillo@36
|
4318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
meillo@0
|
4319 break 2
|
meillo@0
|
4320 fi
|
meillo@0
|
4321 done
|
meillo@36
|
4322 done
|
meillo@1
|
4323 IFS=$as_save_IFS
|
meillo@0
|
4324
|
meillo@0
|
4325 ;;
|
meillo@0
|
4326 esac
|
meillo@0
|
4327 fi
|
meillo@0
|
4328 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
|
meillo@0
|
4329 if test -n "$ac_pt_PKG_CONFIG"; then
|
meillo@36
|
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
|
meillo@36
|
4331 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
|
meillo@36
|
4332 else
|
meillo@36
|
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
meillo@36
|
4334 $as_echo "no" >&6; }
|
meillo@1
|
4335 fi
|
meillo@1
|
4336
|
meillo@1
|
4337 if test "x$ac_pt_PKG_CONFIG" = x; then
|
meillo@1
|
4338 PKG_CONFIG=""
|
meillo@1
|
4339 else
|
meillo@1
|
4340 case $cross_compiling:$ac_tool_warned in
|
meillo@1
|
4341 yes:)
|
meillo@36
|
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
meillo@36
|
4343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
meillo@1
|
4344 ac_tool_warned=yes ;;
|
meillo@1
|
4345 esac
|
meillo@1
|
4346 PKG_CONFIG=$ac_pt_PKG_CONFIG
|
meillo@1
|
4347 fi
|
meillo@0
|
4348 else
|
meillo@0
|
4349 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
|
meillo@0
|
4350 fi
|
meillo@0
|
4351
|
meillo@0
|
4352 fi
|
meillo@0
|
4353 if test -n "$PKG_CONFIG"; then
|
meillo@0
|
4354 _pkg_min_version=0.9.0
|
meillo@36
|
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
|
meillo@36
|
4356 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
|
meillo@0
|
4357 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
|
meillo@36
|
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
meillo@36
|
4359 $as_echo "yes" >&6; }
|
meillo@0
|
4360 else
|
meillo@36
|
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
meillo@36
|
4362 $as_echo "no" >&6; }
|
meillo@0
|
4363 PKG_CONFIG=""
|
meillo@0
|
4364 fi
|
meillo@0
|
4365 fi
|
meillo@0
|
4366
|
meillo@0
|
4367 pkg_failed=no
|
meillo@36
|
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
|
meillo@36
|
4369 $as_echo_n "checking for GLIB... " >&6; }
|
meillo@0
|
4370
|
meillo@54
|
4371 if test -n "$GLIB_CFLAGS"; then
|
meillo@54
|
4372 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
|
meillo@54
|
4373 elif test -n "$PKG_CONFIG"; then
|
meillo@54
|
4374 if test -n "$PKG_CONFIG" && \
|
meillo@36
|
4375 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
|
meillo@0
|
4376 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
|
meillo@0
|
4377 ac_status=$?
|
meillo@36
|
4378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
meillo@36
|
4379 test $ac_status = 0; }; then
|
meillo@0
|
4380 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
|
meillo@0
|
4381 else
|
meillo@0
|
4382 pkg_failed=yes
|
meillo@0
|
4383 fi
|
meillo@54
|
4384 else
|
meillo@54
|
4385 pkg_failed=untried
|
meillo@54
|
4386 fi
|
meillo@54
|
4387 if test -n "$GLIB_LIBS"; then
|
meillo@54
|
4388 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
|
meillo@54
|
4389 elif test -n "$PKG_CONFIG"; then
|
meillo@54
|
4390 if test -n "$PKG_CONFIG" && \
|
meillo@36
|
4391 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
|
meillo@0
|
4392 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
|
meillo@0
|
4393 ac_status=$?
|
meillo@36
|
4394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
meillo@36
|
4395 test $ac_status = 0; }; then
|
meillo@0
|
4396 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
|
meillo@0
|
4397 else
|
meillo@0
|
4398 pkg_failed=yes
|
meillo@0
|
4399 fi
|
meillo@54
|
4400 else
|
meillo@54
|
4401 pkg_failed=untried
|
meillo@0
|
4402 fi
|
meillo@0
|
4403
|
meillo@1
|
4404
|
meillo@1
|
4405
|
meillo@0
|
4406 if test $pkg_failed = yes; then
|
meillo@54
|
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
meillo@54
|
4408 $as_echo "no" >&6; }
|
meillo@1
|
4409
|
meillo@1
|
4410 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
meillo@1
|
4411 _pkg_short_errors_supported=yes
|
meillo@1
|
4412 else
|
meillo@1
|
4413 _pkg_short_errors_supported=no
|
meillo@1
|
4414 fi
|
meillo@1
|
4415 if test $_pkg_short_errors_supported = yes; then
|
meillo@54
|
4416 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
|
meillo@1
|
4417 else
|
meillo@54
|
4418 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
|
meillo@1
|
4419 fi
|
meillo@0
|
4420 # Put the nasty error message in config.log where it belongs
|
meillo@1
|
4421 echo "$GLIB_PKG_ERRORS" >&5
|
meillo@1
|
4422
|
meillo@36
|
4423 as_fn_error "Package requirements (glib-2.0) were not met:
|
meillo@1
|
4424
|
meillo@1
|
4425 $GLIB_PKG_ERRORS
|
meillo@1
|
4426
|
meillo@0
|
4427 Consider adjusting the PKG_CONFIG_PATH environment variable if you
|
meillo@0
|
4428 installed software in a non-standard prefix.
|
meillo@0
|
4429
|
meillo@1
|
4430 Alternatively, you may set the environment variables GLIB_CFLAGS
|
meillo@1
|
4431 and GLIB_LIBS to avoid the need to call pkg-config.
|
meillo@54
|
4432 See the pkg-config man page for more details." "$LINENO" 5
|
meillo@36
|
4433 elif test $pkg_failed = untried; then
|
meillo@54
|
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
meillo@54
|
4435 $as_echo "no" >&6; }
|
meillo@36
|
4436 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
meillo@36
|
4437 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
meillo@36
|
4438 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
|
meillo@36
|
4439 is in your PATH or set the PKG_CONFIG environment variable to the full
|
meillo@36
|
4440 path to pkg-config.
|
meillo@0
|
4441
|
meillo@1
|
4442 Alternatively, you may set the environment variables GLIB_CFLAGS
|
meillo@1
|
4443 and GLIB_LIBS to avoid the need to call pkg-config.
|
meillo@1
|
4444 See the pkg-config man page for more details.
|
meillo@1
|
4445
|
meillo@1
|
4446 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
|
meillo@36
|
4447 See \`config.log' for more details." "$LINENO" 5; }
|
meillo@0
|
4448 else
|
meillo@0
|
4449 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
|
meillo@0
|
4450 GLIB_LIBS=$pkg_cv_GLIB_LIBS
|
meillo@36
|
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
meillo@36
|
4452 $as_echo "yes" >&6; }
|
meillo@54
|
4453
|
meillo@0
|
4454 fi
|
meillo@0
|
4455
|
meillo@0
|
4456
|
meillo@0
|
4457
|
meillo@1
|
4458 # Check whether --enable-resolver was given.
|
meillo@36
|
4459 if test "${enable_resolver+set}" = set; then :
|
meillo@1
|
4460 enableval=$enable_resolver; if test "$enable_resolver" != 'no'; then
|
meillo@0
|
4461 resolver_enabled='yes'
|
meillo@0
|
4462 fi
|
meillo@0
|
4463 else
|
meillo@0
|
4464 resolver_enabled='yes'
|
meillo@0
|
4465
|
meillo@1
|
4466 fi
|
meillo@1
|
4467
|
meillo@0
|
4468
|
meillo@0
|
4469 if test "$resolver_enabled" = yes; then
|
meillo@0
|
4470
|
meillo@36
|
4471 $as_echo "#define ENABLE_RESOLVER 1" >>confdefs.h
|
meillo@36
|
4472
|
meillo@36
|
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lc" >&5
|
meillo@36
|
4474 $as_echo_n "checking for res_search in -lc... " >&6; }
|
meillo@36
|
4475 if test "${ac_cv_lib_c_res_search+set}" = set; then :
|
meillo@36
|
4476 $as_echo_n "(cached) " >&6
|
meillo@0
|
4477 else
|
meillo@0
|
4478 ac_check_lib_save_LIBS=$LIBS
|
meillo@0
|
4479 LIBS="-lc $LIBS"
|
meillo@36
|
4480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
4481 /* end confdefs.h. */
|
meillo@0
|
4482
|
meillo@1
|
4483 /* Override any GCC internal prototype to avoid an error.
|
meillo@1
|
4484 Use char because int might match the return type of a GCC
|
meillo@1
|
4485 builtin and then its argument prototype would still apply. */
|
meillo@0
|
4486 #ifdef __cplusplus
|
meillo@0
|
4487 extern "C"
|
meillo@0
|
4488 #endif
|
meillo@0
|
4489 char res_search ();
|
meillo@0
|
4490 int
|
meillo@0
|
4491 main ()
|
meillo@0
|
4492 {
|
meillo@1
|
4493 return res_search ();
|
meillo@0
|
4494 ;
|
meillo@0
|
4495 return 0;
|
meillo@0
|
4496 }
|
meillo@0
|
4497 _ACEOF
|
meillo@36
|
4498 if ac_fn_c_try_link "$LINENO"; then :
|
meillo@0
|
4499 ac_cv_lib_c_res_search=yes
|
meillo@0
|
4500 else
|
meillo@36
|
4501 ac_cv_lib_c_res_search=no
|
meillo@36
|
4502 fi
|
meillo@36
|
4503 rm -f core conftest.err conftest.$ac_objext \
|
meillo@36
|
4504 conftest$ac_exeext conftest.$ac_ext
|
meillo@0
|
4505 LIBS=$ac_check_lib_save_LIBS
|
meillo@0
|
4506 fi
|
meillo@36
|
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_res_search" >&5
|
meillo@36
|
4508 $as_echo "$ac_cv_lib_c_res_search" >&6; }
|
meillo@36
|
4509 if test "x$ac_cv_lib_c_res_search" = x""yes; then :
|
meillo@0
|
4510 need_resolv=no
|
meillo@0
|
4511 else
|
meillo@0
|
4512 need_resolv=yes
|
meillo@0
|
4513 fi
|
meillo@0
|
4514
|
meillo@0
|
4515 if test "$need_resolv" = yes; then
|
meillo@36
|
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lresolv" >&5
|
meillo@36
|
4517 $as_echo_n "checking for res_search in -lresolv... " >&6; }
|
meillo@36
|
4518 if test "${ac_cv_lib_resolv_res_search+set}" = set; then :
|
meillo@36
|
4519 $as_echo_n "(cached) " >&6
|
meillo@0
|
4520 else
|
meillo@0
|
4521 ac_check_lib_save_LIBS=$LIBS
|
meillo@0
|
4522 LIBS="-lresolv $LIBS"
|
meillo@36
|
4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
4524 /* end confdefs.h. */
|
meillo@0
|
4525
|
meillo@1
|
4526 /* Override any GCC internal prototype to avoid an error.
|
meillo@1
|
4527 Use char because int might match the return type of a GCC
|
meillo@1
|
4528 builtin and then its argument prototype would still apply. */
|
meillo@0
|
4529 #ifdef __cplusplus
|
meillo@0
|
4530 extern "C"
|
meillo@0
|
4531 #endif
|
meillo@0
|
4532 char res_search ();
|
meillo@0
|
4533 int
|
meillo@0
|
4534 main ()
|
meillo@0
|
4535 {
|
meillo@1
|
4536 return res_search ();
|
meillo@0
|
4537 ;
|
meillo@0
|
4538 return 0;
|
meillo@0
|
4539 }
|
meillo@0
|
4540 _ACEOF
|
meillo@36
|
4541 if ac_fn_c_try_link "$LINENO"; then :
|
meillo@0
|
4542 ac_cv_lib_resolv_res_search=yes
|
meillo@0
|
4543 else
|
meillo@36
|
4544 ac_cv_lib_resolv_res_search=no
|
meillo@36
|
4545 fi
|
meillo@36
|
4546 rm -f core conftest.err conftest.$ac_objext \
|
meillo@36
|
4547 conftest$ac_exeext conftest.$ac_ext
|
meillo@0
|
4548 LIBS=$ac_check_lib_save_LIBS
|
meillo@0
|
4549 fi
|
meillo@36
|
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_search" >&5
|
meillo@36
|
4551 $as_echo "$ac_cv_lib_resolv_res_search" >&6; }
|
meillo@36
|
4552 if test "x$ac_cv_lib_resolv_res_search" = x""yes; then :
|
meillo@1
|
4553 has_resolv=yes; RESOLV_LIBS="-lresolv"
|
meillo@1
|
4554 else
|
meillo@1
|
4555 has_resolv=no
|
meillo@1
|
4556 fi
|
meillo@1
|
4557
|
meillo@1
|
4558 if test "$has_resolv" = no; then
|
meillo@1
|
4559 saved_LIBS="$LIBS"
|
meillo@1
|
4560 LIBS="$LIBS -lresolv"
|
meillo@36
|
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lresolv" >&5
|
meillo@36
|
4562 $as_echo_n "checking for res_search in -lresolv... " >&6; }
|
meillo@36
|
4563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@1
|
4564 /* end confdefs.h. */
|
meillo@1
|
4565 #include <resolv.h>
|
meillo@1
|
4566 int
|
meillo@1
|
4567 main ()
|
meillo@1
|
4568 {
|
meillo@1
|
4569 res_search (0, 0, 0, 0, 0);
|
meillo@1
|
4570 ;
|
meillo@1
|
4571 return 0;
|
meillo@1
|
4572 }
|
meillo@1
|
4573 _ACEOF
|
meillo@36
|
4574 if ac_fn_c_try_link "$LINENO"; then :
|
meillo@36
|
4575 RESOLV_LIBS="-lresolv"; has_resolv=yes; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
meillo@36
|
4576 $as_echo "yes" >&6; }
|
meillo@36
|
4577 else
|
meillo@36
|
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
meillo@36
|
4579 $as_echo "no" >&6; }
|
meillo@36
|
4580 fi
|
meillo@36
|
4581 rm -f core conftest.err conftest.$ac_objext \
|
meillo@36
|
4582 conftest$ac_exeext conftest.$ac_ext;
|
meillo@1
|
4583 LIBS="$saved_LIBS"
|
meillo@1
|
4584 fi
|
meillo@1
|
4585 if test "$has_resolv" = no; then
|
meillo@36
|
4586 as_fn_error "\"no libresolv\"" "$LINENO" 5
|
meillo@1
|
4587 RESOLV_LIBS=''
|
meillo@1
|
4588 fi
|
meillo@0
|
4589 fi
|
meillo@0
|
4590 else
|
meillo@0
|
4591 RESOLV_LIBS=''
|
meillo@0
|
4592 fi
|
meillo@0
|
4593
|
meillo@0
|
4594
|
meillo@0
|
4595 for ac_func in getline
|
meillo@36
|
4596 do :
|
meillo@36
|
4597 ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline"
|
meillo@36
|
4598 if test "x$ac_cv_func_getline" = x""yes; then :
|
meillo@36
|
4599 cat >>confdefs.h <<_ACEOF
|
meillo@36
|
4600 #define HAVE_GETLINE 1
|
meillo@0
|
4601 _ACEOF
|
meillo@36
|
4602
|
meillo@36
|
4603 fi
|
meillo@36
|
4604 done
|
meillo@36
|
4605
|
meillo@36
|
4606
|
meillo@36
|
4607 for ac_func in fdatasync
|
meillo@36
|
4608 do :
|
meillo@36
|
4609 ac_fn_c_check_func "$LINENO" "fdatasync" "ac_cv_func_fdatasync"
|
meillo@36
|
4610 if test "x$ac_cv_func_fdatasync" = x""yes; then :
|
meillo@36
|
4611 cat >>confdefs.h <<_ACEOF
|
meillo@36
|
4612 #define HAVE_FDATASYNC 1
|
meillo@0
|
4613 _ACEOF
|
meillo@0
|
4614
|
meillo@0
|
4615 fi
|
meillo@0
|
4616 done
|
meillo@0
|
4617
|
meillo@0
|
4618
|
meillo@36
|
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
meillo@36
|
4620 $as_echo_n "checking for ANSI C header files... " >&6; }
|
meillo@36
|
4621 if test "${ac_cv_header_stdc+set}" = set; then :
|
meillo@36
|
4622 $as_echo_n "(cached) " >&6
|
meillo@36
|
4623 else
|
meillo@36
|
4624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
4625 /* end confdefs.h. */
|
meillo@0
|
4626 #include <stdlib.h>
|
meillo@0
|
4627 #include <stdarg.h>
|
meillo@0
|
4628 #include <string.h>
|
meillo@0
|
4629 #include <float.h>
|
meillo@0
|
4630
|
meillo@0
|
4631 int
|
meillo@0
|
4632 main ()
|
meillo@0
|
4633 {
|
meillo@0
|
4634
|
meillo@0
|
4635 ;
|
meillo@0
|
4636 return 0;
|
meillo@0
|
4637 }
|
meillo@0
|
4638 _ACEOF
|
meillo@36
|
4639 if ac_fn_c_try_compile "$LINENO"; then :
|
meillo@0
|
4640 ac_cv_header_stdc=yes
|
meillo@0
|
4641 else
|
meillo@36
|
4642 ac_cv_header_stdc=no
|
meillo@36
|
4643 fi
|
meillo@1
|
4644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
meillo@0
|
4645
|
meillo@0
|
4646 if test $ac_cv_header_stdc = yes; then
|
meillo@0
|
4647 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
meillo@36
|
4648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
4649 /* end confdefs.h. */
|
meillo@0
|
4650 #include <string.h>
|
meillo@0
|
4651
|
meillo@0
|
4652 _ACEOF
|
meillo@0
|
4653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
meillo@36
|
4654 $EGREP "memchr" >/dev/null 2>&1; then :
|
meillo@36
|
4655
|
meillo@0
|
4656 else
|
meillo@0
|
4657 ac_cv_header_stdc=no
|
meillo@0
|
4658 fi
|
meillo@0
|
4659 rm -f conftest*
|
meillo@0
|
4660
|
meillo@0
|
4661 fi
|
meillo@0
|
4662
|
meillo@0
|
4663 if test $ac_cv_header_stdc = yes; then
|
meillo@0
|
4664 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
meillo@36
|
4665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
4666 /* end confdefs.h. */
|
meillo@0
|
4667 #include <stdlib.h>
|
meillo@0
|
4668
|
meillo@0
|
4669 _ACEOF
|
meillo@0
|
4670 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
meillo@36
|
4671 $EGREP "free" >/dev/null 2>&1; then :
|
meillo@36
|
4672
|
meillo@0
|
4673 else
|
meillo@0
|
4674 ac_cv_header_stdc=no
|
meillo@0
|
4675 fi
|
meillo@0
|
4676 rm -f conftest*
|
meillo@0
|
4677
|
meillo@0
|
4678 fi
|
meillo@0
|
4679
|
meillo@0
|
4680 if test $ac_cv_header_stdc = yes; then
|
meillo@0
|
4681 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
meillo@36
|
4682 if test "$cross_compiling" = yes; then :
|
meillo@0
|
4683 :
|
meillo@0
|
4684 else
|
meillo@36
|
4685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
4686 /* end confdefs.h. */
|
meillo@0
|
4687 #include <ctype.h>
|
meillo@1
|
4688 #include <stdlib.h>
|
meillo@0
|
4689 #if ((' ' & 0x0FF) == 0x020)
|
meillo@0
|
4690 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
meillo@0
|
4691 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
meillo@0
|
4692 #else
|
meillo@0
|
4693 # define ISLOWER(c) \
|
meillo@0
|
4694 (('a' <= (c) && (c) <= 'i') \
|
meillo@0
|
4695 || ('j' <= (c) && (c) <= 'r') \
|
meillo@0
|
4696 || ('s' <= (c) && (c) <= 'z'))
|
meillo@0
|
4697 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
meillo@0
|
4698 #endif
|
meillo@0
|
4699
|
meillo@0
|
4700 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
meillo@0
|
4701 int
|
meillo@0
|
4702 main ()
|
meillo@0
|
4703 {
|
meillo@0
|
4704 int i;
|
meillo@0
|
4705 for (i = 0; i < 256; i++)
|
meillo@0
|
4706 if (XOR (islower (i), ISLOWER (i))
|
meillo@0
|
4707 || toupper (i) != TOUPPER (i))
|
meillo@1
|
4708 return 2;
|
meillo@1
|
4709 return 0;
|
meillo@0
|
4710 }
|
meillo@0
|
4711 _ACEOF
|
meillo@36
|
4712 if ac_fn_c_try_run "$LINENO"; then :
|
meillo@36
|
4713
|
meillo@36
|
4714 else
|
meillo@36
|
4715 ac_cv_header_stdc=no
|
meillo@36
|
4716 fi
|
meillo@36
|
4717 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
meillo@36
|
4718 conftest.$ac_objext conftest.beam conftest.$ac_ext
|
meillo@36
|
4719 fi
|
meillo@36
|
4720
|
meillo@36
|
4721 fi
|
meillo@36
|
4722 fi
|
meillo@36
|
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
meillo@36
|
4724 $as_echo "$ac_cv_header_stdc" >&6; }
|
meillo@0
|
4725 if test $ac_cv_header_stdc = yes; then
|
meillo@0
|
4726
|
meillo@36
|
4727 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
meillo@0
|
4728
|
meillo@0
|
4729 fi
|
meillo@0
|
4730
|
meillo@0
|
4731 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
meillo@0
|
4732 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
meillo@0
|
4733 inttypes.h stdint.h unistd.h
|
meillo@36
|
4734 do :
|
meillo@36
|
4735 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
meillo@36
|
4736 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
meillo@36
|
4737 "
|
meillo@36
|
4738 eval as_val=\$$as_ac_Header
|
meillo@36
|
4739 if test "x$as_val" = x""yes; then :
|
meillo@36
|
4740 cat >>confdefs.h <<_ACEOF
|
meillo@36
|
4741 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
meillo@0
|
4742 _ACEOF
|
meillo@36
|
4743
|
meillo@36
|
4744 fi
|
meillo@36
|
4745
|
meillo@36
|
4746 done
|
meillo@36
|
4747
|
meillo@36
|
4748
|
meillo@36
|
4749 for ac_header in fcntl.h sys/time.h syslog.h unistd.h
|
meillo@36
|
4750 do :
|
meillo@36
|
4751 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
meillo@36
|
4752 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
meillo@36
|
4753 eval as_val=\$$as_ac_Header
|
meillo@36
|
4754 if test "x$as_val" = x""yes; then :
|
meillo@36
|
4755 cat >>confdefs.h <<_ACEOF
|
meillo@36
|
4756 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
meillo@0
|
4757 _ACEOF
|
meillo@0
|
4758
|
meillo@0
|
4759 fi
|
meillo@0
|
4760
|
meillo@0
|
4761 done
|
meillo@0
|
4762
|
meillo@0
|
4763
|
meillo@36
|
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
|
meillo@36
|
4765 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
|
meillo@36
|
4766 if test "${ac_cv_c_const+set}" = set; then :
|
meillo@36
|
4767 $as_echo_n "(cached) " >&6
|
meillo@36
|
4768 else
|
meillo@36
|
4769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
4770 /* end confdefs.h. */
|
meillo@0
|
4771
|
meillo@0
|
4772 int
|
meillo@0
|
4773 main ()
|
meillo@0
|
4774 {
|
meillo@0
|
4775 /* FIXME: Include the comments suggested by Paul. */
|
meillo@0
|
4776 #ifndef __cplusplus
|
meillo@0
|
4777 /* Ultrix mips cc rejects this. */
|
meillo@0
|
4778 typedef int charset[2];
|
meillo@1
|
4779 const charset cs;
|
meillo@0
|
4780 /* SunOS 4.1.1 cc rejects this. */
|
meillo@1
|
4781 char const *const *pcpcc;
|
meillo@1
|
4782 char **ppc;
|
meillo@0
|
4783 /* NEC SVR4.0.2 mips cc rejects this. */
|
meillo@0
|
4784 struct point {int x, y;};
|
meillo@0
|
4785 static struct point const zero = {0,0};
|
meillo@0
|
4786 /* AIX XL C 1.02.0.0 rejects this.
|
meillo@0
|
4787 It does not let you subtract one const X* pointer from another in
|
meillo@0
|
4788 an arm of an if-expression whose if-part is not a constant
|
meillo@0
|
4789 expression */
|
meillo@0
|
4790 const char *g = "string";
|
meillo@1
|
4791 pcpcc = &g + (g ? g-g : 0);
|
meillo@0
|
4792 /* HPUX 7.0 cc rejects these. */
|
meillo@1
|
4793 ++pcpcc;
|
meillo@1
|
4794 ppc = (char**) pcpcc;
|
meillo@1
|
4795 pcpcc = (char const *const *) ppc;
|
meillo@0
|
4796 { /* SCO 3.2v4 cc rejects this. */
|
meillo@0
|
4797 char *t;
|
meillo@0
|
4798 char const *s = 0 ? (char *) 0 : (char const *) 0;
|
meillo@0
|
4799
|
meillo@0
|
4800 *t++ = 0;
|
meillo@1
|
4801 if (s) return 0;
|
meillo@0
|
4802 }
|
meillo@0
|
4803 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
meillo@0
|
4804 int x[] = {25, 17};
|
meillo@0
|
4805 const int *foo = &x[0];
|
meillo@0
|
4806 ++foo;
|
meillo@0
|
4807 }
|
meillo@0
|
4808 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
meillo@0
|
4809 typedef const int *iptr;
|
meillo@0
|
4810 iptr p = 0;
|
meillo@0
|
4811 ++p;
|
meillo@0
|
4812 }
|
meillo@0
|
4813 { /* AIX XL C 1.02.0.0 rejects this saying
|
meillo@0
|
4814 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
meillo@0
|
4815 struct s { int j; const int *ap[3]; };
|
meillo@0
|
4816 struct s *b; b->j = 5;
|
meillo@0
|
4817 }
|
meillo@0
|
4818 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
meillo@0
|
4819 const int foo = 10;
|
meillo@1
|
4820 if (!foo) return 0;
|
meillo@0
|
4821 }
|
meillo@1
|
4822 return !cs[0] && !zero.x;
|
meillo@0
|
4823 #endif
|
meillo@0
|
4824
|
meillo@0
|
4825 ;
|
meillo@0
|
4826 return 0;
|
meillo@0
|
4827 }
|
meillo@0
|
4828 _ACEOF
|
meillo@36
|
4829 if ac_fn_c_try_compile "$LINENO"; then :
|
meillo@0
|
4830 ac_cv_c_const=yes
|
meillo@0
|
4831 else
|
meillo@36
|
4832 ac_cv_c_const=no
|
meillo@36
|
4833 fi
|
meillo@1
|
4834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
meillo@1
|
4835 fi
|
meillo@36
|
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
|
meillo@36
|
4837 $as_echo "$ac_cv_c_const" >&6; }
|
meillo@0
|
4838 if test $ac_cv_c_const = no; then
|
meillo@0
|
4839
|
meillo@36
|
4840 $as_echo "#define const /**/" >>confdefs.h
|
meillo@36
|
4841
|
meillo@36
|
4842 fi
|
meillo@36
|
4843
|
meillo@36
|
4844 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
|
meillo@36
|
4845 if test "x$ac_cv_type_pid_t" = x""yes; then :
|
meillo@36
|
4846
|
meillo@0
|
4847 else
|
meillo@0
|
4848
|
meillo@0
|
4849 cat >>confdefs.h <<_ACEOF
|
meillo@0
|
4850 #define pid_t int
|
meillo@0
|
4851 _ACEOF
|
meillo@0
|
4852
|
meillo@0
|
4853 fi
|
meillo@0
|
4854
|
meillo@36
|
4855 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
|
meillo@36
|
4856 if test "x$ac_cv_type_size_t" = x""yes; then :
|
meillo@36
|
4857
|
meillo@0
|
4858 else
|
meillo@0
|
4859
|
meillo@0
|
4860 cat >>confdefs.h <<_ACEOF
|
meillo@1
|
4861 #define size_t unsigned int
|
meillo@1
|
4862 _ACEOF
|
meillo@1
|
4863
|
meillo@1
|
4864 fi
|
meillo@1
|
4865
|
meillo@36
|
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
|
meillo@36
|
4867 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
|
meillo@36
|
4868 if test "${ac_cv_header_time+set}" = set; then :
|
meillo@36
|
4869 $as_echo_n "(cached) " >&6
|
meillo@36
|
4870 else
|
meillo@36
|
4871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
4872 /* end confdefs.h. */
|
meillo@0
|
4873 #include <sys/types.h>
|
meillo@0
|
4874 #include <sys/time.h>
|
meillo@0
|
4875 #include <time.h>
|
meillo@0
|
4876
|
meillo@0
|
4877 int
|
meillo@0
|
4878 main ()
|
meillo@0
|
4879 {
|
meillo@0
|
4880 if ((struct tm *) 0)
|
meillo@0
|
4881 return 0;
|
meillo@0
|
4882 ;
|
meillo@0
|
4883 return 0;
|
meillo@0
|
4884 }
|
meillo@0
|
4885 _ACEOF
|
meillo@36
|
4886 if ac_fn_c_try_compile "$LINENO"; then :
|
meillo@0
|
4887 ac_cv_header_time=yes
|
meillo@0
|
4888 else
|
meillo@36
|
4889 ac_cv_header_time=no
|
meillo@36
|
4890 fi
|
meillo@1
|
4891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
meillo@1
|
4892 fi
|
meillo@36
|
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
|
meillo@36
|
4894 $as_echo "$ac_cv_header_time" >&6; }
|
meillo@0
|
4895 if test $ac_cv_header_time = yes; then
|
meillo@0
|
4896
|
meillo@36
|
4897 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
|
meillo@36
|
4898
|
meillo@36
|
4899 fi
|
meillo@36
|
4900
|
meillo@36
|
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
|
meillo@36
|
4902 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
|
meillo@36
|
4903 if test "${ac_cv_struct_tm+set}" = set; then :
|
meillo@36
|
4904 $as_echo_n "(cached) " >&6
|
meillo@36
|
4905 else
|
meillo@36
|
4906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
4907 /* end confdefs.h. */
|
meillo@0
|
4908 #include <sys/types.h>
|
meillo@0
|
4909 #include <time.h>
|
meillo@0
|
4910
|
meillo@0
|
4911 int
|
meillo@0
|
4912 main ()
|
meillo@0
|
4913 {
|
meillo@1
|
4914 struct tm tm;
|
meillo@1
|
4915 int *p = &tm.tm_sec;
|
meillo@36
|
4916 return !p;
|
meillo@0
|
4917 ;
|
meillo@0
|
4918 return 0;
|
meillo@0
|
4919 }
|
meillo@0
|
4920 _ACEOF
|
meillo@36
|
4921 if ac_fn_c_try_compile "$LINENO"; then :
|
meillo@0
|
4922 ac_cv_struct_tm=time.h
|
meillo@0
|
4923 else
|
meillo@36
|
4924 ac_cv_struct_tm=sys/time.h
|
meillo@36
|
4925 fi
|
meillo@1
|
4926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
meillo@1
|
4927 fi
|
meillo@36
|
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
|
meillo@36
|
4929 $as_echo "$ac_cv_struct_tm" >&6; }
|
meillo@0
|
4930 if test $ac_cv_struct_tm = sys/time.h; then
|
meillo@0
|
4931
|
meillo@36
|
4932 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
|
meillo@36
|
4933
|
meillo@36
|
4934 fi
|
meillo@36
|
4935
|
meillo@36
|
4936
|
meillo@36
|
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working POSIX fnmatch" >&5
|
meillo@36
|
4938 $as_echo_n "checking for working POSIX fnmatch... " >&6; }
|
meillo@36
|
4939 if test "${ac_cv_func_fnmatch_works+set}" = set; then :
|
meillo@36
|
4940 $as_echo_n "(cached) " >&6
|
meillo@0
|
4941 else
|
meillo@0
|
4942 # Some versions of Solaris, SCO, and the GNU C Library
|
meillo@0
|
4943 # have a broken or incompatible fnmatch.
|
meillo@0
|
4944 # So we run a test program. If we are cross-compiling, take no chance.
|
meillo@0
|
4945 # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test.
|
meillo@36
|
4946 if test "$cross_compiling" = yes; then :
|
meillo@0
|
4947 ac_cv_func_fnmatch_works=cross
|
meillo@0
|
4948 else
|
meillo@36
|
4949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
4950 /* end confdefs.h. */
|
meillo@0
|
4951 #include <fnmatch.h>
|
meillo@0
|
4952 # define y(a, b, c) (fnmatch (a, b, c) == 0)
|
meillo@0
|
4953 # define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH)
|
meillo@0
|
4954
|
meillo@0
|
4955 int
|
meillo@0
|
4956 main ()
|
meillo@0
|
4957 {
|
meillo@1
|
4958 return
|
meillo@0
|
4959 (!(y ("a*", "abc", 0)
|
meillo@0
|
4960 && n ("d*/*1", "d/s/1", FNM_PATHNAME)
|
meillo@0
|
4961 && y ("a\\\\bc", "abc", 0)
|
meillo@0
|
4962 && n ("a\\\\bc", "abc", FNM_NOESCAPE)
|
meillo@0
|
4963 && y ("*x", ".x", 0)
|
meillo@0
|
4964 && n ("*x", ".x", FNM_PERIOD)
|
meillo@0
|
4965 && 1));
|
meillo@0
|
4966 ;
|
meillo@0
|
4967 return 0;
|
meillo@0
|
4968 }
|
meillo@0
|
4969 _ACEOF
|
meillo@36
|
4970 if ac_fn_c_try_run "$LINENO"; then :
|
meillo@0
|
4971 ac_cv_func_fnmatch_works=yes
|
meillo@0
|
4972 else
|
meillo@36
|
4973 ac_cv_func_fnmatch_works=no
|
meillo@36
|
4974 fi
|
meillo@36
|
4975 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
meillo@36
|
4976 conftest.$ac_objext conftest.beam conftest.$ac_ext
|
meillo@36
|
4977 fi
|
meillo@36
|
4978
|
meillo@36
|
4979 fi
|
meillo@36
|
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fnmatch_works" >&5
|
meillo@36
|
4981 $as_echo "$ac_cv_func_fnmatch_works" >&6; }
|
meillo@36
|
4982 if test $ac_cv_func_fnmatch_works = yes; then :
|
meillo@36
|
4983
|
meillo@36
|
4984 $as_echo "#define HAVE_FNMATCH 1" >>confdefs.h
|
meillo@36
|
4985
|
meillo@36
|
4986 fi
|
meillo@36
|
4987
|
meillo@36
|
4988
|
meillo@36
|
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
|
meillo@36
|
4990 $as_echo_n "checking return type of signal handlers... " >&6; }
|
meillo@36
|
4991 if test "${ac_cv_type_signal+set}" = set; then :
|
meillo@36
|
4992 $as_echo_n "(cached) " >&6
|
meillo@36
|
4993 else
|
meillo@36
|
4994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
4995 /* end confdefs.h. */
|
meillo@0
|
4996 #include <sys/types.h>
|
meillo@0
|
4997 #include <signal.h>
|
meillo@0
|
4998
|
meillo@0
|
4999 int
|
meillo@0
|
5000 main ()
|
meillo@0
|
5001 {
|
meillo@1
|
5002 return *(signal (0, 0)) (0) == 1;
|
meillo@0
|
5003 ;
|
meillo@0
|
5004 return 0;
|
meillo@0
|
5005 }
|
meillo@0
|
5006 _ACEOF
|
meillo@36
|
5007 if ac_fn_c_try_compile "$LINENO"; then :
|
meillo@1
|
5008 ac_cv_type_signal=int
|
meillo@0
|
5009 else
|
meillo@36
|
5010 ac_cv_type_signal=void
|
meillo@36
|
5011 fi
|
meillo@1
|
5012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
meillo@1
|
5013 fi
|
meillo@36
|
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
|
meillo@36
|
5015 $as_echo "$ac_cv_type_signal" >&6; }
|
meillo@0
|
5016
|
meillo@0
|
5017 cat >>confdefs.h <<_ACEOF
|
meillo@0
|
5018 #define RETSIGTYPE $ac_cv_type_signal
|
meillo@0
|
5019 _ACEOF
|
meillo@0
|
5020
|
meillo@0
|
5021
|
meillo@0
|
5022 for ac_func in strftime
|
meillo@36
|
5023 do :
|
meillo@36
|
5024 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
|
meillo@36
|
5025 if test "x$ac_cv_func_strftime" = x""yes; then :
|
meillo@36
|
5026 cat >>confdefs.h <<_ACEOF
|
meillo@36
|
5027 #define HAVE_STRFTIME 1
|
meillo@0
|
5028 _ACEOF
|
meillo@0
|
5029
|
meillo@0
|
5030 else
|
meillo@0
|
5031 # strftime is in -lintl on SCO UNIX.
|
meillo@36
|
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
|
meillo@36
|
5033 $as_echo_n "checking for strftime in -lintl... " >&6; }
|
meillo@36
|
5034 if test "${ac_cv_lib_intl_strftime+set}" = set; then :
|
meillo@36
|
5035 $as_echo_n "(cached) " >&6
|
meillo@0
|
5036 else
|
meillo@0
|
5037 ac_check_lib_save_LIBS=$LIBS
|
meillo@0
|
5038 LIBS="-lintl $LIBS"
|
meillo@36
|
5039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
5040 /* end confdefs.h. */
|
meillo@0
|
5041
|
meillo@1
|
5042 /* Override any GCC internal prototype to avoid an error.
|
meillo@1
|
5043 Use char because int might match the return type of a GCC
|
meillo@1
|
5044 builtin and then its argument prototype would still apply. */
|
meillo@0
|
5045 #ifdef __cplusplus
|
meillo@0
|
5046 extern "C"
|
meillo@0
|
5047 #endif
|
meillo@0
|
5048 char strftime ();
|
meillo@0
|
5049 int
|
meillo@0
|
5050 main ()
|
meillo@0
|
5051 {
|
meillo@1
|
5052 return strftime ();
|
meillo@0
|
5053 ;
|
meillo@0
|
5054 return 0;
|
meillo@0
|
5055 }
|
meillo@0
|
5056 _ACEOF
|
meillo@36
|
5057 if ac_fn_c_try_link "$LINENO"; then :
|
meillo@0
|
5058 ac_cv_lib_intl_strftime=yes
|
meillo@0
|
5059 else
|
meillo@36
|
5060 ac_cv_lib_intl_strftime=no
|
meillo@36
|
5061 fi
|
meillo@36
|
5062 rm -f core conftest.err conftest.$ac_objext \
|
meillo@36
|
5063 conftest$ac_exeext conftest.$ac_ext
|
meillo@0
|
5064 LIBS=$ac_check_lib_save_LIBS
|
meillo@0
|
5065 fi
|
meillo@36
|
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
|
meillo@36
|
5067 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
|
meillo@36
|
5068 if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
|
meillo@36
|
5069 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
|
meillo@36
|
5070
|
meillo@36
|
5071 LIBS="-lintl $LIBS"
|
meillo@36
|
5072 fi
|
meillo@36
|
5073
|
meillo@36
|
5074 fi
|
meillo@36
|
5075 done
|
meillo@36
|
5076
|
meillo@36
|
5077 for ac_func in vprintf
|
meillo@36
|
5078 do :
|
meillo@36
|
5079 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
|
meillo@36
|
5080 if test "x$ac_cv_func_vprintf" = x""yes; then :
|
meillo@36
|
5081 cat >>confdefs.h <<_ACEOF
|
meillo@36
|
5082 #define HAVE_VPRINTF 1
|
meillo@0
|
5083 _ACEOF
|
meillo@0
|
5084
|
meillo@36
|
5085 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
|
meillo@36
|
5086 if test "x$ac_cv_func__doprnt" = x""yes; then :
|
meillo@36
|
5087
|
meillo@36
|
5088 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
|
meillo@36
|
5089
|
meillo@0
|
5090 fi
|
meillo@0
|
5091
|
meillo@0
|
5092 fi
|
meillo@0
|
5093 done
|
meillo@0
|
5094
|
meillo@0
|
5095
|
meillo@36
|
5096 for ac_func in select socket strerror strstr
|
meillo@36
|
5097 do :
|
meillo@36
|
5098 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
meillo@36
|
5099 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
meillo@36
|
5100 eval as_val=\$$as_ac_var
|
meillo@36
|
5101 if test "x$as_val" = x""yes; then :
|
meillo@36
|
5102 cat >>confdefs.h <<_ACEOF
|
meillo@36
|
5103 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
meillo@0
|
5104 _ACEOF
|
meillo@0
|
5105
|
meillo@0
|
5106 fi
|
meillo@0
|
5107 done
|
meillo@0
|
5108
|
meillo@0
|
5109
|
meillo@0
|
5110
|
meillo@1
|
5111 # Check whether --with-user was given.
|
meillo@36
|
5112 if test "${with_user+set}" = set; then :
|
meillo@1
|
5113 withval=$with_user;
|
meillo@1
|
5114 fi
|
meillo@1
|
5115
|
meillo@0
|
5116 if test "x$with_user" = 'x'; then
|
meillo@0
|
5117 with_user='mail'
|
meillo@0
|
5118 fi
|
meillo@0
|
5119
|
meillo@0
|
5120
|
meillo@1
|
5121 # Check whether --with-group was given.
|
meillo@36
|
5122 if test "${with_group+set}" = set; then :
|
meillo@1
|
5123 withval=$with_group;
|
meillo@1
|
5124 fi
|
meillo@1
|
5125
|
meillo@0
|
5126 if test "x$with_group" = 'x'; then
|
meillo@0
|
5127 with_group='trusted'
|
meillo@0
|
5128 fi
|
meillo@0
|
5129
|
meillo@1
|
5130 # Check whether --enable-debug was given.
|
meillo@36
|
5131 if test "${enable_debug+set}" = set; then :
|
meillo@1
|
5132 enableval=$enable_debug; if test "x$enable_debug" != 'xno'; then
|
meillo@0
|
5133 debug_enabled='yes'
|
meillo@0
|
5134 fi
|
meillo@0
|
5135 else
|
meillo@0
|
5136 debug_enabled='yes'
|
meillo@0
|
5137
|
meillo@1
|
5138 fi
|
meillo@1
|
5139
|
meillo@0
|
5140 if test "x$debug_enabled" = xyes; then
|
meillo@0
|
5141
|
meillo@36
|
5142 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
|
meillo@0
|
5143
|
meillo@0
|
5144 fi
|
meillo@0
|
5145
|
meillo@0
|
5146
|
meillo@0
|
5147 cat >>confdefs.h <<_ACEOF
|
meillo@0
|
5148 #define DEF_MAIL_USER "${with_user}"
|
meillo@0
|
5149 _ACEOF
|
meillo@0
|
5150
|
meillo@0
|
5151
|
meillo@0
|
5152
|
meillo@0
|
5153 cat >>confdefs.h <<_ACEOF
|
meillo@0
|
5154 #define DEF_MAIL_GROUP "${with_group}"
|
meillo@0
|
5155 _ACEOF
|
meillo@0
|
5156
|
meillo@0
|
5157
|
meillo@0
|
5158
|
meillo@0
|
5159
|
meillo@1
|
5160 # Check whether --with-glib_static was given.
|
meillo@36
|
5161 if test "${with_glib_static+set}" = set; then :
|
meillo@1
|
5162 withval=$with_glib_static;
|
meillo@1
|
5163 fi
|
meillo@1
|
5164
|
meillo@0
|
5165 if test "x$with_glib_static" != 'x'; then
|
meillo@0
|
5166 GLIB_LIBS=$with_glib_static
|
meillo@0
|
5167
|
meillo@0
|
5168 fi
|
meillo@0
|
5169
|
meillo@0
|
5170 MD5_LIBS=''
|
meillo@0
|
5171 BASE64_LIBS=''
|
meillo@0
|
5172
|
meillo@1
|
5173 # Check whether --enable-smtp_server was given.
|
meillo@36
|
5174 if test "${enable_smtp_server+set}" = set; then :
|
meillo@1
|
5175 enableval=$enable_smtp_server; if test "x$enable_smtp_server" != 'xno'; then
|
meillo@0
|
5176 smtp_server_enabled='yes'
|
meillo@0
|
5177 fi
|
meillo@0
|
5178 else
|
meillo@0
|
5179 smtp_server_enabled='yes'
|
meillo@0
|
5180
|
meillo@1
|
5181 fi
|
meillo@1
|
5182
|
meillo@0
|
5183 if test "x$smtp_server_enabled" = xyes; then
|
meillo@0
|
5184
|
meillo@36
|
5185 $as_echo "#define ENABLE_SMTP_SERVER 1" >>confdefs.h
|
meillo@0
|
5186
|
meillo@0
|
5187 fi
|
meillo@0
|
5188
|
meillo@1
|
5189 # Check whether --enable-pop3 was given.
|
meillo@36
|
5190 if test "${enable_pop3+set}" = set; then :
|
meillo@1
|
5191 enableval=$enable_pop3; if test "x$enable_pop3" != 'xno'; then
|
meillo@0
|
5192 pop3_enabled='yes'
|
meillo@0
|
5193 fi
|
meillo@0
|
5194 else
|
meillo@0
|
5195 pop3_enabled='yes'
|
meillo@0
|
5196
|
meillo@1
|
5197 fi
|
meillo@1
|
5198
|
meillo@0
|
5199 if test "x$pop3_enabled" = xyes; then
|
meillo@0
|
5200
|
meillo@36
|
5201 $as_echo "#define ENABLE_POP3 1" >>confdefs.h
|
meillo@0
|
5202
|
meillo@0
|
5203 # MD5_LIBS='md5/libmd5c.a'
|
meillo@0
|
5204 need_md5='yes'
|
meillo@0
|
5205 fi
|
meillo@0
|
5206
|
meillo@1
|
5207 # Check whether --enable-auth was given.
|
meillo@36
|
5208 if test "${enable_auth+set}" = set; then :
|
meillo@1
|
5209 enableval=$enable_auth; if test "x$enable_auth" != 'xno'; then
|
meillo@0
|
5210 auth_enabled='yes'
|
meillo@0
|
5211 fi
|
meillo@1
|
5212 fi
|
meillo@1
|
5213
|
meillo@0
|
5214 if test "x$auth_enabled" = xyes; then
|
meillo@0
|
5215
|
meillo@36
|
5216 $as_echo "#define ENABLE_AUTH 1" >>confdefs.h
|
meillo@0
|
5217
|
meillo@0
|
5218 BASE64_LIBS='base64/libbase64.a'
|
meillo@0
|
5219 # MD5_LIBS='md5/libmd5c.a'
|
meillo@0
|
5220 need_md5='yes'
|
meillo@0
|
5221 fi
|
meillo@0
|
5222
|
meillo@0
|
5223
|
meillo@1
|
5224 # Check whether --enable-maildir was given.
|
meillo@36
|
5225 if test "${enable_maildir+set}" = set; then :
|
meillo@1
|
5226 enableval=$enable_maildir; if test "x$enable_maildir" != 'xno'; then
|
meillo@0
|
5227 maildir_enabled='yes'
|
meillo@0
|
5228 fi
|
meillo@1
|
5229 fi
|
meillo@1
|
5230
|
meillo@0
|
5231 if test "x$maildir_enabled" = xyes; then
|
meillo@0
|
5232
|
meillo@36
|
5233 $as_echo "#define ENABLE_MAILDIR 1" >>confdefs.h
|
meillo@0
|
5234
|
meillo@0
|
5235 fi
|
meillo@0
|
5236
|
meillo@0
|
5237
|
meillo@1
|
5238 # Check whether --with-libcrypto was given.
|
meillo@36
|
5239 if test "${with_libcrypto+set}" = set; then :
|
meillo@1
|
5240 withval=$with_libcrypto;
|
meillo@1
|
5241 fi
|
meillo@1
|
5242
|
meillo@0
|
5243 if test "x$with_libcrypto" != 'xyes'; then
|
meillo@0
|
5244 with_libcrypto='no'
|
meillo@0
|
5245 fi
|
meillo@0
|
5246
|
meillo@0
|
5247 if test "x$need_md5" = 'xyes'; then
|
meillo@0
|
5248 if test "x$with_libcrypto" = "xyes"; then
|
meillo@36
|
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5 in -lcrypto" >&5
|
meillo@36
|
5250 $as_echo_n "checking for MD5 in -lcrypto... " >&6; }
|
meillo@36
|
5251 if test "${ac_cv_lib_crypto_MD5+set}" = set; then :
|
meillo@36
|
5252 $as_echo_n "(cached) " >&6
|
meillo@0
|
5253 else
|
meillo@0
|
5254 ac_check_lib_save_LIBS=$LIBS
|
meillo@0
|
5255 LIBS="-lcrypto $LIBS"
|
meillo@36
|
5256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
5257 /* end confdefs.h. */
|
meillo@0
|
5258
|
meillo@1
|
5259 /* Override any GCC internal prototype to avoid an error.
|
meillo@1
|
5260 Use char because int might match the return type of a GCC
|
meillo@1
|
5261 builtin and then its argument prototype would still apply. */
|
meillo@0
|
5262 #ifdef __cplusplus
|
meillo@0
|
5263 extern "C"
|
meillo@0
|
5264 #endif
|
meillo@0
|
5265 char MD5 ();
|
meillo@0
|
5266 int
|
meillo@0
|
5267 main ()
|
meillo@0
|
5268 {
|
meillo@1
|
5269 return MD5 ();
|
meillo@0
|
5270 ;
|
meillo@0
|
5271 return 0;
|
meillo@0
|
5272 }
|
meillo@0
|
5273 _ACEOF
|
meillo@36
|
5274 if ac_fn_c_try_link "$LINENO"; then :
|
meillo@0
|
5275 ac_cv_lib_crypto_MD5=yes
|
meillo@0
|
5276 else
|
meillo@36
|
5277 ac_cv_lib_crypto_MD5=no
|
meillo@36
|
5278 fi
|
meillo@36
|
5279 rm -f core conftest.err conftest.$ac_objext \
|
meillo@36
|
5280 conftest$ac_exeext conftest.$ac_ext
|
meillo@0
|
5281 LIBS=$ac_check_lib_save_LIBS
|
meillo@0
|
5282 fi
|
meillo@36
|
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5" >&5
|
meillo@36
|
5284 $as_echo "$ac_cv_lib_crypto_MD5" >&6; }
|
meillo@36
|
5285 if test "x$ac_cv_lib_crypto_MD5" = x""yes; then :
|
meillo@0
|
5286 has_crypto='yes'
|
meillo@0
|
5287 else
|
meillo@36
|
5288 as_fn_error "'no libcrypto'" "$LINENO" 5
|
meillo@0
|
5289 fi
|
meillo@0
|
5290
|
meillo@0
|
5291 if test "x$has_crypto" = 'xyes'; then
|
meillo@0
|
5292
|
meillo@36
|
5293 $as_echo "#define USE_LIB_CRYPTO 1" >>confdefs.h
|
meillo@0
|
5294
|
meillo@0
|
5295 MD5_LIBS='-lcrypto'
|
meillo@0
|
5296 fi
|
meillo@0
|
5297 else
|
meillo@0
|
5298 MD5_LIBS='md5/libmd5c.a'
|
meillo@0
|
5299 fi
|
meillo@0
|
5300 fi
|
meillo@0
|
5301
|
meillo@0
|
5302
|
meillo@0
|
5303 IDENT_LIBS=''
|
meillo@1
|
5304 # Check whether --enable-ident was given.
|
meillo@36
|
5305 if test "${enable_ident+set}" = set; then :
|
meillo@1
|
5306 enableval=$enable_ident; if test "x$enable_ident" != 'xno'; then
|
meillo@0
|
5307 ident_enabled='yes'
|
meillo@0
|
5308 fi
|
meillo@1
|
5309 fi
|
meillo@1
|
5310
|
meillo@0
|
5311
|
meillo@0
|
5312 if test "x$ident_enabled" = xyes; then
|
meillo@0
|
5313
|
meillo@36
|
5314 $as_echo "#define ENABLE_IDENT 1" >>confdefs.h
|
meillo@36
|
5315
|
meillo@36
|
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ident_id in -lident" >&5
|
meillo@36
|
5317 $as_echo_n "checking for ident_id in -lident... " >&6; }
|
meillo@36
|
5318 if test "${ac_cv_lib_ident_ident_id+set}" = set; then :
|
meillo@36
|
5319 $as_echo_n "(cached) " >&6
|
meillo@0
|
5320 else
|
meillo@0
|
5321 ac_check_lib_save_LIBS=$LIBS
|
meillo@0
|
5322 LIBS="-lident $LIBS"
|
meillo@36
|
5323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
5324 /* end confdefs.h. */
|
meillo@0
|
5325
|
meillo@1
|
5326 /* Override any GCC internal prototype to avoid an error.
|
meillo@1
|
5327 Use char because int might match the return type of a GCC
|
meillo@1
|
5328 builtin and then its argument prototype would still apply. */
|
meillo@0
|
5329 #ifdef __cplusplus
|
meillo@0
|
5330 extern "C"
|
meillo@0
|
5331 #endif
|
meillo@0
|
5332 char ident_id ();
|
meillo@0
|
5333 int
|
meillo@0
|
5334 main ()
|
meillo@0
|
5335 {
|
meillo@1
|
5336 return ident_id ();
|
meillo@0
|
5337 ;
|
meillo@0
|
5338 return 0;
|
meillo@0
|
5339 }
|
meillo@0
|
5340 _ACEOF
|
meillo@36
|
5341 if ac_fn_c_try_link "$LINENO"; then :
|
meillo@0
|
5342 ac_cv_lib_ident_ident_id=yes
|
meillo@0
|
5343 else
|
meillo@36
|
5344 ac_cv_lib_ident_ident_id=no
|
meillo@36
|
5345 fi
|
meillo@36
|
5346 rm -f core conftest.err conftest.$ac_objext \
|
meillo@36
|
5347 conftest$ac_exeext conftest.$ac_ext
|
meillo@0
|
5348 LIBS=$ac_check_lib_save_LIBS
|
meillo@0
|
5349 fi
|
meillo@36
|
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ident_ident_id" >&5
|
meillo@36
|
5351 $as_echo "$ac_cv_lib_ident_ident_id" >&6; }
|
meillo@36
|
5352 if test "x$ac_cv_lib_ident_ident_id" = x""yes; then :
|
meillo@0
|
5353 IDENT_LIBS='-lident'
|
meillo@0
|
5354 else
|
meillo@0
|
5355 IDENT_LIBS='libident/libident.a'
|
meillo@0
|
5356 fi
|
meillo@0
|
5357
|
meillo@0
|
5358 fi
|
meillo@0
|
5359
|
meillo@0
|
5360
|
meillo@1
|
5361 # Check whether --enable-mserver was given.
|
meillo@36
|
5362 if test "${enable_mserver+set}" = set; then :
|
meillo@1
|
5363 enableval=$enable_mserver; if test "x$enable_mserver" != 'xno'; then
|
meillo@0
|
5364 mserver_enabled='yes'
|
meillo@0
|
5365 fi
|
meillo@1
|
5366 fi
|
meillo@1
|
5367
|
meillo@0
|
5368 if test "x$mserver_enabled" = xyes; then
|
meillo@0
|
5369
|
meillo@36
|
5370 $as_echo "#define ENABLE_MSERVER 1" >>confdefs.h
|
meillo@0
|
5371
|
meillo@0
|
5372 fi
|
meillo@0
|
5373
|
meillo@0
|
5374
|
meillo@1
|
5375 # Check whether --with-liblockfile was given.
|
meillo@36
|
5376 if test "${with_liblockfile+set}" = set; then :
|
meillo@1
|
5377 withval=$with_liblockfile;
|
meillo@1
|
5378 fi
|
meillo@1
|
5379
|
meillo@0
|
5380 if test "x$with_liblockfile" != 'x'; then
|
meillo@0
|
5381 with_liblockfile='yes'
|
meillo@0
|
5382 fi
|
meillo@0
|
5383 if test "x$with_liblockfile" = xyes; then
|
meillo@36
|
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5
|
meillo@36
|
5385 $as_echo_n "checking for maillock in -llockfile... " >&6; }
|
meillo@36
|
5386 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then :
|
meillo@36
|
5387 $as_echo_n "(cached) " >&6
|
meillo@0
|
5388 else
|
meillo@0
|
5389 ac_check_lib_save_LIBS=$LIBS
|
meillo@0
|
5390 LIBS="-llockfile $LIBS"
|
meillo@36
|
5391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
meillo@0
|
5392 /* end confdefs.h. */
|
meillo@0
|
5393
|
meillo@1
|
5394 /* Override any GCC internal prototype to avoid an error.
|
meillo@1
|
5395 Use char because int might match the return type of a GCC
|
meillo@1
|
5396 builtin and then its argument prototype would still apply. */
|
meillo@0
|
5397 #ifdef __cplusplus
|
meillo@0
|
5398 extern "C"
|
meillo@0
|
5399 #endif
|
meillo@0
|
5400 char maillock ();
|
meillo@0
|
5401 int
|
meillo@0
|
5402 main ()
|
meillo@0
|
5403 {
|
meillo@1
|
5404 return maillock ();
|
meillo@0
|
5405 ;
|
meillo@0
|
5406 return 0;
|
meillo@0
|
5407 }
|
meillo@0
|
5408 _ACEOF
|
meillo@36
|
5409 if ac_fn_c_try_link "$LINENO"; then :
|
meillo@0
|
5410 ac_cv_lib_lockfile_maillock=yes
|
meillo@0
|
5411 else
|
meillo@36
|
5412 ac_cv_lib_lockfile_maillock=no
|
meillo@36
|
5413 fi
|
meillo@36
|
5414 rm -f core conftest.err conftest.$ac_objext \
|
meillo@36
|
5415 conftest$ac_exeext conftest.$ac_ext
|
meillo@0
|
5416 LIBS=$ac_check_lib_save_LIBS
|
meillo@0
|
5417 fi
|
meillo@36
|
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5
|
meillo@36
|
5419 $as_echo "$ac_cv_lib_lockfile_maillock" >&6; }
|
meillo@36
|
5420 if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then :
|
meillo@0
|
5421 has_lockfile=yes
|
meillo@0
|
5422 else
|
meillo@36
|
5423 as_fn_error "\"no liblockfile\"" "$LINENO" 5
|
meillo@0
|
5424 fi
|
meillo@0
|
5425
|
meillo@0
|
5426 LOCKFILE_LIBS='-llockfile'
|
meillo@0
|
5427
|
meillo@36
|
5428 $as_echo "#define USE_LIBLOCKFILE 1" >>confdefs.h
|
meillo@0
|
5429
|
meillo@0
|
5430 else
|
meillo@0
|
5431 LOCKFILE_LIBS=''
|
meillo@0
|
5432 fi
|
meillo@0
|
5433
|
meillo@0
|
5434
|
meillo@0
|
5435
|
meillo@0
|
5436
|
meillo@1
|
5437 # Check whether --with-logdir was given.
|
meillo@36
|
5438 if test "${with_logdir+set}" = set; then :
|
meillo@1
|
5439 withval=$with_logdir;
|
meillo@0
|
5440 else
|
meillo@0
|
5441 with_logdir='/var/log/masqmail/'
|
meillo@0
|
5442
|
meillo@1
|
5443 fi
|
meillo@1
|
5444
|
meillo@1
|
5445
|
meillo@1
|
5446
|
meillo@1
|
5447
|
meillo@1
|
5448 # Check whether --with-spooldir was given.
|
meillo@36
|
5449 if test "${with_spooldir+set}" = set; then :
|
meillo@1
|
5450 withval=$with_spooldir;
|
meillo@0
|
5451 else
|
meillo@0
|
5452 with_spooldir='/var/spool/masqmail/'
|
meillo@0
|
5453
|
meillo@1
|
5454 fi
|
meillo@1
|
5455
|
meillo@1
|
5456
|
meillo@1
|
5457
|
meillo@1
|
5458
|
meillo@1
|
5459 # Check whether --with-confdir was given.
|
meillo@36
|
5460 if test "${with_confdir+set}" = set; then :
|
meillo@1
|
5461 withval=$with_confdir;
|
meillo@0
|
5462 else
|
meillo@0
|
5463 with_confdir='/etc/masqmail'
|
meillo@0
|
5464
|
meillo@1
|
5465 fi
|
meillo@1
|
5466
|
meillo@0
|
5467
|
meillo@0
|
5468 cat >>confdefs.h <<_ACEOF
|
meillo@0
|
5469 #define CONF_DIR "${with_confdir}"
|
meillo@0
|
5470 _ACEOF
|
meillo@0
|
5471
|
meillo@0
|
5472
|
meillo@0
|
5473
|
meillo@0
|
5474 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
|
meillo@0
|
5475
|
meillo@36
|
5476
|
meillo@0
|
5477 cat >>confdefs.h <<_ACEOF
|
meillo@36
|
5478 #define DATA_DIR "`eval eval echo $datadir`/masqmail"
|
meillo@0
|
5479 _ACEOF
|
meillo@0
|
5480
|
meillo@0
|
5481
|
meillo@0
|
5482 if test "x${exec_prefix}" != 'xNONE'; then
|
meillo@0
|
5483
|
meillo@0
|
5484 cat >>confdefs.h <<_ACEOF
|
meillo@0
|
5485 #define SBINDIR "${exec_prefix}/sbin"
|
meillo@0
|
5486 _ACEOF
|
meillo@0
|
5487
|
meillo@0
|
5488 else
|
meillo@0
|
5489 if test "x${prefix}" != 'xNONE'; then
|
meillo@0
|
5490 cat >>confdefs.h <<_ACEOF
|
meillo@0
|
5491 #define SBINDIR "${prefix}/sbin"
|
meillo@0
|
5492 _ACEOF
|
meillo@0
|
5493
|
meillo@0
|
5494 else
|
meillo@0
|
5495 cat >>confdefs.h <<_ACEOF
|
meillo@0
|
5496 #define SBINDIR "/usr/sbin"
|
meillo@0
|
5497 _ACEOF
|
meillo@0
|
5498
|
meillo@0
|
5499 fi
|
meillo@0
|
5500 fi
|
meillo@0
|
5501
|
meillo@55
|
5502 ac_config_files="$ac_config_files Makefile src/Makefile src/base64/Makefile src/md5/Makefile src/libident/Makefile docs/Makefile"
|
meillo@1
|
5503
|
meillo@0
|
5504 cat >confcache <<\_ACEOF
|
meillo@0
|
5505 # This file is a shell script that caches the results of configure
|
meillo@0
|
5506 # tests run on this system so they can be shared between configure
|
meillo@0
|
5507 # scripts and configure runs, see configure's option --config-cache.
|
meillo@0
|
5508 # It is not useful on other systems. If it contains results you don't
|
meillo@0
|
5509 # want to keep, you may remove or edit it.
|
meillo@0
|
5510 #
|
meillo@0
|
5511 # config.status only pays attention to the cache file if you give it
|
meillo@0
|
5512 # the --recheck option to rerun configure.
|
meillo@0
|
5513 #
|
meillo@0
|
5514 # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
meillo@0
|
5515 # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
meillo@0
|
5516 # following values.
|
meillo@0
|
5517
|
meillo@0
|
5518 _ACEOF
|
meillo@0
|
5519
|
meillo@0
|
5520 # The following way of writing the cache mishandles newlines in values,
|
meillo@0
|
5521 # but we know of no workaround that is simple, portable, and efficient.
|
meillo@1
|
5522 # So, we kill variables containing newlines.
|
meillo@0
|
5523 # Ultrix sh set writes to stderr and can't be redirected directly,
|
meillo@0
|
5524 # and sets the high bit in the cache file unless we assign to the vars.
|
meillo@1
|
5525 (
|
meillo@1
|
5526 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
meillo@1
|
5527 eval ac_val=\$$ac_var
|
meillo@1
|
5528 case $ac_val in #(
|
meillo@1
|
5529 *${as_nl}*)
|
meillo@1
|
5530 case $ac_var in #(
|
meillo@36
|
5531 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
meillo@36
|
5532 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
meillo@1
|
5533 esac
|
meillo@1
|
5534 case $ac_var in #(
|
meillo@1
|
5535 _ | IFS | as_nl) ;; #(
|
meillo@36
|
5536 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
meillo@36
|
5537 *) { eval $ac_var=; unset $ac_var;} ;;
|
meillo@1
|
5538 esac ;;
|
meillo@1
|
5539 esac
|
meillo@1
|
5540 done
|
meillo@1
|
5541
|
meillo@0
|
5542 (set) 2>&1 |
|
meillo@1
|
5543 case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
meillo@1
|
5544 *${as_nl}ac_space=\ *)
|
meillo@36
|
5545 # `set' does not quote correctly, so add quotes: double-quote
|
meillo@36
|
5546 # substitution turns \\\\ into \\, and sed turns \\ into \.
|
meillo@0
|
5547 sed -n \
|
meillo@0
|
5548 "s/'/'\\\\''/g;
|
meillo@0
|
5549 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
meillo@1
|
5550 ;; #(
|
meillo@0
|
5551 *)
|
meillo@0
|
5552 # `set' quotes correctly as required by POSIX, so do not add quotes.
|
meillo@1
|
5553 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
meillo@0
|
5554 ;;
|
meillo@1
|
5555 esac |
|
meillo@1
|
5556 sort
|
meillo@1
|
5557 ) |
|
meillo@0
|
5558 sed '
|
meillo@1
|
5559 /^ac_cv_env_/b end
|
meillo@0
|
5560 t clear
|
meillo@1
|
5561 :clear
|
meillo@0
|
5562 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
meillo@0
|
5563 t end
|
meillo@1
|
5564 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
meillo@1
|
5565 :end' >>confcache
|
meillo@1
|
5566 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
meillo@1
|
5567 if test -w "$cache_file"; then
|
meillo@1
|
5568 test "x$cache_file" != "x/dev/null" &&
|
meillo@36
|
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
meillo@36
|
5570 $as_echo "$as_me: updating cache $cache_file" >&6;}
|
meillo@0
|
5571 cat confcache >$cache_file
|
meillo@0
|
5572 else
|
meillo@36
|
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
meillo@36
|
5574 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
meillo@0
|
5575 fi
|
meillo@0
|
5576 fi
|
meillo@0
|
5577 rm -f confcache
|
meillo@0
|
5578
|
meillo@0
|
5579 test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
meillo@0
|
5580 # Let make expand exec_prefix.
|
meillo@0
|
5581 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
meillo@0
|
5582
|
meillo@0
|
5583 DEFS=-DHAVE_CONFIG_H
|
meillo@0
|
5584
|
meillo@0
|
5585 ac_libobjs=
|
meillo@0
|
5586 ac_ltlibobjs=
|
meillo@0
|
5587 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
meillo@0
|
5588 # 1. Remove the extension, and $U if already installed.
|
meillo@1
|
5589 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
meillo@36
|
5590 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
meillo@1
|
5591 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
meillo@1
|
5592 # will be set to the directory where LIBOBJS objects are built.
|
meillo@36
|
5593 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
meillo@36
|
5594 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
meillo@0
|
5595 done
|
meillo@0
|
5596 LIBOBJS=$ac_libobjs
|
meillo@0
|
5597
|
meillo@0
|
5598 LTLIBOBJS=$ac_ltlibobjs
|
meillo@0
|
5599
|
meillo@0
|
5600
|
meillo@36
|
5601 if test -n "$EXEEXT"; then
|
meillo@36
|
5602 am__EXEEXT_TRUE=
|
meillo@36
|
5603 am__EXEEXT_FALSE='#'
|
meillo@36
|
5604 else
|
meillo@36
|
5605 am__EXEEXT_TRUE='#'
|
meillo@36
|
5606 am__EXEEXT_FALSE=
|
meillo@36
|
5607 fi
|
meillo@36
|
5608
|
meillo@0
|
5609 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
meillo@36
|
5610 as_fn_error "conditional \"AMDEP\" was never defined.
|
meillo@36
|
5611 Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
meillo@0
|
5612 fi
|
meillo@0
|
5613 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
meillo@36
|
5614 as_fn_error "conditional \"am__fastdepCC\" was never defined.
|
meillo@36
|
5615 Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
meillo@0
|
5616 fi
|
meillo@0
|
5617
|
meillo@0
|
5618 : ${CONFIG_STATUS=./config.status}
|
meillo@36
|
5619 ac_write_fail=0
|
meillo@0
|
5620 ac_clean_files_save=$ac_clean_files
|
meillo@0
|
5621 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
meillo@36
|
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
meillo@36
|
5623 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
meillo@36
|
5624 as_write_fail=0
|
meillo@36
|
5625 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
meillo@0
|
5626 #! $SHELL
|
meillo@0
|
5627 # Generated by $as_me.
|
meillo@0
|
5628 # Run this file to recreate the current configuration.
|
meillo@0
|
5629 # Compiler output produced by configure, useful for debugging
|
meillo@0
|
5630 # configure, is in config.log if it exists.
|
meillo@0
|
5631
|
meillo@0
|
5632 debug=false
|
meillo@0
|
5633 ac_cs_recheck=false
|
meillo@0
|
5634 ac_cs_silent=false
|
meillo@36
|
5635
|
meillo@0
|
5636 SHELL=\${CONFIG_SHELL-$SHELL}
|
meillo@36
|
5637 export SHELL
|
meillo@36
|
5638 _ASEOF
|
meillo@36
|
5639 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
meillo@36
|
5640 ## -------------------- ##
|
meillo@36
|
5641 ## M4sh Initialization. ##
|
meillo@36
|
5642 ## -------------------- ##
|
meillo@0
|
5643
|
meillo@1
|
5644 # Be more Bourne compatible
|
meillo@1
|
5645 DUALCASE=1; export DUALCASE # for MKS sh
|
meillo@36
|
5646 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
meillo@0
|
5647 emulate sh
|
meillo@0
|
5648 NULLCMD=:
|
meillo@36
|
5649 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
meillo@0
|
5650 # is contrary to our usage. Disable this feature.
|
meillo@0
|
5651 alias -g '${1+"$@"}'='"$@"'
|
meillo@1
|
5652 setopt NO_GLOB_SUBST
|
meillo@1
|
5653 else
|
meillo@36
|
5654 case `(set -o) 2>/dev/null` in #(
|
meillo@36
|
5655 *posix*) :
|
meillo@36
|
5656 set -o posix ;; #(
|
meillo@36
|
5657 *) :
|
meillo@36
|
5658 ;;
|
meillo@1
|
5659 esac
|
meillo@36
|
5660 fi
|
meillo@36
|
5661
|
meillo@36
|
5662
|
meillo@36
|
5663 as_nl='
|
meillo@36
|
5664 '
|
meillo@36
|
5665 export as_nl
|
meillo@36
|
5666 # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
meillo@36
|
5667 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
meillo@36
|
5668 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
meillo@36
|
5669 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
meillo@36
|
5670 # Prefer a ksh shell builtin over an external printf program on Solaris,
|
meillo@36
|
5671 # but without wasting forks for bash or zsh.
|
meillo@36
|
5672 if test -z "$BASH_VERSION$ZSH_VERSION" \
|
meillo@36
|
5673 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
meillo@36
|
5674 as_echo='print -r --'
|
meillo@36
|
5675 as_echo_n='print -rn --'
|
meillo@36
|
5676 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
meillo@36
|
5677 as_echo='printf %s\n'
|
meillo@36
|
5678 as_echo_n='printf %s'
|
meillo@36
|
5679 else
|
meillo@36
|
5680 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
meillo@36
|
5681 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
meillo@36
|
5682 as_echo_n='/usr/ucb/echo -n'
|
meillo@36
|
5683 else
|
meillo@36
|
5684 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
meillo@36
|
5685 as_echo_n_body='eval
|
meillo@36
|
5686 arg=$1;
|
meillo@36
|
5687 case $arg in #(
|
meillo@36
|
5688 *"$as_nl"*)
|
meillo@36
|
5689 expr "X$arg" : "X\\(.*\\)$as_nl";
|
meillo@36
|
5690 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
meillo@36
|
5691 esac;
|
meillo@36
|
5692 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
meillo@36
|
5693 '
|
meillo@36
|
5694 export as_echo_n_body
|
meillo@36
|
5695 as_echo_n='sh -c $as_echo_n_body as_echo'
|
meillo@36
|
5696 fi
|
meillo@36
|
5697 export as_echo_body
|
meillo@36
|
5698 as_echo='sh -c $as_echo_body as_echo'
|
meillo@36
|
5699 fi
|
meillo@0
|
5700
|
meillo@0
|
5701 # The user is always right.
|
meillo@0
|
5702 if test "${PATH_SEPARATOR+set}" != set; then
|
meillo@36
|
5703 PATH_SEPARATOR=:
|
meillo@36
|
5704 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
meillo@36
|
5705 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
meillo@36
|
5706 PATH_SEPARATOR=';'
|
meillo@36
|
5707 }
|
meillo@1
|
5708 fi
|
meillo@1
|
5709
|
meillo@1
|
5710
|
meillo@1
|
5711 # IFS
|
meillo@1
|
5712 # We need space, tab and new line, in precisely that order. Quoting is
|
meillo@1
|
5713 # there to prevent editors from complaining about space-tab.
|
meillo@1
|
5714 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
meillo@1
|
5715 # splitting by setting IFS to empty value.)
|
meillo@1
|
5716 IFS=" "" $as_nl"
|
meillo@1
|
5717
|
meillo@1
|
5718 # Find who we are. Look in the path if we contain no directory separator.
|
meillo@36
|
5719 case $0 in #((
|
meillo@1
|
5720 *[\\/]* ) as_myself=$0 ;;
|
meillo@1
|
5721 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
meillo@0
|
5722 for as_dir in $PATH
|
meillo@0
|
5723 do
|
meillo@0
|
5724 IFS=$as_save_IFS
|
meillo@0
|
5725 test -z "$as_dir" && as_dir=.
|
meillo@36
|
5726 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
meillo@36
|
5727 done
|
meillo@1
|
5728 IFS=$as_save_IFS
|
meillo@1
|
5729
|
meillo@1
|
5730 ;;
|
meillo@1
|
5731 esac
|
meillo@1
|
5732 # We did not find ourselves, most probably we were run as `sh COMMAND'
|
meillo@1
|
5733 # in which case we are not to be found in the path.
|
meillo@1
|
5734 if test "x$as_myself" = x; then
|
meillo@1
|
5735 as_myself=$0
|
meillo@1
|
5736 fi
|
meillo@1
|
5737 if test ! -f "$as_myself"; then
|
meillo@36
|
5738 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
meillo@36
|
5739 exit 1
|
meillo@36
|
5740 fi
|
meillo@36
|
5741
|
meillo@36
|
5742 # Unset variables that we do not need and which cause bugs (e.g. in
|
meillo@36
|
5743 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
meillo@36
|
5744 # suppresses any "Segmentation fault" message there. '((' could
|
meillo@36
|
5745 # trigger a bug in pdksh 5.2.14.
|
meillo@36
|
5746 for as_var in BASH_ENV ENV MAIL MAILPATH
|
meillo@36
|
5747 do eval test x\${$as_var+set} = xset \
|
meillo@36
|
5748 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
meillo@1
|
5749 done
|
meillo@1
|
5750 PS1='$ '
|
meillo@1
|
5751 PS2='> '
|
meillo@1
|
5752 PS4='+ '
|
meillo@1
|
5753
|
meillo@1
|
5754 # NLS nuisances.
|
meillo@36
|
5755 LC_ALL=C
|
meillo@36
|
5756 export LC_ALL
|
meillo@36
|
5757 LANGUAGE=C
|
meillo@36
|
5758 export LANGUAGE
|
meillo@36
|
5759
|
meillo@36
|
5760 # CDPATH.
|
meillo@36
|
5761 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
meillo@36
|
5762
|
meillo@36
|
5763
|
meillo@36
|
5764 # as_fn_error ERROR [LINENO LOG_FD]
|
meillo@36
|
5765 # ---------------------------------
|
meillo@36
|
5766 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
meillo@36
|
5767 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
meillo@36
|
5768 # script with status $?, using 1 if that was 0.
|
meillo@36
|
5769 as_fn_error ()
|
meillo@36
|
5770 {
|
meillo@36
|
5771 as_status=$?; test $as_status -eq 0 && as_status=1
|
meillo@36
|
5772 if test "$3"; then
|
meillo@36
|
5773 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
meillo@36
|
5774 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
meillo@0
|
5775 fi
|
meillo@36
|
5776 $as_echo "$as_me: error: $1" >&2
|
meillo@36
|
5777 as_fn_exit $as_status
|
meillo@36
|
5778 } # as_fn_error
|
meillo@36
|
5779
|
meillo@36
|
5780
|
meillo@36
|
5781 # as_fn_set_status STATUS
|
meillo@36
|
5782 # -----------------------
|
meillo@36
|
5783 # Set $? to STATUS, without forking.
|
meillo@36
|
5784 as_fn_set_status ()
|
meillo@36
|
5785 {
|
meillo@36
|
5786 return $1
|
meillo@36
|
5787 } # as_fn_set_status
|
meillo@36
|
5788
|
meillo@36
|
5789 # as_fn_exit STATUS
|
meillo@36
|
5790 # -----------------
|
meillo@36
|
5791 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
meillo@36
|
5792 as_fn_exit ()
|
meillo@36
|
5793 {
|
meillo@36
|
5794 set +e
|
meillo@36
|
5795 as_fn_set_status $1
|
meillo@36
|
5796 exit $1
|
meillo@36
|
5797 } # as_fn_exit
|
meillo@36
|
5798
|
meillo@36
|
5799 # as_fn_unset VAR
|
meillo@36
|
5800 # ---------------
|
meillo@36
|
5801 # Portably unset VAR.
|
meillo@36
|
5802 as_fn_unset ()
|
meillo@36
|
5803 {
|
meillo@36
|
5804 { eval $1=; unset $1;}
|
meillo@36
|
5805 }
|
meillo@36
|
5806 as_unset=as_fn_unset
|
meillo@36
|
5807 # as_fn_append VAR VALUE
|
meillo@36
|
5808 # ----------------------
|
meillo@36
|
5809 # Append the text in VALUE to the end of the definition contained in VAR. Take
|
meillo@36
|
5810 # advantage of any shell optimizations that allow amortized linear growth over
|
meillo@36
|
5811 # repeated appends, instead of the typical quadratic growth present in naive
|
meillo@36
|
5812 # implementations.
|
meillo@36
|
5813 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
meillo@36
|
5814 eval 'as_fn_append ()
|
meillo@36
|
5815 {
|
meillo@36
|
5816 eval $1+=\$2
|
meillo@36
|
5817 }'
|
meillo@36
|
5818 else
|
meillo@36
|
5819 as_fn_append ()
|
meillo@36
|
5820 {
|
meillo@36
|
5821 eval $1=\$$1\$2
|
meillo@36
|
5822 }
|
meillo@36
|
5823 fi # as_fn_append
|
meillo@36
|
5824
|
meillo@36
|
5825 # as_fn_arith ARG...
|
meillo@36
|
5826 # ------------------
|
meillo@36
|
5827 # Perform arithmetic evaluation on the ARGs, and store the result in the
|
meillo@36
|
5828 # global $as_val. Take advantage of shells that can avoid forks. The arguments
|
meillo@36
|
5829 # must be portable across $(()) and expr.
|
meillo@36
|
5830 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
meillo@36
|
5831 eval 'as_fn_arith ()
|
meillo@36
|
5832 {
|
meillo@36
|
5833 as_val=$(( $* ))
|
meillo@36
|
5834 }'
|
meillo@36
|
5835 else
|
meillo@36
|
5836 as_fn_arith ()
|
meillo@36
|
5837 {
|
meillo@36
|
5838 as_val=`expr "$@" || test $? -eq 1`
|
meillo@36
|
5839 }
|
meillo@36
|
5840 fi # as_fn_arith
|
meillo@36
|
5841
|
meillo@36
|
5842
|
meillo@1
|
5843 if expr a : '\(a\)' >/dev/null 2>&1 &&
|
meillo@1
|
5844 test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
meillo@1
|
5845 as_expr=expr
|
meillo@1
|
5846 else
|
meillo@1
|
5847 as_expr=false
|
meillo@1
|
5848 fi
|
meillo@1
|
5849
|
meillo@1
|
5850 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
meillo@1
|
5851 as_basename=basename
|
meillo@1
|
5852 else
|
meillo@1
|
5853 as_basename=false
|
meillo@1
|
5854 fi
|
meillo@1
|
5855
|
meillo@36
|
5856 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
meillo@36
|
5857 as_dirname=dirname
|
meillo@36
|
5858 else
|
meillo@36
|
5859 as_dirname=false
|
meillo@36
|
5860 fi
|
meillo@36
|
5861
|
meillo@1
|
5862 as_me=`$as_basename -- "$0" ||
|
meillo@1
|
5863 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
meillo@1
|
5864 X"$0" : 'X\(//\)$' \| \
|
meillo@1
|
5865 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
meillo@36
|
5866 $as_echo X/"$0" |
|
meillo@1
|
5867 sed '/^.*\/\([^/][^/]*\)\/*$/{
|
meillo@1
|
5868 s//\1/
|
meillo@1
|
5869 q
|
meillo@1
|
5870 }
|
meillo@1
|
5871 /^X\/\(\/\/\)$/{
|
meillo@1
|
5872 s//\1/
|
meillo@1
|
5873 q
|
meillo@1
|
5874 }
|
meillo@1
|
5875 /^X\/\(\/\).*/{
|
meillo@1
|
5876 s//\1/
|
meillo@1
|
5877 q
|
meillo@1
|
5878 }
|
meillo@1
|
5879 s/.*/./; q'`
|
meillo@1
|
5880
|
meillo@36
|
5881 # Avoid depending upon Character Ranges.
|
meillo@36
|
5882 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
meillo@36
|
5883 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
meillo@36
|
5884 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
meillo@36
|
5885 as_cr_digits='0123456789'
|
meillo@36
|
5886 as_cr_alnum=$as_cr_Letters$as_cr_digits
|
meillo@1
|
5887
|
meillo@1
|
5888 ECHO_C= ECHO_N= ECHO_T=
|
meillo@36
|
5889 case `echo -n x` in #(((((
|
meillo@1
|
5890 -n*)
|
meillo@36
|
5891 case `echo 'xy\c'` in
|
meillo@1
|
5892 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
meillo@36
|
5893 xy) ECHO_C='\c';;
|
meillo@36
|
5894 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
meillo@36
|
5895 ECHO_T=' ';;
|
meillo@1
|
5896 esac;;
|
meillo@1
|
5897 *)
|
meillo@1
|
5898 ECHO_N='-n';;
|
meillo@0
|
5899 esac
|
meillo@0
|
5900
|
meillo@0
|
5901 rm -f conf$$ conf$$.exe conf$$.file
|
meillo@1
|
5902 if test -d conf$$.dir; then
|
meillo@1
|
5903 rm -f conf$$.dir/conf$$.file
|
meillo@1
|
5904 else
|
meillo@1
|
5905 rm -f conf$$.dir
|
meillo@36
|
5906 mkdir conf$$.dir 2>/dev/null
|
meillo@36
|
5907 fi
|
meillo@36
|
5908 if (echo >conf$$.file) 2>/dev/null; then
|
meillo@36
|
5909 if ln -s conf$$.file conf$$ 2>/dev/null; then
|
meillo@36
|
5910 as_ln_s='ln -s'
|
meillo@36
|
5911 # ... but there are two gotchas:
|
meillo@36
|
5912 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
meillo@36
|
5913 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
meillo@36
|
5914 # In both cases, we have to default to `cp -p'.
|
meillo@36
|
5915 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
meillo@36
|
5916 as_ln_s='cp -p'
|
meillo@36
|
5917 elif ln conf$$.file conf$$ 2>/dev/null; then
|
meillo@36
|
5918 as_ln_s=ln
|
meillo@36
|
5919 else
|
meillo@0
|
5920 as_ln_s='cp -p'
|
meillo@36
|
5921 fi
|
meillo@0
|
5922 else
|
meillo@0
|
5923 as_ln_s='cp -p'
|
meillo@0
|
5924 fi
|
meillo@1
|
5925 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
meillo@1
|
5926 rmdir conf$$.dir 2>/dev/null
|
meillo@0
|
5927
|
meillo@36
|
5928
|
meillo@36
|
5929 # as_fn_mkdir_p
|
meillo@36
|
5930 # -------------
|
meillo@36
|
5931 # Create "$as_dir" as a directory, including parents if necessary.
|
meillo@36
|
5932 as_fn_mkdir_p ()
|
meillo@1
|
5933 {
|
meillo@36
|
5934
|
meillo@1
|
5935 case $as_dir in #(
|
meillo@1
|
5936 -*) as_dir=./$as_dir;;
|
meillo@1
|
5937 esac
|
meillo@36
|
5938 test -d "$as_dir" || eval $as_mkdir_p || {
|
meillo@0
|
5939 as_dirs=
|
meillo@1
|
5940 while :; do
|
meillo@1
|
5941 case $as_dir in #(
|
meillo@36
|
5942 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
meillo@1
|
5943 *) as_qdir=$as_dir;;
|
meillo@1
|
5944 esac
|
meillo@1
|
5945 as_dirs="'$as_qdir' $as_dirs"
|
meillo@1
|
5946 as_dir=`$as_dirname -- "$as_dir" ||
|
meillo@0
|
5947 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
meillo@0
|
5948 X"$as_dir" : 'X\(//\)[^/]' \| \
|
meillo@0
|
5949 X"$as_dir" : 'X\(//\)$' \| \
|
meillo@1
|
5950 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
meillo@36
|
5951 $as_echo X"$as_dir" |
|
meillo@1
|
5952 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
meillo@1
|
5953 s//\1/
|
meillo@1
|
5954 q
|
meillo@1
|
5955 }
|
meillo@1
|
5956 /^X\(\/\/\)[^/].*/{
|
meillo@1
|
5957 s//\1/
|
meillo@1
|
5958 q
|
meillo@1
|
5959 }
|
meillo@1
|
5960 /^X\(\/\/\)$/{
|
meillo@1
|
5961 s//\1/
|
meillo@1
|
5962 q
|
meillo@1
|
5963 }
|
meillo@1
|
5964 /^X\(\/\).*/{
|
meillo@1
|
5965 s//\1/
|
meillo@1
|
5966 q
|
meillo@1
|
5967 }
|
meillo@1
|
5968 s/.*/./; q'`
|
meillo@1
|
5969 test -d "$as_dir" && break
|
meillo@0
|
5970 done
|
meillo@1
|
5971 test -z "$as_dirs" || eval "mkdir $as_dirs"
|
meillo@36
|
5972 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
meillo@36
|
5973
|
meillo@36
|
5974
|
meillo@36
|
5975 } # as_fn_mkdir_p
|
meillo@36
|
5976 if mkdir -p . 2>/dev/null; then
|
meillo@36
|
5977 as_mkdir_p='mkdir -p "$as_dir"'
|
meillo@36
|
5978 else
|
meillo@36
|
5979 test -d ./-p && rmdir ./-p
|
meillo@36
|
5980 as_mkdir_p=false
|
meillo@36
|
5981 fi
|
meillo@36
|
5982
|
meillo@36
|
5983 if test -x / >/dev/null 2>&1; then
|
meillo@36
|
5984 as_test_x='test -x'
|
meillo@36
|
5985 else
|
meillo@36
|
5986 if ls -dL / >/dev/null 2>&1; then
|
meillo@36
|
5987 as_ls_L_option=L
|
meillo@36
|
5988 else
|
meillo@36
|
5989 as_ls_L_option=
|
meillo@36
|
5990 fi
|
meillo@36
|
5991 as_test_x='
|
meillo@36
|
5992 eval sh -c '\''
|
meillo@36
|
5993 if test -d "$1"; then
|
meillo@36
|
5994 test -d "$1/.";
|
meillo@36
|
5995 else
|
meillo@36
|
5996 case $1 in #(
|
meillo@36
|
5997 -*)set "./$1";;
|
meillo@36
|
5998 esac;
|
meillo@36
|
5999 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
meillo@36
|
6000 ???[sx]*):;;*)false;;esac;fi
|
meillo@36
|
6001 '\'' sh
|
meillo@36
|
6002 '
|
meillo@36
|
6003 fi
|
meillo@36
|
6004 as_executable_p=$as_test_x
|
meillo@36
|
6005
|
meillo@36
|
6006 # Sed expression to map a string onto a valid CPP name.
|
meillo@36
|
6007 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
meillo@36
|
6008
|
meillo@36
|
6009 # Sed expression to map a string onto a valid variable name.
|
meillo@36
|
6010 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
meillo@36
|
6011
|
meillo@36
|
6012
|
meillo@36
|
6013 exec 6>&1
|
meillo@36
|
6014 ## ----------------------------------- ##
|
meillo@36
|
6015 ## Main body of $CONFIG_STATUS script. ##
|
meillo@36
|
6016 ## ----------------------------------- ##
|
meillo@36
|
6017 _ASEOF
|
meillo@36
|
6018 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
meillo@36
|
6019
|
meillo@36
|
6020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
meillo@36
|
6021 # Save the log message, to keep $0 and so on meaningful, and to
|
meillo@36
|
6022 # report actual input values of CONFIG_FILES etc. instead of their
|
meillo@36
|
6023 # values after options handling.
|
meillo@36
|
6024 ac_log="
|
meillo@52
|
6025 This file was extended by masqmail $as_me 0.2.23, which was
|
meillo@36
|
6026 generated by GNU Autoconf 2.65. Invocation command line was
|
meillo@36
|
6027
|
meillo@36
|
6028 CONFIG_FILES = $CONFIG_FILES
|
meillo@36
|
6029 CONFIG_HEADERS = $CONFIG_HEADERS
|
meillo@36
|
6030 CONFIG_LINKS = $CONFIG_LINKS
|
meillo@36
|
6031 CONFIG_COMMANDS = $CONFIG_COMMANDS
|
meillo@36
|
6032 $ $0 $@
|
meillo@36
|
6033
|
meillo@36
|
6034 on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
meillo@36
|
6035 "
|
meillo@36
|
6036
|
meillo@36
|
6037 _ACEOF
|
meillo@36
|
6038
|
meillo@36
|
6039 case $ac_config_files in *"
|
meillo@36
|
6040 "*) set x $ac_config_files; shift; ac_config_files=$*;;
|
meillo@36
|
6041 esac
|
meillo@36
|
6042
|
meillo@36
|
6043 case $ac_config_headers in *"
|
meillo@36
|
6044 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
|
meillo@36
|
6045 esac
|
meillo@36
|
6046
|
meillo@36
|
6047
|
meillo@36
|
6048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
meillo@36
|
6049 # Files that config.status was made for.
|
meillo@36
|
6050 config_files="$ac_config_files"
|
meillo@36
|
6051 config_headers="$ac_config_headers"
|
meillo@36
|
6052 config_commands="$ac_config_commands"
|
meillo@36
|
6053
|
meillo@36
|
6054 _ACEOF
|
meillo@36
|
6055
|
meillo@36
|
6056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
meillo@36
|
6057 ac_cs_usage="\
|
meillo@36
|
6058 \`$as_me' instantiates files and other configuration actions
|
meillo@36
|
6059 from templates according to the current configuration. Unless the files
|
meillo@36
|
6060 and actions are specified as TAGs, all are instantiated by default.
|
meillo@36
|
6061
|
meillo@36
|
6062 Usage: $0 [OPTION]... [TAG]...
|
meillo@36
|
6063
|
meillo@36
|
6064 -h, --help print this help, then exit
|
meillo@36
|
6065 -V, --version print version number and configuration settings, then exit
|
meillo@36
|
6066 --config print configuration, then exit
|
meillo@36
|
6067 -q, --quiet, --silent
|
meillo@36
|
6068 do not print progress messages
|
meillo@36
|
6069 -d, --debug don't remove temporary files
|
meillo@36
|
6070 --recheck update $as_me by reconfiguring in the same conditions
|
meillo@36
|
6071 --file=FILE[:TEMPLATE]
|
meillo@36
|
6072 instantiate the configuration file FILE
|
meillo@36
|
6073 --header=FILE[:TEMPLATE]
|
meillo@36
|
6074 instantiate the configuration header FILE
|
meillo@36
|
6075
|
meillo@36
|
6076 Configuration files:
|
meillo@36
|
6077 $config_files
|
meillo@36
|
6078
|
meillo@36
|
6079 Configuration headers:
|
meillo@36
|
6080 $config_headers
|
meillo@36
|
6081
|
meillo@36
|
6082 Configuration commands:
|
meillo@36
|
6083 $config_commands
|
meillo@36
|
6084
|
meillo@36
|
6085 Report bugs to <meillo@marmaro.de>."
|
meillo@36
|
6086
|
meillo@36
|
6087 _ACEOF
|
meillo@36
|
6088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
meillo@36
|
6089 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
meillo@36
|
6090 ac_cs_version="\\
|
meillo@52
|
6091 masqmail config.status 0.2.23
|
meillo@36
|
6092 configured by $0, generated by GNU Autoconf 2.65,
|
meillo@36
|
6093 with options \\"\$ac_cs_config\\"
|
meillo@36
|
6094
|
meillo@36
|
6095 Copyright (C) 2009 Free Software Foundation, Inc.
|
meillo@36
|
6096 This config.status script is free software; the Free Software Foundation
|
meillo@36
|
6097 gives unlimited permission to copy, distribute and modify it."
|
meillo@36
|
6098
|
meillo@36
|
6099 ac_pwd='$ac_pwd'
|
meillo@36
|
6100 srcdir='$srcdir'
|
meillo@36
|
6101 INSTALL='$INSTALL'
|
meillo@36
|
6102 MKDIR_P='$MKDIR_P'
|
meillo@36
|
6103 AWK='$AWK'
|
meillo@36
|
6104 test -n "\$AWK" || AWK=awk
|
meillo@36
|
6105 _ACEOF
|
meillo@36
|
6106
|
meillo@36
|
6107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
meillo@36
|
6108 # The default lists apply if the user does not specify any file.
|
meillo@36
|
6109 ac_need_defaults=:
|
meillo@36
|
6110 while test $# != 0
|
meillo@36
|
6111 do
|
meillo@36
|
6112 case $1 in
|
meillo@36
|
6113 --*=*)
|
meillo@36
|
6114 ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
meillo@36
|
6115 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
meillo@36
|
6116 ac_shift=:
|
meillo@36
|
6117 ;;
|
meillo@36
|
6118 *)
|
meillo@36
|
6119 ac_option=$1
|
meillo@36
|
6120 ac_optarg=$2
|
meillo@36
|
6121 ac_shift=shift
|
meillo@36
|
6122 ;;
|
meillo@36
|
6123 esac
|
meillo@36
|
6124
|
meillo@36
|
6125 case $ac_option in
|
meillo@36
|
6126 # Handling of the options.
|
meillo@36
|
6127 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
meillo@36
|
6128 ac_cs_recheck=: ;;
|
meillo@36
|
6129 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
meillo@36
|
6130 $as_echo "$ac_cs_version"; exit ;;
|
meillo@36
|
6131 --config | --confi | --conf | --con | --co | --c )
|
meillo@36
|
6132 $as_echo "$ac_cs_config"; exit ;;
|
meillo@36
|
6133 --debug | --debu | --deb | --de | --d | -d )
|
meillo@36
|
6134 debug=: ;;
|
meillo@36
|
6135 --file | --fil | --fi | --f )
|
meillo@36
|
6136 $ac_shift
|
meillo@36
|
6137 case $ac_optarg in
|
meillo@36
|
6138 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
meillo@36
|
6139 esac
|
meillo@36
|
6140 as_fn_append CONFIG_FILES " '$ac_optarg'"
|
meillo@36
|
6141 ac_need_defaults=false;;
|
meillo@36
|
6142 --header | --heade | --head | --hea )
|
meillo@36
|
6143 $ac_shift
|
meillo@36
|
6144 case $ac_optarg in
|
meillo@36
|
6145 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
meillo@36
|
6146 esac
|
meillo@36
|
6147 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
meillo@36
|
6148 ac_need_defaults=false;;
|
meillo@36
|
6149 --he | --h)
|
meillo@36
|
6150 # Conflict between --help and --header
|
meillo@36
|
6151 as_fn_error "ambiguous option: \`$1'
|
meillo@36
|
6152 Try \`$0 --help' for more information.";;
|
meillo@36
|
6153 --help | --hel | -h )
|
meillo@36
|
6154 $as_echo "$ac_cs_usage"; exit ;;
|
meillo@36
|
6155 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
meillo@36
|
6156 | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
meillo@36
|
6157 ac_cs_silent=: ;;
|
meillo@36
|
6158
|
meillo@36
|
6159 # This is an error.
|
meillo@36
|
6160 -*) as_fn_error "unrecognized option: \`$1'
|
meillo@36
|
6161 Try \`$0 --help' for more information." ;;
|
meillo@36
|
6162
|
meillo@36
|
6163 *) as_fn_append ac_config_targets " $1"
|
meillo@36
|
6164 ac_need_defaults=false ;;
|
meillo@36
|
6165
|
meillo@36
|
6166 esac
|
meillo@36
|
6167 shift
|
meillo@36
|
6168 done
|
meillo@36
|
6169
|
meillo@36
|
6170 ac_configure_extra_args=
|
meillo@36
|
6171
|
meillo@36
|
6172 if $ac_cs_silent; then
|
meillo@36
|
6173 exec 6>/dev/null
|
meillo@36
|
6174 ac_configure_extra_args="$ac_configure_extra_args --silent"
|
meillo@36
|
6175 fi
|
meillo@36
|
6176
|
meillo@36
|
6177 _ACEOF
|
meillo@36
|
6178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
meillo@36
|
6179 if \$ac_cs_recheck; then
|
meillo@36
|
6180 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
meillo@36
|
6181 shift
|
meillo@36
|
6182 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
meillo@36
|
6183 CONFIG_SHELL='$SHELL'
|
meillo@36
|
6184 export CONFIG_SHELL
|
meillo@36
|
6185 exec "\$@"
|
meillo@36
|
6186 fi
|
meillo@36
|
6187
|
meillo@36
|
6188 _ACEOF
|
meillo@36
|
6189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
meillo@36
|
6190 exec 5>>config.log
|
meillo@36
|
6191 {
|
meillo@36
|
6192 echo
|
meillo@36
|
6193 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
meillo@36
|
6194 ## Running $as_me. ##
|
meillo@36
|
6195 _ASBOX
|
meillo@36
|
6196 $as_echo "$ac_log"
|
meillo@36
|
6197 } >&5
|
meillo@36
|
6198
|
meillo@36
|
6199 _ACEOF
|
meillo@36
|
6200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
meillo@36
|
6201 #
|
meillo@36
|
6202 # INIT-COMMANDS
|
meillo@36
|
6203 #
|
meillo@36
|
6204 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
meillo@36
|
6205
|
meillo@36
|
6206 _ACEOF
|
meillo@36
|
6207
|
meillo@36
|
6208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
meillo@36
|
6209
|
meillo@36
|
6210 # Handling of arguments.
|
meillo@36
|
6211 for ac_config_target in $ac_config_targets
|
meillo@36
|
6212 do
|
meillo@36
|
6213 case $ac_config_target in
|
meillo@36
|
6214 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
meillo@36
|
6215 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
meillo@36
|
6216 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
meillo@36
|
6217 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
|
meillo@36
|
6218 "src/base64/Makefile") CONFIG_FILES="$CONFIG_FILES src/base64/Makefile" ;;
|
meillo@36
|
6219 "src/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/md5/Makefile" ;;
|
meillo@36
|
6220 "src/libident/Makefile") CONFIG_FILES="$CONFIG_FILES src/libident/Makefile" ;;
|
meillo@55
|
6221 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
|
meillo@36
|
6222
|
meillo@36
|
6223 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
meillo@36
|
6224 esac
|
meillo@36
|
6225 done
|
meillo@36
|
6226
|
meillo@36
|
6227
|
meillo@36
|
6228 # If the user did not use the arguments to specify the items to instantiate,
|
meillo@36
|
6229 # then the envvar interface is used. Set only those that are not.
|
meillo@36
|
6230 # We use the long form for the default assignment because of an extremely
|
meillo@36
|
6231 # bizarre bug on SunOS 4.1.3.
|
meillo@36
|
6232 if $ac_need_defaults; then
|
meillo@36
|
6233 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
meillo@36
|
6234 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
meillo@36
|
6235 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
meillo@36
|
6236 fi
|
meillo@36
|
6237
|
meillo@36
|
6238 # Have a temporary directory for convenience. Make it in the build tree
|
meillo@36
|
6239 # simply because there is no reason against having it here, and in addition,
|
meillo@36
|
6240 # creating and moving files from /tmp can sometimes cause problems.
|
meillo@36
|
6241 # Hook for its removal unless debugging.
|
meillo@36
|
6242 # Note that there is a small window in which the directory will not be cleaned:
|
meillo@36
|
6243 # after its creation but before its name has been assigned to `$tmp'.
|
meillo@36
|
6244 $debug ||
|
meillo@36
|
6245 {
|
meillo@36
|
6246 tmp=
|
meillo@36
|
6247 trap 'exit_status=$?
|
meillo@36
|
6248 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
meillo@36
|
6249 ' 0
|
meillo@36
|
6250 trap 'as_fn_exit 1' 1 2 13 15
|
meillo@36
|
6251 }
|
meillo@36
|
6252 # Create a (secure) tmp directory for tmp files.
|
meillo@36
|
6253
|
meillo@36
|
6254 {
|
meillo@36
|
6255 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
meillo@36
|
6256 test -n "$tmp" && test -d "$tmp"
|
meillo@36
|
6257 } ||
|
meillo@36
|
6258 {
|
meillo@36
|
6259 tmp=./conf$$-$RANDOM
|
meillo@36
|
6260 (umask 077 && mkdir "$tmp")
|
meillo@36
|
6261 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
|
meillo@36
|
6262
|
meillo@36
|
6263 # Set up the scripts for CONFIG_FILES section.
|
meillo@36
|
6264 # No need to generate them if there are no CONFIG_FILES.
|
meillo@36
|
6265 # This happens for instance with `./config.status config.h'.
|
meillo@36
|
6266 if test -n "$CONFIG_FILES"; then
|
meillo@36
|
6267
|
meillo@36
|
6268
|
meillo@36
|
6269 ac_cr=`echo X | tr X '\015'`
|
meillo@36
|
6270 # On cygwin, bash can eat \r inside `` if the user requested igncr.
|
meillo@36
|
6271 # But we know of no other shell where ac_cr would be empty at this
|
meillo@36
|
6272 # point, so we can use a bashism as a fallback.
|
meillo@36
|
6273 if test "x$ac_cr" = x; then
|
meillo@36
|
6274 eval ac_cr=\$\'\\r\'
|
meillo@36
|
6275 fi
|
meillo@36
|
6276 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
meillo@36
|
6277 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
meillo@36
|
6278 ac_cs_awk_cr='\r'
|
meillo@36
|
6279 else
|
meillo@36
|
6280 ac_cs_awk_cr=$ac_cr
|
meillo@36
|
6281 fi
|
meillo@36
|
6282
|
meillo@36
|
6283 echo 'BEGIN {' >"$tmp/subs1.awk" &&
|
meillo@36
|
6284 _ACEOF
|
meillo@36
|
6285
|
meillo@36
|
6286
|
meillo@36
|
6287 {
|
meillo@36
|
6288 echo "cat >conf$$subs.awk <<_ACEOF" &&
|
meillo@36
|
6289 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
meillo@36
|
6290 echo "_ACEOF"
|
meillo@36
|
6291 } >conf$$subs.sh ||
|
meillo@36
|
6292 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
meillo@36
|
6293 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
|
meillo@36
|
6294 ac_delim='%!_!# '
|
meillo@36
|
6295 for ac_last_try in false false false false false :; do
|
meillo@36
|
6296 . ./conf$$subs.sh ||
|
meillo@36
|
6297 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
meillo@36
|
6298
|
meillo@36
|
6299 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
meillo@36
|
6300 if test $ac_delim_n = $ac_delim_num; then
|
meillo@36
|
6301 break
|
meillo@36
|
6302 elif $ac_last_try; then
|
meillo@36
|
6303 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
meillo@36
|
6304 else
|
meillo@36
|
6305 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
meillo@36
|
6306 fi
|
meillo@36
|
6307 done
|
meillo@36
|
6308 rm -f conf$$subs.sh
|
meillo@36
|
6309
|
meillo@36
|
6310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
meillo@36
|
6311 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
|
meillo@36
|
6312 _ACEOF
|
meillo@36
|
6313 sed -n '
|
meillo@36
|
6314 h
|
meillo@36
|
6315 s/^/S["/; s/!.*/"]=/
|
meillo@36
|
6316 p
|
meillo@36
|
6317 g
|
meillo@36
|
6318 s/^[^!]*!//
|
meillo@36
|
6319 :repl
|
meillo@36
|
6320 t repl
|
meillo@36
|
6321 s/'"$ac_delim"'$//
|
meillo@36
|
6322 t delim
|
meillo@36
|
6323 :nl
|
meillo@36
|
6324 h
|
meillo@36
|
6325 s/\(.\{148\}\)..*/\1/
|
meillo@36
|
6326 t more1
|
meillo@36
|
6327 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
meillo@36
|
6328 p
|
meillo@36
|
6329 n
|
meillo@36
|
6330 b repl
|
meillo@36
|
6331 :more1
|
meillo@36
|
6332 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
meillo@36
|
6333 p
|
meillo@36
|
6334 g
|
meillo@36
|
6335 s/.\{148\}//
|
meillo@36
|
6336 t nl
|
meillo@36
|
6337 :delim
|
meillo@36
|
6338 h
|
meillo@36
|
6339 s/\(.\{148\}\)..*/\1/
|
meillo@36
|
6340 t more2
|
meillo@36
|
6341 s/["\\]/\\&/g; s/^/"/; s/$/"/
|
meillo@36
|
6342 p
|
meillo@36
|
6343 b
|
meillo@36
|
6344 :more2
|
meillo@36
|
6345 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
meillo@36
|
6346 p
|
meillo@36
|
6347 g
|
meillo@36
|
6348 s/.\{148\}//
|
meillo@36
|
6349 t delim
|
meillo@36
|
6350 ' <conf$$subs.awk | sed '
|
meillo@36
|
6351 /^[^""]/{
|
meillo@36
|
6352 N
|
meillo@36
|
6353 s/\n//
|
meillo@36
|
6354 }
|
meillo@36
|
6355 ' >>$CONFIG_STATUS || ac_write_fail=1
|
meillo@36
|
6356 rm -f conf$$subs.awk
|
meillo@36
|
6357 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
meillo@36
|
6358 _ACAWK
|
meillo@36
|
6359 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
|
meillo@36
|
6360 for (key in S) S_is_set[key] = 1
|
meillo@36
|
6361 FS = ""
|
meillo@36
|
6362
|
meillo@36
|
6363 }
|
meillo@36
|
6364 {
|
meillo@36
|
6365 line = $ 0
|
meillo@36
|
6366 nfields = split(line, field, "@")
|
meillo@36
|
6367 substed = 0
|
meillo@36
|
6368 len = length(field[1])
|
meillo@36
|
6369 for (i = 2; i < nfields; i++) {
|
meillo@36
|
6370 key = field[i]
|
meillo@36
|
6371 keylen = length(key)
|
meillo@36
|
6372 if (S_is_set[key]) {
|
meillo@36
|
6373 value = S[key]
|
meillo@36
|
6374 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
meillo@36
|
6375 len += length(value) + length(field[++i])
|
meillo@36
|
6376 substed = 1
|
meillo@36
|
6377 } else
|
meillo@36
|
6378 len += 1 + keylen
|
meillo@36
|
6379 }
|
meillo@36
|
6380
|
meillo@36
|
6381 print line
|
meillo@36
|
6382 }
|
meillo@36
|
6383
|
meillo@36
|
6384 _ACAWK
|
meillo@36
|
6385 _ACEOF
|
meillo@36
|
6386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
meillo@36
|
6387 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
meillo@36
|
6388 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
meillo@36
|
6389 else
|
meillo@36
|
6390 cat
|
meillo@36
|
6391 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
meillo@36
|
6392 || as_fn_error "could not setup config files machinery" "$LINENO" 5
|
meillo@36
|
6393 _ACEOF
|
meillo@36
|
6394
|
meillo@36
|
6395 # VPATH may cause trouble with some makes, so we remove $(srcdir),
|
meillo@36
|
6396 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
meillo@36
|
6397 # trailing colons and then remove the whole line if VPATH becomes empty
|
meillo@36
|
6398 # (actually we leave an empty line to preserve line numbers).
|
meillo@36
|
6399 if test "x$srcdir" = x.; then
|
meillo@36
|
6400 ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
meillo@36
|
6401 s/:*\$(srcdir):*/:/
|
meillo@36
|
6402 s/:*\${srcdir}:*/:/
|
meillo@36
|
6403 s/:*@srcdir@:*/:/
|
meillo@36
|
6404 s/^\([^=]*=[ ]*\):*/\1/
|
meillo@36
|
6405 s/:*$//
|
meillo@36
|
6406 s/^[^=]*=[ ]*$//
|
meillo@36
|
6407 }'
|
meillo@36
|
6408 fi
|
meillo@36
|
6409
|
meillo@36
|
6410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
meillo@36
|
6411 fi # test -n "$CONFIG_FILES"
|
meillo@36
|
6412
|
meillo@36
|
6413 # Set up the scripts for CONFIG_HEADERS section.
|
meillo@36
|
6414 # No need to generate them if there are no CONFIG_HEADERS.
|
meillo@36
|
6415 # This happens for instance with `./config.status Makefile'.
|
meillo@36
|
6416 if test -n "$CONFIG_HEADERS"; then
|
meillo@36
|
6417 cat >"$tmp/defines.awk" <<\_ACAWK ||
|
meillo@36
|
6418 BEGIN {
|
meillo@36
|
6419 _ACEOF
|
meillo@36
|
6420
|
meillo@36
|
6421 # Transform confdefs.h into an awk script `defines.awk', embedded as
|
meillo@36
|
6422 # here-document in config.status, that substitutes the proper values into
|
meillo@36
|
6423 # config.h.in to produce config.h.
|
meillo@36
|
6424
|
meillo@36
|
6425 # Create a delimiter string that does not exist in confdefs.h, to ease
|
meillo@36
|
6426 # handling of long lines.
|
meillo@36
|
6427 ac_delim='%!_!# '
|
meillo@36
|
6428 for ac_last_try in false false :; do
|
meillo@36
|
6429 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
|
meillo@36
|
6430 if test -z "$ac_t"; then
|
meillo@36
|
6431 break
|
meillo@36
|
6432 elif $ac_last_try; then
|
meillo@36
|
6433 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
|
meillo@36
|
6434 else
|
meillo@36
|
6435 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
meillo@36
|
6436 fi
|
meillo@36
|
6437 done
|
meillo@36
|
6438
|
meillo@36
|
6439 # For the awk script, D is an array of macro values keyed by name,
|
meillo@36
|
6440 # likewise P contains macro parameters if any. Preserve backslash
|
meillo@36
|
6441 # newline sequences.
|
meillo@36
|
6442
|
meillo@36
|
6443 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
meillo@36
|
6444 sed -n '
|
meillo@36
|
6445 s/.\{148\}/&'"$ac_delim"'/g
|
meillo@36
|
6446 t rset
|
meillo@36
|
6447 :rset
|
meillo@36
|
6448 s/^[ ]*#[ ]*define[ ][ ]*/ /
|
meillo@36
|
6449 t def
|
meillo@36
|
6450 d
|
meillo@36
|
6451 :def
|
meillo@36
|
6452 s/\\$//
|
meillo@36
|
6453 t bsnl
|
meillo@36
|
6454 s/["\\]/\\&/g
|
meillo@36
|
6455 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
meillo@36
|
6456 D["\1"]=" \3"/p
|
meillo@36
|
6457 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
|
meillo@36
|
6458 d
|
meillo@36
|
6459 :bsnl
|
meillo@36
|
6460 s/["\\]/\\&/g
|
meillo@36
|
6461 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
meillo@36
|
6462 D["\1"]=" \3\\\\\\n"\\/p
|
meillo@36
|
6463 t cont
|
meillo@36
|
6464 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
|
meillo@36
|
6465 t cont
|
meillo@36
|
6466 d
|
meillo@36
|
6467 :cont
|
meillo@36
|
6468 n
|
meillo@36
|
6469 s/.\{148\}/&'"$ac_delim"'/g
|
meillo@36
|
6470 t clear
|
meillo@36
|
6471 :clear
|
meillo@36
|
6472 s/\\$//
|
meillo@36
|
6473 t bsnlc
|
meillo@36
|
6474 s/["\\]/\\&/g; s/^/"/; s/$/"/p
|
meillo@36
|
6475 d
|
meillo@36
|
6476 :bsnlc
|
meillo@36
|
6477 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
|
meillo@36
|
6478 b cont
|
meillo@36
|
6479 ' <confdefs.h | sed '
|
meillo@36
|
6480 s/'"$ac_delim"'/"\\\
|
meillo@36
|
6481 "/g' >>$CONFIG_STATUS || ac_write_fail=1
|
meillo@36
|
6482
|
meillo@36
|
6483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
meillo@36
|
6484 for (key in D) D_is_set[key] = 1
|
meillo@36
|
6485 FS = ""
|
meillo@36
|
6486 }
|
meillo@36
|
6487 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
|
meillo@36
|
6488 line = \$ 0
|
meillo@36
|
6489 split(line, arg, " ")
|
meillo@36
|
6490 if (arg[1] == "#") {
|
meillo@36
|
6491 defundef = arg[2]
|
meillo@36
|
6492 mac1 = arg[3]
|
meillo@36
|
6493 } else {
|
meillo@36
|
6494 defundef = substr(arg[1], 2)
|
meillo@36
|
6495 mac1 = arg[2]
|
meillo@36
|
6496 }
|
meillo@36
|
6497 split(mac1, mac2, "(") #)
|
meillo@36
|
6498 macro = mac2[1]
|
meillo@36
|
6499 prefix = substr(line, 1, index(line, defundef) - 1)
|
meillo@36
|
6500 if (D_is_set[macro]) {
|
meillo@36
|
6501 # Preserve the white space surrounding the "#".
|
meillo@36
|
6502 print prefix "define", macro P[macro] D[macro]
|
meillo@36
|
6503 next
|
meillo@36
|
6504 } else {
|
meillo@36
|
6505 # Replace #undef with comments. This is necessary, for example,
|
meillo@36
|
6506 # in the case of _POSIX_SOURCE, which is predefined and required
|
meillo@36
|
6507 # on some systems where configure will not decide to define it.
|
meillo@36
|
6508 if (defundef == "undef") {
|
meillo@36
|
6509 print "/*", prefix defundef, macro, "*/"
|
meillo@36
|
6510 next
|
meillo@36
|
6511 }
|
meillo@36
|
6512 }
|
meillo@36
|
6513 }
|
meillo@36
|
6514 { print }
|
meillo@36
|
6515 _ACAWK
|
meillo@36
|
6516 _ACEOF
|
meillo@36
|
6517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
meillo@36
|
6518 as_fn_error "could not setup config headers machinery" "$LINENO" 5
|
meillo@36
|
6519 fi # test -n "$CONFIG_HEADERS"
|
meillo@36
|
6520
|
meillo@36
|
6521
|
meillo@36
|
6522 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
|
meillo@36
|
6523 shift
|
meillo@36
|
6524 for ac_tag
|
meillo@36
|
6525 do
|
meillo@36
|
6526 case $ac_tag in
|
meillo@36
|
6527 :[FHLC]) ac_mode=$ac_tag; continue;;
|
meillo@36
|
6528 esac
|
meillo@36
|
6529 case $ac_mode$ac_tag in
|
meillo@36
|
6530 :[FHL]*:*);;
|
meillo@36
|
6531 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
meillo@36
|
6532 :[FH]-) ac_tag=-:-;;
|
meillo@36
|
6533 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
meillo@36
|
6534 esac
|
meillo@36
|
6535 ac_save_IFS=$IFS
|
meillo@36
|
6536 IFS=:
|
meillo@36
|
6537 set x $ac_tag
|
meillo@36
|
6538 IFS=$ac_save_IFS
|
meillo@36
|
6539 shift
|
meillo@36
|
6540 ac_file=$1
|
meillo@36
|
6541 shift
|
meillo@36
|
6542
|
meillo@36
|
6543 case $ac_mode in
|
meillo@36
|
6544 :L) ac_source=$1;;
|
meillo@36
|
6545 :[FH])
|
meillo@36
|
6546 ac_file_inputs=
|
meillo@36
|
6547 for ac_f
|
meillo@36
|
6548 do
|
meillo@36
|
6549 case $ac_f in
|
meillo@36
|
6550 -) ac_f="$tmp/stdin";;
|
meillo@36
|
6551 *) # Look for the file first in the build tree, then in the source tree
|
meillo@36
|
6552 # (if the path is not absolute). The absolute path cannot be DOS-style,
|
meillo@36
|
6553 # because $ac_f cannot contain `:'.
|
meillo@36
|
6554 test -f "$ac_f" ||
|
meillo@36
|
6555 case $ac_f in
|
meillo@36
|
6556 [\\/$]*) false;;
|
meillo@36
|
6557 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
meillo@36
|
6558 esac ||
|
meillo@36
|
6559 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
meillo@36
|
6560 esac
|
meillo@36
|
6561 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
meillo@36
|
6562 as_fn_append ac_file_inputs " '$ac_f'"
|
meillo@36
|
6563 done
|
meillo@36
|
6564
|
meillo@36
|
6565 # Let's still pretend it is `configure' which instantiates (i.e., don't
|
meillo@36
|
6566 # use $as_me), people would be surprised to read:
|
meillo@36
|
6567 # /* config.h. Generated by config.status. */
|
meillo@36
|
6568 configure_input='Generated from '`
|
meillo@36
|
6569 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
meillo@36
|
6570 `' by configure.'
|
meillo@36
|
6571 if test x"$ac_file" != x-; then
|
meillo@36
|
6572 configure_input="$ac_file. $configure_input"
|
meillo@36
|
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
meillo@36
|
6574 $as_echo "$as_me: creating $ac_file" >&6;}
|
meillo@36
|
6575 fi
|
meillo@36
|
6576 # Neutralize special characters interpreted by sed in replacement strings.
|
meillo@36
|
6577 case $configure_input in #(
|
meillo@36
|
6578 *\&* | *\|* | *\\* )
|
meillo@36
|
6579 ac_sed_conf_input=`$as_echo "$configure_input" |
|
meillo@36
|
6580 sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
meillo@36
|
6581 *) ac_sed_conf_input=$configure_input;;
|
meillo@36
|
6582 esac
|
meillo@36
|
6583
|
meillo@36
|
6584 case $ac_tag in
|
meillo@36
|
6585 *:-:* | *:-) cat >"$tmp/stdin" \
|
meillo@36
|
6586 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
|
meillo@36
|
6587 esac
|
meillo@36
|
6588 ;;
|
meillo@36
|
6589 esac
|
meillo@36
|
6590
|
meillo@36
|
6591 ac_dir=`$as_dirname -- "$ac_file" ||
|
meillo@36
|
6592 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
meillo@36
|
6593 X"$ac_file" : 'X\(//\)[^/]' \| \
|
meillo@36
|
6594 X"$ac_file" : 'X\(//\)$' \| \
|
meillo@36
|
6595 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
meillo@36
|
6596 $as_echo X"$ac_file" |
|
meillo@36
|
6597 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
meillo@36
|
6598 s//\1/
|
meillo@36
|
6599 q
|
meillo@36
|
6600 }
|
meillo@36
|
6601 /^X\(\/\/\)[^/].*/{
|
meillo@36
|
6602 s//\1/
|
meillo@36
|
6603 q
|
meillo@36
|
6604 }
|
meillo@36
|
6605 /^X\(\/\/\)$/{
|
meillo@36
|
6606 s//\1/
|
meillo@36
|
6607 q
|
meillo@36
|
6608 }
|
meillo@36
|
6609 /^X\(\/\).*/{
|
meillo@36
|
6610 s//\1/
|
meillo@36
|
6611 q
|
meillo@36
|
6612 }
|
meillo@36
|
6613 s/.*/./; q'`
|
meillo@36
|
6614 as_dir="$ac_dir"; as_fn_mkdir_p
|
meillo@0
|
6615 ac_builddir=.
|
meillo@0
|
6616
|
meillo@1
|
6617 case "$ac_dir" in
|
meillo@1
|
6618 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
meillo@1
|
6619 *)
|
meillo@36
|
6620 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
meillo@1
|
6621 # A ".." for each directory in $ac_dir_suffix.
|
meillo@36
|
6622 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
meillo@1
|
6623 case $ac_top_builddir_sub in
|
meillo@1
|
6624 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
meillo@1
|
6625 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
meillo@1
|
6626 esac ;;
|
meillo@1
|
6627 esac
|
meillo@1
|
6628 ac_abs_top_builddir=$ac_pwd
|
meillo@1
|
6629 ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
meillo@1
|
6630 # for backward compatibility:
|
meillo@1
|
6631 ac_top_builddir=$ac_top_build_prefix
|
meillo@0
|
6632
|
meillo@0
|
6633 case $srcdir in
|
meillo@1
|
6634 .) # We are building in place.
|
meillo@0
|
6635 ac_srcdir=.
|
meillo@1
|
6636 ac_top_srcdir=$ac_top_builddir_sub
|
meillo@1
|
6637 ac_abs_top_srcdir=$ac_pwd ;;
|
meillo@1
|
6638 [\\/]* | ?:[\\/]* ) # Absolute name.
|
meillo@0
|
6639 ac_srcdir=$srcdir$ac_dir_suffix;
|
meillo@1
|
6640 ac_top_srcdir=$srcdir
|
meillo@1
|
6641 ac_abs_top_srcdir=$srcdir ;;
|
meillo@1
|
6642 *) # Relative name.
|
meillo@1
|
6643 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
meillo@1
|
6644 ac_top_srcdir=$ac_top_build_prefix$srcdir
|
meillo@1
|
6645 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
meillo@0
|
6646 esac
|
meillo@1
|
6647 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
meillo@1
|
6648
|
meillo@1
|
6649
|
meillo@1
|
6650 case $ac_mode in
|
meillo@1
|
6651 :F)
|
meillo@1
|
6652 #
|
meillo@1
|
6653 # CONFIG_FILE
|
meillo@1
|
6654 #
|
meillo@0
|
6655
|
meillo@0
|
6656 case $INSTALL in
|
meillo@0
|
6657 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
meillo@1
|
6658 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
meillo@0
|
6659 esac
|
meillo@36
|
6660 ac_MKDIR_P=$MKDIR_P
|
meillo@36
|
6661 case $MKDIR_P in
|
meillo@36
|
6662 [\\/$]* | ?:[\\/]* ) ;;
|
meillo@36
|
6663 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
|
meillo@36
|
6664 esac
|
meillo@1
|
6665 _ACEOF
|
meillo@1
|
6666
|
meillo@36
|
6667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
meillo@1
|
6668 # If the template does not know about datarootdir, expand it.
|
meillo@1
|
6669 # FIXME: This hack should be removed a few years after 2.60.
|
meillo@1
|
6670 ac_datarootdir_hack=; ac_datarootdir_seen=
|
meillo@36
|
6671 ac_sed_dataroot='
|
meillo@36
|
6672 /datarootdir/ {
|
meillo@1
|
6673 p
|
meillo@1
|
6674 q
|
meillo@1
|
6675 }
|
meillo@1
|
6676 /@datadir@/p
|
meillo@1
|
6677 /@docdir@/p
|
meillo@1
|
6678 /@infodir@/p
|
meillo@1
|
6679 /@localedir@/p
|
meillo@36
|
6680 /@mandir@/p'
|
meillo@36
|
6681 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
meillo@1
|
6682 *datarootdir*) ac_datarootdir_seen=yes;;
|
meillo@1
|
6683 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
meillo@36
|
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
meillo@36
|
6685 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
meillo@1
|
6686 _ACEOF
|
meillo@36
|
6687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
meillo@1
|
6688 ac_datarootdir_hack='
|
meillo@1
|
6689 s&@datadir@&$datadir&g
|
meillo@1
|
6690 s&@docdir@&$docdir&g
|
meillo@1
|
6691 s&@infodir@&$infodir&g
|
meillo@1
|
6692 s&@localedir@&$localedir&g
|
meillo@1
|
6693 s&@mandir@&$mandir&g
|
meillo@36
|
6694 s&\\\${datarootdir}&$datarootdir&g' ;;
|
meillo@1
|
6695 esac
|
meillo@1
|
6696 _ACEOF
|
meillo@1
|
6697
|
meillo@1
|
6698 # Neutralize VPATH when `$srcdir' = `.'.
|
meillo@1
|
6699 # Shell code in configure.ac might set extrasub.
|
meillo@1
|
6700 # FIXME: do we really want to maintain this feature?
|
meillo@36
|
6701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
meillo@36
|
6702 ac_sed_extra="$ac_vpsub
|
meillo@0
|
6703 $extrasub
|
meillo@0
|
6704 _ACEOF
|
meillo@36
|
6705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
meillo@0
|
6706 :t
|
meillo@0
|
6707 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
meillo@36
|
6708 s|@configure_input@|$ac_sed_conf_input|;t t
|
meillo@1
|
6709 s&@top_builddir@&$ac_top_builddir_sub&;t t
|
meillo@36
|
6710 s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
meillo@1
|
6711 s&@srcdir@&$ac_srcdir&;t t
|
meillo@1
|
6712 s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
meillo@1
|
6713 s&@top_srcdir@&$ac_top_srcdir&;t t
|
meillo@1
|
6714 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
meillo@1
|
6715 s&@builddir@&$ac_builddir&;t t
|
meillo@1
|
6716 s&@abs_builddir@&$ac_abs_builddir&;t t
|
meillo@1
|
6717 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
meillo@1
|
6718 s&@INSTALL@&$ac_INSTALL&;t t
|
meillo@36
|
6719 s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
meillo@1
|
6720 $ac_datarootdir_hack
|
meillo@36
|
6721 "
|
meillo@36
|
6722 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
meillo@36
|
6723 || as_fn_error "could not create $ac_file" "$LINENO" 5
|
meillo@1
|
6724
|
meillo@1
|
6725 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
meillo@1
|
6726 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
meillo@1
|
6727 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
meillo@36
|
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
meillo@1
|
6729 which seems to be undefined. Please make sure it is defined." >&5
|
meillo@36
|
6730 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
meillo@1
|
6731 which seems to be undefined. Please make sure it is defined." >&2;}
|
meillo@1
|
6732
|
meillo@1
|
6733 rm -f "$tmp/stdin"
|
meillo@1
|
6734 case $ac_file in
|
meillo@36
|
6735 -) cat "$tmp/out" && rm -f "$tmp/out";;
|
meillo@36
|
6736 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
meillo@36
|
6737 esac \
|
meillo@36
|
6738 || as_fn_error "could not create $ac_file" "$LINENO" 5
|
meillo@1
|
6739 ;;
|
meillo@1
|
6740 :H)
|
meillo@1
|
6741 #
|
meillo@1
|
6742 # CONFIG_HEADER
|
meillo@1
|
6743 #
|
meillo@0
|
6744 if test x"$ac_file" != x-; then
|
meillo@36
|
6745 {
|
meillo@36
|
6746 $as_echo "/* $configure_input */" \
|
meillo@36
|
6747 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
|
meillo@36
|
6748 } >"$tmp/config.h" \
|
meillo@36
|
6749 || as_fn_error "could not create $ac_file" "$LINENO" 5
|
meillo@36
|
6750 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
|
meillo@36
|
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
meillo@36
|
6752 $as_echo "$as_me: $ac_file is unchanged" >&6;}
|
meillo@0
|
6753 else
|
meillo@36
|
6754 rm -f "$ac_file"
|
meillo@36
|
6755 mv "$tmp/config.h" "$ac_file" \
|
meillo@36
|
6756 || as_fn_error "could not create $ac_file" "$LINENO" 5
|
meillo@0
|
6757 fi
|
meillo@0
|
6758 else
|
meillo@36
|
6759 $as_echo "/* $configure_input */" \
|
meillo@36
|
6760 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
|
meillo@36
|
6761 || as_fn_error "could not create -" "$LINENO" 5
|
meillo@0
|
6762 fi
|
meillo@36
|
6763 # Compute "$ac_file"'s index in $config_headers.
|
meillo@36
|
6764 _am_arg="$ac_file"
|
meillo@0
|
6765 _am_stamp_count=1
|
meillo@0
|
6766 for _am_header in $config_headers :; do
|
meillo@0
|
6767 case $_am_header in
|
meillo@36
|
6768 $_am_arg | $_am_arg:* )
|
meillo@0
|
6769 break ;;
|
meillo@0
|
6770 * )
|
meillo@0
|
6771 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
meillo@0
|
6772 esac
|
meillo@0
|
6773 done
|
meillo@36
|
6774 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
|
meillo@36
|
6775 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
meillo@36
|
6776 X"$_am_arg" : 'X\(//\)[^/]' \| \
|
meillo@36
|
6777 X"$_am_arg" : 'X\(//\)$' \| \
|
meillo@36
|
6778 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
|
meillo@36
|
6779 $as_echo X"$_am_arg" |
|
meillo@1
|
6780 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
meillo@1
|
6781 s//\1/
|
meillo@1
|
6782 q
|
meillo@1
|
6783 }
|
meillo@1
|
6784 /^X\(\/\/\)[^/].*/{
|
meillo@1
|
6785 s//\1/
|
meillo@1
|
6786 q
|
meillo@1
|
6787 }
|
meillo@1
|
6788 /^X\(\/\/\)$/{
|
meillo@1
|
6789 s//\1/
|
meillo@1
|
6790 q
|
meillo@1
|
6791 }
|
meillo@1
|
6792 /^X\(\/\).*/{
|
meillo@1
|
6793 s//\1/
|
meillo@1
|
6794 q
|
meillo@1
|
6795 }
|
meillo@1
|
6796 s/.*/./; q'`/stamp-h$_am_stamp_count
|
meillo@1
|
6797 ;;
|
meillo@1
|
6798
|
meillo@36
|
6799 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
meillo@36
|
6800 $as_echo "$as_me: executing $ac_file commands" >&6;}
|
meillo@1
|
6801 ;;
|
meillo@1
|
6802 esac
|
meillo@1
|
6803
|
meillo@1
|
6804
|
meillo@1
|
6805 case $ac_file$ac_mode in
|
meillo@36
|
6806 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
|
meillo@36
|
6807 # Autoconf 2.62 quotes --file arguments for eval, but not when files
|
meillo@36
|
6808 # are listed without --file. Let's play safe and only enable the eval
|
meillo@36
|
6809 # if we detect the quoting.
|
meillo@36
|
6810 case $CONFIG_FILES in
|
meillo@36
|
6811 *\'*) eval set x "$CONFIG_FILES" ;;
|
meillo@36
|
6812 *) set x $CONFIG_FILES ;;
|
meillo@36
|
6813 esac
|
meillo@36
|
6814 shift
|
meillo@36
|
6815 for mf
|
meillo@36
|
6816 do
|
meillo@36
|
6817 # Strip MF so we end up with the name of the file.
|
meillo@36
|
6818 mf=`echo "$mf" | sed -e 's/:.*$//'`
|
meillo@36
|
6819 # Check whether this is an Automake generated Makefile or not.
|
meillo@36
|
6820 # We used to match only the files named `Makefile.in', but
|
meillo@36
|
6821 # some people rename them; so instead we look at the file content.
|
meillo@36
|
6822 # Grep'ing the first line is not enough: some people post-process
|
meillo@36
|
6823 # each Makefile.in and add a new line on top of each file to say so.
|
meillo@36
|
6824 # Grep'ing the whole file is not good either: AIX grep has a line
|
meillo@36
|
6825 # limit of 2048, but all sed's we know have understand at least 4000.
|
meillo@36
|
6826 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
meillo@36
|
6827 dirpart=`$as_dirname -- "$mf" ||
|
meillo@0
|
6828 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
meillo@0
|
6829 X"$mf" : 'X\(//\)[^/]' \| \
|
meillo@0
|
6830 X"$mf" : 'X\(//\)$' \| \
|
meillo@1
|
6831 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
|
meillo@36
|
6832 $as_echo X"$mf" |
|
meillo@1
|
6833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
meillo@1
|
6834 s//\1/
|
meillo@1
|
6835 q
|
meillo@1
|
6836 }
|
meillo@1
|
6837 /^X\(\/\/\)[^/].*/{
|
meillo@1
|
6838 s//\1/
|
meillo@1
|
6839 q
|
meillo@1
|
6840 }
|
meillo@1
|
6841 /^X\(\/\/\)$/{
|
meillo@1
|
6842 s//\1/
|
meillo@1
|
6843 q
|
meillo@1
|
6844 }
|
meillo@1
|
6845 /^X\(\/\).*/{
|
meillo@1
|
6846 s//\1/
|
meillo@1
|
6847 q
|
meillo@1
|
6848 }
|
meillo@1
|
6849 s/.*/./; q'`
|
meillo@36
|
6850 else
|
meillo@36
|
6851 continue
|
meillo@36
|
6852 fi
|
meillo@36
|
6853 # Extract the definition of DEPDIR, am__include, and am__quote
|
meillo@36
|
6854 # from the Makefile without running `make'.
|
meillo@36
|
6855 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
meillo@36
|
6856 test -z "$DEPDIR" && continue
|
meillo@36
|
6857 am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
meillo@36
|
6858 test -z "am__include" && continue
|
meillo@36
|
6859 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
meillo@36
|
6860 # When using ansi2knr, U may be empty or an underscore; expand it
|
meillo@36
|
6861 U=`sed -n 's/^U = //p' < "$mf"`
|
meillo@36
|
6862 # Find all dependency output files, they are included files with
|
meillo@36
|
6863 # $(DEPDIR) in their names. We invoke sed twice because it is the
|
meillo@36
|
6864 # simplest approach to changing $(DEPDIR) to its actual value in the
|
meillo@36
|
6865 # expansion.
|
meillo@36
|
6866 for file in `sed -n "
|
meillo@36
|
6867 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
meillo@36
|
6868 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
meillo@36
|
6869 # Make sure the directory exists.
|
meillo@36
|
6870 test -f "$dirpart/$file" && continue
|
meillo@36
|
6871 fdir=`$as_dirname -- "$file" ||
|
meillo@0
|
6872 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
meillo@0
|
6873 X"$file" : 'X\(//\)[^/]' \| \
|
meillo@0
|
6874 X"$file" : 'X\(//\)$' \| \
|
meillo@1
|
6875 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
|
meillo@36
|
6876 $as_echo X"$file" |
|
meillo@1
|
6877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
meillo@1
|
6878 s//\1/
|
meillo@1
|
6879 q
|
meillo@1
|
6880 }
|
meillo@1
|
6881 /^X\(\/\/\)[^/].*/{
|
meillo@1
|
6882 s//\1/
|
meillo@1
|
6883 q
|
meillo@1
|
6884 }
|
meillo@1
|
6885 /^X\(\/\/\)$/{
|
meillo@1
|
6886 s//\1/
|
meillo@1
|
6887 q
|
meillo@1
|
6888 }
|
meillo@1
|
6889 /^X\(\/\).*/{
|
meillo@1
|
6890 s//\1/
|
meillo@1
|
6891 q
|
meillo@1
|
6892 }
|
meillo@1
|
6893 s/.*/./; q'`
|
meillo@36
|
6894 as_dir=$dirpart/$fdir; as_fn_mkdir_p
|
meillo@36
|
6895 # echo "creating $dirpart/$file"
|
meillo@36
|
6896 echo '# dummy' > "$dirpart/$file"
|
meillo@0
|
6897 done
|
meillo@0
|
6898 done
|
meillo@36
|
6899 }
|
meillo@0
|
6900 ;;
|
meillo@1
|
6901
|
meillo@0
|
6902 esac
|
meillo@1
|
6903 done # for ac_tag
|
meillo@1
|
6904
|
meillo@0
|
6905
|
meillo@36
|
6906 as_fn_exit 0
|
meillo@0
|
6907 _ACEOF
|
meillo@0
|
6908 ac_clean_files=$ac_clean_files_save
|
meillo@0
|
6909
|
meillo@36
|
6910 test $ac_write_fail = 0 ||
|
meillo@36
|
6911 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
meillo@36
|
6912
|
meillo@0
|
6913
|
meillo@0
|
6914 # configure is writing to config.log, and then calls config.status.
|
meillo@0
|
6915 # config.status does its own redirection, appending to config.log.
|
meillo@0
|
6916 # Unfortunately, on DOS this fails, as config.log is still kept open
|
meillo@0
|
6917 # by configure, so config.status won't be able to write to it; its
|
meillo@0
|
6918 # output is simply discarded. So we exec the FD to /dev/null,
|
meillo@0
|
6919 # effectively closing config.log, so it can be properly (re)opened and
|
meillo@0
|
6920 # appended to by config.status. When coming back to configure, we
|
meillo@0
|
6921 # need to make the FD available again.
|
meillo@0
|
6922 if test "$no_create" != yes; then
|
meillo@0
|
6923 ac_cs_success=:
|
meillo@0
|
6924 ac_config_status_args=
|
meillo@0
|
6925 test "$silent" = yes &&
|
meillo@0
|
6926 ac_config_status_args="$ac_config_status_args --quiet"
|
meillo@0
|
6927 exec 5>/dev/null
|
meillo@0
|
6928 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
meillo@0
|
6929 exec 5>>config.log
|
meillo@0
|
6930 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
meillo@0
|
6931 # would make configure fail if this is the last instruction.
|
meillo@36
|
6932 $ac_cs_success || as_fn_exit $?
|
meillo@36
|
6933 fi
|
meillo@36
|
6934 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
meillo@36
|
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
meillo@36
|
6936 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
meillo@36
|
6937 fi
|
meillo@36
|
6938
|