1 | #! /bin/sh |
---|
2 | # Guess values for system-dependent variables and create Makefiles. |
---|
3 | # Generated by GNU Autoconf 2.68 for vine-notify-update 0.5. |
---|
4 | # |
---|
5 | # |
---|
6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
---|
7 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
---|
8 | # Foundation, Inc. |
---|
9 | # |
---|
10 | # |
---|
11 | # This configure script is free software; the Free Software Foundation |
---|
12 | # gives unlimited permission to copy, distribute and modify it. |
---|
13 | ## -------------------- ## |
---|
14 | ## M4sh Initialization. ## |
---|
15 | ## -------------------- ## |
---|
16 | |
---|
17 | # Be more Bourne compatible |
---|
18 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
---|
20 | emulate sh |
---|
21 | NULLCMD=: |
---|
22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
23 | # is contrary to our usage. Disable this feature. |
---|
24 | alias -g '${1+"$@"}'='"$@"' |
---|
25 | setopt NO_GLOB_SUBST |
---|
26 | else |
---|
27 | case `(set -o) 2>/dev/null` in #( |
---|
28 | *posix*) : |
---|
29 | set -o posix ;; #( |
---|
30 | *) : |
---|
31 | ;; |
---|
32 | esac |
---|
33 | fi |
---|
34 | |
---|
35 | |
---|
36 | as_nl=' |
---|
37 | ' |
---|
38 | export as_nl |
---|
39 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
43 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
---|
44 | # but without wasting forks for bash or zsh. |
---|
45 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
---|
46 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
47 | as_echo='print -r --' |
---|
48 | as_echo_n='print -rn --' |
---|
49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
50 | as_echo='printf %s\n' |
---|
51 | as_echo_n='printf %s' |
---|
52 | else |
---|
53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
55 | as_echo_n='/usr/ucb/echo -n' |
---|
56 | else |
---|
57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
58 | as_echo_n_body='eval |
---|
59 | arg=$1; |
---|
60 | case $arg in #( |
---|
61 | *"$as_nl"*) |
---|
62 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
64 | esac; |
---|
65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
66 | ' |
---|
67 | export as_echo_n_body |
---|
68 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
69 | fi |
---|
70 | export as_echo_body |
---|
71 | as_echo='sh -c $as_echo_body as_echo' |
---|
72 | fi |
---|
73 | |
---|
74 | # The user is always right. |
---|
75 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
76 | PATH_SEPARATOR=: |
---|
77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
79 | PATH_SEPARATOR=';' |
---|
80 | } |
---|
81 | fi |
---|
82 | |
---|
83 | |
---|
84 | # IFS |
---|
85 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
86 | # there to prevent editors from complaining about space-tab. |
---|
87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
88 | # splitting by setting IFS to empty value.) |
---|
89 | IFS=" "" $as_nl" |
---|
90 | |
---|
91 | # Find who we are. Look in the path if we contain no directory separator. |
---|
92 | as_myself= |
---|
93 | case $0 in #(( |
---|
94 | *[\\/]* ) as_myself=$0 ;; |
---|
95 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
96 | for as_dir in $PATH |
---|
97 | do |
---|
98 | IFS=$as_save_IFS |
---|
99 | test -z "$as_dir" && as_dir=. |
---|
100 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
101 | done |
---|
102 | IFS=$as_save_IFS |
---|
103 | |
---|
104 | ;; |
---|
105 | esac |
---|
106 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
107 | # in which case we are not to be found in the path. |
---|
108 | if test "x$as_myself" = x; then |
---|
109 | as_myself=$0 |
---|
110 | fi |
---|
111 | if test ! -f "$as_myself"; then |
---|
112 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
113 | exit 1 |
---|
114 | fi |
---|
115 | |
---|
116 | # Unset variables that we do not need and which cause bugs (e.g. in |
---|
117 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
---|
118 | # suppresses any "Segmentation fault" message there. '((' could |
---|
119 | # trigger a bug in pdksh 5.2.14. |
---|
120 | for as_var in BASH_ENV ENV MAIL MAILPATH |
---|
121 | do eval test x\${$as_var+set} = xset \ |
---|
122 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
---|
123 | done |
---|
124 | PS1='$ ' |
---|
125 | PS2='> ' |
---|
126 | PS4='+ ' |
---|
127 | |
---|
128 | # NLS nuisances. |
---|
129 | LC_ALL=C |
---|
130 | export LC_ALL |
---|
131 | LANGUAGE=C |
---|
132 | export LANGUAGE |
---|
133 | |
---|
134 | # CDPATH. |
---|
135 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
---|
136 | |
---|
137 | if test "x$CONFIG_SHELL" = x; then |
---|
138 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
---|
139 | emulate sh |
---|
140 | NULLCMD=: |
---|
141 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
---|
142 | # is contrary to our usage. Disable this feature. |
---|
143 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
---|
144 | setopt NO_GLOB_SUBST |
---|
145 | else |
---|
146 | case \`(set -o) 2>/dev/null\` in #( |
---|
147 | *posix*) : |
---|
148 | set -o posix ;; #( |
---|
149 | *) : |
---|
150 | ;; |
---|
151 | esac |
---|
152 | fi |
---|
153 | " |
---|
154 | as_required="as_fn_return () { (exit \$1); } |
---|
155 | as_fn_success () { as_fn_return 0; } |
---|
156 | as_fn_failure () { as_fn_return 1; } |
---|
157 | as_fn_ret_success () { return 0; } |
---|
158 | as_fn_ret_failure () { return 1; } |
---|
159 | |
---|
160 | exitcode=0 |
---|
161 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
---|
162 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
---|
163 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
---|
164 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
---|
165 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
---|
166 | |
---|
167 | else |
---|
168 | exitcode=1; echo positional parameters were not saved. |
---|
169 | fi |
---|
170 | test x\$exitcode = x0 || exit 1" |
---|
171 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
---|
172 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
---|
173 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
---|
174 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
---|
175 | test \$(( 1 + 1 )) = 2 || exit 1" |
---|
176 | if (eval "$as_required") 2>/dev/null; then : |
---|
177 | as_have_required=yes |
---|
178 | else |
---|
179 | as_have_required=no |
---|
180 | fi |
---|
181 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
---|
182 | |
---|
183 | else |
---|
184 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
185 | as_found=false |
---|
186 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
187 | do |
---|
188 | IFS=$as_save_IFS |
---|
189 | test -z "$as_dir" && as_dir=. |
---|
190 | as_found=: |
---|
191 | case $as_dir in #( |
---|
192 | /*) |
---|
193 | for as_base in sh bash ksh sh5; do |
---|
194 | # Try only shells that exist, to save several forks. |
---|
195 | as_shell=$as_dir/$as_base |
---|
196 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
---|
197 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
---|
198 | CONFIG_SHELL=$as_shell as_have_required=yes |
---|
199 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
---|
200 | break 2 |
---|
201 | fi |
---|
202 | fi |
---|
203 | done;; |
---|
204 | esac |
---|
205 | as_found=false |
---|
206 | done |
---|
207 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
---|
208 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
---|
209 | CONFIG_SHELL=$SHELL as_have_required=yes |
---|
210 | fi; } |
---|
211 | IFS=$as_save_IFS |
---|
212 | |
---|
213 | |
---|
214 | if test "x$CONFIG_SHELL" != x; then : |
---|
215 | # We cannot yet assume a decent shell, so we have to provide a |
---|
216 | # neutralization value for shells without unset; and this also |
---|
217 | # works around shells that cannot unset nonexistent variables. |
---|
218 | # Preserve -v and -x to the replacement shell. |
---|
219 | BASH_ENV=/dev/null |
---|
220 | ENV=/dev/null |
---|
221 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
---|
222 | export CONFIG_SHELL |
---|
223 | case $- in # (((( |
---|
224 | *v*x* | *x*v* ) as_opts=-vx ;; |
---|
225 | *v* ) as_opts=-v ;; |
---|
226 | *x* ) as_opts=-x ;; |
---|
227 | * ) as_opts= ;; |
---|
228 | esac |
---|
229 | exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
---|
230 | fi |
---|
231 | |
---|
232 | if test x$as_have_required = xno; then : |
---|
233 | $as_echo "$0: This script requires a shell more modern than all" |
---|
234 | $as_echo "$0: the shells that I found on your system." |
---|
235 | if test x${ZSH_VERSION+set} = xset ; then |
---|
236 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
---|
237 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
---|
238 | else |
---|
239 | $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
---|
240 | $0: including any error possibly output before this |
---|
241 | $0: message. Then install a modern shell, or manually run |
---|
242 | $0: the script under such a shell if you do have one." |
---|
243 | fi |
---|
244 | exit 1 |
---|
245 | fi |
---|
246 | fi |
---|
247 | fi |
---|
248 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
249 | export SHELL |
---|
250 | # Unset more variables known to interfere with behavior of common tools. |
---|
251 | CLICOLOR_FORCE= GREP_OPTIONS= |
---|
252 | unset CLICOLOR_FORCE GREP_OPTIONS |
---|
253 | |
---|
254 | ## --------------------- ## |
---|
255 | ## M4sh Shell Functions. ## |
---|
256 | ## --------------------- ## |
---|
257 | # as_fn_unset VAR |
---|
258 | # --------------- |
---|
259 | # Portably unset VAR. |
---|
260 | as_fn_unset () |
---|
261 | { |
---|
262 | { eval $1=; unset $1;} |
---|
263 | } |
---|
264 | as_unset=as_fn_unset |
---|
265 | |
---|
266 | # as_fn_set_status STATUS |
---|
267 | # ----------------------- |
---|
268 | # Set $? to STATUS, without forking. |
---|
269 | as_fn_set_status () |
---|
270 | { |
---|
271 | return $1 |
---|
272 | } # as_fn_set_status |
---|
273 | |
---|
274 | # as_fn_exit STATUS |
---|
275 | # ----------------- |
---|
276 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
277 | as_fn_exit () |
---|
278 | { |
---|
279 | set +e |
---|
280 | as_fn_set_status $1 |
---|
281 | exit $1 |
---|
282 | } # as_fn_exit |
---|
283 | |
---|
284 | # as_fn_mkdir_p |
---|
285 | # ------------- |
---|
286 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
287 | as_fn_mkdir_p () |
---|
288 | { |
---|
289 | |
---|
290 | case $as_dir in #( |
---|
291 | -*) as_dir=./$as_dir;; |
---|
292 | esac |
---|
293 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
294 | as_dirs= |
---|
295 | while :; do |
---|
296 | case $as_dir in #( |
---|
297 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
298 | *) as_qdir=$as_dir;; |
---|
299 | esac |
---|
300 | as_dirs="'$as_qdir' $as_dirs" |
---|
301 | as_dir=`$as_dirname -- "$as_dir" || |
---|
302 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
303 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
304 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
305 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
306 | $as_echo X"$as_dir" | |
---|
307 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
308 | s//\1/ |
---|
309 | q |
---|
310 | } |
---|
311 | /^X\(\/\/\)[^/].*/{ |
---|
312 | s//\1/ |
---|
313 | q |
---|
314 | } |
---|
315 | /^X\(\/\/\)$/{ |
---|
316 | s//\1/ |
---|
317 | q |
---|
318 | } |
---|
319 | /^X\(\/\).*/{ |
---|
320 | s//\1/ |
---|
321 | q |
---|
322 | } |
---|
323 | s/.*/./; q'` |
---|
324 | test -d "$as_dir" && break |
---|
325 | done |
---|
326 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
327 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
---|
328 | |
---|
329 | |
---|
330 | } # as_fn_mkdir_p |
---|
331 | # as_fn_append VAR VALUE |
---|
332 | # ---------------------- |
---|
333 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
334 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
335 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
336 | # implementations. |
---|
337 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
338 | eval 'as_fn_append () |
---|
339 | { |
---|
340 | eval $1+=\$2 |
---|
341 | }' |
---|
342 | else |
---|
343 | as_fn_append () |
---|
344 | { |
---|
345 | eval $1=\$$1\$2 |
---|
346 | } |
---|
347 | fi # as_fn_append |
---|
348 | |
---|
349 | # as_fn_arith ARG... |
---|
350 | # ------------------ |
---|
351 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
352 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
353 | # must be portable across $(()) and expr. |
---|
354 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
355 | eval 'as_fn_arith () |
---|
356 | { |
---|
357 | as_val=$(( $* )) |
---|
358 | }' |
---|
359 | else |
---|
360 | as_fn_arith () |
---|
361 | { |
---|
362 | as_val=`expr "$@" || test $? -eq 1` |
---|
363 | } |
---|
364 | fi # as_fn_arith |
---|
365 | |
---|
366 | |
---|
367 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
---|
368 | # ---------------------------------------- |
---|
369 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
370 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
371 | # script with STATUS, using 1 if that was 0. |
---|
372 | as_fn_error () |
---|
373 | { |
---|
374 | as_status=$1; test $as_status -eq 0 && as_status=1 |
---|
375 | if test "$4"; then |
---|
376 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
377 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
---|
378 | fi |
---|
379 | $as_echo "$as_me: error: $2" >&2 |
---|
380 | as_fn_exit $as_status |
---|
381 | } # as_fn_error |
---|
382 | |
---|
383 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
384 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
385 | as_expr=expr |
---|
386 | else |
---|
387 | as_expr=false |
---|
388 | fi |
---|
389 | |
---|
390 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
391 | as_basename=basename |
---|
392 | else |
---|
393 | as_basename=false |
---|
394 | fi |
---|
395 | |
---|
396 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
397 | as_dirname=dirname |
---|
398 | else |
---|
399 | as_dirname=false |
---|
400 | fi |
---|
401 | |
---|
402 | as_me=`$as_basename -- "$0" || |
---|
403 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
404 | X"$0" : 'X\(//\)$' \| \ |
---|
405 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
406 | $as_echo X/"$0" | |
---|
407 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
408 | s//\1/ |
---|
409 | q |
---|
410 | } |
---|
411 | /^X\/\(\/\/\)$/{ |
---|
412 | s//\1/ |
---|
413 | q |
---|
414 | } |
---|
415 | /^X\/\(\/\).*/{ |
---|
416 | s//\1/ |
---|
417 | q |
---|
418 | } |
---|
419 | s/.*/./; q'` |
---|
420 | |
---|
421 | # Avoid depending upon Character Ranges. |
---|
422 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
423 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
424 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
425 | as_cr_digits='0123456789' |
---|
426 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
427 | |
---|
428 | |
---|
429 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
---|
430 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
---|
431 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
---|
432 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
---|
433 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
---|
434 | sed -n ' |
---|
435 | p |
---|
436 | /[$]LINENO/= |
---|
437 | ' <$as_myself | |
---|
438 | sed ' |
---|
439 | s/[$]LINENO.*/&-/ |
---|
440 | t lineno |
---|
441 | b |
---|
442 | :lineno |
---|
443 | N |
---|
444 | :loop |
---|
445 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
446 | t loop |
---|
447 | s/-\n.*// |
---|
448 | ' >$as_me.lineno && |
---|
449 | chmod +x "$as_me.lineno" || |
---|
450 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
---|
451 | |
---|
452 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
453 | # (the dirname of $[0] is not the place where we might find the |
---|
454 | # original and so on. Autoconf is especially sensitive to this). |
---|
455 | . "./$as_me.lineno" |
---|
456 | # Exit status is that of the last command. |
---|
457 | exit |
---|
458 | } |
---|
459 | |
---|
460 | ECHO_C= ECHO_N= ECHO_T= |
---|
461 | case `echo -n x` in #((((( |
---|
462 | -n*) |
---|
463 | case `echo 'xy\c'` in |
---|
464 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
465 | xy) ECHO_C='\c';; |
---|
466 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
467 | ECHO_T=' ';; |
---|
468 | esac;; |
---|
469 | *) |
---|
470 | ECHO_N='-n';; |
---|
471 | esac |
---|
472 | |
---|
473 | rm -f conf$$ conf$$.exe conf$$.file |
---|
474 | if test -d conf$$.dir; then |
---|
475 | rm -f conf$$.dir/conf$$.file |
---|
476 | else |
---|
477 | rm -f conf$$.dir |
---|
478 | mkdir conf$$.dir 2>/dev/null |
---|
479 | fi |
---|
480 | if (echo >conf$$.file) 2>/dev/null; then |
---|
481 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
482 | as_ln_s='ln -s' |
---|
483 | # ... but there are two gotchas: |
---|
484 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
485 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
486 | # In both cases, we have to default to `cp -p'. |
---|
487 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
488 | as_ln_s='cp -p' |
---|
489 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
490 | as_ln_s=ln |
---|
491 | else |
---|
492 | as_ln_s='cp -p' |
---|
493 | fi |
---|
494 | else |
---|
495 | as_ln_s='cp -p' |
---|
496 | fi |
---|
497 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
498 | rmdir conf$$.dir 2>/dev/null |
---|
499 | |
---|
500 | if mkdir -p . 2>/dev/null; then |
---|
501 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
502 | else |
---|
503 | test -d ./-p && rmdir ./-p |
---|
504 | as_mkdir_p=false |
---|
505 | fi |
---|
506 | |
---|
507 | if test -x / >/dev/null 2>&1; then |
---|
508 | as_test_x='test -x' |
---|
509 | else |
---|
510 | if ls -dL / >/dev/null 2>&1; then |
---|
511 | as_ls_L_option=L |
---|
512 | else |
---|
513 | as_ls_L_option= |
---|
514 | fi |
---|
515 | as_test_x=' |
---|
516 | eval sh -c '\'' |
---|
517 | if test -d "$1"; then |
---|
518 | test -d "$1/."; |
---|
519 | else |
---|
520 | case $1 in #( |
---|
521 | -*)set "./$1";; |
---|
522 | esac; |
---|
523 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
---|
524 | ???[sx]*):;;*)false;;esac;fi |
---|
525 | '\'' sh |
---|
526 | ' |
---|
527 | fi |
---|
528 | as_executable_p=$as_test_x |
---|
529 | |
---|
530 | # Sed expression to map a string onto a valid CPP name. |
---|
531 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
532 | |
---|
533 | # Sed expression to map a string onto a valid variable name. |
---|
534 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
535 | |
---|
536 | as_awk_strverscmp=' |
---|
537 | # Use only awk features that work with 7th edition Unix awk (1978). |
---|
538 | # My, what an old awk you have, Mr. Solaris! |
---|
539 | END { |
---|
540 | while (length(v1) && length(v2)) { |
---|
541 | # Set d1 to be the next thing to compare from v1, and likewise for d2. |
---|
542 | # Normally this is a single character, but if v1 and v2 contain digits, |
---|
543 | # compare them as integers and fractions as strverscmp does. |
---|
544 | if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) { |
---|
545 | # Split v1 and v2 into their leading digit string components d1 and d2, |
---|
546 | # and advance v1 and v2 past the leading digit strings. |
---|
547 | for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue |
---|
548 | for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue |
---|
549 | d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1) |
---|
550 | d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1) |
---|
551 | if (d1 ~ /^0/) { |
---|
552 | if (d2 ~ /^0/) { |
---|
553 | # Compare two fractions. |
---|
554 | while (d1 ~ /^0/ && d2 ~ /^0/) { |
---|
555 | d1 = substr(d1, 2); len1-- |
---|
556 | d2 = substr(d2, 2); len2-- |
---|
557 | } |
---|
558 | if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) { |
---|
559 | # The two components differ in length, and the common prefix |
---|
560 | # contains only leading zeros. Consider the longer to be less. |
---|
561 | d1 = -len1 |
---|
562 | d2 = -len2 |
---|
563 | } else { |
---|
564 | # Otherwise, compare as strings. |
---|
565 | d1 = "x" d1 |
---|
566 | d2 = "x" d2 |
---|
567 | } |
---|
568 | } else { |
---|
569 | # A fraction is less than an integer. |
---|
570 | exit 1 |
---|
571 | } |
---|
572 | } else { |
---|
573 | if (d2 ~ /^0/) { |
---|
574 | # An integer is greater than a fraction. |
---|
575 | exit 2 |
---|
576 | } else { |
---|
577 | # Compare two integers. |
---|
578 | d1 += 0 |
---|
579 | d2 += 0 |
---|
580 | } |
---|
581 | } |
---|
582 | } else { |
---|
583 | # The normal case, without worrying about digits. |
---|
584 | d1 = substr(v1, 1, 1); v1 = substr(v1, 2) |
---|
585 | d2 = substr(v2, 1, 1); v2 = substr(v2, 2) |
---|
586 | } |
---|
587 | if (d1 < d2) exit 1 |
---|
588 | if (d1 > d2) exit 2 |
---|
589 | } |
---|
590 | # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10), |
---|
591 | # which mishandles some comparisons of empty strings to integers. |
---|
592 | if (length(v2)) exit 1 |
---|
593 | if (length(v1)) exit 2 |
---|
594 | } |
---|
595 | ' |
---|
596 | |
---|
597 | test -n "$DJDIR" || exec 7<&0 </dev/null |
---|
598 | exec 6>&1 |
---|
599 | |
---|
600 | # Name of the host. |
---|
601 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
---|
602 | # so uname gets run too. |
---|
603 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
604 | |
---|
605 | # |
---|
606 | # Initializations. |
---|
607 | # |
---|
608 | ac_default_prefix=/usr/local |
---|
609 | ac_clean_files= |
---|
610 | ac_config_libobj_dir=. |
---|
611 | LIBOBJS= |
---|
612 | cross_compiling=no |
---|
613 | subdirs= |
---|
614 | MFLAGS= |
---|
615 | MAKEFLAGS= |
---|
616 | |
---|
617 | # Identity of this package. |
---|
618 | PACKAGE_NAME='vine-notify-update' |
---|
619 | PACKAGE_TARNAME='vine-notify-update' |
---|
620 | PACKAGE_VERSION='0.5' |
---|
621 | PACKAGE_STRING='vine-notify-update 0.5' |
---|
622 | PACKAGE_BUGREPORT='' |
---|
623 | PACKAGE_URL='' |
---|
624 | |
---|
625 | ac_unique_file="src/vine-notify-update.vala" |
---|
626 | # Factoring default headers for most tests. |
---|
627 | ac_includes_default="\ |
---|
628 | #include <stdio.h> |
---|
629 | #ifdef HAVE_SYS_TYPES_H |
---|
630 | # include <sys/types.h> |
---|
631 | #endif |
---|
632 | #ifdef HAVE_SYS_STAT_H |
---|
633 | # include <sys/stat.h> |
---|
634 | #endif |
---|
635 | #ifdef STDC_HEADERS |
---|
636 | # include <stdlib.h> |
---|
637 | # include <stddef.h> |
---|
638 | #else |
---|
639 | # ifdef HAVE_STDLIB_H |
---|
640 | # include <stdlib.h> |
---|
641 | # endif |
---|
642 | #endif |
---|
643 | #ifdef HAVE_STRING_H |
---|
644 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
---|
645 | # include <memory.h> |
---|
646 | # endif |
---|
647 | # include <string.h> |
---|
648 | #endif |
---|
649 | #ifdef HAVE_STRINGS_H |
---|
650 | # include <strings.h> |
---|
651 | #endif |
---|
652 | #ifdef HAVE_INTTYPES_H |
---|
653 | # include <inttypes.h> |
---|
654 | #endif |
---|
655 | #ifdef HAVE_STDINT_H |
---|
656 | # include <stdint.h> |
---|
657 | #endif |
---|
658 | #ifdef HAVE_UNISTD_H |
---|
659 | # include <unistd.h> |
---|
660 | #endif" |
---|
661 | |
---|
662 | ac_subst_vars='am__EXEEXT_FALSE |
---|
663 | am__EXEEXT_TRUE |
---|
664 | LTLIBOBJS |
---|
665 | LIBOBJS |
---|
666 | MKINSTALLDIRS |
---|
667 | POSUB |
---|
668 | POFILES |
---|
669 | PO_IN_DATADIR_FALSE |
---|
670 | PO_IN_DATADIR_TRUE |
---|
671 | INTLLIBS |
---|
672 | INSTOBJEXT |
---|
673 | GMOFILES |
---|
674 | CATOBJEXT |
---|
675 | CATALOGS |
---|
676 | MSGFMT_OPTS |
---|
677 | EGREP |
---|
678 | GREP |
---|
679 | CPP |
---|
680 | GETTEXT_PACKAGE |
---|
681 | VINE_NOTIFY_UPDATE_PACKAGES |
---|
682 | VINE_NOTIFY_UPDATE_LIBS |
---|
683 | VINE_NOTIFY_UPDATE_CFLAGS |
---|
684 | PKG_CONFIG_LIBDIR |
---|
685 | PKG_CONFIG_PATH |
---|
686 | PKG_CONFIG |
---|
687 | DATADIRNAME |
---|
688 | ALL_LINGUAS |
---|
689 | INTLTOOL_PERL |
---|
690 | GMSGFMT |
---|
691 | MSGFMT |
---|
692 | MSGMERGE |
---|
693 | XGETTEXT |
---|
694 | INTLTOOL_POLICY_RULE |
---|
695 | INTLTOOL_SERVICE_RULE |
---|
696 | INTLTOOL_THEME_RULE |
---|
697 | INTLTOOL_SCHEMAS_RULE |
---|
698 | INTLTOOL_CAVES_RULE |
---|
699 | INTLTOOL_XML_NOMERGE_RULE |
---|
700 | INTLTOOL_XML_RULE |
---|
701 | INTLTOOL_KBD_RULE |
---|
702 | INTLTOOL_XAM_RULE |
---|
703 | INTLTOOL_UI_RULE |
---|
704 | INTLTOOL_SOUNDLIST_RULE |
---|
705 | INTLTOOL_SHEET_RULE |
---|
706 | INTLTOOL_SERVER_RULE |
---|
707 | INTLTOOL_PONG_RULE |
---|
708 | INTLTOOL_OAF_RULE |
---|
709 | INTLTOOL_PROP_RULE |
---|
710 | INTLTOOL_KEYS_RULE |
---|
711 | INTLTOOL_DIRECTORY_RULE |
---|
712 | INTLTOOL_DESKTOP_RULE |
---|
713 | intltool__v_merge_options_0 |
---|
714 | intltool__v_merge_options_ |
---|
715 | INTLTOOL_V_MERGE_OPTIONS |
---|
716 | INTLTOOL__v_MERGE_0 |
---|
717 | INTLTOOL__v_MERGE_ |
---|
718 | INTLTOOL_V_MERGE |
---|
719 | INTLTOOL_EXTRACT |
---|
720 | INTLTOOL_MERGE |
---|
721 | INTLTOOL_UPDATE |
---|
722 | USE_NLS |
---|
723 | VALAC |
---|
724 | am__fastdepCC_FALSE |
---|
725 | am__fastdepCC_TRUE |
---|
726 | CCDEPMODE |
---|
727 | AMDEPBACKSLASH |
---|
728 | AMDEP_FALSE |
---|
729 | AMDEP_TRUE |
---|
730 | am__quote |
---|
731 | am__include |
---|
732 | DEPDIR |
---|
733 | OBJEXT |
---|
734 | EXEEXT |
---|
735 | ac_ct_CC |
---|
736 | CPPFLAGS |
---|
737 | LDFLAGS |
---|
738 | CFLAGS |
---|
739 | CC |
---|
740 | MAINT |
---|
741 | MAINTAINER_MODE_FALSE |
---|
742 | MAINTAINER_MODE_TRUE |
---|
743 | AM_BACKSLASH |
---|
744 | AM_DEFAULT_VERBOSITY |
---|
745 | am__untar |
---|
746 | am__tar |
---|
747 | AMTAR |
---|
748 | am__leading_dot |
---|
749 | SET_MAKE |
---|
750 | AWK |
---|
751 | mkdir_p |
---|
752 | MKDIR_P |
---|
753 | INSTALL_STRIP_PROGRAM |
---|
754 | STRIP |
---|
755 | install_sh |
---|
756 | MAKEINFO |
---|
757 | AUTOHEADER |
---|
758 | AUTOMAKE |
---|
759 | AUTOCONF |
---|
760 | ACLOCAL |
---|
761 | VERSION |
---|
762 | PACKAGE |
---|
763 | CYGPATH_W |
---|
764 | am__isrc |
---|
765 | INSTALL_DATA |
---|
766 | INSTALL_SCRIPT |
---|
767 | INSTALL_PROGRAM |
---|
768 | target_alias |
---|
769 | host_alias |
---|
770 | build_alias |
---|
771 | LIBS |
---|
772 | ECHO_T |
---|
773 | ECHO_N |
---|
774 | ECHO_C |
---|
775 | DEFS |
---|
776 | mandir |
---|
777 | localedir |
---|
778 | libdir |
---|
779 | psdir |
---|
780 | pdfdir |
---|
781 | dvidir |
---|
782 | htmldir |
---|
783 | infodir |
---|
784 | docdir |
---|
785 | oldincludedir |
---|
786 | includedir |
---|
787 | localstatedir |
---|
788 | sharedstatedir |
---|
789 | sysconfdir |
---|
790 | datadir |
---|
791 | datarootdir |
---|
792 | libexecdir |
---|
793 | sbindir |
---|
794 | bindir |
---|
795 | program_transform_name |
---|
796 | prefix |
---|
797 | exec_prefix |
---|
798 | PACKAGE_URL |
---|
799 | PACKAGE_BUGREPORT |
---|
800 | PACKAGE_STRING |
---|
801 | PACKAGE_VERSION |
---|
802 | PACKAGE_TARNAME |
---|
803 | PACKAGE_NAME |
---|
804 | PATH_SEPARATOR |
---|
805 | SHELL' |
---|
806 | ac_subst_files='' |
---|
807 | ac_user_opts=' |
---|
808 | enable_option_checking |
---|
809 | enable_silent_rules |
---|
810 | enable_maintainer_mode |
---|
811 | enable_dependency_tracking |
---|
812 | enable_nls |
---|
813 | ' |
---|
814 | ac_precious_vars='build_alias |
---|
815 | host_alias |
---|
816 | target_alias |
---|
817 | CC |
---|
818 | CFLAGS |
---|
819 | LDFLAGS |
---|
820 | LIBS |
---|
821 | CPPFLAGS |
---|
822 | PKG_CONFIG |
---|
823 | PKG_CONFIG_PATH |
---|
824 | PKG_CONFIG_LIBDIR |
---|
825 | VINE_NOTIFY_UPDATE_CFLAGS |
---|
826 | VINE_NOTIFY_UPDATE_LIBS |
---|
827 | CPP' |
---|
828 | |
---|
829 | |
---|
830 | # Initialize some variables set by options. |
---|
831 | ac_init_help= |
---|
832 | ac_init_version=false |
---|
833 | ac_unrecognized_opts= |
---|
834 | ac_unrecognized_sep= |
---|
835 | # The variables have the same names as the options, with |
---|
836 | # dashes changed to underlines. |
---|
837 | cache_file=/dev/null |
---|
838 | exec_prefix=NONE |
---|
839 | no_create= |
---|
840 | no_recursion= |
---|
841 | prefix=NONE |
---|
842 | program_prefix=NONE |
---|
843 | program_suffix=NONE |
---|
844 | program_transform_name=s,x,x, |
---|
845 | silent= |
---|
846 | site= |
---|
847 | srcdir= |
---|
848 | verbose= |
---|
849 | x_includes=NONE |
---|
850 | x_libraries=NONE |
---|
851 | |
---|
852 | # Installation directory options. |
---|
853 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
854 | # and all the variables that are supposed to be based on exec_prefix |
---|
855 | # by default will actually change. |
---|
856 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
857 | # (The list follows the same order as the GNU Coding Standards.) |
---|
858 | bindir='${exec_prefix}/bin' |
---|
859 | sbindir='${exec_prefix}/sbin' |
---|
860 | libexecdir='${exec_prefix}/libexec' |
---|
861 | datarootdir='${prefix}/share' |
---|
862 | datadir='${datarootdir}' |
---|
863 | sysconfdir='${prefix}/etc' |
---|
864 | sharedstatedir='${prefix}/com' |
---|
865 | localstatedir='${prefix}/var' |
---|
866 | includedir='${prefix}/include' |
---|
867 | oldincludedir='/usr/include' |
---|
868 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
---|
869 | infodir='${datarootdir}/info' |
---|
870 | htmldir='${docdir}' |
---|
871 | dvidir='${docdir}' |
---|
872 | pdfdir='${docdir}' |
---|
873 | psdir='${docdir}' |
---|
874 | libdir='${exec_prefix}/lib' |
---|
875 | localedir='${datarootdir}/locale' |
---|
876 | mandir='${datarootdir}/man' |
---|
877 | |
---|
878 | ac_prev= |
---|
879 | ac_dashdash= |
---|
880 | for ac_option |
---|
881 | do |
---|
882 | # If the previous option needs an argument, assign it. |
---|
883 | if test -n "$ac_prev"; then |
---|
884 | eval $ac_prev=\$ac_option |
---|
885 | ac_prev= |
---|
886 | continue |
---|
887 | fi |
---|
888 | |
---|
889 | case $ac_option in |
---|
890 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
---|
891 | *=) ac_optarg= ;; |
---|
892 | *) ac_optarg=yes ;; |
---|
893 | esac |
---|
894 | |
---|
895 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
896 | |
---|
897 | case $ac_dashdash$ac_option in |
---|
898 | --) |
---|
899 | ac_dashdash=yes ;; |
---|
900 | |
---|
901 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
902 | ac_prev=bindir ;; |
---|
903 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
904 | bindir=$ac_optarg ;; |
---|
905 | |
---|
906 | -build | --build | --buil | --bui | --bu) |
---|
907 | ac_prev=build_alias ;; |
---|
908 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
909 | build_alias=$ac_optarg ;; |
---|
910 | |
---|
911 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
912 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
913 | ac_prev=cache_file ;; |
---|
914 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
915 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
916 | cache_file=$ac_optarg ;; |
---|
917 | |
---|
918 | --config-cache | -C) |
---|
919 | cache_file=config.cache ;; |
---|
920 | |
---|
921 | -datadir | --datadir | --datadi | --datad) |
---|
922 | ac_prev=datadir ;; |
---|
923 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
---|
924 | datadir=$ac_optarg ;; |
---|
925 | |
---|
926 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
---|
927 | | --dataroo | --dataro | --datar) |
---|
928 | ac_prev=datarootdir ;; |
---|
929 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
---|
930 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
---|
931 | datarootdir=$ac_optarg ;; |
---|
932 | |
---|
933 | -disable-* | --disable-*) |
---|
934 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
935 | # Reject names that are not valid shell variable names. |
---|
936 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
937 | as_fn_error $? "invalid feature name: $ac_useropt" |
---|
938 | ac_useropt_orig=$ac_useropt |
---|
939 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
940 | case $ac_user_opts in |
---|
941 | *" |
---|
942 | "enable_$ac_useropt" |
---|
943 | "*) ;; |
---|
944 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
---|
945 | ac_unrecognized_sep=', ';; |
---|
946 | esac |
---|
947 | eval enable_$ac_useropt=no ;; |
---|
948 | |
---|
949 | -docdir | --docdir | --docdi | --doc | --do) |
---|
950 | ac_prev=docdir ;; |
---|
951 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
---|
952 | docdir=$ac_optarg ;; |
---|
953 | |
---|
954 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
---|
955 | ac_prev=dvidir ;; |
---|
956 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
---|
957 | dvidir=$ac_optarg ;; |
---|
958 | |
---|
959 | -enable-* | --enable-*) |
---|
960 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
961 | # Reject names that are not valid shell variable names. |
---|
962 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
963 | as_fn_error $? "invalid feature name: $ac_useropt" |
---|
964 | ac_useropt_orig=$ac_useropt |
---|
965 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
966 | case $ac_user_opts in |
---|
967 | *" |
---|
968 | "enable_$ac_useropt" |
---|
969 | "*) ;; |
---|
970 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
---|
971 | ac_unrecognized_sep=', ';; |
---|
972 | esac |
---|
973 | eval enable_$ac_useropt=\$ac_optarg ;; |
---|
974 | |
---|
975 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
976 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
977 | | --exec | --exe | --ex) |
---|
978 | ac_prev=exec_prefix ;; |
---|
979 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
980 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
981 | | --exec=* | --exe=* | --ex=*) |
---|
982 | exec_prefix=$ac_optarg ;; |
---|
983 | |
---|
984 | -gas | --gas | --ga | --g) |
---|
985 | # Obsolete; use --with-gas. |
---|
986 | with_gas=yes ;; |
---|
987 | |
---|
988 | -help | --help | --hel | --he | -h) |
---|
989 | ac_init_help=long ;; |
---|
990 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
991 | ac_init_help=recursive ;; |
---|
992 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
993 | ac_init_help=short ;; |
---|
994 | |
---|
995 | -host | --host | --hos | --ho) |
---|
996 | ac_prev=host_alias ;; |
---|
997 | -host=* | --host=* | --hos=* | --ho=*) |
---|
998 | host_alias=$ac_optarg ;; |
---|
999 | |
---|
1000 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
---|
1001 | ac_prev=htmldir ;; |
---|
1002 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
---|
1003 | | --ht=*) |
---|
1004 | htmldir=$ac_optarg ;; |
---|
1005 | |
---|
1006 | -includedir | --includedir | --includedi | --included | --include \ |
---|
1007 | | --includ | --inclu | --incl | --inc) |
---|
1008 | ac_prev=includedir ;; |
---|
1009 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
1010 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
1011 | includedir=$ac_optarg ;; |
---|
1012 | |
---|
1013 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
1014 | ac_prev=infodir ;; |
---|
1015 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
1016 | infodir=$ac_optarg ;; |
---|
1017 | |
---|
1018 | -libdir | --libdir | --libdi | --libd) |
---|
1019 | ac_prev=libdir ;; |
---|
1020 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
1021 | libdir=$ac_optarg ;; |
---|
1022 | |
---|
1023 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
1024 | | --libexe | --libex | --libe) |
---|
1025 | ac_prev=libexecdir ;; |
---|
1026 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
1027 | | --libexe=* | --libex=* | --libe=*) |
---|
1028 | libexecdir=$ac_optarg ;; |
---|
1029 | |
---|
1030 | -localedir | --localedir | --localedi | --localed | --locale) |
---|
1031 | ac_prev=localedir ;; |
---|
1032 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
---|
1033 | localedir=$ac_optarg ;; |
---|
1034 | |
---|
1035 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
1036 | | --localstate | --localstat | --localsta | --localst | --locals) |
---|
1037 | ac_prev=localstatedir ;; |
---|
1038 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
1039 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
---|
1040 | localstatedir=$ac_optarg ;; |
---|
1041 | |
---|
1042 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
1043 | ac_prev=mandir ;; |
---|
1044 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
1045 | mandir=$ac_optarg ;; |
---|
1046 | |
---|
1047 | -nfp | --nfp | --nf) |
---|
1048 | # Obsolete; use --without-fp. |
---|
1049 | with_fp=no ;; |
---|
1050 | |
---|
1051 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
1052 | | --no-cr | --no-c | -n) |
---|
1053 | no_create=yes ;; |
---|
1054 | |
---|
1055 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
1056 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
1057 | no_recursion=yes ;; |
---|
1058 | |
---|
1059 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
1060 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
1061 | | --oldin | --oldi | --old | --ol | --o) |
---|
1062 | ac_prev=oldincludedir ;; |
---|
1063 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
1064 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
1065 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
1066 | oldincludedir=$ac_optarg ;; |
---|
1067 | |
---|
1068 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
1069 | ac_prev=prefix ;; |
---|
1070 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
1071 | prefix=$ac_optarg ;; |
---|
1072 | |
---|
1073 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
1074 | | --program-pre | --program-pr | --program-p) |
---|
1075 | ac_prev=program_prefix ;; |
---|
1076 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
1077 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
1078 | program_prefix=$ac_optarg ;; |
---|
1079 | |
---|
1080 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
1081 | | --program-suf | --program-su | --program-s) |
---|
1082 | ac_prev=program_suffix ;; |
---|
1083 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
1084 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
1085 | program_suffix=$ac_optarg ;; |
---|
1086 | |
---|
1087 | -program-transform-name | --program-transform-name \ |
---|
1088 | | --program-transform-nam | --program-transform-na \ |
---|
1089 | | --program-transform-n | --program-transform- \ |
---|
1090 | | --program-transform | --program-transfor \ |
---|
1091 | | --program-transfo | --program-transf \ |
---|
1092 | | --program-trans | --program-tran \ |
---|
1093 | | --progr-tra | --program-tr | --program-t) |
---|
1094 | ac_prev=program_transform_name ;; |
---|
1095 | -program-transform-name=* | --program-transform-name=* \ |
---|
1096 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
1097 | | --program-transform-n=* | --program-transform-=* \ |
---|
1098 | | --program-transform=* | --program-transfor=* \ |
---|
1099 | | --program-transfo=* | --program-transf=* \ |
---|
1100 | | --program-trans=* | --program-tran=* \ |
---|
1101 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
1102 | program_transform_name=$ac_optarg ;; |
---|
1103 | |
---|
1104 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
---|
1105 | ac_prev=pdfdir ;; |
---|
1106 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
---|
1107 | pdfdir=$ac_optarg ;; |
---|
1108 | |
---|
1109 | -psdir | --psdir | --psdi | --psd | --ps) |
---|
1110 | ac_prev=psdir ;; |
---|
1111 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
---|
1112 | psdir=$ac_optarg ;; |
---|
1113 | |
---|
1114 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
1115 | | -silent | --silent | --silen | --sile | --sil) |
---|
1116 | silent=yes ;; |
---|
1117 | |
---|
1118 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
1119 | ac_prev=sbindir ;; |
---|
1120 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
1121 | | --sbi=* | --sb=*) |
---|
1122 | sbindir=$ac_optarg ;; |
---|
1123 | |
---|
1124 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
1125 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
1126 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
1127 | | --sha | --sh) |
---|
1128 | ac_prev=sharedstatedir ;; |
---|
1129 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
1130 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
1131 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
1132 | | --sha=* | --sh=*) |
---|
1133 | sharedstatedir=$ac_optarg ;; |
---|
1134 | |
---|
1135 | -site | --site | --sit) |
---|
1136 | ac_prev=site ;; |
---|
1137 | -site=* | --site=* | --sit=*) |
---|
1138 | site=$ac_optarg ;; |
---|
1139 | |
---|
1140 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
1141 | ac_prev=srcdir ;; |
---|
1142 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
1143 | srcdir=$ac_optarg ;; |
---|
1144 | |
---|
1145 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
1146 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
1147 | ac_prev=sysconfdir ;; |
---|
1148 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
1149 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
1150 | sysconfdir=$ac_optarg ;; |
---|
1151 | |
---|
1152 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
1153 | ac_prev=target_alias ;; |
---|
1154 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
1155 | target_alias=$ac_optarg ;; |
---|
1156 | |
---|
1157 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
1158 | verbose=yes ;; |
---|
1159 | |
---|
1160 | -version | --version | --versio | --versi | --vers | -V) |
---|
1161 | ac_init_version=: ;; |
---|
1162 | |
---|
1163 | -with-* | --with-*) |
---|
1164 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
1165 | # Reject names that are not valid shell variable names. |
---|
1166 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
1167 | as_fn_error $? "invalid package name: $ac_useropt" |
---|
1168 | ac_useropt_orig=$ac_useropt |
---|
1169 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
1170 | case $ac_user_opts in |
---|
1171 | *" |
---|
1172 | "with_$ac_useropt" |
---|
1173 | "*) ;; |
---|
1174 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
---|
1175 | ac_unrecognized_sep=', ';; |
---|
1176 | esac |
---|
1177 | eval with_$ac_useropt=\$ac_optarg ;; |
---|
1178 | |
---|
1179 | -without-* | --without-*) |
---|
1180 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
1181 | # Reject names that are not valid shell variable names. |
---|
1182 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
1183 | as_fn_error $? "invalid package name: $ac_useropt" |
---|
1184 | ac_useropt_orig=$ac_useropt |
---|
1185 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
1186 | case $ac_user_opts in |
---|
1187 | *" |
---|
1188 | "with_$ac_useropt" |
---|
1189 | "*) ;; |
---|
1190 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
---|
1191 | ac_unrecognized_sep=', ';; |
---|
1192 | esac |
---|
1193 | eval with_$ac_useropt=no ;; |
---|
1194 | |
---|
1195 | --x) |
---|
1196 | # Obsolete; use --with-x. |
---|
1197 | with_x=yes ;; |
---|
1198 | |
---|
1199 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
1200 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
1201 | ac_prev=x_includes ;; |
---|
1202 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
1203 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
1204 | x_includes=$ac_optarg ;; |
---|
1205 | |
---|
1206 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
1207 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
1208 | ac_prev=x_libraries ;; |
---|
1209 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
1210 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
1211 | x_libraries=$ac_optarg ;; |
---|
1212 | |
---|
1213 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
---|
1214 | Try \`$0 --help' for more information" |
---|
1215 | ;; |
---|
1216 | |
---|
1217 | *=*) |
---|
1218 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
1219 | # Reject names that are not valid shell variable names. |
---|
1220 | case $ac_envvar in #( |
---|
1221 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
---|
1222 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
---|
1223 | esac |
---|
1224 | eval $ac_envvar=\$ac_optarg |
---|
1225 | export $ac_envvar ;; |
---|
1226 | |
---|
1227 | *) |
---|
1228 | # FIXME: should be removed in autoconf 3.0. |
---|
1229 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
1230 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
1231 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
1232 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
---|
1233 | ;; |
---|
1234 | |
---|
1235 | esac |
---|
1236 | done |
---|
1237 | |
---|
1238 | if test -n "$ac_prev"; then |
---|
1239 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
1240 | as_fn_error $? "missing argument to $ac_option" |
---|
1241 | fi |
---|
1242 | |
---|
1243 | if test -n "$ac_unrecognized_opts"; then |
---|
1244 | case $enable_option_checking in |
---|
1245 | no) ;; |
---|
1246 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
---|
1247 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
---|
1248 | esac |
---|
1249 | fi |
---|
1250 | |
---|
1251 | # Check all directory arguments for consistency. |
---|
1252 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
---|
1253 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
---|
1254 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
---|
1255 | libdir localedir mandir |
---|
1256 | do |
---|
1257 | eval ac_val=\$$ac_var |
---|
1258 | # Remove trailing slashes. |
---|
1259 | case $ac_val in |
---|
1260 | */ ) |
---|
1261 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
---|
1262 | eval $ac_var=\$ac_val;; |
---|
1263 | esac |
---|
1264 | # Be sure to have absolute directory names. |
---|
1265 | case $ac_val in |
---|
1266 | [\\/$]* | ?:[\\/]* ) continue;; |
---|
1267 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
---|
1268 | esac |
---|
1269 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
---|
1270 | done |
---|
1271 | |
---|
1272 | # There might be people who depend on the old broken behavior: `$host' |
---|
1273 | # used to hold the argument of --host etc. |
---|
1274 | # FIXME: To remove some day. |
---|
1275 | build=$build_alias |
---|
1276 | host=$host_alias |
---|
1277 | target=$target_alias |
---|
1278 | |
---|
1279 | # FIXME: To remove some day. |
---|
1280 | if test "x$host_alias" != x; then |
---|
1281 | if test "x$build_alias" = x; then |
---|
1282 | cross_compiling=maybe |
---|
1283 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
---|
1284 | If a cross compiler is detected then cross compile mode will be used" >&2 |
---|
1285 | elif test "x$build_alias" != "x$host_alias"; then |
---|
1286 | cross_compiling=yes |
---|
1287 | fi |
---|
1288 | fi |
---|
1289 | |
---|
1290 | ac_tool_prefix= |
---|
1291 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
1292 | |
---|
1293 | test "$silent" = yes && exec 6>/dev/null |
---|
1294 | |
---|
1295 | |
---|
1296 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
---|
1297 | ac_ls_di=`ls -di .` && |
---|
1298 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
---|
1299 | as_fn_error $? "working directory cannot be determined" |
---|
1300 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
---|
1301 | as_fn_error $? "pwd does not report name of working directory" |
---|
1302 | |
---|
1303 | |
---|
1304 | # Find the source files, if location was not specified. |
---|
1305 | if test -z "$srcdir"; then |
---|
1306 | ac_srcdir_defaulted=yes |
---|
1307 | # Try the directory containing this script, then the parent directory. |
---|
1308 | ac_confdir=`$as_dirname -- "$as_myself" || |
---|
1309 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
1310 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
---|
1311 | X"$as_myself" : 'X\(//\)$' \| \ |
---|
1312 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
---|
1313 | $as_echo X"$as_myself" | |
---|
1314 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
1315 | s//\1/ |
---|
1316 | q |
---|
1317 | } |
---|
1318 | /^X\(\/\/\)[^/].*/{ |
---|
1319 | s//\1/ |
---|
1320 | q |
---|
1321 | } |
---|
1322 | /^X\(\/\/\)$/{ |
---|
1323 | s//\1/ |
---|
1324 | q |
---|
1325 | } |
---|
1326 | /^X\(\/\).*/{ |
---|
1327 | s//\1/ |
---|
1328 | q |
---|
1329 | } |
---|
1330 | s/.*/./; q'` |
---|
1331 | srcdir=$ac_confdir |
---|
1332 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
1333 | srcdir=.. |
---|
1334 | fi |
---|
1335 | else |
---|
1336 | ac_srcdir_defaulted=no |
---|
1337 | fi |
---|
1338 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
1339 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
---|
1340 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
---|
1341 | fi |
---|
1342 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
---|
1343 | ac_abs_confdir=`( |
---|
1344 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
---|
1345 | pwd)` |
---|
1346 | # When building in place, set srcdir=. |
---|
1347 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
---|
1348 | srcdir=. |
---|
1349 | fi |
---|
1350 | # Remove unnecessary trailing slashes from srcdir. |
---|
1351 | # Double slashes in file names in object file debugging info |
---|
1352 | # mess up M-x gdb in Emacs. |
---|
1353 | case $srcdir in |
---|
1354 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
---|
1355 | esac |
---|
1356 | for ac_var in $ac_precious_vars; do |
---|
1357 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
---|
1358 | eval ac_env_${ac_var}_value=\$${ac_var} |
---|
1359 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
---|
1360 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
---|
1361 | done |
---|
1362 | |
---|
1363 | # |
---|
1364 | # Report the --help message. |
---|
1365 | # |
---|
1366 | if test "$ac_init_help" = "long"; then |
---|
1367 | # Omit some internal or obsolete options to make the list less imposing. |
---|
1368 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
1369 | cat <<_ACEOF |
---|
1370 | \`configure' configures vine-notify-update 0.5 to adapt to many kinds of systems. |
---|
1371 | |
---|
1372 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
1373 | |
---|
1374 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
1375 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
1376 | |
---|
1377 | Defaults for the options are specified in brackets. |
---|
1378 | |
---|
1379 | Configuration: |
---|
1380 | -h, --help display this help and exit |
---|
1381 | --help=short display options specific to this package |
---|
1382 | --help=recursive display the short help of all the included packages |
---|
1383 | -V, --version display version information and exit |
---|
1384 | -q, --quiet, --silent do not print \`checking ...' messages |
---|
1385 | --cache-file=FILE cache test results in FILE [disabled] |
---|
1386 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
1387 | -n, --no-create do not create output files |
---|
1388 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
1389 | |
---|
1390 | Installation directories: |
---|
1391 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
1392 | [$ac_default_prefix] |
---|
1393 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
1394 | [PREFIX] |
---|
1395 | |
---|
1396 | By default, \`make install' will install all the files in |
---|
1397 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
1398 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
1399 | for instance \`--prefix=\$HOME'. |
---|
1400 | |
---|
1401 | For better control, use the options below. |
---|
1402 | |
---|
1403 | Fine tuning of the installation directories: |
---|
1404 | --bindir=DIR user executables [EPREFIX/bin] |
---|
1405 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
1406 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
1407 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
1408 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
1409 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
1410 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
1411 | --includedir=DIR C header files [PREFIX/include] |
---|
1412 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
1413 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
---|
1414 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
---|
1415 | --infodir=DIR info documentation [DATAROOTDIR/info] |
---|
1416 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
---|
1417 | --mandir=DIR man documentation [DATAROOTDIR/man] |
---|
1418 | --docdir=DIR documentation root |
---|
1419 | [DATAROOTDIR/doc/vine-notify-update] |
---|
1420 | --htmldir=DIR html documentation [DOCDIR] |
---|
1421 | --dvidir=DIR dvi documentation [DOCDIR] |
---|
1422 | --pdfdir=DIR pdf documentation [DOCDIR] |
---|
1423 | --psdir=DIR ps documentation [DOCDIR] |
---|
1424 | _ACEOF |
---|
1425 | |
---|
1426 | cat <<\_ACEOF |
---|
1427 | |
---|
1428 | Program names: |
---|
1429 | --program-prefix=PREFIX prepend PREFIX to installed program names |
---|
1430 | --program-suffix=SUFFIX append SUFFIX to installed program names |
---|
1431 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
---|
1432 | _ACEOF |
---|
1433 | fi |
---|
1434 | |
---|
1435 | if test -n "$ac_init_help"; then |
---|
1436 | case $ac_init_help in |
---|
1437 | short | recursive ) echo "Configuration of vine-notify-update 0.5:";; |
---|
1438 | esac |
---|
1439 | cat <<\_ACEOF |
---|
1440 | |
---|
1441 | Optional Features: |
---|
1442 | --disable-option-checking ignore unrecognized --enable/--with options |
---|
1443 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
---|
1444 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
---|
1445 | --enable-silent-rules less verbose build output (undo: `make V=1') |
---|
1446 | --disable-silent-rules verbose build output (undo: `make V=0') |
---|
1447 | --enable-maintainer-mode enable make rules and dependencies not useful |
---|
1448 | (and sometimes confusing) to the casual installer |
---|
1449 | --disable-dependency-tracking speeds up one-time build |
---|
1450 | --enable-dependency-tracking do not reject slow dependency extractors |
---|
1451 | --disable-nls do not use Native Language Support |
---|
1452 | |
---|
1453 | Some influential environment variables: |
---|
1454 | CC C compiler command |
---|
1455 | CFLAGS C compiler flags |
---|
1456 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
1457 | nonstandard directory <lib dir> |
---|
1458 | LIBS libraries to pass to the linker, e.g. -l<library> |
---|
1459 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
---|
1460 | you have headers in a nonstandard directory <include dir> |
---|
1461 | PKG_CONFIG path to pkg-config utility |
---|
1462 | PKG_CONFIG_PATH |
---|
1463 | directories to add to pkg-config's search path |
---|
1464 | PKG_CONFIG_LIBDIR |
---|
1465 | path overriding pkg-config's built-in search path |
---|
1466 | VINE_NOTIFY_UPDATE_CFLAGS |
---|
1467 | C compiler flags for VINE_NOTIFY_UPDATE, overriding pkg-config |
---|
1468 | VINE_NOTIFY_UPDATE_LIBS |
---|
1469 | linker flags for VINE_NOTIFY_UPDATE, overriding pkg-config |
---|
1470 | CPP C preprocessor |
---|
1471 | |
---|
1472 | Use these variables to override the choices made by `configure' or to help |
---|
1473 | it to find libraries and programs with nonstandard names/locations. |
---|
1474 | |
---|
1475 | Report bugs to the package provider. |
---|
1476 | _ACEOF |
---|
1477 | ac_status=$? |
---|
1478 | fi |
---|
1479 | |
---|
1480 | if test "$ac_init_help" = "recursive"; then |
---|
1481 | # If there are subdirs, report their specific --help. |
---|
1482 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
1483 | test -d "$ac_dir" || |
---|
1484 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
---|
1485 | continue |
---|
1486 | ac_builddir=. |
---|
1487 | |
---|
1488 | case "$ac_dir" in |
---|
1489 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
1490 | *) |
---|
1491 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
1492 | # A ".." for each directory in $ac_dir_suffix. |
---|
1493 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
1494 | case $ac_top_builddir_sub in |
---|
1495 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
1496 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
1497 | esac ;; |
---|
1498 | esac |
---|
1499 | ac_abs_top_builddir=$ac_pwd |
---|
1500 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
1501 | # for backward compatibility: |
---|
1502 | ac_top_builddir=$ac_top_build_prefix |
---|
1503 | |
---|
1504 | case $srcdir in |
---|
1505 | .) # We are building in place. |
---|
1506 | ac_srcdir=. |
---|
1507 | ac_top_srcdir=$ac_top_builddir_sub |
---|
1508 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
1509 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
1510 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
1511 | ac_top_srcdir=$srcdir |
---|
1512 | ac_abs_top_srcdir=$srcdir ;; |
---|
1513 | *) # Relative name. |
---|
1514 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
1515 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
1516 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
1517 | esac |
---|
1518 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
1519 | |
---|
1520 | cd "$ac_dir" || { ac_status=$?; continue; } |
---|
1521 | # Check for guested configure. |
---|
1522 | if test -f "$ac_srcdir/configure.gnu"; then |
---|
1523 | echo && |
---|
1524 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
---|
1525 | elif test -f "$ac_srcdir/configure"; then |
---|
1526 | echo && |
---|
1527 | $SHELL "$ac_srcdir/configure" --help=recursive |
---|
1528 | else |
---|
1529 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
1530 | fi || ac_status=$? |
---|
1531 | cd "$ac_pwd" || { ac_status=$?; break; } |
---|
1532 | done |
---|
1533 | fi |
---|
1534 | |
---|
1535 | test -n "$ac_init_help" && exit $ac_status |
---|
1536 | if $ac_init_version; then |
---|
1537 | cat <<\_ACEOF |
---|
1538 | vine-notify-update configure 0.5 |
---|
1539 | generated by GNU Autoconf 2.68 |
---|
1540 | |
---|
1541 | Copyright (C) 2010 Free Software Foundation, Inc. |
---|
1542 | This configure script is free software; the Free Software Foundation |
---|
1543 | gives unlimited permission to copy, distribute and modify it. |
---|
1544 | _ACEOF |
---|
1545 | exit |
---|
1546 | fi |
---|
1547 | |
---|
1548 | ## ------------------------ ## |
---|
1549 | ## Autoconf initialization. ## |
---|
1550 | ## ------------------------ ## |
---|
1551 | |
---|
1552 | # ac_fn_c_try_compile LINENO |
---|
1553 | # -------------------------- |
---|
1554 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
---|
1555 | ac_fn_c_try_compile () |
---|
1556 | { |
---|
1557 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1558 | rm -f conftest.$ac_objext |
---|
1559 | if { { ac_try="$ac_compile" |
---|
1560 | case "(($ac_try" in |
---|
1561 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
1562 | *) ac_try_echo=$ac_try;; |
---|
1563 | esac |
---|
1564 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
1565 | $as_echo "$ac_try_echo"; } >&5 |
---|
1566 | (eval "$ac_compile") 2>conftest.err |
---|
1567 | ac_status=$? |
---|
1568 | if test -s conftest.err; then |
---|
1569 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
1570 | cat conftest.er1 >&5 |
---|
1571 | mv -f conftest.er1 conftest.err |
---|
1572 | fi |
---|
1573 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
1574 | test $ac_status = 0; } && { |
---|
1575 | test -z "$ac_c_werror_flag" || |
---|
1576 | test ! -s conftest.err |
---|
1577 | } && test -s conftest.$ac_objext; then : |
---|
1578 | ac_retval=0 |
---|
1579 | else |
---|
1580 | $as_echo "$as_me: failed program was:" >&5 |
---|
1581 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
1582 | |
---|
1583 | ac_retval=1 |
---|
1584 | fi |
---|
1585 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1586 | as_fn_set_status $ac_retval |
---|
1587 | |
---|
1588 | } # ac_fn_c_try_compile |
---|
1589 | |
---|
1590 | # ac_fn_c_try_link LINENO |
---|
1591 | # ----------------------- |
---|
1592 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
---|
1593 | ac_fn_c_try_link () |
---|
1594 | { |
---|
1595 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1596 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
1597 | if { { ac_try="$ac_link" |
---|
1598 | case "(($ac_try" in |
---|
1599 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
1600 | *) ac_try_echo=$ac_try;; |
---|
1601 | esac |
---|
1602 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
1603 | $as_echo "$ac_try_echo"; } >&5 |
---|
1604 | (eval "$ac_link") 2>conftest.err |
---|
1605 | ac_status=$? |
---|
1606 | if test -s conftest.err; then |
---|
1607 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
1608 | cat conftest.er1 >&5 |
---|
1609 | mv -f conftest.er1 conftest.err |
---|
1610 | fi |
---|
1611 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
1612 | test $ac_status = 0; } && { |
---|
1613 | test -z "$ac_c_werror_flag" || |
---|
1614 | test ! -s conftest.err |
---|
1615 | } && test -s conftest$ac_exeext && { |
---|
1616 | test "$cross_compiling" = yes || |
---|
1617 | $as_test_x conftest$ac_exeext |
---|
1618 | }; then : |
---|
1619 | ac_retval=0 |
---|
1620 | else |
---|
1621 | $as_echo "$as_me: failed program was:" >&5 |
---|
1622 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
1623 | |
---|
1624 | ac_retval=1 |
---|
1625 | fi |
---|
1626 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
---|
1627 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
---|
1628 | # interfere with the next link command; also delete a directory that is |
---|
1629 | # left behind by Apple's compiler. We do this before executing the actions. |
---|
1630 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
---|
1631 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1632 | as_fn_set_status $ac_retval |
---|
1633 | |
---|
1634 | } # ac_fn_c_try_link |
---|
1635 | |
---|
1636 | # ac_fn_c_check_func LINENO FUNC VAR |
---|
1637 | # ---------------------------------- |
---|
1638 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
---|
1639 | ac_fn_c_check_func () |
---|
1640 | { |
---|
1641 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1642 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
1643 | $as_echo_n "checking for $2... " >&6; } |
---|
1644 | if eval \${$3+:} false; then : |
---|
1645 | $as_echo_n "(cached) " >&6 |
---|
1646 | else |
---|
1647 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
1648 | /* end confdefs.h. */ |
---|
1649 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
---|
1650 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
---|
1651 | #define $2 innocuous_$2 |
---|
1652 | |
---|
1653 | /* System header to define __stub macros and hopefully few prototypes, |
---|
1654 | which can conflict with char $2 (); below. |
---|
1655 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
1656 | <limits.h> exists even on freestanding compilers. */ |
---|
1657 | |
---|
1658 | #ifdef __STDC__ |
---|
1659 | # include <limits.h> |
---|
1660 | #else |
---|
1661 | # include <assert.h> |
---|
1662 | #endif |
---|
1663 | |
---|
1664 | #undef $2 |
---|
1665 | |
---|
1666 | /* Override any GCC internal prototype to avoid an error. |
---|
1667 | Use char because int might match the return type of a GCC |
---|
1668 | builtin and then its argument prototype would still apply. */ |
---|
1669 | #ifdef __cplusplus |
---|
1670 | extern "C" |
---|
1671 | #endif |
---|
1672 | char $2 (); |
---|
1673 | /* The GNU C library defines this for functions which it implements |
---|
1674 | to always fail with ENOSYS. Some functions are actually named |
---|
1675 | something starting with __ and the normal name is an alias. */ |
---|
1676 | #if defined __stub_$2 || defined __stub___$2 |
---|
1677 | choke me |
---|
1678 | #endif |
---|
1679 | |
---|
1680 | int |
---|
1681 | main () |
---|
1682 | { |
---|
1683 | return $2 (); |
---|
1684 | ; |
---|
1685 | return 0; |
---|
1686 | } |
---|
1687 | _ACEOF |
---|
1688 | if ac_fn_c_try_link "$LINENO"; then : |
---|
1689 | eval "$3=yes" |
---|
1690 | else |
---|
1691 | eval "$3=no" |
---|
1692 | fi |
---|
1693 | rm -f core conftest.err conftest.$ac_objext \ |
---|
1694 | conftest$ac_exeext conftest.$ac_ext |
---|
1695 | fi |
---|
1696 | eval ac_res=\$$3 |
---|
1697 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
1698 | $as_echo "$ac_res" >&6; } |
---|
1699 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1700 | |
---|
1701 | } # ac_fn_c_check_func |
---|
1702 | |
---|
1703 | # ac_fn_c_try_cpp LINENO |
---|
1704 | # ---------------------- |
---|
1705 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
---|
1706 | ac_fn_c_try_cpp () |
---|
1707 | { |
---|
1708 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1709 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
---|
1710 | case "(($ac_try" in |
---|
1711 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
1712 | *) ac_try_echo=$ac_try;; |
---|
1713 | esac |
---|
1714 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
1715 | $as_echo "$ac_try_echo"; } >&5 |
---|
1716 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
---|
1717 | ac_status=$? |
---|
1718 | if test -s conftest.err; then |
---|
1719 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
1720 | cat conftest.er1 >&5 |
---|
1721 | mv -f conftest.er1 conftest.err |
---|
1722 | fi |
---|
1723 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
1724 | test $ac_status = 0; } > conftest.i && { |
---|
1725 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
1726 | test ! -s conftest.err |
---|
1727 | }; then : |
---|
1728 | ac_retval=0 |
---|
1729 | else |
---|
1730 | $as_echo "$as_me: failed program was:" >&5 |
---|
1731 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
1732 | |
---|
1733 | ac_retval=1 |
---|
1734 | fi |
---|
1735 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1736 | as_fn_set_status $ac_retval |
---|
1737 | |
---|
1738 | } # ac_fn_c_try_cpp |
---|
1739 | |
---|
1740 | # ac_fn_c_try_run LINENO |
---|
1741 | # ---------------------- |
---|
1742 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
---|
1743 | # that executables *can* be run. |
---|
1744 | ac_fn_c_try_run () |
---|
1745 | { |
---|
1746 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1747 | if { { ac_try="$ac_link" |
---|
1748 | case "(($ac_try" in |
---|
1749 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
1750 | *) ac_try_echo=$ac_try;; |
---|
1751 | esac |
---|
1752 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
1753 | $as_echo "$ac_try_echo"; } >&5 |
---|
1754 | (eval "$ac_link") 2>&5 |
---|
1755 | ac_status=$? |
---|
1756 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
1757 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
---|
1758 | { { case "(($ac_try" in |
---|
1759 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
1760 | *) ac_try_echo=$ac_try;; |
---|
1761 | esac |
---|
1762 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
1763 | $as_echo "$ac_try_echo"; } >&5 |
---|
1764 | (eval "$ac_try") 2>&5 |
---|
1765 | ac_status=$? |
---|
1766 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
1767 | test $ac_status = 0; }; }; then : |
---|
1768 | ac_retval=0 |
---|
1769 | else |
---|
1770 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
---|
1771 | $as_echo "$as_me: failed program was:" >&5 |
---|
1772 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
1773 | |
---|
1774 | ac_retval=$ac_status |
---|
1775 | fi |
---|
1776 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
---|
1777 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1778 | as_fn_set_status $ac_retval |
---|
1779 | |
---|
1780 | } # ac_fn_c_try_run |
---|
1781 | |
---|
1782 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
---|
1783 | # ------------------------------------------------------- |
---|
1784 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
---|
1785 | # the include files in INCLUDES and setting the cache variable VAR |
---|
1786 | # accordingly. |
---|
1787 | ac_fn_c_check_header_mongrel () |
---|
1788 | { |
---|
1789 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1790 | if eval \${$3+:} false; then : |
---|
1791 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
1792 | $as_echo_n "checking for $2... " >&6; } |
---|
1793 | if eval \${$3+:} false; then : |
---|
1794 | $as_echo_n "(cached) " >&6 |
---|
1795 | fi |
---|
1796 | eval ac_res=\$$3 |
---|
1797 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
1798 | $as_echo "$ac_res" >&6; } |
---|
1799 | else |
---|
1800 | # Is the header compilable? |
---|
1801 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
---|
1802 | $as_echo_n "checking $2 usability... " >&6; } |
---|
1803 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
1804 | /* end confdefs.h. */ |
---|
1805 | $4 |
---|
1806 | #include <$2> |
---|
1807 | _ACEOF |
---|
1808 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
1809 | ac_header_compiler=yes |
---|
1810 | else |
---|
1811 | ac_header_compiler=no |
---|
1812 | fi |
---|
1813 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
1814 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
---|
1815 | $as_echo "$ac_header_compiler" >&6; } |
---|
1816 | |
---|
1817 | # Is the header present? |
---|
1818 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
---|
1819 | $as_echo_n "checking $2 presence... " >&6; } |
---|
1820 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
1821 | /* end confdefs.h. */ |
---|
1822 | #include <$2> |
---|
1823 | _ACEOF |
---|
1824 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
1825 | ac_header_preproc=yes |
---|
1826 | else |
---|
1827 | ac_header_preproc=no |
---|
1828 | fi |
---|
1829 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
1830 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
---|
1831 | $as_echo "$ac_header_preproc" >&6; } |
---|
1832 | |
---|
1833 | # So? What about this header? |
---|
1834 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
---|
1835 | yes:no: ) |
---|
1836 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
1837 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
1838 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
---|
1839 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
---|
1840 | ;; |
---|
1841 | no:yes:* ) |
---|
1842 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
---|
1843 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
---|
1844 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
---|
1845 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
---|
1846 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
---|
1847 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
---|
1848 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
---|
1849 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
1850 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
---|
1851 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
---|
1852 | ;; |
---|
1853 | esac |
---|
1854 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
1855 | $as_echo_n "checking for $2... " >&6; } |
---|
1856 | if eval \${$3+:} false; then : |
---|
1857 | $as_echo_n "(cached) " >&6 |
---|
1858 | else |
---|
1859 | eval "$3=\$ac_header_compiler" |
---|
1860 | fi |
---|
1861 | eval ac_res=\$$3 |
---|
1862 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
1863 | $as_echo "$ac_res" >&6; } |
---|
1864 | fi |
---|
1865 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1866 | |
---|
1867 | } # ac_fn_c_check_header_mongrel |
---|
1868 | |
---|
1869 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
---|
1870 | # ------------------------------------------------------- |
---|
1871 | # Tests whether HEADER exists and can be compiled using the include files in |
---|
1872 | # INCLUDES, setting the cache variable VAR accordingly. |
---|
1873 | ac_fn_c_check_header_compile () |
---|
1874 | { |
---|
1875 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1876 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
1877 | $as_echo_n "checking for $2... " >&6; } |
---|
1878 | if eval \${$3+:} false; then : |
---|
1879 | $as_echo_n "(cached) " >&6 |
---|
1880 | else |
---|
1881 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
1882 | /* end confdefs.h. */ |
---|
1883 | $4 |
---|
1884 | #include <$2> |
---|
1885 | _ACEOF |
---|
1886 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
1887 | eval "$3=yes" |
---|
1888 | else |
---|
1889 | eval "$3=no" |
---|
1890 | fi |
---|
1891 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
1892 | fi |
---|
1893 | eval ac_res=\$$3 |
---|
1894 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
1895 | $as_echo "$ac_res" >&6; } |
---|
1896 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1897 | |
---|
1898 | } # ac_fn_c_check_header_compile |
---|
1899 | cat >config.log <<_ACEOF |
---|
1900 | This file contains any messages produced by compilers while |
---|
1901 | running configure, to aid debugging if configure makes a mistake. |
---|
1902 | |
---|
1903 | It was created by vine-notify-update $as_me 0.5, which was |
---|
1904 | generated by GNU Autoconf 2.68. Invocation command line was |
---|
1905 | |
---|
1906 | $ $0 $@ |
---|
1907 | |
---|
1908 | _ACEOF |
---|
1909 | exec 5>>config.log |
---|
1910 | { |
---|
1911 | cat <<_ASUNAME |
---|
1912 | ## --------- ## |
---|
1913 | ## Platform. ## |
---|
1914 | ## --------- ## |
---|
1915 | |
---|
1916 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
1917 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
1918 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
1919 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
1920 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
1921 | |
---|
1922 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
1923 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
1924 | |
---|
1925 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
1926 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
1927 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
1928 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
---|
1929 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
1930 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
1931 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
1932 | |
---|
1933 | _ASUNAME |
---|
1934 | |
---|
1935 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1936 | for as_dir in $PATH |
---|
1937 | do |
---|
1938 | IFS=$as_save_IFS |
---|
1939 | test -z "$as_dir" && as_dir=. |
---|
1940 | $as_echo "PATH: $as_dir" |
---|
1941 | done |
---|
1942 | IFS=$as_save_IFS |
---|
1943 | |
---|
1944 | } >&5 |
---|
1945 | |
---|
1946 | cat >&5 <<_ACEOF |
---|
1947 | |
---|
1948 | |
---|
1949 | ## ----------- ## |
---|
1950 | ## Core tests. ## |
---|
1951 | ## ----------- ## |
---|
1952 | |
---|
1953 | _ACEOF |
---|
1954 | |
---|
1955 | |
---|
1956 | # Keep a trace of the command line. |
---|
1957 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
1958 | # Strip out --silent because we don't want to record it for future runs. |
---|
1959 | # Also quote any args containing shell meta-characters. |
---|
1960 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
1961 | ac_configure_args= |
---|
1962 | ac_configure_args0= |
---|
1963 | ac_configure_args1= |
---|
1964 | ac_must_keep_next=false |
---|
1965 | for ac_pass in 1 2 |
---|
1966 | do |
---|
1967 | for ac_arg |
---|
1968 | do |
---|
1969 | case $ac_arg in |
---|
1970 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
1971 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
1972 | | -silent | --silent | --silen | --sile | --sil) |
---|
1973 | continue ;; |
---|
1974 | *\'*) |
---|
1975 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1976 | esac |
---|
1977 | case $ac_pass in |
---|
1978 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
---|
1979 | 2) |
---|
1980 | as_fn_append ac_configure_args1 " '$ac_arg'" |
---|
1981 | if test $ac_must_keep_next = true; then |
---|
1982 | ac_must_keep_next=false # Got value, back to normal. |
---|
1983 | else |
---|
1984 | case $ac_arg in |
---|
1985 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
1986 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
1987 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
1988 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
1989 | case "$ac_configure_args0 " in |
---|
1990 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
1991 | esac |
---|
1992 | ;; |
---|
1993 | -* ) ac_must_keep_next=true ;; |
---|
1994 | esac |
---|
1995 | fi |
---|
1996 | as_fn_append ac_configure_args " '$ac_arg'" |
---|
1997 | ;; |
---|
1998 | esac |
---|
1999 | done |
---|
2000 | done |
---|
2001 | { ac_configure_args0=; unset ac_configure_args0;} |
---|
2002 | { ac_configure_args1=; unset ac_configure_args1;} |
---|
2003 | |
---|
2004 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
2005 | # config.log. We remove comments because anyway the quotes in there |
---|
2006 | # would cause problems or look ugly. |
---|
2007 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
---|
2008 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
---|
2009 | trap 'exit_status=$? |
---|
2010 | # Save into config.log some information that might help in debugging. |
---|
2011 | { |
---|
2012 | echo |
---|
2013 | |
---|
2014 | $as_echo "## ---------------- ## |
---|
2015 | ## Cache variables. ## |
---|
2016 | ## ---------------- ##" |
---|
2017 | echo |
---|
2018 | # The following way of writing the cache mishandles newlines in values, |
---|
2019 | ( |
---|
2020 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
---|
2021 | eval ac_val=\$$ac_var |
---|
2022 | case $ac_val in #( |
---|
2023 | *${as_nl}*) |
---|
2024 | case $ac_var in #( |
---|
2025 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
2026 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
2027 | esac |
---|
2028 | case $ac_var in #( |
---|
2029 | _ | IFS | as_nl) ;; #( |
---|
2030 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
2031 | *) { eval $ac_var=; unset $ac_var;} ;; |
---|
2032 | esac ;; |
---|
2033 | esac |
---|
2034 | done |
---|
2035 | (set) 2>&1 | |
---|
2036 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
---|
2037 | *${as_nl}ac_space=\ *) |
---|
2038 | sed -n \ |
---|
2039 | "s/'\''/'\''\\\\'\'''\''/g; |
---|
2040 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
---|
2041 | ;; #( |
---|
2042 | *) |
---|
2043 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
2044 | ;; |
---|
2045 | esac | |
---|
2046 | sort |
---|
2047 | ) |
---|
2048 | echo |
---|
2049 | |
---|
2050 | $as_echo "## ----------------- ## |
---|
2051 | ## Output variables. ## |
---|
2052 | ## ----------------- ##" |
---|
2053 | echo |
---|
2054 | for ac_var in $ac_subst_vars |
---|
2055 | do |
---|
2056 | eval ac_val=\$$ac_var |
---|
2057 | case $ac_val in |
---|
2058 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
2059 | esac |
---|
2060 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
2061 | done | sort |
---|
2062 | echo |
---|
2063 | |
---|
2064 | if test -n "$ac_subst_files"; then |
---|
2065 | $as_echo "## ------------------- ## |
---|
2066 | ## File substitutions. ## |
---|
2067 | ## ------------------- ##" |
---|
2068 | echo |
---|
2069 | for ac_var in $ac_subst_files |
---|
2070 | do |
---|
2071 | eval ac_val=\$$ac_var |
---|
2072 | case $ac_val in |
---|
2073 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
2074 | esac |
---|
2075 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
2076 | done | sort |
---|
2077 | echo |
---|
2078 | fi |
---|
2079 | |
---|
2080 | if test -s confdefs.h; then |
---|
2081 | $as_echo "## ----------- ## |
---|
2082 | ## confdefs.h. ## |
---|
2083 | ## ----------- ##" |
---|
2084 | echo |
---|
2085 | cat confdefs.h |
---|
2086 | echo |
---|
2087 | fi |
---|
2088 | test "$ac_signal" != 0 && |
---|
2089 | $as_echo "$as_me: caught signal $ac_signal" |
---|
2090 | $as_echo "$as_me: exit $exit_status" |
---|
2091 | } >&5 |
---|
2092 | rm -f core *.core core.conftest.* && |
---|
2093 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
---|
2094 | exit $exit_status |
---|
2095 | ' 0 |
---|
2096 | for ac_signal in 1 2 13 15; do |
---|
2097 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
---|
2098 | done |
---|
2099 | ac_signal=0 |
---|
2100 | |
---|
2101 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
2102 | rm -f -r conftest* confdefs.h |
---|
2103 | |
---|
2104 | $as_echo "/* confdefs.h */" > confdefs.h |
---|
2105 | |
---|
2106 | # Predefined preprocessor variables. |
---|
2107 | |
---|
2108 | cat >>confdefs.h <<_ACEOF |
---|
2109 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
2110 | _ACEOF |
---|
2111 | |
---|
2112 | cat >>confdefs.h <<_ACEOF |
---|
2113 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
2114 | _ACEOF |
---|
2115 | |
---|
2116 | cat >>confdefs.h <<_ACEOF |
---|
2117 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
2118 | _ACEOF |
---|
2119 | |
---|
2120 | cat >>confdefs.h <<_ACEOF |
---|
2121 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
2122 | _ACEOF |
---|
2123 | |
---|
2124 | cat >>confdefs.h <<_ACEOF |
---|
2125 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
2126 | _ACEOF |
---|
2127 | |
---|
2128 | cat >>confdefs.h <<_ACEOF |
---|
2129 | #define PACKAGE_URL "$PACKAGE_URL" |
---|
2130 | _ACEOF |
---|
2131 | |
---|
2132 | |
---|
2133 | # Let the site file select an alternate cache file if it wants to. |
---|
2134 | # Prefer an explicitly selected file to automatically selected ones. |
---|
2135 | ac_site_file1=NONE |
---|
2136 | ac_site_file2=NONE |
---|
2137 | if test -n "$CONFIG_SITE"; then |
---|
2138 | # We do not want a PATH search for config.site. |
---|
2139 | case $CONFIG_SITE in #(( |
---|
2140 | -*) ac_site_file1=./$CONFIG_SITE;; |
---|
2141 | */*) ac_site_file1=$CONFIG_SITE;; |
---|
2142 | *) ac_site_file1=./$CONFIG_SITE;; |
---|
2143 | esac |
---|
2144 | elif test "x$prefix" != xNONE; then |
---|
2145 | ac_site_file1=$prefix/share/config.site |
---|
2146 | ac_site_file2=$prefix/etc/config.site |
---|
2147 | else |
---|
2148 | ac_site_file1=$ac_default_prefix/share/config.site |
---|
2149 | ac_site_file2=$ac_default_prefix/etc/config.site |
---|
2150 | fi |
---|
2151 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
---|
2152 | do |
---|
2153 | test "x$ac_site_file" = xNONE && continue |
---|
2154 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
---|
2155 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
---|
2156 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
2157 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
2158 | . "$ac_site_file" \ |
---|
2159 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
2160 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
2161 | as_fn_error $? "failed to load site script $ac_site_file |
---|
2162 | See \`config.log' for more details" "$LINENO" 5; } |
---|
2163 | fi |
---|
2164 | done |
---|
2165 | |
---|
2166 | if test -r "$cache_file"; then |
---|
2167 | # Some versions of bash will fail to source /dev/null (special files |
---|
2168 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
---|
2169 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
---|
2170 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
---|
2171 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
---|
2172 | case $cache_file in |
---|
2173 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
---|
2174 | *) . "./$cache_file";; |
---|
2175 | esac |
---|
2176 | fi |
---|
2177 | else |
---|
2178 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
---|
2179 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
---|
2180 | >$cache_file |
---|
2181 | fi |
---|
2182 | |
---|
2183 | # Check that the precious variables saved in the cache have kept the same |
---|
2184 | # value. |
---|
2185 | ac_cache_corrupted=false |
---|
2186 | for ac_var in $ac_precious_vars; do |
---|
2187 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
2188 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
2189 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
---|
2190 | eval ac_new_val=\$ac_env_${ac_var}_value |
---|
2191 | case $ac_old_set,$ac_new_set in |
---|
2192 | set,) |
---|
2193 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
2194 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
2195 | ac_cache_corrupted=: ;; |
---|
2196 | ,set) |
---|
2197 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
---|
2198 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
2199 | ac_cache_corrupted=: ;; |
---|
2200 | ,);; |
---|
2201 | *) |
---|
2202 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
2203 | # differences in whitespace do not lead to failure. |
---|
2204 | ac_old_val_w=`echo x $ac_old_val` |
---|
2205 | ac_new_val_w=`echo x $ac_new_val` |
---|
2206 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
---|
2207 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
2208 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
2209 | ac_cache_corrupted=: |
---|
2210 | else |
---|
2211 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
---|
2212 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
---|
2213 | eval $ac_var=\$ac_old_val |
---|
2214 | fi |
---|
2215 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
---|
2216 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
---|
2217 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
---|
2218 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
---|
2219 | fi;; |
---|
2220 | esac |
---|
2221 | # Pass precious variables to config.status. |
---|
2222 | if test "$ac_new_set" = set; then |
---|
2223 | case $ac_new_val in |
---|
2224 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
2225 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
2226 | esac |
---|
2227 | case " $ac_configure_args " in |
---|
2228 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
2229 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
---|
2230 | esac |
---|
2231 | fi |
---|
2232 | done |
---|
2233 | if $ac_cache_corrupted; then |
---|
2234 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
2235 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
2236 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
---|
2237 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
2238 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
---|
2239 | fi |
---|
2240 | ## -------------------- ## |
---|
2241 | ## Main body of script. ## |
---|
2242 | ## -------------------- ## |
---|
2243 | |
---|
2244 | ac_ext=c |
---|
2245 | ac_cpp='$CPP $CPPFLAGS' |
---|
2246 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
2247 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
2248 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
2249 | |
---|
2250 | |
---|
2251 | |
---|
2252 | ac_config_headers="$ac_config_headers config.h" |
---|
2253 | |
---|
2254 | |
---|
2255 | am__api_version='1.11' |
---|
2256 | |
---|
2257 | ac_aux_dir= |
---|
2258 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
---|
2259 | if test -f "$ac_dir/install-sh"; then |
---|
2260 | ac_aux_dir=$ac_dir |
---|
2261 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
2262 | break |
---|
2263 | elif test -f "$ac_dir/install.sh"; then |
---|
2264 | ac_aux_dir=$ac_dir |
---|
2265 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
2266 | break |
---|
2267 | elif test -f "$ac_dir/shtool"; then |
---|
2268 | ac_aux_dir=$ac_dir |
---|
2269 | ac_install_sh="$ac_aux_dir/shtool install -c" |
---|
2270 | break |
---|
2271 | fi |
---|
2272 | done |
---|
2273 | if test -z "$ac_aux_dir"; then |
---|
2274 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
---|
2275 | fi |
---|
2276 | |
---|
2277 | # These three variables are undocumented and unsupported, |
---|
2278 | # and are intended to be withdrawn in a future Autoconf release. |
---|
2279 | # They can cause serious problems if a builder's source tree is in a directory |
---|
2280 | # whose full name contains unusual characters. |
---|
2281 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
---|
2282 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
---|
2283 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
---|
2284 | |
---|
2285 | |
---|
2286 | # Find a good install program. We prefer a C program (faster), |
---|
2287 | # so one script is as good as another. But avoid the broken or |
---|
2288 | # incompatible versions: |
---|
2289 | # SysV /etc/install, /usr/sbin/install |
---|
2290 | # SunOS /usr/etc/install |
---|
2291 | # IRIX /sbin/install |
---|
2292 | # AIX /bin/install |
---|
2293 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
2294 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
2295 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
2296 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
2297 | # OS/2's system install, which has a completely different semantic |
---|
2298 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
2299 | # Reject install programs that cannot install multiple files. |
---|
2300 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
---|
2301 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
---|
2302 | if test -z "$INSTALL"; then |
---|
2303 | if ${ac_cv_path_install+:} false; then : |
---|
2304 | $as_echo_n "(cached) " >&6 |
---|
2305 | else |
---|
2306 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2307 | for as_dir in $PATH |
---|
2308 | do |
---|
2309 | IFS=$as_save_IFS |
---|
2310 | test -z "$as_dir" && as_dir=. |
---|
2311 | # Account for people who put trailing slashes in PATH elements. |
---|
2312 | case $as_dir/ in #(( |
---|
2313 | ./ | .// | /[cC]/* | \ |
---|
2314 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
2315 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
---|
2316 | /usr/ucb/* ) ;; |
---|
2317 | *) |
---|
2318 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
2319 | # Don't use installbsd from OSF since it installs stuff as root |
---|
2320 | # by default. |
---|
2321 | for ac_prog in ginstall scoinst install; do |
---|
2322 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2323 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
---|
2324 | if test $ac_prog = install && |
---|
2325 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
2326 | # AIX install. It has an incompatible calling convention. |
---|
2327 | : |
---|
2328 | elif test $ac_prog = install && |
---|
2329 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
2330 | # program-specific install script used by HP pwplus--don't use. |
---|
2331 | : |
---|
2332 | else |
---|
2333 | rm -rf conftest.one conftest.two conftest.dir |
---|
2334 | echo one > conftest.one |
---|
2335 | echo two > conftest.two |
---|
2336 | mkdir conftest.dir |
---|
2337 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
---|
2338 | test -s conftest.one && test -s conftest.two && |
---|
2339 | test -s conftest.dir/conftest.one && |
---|
2340 | test -s conftest.dir/conftest.two |
---|
2341 | then |
---|
2342 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
2343 | break 3 |
---|
2344 | fi |
---|
2345 | fi |
---|
2346 | fi |
---|
2347 | done |
---|
2348 | done |
---|
2349 | ;; |
---|
2350 | esac |
---|
2351 | |
---|
2352 | done |
---|
2353 | IFS=$as_save_IFS |
---|
2354 | |
---|
2355 | rm -rf conftest.one conftest.two conftest.dir |
---|
2356 | |
---|
2357 | fi |
---|
2358 | if test "${ac_cv_path_install+set}" = set; then |
---|
2359 | INSTALL=$ac_cv_path_install |
---|
2360 | else |
---|
2361 | # As a last resort, use the slow shell script. Don't cache a |
---|
2362 | # value for INSTALL within a source directory, because that will |
---|
2363 | # break other packages using the cache if that directory is |
---|
2364 | # removed, or if the value is a relative name. |
---|
2365 | INSTALL=$ac_install_sh |
---|
2366 | fi |
---|
2367 | fi |
---|
2368 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
---|
2369 | $as_echo "$INSTALL" >&6; } |
---|
2370 | |
---|
2371 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
2372 | # It thinks the first close brace ends the variable substitution. |
---|
2373 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
2374 | |
---|
2375 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
2376 | |
---|
2377 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
2378 | |
---|
2379 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
---|
2380 | $as_echo_n "checking whether build environment is sane... " >&6; } |
---|
2381 | # Just in case |
---|
2382 | sleep 1 |
---|
2383 | echo timestamp > conftest.file |
---|
2384 | # Reject unsafe characters in $srcdir or the absolute working directory |
---|
2385 | # name. Accept space and tab only in the latter. |
---|
2386 | am_lf=' |
---|
2387 | ' |
---|
2388 | case `pwd` in |
---|
2389 | *[\\\"\#\$\&\'\`$am_lf]*) |
---|
2390 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
---|
2391 | esac |
---|
2392 | case $srcdir in |
---|
2393 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
---|
2394 | as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
---|
2395 | esac |
---|
2396 | |
---|
2397 | # Do `set' in a subshell so we don't clobber the current shell's |
---|
2398 | # arguments. Must try -L first in case configure is actually a |
---|
2399 | # symlink; some systems play weird games with the mod time of symlinks |
---|
2400 | # (eg FreeBSD returns the mod time of the symlink's containing |
---|
2401 | # directory). |
---|
2402 | if ( |
---|
2403 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
---|
2404 | if test "$*" = "X"; then |
---|
2405 | # -L didn't work. |
---|
2406 | set X `ls -t "$srcdir/configure" conftest.file` |
---|
2407 | fi |
---|
2408 | rm -f conftest.file |
---|
2409 | if test "$*" != "X $srcdir/configure conftest.file" \ |
---|
2410 | && test "$*" != "X conftest.file $srcdir/configure"; then |
---|
2411 | |
---|
2412 | # If neither matched, then we have a broken ls. This can happen |
---|
2413 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
---|
2414 | # broken ls alias from the environment. This has actually |
---|
2415 | # happened. Such a system could not be considered "sane". |
---|
2416 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
---|
2417 | alias in your environment" "$LINENO" 5 |
---|
2418 | fi |
---|
2419 | |
---|
2420 | test "$2" = conftest.file |
---|
2421 | ) |
---|
2422 | then |
---|
2423 | # Ok. |
---|
2424 | : |
---|
2425 | else |
---|
2426 | as_fn_error $? "newly created file is older than distributed files! |
---|
2427 | Check your system clock" "$LINENO" 5 |
---|
2428 | fi |
---|
2429 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
2430 | $as_echo "yes" >&6; } |
---|
2431 | test "$program_prefix" != NONE && |
---|
2432 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
---|
2433 | # Use a double $ so make ignores it. |
---|
2434 | test "$program_suffix" != NONE && |
---|
2435 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
---|
2436 | # Double any \ or $. |
---|
2437 | # By default was `s,x,x', remove it if useless. |
---|
2438 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
---|
2439 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
---|
2440 | |
---|
2441 | # expand $ac_aux_dir to an absolute path |
---|
2442 | am_aux_dir=`cd $ac_aux_dir && pwd` |
---|
2443 | |
---|
2444 | if test x"${MISSING+set}" != xset; then |
---|
2445 | case $am_aux_dir in |
---|
2446 | *\ * | *\ *) |
---|
2447 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
---|
2448 | *) |
---|
2449 | MISSING="\${SHELL} $am_aux_dir/missing" ;; |
---|
2450 | esac |
---|
2451 | fi |
---|
2452 | # Use eval to expand $SHELL |
---|
2453 | if eval "$MISSING --run true"; then |
---|
2454 | am_missing_run="$MISSING --run " |
---|
2455 | else |
---|
2456 | am_missing_run= |
---|
2457 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
---|
2458 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
---|
2459 | fi |
---|
2460 | |
---|
2461 | if test x"${install_sh}" != xset; then |
---|
2462 | case $am_aux_dir in |
---|
2463 | *\ * | *\ *) |
---|
2464 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
---|
2465 | *) |
---|
2466 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
---|
2467 | esac |
---|
2468 | fi |
---|
2469 | |
---|
2470 | # Installed binaries are usually stripped using `strip' when the user |
---|
2471 | # run `make install-strip'. However `strip' might not be the right |
---|
2472 | # tool to use in cross-compilation environments, therefore Automake |
---|
2473 | # will honor the `STRIP' environment variable to overrule this program. |
---|
2474 | if test "$cross_compiling" != no; then |
---|
2475 | if test -n "$ac_tool_prefix"; then |
---|
2476 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
---|
2477 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
---|
2478 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
2479 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2480 | if ${ac_cv_prog_STRIP+:} false; then : |
---|
2481 | $as_echo_n "(cached) " >&6 |
---|
2482 | else |
---|
2483 | if test -n "$STRIP"; then |
---|
2484 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
---|
2485 | else |
---|
2486 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2487 | for as_dir in $PATH |
---|
2488 | do |
---|
2489 | IFS=$as_save_IFS |
---|
2490 | test -z "$as_dir" && as_dir=. |
---|
2491 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2492 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2493 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
---|
2494 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2495 | break 2 |
---|
2496 | fi |
---|
2497 | done |
---|
2498 | done |
---|
2499 | IFS=$as_save_IFS |
---|
2500 | |
---|
2501 | fi |
---|
2502 | fi |
---|
2503 | STRIP=$ac_cv_prog_STRIP |
---|
2504 | if test -n "$STRIP"; then |
---|
2505 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
---|
2506 | $as_echo "$STRIP" >&6; } |
---|
2507 | else |
---|
2508 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
2509 | $as_echo "no" >&6; } |
---|
2510 | fi |
---|
2511 | |
---|
2512 | |
---|
2513 | fi |
---|
2514 | if test -z "$ac_cv_prog_STRIP"; then |
---|
2515 | ac_ct_STRIP=$STRIP |
---|
2516 | # Extract the first word of "strip", so it can be a program name with args. |
---|
2517 | set dummy strip; ac_word=$2 |
---|
2518 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
2519 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2520 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
---|
2521 | $as_echo_n "(cached) " >&6 |
---|
2522 | else |
---|
2523 | if test -n "$ac_ct_STRIP"; then |
---|
2524 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
---|
2525 | else |
---|
2526 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2527 | for as_dir in $PATH |
---|
2528 | do |
---|
2529 | IFS=$as_save_IFS |
---|
2530 | test -z "$as_dir" && as_dir=. |
---|
2531 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2532 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2533 | ac_cv_prog_ac_ct_STRIP="strip" |
---|
2534 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2535 | break 2 |
---|
2536 | fi |
---|
2537 | done |
---|
2538 | done |
---|
2539 | IFS=$as_save_IFS |
---|
2540 | |
---|
2541 | fi |
---|
2542 | fi |
---|
2543 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
---|
2544 | if test -n "$ac_ct_STRIP"; then |
---|
2545 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
---|
2546 | $as_echo "$ac_ct_STRIP" >&6; } |
---|
2547 | else |
---|
2548 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
2549 | $as_echo "no" >&6; } |
---|
2550 | fi |
---|
2551 | |
---|
2552 | if test "x$ac_ct_STRIP" = x; then |
---|
2553 | STRIP=":" |
---|
2554 | else |
---|
2555 | case $cross_compiling:$ac_tool_warned in |
---|
2556 | yes:) |
---|
2557 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
2558 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
2559 | ac_tool_warned=yes ;; |
---|
2560 | esac |
---|
2561 | STRIP=$ac_ct_STRIP |
---|
2562 | fi |
---|
2563 | else |
---|
2564 | STRIP="$ac_cv_prog_STRIP" |
---|
2565 | fi |
---|
2566 | |
---|
2567 | fi |
---|
2568 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
---|
2569 | |
---|
2570 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
---|
2571 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
---|
2572 | if test -z "$MKDIR_P"; then |
---|
2573 | if ${ac_cv_path_mkdir+:} false; then : |
---|
2574 | $as_echo_n "(cached) " >&6 |
---|
2575 | else |
---|
2576 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2577 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
---|
2578 | do |
---|
2579 | IFS=$as_save_IFS |
---|
2580 | test -z "$as_dir" && as_dir=. |
---|
2581 | for ac_prog in mkdir gmkdir; do |
---|
2582 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2583 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
---|
2584 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
---|
2585 | 'mkdir (GNU coreutils) '* | \ |
---|
2586 | 'mkdir (coreutils) '* | \ |
---|
2587 | 'mkdir (fileutils) '4.1*) |
---|
2588 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
---|
2589 | break 3;; |
---|
2590 | esac |
---|
2591 | done |
---|
2592 | done |
---|
2593 | done |
---|
2594 | IFS=$as_save_IFS |
---|
2595 | |
---|
2596 | fi |
---|
2597 | |
---|
2598 | test -d ./--version && rmdir ./--version |
---|
2599 | if test "${ac_cv_path_mkdir+set}" = set; then |
---|
2600 | MKDIR_P="$ac_cv_path_mkdir -p" |
---|
2601 | else |
---|
2602 | # As a last resort, use the slow shell script. Don't cache a |
---|
2603 | # value for MKDIR_P within a source directory, because that will |
---|
2604 | # break other packages using the cache if that directory is |
---|
2605 | # removed, or if the value is a relative name. |
---|
2606 | MKDIR_P="$ac_install_sh -d" |
---|
2607 | fi |
---|
2608 | fi |
---|
2609 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
---|
2610 | $as_echo "$MKDIR_P" >&6; } |
---|
2611 | |
---|
2612 | mkdir_p="$MKDIR_P" |
---|
2613 | case $mkdir_p in |
---|
2614 | [\\/$]* | ?:[\\/]*) ;; |
---|
2615 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
---|
2616 | esac |
---|
2617 | |
---|
2618 | for ac_prog in gawk mawk nawk awk |
---|
2619 | do |
---|
2620 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
2621 | set dummy $ac_prog; ac_word=$2 |
---|
2622 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
2623 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2624 | if ${ac_cv_prog_AWK+:} false; then : |
---|
2625 | $as_echo_n "(cached) " >&6 |
---|
2626 | else |
---|
2627 | if test -n "$AWK"; then |
---|
2628 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
---|
2629 | else |
---|
2630 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2631 | for as_dir in $PATH |
---|
2632 | do |
---|
2633 | IFS=$as_save_IFS |
---|
2634 | test -z "$as_dir" && as_dir=. |
---|
2635 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2636 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2637 | ac_cv_prog_AWK="$ac_prog" |
---|
2638 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2639 | break 2 |
---|
2640 | fi |
---|
2641 | done |
---|
2642 | done |
---|
2643 | IFS=$as_save_IFS |
---|
2644 | |
---|
2645 | fi |
---|
2646 | fi |
---|
2647 | AWK=$ac_cv_prog_AWK |
---|
2648 | if test -n "$AWK"; then |
---|
2649 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
---|
2650 | $as_echo "$AWK" >&6; } |
---|
2651 | else |
---|
2652 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
2653 | $as_echo "no" >&6; } |
---|
2654 | fi |
---|
2655 | |
---|
2656 | |
---|
2657 | test -n "$AWK" && break |
---|
2658 | done |
---|
2659 | |
---|
2660 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
---|
2661 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
---|
2662 | set x ${MAKE-make} |
---|
2663 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
---|
2664 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
---|
2665 | $as_echo_n "(cached) " >&6 |
---|
2666 | else |
---|
2667 | cat >conftest.make <<\_ACEOF |
---|
2668 | SHELL = /bin/sh |
---|
2669 | all: |
---|
2670 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
---|
2671 | _ACEOF |
---|
2672 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
---|
2673 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
---|
2674 | *@@@%%%=?*=@@@%%%*) |
---|
2675 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
---|
2676 | *) |
---|
2677 | eval ac_cv_prog_make_${ac_make}_set=no;; |
---|
2678 | esac |
---|
2679 | rm -f conftest.make |
---|
2680 | fi |
---|
2681 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
---|
2682 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
2683 | $as_echo "yes" >&6; } |
---|
2684 | SET_MAKE= |
---|
2685 | else |
---|
2686 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
2687 | $as_echo "no" >&6; } |
---|
2688 | SET_MAKE="MAKE=${MAKE-make}" |
---|
2689 | fi |
---|
2690 | |
---|
2691 | rm -rf .tst 2>/dev/null |
---|
2692 | mkdir .tst 2>/dev/null |
---|
2693 | if test -d .tst; then |
---|
2694 | am__leading_dot=. |
---|
2695 | else |
---|
2696 | am__leading_dot=_ |
---|
2697 | fi |
---|
2698 | rmdir .tst 2>/dev/null |
---|
2699 | |
---|
2700 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
---|
2701 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
---|
2702 | # is not polluted with repeated "-I." |
---|
2703 | am__isrc=' -I$(srcdir)' |
---|
2704 | # test to see if srcdir already configured |
---|
2705 | if test -f $srcdir/config.status; then |
---|
2706 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
---|
2707 | fi |
---|
2708 | fi |
---|
2709 | |
---|
2710 | # test whether we have cygpath |
---|
2711 | if test -z "$CYGPATH_W"; then |
---|
2712 | if (cygpath --version) >/dev/null 2>/dev/null; then |
---|
2713 | CYGPATH_W='cygpath -w' |
---|
2714 | else |
---|
2715 | CYGPATH_W=echo |
---|
2716 | fi |
---|
2717 | fi |
---|
2718 | |
---|
2719 | |
---|
2720 | # Define the identity of the package. |
---|
2721 | PACKAGE='vine-notify-update' |
---|
2722 | VERSION='0.5' |
---|
2723 | |
---|
2724 | |
---|
2725 | cat >>confdefs.h <<_ACEOF |
---|
2726 | #define PACKAGE "$PACKAGE" |
---|
2727 | _ACEOF |
---|
2728 | |
---|
2729 | |
---|
2730 | cat >>confdefs.h <<_ACEOF |
---|
2731 | #define VERSION "$VERSION" |
---|
2732 | _ACEOF |
---|
2733 | |
---|
2734 | # Some tools Automake needs. |
---|
2735 | |
---|
2736 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
---|
2737 | |
---|
2738 | |
---|
2739 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
---|
2740 | |
---|
2741 | |
---|
2742 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
---|
2743 | |
---|
2744 | |
---|
2745 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
---|
2746 | |
---|
2747 | |
---|
2748 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
---|
2749 | |
---|
2750 | # We need awk for the "check" target. The system "awk" is bad on |
---|
2751 | # some platforms. |
---|
2752 | # Always define AMTAR for backward compatibility. |
---|
2753 | |
---|
2754 | AMTAR=${AMTAR-"${am_missing_run}tar"} |
---|
2755 | |
---|
2756 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
---|
2757 | |
---|
2758 | |
---|
2759 | |
---|
2760 | |
---|
2761 | |
---|
2762 | |
---|
2763 | # Enable silent rules is available |
---|
2764 | # Check whether --enable-silent-rules was given. |
---|
2765 | if test "${enable_silent_rules+set}" = set; then : |
---|
2766 | enableval=$enable_silent_rules; |
---|
2767 | fi |
---|
2768 | |
---|
2769 | case $enable_silent_rules in |
---|
2770 | yes) AM_DEFAULT_VERBOSITY=0;; |
---|
2771 | no) AM_DEFAULT_VERBOSITY=1;; |
---|
2772 | *) AM_DEFAULT_VERBOSITY=0;; |
---|
2773 | esac |
---|
2774 | AM_BACKSLASH='\' |
---|
2775 | |
---|
2776 | |
---|
2777 | |
---|
2778 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
---|
2779 | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
---|
2780 | # Check whether --enable-maintainer-mode was given. |
---|
2781 | if test "${enable_maintainer_mode+set}" = set; then : |
---|
2782 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
---|
2783 | else |
---|
2784 | USE_MAINTAINER_MODE=no |
---|
2785 | fi |
---|
2786 | |
---|
2787 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
---|
2788 | $as_echo "$USE_MAINTAINER_MODE" >&6; } |
---|
2789 | if test $USE_MAINTAINER_MODE = yes; then |
---|
2790 | MAINTAINER_MODE_TRUE= |
---|
2791 | MAINTAINER_MODE_FALSE='#' |
---|
2792 | else |
---|
2793 | MAINTAINER_MODE_TRUE='#' |
---|
2794 | MAINTAINER_MODE_FALSE= |
---|
2795 | fi |
---|
2796 | |
---|
2797 | MAINT=$MAINTAINER_MODE_TRUE |
---|
2798 | |
---|
2799 | |
---|
2800 | |
---|
2801 | ac_ext=c |
---|
2802 | ac_cpp='$CPP $CPPFLAGS' |
---|
2803 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
2804 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
2805 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
2806 | if test -n "$ac_tool_prefix"; then |
---|
2807 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
---|
2808 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
---|
2809 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
2810 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2811 | if ${ac_cv_prog_CC+:} false; then : |
---|
2812 | $as_echo_n "(cached) " >&6 |
---|
2813 | else |
---|
2814 | if test -n "$CC"; then |
---|
2815 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2816 | else |
---|
2817 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2818 | for as_dir in $PATH |
---|
2819 | do |
---|
2820 | IFS=$as_save_IFS |
---|
2821 | test -z "$as_dir" && as_dir=. |
---|
2822 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2823 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2824 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
---|
2825 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2826 | break 2 |
---|
2827 | fi |
---|
2828 | done |
---|
2829 | done |
---|
2830 | IFS=$as_save_IFS |
---|
2831 | |
---|
2832 | fi |
---|
2833 | fi |
---|
2834 | CC=$ac_cv_prog_CC |
---|
2835 | if test -n "$CC"; then |
---|
2836 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
2837 | $as_echo "$CC" >&6; } |
---|
2838 | else |
---|
2839 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
2840 | $as_echo "no" >&6; } |
---|
2841 | fi |
---|
2842 | |
---|
2843 | |
---|
2844 | fi |
---|
2845 | if test -z "$ac_cv_prog_CC"; then |
---|
2846 | ac_ct_CC=$CC |
---|
2847 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
2848 | set dummy gcc; ac_word=$2 |
---|
2849 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
2850 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2851 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
---|
2852 | $as_echo_n "(cached) " >&6 |
---|
2853 | else |
---|
2854 | if test -n "$ac_ct_CC"; then |
---|
2855 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
2856 | else |
---|
2857 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2858 | for as_dir in $PATH |
---|
2859 | do |
---|
2860 | IFS=$as_save_IFS |
---|
2861 | test -z "$as_dir" && as_dir=. |
---|
2862 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2863 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2864 | ac_cv_prog_ac_ct_CC="gcc" |
---|
2865 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2866 | break 2 |
---|
2867 | fi |
---|
2868 | done |
---|
2869 | done |
---|
2870 | IFS=$as_save_IFS |
---|
2871 | |
---|
2872 | fi |
---|
2873 | fi |
---|
2874 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
2875 | if test -n "$ac_ct_CC"; then |
---|
2876 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
---|
2877 | $as_echo "$ac_ct_CC" >&6; } |
---|
2878 | else |
---|
2879 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
2880 | $as_echo "no" >&6; } |
---|
2881 | fi |
---|
2882 | |
---|
2883 | if test "x$ac_ct_CC" = x; then |
---|
2884 | CC="" |
---|
2885 | else |
---|
2886 | case $cross_compiling:$ac_tool_warned in |
---|
2887 | yes:) |
---|
2888 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
2889 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
2890 | ac_tool_warned=yes ;; |
---|
2891 | esac |
---|
2892 | CC=$ac_ct_CC |
---|
2893 | fi |
---|
2894 | else |
---|
2895 | CC="$ac_cv_prog_CC" |
---|
2896 | fi |
---|
2897 | |
---|
2898 | if test -z "$CC"; then |
---|
2899 | if test -n "$ac_tool_prefix"; then |
---|
2900 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
---|
2901 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
---|
2902 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
2903 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2904 | if ${ac_cv_prog_CC+:} false; then : |
---|
2905 | $as_echo_n "(cached) " >&6 |
---|
2906 | else |
---|
2907 | if test -n "$CC"; then |
---|
2908 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2909 | else |
---|
2910 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2911 | for as_dir in $PATH |
---|
2912 | do |
---|
2913 | IFS=$as_save_IFS |
---|
2914 | test -z "$as_dir" && as_dir=. |
---|
2915 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2916 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2917 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
---|
2918 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2919 | break 2 |
---|
2920 | fi |
---|
2921 | done |
---|
2922 | done |
---|
2923 | IFS=$as_save_IFS |
---|
2924 | |
---|
2925 | fi |
---|
2926 | fi |
---|
2927 | CC=$ac_cv_prog_CC |
---|
2928 | if test -n "$CC"; then |
---|
2929 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
2930 | $as_echo "$CC" >&6; } |
---|
2931 | else |
---|
2932 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
2933 | $as_echo "no" >&6; } |
---|
2934 | fi |
---|
2935 | |
---|
2936 | |
---|
2937 | fi |
---|
2938 | fi |
---|
2939 | if test -z "$CC"; then |
---|
2940 | # Extract the first word of "cc", so it can be a program name with args. |
---|
2941 | set dummy cc; ac_word=$2 |
---|
2942 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
2943 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2944 | if ${ac_cv_prog_CC+:} false; then : |
---|
2945 | $as_echo_n "(cached) " >&6 |
---|
2946 | else |
---|
2947 | if test -n "$CC"; then |
---|
2948 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2949 | else |
---|
2950 | ac_prog_rejected=no |
---|
2951 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2952 | for as_dir in $PATH |
---|
2953 | do |
---|
2954 | IFS=$as_save_IFS |
---|
2955 | test -z "$as_dir" && as_dir=. |
---|
2956 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2957 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2958 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
2959 | ac_prog_rejected=yes |
---|
2960 | continue |
---|
2961 | fi |
---|
2962 | ac_cv_prog_CC="cc" |
---|
2963 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2964 | break 2 |
---|
2965 | fi |
---|
2966 | done |
---|
2967 | done |
---|
2968 | IFS=$as_save_IFS |
---|
2969 | |
---|
2970 | if test $ac_prog_rejected = yes; then |
---|
2971 | # We found a bogon in the path, so make sure we never use it. |
---|
2972 | set dummy $ac_cv_prog_CC |
---|
2973 | shift |
---|
2974 | if test $# != 0; then |
---|
2975 | # We chose a different compiler from the bogus one. |
---|
2976 | # However, it has the same basename, so the bogon will be chosen |
---|
2977 | # first if we set CC to just the basename; use the full file name. |
---|
2978 | shift |
---|
2979 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
2980 | fi |
---|
2981 | fi |
---|
2982 | fi |
---|
2983 | fi |
---|
2984 | CC=$ac_cv_prog_CC |
---|
2985 | if test -n "$CC"; then |
---|
2986 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
2987 | $as_echo "$CC" >&6; } |
---|
2988 | else |
---|
2989 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
2990 | $as_echo "no" >&6; } |
---|
2991 | fi |
---|
2992 | |
---|
2993 | |
---|
2994 | fi |
---|
2995 | if test -z "$CC"; then |
---|
2996 | if test -n "$ac_tool_prefix"; then |
---|
2997 | for ac_prog in cl.exe |
---|
2998 | do |
---|
2999 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
3000 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
3001 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
3002 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
3003 | if ${ac_cv_prog_CC+:} false; then : |
---|
3004 | $as_echo_n "(cached) " >&6 |
---|
3005 | else |
---|
3006 | if test -n "$CC"; then |
---|
3007 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
3008 | else |
---|
3009 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3010 | for as_dir in $PATH |
---|
3011 | do |
---|
3012 | IFS=$as_save_IFS |
---|
3013 | test -z "$as_dir" && as_dir=. |
---|
3014 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3015 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
3016 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
---|
3017 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3018 | break 2 |
---|
3019 | fi |
---|
3020 | done |
---|
3021 | done |
---|
3022 | IFS=$as_save_IFS |
---|
3023 | |
---|
3024 | fi |
---|
3025 | fi |
---|
3026 | CC=$ac_cv_prog_CC |
---|
3027 | if test -n "$CC"; then |
---|
3028 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
3029 | $as_echo "$CC" >&6; } |
---|
3030 | else |
---|
3031 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
3032 | $as_echo "no" >&6; } |
---|
3033 | fi |
---|
3034 | |
---|
3035 | |
---|
3036 | test -n "$CC" && break |
---|
3037 | done |
---|
3038 | fi |
---|
3039 | if test -z "$CC"; then |
---|
3040 | ac_ct_CC=$CC |
---|
3041 | for ac_prog in cl.exe |
---|
3042 | do |
---|
3043 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
3044 | set dummy $ac_prog; ac_word=$2 |
---|
3045 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
3046 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
3047 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
---|
3048 | $as_echo_n "(cached) " >&6 |
---|
3049 | else |
---|
3050 | if test -n "$ac_ct_CC"; then |
---|
3051 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
3052 | else |
---|
3053 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3054 | for as_dir in $PATH |
---|
3055 | do |
---|
3056 | IFS=$as_save_IFS |
---|
3057 | test -z "$as_dir" && as_dir=. |
---|
3058 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3059 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
3060 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
3061 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3062 | break 2 |
---|
3063 | fi |
---|
3064 | done |
---|
3065 | done |
---|
3066 | IFS=$as_save_IFS |
---|
3067 | |
---|
3068 | fi |
---|
3069 | fi |
---|
3070 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
3071 | if test -n "$ac_ct_CC"; then |
---|
3072 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
---|
3073 | $as_echo "$ac_ct_CC" >&6; } |
---|
3074 | else |
---|
3075 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
3076 | $as_echo "no" >&6; } |
---|
3077 | fi |
---|
3078 | |
---|
3079 | |
---|
3080 | test -n "$ac_ct_CC" && break |
---|
3081 | done |
---|
3082 | |
---|
3083 | if test "x$ac_ct_CC" = x; then |
---|
3084 | CC="" |
---|
3085 | else |
---|
3086 | case $cross_compiling:$ac_tool_warned in |
---|
3087 | yes:) |
---|
3088 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
3089 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
3090 | ac_tool_warned=yes ;; |
---|
3091 | esac |
---|
3092 | CC=$ac_ct_CC |
---|
3093 | fi |
---|
3094 | fi |
---|
3095 | |
---|
3096 | fi |
---|
3097 | |
---|
3098 | |
---|
3099 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
3100 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
3101 | as_fn_error $? "no acceptable C compiler found in \$PATH |
---|
3102 | See \`config.log' for more details" "$LINENO" 5; } |
---|
3103 | |
---|
3104 | # Provide some information about the compiler. |
---|
3105 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
---|
3106 | set X $ac_compile |
---|
3107 | ac_compiler=$2 |
---|
3108 | for ac_option in --version -v -V -qversion; do |
---|
3109 | { { ac_try="$ac_compiler $ac_option >&5" |
---|
3110 | case "(($ac_try" in |
---|
3111 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3112 | *) ac_try_echo=$ac_try;; |
---|
3113 | esac |
---|
3114 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
3115 | $as_echo "$ac_try_echo"; } >&5 |
---|
3116 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
---|
3117 | ac_status=$? |
---|
3118 | if test -s conftest.err; then |
---|
3119 | sed '10a\ |
---|
3120 | ... rest of stderr output deleted ... |
---|
3121 | 10q' conftest.err >conftest.er1 |
---|
3122 | cat conftest.er1 >&5 |
---|
3123 | fi |
---|
3124 | rm -f conftest.er1 conftest.err |
---|
3125 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
3126 | test $ac_status = 0; } |
---|
3127 | done |
---|
3128 | |
---|
3129 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3130 | /* end confdefs.h. */ |
---|
3131 | |
---|
3132 | int |
---|
3133 | main () |
---|
3134 | { |
---|
3135 | |
---|
3136 | ; |
---|
3137 | return 0; |
---|
3138 | } |
---|
3139 | _ACEOF |
---|
3140 | ac_clean_files_save=$ac_clean_files |
---|
3141 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
---|
3142 | # Try to create an executable without -o first, disregard a.out. |
---|
3143 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
3144 | # of exeext. |
---|
3145 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
---|
3146 | $as_echo_n "checking whether the C compiler works... " >&6; } |
---|
3147 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
3148 | |
---|
3149 | # The possible output files: |
---|
3150 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
---|
3151 | |
---|
3152 | ac_rmfiles= |
---|
3153 | for ac_file in $ac_files |
---|
3154 | do |
---|
3155 | case $ac_file in |
---|
3156 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
---|
3157 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
---|
3158 | esac |
---|
3159 | done |
---|
3160 | rm -f $ac_rmfiles |
---|
3161 | |
---|
3162 | if { { ac_try="$ac_link_default" |
---|
3163 | case "(($ac_try" in |
---|
3164 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3165 | *) ac_try_echo=$ac_try;; |
---|
3166 | esac |
---|
3167 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
3168 | $as_echo "$ac_try_echo"; } >&5 |
---|
3169 | (eval "$ac_link_default") 2>&5 |
---|
3170 | ac_status=$? |
---|
3171 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
3172 | test $ac_status = 0; }; then : |
---|
3173 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
---|
3174 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
---|
3175 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
---|
3176 | # so that the user can short-circuit this test for compilers unknown to |
---|
3177 | # Autoconf. |
---|
3178 | for ac_file in $ac_files '' |
---|
3179 | do |
---|
3180 | test -f "$ac_file" || continue |
---|
3181 | case $ac_file in |
---|
3182 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
---|
3183 | ;; |
---|
3184 | [ab].out ) |
---|
3185 | # We found the default executable, but exeext='' is most |
---|
3186 | # certainly right. |
---|
3187 | break;; |
---|
3188 | *.* ) |
---|
3189 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
---|
3190 | then :; else |
---|
3191 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
3192 | fi |
---|
3193 | # We set ac_cv_exeext here because the later test for it is not |
---|
3194 | # safe: cross compilers may not add the suffix if given an `-o' |
---|
3195 | # argument, so we may need to know it at that point already. |
---|
3196 | # Even if this section looks crufty: it has the advantage of |
---|
3197 | # actually working. |
---|
3198 | break;; |
---|
3199 | * ) |
---|
3200 | break;; |
---|
3201 | esac |
---|
3202 | done |
---|
3203 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
---|
3204 | |
---|
3205 | else |
---|
3206 | ac_file='' |
---|
3207 | fi |
---|
3208 | if test -z "$ac_file"; then : |
---|
3209 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
3210 | $as_echo "no" >&6; } |
---|
3211 | $as_echo "$as_me: failed program was:" >&5 |
---|
3212 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3213 | |
---|
3214 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
3215 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
3216 | as_fn_error 77 "C compiler cannot create executables |
---|
3217 | See \`config.log' for more details" "$LINENO" 5; } |
---|
3218 | else |
---|
3219 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
3220 | $as_echo "yes" >&6; } |
---|
3221 | fi |
---|
3222 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
---|
3223 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
---|
3224 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
---|
3225 | $as_echo "$ac_file" >&6; } |
---|
3226 | ac_exeext=$ac_cv_exeext |
---|
3227 | |
---|
3228 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
---|
3229 | ac_clean_files=$ac_clean_files_save |
---|
3230 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
---|
3231 | $as_echo_n "checking for suffix of executables... " >&6; } |
---|
3232 | if { { ac_try="$ac_link" |
---|
3233 | case "(($ac_try" in |
---|
3234 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3235 | *) ac_try_echo=$ac_try;; |
---|
3236 | esac |
---|
3237 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
3238 | $as_echo "$ac_try_echo"; } >&5 |
---|
3239 | (eval "$ac_link") 2>&5 |
---|
3240 | ac_status=$? |
---|
3241 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
3242 | test $ac_status = 0; }; then : |
---|
3243 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
3244 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
3245 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
3246 | # `rm'. |
---|
3247 | for ac_file in conftest.exe conftest conftest.*; do |
---|
3248 | test -f "$ac_file" || continue |
---|
3249 | case $ac_file in |
---|
3250 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
---|
3251 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
3252 | break;; |
---|
3253 | * ) break;; |
---|
3254 | esac |
---|
3255 | done |
---|
3256 | else |
---|
3257 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
3258 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
3259 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
---|
3260 | See \`config.log' for more details" "$LINENO" 5; } |
---|
3261 | fi |
---|
3262 | rm -f conftest conftest$ac_cv_exeext |
---|
3263 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
---|
3264 | $as_echo "$ac_cv_exeext" >&6; } |
---|
3265 | |
---|
3266 | rm -f conftest.$ac_ext |
---|
3267 | EXEEXT=$ac_cv_exeext |
---|
3268 | ac_exeext=$EXEEXT |
---|
3269 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3270 | /* end confdefs.h. */ |
---|
3271 | #include <stdio.h> |
---|
3272 | int |
---|
3273 | main () |
---|
3274 | { |
---|
3275 | FILE *f = fopen ("conftest.out", "w"); |
---|
3276 | return ferror (f) || fclose (f) != 0; |
---|
3277 | |
---|
3278 | ; |
---|
3279 | return 0; |
---|
3280 | } |
---|
3281 | _ACEOF |
---|
3282 | ac_clean_files="$ac_clean_files conftest.out" |
---|
3283 | # Check that the compiler produces executables we can run. If not, either |
---|
3284 | # the compiler is broken, or we cross compile. |
---|
3285 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
---|
3286 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
---|
3287 | if test "$cross_compiling" != yes; then |
---|
3288 | { { ac_try="$ac_link" |
---|
3289 | case "(($ac_try" in |
---|
3290 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3291 | *) ac_try_echo=$ac_try;; |
---|
3292 | esac |
---|
3293 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
3294 | $as_echo "$ac_try_echo"; } >&5 |
---|
3295 | (eval "$ac_link") 2>&5 |
---|
3296 | ac_status=$? |
---|
3297 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
3298 | test $ac_status = 0; } |
---|
3299 | if { ac_try='./conftest$ac_cv_exeext' |
---|
3300 | { { case "(($ac_try" in |
---|
3301 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3302 | *) ac_try_echo=$ac_try;; |
---|
3303 | esac |
---|
3304 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
3305 | $as_echo "$ac_try_echo"; } >&5 |
---|
3306 | (eval "$ac_try") 2>&5 |
---|
3307 | ac_status=$? |
---|
3308 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
3309 | test $ac_status = 0; }; }; then |
---|
3310 | cross_compiling=no |
---|
3311 | else |
---|
3312 | if test "$cross_compiling" = maybe; then |
---|
3313 | cross_compiling=yes |
---|
3314 | else |
---|
3315 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
3316 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
3317 | as_fn_error $? "cannot run C compiled programs. |
---|
3318 | If you meant to cross compile, use \`--host'. |
---|
3319 | See \`config.log' for more details" "$LINENO" 5; } |
---|
3320 | fi |
---|
3321 | fi |
---|
3322 | fi |
---|
3323 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
---|
3324 | $as_echo "$cross_compiling" >&6; } |
---|
3325 | |
---|
3326 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
---|
3327 | ac_clean_files=$ac_clean_files_save |
---|
3328 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
---|
3329 | $as_echo_n "checking for suffix of object files... " >&6; } |
---|
3330 | if ${ac_cv_objext+:} false; then : |
---|
3331 | $as_echo_n "(cached) " >&6 |
---|
3332 | else |
---|
3333 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3334 | /* end confdefs.h. */ |
---|
3335 | |
---|
3336 | int |
---|
3337 | main () |
---|
3338 | { |
---|
3339 | |
---|
3340 | ; |
---|
3341 | return 0; |
---|
3342 | } |
---|
3343 | _ACEOF |
---|
3344 | rm -f conftest.o conftest.obj |
---|
3345 | if { { ac_try="$ac_compile" |
---|
3346 | case "(($ac_try" in |
---|
3347 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3348 | *) ac_try_echo=$ac_try;; |
---|
3349 | esac |
---|
3350 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
3351 | $as_echo "$ac_try_echo"; } >&5 |
---|
3352 | (eval "$ac_compile") 2>&5 |
---|
3353 | ac_status=$? |
---|
3354 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
3355 | test $ac_status = 0; }; then : |
---|
3356 | for ac_file in conftest.o conftest.obj conftest.*; do |
---|
3357 | test -f "$ac_file" || continue; |
---|
3358 | case $ac_file in |
---|
3359 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
---|
3360 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
3361 | break;; |
---|
3362 | esac |
---|
3363 | done |
---|
3364 | else |
---|
3365 | $as_echo "$as_me: failed program was:" >&5 |
---|
3366 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3367 | |
---|
3368 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
3369 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
3370 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
---|
3371 | See \`config.log' for more details" "$LINENO" 5; } |
---|
3372 | fi |
---|
3373 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
3374 | fi |
---|
3375 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
---|
3376 | $as_echo "$ac_cv_objext" >&6; } |
---|
3377 | OBJEXT=$ac_cv_objext |
---|
3378 | ac_objext=$OBJEXT |
---|
3379 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
---|
3380 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
---|
3381 | if ${ac_cv_c_compiler_gnu+:} false; then : |
---|
3382 | $as_echo_n "(cached) " >&6 |
---|
3383 | else |
---|
3384 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3385 | /* end confdefs.h. */ |
---|
3386 | |
---|
3387 | int |
---|
3388 | main () |
---|
3389 | { |
---|
3390 | #ifndef __GNUC__ |
---|
3391 | choke me |
---|
3392 | #endif |
---|
3393 | |
---|
3394 | ; |
---|
3395 | return 0; |
---|
3396 | } |
---|
3397 | _ACEOF |
---|
3398 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
3399 | ac_compiler_gnu=yes |
---|
3400 | else |
---|
3401 | ac_compiler_gnu=no |
---|
3402 | fi |
---|
3403 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3404 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
3405 | |
---|
3406 | fi |
---|
3407 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
---|
3408 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
---|
3409 | if test $ac_compiler_gnu = yes; then |
---|
3410 | GCC=yes |
---|
3411 | else |
---|
3412 | GCC= |
---|
3413 | fi |
---|
3414 | ac_test_CFLAGS=${CFLAGS+set} |
---|
3415 | ac_save_CFLAGS=$CFLAGS |
---|
3416 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
---|
3417 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
---|
3418 | if ${ac_cv_prog_cc_g+:} false; then : |
---|
3419 | $as_echo_n "(cached) " >&6 |
---|
3420 | else |
---|
3421 | ac_save_c_werror_flag=$ac_c_werror_flag |
---|
3422 | ac_c_werror_flag=yes |
---|
3423 | ac_cv_prog_cc_g=no |
---|
3424 | CFLAGS="-g" |
---|
3425 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3426 | /* end confdefs.h. */ |
---|
3427 | |
---|
3428 | int |
---|
3429 | main () |
---|
3430 | { |
---|
3431 | |
---|
3432 | ; |
---|
3433 | return 0; |
---|
3434 | } |
---|
3435 | _ACEOF |
---|
3436 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
3437 | ac_cv_prog_cc_g=yes |
---|
3438 | else |
---|
3439 | CFLAGS="" |
---|
3440 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3441 | /* end confdefs.h. */ |
---|
3442 | |
---|
3443 | int |
---|
3444 | main () |
---|
3445 | { |
---|
3446 | |
---|
3447 | ; |
---|
3448 | return 0; |
---|
3449 | } |
---|
3450 | _ACEOF |
---|
3451 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
3452 | |
---|
3453 | else |
---|
3454 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
3455 | CFLAGS="-g" |
---|
3456 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3457 | /* end confdefs.h. */ |
---|
3458 | |
---|
3459 | int |
---|
3460 | main () |
---|
3461 | { |
---|
3462 | |
---|
3463 | ; |
---|
3464 | return 0; |
---|
3465 | } |
---|
3466 | _ACEOF |
---|
3467 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
3468 | ac_cv_prog_cc_g=yes |
---|
3469 | fi |
---|
3470 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3471 | fi |
---|
3472 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3473 | fi |
---|
3474 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3475 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
3476 | fi |
---|
3477 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
---|
3478 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
---|
3479 | if test "$ac_test_CFLAGS" = set; then |
---|
3480 | CFLAGS=$ac_save_CFLAGS |
---|
3481 | elif test $ac_cv_prog_cc_g = yes; then |
---|
3482 | if test "$GCC" = yes; then |
---|
3483 | CFLAGS="-g -O2" |
---|
3484 | else |
---|
3485 | CFLAGS="-g" |
---|
3486 | fi |
---|
3487 | else |
---|
3488 | if test "$GCC" = yes; then |
---|
3489 | CFLAGS="-O2" |
---|
3490 | else |
---|
3491 | CFLAGS= |
---|
3492 | fi |
---|
3493 | fi |
---|
3494 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
---|
3495 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
---|
3496 | if ${ac_cv_prog_cc_c89+:} false; then : |
---|
3497 | $as_echo_n "(cached) " >&6 |
---|
3498 | else |
---|
3499 | ac_cv_prog_cc_c89=no |
---|
3500 | ac_save_CC=$CC |
---|
3501 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3502 | /* end confdefs.h. */ |
---|
3503 | #include <stdarg.h> |
---|
3504 | #include <stdio.h> |
---|
3505 | #include <sys/types.h> |
---|
3506 | #include <sys/stat.h> |
---|
3507 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
3508 | struct buf { int x; }; |
---|
3509 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
3510 | static char *e (p, i) |
---|
3511 | char **p; |
---|
3512 | int i; |
---|
3513 | { |
---|
3514 | return p[i]; |
---|
3515 | } |
---|
3516 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
3517 | { |
---|
3518 | char *s; |
---|
3519 | va_list v; |
---|
3520 | va_start (v,p); |
---|
3521 | s = g (p, va_arg (v,int)); |
---|
3522 | va_end (v); |
---|
3523 | return s; |
---|
3524 | } |
---|
3525 | |
---|
3526 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
3527 | function prototypes and stuff, but not '\xHH' hex character constants. |
---|
3528 | These don't provoke an error unfortunately, instead are silently treated |
---|
3529 | as 'x'. The following induces an error, until -std is added to get |
---|
3530 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
---|
3531 | array size at least. It's necessary to write '\x00'==0 to get something |
---|
3532 | that's true only with -std. */ |
---|
3533 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
3534 | |
---|
3535 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
---|
3536 | inside strings and character constants. */ |
---|
3537 | #define FOO(x) 'x' |
---|
3538 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
---|
3539 | |
---|
3540 | int test (int i, double x); |
---|
3541 | struct s1 {int (*f) (int a);}; |
---|
3542 | struct s2 {int (*f) (double a);}; |
---|
3543 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
3544 | int argc; |
---|
3545 | char **argv; |
---|
3546 | int |
---|
3547 | main () |
---|
3548 | { |
---|
3549 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
3550 | ; |
---|
3551 | return 0; |
---|
3552 | } |
---|
3553 | _ACEOF |
---|
3554 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
---|
3555 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
3556 | do |
---|
3557 | CC="$ac_save_CC $ac_arg" |
---|
3558 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
3559 | ac_cv_prog_cc_c89=$ac_arg |
---|
3560 | fi |
---|
3561 | rm -f core conftest.err conftest.$ac_objext |
---|
3562 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
---|
3563 | done |
---|
3564 | rm -f conftest.$ac_ext |
---|
3565 | CC=$ac_save_CC |
---|
3566 | |
---|
3567 | fi |
---|
3568 | # AC_CACHE_VAL |
---|
3569 | case "x$ac_cv_prog_cc_c89" in |
---|
3570 | x) |
---|
3571 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
---|
3572 | $as_echo "none needed" >&6; } ;; |
---|
3573 | xno) |
---|
3574 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
---|
3575 | $as_echo "unsupported" >&6; } ;; |
---|
3576 | *) |
---|
3577 | CC="$CC $ac_cv_prog_cc_c89" |
---|
3578 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
---|
3579 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
---|
3580 | esac |
---|
3581 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
---|
3582 | |
---|
3583 | fi |
---|
3584 | |
---|
3585 | ac_ext=c |
---|
3586 | ac_cpp='$CPP $CPPFLAGS' |
---|
3587 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3588 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3589 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3590 | DEPDIR="${am__leading_dot}deps" |
---|
3591 | |
---|
3592 | ac_config_commands="$ac_config_commands depfiles" |
---|
3593 | |
---|
3594 | |
---|
3595 | am_make=${MAKE-make} |
---|
3596 | cat > confinc << 'END' |
---|
3597 | am__doit: |
---|
3598 | @echo this is the am__doit target |
---|
3599 | .PHONY: am__doit |
---|
3600 | END |
---|
3601 | # If we don't find an include directive, just comment out the code. |
---|
3602 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
---|
3603 | $as_echo_n "checking for style of include used by $am_make... " >&6; } |
---|
3604 | am__include="#" |
---|
3605 | am__quote= |
---|
3606 | _am_result=none |
---|
3607 | # First try GNU make style include. |
---|
3608 | echo "include confinc" > confmf |
---|
3609 | # Ignore all kinds of additional output from `make'. |
---|
3610 | case `$am_make -s -f confmf 2> /dev/null` in #( |
---|
3611 | *the\ am__doit\ target*) |
---|
3612 | am__include=include |
---|
3613 | am__quote= |
---|
3614 | _am_result=GNU |
---|
3615 | ;; |
---|
3616 | esac |
---|
3617 | # Now try BSD make style include. |
---|
3618 | if test "$am__include" = "#"; then |
---|
3619 | echo '.include "confinc"' > confmf |
---|
3620 | case `$am_make -s -f confmf 2> /dev/null` in #( |
---|
3621 | *the\ am__doit\ target*) |
---|
3622 | am__include=.include |
---|
3623 | am__quote="\"" |
---|
3624 | _am_result=BSD |
---|
3625 | ;; |
---|
3626 | esac |
---|
3627 | fi |
---|
3628 | |
---|
3629 | |
---|
3630 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
---|
3631 | $as_echo "$_am_result" >&6; } |
---|
3632 | rm -f confinc confmf |
---|
3633 | |
---|
3634 | # Check whether --enable-dependency-tracking was given. |
---|
3635 | if test "${enable_dependency_tracking+set}" = set; then : |
---|
3636 | enableval=$enable_dependency_tracking; |
---|
3637 | fi |
---|
3638 | |
---|
3639 | if test "x$enable_dependency_tracking" != xno; then |
---|
3640 | am_depcomp="$ac_aux_dir/depcomp" |
---|
3641 | AMDEPBACKSLASH='\' |
---|
3642 | fi |
---|
3643 | if test "x$enable_dependency_tracking" != xno; then |
---|
3644 | AMDEP_TRUE= |
---|
3645 | AMDEP_FALSE='#' |
---|
3646 | else |
---|
3647 | AMDEP_TRUE='#' |
---|
3648 | AMDEP_FALSE= |
---|
3649 | fi |
---|
3650 | |
---|
3651 | |
---|
3652 | |
---|
3653 | depcc="$CC" am_compiler_list= |
---|
3654 | |
---|
3655 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
---|
3656 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
---|
3657 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
---|
3658 | $as_echo_n "(cached) " >&6 |
---|
3659 | else |
---|
3660 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
---|
3661 | # We make a subdir and do the tests there. Otherwise we can end up |
---|
3662 | # making bogus files that we don't know about and never remove. For |
---|
3663 | # instance it was reported that on HP-UX the gcc test will end up |
---|
3664 | # making a dummy file named `D' -- because `-MD' means `put the output |
---|
3665 | # in D'. |
---|
3666 | mkdir conftest.dir |
---|
3667 | # Copy depcomp to subdir because otherwise we won't find it if we're |
---|
3668 | # using a relative directory. |
---|
3669 | cp "$am_depcomp" conftest.dir |
---|
3670 | cd conftest.dir |
---|
3671 | # We will build objects and dependencies in a subdirectory because |
---|
3672 | # it helps to detect inapplicable dependency modes. For instance |
---|
3673 | # both Tru64's cc and ICC support -MD to output dependencies as a |
---|
3674 | # side effect of compilation, but ICC will put the dependencies in |
---|
3675 | # the current directory while Tru64 will put them in the object |
---|
3676 | # directory. |
---|
3677 | mkdir sub |
---|
3678 | |
---|
3679 | am_cv_CC_dependencies_compiler_type=none |
---|
3680 | if test "$am_compiler_list" = ""; then |
---|
3681 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
---|
3682 | fi |
---|
3683 | am__universal=false |
---|
3684 | case " $depcc " in #( |
---|
3685 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
---|
3686 | esac |
---|
3687 | |
---|
3688 | for depmode in $am_compiler_list; do |
---|
3689 | # Setup a source with many dependencies, because some compilers |
---|
3690 | # like to wrap large dependency lists on column 80 (with \), and |
---|
3691 | # we should not choose a depcomp mode which is confused by this. |
---|
3692 | # |
---|
3693 | # We need to recreate these files for each test, as the compiler may |
---|
3694 | # overwrite some of them when testing with obscure command lines. |
---|
3695 | # This happens at least with the AIX C compiler. |
---|
3696 | : > sub/conftest.c |
---|
3697 | for i in 1 2 3 4 5 6; do |
---|
3698 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
---|
3699 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
---|
3700 | # Solaris 8's {/usr,}/bin/sh. |
---|
3701 | touch sub/conftst$i.h |
---|
3702 | done |
---|
3703 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
---|
3704 | |
---|
3705 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
---|
3706 | # mode. It turns out that the SunPro C++ compiler does not properly |
---|
3707 | # handle `-M -o', and we need to detect this. Also, some Intel |
---|
3708 | # versions had trouble with output in subdirs |
---|
3709 | am__obj=sub/conftest.${OBJEXT-o} |
---|
3710 | am__minus_obj="-o $am__obj" |
---|
3711 | case $depmode in |
---|
3712 | gcc) |
---|
3713 | # This depmode causes a compiler race in universal mode. |
---|
3714 | test "$am__universal" = false || continue |
---|
3715 | ;; |
---|
3716 | nosideeffect) |
---|
3717 | # after this tag, mechanisms are not by side-effect, so they'll |
---|
3718 | # only be used when explicitly requested |
---|
3719 | if test "x$enable_dependency_tracking" = xyes; then |
---|
3720 | continue |
---|
3721 | else |
---|
3722 | break |
---|
3723 | fi |
---|
3724 | ;; |
---|
3725 | msvisualcpp | msvcmsys) |
---|
3726 | # This compiler won't grok `-c -o', but also, the minuso test has |
---|
3727 | # not run yet. These depmodes are late enough in the game, and |
---|
3728 | # so weak that their functioning should not be impacted. |
---|
3729 | am__obj=conftest.${OBJEXT-o} |
---|
3730 | am__minus_obj= |
---|
3731 | ;; |
---|
3732 | none) break ;; |
---|
3733 | esac |
---|
3734 | if depmode=$depmode \ |
---|
3735 | source=sub/conftest.c object=$am__obj \ |
---|
3736 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
---|
3737 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
---|
3738 | >/dev/null 2>conftest.err && |
---|
3739 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
---|
3740 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
---|
3741 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
---|
3742 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
---|
3743 | # icc doesn't choke on unknown options, it will just issue warnings |
---|
3744 | # or remarks (even with -Werror). So we grep stderr for any message |
---|
3745 | # that says an option was ignored or not supported. |
---|
3746 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
---|
3747 | # icc: Command line warning: ignoring option '-M'; no argument required |
---|
3748 | # The diagnosis changed in icc 8.0: |
---|
3749 | # icc: Command line remark: option '-MP' not supported |
---|
3750 | if (grep 'ignoring option' conftest.err || |
---|
3751 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
---|
3752 | am_cv_CC_dependencies_compiler_type=$depmode |
---|
3753 | break |
---|
3754 | fi |
---|
3755 | fi |
---|
3756 | done |
---|
3757 | |
---|
3758 | cd .. |
---|
3759 | rm -rf conftest.dir |
---|
3760 | else |
---|
3761 | am_cv_CC_dependencies_compiler_type=none |
---|
3762 | fi |
---|
3763 | |
---|
3764 | fi |
---|
3765 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
---|
3766 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
---|
3767 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
---|
3768 | |
---|
3769 | if |
---|
3770 | test "x$enable_dependency_tracking" != xno \ |
---|
3771 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
---|
3772 | am__fastdepCC_TRUE= |
---|
3773 | am__fastdepCC_FALSE='#' |
---|
3774 | else |
---|
3775 | am__fastdepCC_TRUE='#' |
---|
3776 | am__fastdepCC_FALSE= |
---|
3777 | fi |
---|
3778 | |
---|
3779 | |
---|
3780 | case $ac_cv_prog_cc_stdc in #( |
---|
3781 | no) : |
---|
3782 | ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #( |
---|
3783 | *) : |
---|
3784 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 |
---|
3785 | $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } |
---|
3786 | if ${ac_cv_prog_cc_c99+:} false; then : |
---|
3787 | $as_echo_n "(cached) " >&6 |
---|
3788 | else |
---|
3789 | ac_cv_prog_cc_c99=no |
---|
3790 | ac_save_CC=$CC |
---|
3791 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3792 | /* end confdefs.h. */ |
---|
3793 | #include <stdarg.h> |
---|
3794 | #include <stdbool.h> |
---|
3795 | #include <stdlib.h> |
---|
3796 | #include <wchar.h> |
---|
3797 | #include <stdio.h> |
---|
3798 | |
---|
3799 | // Check varargs macros. These examples are taken from C99 6.10.3.5. |
---|
3800 | #define debug(...) fprintf (stderr, __VA_ARGS__) |
---|
3801 | #define showlist(...) puts (#__VA_ARGS__) |
---|
3802 | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
---|
3803 | static void |
---|
3804 | test_varargs_macros (void) |
---|
3805 | { |
---|
3806 | int x = 1234; |
---|
3807 | int y = 5678; |
---|
3808 | debug ("Flag"); |
---|
3809 | debug ("X = %d\n", x); |
---|
3810 | showlist (The first, second, and third items.); |
---|
3811 | report (x>y, "x is %d but y is %d", x, y); |
---|
3812 | } |
---|
3813 | |
---|
3814 | // Check long long types. |
---|
3815 | #define BIG64 18446744073709551615ull |
---|
3816 | #define BIG32 4294967295ul |
---|
3817 | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
---|
3818 | #if !BIG_OK |
---|
3819 | your preprocessor is broken; |
---|
3820 | #endif |
---|
3821 | #if BIG_OK |
---|
3822 | #else |
---|
3823 | your preprocessor is broken; |
---|
3824 | #endif |
---|
3825 | static long long int bignum = -9223372036854775807LL; |
---|
3826 | static unsigned long long int ubignum = BIG64; |
---|
3827 | |
---|
3828 | struct incomplete_array |
---|
3829 | { |
---|
3830 | int datasize; |
---|
3831 | double data[]; |
---|
3832 | }; |
---|
3833 | |
---|
3834 | struct named_init { |
---|
3835 | int number; |
---|
3836 | const wchar_t *name; |
---|
3837 | double average; |
---|
3838 | }; |
---|
3839 | |
---|
3840 | typedef const char *ccp; |
---|
3841 | |
---|
3842 | static inline int |
---|
3843 | test_restrict (ccp restrict text) |
---|
3844 | { |
---|
3845 | // See if C++-style comments work. |
---|
3846 | // Iterate through items via the restricted pointer. |
---|
3847 | // Also check for declarations in for loops. |
---|
3848 | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
---|
3849 | continue; |
---|
3850 | return 0; |
---|
3851 | } |
---|
3852 | |
---|
3853 | // Check varargs and va_copy. |
---|
3854 | static void |
---|
3855 | test_varargs (const char *format, ...) |
---|
3856 | { |
---|
3857 | va_list args; |
---|
3858 | va_start (args, format); |
---|
3859 | va_list args_copy; |
---|
3860 | va_copy (args_copy, args); |
---|
3861 | |
---|
3862 | const char *str; |
---|
3863 | int number; |
---|
3864 | float fnumber; |
---|
3865 | |
---|
3866 | while (*format) |
---|
3867 | { |
---|
3868 | switch (*format++) |
---|
3869 | { |
---|
3870 | case 's': // string |
---|
3871 | str = va_arg (args_copy, const char *); |
---|
3872 | break; |
---|
3873 | case 'd': // int |
---|
3874 | number = va_arg (args_copy, int); |
---|
3875 | break; |
---|
3876 | case 'f': // float |
---|
3877 | fnumber = va_arg (args_copy, double); |
---|
3878 | break; |
---|
3879 | default: |
---|
3880 | break; |
---|
3881 | } |
---|
3882 | } |
---|
3883 | va_end (args_copy); |
---|
3884 | va_end (args); |
---|
3885 | } |
---|
3886 | |
---|
3887 | int |
---|
3888 | main () |
---|
3889 | { |
---|
3890 | |
---|
3891 | // Check bool. |
---|
3892 | _Bool success = false; |
---|
3893 | |
---|
3894 | // Check restrict. |
---|
3895 | if (test_restrict ("String literal") == 0) |
---|
3896 | success = true; |
---|
3897 | char *restrict newvar = "Another string"; |
---|
3898 | |
---|
3899 | // Check varargs. |
---|
3900 | test_varargs ("s, d' f .", "string", 65, 34.234); |
---|
3901 | test_varargs_macros (); |
---|
3902 | |
---|
3903 | // Check flexible array members. |
---|
3904 | struct incomplete_array *ia = |
---|
3905 | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
---|
3906 | ia->datasize = 10; |
---|
3907 | for (int i = 0; i < ia->datasize; ++i) |
---|
3908 | ia->data[i] = i * 1.234; |
---|
3909 | |
---|
3910 | // Check named initializers. |
---|
3911 | struct named_init ni = { |
---|
3912 | .number = 34, |
---|
3913 | .name = L"Test wide string", |
---|
3914 | .average = 543.34343, |
---|
3915 | }; |
---|
3916 | |
---|
3917 | ni.number = 58; |
---|
3918 | |
---|
3919 | int dynamic_array[ni.number]; |
---|
3920 | dynamic_array[ni.number - 1] = 543; |
---|
3921 | |
---|
3922 | // work around unused variable warnings |
---|
3923 | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
---|
3924 | || dynamic_array[ni.number - 1] != 543); |
---|
3925 | |
---|
3926 | ; |
---|
3927 | return 0; |
---|
3928 | } |
---|
3929 | _ACEOF |
---|
3930 | for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 |
---|
3931 | do |
---|
3932 | CC="$ac_save_CC $ac_arg" |
---|
3933 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
3934 | ac_cv_prog_cc_c99=$ac_arg |
---|
3935 | fi |
---|
3936 | rm -f core conftest.err conftest.$ac_objext |
---|
3937 | test "x$ac_cv_prog_cc_c99" != "xno" && break |
---|
3938 | done |
---|
3939 | rm -f conftest.$ac_ext |
---|
3940 | CC=$ac_save_CC |
---|
3941 | |
---|
3942 | fi |
---|
3943 | # AC_CACHE_VAL |
---|
3944 | case "x$ac_cv_prog_cc_c99" in |
---|
3945 | x) |
---|
3946 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
---|
3947 | $as_echo "none needed" >&6; } ;; |
---|
3948 | xno) |
---|
3949 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
---|
3950 | $as_echo "unsupported" >&6; } ;; |
---|
3951 | *) |
---|
3952 | CC="$CC $ac_cv_prog_cc_c99" |
---|
3953 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
---|
3954 | $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; |
---|
3955 | esac |
---|
3956 | if test "x$ac_cv_prog_cc_c99" != xno; then : |
---|
3957 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 |
---|
3958 | else |
---|
3959 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
---|
3960 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
---|
3961 | if ${ac_cv_prog_cc_c89+:} false; then : |
---|
3962 | $as_echo_n "(cached) " >&6 |
---|
3963 | else |
---|
3964 | ac_cv_prog_cc_c89=no |
---|
3965 | ac_save_CC=$CC |
---|
3966 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3967 | /* end confdefs.h. */ |
---|
3968 | #include <stdarg.h> |
---|
3969 | #include <stdio.h> |
---|
3970 | #include <sys/types.h> |
---|
3971 | #include <sys/stat.h> |
---|
3972 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
3973 | struct buf { int x; }; |
---|
3974 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
3975 | static char *e (p, i) |
---|
3976 | char **p; |
---|
3977 | int i; |
---|
3978 | { |
---|
3979 | return p[i]; |
---|
3980 | } |
---|
3981 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
3982 | { |
---|
3983 | char *s; |
---|
3984 | va_list v; |
---|
3985 | va_start (v,p); |
---|
3986 | s = g (p, va_arg (v,int)); |
---|
3987 | va_end (v); |
---|
3988 | return s; |
---|
3989 | } |
---|
3990 | |
---|
3991 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
3992 | function prototypes and stuff, but not '\xHH' hex character constants. |
---|
3993 | These don't provoke an error unfortunately, instead are silently treated |
---|
3994 | as 'x'. The following induces an error, until -std is added to get |
---|
3995 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
---|
3996 | array size at least. It's necessary to write '\x00'==0 to get something |
---|
3997 | that's true only with -std. */ |
---|
3998 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
3999 | |
---|
4000 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
---|
4001 | inside strings and character constants. */ |
---|
4002 | #define FOO(x) 'x' |
---|
4003 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
---|
4004 | |
---|
4005 | int test (int i, double x); |
---|
4006 | struct s1 {int (*f) (int a);}; |
---|
4007 | struct s2 {int (*f) (double a);}; |
---|
4008 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
4009 | int argc; |
---|
4010 | char **argv; |
---|
4011 | int |
---|
4012 | main () |
---|
4013 | { |
---|
4014 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
4015 | ; |
---|
4016 | return 0; |
---|
4017 | } |
---|
4018 | _ACEOF |
---|
4019 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
---|
4020 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
4021 | do |
---|
4022 | CC="$ac_save_CC $ac_arg" |
---|
4023 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
4024 | ac_cv_prog_cc_c89=$ac_arg |
---|
4025 | fi |
---|
4026 | rm -f core conftest.err conftest.$ac_objext |
---|
4027 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
---|
4028 | done |
---|
4029 | rm -f conftest.$ac_ext |
---|
4030 | CC=$ac_save_CC |
---|
4031 | |
---|
4032 | fi |
---|
4033 | # AC_CACHE_VAL |
---|
4034 | case "x$ac_cv_prog_cc_c89" in |
---|
4035 | x) |
---|
4036 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
---|
4037 | $as_echo "none needed" >&6; } ;; |
---|
4038 | xno) |
---|
4039 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
---|
4040 | $as_echo "unsupported" >&6; } ;; |
---|
4041 | *) |
---|
4042 | CC="$CC $ac_cv_prog_cc_c89" |
---|
4043 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
---|
4044 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
---|
4045 | esac |
---|
4046 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
---|
4047 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 |
---|
4048 | else |
---|
4049 | ac_cv_prog_cc_stdc=no |
---|
4050 | fi |
---|
4051 | |
---|
4052 | fi |
---|
4053 | ;; |
---|
4054 | esac |
---|
4055 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5 |
---|
4056 | $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; } |
---|
4057 | if ${ac_cv_prog_cc_stdc+:} false; then : |
---|
4058 | $as_echo_n "(cached) " >&6 |
---|
4059 | fi |
---|
4060 | |
---|
4061 | case $ac_cv_prog_cc_stdc in #( |
---|
4062 | no) : |
---|
4063 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
---|
4064 | $as_echo "unsupported" >&6; } ;; #( |
---|
4065 | '') : |
---|
4066 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
---|
4067 | $as_echo "none needed" >&6; } ;; #( |
---|
4068 | *) : |
---|
4069 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5 |
---|
4070 | $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;; |
---|
4071 | esac |
---|
4072 | |
---|
4073 | # Extract the first word of "valac", so it can be a program name with args. |
---|
4074 | set dummy valac; ac_word=$2 |
---|
4075 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
4076 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
4077 | if ${ac_cv_path_VALAC+:} false; then : |
---|
4078 | $as_echo_n "(cached) " >&6 |
---|
4079 | else |
---|
4080 | case $VALAC in |
---|
4081 | [\\/]* | ?:[\\/]*) |
---|
4082 | ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path. |
---|
4083 | ;; |
---|
4084 | *) |
---|
4085 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4086 | for as_dir in $PATH |
---|
4087 | do |
---|
4088 | IFS=$as_save_IFS |
---|
4089 | test -z "$as_dir" && as_dir=. |
---|
4090 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4091 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
4092 | ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext" |
---|
4093 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4094 | break 2 |
---|
4095 | fi |
---|
4096 | done |
---|
4097 | done |
---|
4098 | IFS=$as_save_IFS |
---|
4099 | |
---|
4100 | ;; |
---|
4101 | esac |
---|
4102 | fi |
---|
4103 | VALAC=$ac_cv_path_VALAC |
---|
4104 | if test -n "$VALAC"; then |
---|
4105 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5 |
---|
4106 | $as_echo "$VALAC" >&6; } |
---|
4107 | else |
---|
4108 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4109 | $as_echo "no" >&6; } |
---|
4110 | fi |
---|
4111 | |
---|
4112 | |
---|
4113 | if test -z "$VALAC"; then : |
---|
4114 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&5 |
---|
4115 | $as_echo "$as_me: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&2;} |
---|
4116 | else |
---|
4117 | if test -n "0.18.0"; then : |
---|
4118 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.18.0" >&5 |
---|
4119 | $as_echo_n "checking $VALAC is at least version 0.18.0... " >&6; } |
---|
4120 | am__vala_version=`$VALAC --version | sed 's/Vala *//'` |
---|
4121 | as_arg_v1=0.18.0 |
---|
4122 | as_arg_v2="$am__vala_version" |
---|
4123 | awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null |
---|
4124 | case $? in #( |
---|
4125 | 1) : |
---|
4126 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
4127 | $as_echo "yes" >&6; } ;; #( |
---|
4128 | 0) : |
---|
4129 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
4130 | $as_echo "yes" >&6; } ;; #( |
---|
4131 | 2) : |
---|
4132 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4133 | $as_echo "no" >&6; } |
---|
4134 | as_fn_error $? "Vala 0.18.0 not found." "$LINENO" 5 ;; #( |
---|
4135 | *) : |
---|
4136 | ;; |
---|
4137 | esac |
---|
4138 | fi |
---|
4139 | fi |
---|
4140 | |
---|
4141 | |
---|
4142 | |
---|
4143 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 |
---|
4144 | $as_echo_n "checking whether NLS is requested... " >&6; } |
---|
4145 | # Check whether --enable-nls was given. |
---|
4146 | if test "${enable_nls+set}" = set; then : |
---|
4147 | enableval=$enable_nls; USE_NLS=$enableval |
---|
4148 | else |
---|
4149 | USE_NLS=yes |
---|
4150 | fi |
---|
4151 | |
---|
4152 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 |
---|
4153 | $as_echo "$USE_NLS" >&6; } |
---|
4154 | |
---|
4155 | |
---|
4156 | |
---|
4157 | |
---|
4158 | |
---|
4159 | case "$am__api_version" in |
---|
4160 | 1.01234) |
---|
4161 | as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 |
---|
4162 | ;; |
---|
4163 | *) |
---|
4164 | ;; |
---|
4165 | esac |
---|
4166 | |
---|
4167 | INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.50 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` |
---|
4168 | INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` |
---|
4169 | INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` |
---|
4170 | if test -n "0.50"; then |
---|
4171 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.50" >&5 |
---|
4172 | $as_echo_n "checking for intltool >= 0.50... " >&6; } |
---|
4173 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 |
---|
4174 | $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } |
---|
4175 | test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || |
---|
4176 | as_fn_error $? "Your intltool is too old. You need intltool 0.50 or later." "$LINENO" 5 |
---|
4177 | fi |
---|
4178 | |
---|
4179 | # Extract the first word of "intltool-update", so it can be a program name with args. |
---|
4180 | set dummy intltool-update; ac_word=$2 |
---|
4181 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
4182 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
4183 | if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : |
---|
4184 | $as_echo_n "(cached) " >&6 |
---|
4185 | else |
---|
4186 | case $INTLTOOL_UPDATE in |
---|
4187 | [\\/]* | ?:[\\/]*) |
---|
4188 | ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. |
---|
4189 | ;; |
---|
4190 | *) |
---|
4191 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4192 | for as_dir in $PATH |
---|
4193 | do |
---|
4194 | IFS=$as_save_IFS |
---|
4195 | test -z "$as_dir" && as_dir=. |
---|
4196 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4197 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
4198 | ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" |
---|
4199 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4200 | break 2 |
---|
4201 | fi |
---|
4202 | done |
---|
4203 | done |
---|
4204 | IFS=$as_save_IFS |
---|
4205 | |
---|
4206 | ;; |
---|
4207 | esac |
---|
4208 | fi |
---|
4209 | INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE |
---|
4210 | if test -n "$INTLTOOL_UPDATE"; then |
---|
4211 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 |
---|
4212 | $as_echo "$INTLTOOL_UPDATE" >&6; } |
---|
4213 | else |
---|
4214 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4215 | $as_echo "no" >&6; } |
---|
4216 | fi |
---|
4217 | |
---|
4218 | |
---|
4219 | # Extract the first word of "intltool-merge", so it can be a program name with args. |
---|
4220 | set dummy intltool-merge; ac_word=$2 |
---|
4221 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
4222 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
4223 | if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : |
---|
4224 | $as_echo_n "(cached) " >&6 |
---|
4225 | else |
---|
4226 | case $INTLTOOL_MERGE in |
---|
4227 | [\\/]* | ?:[\\/]*) |
---|
4228 | ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. |
---|
4229 | ;; |
---|
4230 | *) |
---|
4231 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4232 | for as_dir in $PATH |
---|
4233 | do |
---|
4234 | IFS=$as_save_IFS |
---|
4235 | test -z "$as_dir" && as_dir=. |
---|
4236 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4237 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
4238 | ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" |
---|
4239 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4240 | break 2 |
---|
4241 | fi |
---|
4242 | done |
---|
4243 | done |
---|
4244 | IFS=$as_save_IFS |
---|
4245 | |
---|
4246 | ;; |
---|
4247 | esac |
---|
4248 | fi |
---|
4249 | INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE |
---|
4250 | if test -n "$INTLTOOL_MERGE"; then |
---|
4251 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 |
---|
4252 | $as_echo "$INTLTOOL_MERGE" >&6; } |
---|
4253 | else |
---|
4254 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4255 | $as_echo "no" >&6; } |
---|
4256 | fi |
---|
4257 | |
---|
4258 | |
---|
4259 | # Extract the first word of "intltool-extract", so it can be a program name with args. |
---|
4260 | set dummy intltool-extract; ac_word=$2 |
---|
4261 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
4262 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
4263 | if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : |
---|
4264 | $as_echo_n "(cached) " >&6 |
---|
4265 | else |
---|
4266 | case $INTLTOOL_EXTRACT in |
---|
4267 | [\\/]* | ?:[\\/]*) |
---|
4268 | ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. |
---|
4269 | ;; |
---|
4270 | *) |
---|
4271 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4272 | for as_dir in $PATH |
---|
4273 | do |
---|
4274 | IFS=$as_save_IFS |
---|
4275 | test -z "$as_dir" && as_dir=. |
---|
4276 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4277 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
4278 | ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" |
---|
4279 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4280 | break 2 |
---|
4281 | fi |
---|
4282 | done |
---|
4283 | done |
---|
4284 | IFS=$as_save_IFS |
---|
4285 | |
---|
4286 | ;; |
---|
4287 | esac |
---|
4288 | fi |
---|
4289 | INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT |
---|
4290 | if test -n "$INTLTOOL_EXTRACT"; then |
---|
4291 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 |
---|
4292 | $as_echo "$INTLTOOL_EXTRACT" >&6; } |
---|
4293 | else |
---|
4294 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4295 | $as_echo "no" >&6; } |
---|
4296 | fi |
---|
4297 | |
---|
4298 | |
---|
4299 | if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then |
---|
4300 | as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 |
---|
4301 | fi |
---|
4302 | |
---|
4303 | if test -z "$AM_DEFAULT_VERBOSITY"; then |
---|
4304 | AM_DEFAULT_VERBOSITY=1 |
---|
4305 | fi |
---|
4306 | |
---|
4307 | |
---|
4308 | INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' |
---|
4309 | INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' |
---|
4310 | INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' |
---|
4311 | |
---|
4312 | |
---|
4313 | |
---|
4314 | |
---|
4315 | INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' |
---|
4316 | intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' |
---|
4317 | intltool__v_merge_options_0='-q' |
---|
4318 | |
---|
4319 | |
---|
4320 | |
---|
4321 | |
---|
4322 | INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
4323 | INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
4324 | INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
4325 | INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
4326 | INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@' |
---|
4327 | INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
4328 | INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
4329 | INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
4330 | INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
4331 | INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
4332 | INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
4333 | if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then |
---|
4334 | INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@' |
---|
4335 | else |
---|
4336 | INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir' |
---|
4337 | fi |
---|
4338 | INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
4339 | INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
4340 | INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
4341 | INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
4342 | INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
4343 | INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
4344 | INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
4345 | |
---|
4346 | |
---|
4347 | |
---|
4348 | |
---|
4349 | |
---|
4350 | |
---|
4351 | |
---|
4352 | |
---|
4353 | |
---|
4354 | |
---|
4355 | |
---|
4356 | |
---|
4357 | |
---|
4358 | |
---|
4359 | |
---|
4360 | |
---|
4361 | |
---|
4362 | |
---|
4363 | |
---|
4364 | |
---|
4365 | |
---|
4366 | |
---|
4367 | |
---|
4368 | |
---|
4369 | |
---|
4370 | |
---|
4371 | |
---|
4372 | |
---|
4373 | |
---|
4374 | |
---|
4375 | |
---|
4376 | |
---|
4377 | |
---|
4378 | |
---|
4379 | |
---|
4380 | |
---|
4381 | |
---|
4382 | |
---|
4383 | |
---|
4384 | |
---|
4385 | |
---|
4386 | |
---|
4387 | |
---|
4388 | |
---|
4389 | |
---|
4390 | |
---|
4391 | |
---|
4392 | |
---|
4393 | |
---|
4394 | |
---|
4395 | |
---|
4396 | |
---|
4397 | |
---|
4398 | |
---|
4399 | |
---|
4400 | |
---|
4401 | |
---|
4402 | |
---|
4403 | |
---|
4404 | |
---|
4405 | |
---|
4406 | |
---|
4407 | |
---|
4408 | |
---|
4409 | |
---|
4410 | |
---|
4411 | |
---|
4412 | |
---|
4413 | |
---|
4414 | |
---|
4415 | |
---|
4416 | |
---|
4417 | |
---|
4418 | |
---|
4419 | |
---|
4420 | |
---|
4421 | |
---|
4422 | |
---|
4423 | |
---|
4424 | |
---|
4425 | |
---|
4426 | |
---|
4427 | |
---|
4428 | |
---|
4429 | |
---|
4430 | |
---|
4431 | |
---|
4432 | |
---|
4433 | |
---|
4434 | |
---|
4435 | |
---|
4436 | |
---|
4437 | |
---|
4438 | |
---|
4439 | |
---|
4440 | |
---|
4441 | |
---|
4442 | # Check the gettext tools to make sure they are GNU |
---|
4443 | # Extract the first word of "xgettext", so it can be a program name with args. |
---|
4444 | set dummy xgettext; ac_word=$2 |
---|
4445 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
4446 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
4447 | if ${ac_cv_path_XGETTEXT+:} false; then : |
---|
4448 | $as_echo_n "(cached) " >&6 |
---|
4449 | else |
---|
4450 | case $XGETTEXT in |
---|
4451 | [\\/]* | ?:[\\/]*) |
---|
4452 | ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
---|
4453 | ;; |
---|
4454 | *) |
---|
4455 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4456 | for as_dir in $PATH |
---|
4457 | do |
---|
4458 | IFS=$as_save_IFS |
---|
4459 | test -z "$as_dir" && as_dir=. |
---|
4460 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4461 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
4462 | ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" |
---|
4463 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4464 | break 2 |
---|
4465 | fi |
---|
4466 | done |
---|
4467 | done |
---|
4468 | IFS=$as_save_IFS |
---|
4469 | |
---|
4470 | ;; |
---|
4471 | esac |
---|
4472 | fi |
---|
4473 | XGETTEXT=$ac_cv_path_XGETTEXT |
---|
4474 | if test -n "$XGETTEXT"; then |
---|
4475 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 |
---|
4476 | $as_echo "$XGETTEXT" >&6; } |
---|
4477 | else |
---|
4478 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4479 | $as_echo "no" >&6; } |
---|
4480 | fi |
---|
4481 | |
---|
4482 | |
---|
4483 | # Extract the first word of "msgmerge", so it can be a program name with args. |
---|
4484 | set dummy msgmerge; ac_word=$2 |
---|
4485 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
4486 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
4487 | if ${ac_cv_path_MSGMERGE+:} false; then : |
---|
4488 | $as_echo_n "(cached) " >&6 |
---|
4489 | else |
---|
4490 | case $MSGMERGE in |
---|
4491 | [\\/]* | ?:[\\/]*) |
---|
4492 | ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. |
---|
4493 | ;; |
---|
4494 | *) |
---|
4495 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4496 | for as_dir in $PATH |
---|
4497 | do |
---|
4498 | IFS=$as_save_IFS |
---|
4499 | test -z "$as_dir" && as_dir=. |
---|
4500 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4501 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
4502 | ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" |
---|
4503 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4504 | break 2 |
---|
4505 | fi |
---|
4506 | done |
---|
4507 | done |
---|
4508 | IFS=$as_save_IFS |
---|
4509 | |
---|
4510 | ;; |
---|
4511 | esac |
---|
4512 | fi |
---|
4513 | MSGMERGE=$ac_cv_path_MSGMERGE |
---|
4514 | if test -n "$MSGMERGE"; then |
---|
4515 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 |
---|
4516 | $as_echo "$MSGMERGE" >&6; } |
---|
4517 | else |
---|
4518 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4519 | $as_echo "no" >&6; } |
---|
4520 | fi |
---|
4521 | |
---|
4522 | |
---|
4523 | # Extract the first word of "msgfmt", so it can be a program name with args. |
---|
4524 | set dummy msgfmt; ac_word=$2 |
---|
4525 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
4526 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
4527 | if ${ac_cv_path_MSGFMT+:} false; then : |
---|
4528 | $as_echo_n "(cached) " >&6 |
---|
4529 | else |
---|
4530 | case $MSGFMT in |
---|
4531 | [\\/]* | ?:[\\/]*) |
---|
4532 | ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
---|
4533 | ;; |
---|
4534 | *) |
---|
4535 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4536 | for as_dir in $PATH |
---|
4537 | do |
---|
4538 | IFS=$as_save_IFS |
---|
4539 | test -z "$as_dir" && as_dir=. |
---|
4540 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4541 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
4542 | ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" |
---|
4543 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4544 | break 2 |
---|
4545 | fi |
---|
4546 | done |
---|
4547 | done |
---|
4548 | IFS=$as_save_IFS |
---|
4549 | |
---|
4550 | ;; |
---|
4551 | esac |
---|
4552 | fi |
---|
4553 | MSGFMT=$ac_cv_path_MSGFMT |
---|
4554 | if test -n "$MSGFMT"; then |
---|
4555 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 |
---|
4556 | $as_echo "$MSGFMT" >&6; } |
---|
4557 | else |
---|
4558 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4559 | $as_echo "no" >&6; } |
---|
4560 | fi |
---|
4561 | |
---|
4562 | |
---|
4563 | # Extract the first word of "gmsgfmt", so it can be a program name with args. |
---|
4564 | set dummy gmsgfmt; ac_word=$2 |
---|
4565 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
4566 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
4567 | if ${ac_cv_path_GMSGFMT+:} false; then : |
---|
4568 | $as_echo_n "(cached) " >&6 |
---|
4569 | else |
---|
4570 | case $GMSGFMT in |
---|
4571 | [\\/]* | ?:[\\/]*) |
---|
4572 | ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
---|
4573 | ;; |
---|
4574 | *) |
---|
4575 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4576 | for as_dir in $PATH |
---|
4577 | do |
---|
4578 | IFS=$as_save_IFS |
---|
4579 | test -z "$as_dir" && as_dir=. |
---|
4580 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4581 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
4582 | ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
---|
4583 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4584 | break 2 |
---|
4585 | fi |
---|
4586 | done |
---|
4587 | done |
---|
4588 | IFS=$as_save_IFS |
---|
4589 | |
---|
4590 | test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
---|
4591 | ;; |
---|
4592 | esac |
---|
4593 | fi |
---|
4594 | GMSGFMT=$ac_cv_path_GMSGFMT |
---|
4595 | if test -n "$GMSGFMT"; then |
---|
4596 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 |
---|
4597 | $as_echo "$GMSGFMT" >&6; } |
---|
4598 | else |
---|
4599 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4600 | $as_echo "no" >&6; } |
---|
4601 | fi |
---|
4602 | |
---|
4603 | |
---|
4604 | if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then |
---|
4605 | as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 |
---|
4606 | fi |
---|
4607 | xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" |
---|
4608 | mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" |
---|
4609 | mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" |
---|
4610 | if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then |
---|
4611 | as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 |
---|
4612 | fi |
---|
4613 | |
---|
4614 | # Extract the first word of "perl", so it can be a program name with args. |
---|
4615 | set dummy perl; ac_word=$2 |
---|
4616 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
4617 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
4618 | if ${ac_cv_path_INTLTOOL_PERL+:} false; then : |
---|
4619 | $as_echo_n "(cached) " >&6 |
---|
4620 | else |
---|
4621 | case $INTLTOOL_PERL in |
---|
4622 | [\\/]* | ?:[\\/]*) |
---|
4623 | ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. |
---|
4624 | ;; |
---|
4625 | *) |
---|
4626 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4627 | for as_dir in $PATH |
---|
4628 | do |
---|
4629 | IFS=$as_save_IFS |
---|
4630 | test -z "$as_dir" && as_dir=. |
---|
4631 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4632 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
4633 | ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" |
---|
4634 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4635 | break 2 |
---|
4636 | fi |
---|
4637 | done |
---|
4638 | done |
---|
4639 | IFS=$as_save_IFS |
---|
4640 | |
---|
4641 | ;; |
---|
4642 | esac |
---|
4643 | fi |
---|
4644 | INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL |
---|
4645 | if test -n "$INTLTOOL_PERL"; then |
---|
4646 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 |
---|
4647 | $as_echo "$INTLTOOL_PERL" >&6; } |
---|
4648 | else |
---|
4649 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4650 | $as_echo "no" >&6; } |
---|
4651 | fi |
---|
4652 | |
---|
4653 | |
---|
4654 | if test -z "$INTLTOOL_PERL"; then |
---|
4655 | as_fn_error $? "perl not found" "$LINENO" 5 |
---|
4656 | fi |
---|
4657 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 |
---|
4658 | $as_echo_n "checking for perl >= 5.8.1... " >&6; } |
---|
4659 | $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 |
---|
4660 | if test $? -ne 0; then |
---|
4661 | as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 |
---|
4662 | else |
---|
4663 | IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` |
---|
4664 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 |
---|
4665 | $as_echo "$IT_PERL_VERSION" >&6; } |
---|
4666 | fi |
---|
4667 | if test "x" != "xno-xml"; then |
---|
4668 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 |
---|
4669 | $as_echo_n "checking for XML::Parser... " >&6; } |
---|
4670 | if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then |
---|
4671 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
---|
4672 | $as_echo "ok" >&6; } |
---|
4673 | else |
---|
4674 | as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 |
---|
4675 | fi |
---|
4676 | fi |
---|
4677 | |
---|
4678 | # Substitute ALL_LINGUAS so we can use it in po/Makefile |
---|
4679 | |
---|
4680 | |
---|
4681 | # Set DATADIRNAME correctly if it is not set yet |
---|
4682 | # (copied from glib-gettext.m4) |
---|
4683 | if test -z "$DATADIRNAME"; then |
---|
4684 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
4685 | /* end confdefs.h. */ |
---|
4686 | |
---|
4687 | int |
---|
4688 | main () |
---|
4689 | { |
---|
4690 | extern int _nl_msg_cat_cntr; |
---|
4691 | return _nl_msg_cat_cntr |
---|
4692 | ; |
---|
4693 | return 0; |
---|
4694 | } |
---|
4695 | _ACEOF |
---|
4696 | if ac_fn_c_try_link "$LINENO"; then : |
---|
4697 | DATADIRNAME=share |
---|
4698 | else |
---|
4699 | case $host in |
---|
4700 | *-*-solaris*) |
---|
4701 | ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" |
---|
4702 | if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : |
---|
4703 | DATADIRNAME=share |
---|
4704 | else |
---|
4705 | DATADIRNAME=lib |
---|
4706 | fi |
---|
4707 | |
---|
4708 | ;; |
---|
4709 | *) |
---|
4710 | DATADIRNAME=lib |
---|
4711 | ;; |
---|
4712 | esac |
---|
4713 | fi |
---|
4714 | rm -f core conftest.err conftest.$ac_objext \ |
---|
4715 | conftest$ac_exeext conftest.$ac_ext |
---|
4716 | fi |
---|
4717 | |
---|
4718 | |
---|
4719 | |
---|
4720 | |
---|
4721 | |
---|
4722 | |
---|
4723 | pkg_modules="libnotify, gtk+-3.0 >= 2.14.0" |
---|
4724 | VINE_NOTIFY_UPDATE_PACKAGES="--pkg libnotify --pkg gtk+-3.0" |
---|
4725 | |
---|
4726 | |
---|
4727 | |
---|
4728 | |
---|
4729 | |
---|
4730 | |
---|
4731 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
---|
4732 | if test -n "$ac_tool_prefix"; then |
---|
4733 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
---|
4734 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
---|
4735 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
4736 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
4737 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
---|
4738 | $as_echo_n "(cached) " >&6 |
---|
4739 | else |
---|
4740 | case $PKG_CONFIG in |
---|
4741 | [\\/]* | ?:[\\/]*) |
---|
4742 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
---|
4743 | ;; |
---|
4744 | *) |
---|
4745 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4746 | for as_dir in $PATH |
---|
4747 | do |
---|
4748 | IFS=$as_save_IFS |
---|
4749 | test -z "$as_dir" && as_dir=. |
---|
4750 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4751 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
4752 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
---|
4753 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4754 | break 2 |
---|
4755 | fi |
---|
4756 | done |
---|
4757 | done |
---|
4758 | IFS=$as_save_IFS |
---|
4759 | |
---|
4760 | ;; |
---|
4761 | esac |
---|
4762 | fi |
---|
4763 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
---|
4764 | if test -n "$PKG_CONFIG"; then |
---|
4765 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
---|
4766 | $as_echo "$PKG_CONFIG" >&6; } |
---|
4767 | else |
---|
4768 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4769 | $as_echo "no" >&6; } |
---|
4770 | fi |
---|
4771 | |
---|
4772 | |
---|
4773 | fi |
---|
4774 | if test -z "$ac_cv_path_PKG_CONFIG"; then |
---|
4775 | ac_pt_PKG_CONFIG=$PKG_CONFIG |
---|
4776 | # Extract the first word of "pkg-config", so it can be a program name with args. |
---|
4777 | set dummy pkg-config; ac_word=$2 |
---|
4778 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
4779 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
4780 | if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : |
---|
4781 | $as_echo_n "(cached) " >&6 |
---|
4782 | else |
---|
4783 | case $ac_pt_PKG_CONFIG in |
---|
4784 | [\\/]* | ?:[\\/]*) |
---|
4785 | ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
---|
4786 | ;; |
---|
4787 | *) |
---|
4788 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4789 | for as_dir in $PATH |
---|
4790 | do |
---|
4791 | IFS=$as_save_IFS |
---|
4792 | test -z "$as_dir" && as_dir=. |
---|
4793 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4794 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
4795 | ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
---|
4796 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4797 | break 2 |
---|
4798 | fi |
---|
4799 | done |
---|
4800 | done |
---|
4801 | IFS=$as_save_IFS |
---|
4802 | |
---|
4803 | ;; |
---|
4804 | esac |
---|
4805 | fi |
---|
4806 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
---|
4807 | if test -n "$ac_pt_PKG_CONFIG"; then |
---|
4808 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
---|
4809 | $as_echo "$ac_pt_PKG_CONFIG" >&6; } |
---|
4810 | else |
---|
4811 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4812 | $as_echo "no" >&6; } |
---|
4813 | fi |
---|
4814 | |
---|
4815 | if test "x$ac_pt_PKG_CONFIG" = x; then |
---|
4816 | PKG_CONFIG="" |
---|
4817 | else |
---|
4818 | case $cross_compiling:$ac_tool_warned in |
---|
4819 | yes:) |
---|
4820 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
4821 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
4822 | ac_tool_warned=yes ;; |
---|
4823 | esac |
---|
4824 | PKG_CONFIG=$ac_pt_PKG_CONFIG |
---|
4825 | fi |
---|
4826 | else |
---|
4827 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
---|
4828 | fi |
---|
4829 | |
---|
4830 | fi |
---|
4831 | if test -n "$PKG_CONFIG"; then |
---|
4832 | _pkg_min_version=0.9.0 |
---|
4833 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 |
---|
4834 | $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
---|
4835 | if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
---|
4836 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
4837 | $as_echo "yes" >&6; } |
---|
4838 | else |
---|
4839 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4840 | $as_echo "no" >&6; } |
---|
4841 | PKG_CONFIG="" |
---|
4842 | fi |
---|
4843 | fi |
---|
4844 | |
---|
4845 | pkg_failed=no |
---|
4846 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VINE_NOTIFY_UPDATE" >&5 |
---|
4847 | $as_echo_n "checking for VINE_NOTIFY_UPDATE... " >&6; } |
---|
4848 | |
---|
4849 | if test -n "$VINE_NOTIFY_UPDATE_CFLAGS"; then |
---|
4850 | pkg_cv_VINE_NOTIFY_UPDATE_CFLAGS="$VINE_NOTIFY_UPDATE_CFLAGS" |
---|
4851 | elif test -n "$PKG_CONFIG"; then |
---|
4852 | if test -n "$PKG_CONFIG" && \ |
---|
4853 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5 |
---|
4854 | ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5 |
---|
4855 | ac_status=$? |
---|
4856 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
4857 | test $ac_status = 0; }; then |
---|
4858 | pkg_cv_VINE_NOTIFY_UPDATE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null` |
---|
4859 | else |
---|
4860 | pkg_failed=yes |
---|
4861 | fi |
---|
4862 | else |
---|
4863 | pkg_failed=untried |
---|
4864 | fi |
---|
4865 | if test -n "$VINE_NOTIFY_UPDATE_LIBS"; then |
---|
4866 | pkg_cv_VINE_NOTIFY_UPDATE_LIBS="$VINE_NOTIFY_UPDATE_LIBS" |
---|
4867 | elif test -n "$PKG_CONFIG"; then |
---|
4868 | if test -n "$PKG_CONFIG" && \ |
---|
4869 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5 |
---|
4870 | ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5 |
---|
4871 | ac_status=$? |
---|
4872 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
4873 | test $ac_status = 0; }; then |
---|
4874 | pkg_cv_VINE_NOTIFY_UPDATE_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null` |
---|
4875 | else |
---|
4876 | pkg_failed=yes |
---|
4877 | fi |
---|
4878 | else |
---|
4879 | pkg_failed=untried |
---|
4880 | fi |
---|
4881 | |
---|
4882 | |
---|
4883 | |
---|
4884 | if test $pkg_failed = yes; then |
---|
4885 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4886 | $as_echo "no" >&6; } |
---|
4887 | |
---|
4888 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
---|
4889 | _pkg_short_errors_supported=yes |
---|
4890 | else |
---|
4891 | _pkg_short_errors_supported=no |
---|
4892 | fi |
---|
4893 | if test $_pkg_short_errors_supported = yes; then |
---|
4894 | VINE_NOTIFY_UPDATE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$pkg_modules" 2>&1` |
---|
4895 | else |
---|
4896 | VINE_NOTIFY_UPDATE_PKG_ERRORS=`$PKG_CONFIG --print-errors "$pkg_modules" 2>&1` |
---|
4897 | fi |
---|
4898 | # Put the nasty error message in config.log where it belongs |
---|
4899 | echo "$VINE_NOTIFY_UPDATE_PKG_ERRORS" >&5 |
---|
4900 | |
---|
4901 | as_fn_error $? "Package requirements ($pkg_modules) were not met: |
---|
4902 | |
---|
4903 | $VINE_NOTIFY_UPDATE_PKG_ERRORS |
---|
4904 | |
---|
4905 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
---|
4906 | installed software in a non-standard prefix. |
---|
4907 | |
---|
4908 | Alternatively, you may set the environment variables VINE_NOTIFY_UPDATE_CFLAGS |
---|
4909 | and VINE_NOTIFY_UPDATE_LIBS to avoid the need to call pkg-config. |
---|
4910 | See the pkg-config man page for more details." "$LINENO" 5 |
---|
4911 | elif test $pkg_failed = untried; then |
---|
4912 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4913 | $as_echo "no" >&6; } |
---|
4914 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
4915 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
4916 | as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
---|
4917 | is in your PATH or set the PKG_CONFIG environment variable to the full |
---|
4918 | path to pkg-config. |
---|
4919 | |
---|
4920 | Alternatively, you may set the environment variables VINE_NOTIFY_UPDATE_CFLAGS |
---|
4921 | and VINE_NOTIFY_UPDATE_LIBS to avoid the need to call pkg-config. |
---|
4922 | See the pkg-config man page for more details. |
---|
4923 | |
---|
4924 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
---|
4925 | See \`config.log' for more details" "$LINENO" 5; } |
---|
4926 | else |
---|
4927 | VINE_NOTIFY_UPDATE_CFLAGS=$pkg_cv_VINE_NOTIFY_UPDATE_CFLAGS |
---|
4928 | VINE_NOTIFY_UPDATE_LIBS=$pkg_cv_VINE_NOTIFY_UPDATE_LIBS |
---|
4929 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
4930 | $as_echo "yes" >&6; } |
---|
4931 | |
---|
4932 | fi |
---|
4933 | |
---|
4934 | |
---|
4935 | |
---|
4936 | |
---|
4937 | GETTEXT_PACKAGE=vine-notify-update |
---|
4938 | |
---|
4939 | cat >>confdefs.h <<_ACEOF |
---|
4940 | #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" |
---|
4941 | _ACEOF |
---|
4942 | |
---|
4943 | |
---|
4944 | |
---|
4945 | ac_ext=c |
---|
4946 | ac_cpp='$CPP $CPPFLAGS' |
---|
4947 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
4948 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
4949 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
4950 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
---|
4951 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
---|
4952 | # On Suns, sometimes $CPP names a directory. |
---|
4953 | if test -n "$CPP" && test -d "$CPP"; then |
---|
4954 | CPP= |
---|
4955 | fi |
---|
4956 | if test -z "$CPP"; then |
---|
4957 | if ${ac_cv_prog_CPP+:} false; then : |
---|
4958 | $as_echo_n "(cached) " >&6 |
---|
4959 | else |
---|
4960 | # Double quotes because CPP needs to be expanded |
---|
4961 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
---|
4962 | do |
---|
4963 | ac_preproc_ok=false |
---|
4964 | for ac_c_preproc_warn_flag in '' yes |
---|
4965 | do |
---|
4966 | # Use a header file that comes with gcc, so configuring glibc |
---|
4967 | # with a fresh cross-compiler works. |
---|
4968 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
4969 | # <limits.h> exists even on freestanding compilers. |
---|
4970 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
4971 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
4972 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
4973 | /* end confdefs.h. */ |
---|
4974 | #ifdef __STDC__ |
---|
4975 | # include <limits.h> |
---|
4976 | #else |
---|
4977 | # include <assert.h> |
---|
4978 | #endif |
---|
4979 | Syntax error |
---|
4980 | _ACEOF |
---|
4981 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
4982 | |
---|
4983 | else |
---|
4984 | # Broken: fails on valid input. |
---|
4985 | continue |
---|
4986 | fi |
---|
4987 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
4988 | |
---|
4989 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
4990 | # can be detected and how. |
---|
4991 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
4992 | /* end confdefs.h. */ |
---|
4993 | #include <ac_nonexistent.h> |
---|
4994 | _ACEOF |
---|
4995 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
4996 | # Broken: success on invalid input. |
---|
4997 | continue |
---|
4998 | else |
---|
4999 | # Passes both tests. |
---|
5000 | ac_preproc_ok=: |
---|
5001 | break |
---|
5002 | fi |
---|
5003 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
5004 | |
---|
5005 | done |
---|
5006 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
5007 | rm -f conftest.i conftest.err conftest.$ac_ext |
---|
5008 | if $ac_preproc_ok; then : |
---|
5009 | break |
---|
5010 | fi |
---|
5011 | |
---|
5012 | done |
---|
5013 | ac_cv_prog_CPP=$CPP |
---|
5014 | |
---|
5015 | fi |
---|
5016 | CPP=$ac_cv_prog_CPP |
---|
5017 | else |
---|
5018 | ac_cv_prog_CPP=$CPP |
---|
5019 | fi |
---|
5020 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
---|
5021 | $as_echo "$CPP" >&6; } |
---|
5022 | ac_preproc_ok=false |
---|
5023 | for ac_c_preproc_warn_flag in '' yes |
---|
5024 | do |
---|
5025 | # Use a header file that comes with gcc, so configuring glibc |
---|
5026 | # with a fresh cross-compiler works. |
---|
5027 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
5028 | # <limits.h> exists even on freestanding compilers. |
---|
5029 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
5030 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
5031 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5032 | /* end confdefs.h. */ |
---|
5033 | #ifdef __STDC__ |
---|
5034 | # include <limits.h> |
---|
5035 | #else |
---|
5036 | # include <assert.h> |
---|
5037 | #endif |
---|
5038 | Syntax error |
---|
5039 | _ACEOF |
---|
5040 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
5041 | |
---|
5042 | else |
---|
5043 | # Broken: fails on valid input. |
---|
5044 | continue |
---|
5045 | fi |
---|
5046 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
5047 | |
---|
5048 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
5049 | # can be detected and how. |
---|
5050 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5051 | /* end confdefs.h. */ |
---|
5052 | #include <ac_nonexistent.h> |
---|
5053 | _ACEOF |
---|
5054 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
5055 | # Broken: success on invalid input. |
---|
5056 | continue |
---|
5057 | else |
---|
5058 | # Passes both tests. |
---|
5059 | ac_preproc_ok=: |
---|
5060 | break |
---|
5061 | fi |
---|
5062 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
5063 | |
---|
5064 | done |
---|
5065 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
5066 | rm -f conftest.i conftest.err conftest.$ac_ext |
---|
5067 | if $ac_preproc_ok; then : |
---|
5068 | |
---|
5069 | else |
---|
5070 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
5071 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
5072 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
---|
5073 | See \`config.log' for more details" "$LINENO" 5; } |
---|
5074 | fi |
---|
5075 | |
---|
5076 | ac_ext=c |
---|
5077 | ac_cpp='$CPP $CPPFLAGS' |
---|
5078 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
5079 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
5080 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
5081 | |
---|
5082 | |
---|
5083 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
---|
5084 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
---|
5085 | if ${ac_cv_path_GREP+:} false; then : |
---|
5086 | $as_echo_n "(cached) " >&6 |
---|
5087 | else |
---|
5088 | if test -z "$GREP"; then |
---|
5089 | ac_path_GREP_found=false |
---|
5090 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
5091 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
5092 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
5093 | do |
---|
5094 | IFS=$as_save_IFS |
---|
5095 | test -z "$as_dir" && as_dir=. |
---|
5096 | for ac_prog in grep ggrep; do |
---|
5097 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
5098 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
5099 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
---|
5100 | # Check for GNU ac_path_GREP and select it if it is found. |
---|
5101 | # Check for GNU $ac_path_GREP |
---|
5102 | case `"$ac_path_GREP" --version 2>&1` in |
---|
5103 | *GNU*) |
---|
5104 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
---|
5105 | *) |
---|
5106 | ac_count=0 |
---|
5107 | $as_echo_n 0123456789 >"conftest.in" |
---|
5108 | while : |
---|
5109 | do |
---|
5110 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
5111 | mv "conftest.tmp" "conftest.in" |
---|
5112 | cp "conftest.in" "conftest.nl" |
---|
5113 | $as_echo 'GREP' >> "conftest.nl" |
---|
5114 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
5115 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
5116 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
---|
5117 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
---|
5118 | # Best one so far, save it but keep looking for a better one |
---|
5119 | ac_cv_path_GREP="$ac_path_GREP" |
---|
5120 | ac_path_GREP_max=$ac_count |
---|
5121 | fi |
---|
5122 | # 10*(2^10) chars as input seems more than enough |
---|
5123 | test $ac_count -gt 10 && break |
---|
5124 | done |
---|
5125 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
5126 | esac |
---|
5127 | |
---|
5128 | $ac_path_GREP_found && break 3 |
---|
5129 | done |
---|
5130 | done |
---|
5131 | done |
---|
5132 | IFS=$as_save_IFS |
---|
5133 | if test -z "$ac_cv_path_GREP"; then |
---|
5134 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
---|
5135 | fi |
---|
5136 | else |
---|
5137 | ac_cv_path_GREP=$GREP |
---|
5138 | fi |
---|
5139 | |
---|
5140 | fi |
---|
5141 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
---|
5142 | $as_echo "$ac_cv_path_GREP" >&6; } |
---|
5143 | GREP="$ac_cv_path_GREP" |
---|
5144 | |
---|
5145 | |
---|
5146 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
---|
5147 | $as_echo_n "checking for egrep... " >&6; } |
---|
5148 | if ${ac_cv_path_EGREP+:} false; then : |
---|
5149 | $as_echo_n "(cached) " >&6 |
---|
5150 | else |
---|
5151 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
---|
5152 | then ac_cv_path_EGREP="$GREP -E" |
---|
5153 | else |
---|
5154 | if test -z "$EGREP"; then |
---|
5155 | ac_path_EGREP_found=false |
---|
5156 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
5157 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
5158 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
5159 | do |
---|
5160 | IFS=$as_save_IFS |
---|
5161 | test -z "$as_dir" && as_dir=. |
---|
5162 | for ac_prog in egrep; do |
---|
5163 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
5164 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
5165 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
---|
5166 | # Check for GNU ac_path_EGREP and select it if it is found. |
---|
5167 | # Check for GNU $ac_path_EGREP |
---|
5168 | case `"$ac_path_EGREP" --version 2>&1` in |
---|
5169 | *GNU*) |
---|
5170 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
---|
5171 | *) |
---|
5172 | ac_count=0 |
---|
5173 | $as_echo_n 0123456789 >"conftest.in" |
---|
5174 | while : |
---|
5175 | do |
---|
5176 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
5177 | mv "conftest.tmp" "conftest.in" |
---|
5178 | cp "conftest.in" "conftest.nl" |
---|
5179 | $as_echo 'EGREP' >> "conftest.nl" |
---|
5180 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
5181 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
5182 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
---|
5183 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
---|
5184 | # Best one so far, save it but keep looking for a better one |
---|
5185 | ac_cv_path_EGREP="$ac_path_EGREP" |
---|
5186 | ac_path_EGREP_max=$ac_count |
---|
5187 | fi |
---|
5188 | # 10*(2^10) chars as input seems more than enough |
---|
5189 | test $ac_count -gt 10 && break |
---|
5190 | done |
---|
5191 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
5192 | esac |
---|
5193 | |
---|
5194 | $ac_path_EGREP_found && break 3 |
---|
5195 | done |
---|
5196 | done |
---|
5197 | done |
---|
5198 | IFS=$as_save_IFS |
---|
5199 | if test -z "$ac_cv_path_EGREP"; then |
---|
5200 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
---|
5201 | fi |
---|
5202 | else |
---|
5203 | ac_cv_path_EGREP=$EGREP |
---|
5204 | fi |
---|
5205 | |
---|
5206 | fi |
---|
5207 | fi |
---|
5208 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
---|
5209 | $as_echo "$ac_cv_path_EGREP" >&6; } |
---|
5210 | EGREP="$ac_cv_path_EGREP" |
---|
5211 | |
---|
5212 | |
---|
5213 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
---|
5214 | $as_echo_n "checking for ANSI C header files... " >&6; } |
---|
5215 | if ${ac_cv_header_stdc+:} false; then : |
---|
5216 | $as_echo_n "(cached) " >&6 |
---|
5217 | else |
---|
5218 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5219 | /* end confdefs.h. */ |
---|
5220 | #include <stdlib.h> |
---|
5221 | #include <stdarg.h> |
---|
5222 | #include <string.h> |
---|
5223 | #include <float.h> |
---|
5224 | |
---|
5225 | int |
---|
5226 | main () |
---|
5227 | { |
---|
5228 | |
---|
5229 | ; |
---|
5230 | return 0; |
---|
5231 | } |
---|
5232 | _ACEOF |
---|
5233 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
5234 | ac_cv_header_stdc=yes |
---|
5235 | else |
---|
5236 | ac_cv_header_stdc=no |
---|
5237 | fi |
---|
5238 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
5239 | |
---|
5240 | if test $ac_cv_header_stdc = yes; then |
---|
5241 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
---|
5242 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5243 | /* end confdefs.h. */ |
---|
5244 | #include <string.h> |
---|
5245 | |
---|
5246 | _ACEOF |
---|
5247 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
5248 | $EGREP "memchr" >/dev/null 2>&1; then : |
---|
5249 | |
---|
5250 | else |
---|
5251 | ac_cv_header_stdc=no |
---|
5252 | fi |
---|
5253 | rm -f conftest* |
---|
5254 | |
---|
5255 | fi |
---|
5256 | |
---|
5257 | if test $ac_cv_header_stdc = yes; then |
---|
5258 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
---|
5259 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5260 | /* end confdefs.h. */ |
---|
5261 | #include <stdlib.h> |
---|
5262 | |
---|
5263 | _ACEOF |
---|
5264 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
5265 | $EGREP "free" >/dev/null 2>&1; then : |
---|
5266 | |
---|
5267 | else |
---|
5268 | ac_cv_header_stdc=no |
---|
5269 | fi |
---|
5270 | rm -f conftest* |
---|
5271 | |
---|
5272 | fi |
---|
5273 | |
---|
5274 | if test $ac_cv_header_stdc = yes; then |
---|
5275 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
---|
5276 | if test "$cross_compiling" = yes; then : |
---|
5277 | : |
---|
5278 | else |
---|
5279 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5280 | /* end confdefs.h. */ |
---|
5281 | #include <ctype.h> |
---|
5282 | #include <stdlib.h> |
---|
5283 | #if ((' ' & 0x0FF) == 0x020) |
---|
5284 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
---|
5285 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
---|
5286 | #else |
---|
5287 | # define ISLOWER(c) \ |
---|
5288 | (('a' <= (c) && (c) <= 'i') \ |
---|
5289 | || ('j' <= (c) && (c) <= 'r') \ |
---|
5290 | || ('s' <= (c) && (c) <= 'z')) |
---|
5291 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
---|
5292 | #endif |
---|
5293 | |
---|
5294 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
---|
5295 | int |
---|
5296 | main () |
---|
5297 | { |
---|
5298 | int i; |
---|
5299 | for (i = 0; i < 256; i++) |
---|
5300 | if (XOR (islower (i), ISLOWER (i)) |
---|
5301 | || toupper (i) != TOUPPER (i)) |
---|
5302 | return 2; |
---|
5303 | return 0; |
---|
5304 | } |
---|
5305 | _ACEOF |
---|
5306 | if ac_fn_c_try_run "$LINENO"; then : |
---|
5307 | |
---|
5308 | else |
---|
5309 | ac_cv_header_stdc=no |
---|
5310 | fi |
---|
5311 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
---|
5312 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
---|
5313 | fi |
---|
5314 | |
---|
5315 | fi |
---|
5316 | fi |
---|
5317 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
---|
5318 | $as_echo "$ac_cv_header_stdc" >&6; } |
---|
5319 | if test $ac_cv_header_stdc = yes; then |
---|
5320 | |
---|
5321 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
---|
5322 | |
---|
5323 | fi |
---|
5324 | |
---|
5325 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
---|
5326 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
---|
5327 | inttypes.h stdint.h unistd.h |
---|
5328 | do : |
---|
5329 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
5330 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
---|
5331 | " |
---|
5332 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
---|
5333 | cat >>confdefs.h <<_ACEOF |
---|
5334 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
5335 | _ACEOF |
---|
5336 | |
---|
5337 | fi |
---|
5338 | |
---|
5339 | done |
---|
5340 | |
---|
5341 | |
---|
5342 | |
---|
5343 | for ac_header in locale.h |
---|
5344 | do : |
---|
5345 | ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" |
---|
5346 | if test "x$ac_cv_header_locale_h" = xyes; then : |
---|
5347 | cat >>confdefs.h <<_ACEOF |
---|
5348 | #define HAVE_LOCALE_H 1 |
---|
5349 | _ACEOF |
---|
5350 | |
---|
5351 | fi |
---|
5352 | |
---|
5353 | done |
---|
5354 | |
---|
5355 | if test $ac_cv_header_locale_h = yes; then |
---|
5356 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 |
---|
5357 | $as_echo_n "checking for LC_MESSAGES... " >&6; } |
---|
5358 | if ${am_cv_val_LC_MESSAGES+:} false; then : |
---|
5359 | $as_echo_n "(cached) " >&6 |
---|
5360 | else |
---|
5361 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5362 | /* end confdefs.h. */ |
---|
5363 | #include <locale.h> |
---|
5364 | int |
---|
5365 | main () |
---|
5366 | { |
---|
5367 | return LC_MESSAGES |
---|
5368 | ; |
---|
5369 | return 0; |
---|
5370 | } |
---|
5371 | _ACEOF |
---|
5372 | if ac_fn_c_try_link "$LINENO"; then : |
---|
5373 | am_cv_val_LC_MESSAGES=yes |
---|
5374 | else |
---|
5375 | am_cv_val_LC_MESSAGES=no |
---|
5376 | fi |
---|
5377 | rm -f core conftest.err conftest.$ac_objext \ |
---|
5378 | conftest$ac_exeext conftest.$ac_ext |
---|
5379 | fi |
---|
5380 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 |
---|
5381 | $as_echo "$am_cv_val_LC_MESSAGES" >&6; } |
---|
5382 | if test $am_cv_val_LC_MESSAGES = yes; then |
---|
5383 | |
---|
5384 | $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h |
---|
5385 | |
---|
5386 | fi |
---|
5387 | fi |
---|
5388 | USE_NLS=yes |
---|
5389 | |
---|
5390 | |
---|
5391 | gt_cv_have_gettext=no |
---|
5392 | |
---|
5393 | CATOBJEXT=NONE |
---|
5394 | XGETTEXT=: |
---|
5395 | INTLLIBS= |
---|
5396 | |
---|
5397 | ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" |
---|
5398 | if test "x$ac_cv_header_libintl_h" = xyes; then : |
---|
5399 | gt_cv_func_dgettext_libintl="no" |
---|
5400 | libintl_extra_libs="" |
---|
5401 | |
---|
5402 | # |
---|
5403 | # First check in libc |
---|
5404 | # |
---|
5405 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 |
---|
5406 | $as_echo_n "checking for ngettext in libc... " >&6; } |
---|
5407 | if ${gt_cv_func_ngettext_libc+:} false; then : |
---|
5408 | $as_echo_n "(cached) " >&6 |
---|
5409 | else |
---|
5410 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5411 | /* end confdefs.h. */ |
---|
5412 | |
---|
5413 | #include <libintl.h> |
---|
5414 | |
---|
5415 | int |
---|
5416 | main () |
---|
5417 | { |
---|
5418 | return !ngettext ("","", 1) |
---|
5419 | ; |
---|
5420 | return 0; |
---|
5421 | } |
---|
5422 | _ACEOF |
---|
5423 | if ac_fn_c_try_link "$LINENO"; then : |
---|
5424 | gt_cv_func_ngettext_libc=yes |
---|
5425 | else |
---|
5426 | gt_cv_func_ngettext_libc=no |
---|
5427 | fi |
---|
5428 | rm -f core conftest.err conftest.$ac_objext \ |
---|
5429 | conftest$ac_exeext conftest.$ac_ext |
---|
5430 | |
---|
5431 | fi |
---|
5432 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 |
---|
5433 | $as_echo "$gt_cv_func_ngettext_libc" >&6; } |
---|
5434 | |
---|
5435 | if test "$gt_cv_func_ngettext_libc" = "yes" ; then |
---|
5436 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 |
---|
5437 | $as_echo_n "checking for dgettext in libc... " >&6; } |
---|
5438 | if ${gt_cv_func_dgettext_libc+:} false; then : |
---|
5439 | $as_echo_n "(cached) " >&6 |
---|
5440 | else |
---|
5441 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5442 | /* end confdefs.h. */ |
---|
5443 | |
---|
5444 | #include <libintl.h> |
---|
5445 | |
---|
5446 | int |
---|
5447 | main () |
---|
5448 | { |
---|
5449 | return !dgettext ("","") |
---|
5450 | ; |
---|
5451 | return 0; |
---|
5452 | } |
---|
5453 | _ACEOF |
---|
5454 | if ac_fn_c_try_link "$LINENO"; then : |
---|
5455 | gt_cv_func_dgettext_libc=yes |
---|
5456 | else |
---|
5457 | gt_cv_func_dgettext_libc=no |
---|
5458 | fi |
---|
5459 | rm -f core conftest.err conftest.$ac_objext \ |
---|
5460 | conftest$ac_exeext conftest.$ac_ext |
---|
5461 | |
---|
5462 | fi |
---|
5463 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 |
---|
5464 | $as_echo "$gt_cv_func_dgettext_libc" >&6; } |
---|
5465 | fi |
---|
5466 | |
---|
5467 | if test "$gt_cv_func_ngettext_libc" = "yes" ; then |
---|
5468 | for ac_func in bind_textdomain_codeset |
---|
5469 | do : |
---|
5470 | ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" |
---|
5471 | if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : |
---|
5472 | cat >>confdefs.h <<_ACEOF |
---|
5473 | #define HAVE_BIND_TEXTDOMAIN_CODESET 1 |
---|
5474 | _ACEOF |
---|
5475 | |
---|
5476 | fi |
---|
5477 | done |
---|
5478 | |
---|
5479 | fi |
---|
5480 | |
---|
5481 | # |
---|
5482 | # If we don't have everything we want, check in libintl |
---|
5483 | # |
---|
5484 | if test "$gt_cv_func_dgettext_libc" != "yes" \ |
---|
5485 | || test "$gt_cv_func_ngettext_libc" != "yes" \ |
---|
5486 | || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then |
---|
5487 | |
---|
5488 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 |
---|
5489 | $as_echo_n "checking for bindtextdomain in -lintl... " >&6; } |
---|
5490 | if ${ac_cv_lib_intl_bindtextdomain+:} false; then : |
---|
5491 | $as_echo_n "(cached) " >&6 |
---|
5492 | else |
---|
5493 | ac_check_lib_save_LIBS=$LIBS |
---|
5494 | LIBS="-lintl $LIBS" |
---|
5495 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5496 | /* end confdefs.h. */ |
---|
5497 | |
---|
5498 | /* Override any GCC internal prototype to avoid an error. |
---|
5499 | Use char because int might match the return type of a GCC |
---|
5500 | builtin and then its argument prototype would still apply. */ |
---|
5501 | #ifdef __cplusplus |
---|
5502 | extern "C" |
---|
5503 | #endif |
---|
5504 | char bindtextdomain (); |
---|
5505 | int |
---|
5506 | main () |
---|
5507 | { |
---|
5508 | return bindtextdomain (); |
---|
5509 | ; |
---|
5510 | return 0; |
---|
5511 | } |
---|
5512 | _ACEOF |
---|
5513 | if ac_fn_c_try_link "$LINENO"; then : |
---|
5514 | ac_cv_lib_intl_bindtextdomain=yes |
---|
5515 | else |
---|
5516 | ac_cv_lib_intl_bindtextdomain=no |
---|
5517 | fi |
---|
5518 | rm -f core conftest.err conftest.$ac_objext \ |
---|
5519 | conftest$ac_exeext conftest.$ac_ext |
---|
5520 | LIBS=$ac_check_lib_save_LIBS |
---|
5521 | fi |
---|
5522 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 |
---|
5523 | $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } |
---|
5524 | if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : |
---|
5525 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 |
---|
5526 | $as_echo_n "checking for ngettext in -lintl... " >&6; } |
---|
5527 | if ${ac_cv_lib_intl_ngettext+:} false; then : |
---|
5528 | $as_echo_n "(cached) " >&6 |
---|
5529 | else |
---|
5530 | ac_check_lib_save_LIBS=$LIBS |
---|
5531 | LIBS="-lintl $LIBS" |
---|
5532 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5533 | /* end confdefs.h. */ |
---|
5534 | |
---|
5535 | /* Override any GCC internal prototype to avoid an error. |
---|
5536 | Use char because int might match the return type of a GCC |
---|
5537 | builtin and then its argument prototype would still apply. */ |
---|
5538 | #ifdef __cplusplus |
---|
5539 | extern "C" |
---|
5540 | #endif |
---|
5541 | char ngettext (); |
---|
5542 | int |
---|
5543 | main () |
---|
5544 | { |
---|
5545 | return ngettext (); |
---|
5546 | ; |
---|
5547 | return 0; |
---|
5548 | } |
---|
5549 | _ACEOF |
---|
5550 | if ac_fn_c_try_link "$LINENO"; then : |
---|
5551 | ac_cv_lib_intl_ngettext=yes |
---|
5552 | else |
---|
5553 | ac_cv_lib_intl_ngettext=no |
---|
5554 | fi |
---|
5555 | rm -f core conftest.err conftest.$ac_objext \ |
---|
5556 | conftest$ac_exeext conftest.$ac_ext |
---|
5557 | LIBS=$ac_check_lib_save_LIBS |
---|
5558 | fi |
---|
5559 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 |
---|
5560 | $as_echo "$ac_cv_lib_intl_ngettext" >&6; } |
---|
5561 | if test "x$ac_cv_lib_intl_ngettext" = xyes; then : |
---|
5562 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 |
---|
5563 | $as_echo_n "checking for dgettext in -lintl... " >&6; } |
---|
5564 | if ${ac_cv_lib_intl_dgettext+:} false; then : |
---|
5565 | $as_echo_n "(cached) " >&6 |
---|
5566 | else |
---|
5567 | ac_check_lib_save_LIBS=$LIBS |
---|
5568 | LIBS="-lintl $LIBS" |
---|
5569 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5570 | /* end confdefs.h. */ |
---|
5571 | |
---|
5572 | /* Override any GCC internal prototype to avoid an error. |
---|
5573 | Use char because int might match the return type of a GCC |
---|
5574 | builtin and then its argument prototype would still apply. */ |
---|
5575 | #ifdef __cplusplus |
---|
5576 | extern "C" |
---|
5577 | #endif |
---|
5578 | char dgettext (); |
---|
5579 | int |
---|
5580 | main () |
---|
5581 | { |
---|
5582 | return dgettext (); |
---|
5583 | ; |
---|
5584 | return 0; |
---|
5585 | } |
---|
5586 | _ACEOF |
---|
5587 | if ac_fn_c_try_link "$LINENO"; then : |
---|
5588 | ac_cv_lib_intl_dgettext=yes |
---|
5589 | else |
---|
5590 | ac_cv_lib_intl_dgettext=no |
---|
5591 | fi |
---|
5592 | rm -f core conftest.err conftest.$ac_objext \ |
---|
5593 | conftest$ac_exeext conftest.$ac_ext |
---|
5594 | LIBS=$ac_check_lib_save_LIBS |
---|
5595 | fi |
---|
5596 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 |
---|
5597 | $as_echo "$ac_cv_lib_intl_dgettext" >&6; } |
---|
5598 | if test "x$ac_cv_lib_intl_dgettext" = xyes; then : |
---|
5599 | gt_cv_func_dgettext_libintl=yes |
---|
5600 | fi |
---|
5601 | |
---|
5602 | fi |
---|
5603 | |
---|
5604 | fi |
---|
5605 | |
---|
5606 | |
---|
5607 | if test "$gt_cv_func_dgettext_libintl" != "yes" ; then |
---|
5608 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 |
---|
5609 | $as_echo_n "checking if -liconv is needed to use gettext... " >&6; } |
---|
5610 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 |
---|
5611 | $as_echo "" >&6; } |
---|
5612 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 |
---|
5613 | $as_echo_n "checking for ngettext in -lintl... " >&6; } |
---|
5614 | if ${ac_cv_lib_intl_ngettext+:} false; then : |
---|
5615 | $as_echo_n "(cached) " >&6 |
---|
5616 | else |
---|
5617 | ac_check_lib_save_LIBS=$LIBS |
---|
5618 | LIBS="-lintl -liconv $LIBS" |
---|
5619 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5620 | /* end confdefs.h. */ |
---|
5621 | |
---|
5622 | /* Override any GCC internal prototype to avoid an error. |
---|
5623 | Use char because int might match the return type of a GCC |
---|
5624 | builtin and then its argument prototype would still apply. */ |
---|
5625 | #ifdef __cplusplus |
---|
5626 | extern "C" |
---|
5627 | #endif |
---|
5628 | char ngettext (); |
---|
5629 | int |
---|
5630 | main () |
---|
5631 | { |
---|
5632 | return ngettext (); |
---|
5633 | ; |
---|
5634 | return 0; |
---|
5635 | } |
---|
5636 | _ACEOF |
---|
5637 | if ac_fn_c_try_link "$LINENO"; then : |
---|
5638 | ac_cv_lib_intl_ngettext=yes |
---|
5639 | else |
---|
5640 | ac_cv_lib_intl_ngettext=no |
---|
5641 | fi |
---|
5642 | rm -f core conftest.err conftest.$ac_objext \ |
---|
5643 | conftest$ac_exeext conftest.$ac_ext |
---|
5644 | LIBS=$ac_check_lib_save_LIBS |
---|
5645 | fi |
---|
5646 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 |
---|
5647 | $as_echo "$ac_cv_lib_intl_ngettext" >&6; } |
---|
5648 | if test "x$ac_cv_lib_intl_ngettext" = xyes; then : |
---|
5649 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 |
---|
5650 | $as_echo_n "checking for dcgettext in -lintl... " >&6; } |
---|
5651 | if ${ac_cv_lib_intl_dcgettext+:} false; then : |
---|
5652 | $as_echo_n "(cached) " >&6 |
---|
5653 | else |
---|
5654 | ac_check_lib_save_LIBS=$LIBS |
---|
5655 | LIBS="-lintl -liconv $LIBS" |
---|
5656 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5657 | /* end confdefs.h. */ |
---|
5658 | |
---|
5659 | /* Override any GCC internal prototype to avoid an error. |
---|
5660 | Use char because int might match the return type of a GCC |
---|
5661 | builtin and then its argument prototype would still apply. */ |
---|
5662 | #ifdef __cplusplus |
---|
5663 | extern "C" |
---|
5664 | #endif |
---|
5665 | char dcgettext (); |
---|
5666 | int |
---|
5667 | main () |
---|
5668 | { |
---|
5669 | return dcgettext (); |
---|
5670 | ; |
---|
5671 | return 0; |
---|
5672 | } |
---|
5673 | _ACEOF |
---|
5674 | if ac_fn_c_try_link "$LINENO"; then : |
---|
5675 | ac_cv_lib_intl_dcgettext=yes |
---|
5676 | else |
---|
5677 | ac_cv_lib_intl_dcgettext=no |
---|
5678 | fi |
---|
5679 | rm -f core conftest.err conftest.$ac_objext \ |
---|
5680 | conftest$ac_exeext conftest.$ac_ext |
---|
5681 | LIBS=$ac_check_lib_save_LIBS |
---|
5682 | fi |
---|
5683 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 |
---|
5684 | $as_echo "$ac_cv_lib_intl_dcgettext" >&6; } |
---|
5685 | if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : |
---|
5686 | gt_cv_func_dgettext_libintl=yes |
---|
5687 | libintl_extra_libs=-liconv |
---|
5688 | else |
---|
5689 | : |
---|
5690 | fi |
---|
5691 | |
---|
5692 | else |
---|
5693 | : |
---|
5694 | fi |
---|
5695 | |
---|
5696 | fi |
---|
5697 | |
---|
5698 | # |
---|
5699 | # If we found libintl, then check in it for bind_textdomain_codeset(); |
---|
5700 | # we'll prefer libc if neither have bind_textdomain_codeset(), |
---|
5701 | # and both have dgettext and ngettext |
---|
5702 | # |
---|
5703 | if test "$gt_cv_func_dgettext_libintl" = "yes" ; then |
---|
5704 | glib_save_LIBS="$LIBS" |
---|
5705 | LIBS="$LIBS -lintl $libintl_extra_libs" |
---|
5706 | unset ac_cv_func_bind_textdomain_codeset |
---|
5707 | for ac_func in bind_textdomain_codeset |
---|
5708 | do : |
---|
5709 | ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" |
---|
5710 | if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : |
---|
5711 | cat >>confdefs.h <<_ACEOF |
---|
5712 | #define HAVE_BIND_TEXTDOMAIN_CODESET 1 |
---|
5713 | _ACEOF |
---|
5714 | |
---|
5715 | fi |
---|
5716 | done |
---|
5717 | |
---|
5718 | LIBS="$glib_save_LIBS" |
---|
5719 | |
---|
5720 | if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then |
---|
5721 | gt_cv_func_dgettext_libc=no |
---|
5722 | else |
---|
5723 | if test "$gt_cv_func_dgettext_libc" = "yes" \ |
---|
5724 | && test "$gt_cv_func_ngettext_libc" = "yes"; then |
---|
5725 | gt_cv_func_dgettext_libintl=no |
---|
5726 | fi |
---|
5727 | fi |
---|
5728 | fi |
---|
5729 | fi |
---|
5730 | |
---|
5731 | if test "$gt_cv_func_dgettext_libc" = "yes" \ |
---|
5732 | || test "$gt_cv_func_dgettext_libintl" = "yes"; then |
---|
5733 | gt_cv_have_gettext=yes |
---|
5734 | fi |
---|
5735 | |
---|
5736 | if test "$gt_cv_func_dgettext_libintl" = "yes"; then |
---|
5737 | INTLLIBS="-lintl $libintl_extra_libs" |
---|
5738 | fi |
---|
5739 | |
---|
5740 | if test "$gt_cv_have_gettext" = "yes"; then |
---|
5741 | |
---|
5742 | $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h |
---|
5743 | |
---|
5744 | # Extract the first word of "msgfmt", so it can be a program name with args. |
---|
5745 | set dummy msgfmt; ac_word=$2 |
---|
5746 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
5747 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
5748 | if ${ac_cv_path_MSGFMT+:} false; then : |
---|
5749 | $as_echo_n "(cached) " >&6 |
---|
5750 | else |
---|
5751 | case "$MSGFMT" in |
---|
5752 | /*) |
---|
5753 | ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
---|
5754 | ;; |
---|
5755 | *) |
---|
5756 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
5757 | for ac_dir in $PATH; do |
---|
5758 | test -z "$ac_dir" && ac_dir=. |
---|
5759 | if test -f $ac_dir/$ac_word; then |
---|
5760 | if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then |
---|
5761 | ac_cv_path_MSGFMT="$ac_dir/$ac_word" |
---|
5762 | break |
---|
5763 | fi |
---|
5764 | fi |
---|
5765 | done |
---|
5766 | IFS="$ac_save_ifs" |
---|
5767 | test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" |
---|
5768 | ;; |
---|
5769 | esac |
---|
5770 | fi |
---|
5771 | MSGFMT="$ac_cv_path_MSGFMT" |
---|
5772 | if test "$MSGFMT" != "no"; then |
---|
5773 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 |
---|
5774 | $as_echo "$MSGFMT" >&6; } |
---|
5775 | else |
---|
5776 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
5777 | $as_echo "no" >&6; } |
---|
5778 | fi |
---|
5779 | if test "$MSGFMT" != "no"; then |
---|
5780 | glib_save_LIBS="$LIBS" |
---|
5781 | LIBS="$LIBS $INTLLIBS" |
---|
5782 | for ac_func in dcgettext |
---|
5783 | do : |
---|
5784 | ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" |
---|
5785 | if test "x$ac_cv_func_dcgettext" = xyes; then : |
---|
5786 | cat >>confdefs.h <<_ACEOF |
---|
5787 | #define HAVE_DCGETTEXT 1 |
---|
5788 | _ACEOF |
---|
5789 | |
---|
5790 | fi |
---|
5791 | done |
---|
5792 | |
---|
5793 | MSGFMT_OPTS= |
---|
5794 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 |
---|
5795 | $as_echo_n "checking if msgfmt accepts -c... " >&6; } |
---|
5796 | cat >conftest.foo <<_ACEOF |
---|
5797 | |
---|
5798 | msgid "" |
---|
5799 | msgstr "" |
---|
5800 | "Content-Type: text/plain; charset=UTF-8\n" |
---|
5801 | "Project-Id-Version: test 1.0\n" |
---|
5802 | "PO-Revision-Date: 2007-02-15 12:01+0100\n" |
---|
5803 | "Last-Translator: test <foo@bar.xx>\n" |
---|
5804 | "Language-Team: C <LL@li.org>\n" |
---|
5805 | "MIME-Version: 1.0\n" |
---|
5806 | "Content-Transfer-Encoding: 8bit\n" |
---|
5807 | |
---|
5808 | _ACEOF |
---|
5809 | if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 |
---|
5810 | ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 |
---|
5811 | ac_status=$? |
---|
5812 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
5813 | test $ac_status = 0; }; then |
---|
5814 | MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
5815 | $as_echo "yes" >&6; } |
---|
5816 | else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
5817 | $as_echo "no" >&6; } |
---|
5818 | echo "$as_me: failed input was:" >&5 |
---|
5819 | sed 's/^/| /' conftest.foo >&5 |
---|
5820 | fi |
---|
5821 | |
---|
5822 | # Extract the first word of "gmsgfmt", so it can be a program name with args. |
---|
5823 | set dummy gmsgfmt; ac_word=$2 |
---|
5824 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
5825 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
5826 | if ${ac_cv_path_GMSGFMT+:} false; then : |
---|
5827 | $as_echo_n "(cached) " >&6 |
---|
5828 | else |
---|
5829 | case $GMSGFMT in |
---|
5830 | [\\/]* | ?:[\\/]*) |
---|
5831 | ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
---|
5832 | ;; |
---|
5833 | *) |
---|
5834 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
5835 | for as_dir in $PATH |
---|
5836 | do |
---|
5837 | IFS=$as_save_IFS |
---|
5838 | test -z "$as_dir" && as_dir=. |
---|
5839 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
5840 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
5841 | ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
---|
5842 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
5843 | break 2 |
---|
5844 | fi |
---|
5845 | done |
---|
5846 | done |
---|
5847 | IFS=$as_save_IFS |
---|
5848 | |
---|
5849 | test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
---|
5850 | ;; |
---|
5851 | esac |
---|
5852 | fi |
---|
5853 | GMSGFMT=$ac_cv_path_GMSGFMT |
---|
5854 | if test -n "$GMSGFMT"; then |
---|
5855 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 |
---|
5856 | $as_echo "$GMSGFMT" >&6; } |
---|
5857 | else |
---|
5858 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
5859 | $as_echo "no" >&6; } |
---|
5860 | fi |
---|
5861 | |
---|
5862 | |
---|
5863 | # Extract the first word of "xgettext", so it can be a program name with args. |
---|
5864 | set dummy xgettext; ac_word=$2 |
---|
5865 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
5866 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
5867 | if ${ac_cv_path_XGETTEXT+:} false; then : |
---|
5868 | $as_echo_n "(cached) " >&6 |
---|
5869 | else |
---|
5870 | case "$XGETTEXT" in |
---|
5871 | /*) |
---|
5872 | ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
---|
5873 | ;; |
---|
5874 | *) |
---|
5875 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
5876 | for ac_dir in $PATH; do |
---|
5877 | test -z "$ac_dir" && ac_dir=. |
---|
5878 | if test -f $ac_dir/$ac_word; then |
---|
5879 | if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then |
---|
5880 | ac_cv_path_XGETTEXT="$ac_dir/$ac_word" |
---|
5881 | break |
---|
5882 | fi |
---|
5883 | fi |
---|
5884 | done |
---|
5885 | IFS="$ac_save_ifs" |
---|
5886 | test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" |
---|
5887 | ;; |
---|
5888 | esac |
---|
5889 | fi |
---|
5890 | XGETTEXT="$ac_cv_path_XGETTEXT" |
---|
5891 | if test "$XGETTEXT" != ":"; then |
---|
5892 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 |
---|
5893 | $as_echo "$XGETTEXT" >&6; } |
---|
5894 | else |
---|
5895 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
5896 | $as_echo "no" >&6; } |
---|
5897 | fi |
---|
5898 | |
---|
5899 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
5900 | /* end confdefs.h. */ |
---|
5901 | |
---|
5902 | int |
---|
5903 | main () |
---|
5904 | { |
---|
5905 | extern int _nl_msg_cat_cntr; |
---|
5906 | return _nl_msg_cat_cntr |
---|
5907 | ; |
---|
5908 | return 0; |
---|
5909 | } |
---|
5910 | _ACEOF |
---|
5911 | if ac_fn_c_try_link "$LINENO"; then : |
---|
5912 | CATOBJEXT=.gmo |
---|
5913 | DATADIRNAME=share |
---|
5914 | else |
---|
5915 | case $host in |
---|
5916 | *-*-solaris*) |
---|
5917 | ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" |
---|
5918 | if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : |
---|
5919 | CATOBJEXT=.gmo |
---|
5920 | DATADIRNAME=share |
---|
5921 | else |
---|
5922 | CATOBJEXT=.mo |
---|
5923 | DATADIRNAME=lib |
---|
5924 | fi |
---|
5925 | |
---|
5926 | ;; |
---|
5927 | *-*-openbsd*) |
---|
5928 | CATOBJEXT=.mo |
---|
5929 | DATADIRNAME=share |
---|
5930 | ;; |
---|
5931 | *) |
---|
5932 | CATOBJEXT=.mo |
---|
5933 | DATADIRNAME=lib |
---|
5934 | ;; |
---|
5935 | esac |
---|
5936 | fi |
---|
5937 | rm -f core conftest.err conftest.$ac_objext \ |
---|
5938 | conftest$ac_exeext conftest.$ac_ext |
---|
5939 | LIBS="$glib_save_LIBS" |
---|
5940 | INSTOBJEXT=.mo |
---|
5941 | else |
---|
5942 | gt_cv_have_gettext=no |
---|
5943 | fi |
---|
5944 | fi |
---|
5945 | |
---|
5946 | fi |
---|
5947 | |
---|
5948 | |
---|
5949 | |
---|
5950 | if test "$gt_cv_have_gettext" = "yes" ; then |
---|
5951 | |
---|
5952 | $as_echo "#define ENABLE_NLS 1" >>confdefs.h |
---|
5953 | |
---|
5954 | fi |
---|
5955 | |
---|
5956 | if test "$XGETTEXT" != ":"; then |
---|
5957 | if $XGETTEXT --omit-header /dev/null 2> /dev/null; then |
---|
5958 | : ; |
---|
5959 | else |
---|
5960 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 |
---|
5961 | $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } |
---|
5962 | XGETTEXT=":" |
---|
5963 | fi |
---|
5964 | fi |
---|
5965 | |
---|
5966 | # We need to process the po/ directory. |
---|
5967 | POSUB=po |
---|
5968 | |
---|
5969 | ac_config_commands="$ac_config_commands default-1" |
---|
5970 | |
---|
5971 | |
---|
5972 | for lang in $ALL_LINGUAS; do |
---|
5973 | GMOFILES="$GMOFILES $lang.gmo" |
---|
5974 | POFILES="$POFILES $lang.po" |
---|
5975 | done |
---|
5976 | |
---|
5977 | |
---|
5978 | |
---|
5979 | |
---|
5980 | |
---|
5981 | |
---|
5982 | |
---|
5983 | |
---|
5984 | |
---|
5985 | |
---|
5986 | |
---|
5987 | |
---|
5988 | |
---|
5989 | if test "$gt_cv_have_gettext" = "yes"; then |
---|
5990 | if test "x$ALL_LINGUAS" = "x"; then |
---|
5991 | LINGUAS= |
---|
5992 | else |
---|
5993 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 |
---|
5994 | $as_echo_n "checking for catalogs to be installed... " >&6; } |
---|
5995 | NEW_LINGUAS= |
---|
5996 | for presentlang in $ALL_LINGUAS; do |
---|
5997 | useit=no |
---|
5998 | if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then |
---|
5999 | desiredlanguages="$LINGUAS" |
---|
6000 | else |
---|
6001 | desiredlanguages="$ALL_LINGUAS" |
---|
6002 | fi |
---|
6003 | for desiredlang in $desiredlanguages; do |
---|
6004 | # Use the presentlang catalog if desiredlang is |
---|
6005 | # a. equal to presentlang, or |
---|
6006 | # b. a variant of presentlang (because in this case, |
---|
6007 | # presentlang can be used as a fallback for messages |
---|
6008 | # which are not translated in the desiredlang catalog). |
---|
6009 | case "$desiredlang" in |
---|
6010 | "$presentlang"*) useit=yes;; |
---|
6011 | esac |
---|
6012 | done |
---|
6013 | if test $useit = yes; then |
---|
6014 | NEW_LINGUAS="$NEW_LINGUAS $presentlang" |
---|
6015 | fi |
---|
6016 | done |
---|
6017 | LINGUAS=$NEW_LINGUAS |
---|
6018 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 |
---|
6019 | $as_echo "$LINGUAS" >&6; } |
---|
6020 | fi |
---|
6021 | |
---|
6022 | if test -n "$LINGUAS"; then |
---|
6023 | for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done |
---|
6024 | fi |
---|
6025 | fi |
---|
6026 | |
---|
6027 | MKINSTALLDIRS= |
---|
6028 | if test -n "$ac_aux_dir"; then |
---|
6029 | MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" |
---|
6030 | fi |
---|
6031 | if test -z "$MKINSTALLDIRS"; then |
---|
6032 | MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" |
---|
6033 | fi |
---|
6034 | |
---|
6035 | |
---|
6036 | test -d po || mkdir po |
---|
6037 | if test "x$srcdir" != "x."; then |
---|
6038 | if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then |
---|
6039 | posrcprefix="$srcdir/" |
---|
6040 | else |
---|
6041 | posrcprefix="../$srcdir/" |
---|
6042 | fi |
---|
6043 | else |
---|
6044 | posrcprefix="../" |
---|
6045 | fi |
---|
6046 | rm -f po/POTFILES |
---|
6047 | sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ |
---|
6048 | < $srcdir/po/POTFILES.in > po/POTFILES |
---|
6049 | |
---|
6050 | |
---|
6051 | ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile data/Makefile" |
---|
6052 | |
---|
6053 | cat >confcache <<\_ACEOF |
---|
6054 | # This file is a shell script that caches the results of configure |
---|
6055 | # tests run on this system so they can be shared between configure |
---|
6056 | # scripts and configure runs, see configure's option --config-cache. |
---|
6057 | # It is not useful on other systems. If it contains results you don't |
---|
6058 | # want to keep, you may remove or edit it. |
---|
6059 | # |
---|
6060 | # config.status only pays attention to the cache file if you give it |
---|
6061 | # the --recheck option to rerun configure. |
---|
6062 | # |
---|
6063 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
6064 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
6065 | # following values. |
---|
6066 | |
---|
6067 | _ACEOF |
---|
6068 | |
---|
6069 | # The following way of writing the cache mishandles newlines in values, |
---|
6070 | # but we know of no workaround that is simple, portable, and efficient. |
---|
6071 | # So, we kill variables containing newlines. |
---|
6072 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
6073 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
6074 | ( |
---|
6075 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
---|
6076 | eval ac_val=\$$ac_var |
---|
6077 | case $ac_val in #( |
---|
6078 | *${as_nl}*) |
---|
6079 | case $ac_var in #( |
---|
6080 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
6081 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
6082 | esac |
---|
6083 | case $ac_var in #( |
---|
6084 | _ | IFS | as_nl) ;; #( |
---|
6085 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
6086 | *) { eval $ac_var=; unset $ac_var;} ;; |
---|
6087 | esac ;; |
---|
6088 | esac |
---|
6089 | done |
---|
6090 | |
---|
6091 | (set) 2>&1 | |
---|
6092 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
---|
6093 | *${as_nl}ac_space=\ *) |
---|
6094 | # `set' does not quote correctly, so add quotes: double-quote |
---|
6095 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
---|
6096 | sed -n \ |
---|
6097 | "s/'/'\\\\''/g; |
---|
6098 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
6099 | ;; #( |
---|
6100 | *) |
---|
6101 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
6102 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
6103 | ;; |
---|
6104 | esac | |
---|
6105 | sort |
---|
6106 | ) | |
---|
6107 | sed ' |
---|
6108 | /^ac_cv_env_/b end |
---|
6109 | t clear |
---|
6110 | :clear |
---|
6111 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
6112 | t end |
---|
6113 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
6114 | :end' >>confcache |
---|
6115 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
---|
6116 | if test -w "$cache_file"; then |
---|
6117 | if test "x$cache_file" != "x/dev/null"; then |
---|
6118 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
---|
6119 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
---|
6120 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
---|
6121 | cat confcache >"$cache_file" |
---|
6122 | else |
---|
6123 | case $cache_file in #( |
---|
6124 | */* | ?:*) |
---|
6125 | mv -f confcache "$cache_file"$$ && |
---|
6126 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
---|
6127 | *) |
---|
6128 | mv -f confcache "$cache_file" ;; |
---|
6129 | esac |
---|
6130 | fi |
---|
6131 | fi |
---|
6132 | else |
---|
6133 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
---|
6134 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
---|
6135 | fi |
---|
6136 | fi |
---|
6137 | rm -f confcache |
---|
6138 | |
---|
6139 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
6140 | # Let make expand exec_prefix. |
---|
6141 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
6142 | |
---|
6143 | DEFS=-DHAVE_CONFIG_H |
---|
6144 | |
---|
6145 | ac_libobjs= |
---|
6146 | ac_ltlibobjs= |
---|
6147 | U= |
---|
6148 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
6149 | # 1. Remove the extension, and $U if already installed. |
---|
6150 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
---|
6151 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
---|
6152 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
---|
6153 | # will be set to the directory where LIBOBJS objects are built. |
---|
6154 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
---|
6155 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
---|
6156 | done |
---|
6157 | LIBOBJS=$ac_libobjs |
---|
6158 | |
---|
6159 | LTLIBOBJS=$ac_ltlibobjs |
---|
6160 | |
---|
6161 | |
---|
6162 | if test -n "$EXEEXT"; then |
---|
6163 | am__EXEEXT_TRUE= |
---|
6164 | am__EXEEXT_FALSE='#' |
---|
6165 | else |
---|
6166 | am__EXEEXT_TRUE='#' |
---|
6167 | am__EXEEXT_FALSE= |
---|
6168 | fi |
---|
6169 | |
---|
6170 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
---|
6171 | as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
---|
6172 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
6173 | fi |
---|
6174 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
---|
6175 | as_fn_error $? "conditional \"AMDEP\" was never defined. |
---|
6176 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
6177 | fi |
---|
6178 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
---|
6179 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
---|
6180 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
6181 | fi |
---|
6182 | |
---|
6183 | ac_config_commands="$ac_config_commands po/stamp-it" |
---|
6184 | |
---|
6185 | |
---|
6186 | |
---|
6187 | : "${CONFIG_STATUS=./config.status}" |
---|
6188 | ac_write_fail=0 |
---|
6189 | ac_clean_files_save=$ac_clean_files |
---|
6190 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
6191 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
---|
6192 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
6193 | as_write_fail=0 |
---|
6194 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
---|
6195 | #! $SHELL |
---|
6196 | # Generated by $as_me. |
---|
6197 | # Run this file to recreate the current configuration. |
---|
6198 | # Compiler output produced by configure, useful for debugging |
---|
6199 | # configure, is in config.log if it exists. |
---|
6200 | |
---|
6201 | debug=false |
---|
6202 | ac_cs_recheck=false |
---|
6203 | ac_cs_silent=false |
---|
6204 | |
---|
6205 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
6206 | export SHELL |
---|
6207 | _ASEOF |
---|
6208 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
---|
6209 | ## -------------------- ## |
---|
6210 | ## M4sh Initialization. ## |
---|
6211 | ## -------------------- ## |
---|
6212 | |
---|
6213 | # Be more Bourne compatible |
---|
6214 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
6215 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
---|
6216 | emulate sh |
---|
6217 | NULLCMD=: |
---|
6218 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
6219 | # is contrary to our usage. Disable this feature. |
---|
6220 | alias -g '${1+"$@"}'='"$@"' |
---|
6221 | setopt NO_GLOB_SUBST |
---|
6222 | else |
---|
6223 | case `(set -o) 2>/dev/null` in #( |
---|
6224 | *posix*) : |
---|
6225 | set -o posix ;; #( |
---|
6226 | *) : |
---|
6227 | ;; |
---|
6228 | esac |
---|
6229 | fi |
---|
6230 | |
---|
6231 | |
---|
6232 | as_nl=' |
---|
6233 | ' |
---|
6234 | export as_nl |
---|
6235 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
6236 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
6237 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
6238 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
6239 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
---|
6240 | # but without wasting forks for bash or zsh. |
---|
6241 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
---|
6242 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
6243 | as_echo='print -r --' |
---|
6244 | as_echo_n='print -rn --' |
---|
6245 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
6246 | as_echo='printf %s\n' |
---|
6247 | as_echo_n='printf %s' |
---|
6248 | else |
---|
6249 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
6250 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
6251 | as_echo_n='/usr/ucb/echo -n' |
---|
6252 | else |
---|
6253 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
6254 | as_echo_n_body='eval |
---|
6255 | arg=$1; |
---|
6256 | case $arg in #( |
---|
6257 | *"$as_nl"*) |
---|
6258 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
6259 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
6260 | esac; |
---|
6261 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
6262 | ' |
---|
6263 | export as_echo_n_body |
---|
6264 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
6265 | fi |
---|
6266 | export as_echo_body |
---|
6267 | as_echo='sh -c $as_echo_body as_echo' |
---|
6268 | fi |
---|
6269 | |
---|
6270 | # The user is always right. |
---|
6271 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
6272 | PATH_SEPARATOR=: |
---|
6273 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
6274 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
6275 | PATH_SEPARATOR=';' |
---|
6276 | } |
---|
6277 | fi |
---|
6278 | |
---|
6279 | |
---|
6280 | # IFS |
---|
6281 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
6282 | # there to prevent editors from complaining about space-tab. |
---|
6283 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
6284 | # splitting by setting IFS to empty value.) |
---|
6285 | IFS=" "" $as_nl" |
---|
6286 | |
---|
6287 | # Find who we are. Look in the path if we contain no directory separator. |
---|
6288 | as_myself= |
---|
6289 | case $0 in #(( |
---|
6290 | *[\\/]* ) as_myself=$0 ;; |
---|
6291 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
6292 | for as_dir in $PATH |
---|
6293 | do |
---|
6294 | IFS=$as_save_IFS |
---|
6295 | test -z "$as_dir" && as_dir=. |
---|
6296 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
6297 | done |
---|
6298 | IFS=$as_save_IFS |
---|
6299 | |
---|
6300 | ;; |
---|
6301 | esac |
---|
6302 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
6303 | # in which case we are not to be found in the path. |
---|
6304 | if test "x$as_myself" = x; then |
---|
6305 | as_myself=$0 |
---|
6306 | fi |
---|
6307 | if test ! -f "$as_myself"; then |
---|
6308 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
6309 | exit 1 |
---|
6310 | fi |
---|
6311 | |
---|
6312 | # Unset variables that we do not need and which cause bugs (e.g. in |
---|
6313 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
---|
6314 | # suppresses any "Segmentation fault" message there. '((' could |
---|
6315 | # trigger a bug in pdksh 5.2.14. |
---|
6316 | for as_var in BASH_ENV ENV MAIL MAILPATH |
---|
6317 | do eval test x\${$as_var+set} = xset \ |
---|
6318 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
---|
6319 | done |
---|
6320 | PS1='$ ' |
---|
6321 | PS2='> ' |
---|
6322 | PS4='+ ' |
---|
6323 | |
---|
6324 | # NLS nuisances. |
---|
6325 | LC_ALL=C |
---|
6326 | export LC_ALL |
---|
6327 | LANGUAGE=C |
---|
6328 | export LANGUAGE |
---|
6329 | |
---|
6330 | # CDPATH. |
---|
6331 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
---|
6332 | |
---|
6333 | |
---|
6334 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
---|
6335 | # ---------------------------------------- |
---|
6336 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
6337 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
6338 | # script with STATUS, using 1 if that was 0. |
---|
6339 | as_fn_error () |
---|
6340 | { |
---|
6341 | as_status=$1; test $as_status -eq 0 && as_status=1 |
---|
6342 | if test "$4"; then |
---|
6343 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
6344 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
---|
6345 | fi |
---|
6346 | $as_echo "$as_me: error: $2" >&2 |
---|
6347 | as_fn_exit $as_status |
---|
6348 | } # as_fn_error |
---|
6349 | |
---|
6350 | |
---|
6351 | # as_fn_set_status STATUS |
---|
6352 | # ----------------------- |
---|
6353 | # Set $? to STATUS, without forking. |
---|
6354 | as_fn_set_status () |
---|
6355 | { |
---|
6356 | return $1 |
---|
6357 | } # as_fn_set_status |
---|
6358 | |
---|
6359 | # as_fn_exit STATUS |
---|
6360 | # ----------------- |
---|
6361 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
6362 | as_fn_exit () |
---|
6363 | { |
---|
6364 | set +e |
---|
6365 | as_fn_set_status $1 |
---|
6366 | exit $1 |
---|
6367 | } # as_fn_exit |
---|
6368 | |
---|
6369 | # as_fn_unset VAR |
---|
6370 | # --------------- |
---|
6371 | # Portably unset VAR. |
---|
6372 | as_fn_unset () |
---|
6373 | { |
---|
6374 | { eval $1=; unset $1;} |
---|
6375 | } |
---|
6376 | as_unset=as_fn_unset |
---|
6377 | # as_fn_append VAR VALUE |
---|
6378 | # ---------------------- |
---|
6379 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
6380 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
6381 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
6382 | # implementations. |
---|
6383 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
6384 | eval 'as_fn_append () |
---|
6385 | { |
---|
6386 | eval $1+=\$2 |
---|
6387 | }' |
---|
6388 | else |
---|
6389 | as_fn_append () |
---|
6390 | { |
---|
6391 | eval $1=\$$1\$2 |
---|
6392 | } |
---|
6393 | fi # as_fn_append |
---|
6394 | |
---|
6395 | # as_fn_arith ARG... |
---|
6396 | # ------------------ |
---|
6397 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
6398 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
6399 | # must be portable across $(()) and expr. |
---|
6400 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
6401 | eval 'as_fn_arith () |
---|
6402 | { |
---|
6403 | as_val=$(( $* )) |
---|
6404 | }' |
---|
6405 | else |
---|
6406 | as_fn_arith () |
---|
6407 | { |
---|
6408 | as_val=`expr "$@" || test $? -eq 1` |
---|
6409 | } |
---|
6410 | fi # as_fn_arith |
---|
6411 | |
---|
6412 | |
---|
6413 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
6414 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
6415 | as_expr=expr |
---|
6416 | else |
---|
6417 | as_expr=false |
---|
6418 | fi |
---|
6419 | |
---|
6420 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
6421 | as_basename=basename |
---|
6422 | else |
---|
6423 | as_basename=false |
---|
6424 | fi |
---|
6425 | |
---|
6426 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
6427 | as_dirname=dirname |
---|
6428 | else |
---|
6429 | as_dirname=false |
---|
6430 | fi |
---|
6431 | |
---|
6432 | as_me=`$as_basename -- "$0" || |
---|
6433 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
6434 | X"$0" : 'X\(//\)$' \| \ |
---|
6435 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
6436 | $as_echo X/"$0" | |
---|
6437 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
6438 | s//\1/ |
---|
6439 | q |
---|
6440 | } |
---|
6441 | /^X\/\(\/\/\)$/{ |
---|
6442 | s//\1/ |
---|
6443 | q |
---|
6444 | } |
---|
6445 | /^X\/\(\/\).*/{ |
---|
6446 | s//\1/ |
---|
6447 | q |
---|
6448 | } |
---|
6449 | s/.*/./; q'` |
---|
6450 | |
---|
6451 | # Avoid depending upon Character Ranges. |
---|
6452 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
6453 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
6454 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
6455 | as_cr_digits='0123456789' |
---|
6456 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
6457 | |
---|
6458 | ECHO_C= ECHO_N= ECHO_T= |
---|
6459 | case `echo -n x` in #((((( |
---|
6460 | -n*) |
---|
6461 | case `echo 'xy\c'` in |
---|
6462 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
6463 | xy) ECHO_C='\c';; |
---|
6464 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
6465 | ECHO_T=' ';; |
---|
6466 | esac;; |
---|
6467 | *) |
---|
6468 | ECHO_N='-n';; |
---|
6469 | esac |
---|
6470 | |
---|
6471 | rm -f conf$$ conf$$.exe conf$$.file |
---|
6472 | if test -d conf$$.dir; then |
---|
6473 | rm -f conf$$.dir/conf$$.file |
---|
6474 | else |
---|
6475 | rm -f conf$$.dir |
---|
6476 | mkdir conf$$.dir 2>/dev/null |
---|
6477 | fi |
---|
6478 | if (echo >conf$$.file) 2>/dev/null; then |
---|
6479 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
6480 | as_ln_s='ln -s' |
---|
6481 | # ... but there are two gotchas: |
---|
6482 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
6483 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
6484 | # In both cases, we have to default to `cp -p'. |
---|
6485 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
6486 | as_ln_s='cp -p' |
---|
6487 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
6488 | as_ln_s=ln |
---|
6489 | else |
---|
6490 | as_ln_s='cp -p' |
---|
6491 | fi |
---|
6492 | else |
---|
6493 | as_ln_s='cp -p' |
---|
6494 | fi |
---|
6495 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
6496 | rmdir conf$$.dir 2>/dev/null |
---|
6497 | |
---|
6498 | |
---|
6499 | # as_fn_mkdir_p |
---|
6500 | # ------------- |
---|
6501 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
6502 | as_fn_mkdir_p () |
---|
6503 | { |
---|
6504 | |
---|
6505 | case $as_dir in #( |
---|
6506 | -*) as_dir=./$as_dir;; |
---|
6507 | esac |
---|
6508 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
6509 | as_dirs= |
---|
6510 | while :; do |
---|
6511 | case $as_dir in #( |
---|
6512 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
6513 | *) as_qdir=$as_dir;; |
---|
6514 | esac |
---|
6515 | as_dirs="'$as_qdir' $as_dirs" |
---|
6516 | as_dir=`$as_dirname -- "$as_dir" || |
---|
6517 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
6518 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
6519 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
6520 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
6521 | $as_echo X"$as_dir" | |
---|
6522 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
6523 | s//\1/ |
---|
6524 | q |
---|
6525 | } |
---|
6526 | /^X\(\/\/\)[^/].*/{ |
---|
6527 | s//\1/ |
---|
6528 | q |
---|
6529 | } |
---|
6530 | /^X\(\/\/\)$/{ |
---|
6531 | s//\1/ |
---|
6532 | q |
---|
6533 | } |
---|
6534 | /^X\(\/\).*/{ |
---|
6535 | s//\1/ |
---|
6536 | q |
---|
6537 | } |
---|
6538 | s/.*/./; q'` |
---|
6539 | test -d "$as_dir" && break |
---|
6540 | done |
---|
6541 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
6542 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
---|
6543 | |
---|
6544 | |
---|
6545 | } # as_fn_mkdir_p |
---|
6546 | if mkdir -p . 2>/dev/null; then |
---|
6547 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
6548 | else |
---|
6549 | test -d ./-p && rmdir ./-p |
---|
6550 | as_mkdir_p=false |
---|
6551 | fi |
---|
6552 | |
---|
6553 | if test -x / >/dev/null 2>&1; then |
---|
6554 | as_test_x='test -x' |
---|
6555 | else |
---|
6556 | if ls -dL / >/dev/null 2>&1; then |
---|
6557 | as_ls_L_option=L |
---|
6558 | else |
---|
6559 | as_ls_L_option= |
---|
6560 | fi |
---|
6561 | as_test_x=' |
---|
6562 | eval sh -c '\'' |
---|
6563 | if test -d "$1"; then |
---|
6564 | test -d "$1/."; |
---|
6565 | else |
---|
6566 | case $1 in #( |
---|
6567 | -*)set "./$1";; |
---|
6568 | esac; |
---|
6569 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
---|
6570 | ???[sx]*):;;*)false;;esac;fi |
---|
6571 | '\'' sh |
---|
6572 | ' |
---|
6573 | fi |
---|
6574 | as_executable_p=$as_test_x |
---|
6575 | |
---|
6576 | # Sed expression to map a string onto a valid CPP name. |
---|
6577 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
6578 | |
---|
6579 | # Sed expression to map a string onto a valid variable name. |
---|
6580 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
6581 | |
---|
6582 | |
---|
6583 | exec 6>&1 |
---|
6584 | ## ----------------------------------- ## |
---|
6585 | ## Main body of $CONFIG_STATUS script. ## |
---|
6586 | ## ----------------------------------- ## |
---|
6587 | _ASEOF |
---|
6588 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
---|
6589 | |
---|
6590 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
6591 | # Save the log message, to keep $0 and so on meaningful, and to |
---|
6592 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
6593 | # values after options handling. |
---|
6594 | ac_log=" |
---|
6595 | This file was extended by vine-notify-update $as_me 0.5, which was |
---|
6596 | generated by GNU Autoconf 2.68. Invocation command line was |
---|
6597 | |
---|
6598 | CONFIG_FILES = $CONFIG_FILES |
---|
6599 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
6600 | CONFIG_LINKS = $CONFIG_LINKS |
---|
6601 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
6602 | $ $0 $@ |
---|
6603 | |
---|
6604 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
6605 | " |
---|
6606 | |
---|
6607 | _ACEOF |
---|
6608 | |
---|
6609 | case $ac_config_files in *" |
---|
6610 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
---|
6611 | esac |
---|
6612 | |
---|
6613 | case $ac_config_headers in *" |
---|
6614 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
---|
6615 | esac |
---|
6616 | |
---|
6617 | |
---|
6618 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
6619 | # Files that config.status was made for. |
---|
6620 | config_files="$ac_config_files" |
---|
6621 | config_headers="$ac_config_headers" |
---|
6622 | config_commands="$ac_config_commands" |
---|
6623 | |
---|
6624 | _ACEOF |
---|
6625 | |
---|
6626 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
6627 | ac_cs_usage="\ |
---|
6628 | \`$as_me' instantiates files and other configuration actions |
---|
6629 | from templates according to the current configuration. Unless the files |
---|
6630 | and actions are specified as TAGs, all are instantiated by default. |
---|
6631 | |
---|
6632 | Usage: $0 [OPTION]... [TAG]... |
---|
6633 | |
---|
6634 | -h, --help print this help, then exit |
---|
6635 | -V, --version print version number and configuration settings, then exit |
---|
6636 | --config print configuration, then exit |
---|
6637 | -q, --quiet, --silent |
---|
6638 | do not print progress messages |
---|
6639 | -d, --debug don't remove temporary files |
---|
6640 | --recheck update $as_me by reconfiguring in the same conditions |
---|
6641 | --file=FILE[:TEMPLATE] |
---|
6642 | instantiate the configuration file FILE |
---|
6643 | --header=FILE[:TEMPLATE] |
---|
6644 | instantiate the configuration header FILE |
---|
6645 | |
---|
6646 | Configuration files: |
---|
6647 | $config_files |
---|
6648 | |
---|
6649 | Configuration headers: |
---|
6650 | $config_headers |
---|
6651 | |
---|
6652 | Configuration commands: |
---|
6653 | $config_commands |
---|
6654 | |
---|
6655 | Report bugs to the package provider." |
---|
6656 | |
---|
6657 | _ACEOF |
---|
6658 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
6659 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
---|
6660 | ac_cs_version="\\ |
---|
6661 | vine-notify-update config.status 0.5 |
---|
6662 | configured by $0, generated by GNU Autoconf 2.68, |
---|
6663 | with options \\"\$ac_cs_config\\" |
---|
6664 | |
---|
6665 | Copyright (C) 2010 Free Software Foundation, Inc. |
---|
6666 | This config.status script is free software; the Free Software Foundation |
---|
6667 | gives unlimited permission to copy, distribute and modify it." |
---|
6668 | |
---|
6669 | ac_pwd='$ac_pwd' |
---|
6670 | srcdir='$srcdir' |
---|
6671 | INSTALL='$INSTALL' |
---|
6672 | MKDIR_P='$MKDIR_P' |
---|
6673 | AWK='$AWK' |
---|
6674 | test -n "\$AWK" || AWK=awk |
---|
6675 | _ACEOF |
---|
6676 | |
---|
6677 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
6678 | # The default lists apply if the user does not specify any file. |
---|
6679 | ac_need_defaults=: |
---|
6680 | while test $# != 0 |
---|
6681 | do |
---|
6682 | case $1 in |
---|
6683 | --*=?*) |
---|
6684 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
6685 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
---|
6686 | ac_shift=: |
---|
6687 | ;; |
---|
6688 | --*=) |
---|
6689 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
6690 | ac_optarg= |
---|
6691 | ac_shift=: |
---|
6692 | ;; |
---|
6693 | *) |
---|
6694 | ac_option=$1 |
---|
6695 | ac_optarg=$2 |
---|
6696 | ac_shift=shift |
---|
6697 | ;; |
---|
6698 | esac |
---|
6699 | |
---|
6700 | case $ac_option in |
---|
6701 | # Handling of the options. |
---|
6702 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
6703 | ac_cs_recheck=: ;; |
---|
6704 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
---|
6705 | $as_echo "$ac_cs_version"; exit ;; |
---|
6706 | --config | --confi | --conf | --con | --co | --c ) |
---|
6707 | $as_echo "$ac_cs_config"; exit ;; |
---|
6708 | --debug | --debu | --deb | --de | --d | -d ) |
---|
6709 | debug=: ;; |
---|
6710 | --file | --fil | --fi | --f ) |
---|
6711 | $ac_shift |
---|
6712 | case $ac_optarg in |
---|
6713 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
6714 | '') as_fn_error $? "missing file argument" ;; |
---|
6715 | esac |
---|
6716 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
---|
6717 | ac_need_defaults=false;; |
---|
6718 | --header | --heade | --head | --hea ) |
---|
6719 | $ac_shift |
---|
6720 | case $ac_optarg in |
---|
6721 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
6722 | esac |
---|
6723 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
---|
6724 | ac_need_defaults=false;; |
---|
6725 | --he | --h) |
---|
6726 | # Conflict between --help and --header |
---|
6727 | as_fn_error $? "ambiguous option: \`$1' |
---|
6728 | Try \`$0 --help' for more information.";; |
---|
6729 | --help | --hel | -h ) |
---|
6730 | $as_echo "$ac_cs_usage"; exit ;; |
---|
6731 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
6732 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
6733 | ac_cs_silent=: ;; |
---|
6734 | |
---|
6735 | # This is an error. |
---|
6736 | -*) as_fn_error $? "unrecognized option: \`$1' |
---|
6737 | Try \`$0 --help' for more information." ;; |
---|
6738 | |
---|
6739 | *) as_fn_append ac_config_targets " $1" |
---|
6740 | ac_need_defaults=false ;; |
---|
6741 | |
---|
6742 | esac |
---|
6743 | shift |
---|
6744 | done |
---|
6745 | |
---|
6746 | ac_configure_extra_args= |
---|
6747 | |
---|
6748 | if $ac_cs_silent; then |
---|
6749 | exec 6>/dev/null |
---|
6750 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
6751 | fi |
---|
6752 | |
---|
6753 | _ACEOF |
---|
6754 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
6755 | if \$ac_cs_recheck; then |
---|
6756 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
6757 | shift |
---|
6758 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
---|
6759 | CONFIG_SHELL='$SHELL' |
---|
6760 | export CONFIG_SHELL |
---|
6761 | exec "\$@" |
---|
6762 | fi |
---|
6763 | |
---|
6764 | _ACEOF |
---|
6765 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
6766 | exec 5>>config.log |
---|
6767 | { |
---|
6768 | echo |
---|
6769 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
6770 | ## Running $as_me. ## |
---|
6771 | _ASBOX |
---|
6772 | $as_echo "$ac_log" |
---|
6773 | } >&5 |
---|
6774 | |
---|
6775 | _ACEOF |
---|
6776 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
6777 | # |
---|
6778 | # INIT-COMMANDS |
---|
6779 | # |
---|
6780 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
---|
6781 | |
---|
6782 | |
---|
6783 | _ACEOF |
---|
6784 | |
---|
6785 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
6786 | |
---|
6787 | # Handling of arguments. |
---|
6788 | for ac_config_target in $ac_config_targets |
---|
6789 | do |
---|
6790 | case $ac_config_target in |
---|
6791 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
---|
6792 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
---|
6793 | "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; |
---|
6794 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
6795 | "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; |
---|
6796 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
---|
6797 | "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; |
---|
6798 | "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; |
---|
6799 | |
---|
6800 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
---|
6801 | esac |
---|
6802 | done |
---|
6803 | |
---|
6804 | |
---|
6805 | # If the user did not use the arguments to specify the items to instantiate, |
---|
6806 | # then the envvar interface is used. Set only those that are not. |
---|
6807 | # We use the long form for the default assignment because of an extremely |
---|
6808 | # bizarre bug on SunOS 4.1.3. |
---|
6809 | if $ac_need_defaults; then |
---|
6810 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
6811 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
---|
6812 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
---|
6813 | fi |
---|
6814 | |
---|
6815 | # Have a temporary directory for convenience. Make it in the build tree |
---|
6816 | # simply because there is no reason against having it here, and in addition, |
---|
6817 | # creating and moving files from /tmp can sometimes cause problems. |
---|
6818 | # Hook for its removal unless debugging. |
---|
6819 | # Note that there is a small window in which the directory will not be cleaned: |
---|
6820 | # after its creation but before its name has been assigned to `$tmp'. |
---|
6821 | $debug || |
---|
6822 | { |
---|
6823 | tmp= ac_tmp= |
---|
6824 | trap 'exit_status=$? |
---|
6825 | : "${ac_tmp:=$tmp}" |
---|
6826 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
---|
6827 | ' 0 |
---|
6828 | trap 'as_fn_exit 1' 1 2 13 15 |
---|
6829 | } |
---|
6830 | # Create a (secure) tmp directory for tmp files. |
---|
6831 | |
---|
6832 | { |
---|
6833 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
---|
6834 | test -d "$tmp" |
---|
6835 | } || |
---|
6836 | { |
---|
6837 | tmp=./conf$$-$RANDOM |
---|
6838 | (umask 077 && mkdir "$tmp") |
---|
6839 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
---|
6840 | ac_tmp=$tmp |
---|
6841 | |
---|
6842 | # Set up the scripts for CONFIG_FILES section. |
---|
6843 | # No need to generate them if there are no CONFIG_FILES. |
---|
6844 | # This happens for instance with `./config.status config.h'. |
---|
6845 | if test -n "$CONFIG_FILES"; then |
---|
6846 | |
---|
6847 | |
---|
6848 | ac_cr=`echo X | tr X '\015'` |
---|
6849 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
---|
6850 | # But we know of no other shell where ac_cr would be empty at this |
---|
6851 | # point, so we can use a bashism as a fallback. |
---|
6852 | if test "x$ac_cr" = x; then |
---|
6853 | eval ac_cr=\$\'\\r\' |
---|
6854 | fi |
---|
6855 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
---|
6856 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
---|
6857 | ac_cs_awk_cr='\\r' |
---|
6858 | else |
---|
6859 | ac_cs_awk_cr=$ac_cr |
---|
6860 | fi |
---|
6861 | |
---|
6862 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
---|
6863 | _ACEOF |
---|
6864 | |
---|
6865 | |
---|
6866 | { |
---|
6867 | echo "cat >conf$$subs.awk <<_ACEOF" && |
---|
6868 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
---|
6869 | echo "_ACEOF" |
---|
6870 | } >conf$$subs.sh || |
---|
6871 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
6872 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
---|
6873 | ac_delim='%!_!# ' |
---|
6874 | for ac_last_try in false false false false false :; do |
---|
6875 | . ./conf$$subs.sh || |
---|
6876 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
6877 | |
---|
6878 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
---|
6879 | if test $ac_delim_n = $ac_delim_num; then |
---|
6880 | break |
---|
6881 | elif $ac_last_try; then |
---|
6882 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
6883 | else |
---|
6884 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
6885 | fi |
---|
6886 | done |
---|
6887 | rm -f conf$$subs.sh |
---|
6888 | |
---|
6889 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
6890 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
---|
6891 | _ACEOF |
---|
6892 | sed -n ' |
---|
6893 | h |
---|
6894 | s/^/S["/; s/!.*/"]=/ |
---|
6895 | p |
---|
6896 | g |
---|
6897 | s/^[^!]*!// |
---|
6898 | :repl |
---|
6899 | t repl |
---|
6900 | s/'"$ac_delim"'$// |
---|
6901 | t delim |
---|
6902 | :nl |
---|
6903 | h |
---|
6904 | s/\(.\{148\}\)..*/\1/ |
---|
6905 | t more1 |
---|
6906 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
---|
6907 | p |
---|
6908 | n |
---|
6909 | b repl |
---|
6910 | :more1 |
---|
6911 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
6912 | p |
---|
6913 | g |
---|
6914 | s/.\{148\}// |
---|
6915 | t nl |
---|
6916 | :delim |
---|
6917 | h |
---|
6918 | s/\(.\{148\}\)..*/\1/ |
---|
6919 | t more2 |
---|
6920 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
---|
6921 | p |
---|
6922 | b |
---|
6923 | :more2 |
---|
6924 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
6925 | p |
---|
6926 | g |
---|
6927 | s/.\{148\}// |
---|
6928 | t delim |
---|
6929 | ' <conf$$subs.awk | sed ' |
---|
6930 | /^[^""]/{ |
---|
6931 | N |
---|
6932 | s/\n// |
---|
6933 | } |
---|
6934 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
---|
6935 | rm -f conf$$subs.awk |
---|
6936 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
6937 | _ACAWK |
---|
6938 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
---|
6939 | for (key in S) S_is_set[key] = 1 |
---|
6940 | FS = "" |
---|
6941 | |
---|
6942 | } |
---|
6943 | { |
---|
6944 | line = $ 0 |
---|
6945 | nfields = split(line, field, "@") |
---|
6946 | substed = 0 |
---|
6947 | len = length(field[1]) |
---|
6948 | for (i = 2; i < nfields; i++) { |
---|
6949 | key = field[i] |
---|
6950 | keylen = length(key) |
---|
6951 | if (S_is_set[key]) { |
---|
6952 | value = S[key] |
---|
6953 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
---|
6954 | len += length(value) + length(field[++i]) |
---|
6955 | substed = 1 |
---|
6956 | } else |
---|
6957 | len += 1 + keylen |
---|
6958 | } |
---|
6959 | |
---|
6960 | print line |
---|
6961 | } |
---|
6962 | |
---|
6963 | _ACAWK |
---|
6964 | _ACEOF |
---|
6965 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
6966 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
---|
6967 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
---|
6968 | else |
---|
6969 | cat |
---|
6970 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
---|
6971 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
---|
6972 | _ACEOF |
---|
6973 | |
---|
6974 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
---|
6975 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
---|
6976 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
6977 | # (actually we leave an empty line to preserve line numbers). |
---|
6978 | if test "x$srcdir" = x.; then |
---|
6979 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
---|
6980 | h |
---|
6981 | s/// |
---|
6982 | s/^/:/ |
---|
6983 | s/[ ]*$/:/ |
---|
6984 | s/:\$(srcdir):/:/g |
---|
6985 | s/:\${srcdir}:/:/g |
---|
6986 | s/:@srcdir@:/:/g |
---|
6987 | s/^:*// |
---|
6988 | s/:*$// |
---|
6989 | x |
---|
6990 | s/\(=[ ]*\).*/\1/ |
---|
6991 | G |
---|
6992 | s/\n// |
---|
6993 | s/^[^=]*=[ ]*$// |
---|
6994 | }' |
---|
6995 | fi |
---|
6996 | |
---|
6997 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
6998 | fi # test -n "$CONFIG_FILES" |
---|
6999 | |
---|
7000 | # Set up the scripts for CONFIG_HEADERS section. |
---|
7001 | # No need to generate them if there are no CONFIG_HEADERS. |
---|
7002 | # This happens for instance with `./config.status Makefile'. |
---|
7003 | if test -n "$CONFIG_HEADERS"; then |
---|
7004 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
---|
7005 | BEGIN { |
---|
7006 | _ACEOF |
---|
7007 | |
---|
7008 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
---|
7009 | # here-document in config.status, that substitutes the proper values into |
---|
7010 | # config.h.in to produce config.h. |
---|
7011 | |
---|
7012 | # Create a delimiter string that does not exist in confdefs.h, to ease |
---|
7013 | # handling of long lines. |
---|
7014 | ac_delim='%!_!# ' |
---|
7015 | for ac_last_try in false false :; do |
---|
7016 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
---|
7017 | if test -z "$ac_tt"; then |
---|
7018 | break |
---|
7019 | elif $ac_last_try; then |
---|
7020 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
---|
7021 | else |
---|
7022 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
7023 | fi |
---|
7024 | done |
---|
7025 | |
---|
7026 | # For the awk script, D is an array of macro values keyed by name, |
---|
7027 | # likewise P contains macro parameters if any. Preserve backslash |
---|
7028 | # newline sequences. |
---|
7029 | |
---|
7030 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
---|
7031 | sed -n ' |
---|
7032 | s/.\{148\}/&'"$ac_delim"'/g |
---|
7033 | t rset |
---|
7034 | :rset |
---|
7035 | s/^[ ]*#[ ]*define[ ][ ]*/ / |
---|
7036 | t def |
---|
7037 | d |
---|
7038 | :def |
---|
7039 | s/\\$// |
---|
7040 | t bsnl |
---|
7041 | s/["\\]/\\&/g |
---|
7042 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
---|
7043 | D["\1"]=" \3"/p |
---|
7044 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
---|
7045 | d |
---|
7046 | :bsnl |
---|
7047 | s/["\\]/\\&/g |
---|
7048 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
---|
7049 | D["\1"]=" \3\\\\\\n"\\/p |
---|
7050 | t cont |
---|
7051 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
---|
7052 | t cont |
---|
7053 | d |
---|
7054 | :cont |
---|
7055 | n |
---|
7056 | s/.\{148\}/&'"$ac_delim"'/g |
---|
7057 | t clear |
---|
7058 | :clear |
---|
7059 | s/\\$// |
---|
7060 | t bsnlc |
---|
7061 | s/["\\]/\\&/g; s/^/"/; s/$/"/p |
---|
7062 | d |
---|
7063 | :bsnlc |
---|
7064 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
---|
7065 | b cont |
---|
7066 | ' <confdefs.h | sed ' |
---|
7067 | s/'"$ac_delim"'/"\\\ |
---|
7068 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 |
---|
7069 | |
---|
7070 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
7071 | for (key in D) D_is_set[key] = 1 |
---|
7072 | FS = "" |
---|
7073 | } |
---|
7074 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
---|
7075 | line = \$ 0 |
---|
7076 | split(line, arg, " ") |
---|
7077 | if (arg[1] == "#") { |
---|
7078 | defundef = arg[2] |
---|
7079 | mac1 = arg[3] |
---|
7080 | } else { |
---|
7081 | defundef = substr(arg[1], 2) |
---|
7082 | mac1 = arg[2] |
---|
7083 | } |
---|
7084 | split(mac1, mac2, "(") #) |
---|
7085 | macro = mac2[1] |
---|
7086 | prefix = substr(line, 1, index(line, defundef) - 1) |
---|
7087 | if (D_is_set[macro]) { |
---|
7088 | # Preserve the white space surrounding the "#". |
---|
7089 | print prefix "define", macro P[macro] D[macro] |
---|
7090 | next |
---|
7091 | } else { |
---|
7092 | # Replace #undef with comments. This is necessary, for example, |
---|
7093 | # in the case of _POSIX_SOURCE, which is predefined and required |
---|
7094 | # on some systems where configure will not decide to define it. |
---|
7095 | if (defundef == "undef") { |
---|
7096 | print "/*", prefix defundef, macro, "*/" |
---|
7097 | next |
---|
7098 | } |
---|
7099 | } |
---|
7100 | } |
---|
7101 | { print } |
---|
7102 | _ACAWK |
---|
7103 | _ACEOF |
---|
7104 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
7105 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
---|
7106 | fi # test -n "$CONFIG_HEADERS" |
---|
7107 | |
---|
7108 | |
---|
7109 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
---|
7110 | shift |
---|
7111 | for ac_tag |
---|
7112 | do |
---|
7113 | case $ac_tag in |
---|
7114 | :[FHLC]) ac_mode=$ac_tag; continue;; |
---|
7115 | esac |
---|
7116 | case $ac_mode$ac_tag in |
---|
7117 | :[FHL]*:*);; |
---|
7118 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
---|
7119 | :[FH]-) ac_tag=-:-;; |
---|
7120 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
---|
7121 | esac |
---|
7122 | ac_save_IFS=$IFS |
---|
7123 | IFS=: |
---|
7124 | set x $ac_tag |
---|
7125 | IFS=$ac_save_IFS |
---|
7126 | shift |
---|
7127 | ac_file=$1 |
---|
7128 | shift |
---|
7129 | |
---|
7130 | case $ac_mode in |
---|
7131 | :L) ac_source=$1;; |
---|
7132 | :[FH]) |
---|
7133 | ac_file_inputs= |
---|
7134 | for ac_f |
---|
7135 | do |
---|
7136 | case $ac_f in |
---|
7137 | -) ac_f="$ac_tmp/stdin";; |
---|
7138 | *) # Look for the file first in the build tree, then in the source tree |
---|
7139 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
---|
7140 | # because $ac_f cannot contain `:'. |
---|
7141 | test -f "$ac_f" || |
---|
7142 | case $ac_f in |
---|
7143 | [\\/$]*) false;; |
---|
7144 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
---|
7145 | esac || |
---|
7146 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
---|
7147 | esac |
---|
7148 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
---|
7149 | as_fn_append ac_file_inputs " '$ac_f'" |
---|
7150 | done |
---|
7151 | |
---|
7152 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
7153 | # use $as_me), people would be surprised to read: |
---|
7154 | # /* config.h. Generated by config.status. */ |
---|
7155 | configure_input='Generated from '` |
---|
7156 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
---|
7157 | `' by configure.' |
---|
7158 | if test x"$ac_file" != x-; then |
---|
7159 | configure_input="$ac_file. $configure_input" |
---|
7160 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
---|
7161 | $as_echo "$as_me: creating $ac_file" >&6;} |
---|
7162 | fi |
---|
7163 | # Neutralize special characters interpreted by sed in replacement strings. |
---|
7164 | case $configure_input in #( |
---|
7165 | *\&* | *\|* | *\\* ) |
---|
7166 | ac_sed_conf_input=`$as_echo "$configure_input" | |
---|
7167 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
---|
7168 | *) ac_sed_conf_input=$configure_input;; |
---|
7169 | esac |
---|
7170 | |
---|
7171 | case $ac_tag in |
---|
7172 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
---|
7173 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
---|
7174 | esac |
---|
7175 | ;; |
---|
7176 | esac |
---|
7177 | |
---|
7178 | ac_dir=`$as_dirname -- "$ac_file" || |
---|
7179 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
7180 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
7181 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
7182 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
---|
7183 | $as_echo X"$ac_file" | |
---|
7184 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
7185 | s//\1/ |
---|
7186 | q |
---|
7187 | } |
---|
7188 | /^X\(\/\/\)[^/].*/{ |
---|
7189 | s//\1/ |
---|
7190 | q |
---|
7191 | } |
---|
7192 | /^X\(\/\/\)$/{ |
---|
7193 | s//\1/ |
---|
7194 | q |
---|
7195 | } |
---|
7196 | /^X\(\/\).*/{ |
---|
7197 | s//\1/ |
---|
7198 | q |
---|
7199 | } |
---|
7200 | s/.*/./; q'` |
---|
7201 | as_dir="$ac_dir"; as_fn_mkdir_p |
---|
7202 | ac_builddir=. |
---|
7203 | |
---|
7204 | case "$ac_dir" in |
---|
7205 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
7206 | *) |
---|
7207 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
7208 | # A ".." for each directory in $ac_dir_suffix. |
---|
7209 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
7210 | case $ac_top_builddir_sub in |
---|
7211 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
7212 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
7213 | esac ;; |
---|
7214 | esac |
---|
7215 | ac_abs_top_builddir=$ac_pwd |
---|
7216 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
7217 | # for backward compatibility: |
---|
7218 | ac_top_builddir=$ac_top_build_prefix |
---|
7219 | |
---|
7220 | case $srcdir in |
---|
7221 | .) # We are building in place. |
---|
7222 | ac_srcdir=. |
---|
7223 | ac_top_srcdir=$ac_top_builddir_sub |
---|
7224 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
7225 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
7226 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
7227 | ac_top_srcdir=$srcdir |
---|
7228 | ac_abs_top_srcdir=$srcdir ;; |
---|
7229 | *) # Relative name. |
---|
7230 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
7231 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
7232 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
7233 | esac |
---|
7234 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
7235 | |
---|
7236 | |
---|
7237 | case $ac_mode in |
---|
7238 | :F) |
---|
7239 | # |
---|
7240 | # CONFIG_FILE |
---|
7241 | # |
---|
7242 | |
---|
7243 | case $INSTALL in |
---|
7244 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
---|
7245 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
---|
7246 | esac |
---|
7247 | ac_MKDIR_P=$MKDIR_P |
---|
7248 | case $MKDIR_P in |
---|
7249 | [\\/$]* | ?:[\\/]* ) ;; |
---|
7250 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
---|
7251 | esac |
---|
7252 | _ACEOF |
---|
7253 | |
---|
7254 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
7255 | # If the template does not know about datarootdir, expand it. |
---|
7256 | # FIXME: This hack should be removed a few years after 2.60. |
---|
7257 | ac_datarootdir_hack=; ac_datarootdir_seen= |
---|
7258 | ac_sed_dataroot=' |
---|
7259 | /datarootdir/ { |
---|
7260 | p |
---|
7261 | q |
---|
7262 | } |
---|
7263 | /@datadir@/p |
---|
7264 | /@docdir@/p |
---|
7265 | /@infodir@/p |
---|
7266 | /@localedir@/p |
---|
7267 | /@mandir@/p' |
---|
7268 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
---|
7269 | *datarootdir*) ac_datarootdir_seen=yes;; |
---|
7270 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
---|
7271 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
---|
7272 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
---|
7273 | _ACEOF |
---|
7274 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
7275 | ac_datarootdir_hack=' |
---|
7276 | s&@datadir@&$datadir&g |
---|
7277 | s&@docdir@&$docdir&g |
---|
7278 | s&@infodir@&$infodir&g |
---|
7279 | s&@localedir@&$localedir&g |
---|
7280 | s&@mandir@&$mandir&g |
---|
7281 | s&\\\${datarootdir}&$datarootdir&g' ;; |
---|
7282 | esac |
---|
7283 | _ACEOF |
---|
7284 | |
---|
7285 | # Neutralize VPATH when `$srcdir' = `.'. |
---|
7286 | # Shell code in configure.ac might set extrasub. |
---|
7287 | # FIXME: do we really want to maintain this feature? |
---|
7288 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
7289 | ac_sed_extra="$ac_vpsub |
---|
7290 | $extrasub |
---|
7291 | _ACEOF |
---|
7292 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
7293 | :t |
---|
7294 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
7295 | s|@configure_input@|$ac_sed_conf_input|;t t |
---|
7296 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
---|
7297 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
---|
7298 | s&@srcdir@&$ac_srcdir&;t t |
---|
7299 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
---|
7300 | s&@top_srcdir@&$ac_top_srcdir&;t t |
---|
7301 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
---|
7302 | s&@builddir@&$ac_builddir&;t t |
---|
7303 | s&@abs_builddir@&$ac_abs_builddir&;t t |
---|
7304 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
---|
7305 | s&@INSTALL@&$ac_INSTALL&;t t |
---|
7306 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
---|
7307 | $ac_datarootdir_hack |
---|
7308 | " |
---|
7309 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
---|
7310 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
7311 | |
---|
7312 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
---|
7313 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
---|
7314 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
---|
7315 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
---|
7316 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
7317 | which seems to be undefined. Please make sure it is defined" >&5 |
---|
7318 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
7319 | which seems to be undefined. Please make sure it is defined" >&2;} |
---|
7320 | |
---|
7321 | rm -f "$ac_tmp/stdin" |
---|
7322 | case $ac_file in |
---|
7323 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
---|
7324 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
---|
7325 | esac \ |
---|
7326 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
7327 | ;; |
---|
7328 | :H) |
---|
7329 | # |
---|
7330 | # CONFIG_HEADER |
---|
7331 | # |
---|
7332 | if test x"$ac_file" != x-; then |
---|
7333 | { |
---|
7334 | $as_echo "/* $configure_input */" \ |
---|
7335 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
---|
7336 | } >"$ac_tmp/config.h" \ |
---|
7337 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
7338 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
---|
7339 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
---|
7340 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
---|
7341 | else |
---|
7342 | rm -f "$ac_file" |
---|
7343 | mv "$ac_tmp/config.h" "$ac_file" \ |
---|
7344 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
7345 | fi |
---|
7346 | else |
---|
7347 | $as_echo "/* $configure_input */" \ |
---|
7348 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
---|
7349 | || as_fn_error $? "could not create -" "$LINENO" 5 |
---|
7350 | fi |
---|
7351 | # Compute "$ac_file"'s index in $config_headers. |
---|
7352 | _am_arg="$ac_file" |
---|
7353 | _am_stamp_count=1 |
---|
7354 | for _am_header in $config_headers :; do |
---|
7355 | case $_am_header in |
---|
7356 | $_am_arg | $_am_arg:* ) |
---|
7357 | break ;; |
---|
7358 | * ) |
---|
7359 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
---|
7360 | esac |
---|
7361 | done |
---|
7362 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
---|
7363 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
7364 | X"$_am_arg" : 'X\(//\)[^/]' \| \ |
---|
7365 | X"$_am_arg" : 'X\(//\)$' \| \ |
---|
7366 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
---|
7367 | $as_echo X"$_am_arg" | |
---|
7368 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
7369 | s//\1/ |
---|
7370 | q |
---|
7371 | } |
---|
7372 | /^X\(\/\/\)[^/].*/{ |
---|
7373 | s//\1/ |
---|
7374 | q |
---|
7375 | } |
---|
7376 | /^X\(\/\/\)$/{ |
---|
7377 | s//\1/ |
---|
7378 | q |
---|
7379 | } |
---|
7380 | /^X\(\/\).*/{ |
---|
7381 | s//\1/ |
---|
7382 | q |
---|
7383 | } |
---|
7384 | s/.*/./; q'`/stamp-h$_am_stamp_count |
---|
7385 | ;; |
---|
7386 | |
---|
7387 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
---|
7388 | $as_echo "$as_me: executing $ac_file commands" >&6;} |
---|
7389 | ;; |
---|
7390 | esac |
---|
7391 | |
---|
7392 | |
---|
7393 | case $ac_file$ac_mode in |
---|
7394 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
---|
7395 | # Autoconf 2.62 quotes --file arguments for eval, but not when files |
---|
7396 | # are listed without --file. Let's play safe and only enable the eval |
---|
7397 | # if we detect the quoting. |
---|
7398 | case $CONFIG_FILES in |
---|
7399 | *\'*) eval set x "$CONFIG_FILES" ;; |
---|
7400 | *) set x $CONFIG_FILES ;; |
---|
7401 | esac |
---|
7402 | shift |
---|
7403 | for mf |
---|
7404 | do |
---|
7405 | # Strip MF so we end up with the name of the file. |
---|
7406 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
---|
7407 | # Check whether this is an Automake generated Makefile or not. |
---|
7408 | # We used to match only the files named `Makefile.in', but |
---|
7409 | # some people rename them; so instead we look at the file content. |
---|
7410 | # Grep'ing the first line is not enough: some people post-process |
---|
7411 | # each Makefile.in and add a new line on top of each file to say so. |
---|
7412 | # Grep'ing the whole file is not good either: AIX grep has a line |
---|
7413 | # limit of 2048, but all sed's we know have understand at least 4000. |
---|
7414 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
---|
7415 | dirpart=`$as_dirname -- "$mf" || |
---|
7416 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
7417 | X"$mf" : 'X\(//\)[^/]' \| \ |
---|
7418 | X"$mf" : 'X\(//\)$' \| \ |
---|
7419 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
---|
7420 | $as_echo X"$mf" | |
---|
7421 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
7422 | s//\1/ |
---|
7423 | q |
---|
7424 | } |
---|
7425 | /^X\(\/\/\)[^/].*/{ |
---|
7426 | s//\1/ |
---|
7427 | q |
---|
7428 | } |
---|
7429 | /^X\(\/\/\)$/{ |
---|
7430 | s//\1/ |
---|
7431 | q |
---|
7432 | } |
---|
7433 | /^X\(\/\).*/{ |
---|
7434 | s//\1/ |
---|
7435 | q |
---|
7436 | } |
---|
7437 | s/.*/./; q'` |
---|
7438 | else |
---|
7439 | continue |
---|
7440 | fi |
---|
7441 | # Extract the definition of DEPDIR, am__include, and am__quote |
---|
7442 | # from the Makefile without running `make'. |
---|
7443 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
---|
7444 | test -z "$DEPDIR" && continue |
---|
7445 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
---|
7446 | test -z "am__include" && continue |
---|
7447 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
---|
7448 | # When using ansi2knr, U may be empty or an underscore; expand it |
---|
7449 | U=`sed -n 's/^U = //p' < "$mf"` |
---|
7450 | # Find all dependency output files, they are included files with |
---|
7451 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
---|
7452 | # simplest approach to changing $(DEPDIR) to its actual value in the |
---|
7453 | # expansion. |
---|
7454 | for file in `sed -n " |
---|
7455 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
---|
7456 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
---|
7457 | # Make sure the directory exists. |
---|
7458 | test -f "$dirpart/$file" && continue |
---|
7459 | fdir=`$as_dirname -- "$file" || |
---|
7460 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
7461 | X"$file" : 'X\(//\)[^/]' \| \ |
---|
7462 | X"$file" : 'X\(//\)$' \| \ |
---|
7463 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
---|
7464 | $as_echo X"$file" | |
---|
7465 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
7466 | s//\1/ |
---|
7467 | q |
---|
7468 | } |
---|
7469 | /^X\(\/\/\)[^/].*/{ |
---|
7470 | s//\1/ |
---|
7471 | q |
---|
7472 | } |
---|
7473 | /^X\(\/\/\)$/{ |
---|
7474 | s//\1/ |
---|
7475 | q |
---|
7476 | } |
---|
7477 | /^X\(\/\).*/{ |
---|
7478 | s//\1/ |
---|
7479 | q |
---|
7480 | } |
---|
7481 | s/.*/./; q'` |
---|
7482 | as_dir=$dirpart/$fdir; as_fn_mkdir_p |
---|
7483 | # echo "creating $dirpart/$file" |
---|
7484 | echo '# dummy' > "$dirpart/$file" |
---|
7485 | done |
---|
7486 | done |
---|
7487 | } |
---|
7488 | ;; |
---|
7489 | "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) |
---|
7490 | sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile |
---|
7491 | esac ;; |
---|
7492 | "po/stamp-it":C) |
---|
7493 | if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then |
---|
7494 | as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 |
---|
7495 | fi |
---|
7496 | rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" |
---|
7497 | >"po/stamp-it.tmp" |
---|
7498 | sed '/^#/d |
---|
7499 | s/^[[].*] *// |
---|
7500 | /^[ ]*$/d |
---|
7501 | '"s|^| $ac_top_srcdir/|" \ |
---|
7502 | "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" |
---|
7503 | |
---|
7504 | sed '/^POTFILES =/,/[^\\]$/ { |
---|
7505 | /^POTFILES =/!d |
---|
7506 | r po/POTFILES |
---|
7507 | } |
---|
7508 | ' "po/Makefile.in" >"po/Makefile" |
---|
7509 | rm -f "po/Makefile.tmp" |
---|
7510 | mv "po/stamp-it.tmp" "po/stamp-it" |
---|
7511 | ;; |
---|
7512 | |
---|
7513 | esac |
---|
7514 | done # for ac_tag |
---|
7515 | |
---|
7516 | |
---|
7517 | as_fn_exit 0 |
---|
7518 | _ACEOF |
---|
7519 | ac_clean_files=$ac_clean_files_save |
---|
7520 | |
---|
7521 | test $ac_write_fail = 0 || |
---|
7522 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
---|
7523 | |
---|
7524 | |
---|
7525 | # configure is writing to config.log, and then calls config.status. |
---|
7526 | # config.status does its own redirection, appending to config.log. |
---|
7527 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
7528 | # by configure, so config.status won't be able to write to it; its |
---|
7529 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
7530 | # effectively closing config.log, so it can be properly (re)opened and |
---|
7531 | # appended to by config.status. When coming back to configure, we |
---|
7532 | # need to make the FD available again. |
---|
7533 | if test "$no_create" != yes; then |
---|
7534 | ac_cs_success=: |
---|
7535 | ac_config_status_args= |
---|
7536 | test "$silent" = yes && |
---|
7537 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
7538 | exec 5>/dev/null |
---|
7539 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
7540 | exec 5>>config.log |
---|
7541 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
7542 | # would make configure fail if this is the last instruction. |
---|
7543 | $ac_cs_success || as_fn_exit 1 |
---|
7544 | fi |
---|
7545 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
---|
7546 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
---|
7547 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
---|
7548 | fi |
---|
7549 | |
---|
7550 | |
---|