1 | #! /bin/sh |
---|
2 | # Guess values for system-dependent variables and create Makefiles. |
---|
3 | # Generated by GNU Autoconf 2.59. |
---|
4 | # |
---|
5 | # Copyright (C) 2003 Free Software Foundation, Inc. |
---|
6 | # This configure script is free software; the Free Software Foundation |
---|
7 | # gives unlimited permission to copy, distribute and modify it. |
---|
8 | ## --------------------- ## |
---|
9 | ## M4sh Initialization. ## |
---|
10 | ## --------------------- ## |
---|
11 | |
---|
12 | # Be Bourne compatible |
---|
13 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
14 | emulate sh |
---|
15 | NULLCMD=: |
---|
16 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
17 | # is contrary to our usage. Disable this feature. |
---|
18 | alias -g '${1+"$@"}'='"$@"' |
---|
19 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
---|
20 | set -o posix |
---|
21 | fi |
---|
22 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
23 | |
---|
24 | # Support unset when possible. |
---|
25 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
26 | as_unset=unset |
---|
27 | else |
---|
28 | as_unset=false |
---|
29 | fi |
---|
30 | |
---|
31 | |
---|
32 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
33 | $as_unset ENV MAIL MAILPATH |
---|
34 | PS1='$ ' |
---|
35 | PS2='> ' |
---|
36 | PS4='+ ' |
---|
37 | |
---|
38 | # NLS nuisances. |
---|
39 | for as_var in \ |
---|
40 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
41 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
42 | LC_TELEPHONE LC_TIME |
---|
43 | do |
---|
44 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
45 | eval $as_var=C; export $as_var |
---|
46 | else |
---|
47 | $as_unset $as_var |
---|
48 | fi |
---|
49 | done |
---|
50 | |
---|
51 | # Required to use basename. |
---|
52 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
53 | as_expr=expr |
---|
54 | else |
---|
55 | as_expr=false |
---|
56 | fi |
---|
57 | |
---|
58 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
---|
59 | as_basename=basename |
---|
60 | else |
---|
61 | as_basename=false |
---|
62 | fi |
---|
63 | |
---|
64 | |
---|
65 | # Name of the executable. |
---|
66 | as_me=`$as_basename "$0" || |
---|
67 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
68 | X"$0" : 'X\(//\)$' \| \ |
---|
69 | X"$0" : 'X\(/\)$' \| \ |
---|
70 | . : '\(.\)' 2>/dev/null || |
---|
71 | echo X/"$0" | |
---|
72 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
---|
73 | /^X\/\(\/\/\)$/{ s//\1/; q; } |
---|
74 | /^X\/\(\/\).*/{ s//\1/; q; } |
---|
75 | s/.*/./; q'` |
---|
76 | |
---|
77 | |
---|
78 | # PATH needs CR, and LINENO needs CR and PATH. |
---|
79 | # Avoid depending upon Character Ranges. |
---|
80 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
81 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
82 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
83 | as_cr_digits='0123456789' |
---|
84 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
85 | |
---|
86 | # The user is always right. |
---|
87 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
88 | echo "#! /bin/sh" >conf$$.sh |
---|
89 | echo "exit 0" >>conf$$.sh |
---|
90 | chmod +x conf$$.sh |
---|
91 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
92 | PATH_SEPARATOR=';' |
---|
93 | else |
---|
94 | PATH_SEPARATOR=: |
---|
95 | fi |
---|
96 | rm -f conf$$.sh |
---|
97 | fi |
---|
98 | |
---|
99 | |
---|
100 | as_lineno_1=$LINENO |
---|
101 | as_lineno_2=$LINENO |
---|
102 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
103 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
104 | test "x$as_lineno_3" = "x$as_lineno_2" || { |
---|
105 | # Find who we are. Look in the path if we contain no path at all |
---|
106 | # relative or not. |
---|
107 | case $0 in |
---|
108 | *[\\/]* ) as_myself=$0 ;; |
---|
109 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
110 | for as_dir in $PATH |
---|
111 | do |
---|
112 | IFS=$as_save_IFS |
---|
113 | test -z "$as_dir" && as_dir=. |
---|
114 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
115 | done |
---|
116 | |
---|
117 | ;; |
---|
118 | esac |
---|
119 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
120 | # in which case we are not to be found in the path. |
---|
121 | if test "x$as_myself" = x; then |
---|
122 | as_myself=$0 |
---|
123 | fi |
---|
124 | if test ! -f "$as_myself"; then |
---|
125 | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
---|
126 | { (exit 1); exit 1; }; } |
---|
127 | fi |
---|
128 | case $CONFIG_SHELL in |
---|
129 | '') |
---|
130 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
131 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
132 | do |
---|
133 | IFS=$as_save_IFS |
---|
134 | test -z "$as_dir" && as_dir=. |
---|
135 | for as_base in sh bash ksh sh5; do |
---|
136 | case $as_dir in |
---|
137 | /*) |
---|
138 | if ("$as_dir/$as_base" -c ' |
---|
139 | as_lineno_1=$LINENO |
---|
140 | as_lineno_2=$LINENO |
---|
141 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
142 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
143 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
---|
144 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
---|
145 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
---|
146 | CONFIG_SHELL=$as_dir/$as_base |
---|
147 | export CONFIG_SHELL |
---|
148 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
---|
149 | fi;; |
---|
150 | esac |
---|
151 | done |
---|
152 | done |
---|
153 | ;; |
---|
154 | esac |
---|
155 | |
---|
156 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
157 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
158 | # line-number line before each line; the second 'sed' does the real |
---|
159 | # work. The second script uses 'N' to pair each line-number line |
---|
160 | # with the numbered line, and appends trailing '-' during |
---|
161 | # substitution so that $LINENO is not a special case at line end. |
---|
162 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
163 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
---|
164 | sed '=' <$as_myself | |
---|
165 | sed ' |
---|
166 | N |
---|
167 | s,$,-, |
---|
168 | : loop |
---|
169 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
---|
170 | t loop |
---|
171 | s,-$,, |
---|
172 | s,^['$as_cr_digits']*\n,, |
---|
173 | ' >$as_me.lineno && |
---|
174 | chmod +x $as_me.lineno || |
---|
175 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
---|
176 | { (exit 1); exit 1; }; } |
---|
177 | |
---|
178 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
179 | # (the dirname of $[0] is not the place where we might find the |
---|
180 | # original and so on. Autoconf is especially sensible to this). |
---|
181 | . ./$as_me.lineno |
---|
182 | # Exit status is that of the last command. |
---|
183 | exit |
---|
184 | } |
---|
185 | |
---|
186 | |
---|
187 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
---|
188 | *c*,-n*) ECHO_N= ECHO_C=' |
---|
189 | ' ECHO_T=' ' ;; |
---|
190 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
---|
191 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
---|
192 | esac |
---|
193 | |
---|
194 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
195 | as_expr=expr |
---|
196 | else |
---|
197 | as_expr=false |
---|
198 | fi |
---|
199 | |
---|
200 | rm -f conf$$ conf$$.exe conf$$.file |
---|
201 | echo >conf$$.file |
---|
202 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
203 | # We could just check for DJGPP; but this test a) works b) is more generic |
---|
204 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
---|
205 | if test -f conf$$.exe; then |
---|
206 | # Don't use ln at all; we don't have any links |
---|
207 | as_ln_s='cp -p' |
---|
208 | else |
---|
209 | as_ln_s='ln -s' |
---|
210 | fi |
---|
211 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
212 | as_ln_s=ln |
---|
213 | else |
---|
214 | as_ln_s='cp -p' |
---|
215 | fi |
---|
216 | rm -f conf$$ conf$$.exe conf$$.file |
---|
217 | |
---|
218 | if mkdir -p . 2>/dev/null; then |
---|
219 | as_mkdir_p=: |
---|
220 | else |
---|
221 | test -d ./-p && rmdir ./-p |
---|
222 | as_mkdir_p=false |
---|
223 | fi |
---|
224 | |
---|
225 | as_executable_p="test -f" |
---|
226 | |
---|
227 | # Sed expression to map a string onto a valid CPP name. |
---|
228 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
229 | |
---|
230 | # Sed expression to map a string onto a valid variable name. |
---|
231 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
232 | |
---|
233 | |
---|
234 | # IFS |
---|
235 | # We need space, tab and new line, in precisely that order. |
---|
236 | as_nl=' |
---|
237 | ' |
---|
238 | IFS=" $as_nl" |
---|
239 | |
---|
240 | # CDPATH. |
---|
241 | $as_unset CDPATH |
---|
242 | |
---|
243 | |
---|
244 | # Name of the host. |
---|
245 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
---|
246 | # so uname gets run too. |
---|
247 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
248 | |
---|
249 | exec 6>&1 |
---|
250 | |
---|
251 | # |
---|
252 | # Initializations. |
---|
253 | # |
---|
254 | ac_default_prefix=/usr/local |
---|
255 | ac_config_libobj_dir=. |
---|
256 | cross_compiling=no |
---|
257 | subdirs= |
---|
258 | MFLAGS= |
---|
259 | MAKEFLAGS= |
---|
260 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
261 | |
---|
262 | # Maximum number of lines to put in a shell here document. |
---|
263 | # This variable seems obsolete. It should probably be removed, and |
---|
264 | # only ac_max_sed_lines should be used. |
---|
265 | : ${ac_max_here_lines=38} |
---|
266 | |
---|
267 | # Identity of this package. |
---|
268 | PACKAGE_NAME= |
---|
269 | PACKAGE_TARNAME= |
---|
270 | PACKAGE_VERSION= |
---|
271 | PACKAGE_STRING= |
---|
272 | PACKAGE_BUGREPORT= |
---|
273 | |
---|
274 | ac_unique_file="src/bug-buddy.c" |
---|
275 | # Factoring default headers for most tests. |
---|
276 | ac_includes_default="\ |
---|
277 | #include <stdio.h> |
---|
278 | #if HAVE_SYS_TYPES_H |
---|
279 | # include <sys/types.h> |
---|
280 | #endif |
---|
281 | #if HAVE_SYS_STAT_H |
---|
282 | # include <sys/stat.h> |
---|
283 | #endif |
---|
284 | #if STDC_HEADERS |
---|
285 | # include <stdlib.h> |
---|
286 | # include <stddef.h> |
---|
287 | #else |
---|
288 | # if HAVE_STDLIB_H |
---|
289 | # include <stdlib.h> |
---|
290 | # endif |
---|
291 | #endif |
---|
292 | #if HAVE_STRING_H |
---|
293 | # if !STDC_HEADERS && HAVE_MEMORY_H |
---|
294 | # include <memory.h> |
---|
295 | # endif |
---|
296 | # include <string.h> |
---|
297 | #endif |
---|
298 | #if HAVE_STRINGS_H |
---|
299 | # include <strings.h> |
---|
300 | #endif |
---|
301 | #if HAVE_INTTYPES_H |
---|
302 | # include <inttypes.h> |
---|
303 | #else |
---|
304 | # if HAVE_STDINT_H |
---|
305 | # include <stdint.h> |
---|
306 | # endif |
---|
307 | #endif |
---|
308 | #if HAVE_UNISTD_H |
---|
309 | # include <unistd.h> |
---|
310 | #endif" |
---|
311 | |
---|
312 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT INTLTOOL_DESKTOP_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_KEYS_RULE INTLTOOL_PROP_RULE INTLTOOL_OAF_RULE INTLTOOL_PONG_RULE INTLTOOL_SERVER_RULE INTLTOOL_SHEET_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_UI_RULE INTLTOOL_XAM_RULE INTLTOOL_KBD_RULE INTLTOOL_XML_RULE INTLTOOL_CAVES_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_THEME_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL GCONFTOOL GCONF_SCHEMA_CONFIG_SOURCE GCONF_SCHEMA_FILE_DIR GCONF_SCHEMAS_INSTALL_TRUE GCONF_SCHEMAS_INSTALL_FALSE SCROLLKEEPER_REQUIRED SCROLLKEEPER_CONFIG CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP PKG_CONFIG BUG_BUDDY_CFLAGS BUG_BUDDY_LIBS GNOME_CRASH_CFLAGS GNOME_CRASH_LIBS GETTEXT_PACKAGE USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS GLIB_GENMARSHAL ENABLE_DEPRECATIONS_TRUE ENABLE_DEPRECATIONS_FALSE LIBOBJS LTLIBOBJS' |
---|
313 | ac_subst_files='' |
---|
314 | |
---|
315 | # Initialize some variables set by options. |
---|
316 | ac_init_help= |
---|
317 | ac_init_version=false |
---|
318 | # The variables have the same names as the options, with |
---|
319 | # dashes changed to underlines. |
---|
320 | cache_file=/dev/null |
---|
321 | exec_prefix=NONE |
---|
322 | no_create= |
---|
323 | no_recursion= |
---|
324 | prefix=NONE |
---|
325 | program_prefix=NONE |
---|
326 | program_suffix=NONE |
---|
327 | program_transform_name=s,x,x, |
---|
328 | silent= |
---|
329 | site= |
---|
330 | srcdir= |
---|
331 | verbose= |
---|
332 | x_includes=NONE |
---|
333 | x_libraries=NONE |
---|
334 | |
---|
335 | # Installation directory options. |
---|
336 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
337 | # and all the variables that are supposed to be based on exec_prefix |
---|
338 | # by default will actually change. |
---|
339 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
340 | bindir='${exec_prefix}/bin' |
---|
341 | sbindir='${exec_prefix}/sbin' |
---|
342 | libexecdir='${exec_prefix}/libexec' |
---|
343 | datadir='${prefix}/share' |
---|
344 | sysconfdir='${prefix}/etc' |
---|
345 | sharedstatedir='${prefix}/com' |
---|
346 | localstatedir='${prefix}/var' |
---|
347 | libdir='${exec_prefix}/lib' |
---|
348 | includedir='${prefix}/include' |
---|
349 | oldincludedir='/usr/include' |
---|
350 | infodir='${prefix}/info' |
---|
351 | mandir='${prefix}/man' |
---|
352 | |
---|
353 | ac_prev= |
---|
354 | for ac_option |
---|
355 | do |
---|
356 | # If the previous option needs an argument, assign it. |
---|
357 | if test -n "$ac_prev"; then |
---|
358 | eval "$ac_prev=\$ac_option" |
---|
359 | ac_prev= |
---|
360 | continue |
---|
361 | fi |
---|
362 | |
---|
363 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
---|
364 | |
---|
365 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
366 | |
---|
367 | case $ac_option in |
---|
368 | |
---|
369 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
370 | ac_prev=bindir ;; |
---|
371 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
372 | bindir=$ac_optarg ;; |
---|
373 | |
---|
374 | -build | --build | --buil | --bui | --bu) |
---|
375 | ac_prev=build_alias ;; |
---|
376 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
377 | build_alias=$ac_optarg ;; |
---|
378 | |
---|
379 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
380 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
381 | ac_prev=cache_file ;; |
---|
382 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
383 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
384 | cache_file=$ac_optarg ;; |
---|
385 | |
---|
386 | --config-cache | -C) |
---|
387 | cache_file=config.cache ;; |
---|
388 | |
---|
389 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
---|
390 | ac_prev=datadir ;; |
---|
391 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
---|
392 | | --da=*) |
---|
393 | datadir=$ac_optarg ;; |
---|
394 | |
---|
395 | -disable-* | --disable-*) |
---|
396 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
397 | # Reject names that are not valid shell variable names. |
---|
398 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
399 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
400 | { (exit 1); exit 1; }; } |
---|
401 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
---|
402 | eval "enable_$ac_feature=no" ;; |
---|
403 | |
---|
404 | -enable-* | --enable-*) |
---|
405 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
406 | # Reject names that are not valid shell variable names. |
---|
407 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
408 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
409 | { (exit 1); exit 1; }; } |
---|
410 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
---|
411 | case $ac_option in |
---|
412 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
---|
413 | *) ac_optarg=yes ;; |
---|
414 | esac |
---|
415 | eval "enable_$ac_feature='$ac_optarg'" ;; |
---|
416 | |
---|
417 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
418 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
419 | | --exec | --exe | --ex) |
---|
420 | ac_prev=exec_prefix ;; |
---|
421 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
422 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
423 | | --exec=* | --exe=* | --ex=*) |
---|
424 | exec_prefix=$ac_optarg ;; |
---|
425 | |
---|
426 | -gas | --gas | --ga | --g) |
---|
427 | # Obsolete; use --with-gas. |
---|
428 | with_gas=yes ;; |
---|
429 | |
---|
430 | -help | --help | --hel | --he | -h) |
---|
431 | ac_init_help=long ;; |
---|
432 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
433 | ac_init_help=recursive ;; |
---|
434 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
435 | ac_init_help=short ;; |
---|
436 | |
---|
437 | -host | --host | --hos | --ho) |
---|
438 | ac_prev=host_alias ;; |
---|
439 | -host=* | --host=* | --hos=* | --ho=*) |
---|
440 | host_alias=$ac_optarg ;; |
---|
441 | |
---|
442 | -includedir | --includedir | --includedi | --included | --include \ |
---|
443 | | --includ | --inclu | --incl | --inc) |
---|
444 | ac_prev=includedir ;; |
---|
445 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
446 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
447 | includedir=$ac_optarg ;; |
---|
448 | |
---|
449 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
450 | ac_prev=infodir ;; |
---|
451 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
452 | infodir=$ac_optarg ;; |
---|
453 | |
---|
454 | -libdir | --libdir | --libdi | --libd) |
---|
455 | ac_prev=libdir ;; |
---|
456 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
457 | libdir=$ac_optarg ;; |
---|
458 | |
---|
459 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
460 | | --libexe | --libex | --libe) |
---|
461 | ac_prev=libexecdir ;; |
---|
462 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
463 | | --libexe=* | --libex=* | --libe=*) |
---|
464 | libexecdir=$ac_optarg ;; |
---|
465 | |
---|
466 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
467 | | --localstate | --localstat | --localsta | --localst \ |
---|
468 | | --locals | --local | --loca | --loc | --lo) |
---|
469 | ac_prev=localstatedir ;; |
---|
470 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
471 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
---|
472 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
---|
473 | localstatedir=$ac_optarg ;; |
---|
474 | |
---|
475 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
476 | ac_prev=mandir ;; |
---|
477 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
478 | mandir=$ac_optarg ;; |
---|
479 | |
---|
480 | -nfp | --nfp | --nf) |
---|
481 | # Obsolete; use --without-fp. |
---|
482 | with_fp=no ;; |
---|
483 | |
---|
484 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
485 | | --no-cr | --no-c | -n) |
---|
486 | no_create=yes ;; |
---|
487 | |
---|
488 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
489 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
490 | no_recursion=yes ;; |
---|
491 | |
---|
492 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
493 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
494 | | --oldin | --oldi | --old | --ol | --o) |
---|
495 | ac_prev=oldincludedir ;; |
---|
496 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
497 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
498 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
499 | oldincludedir=$ac_optarg ;; |
---|
500 | |
---|
501 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
502 | ac_prev=prefix ;; |
---|
503 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
504 | prefix=$ac_optarg ;; |
---|
505 | |
---|
506 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
507 | | --program-pre | --program-pr | --program-p) |
---|
508 | ac_prev=program_prefix ;; |
---|
509 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
510 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
511 | program_prefix=$ac_optarg ;; |
---|
512 | |
---|
513 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
514 | | --program-suf | --program-su | --program-s) |
---|
515 | ac_prev=program_suffix ;; |
---|
516 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
517 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
518 | program_suffix=$ac_optarg ;; |
---|
519 | |
---|
520 | -program-transform-name | --program-transform-name \ |
---|
521 | | --program-transform-nam | --program-transform-na \ |
---|
522 | | --program-transform-n | --program-transform- \ |
---|
523 | | --program-transform | --program-transfor \ |
---|
524 | | --program-transfo | --program-transf \ |
---|
525 | | --program-trans | --program-tran \ |
---|
526 | | --progr-tra | --program-tr | --program-t) |
---|
527 | ac_prev=program_transform_name ;; |
---|
528 | -program-transform-name=* | --program-transform-name=* \ |
---|
529 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
530 | | --program-transform-n=* | --program-transform-=* \ |
---|
531 | | --program-transform=* | --program-transfor=* \ |
---|
532 | | --program-transfo=* | --program-transf=* \ |
---|
533 | | --program-trans=* | --program-tran=* \ |
---|
534 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
535 | program_transform_name=$ac_optarg ;; |
---|
536 | |
---|
537 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
538 | | -silent | --silent | --silen | --sile | --sil) |
---|
539 | silent=yes ;; |
---|
540 | |
---|
541 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
542 | ac_prev=sbindir ;; |
---|
543 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
544 | | --sbi=* | --sb=*) |
---|
545 | sbindir=$ac_optarg ;; |
---|
546 | |
---|
547 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
548 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
549 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
550 | | --sha | --sh) |
---|
551 | ac_prev=sharedstatedir ;; |
---|
552 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
553 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
554 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
555 | | --sha=* | --sh=*) |
---|
556 | sharedstatedir=$ac_optarg ;; |
---|
557 | |
---|
558 | -site | --site | --sit) |
---|
559 | ac_prev=site ;; |
---|
560 | -site=* | --site=* | --sit=*) |
---|
561 | site=$ac_optarg ;; |
---|
562 | |
---|
563 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
564 | ac_prev=srcdir ;; |
---|
565 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
566 | srcdir=$ac_optarg ;; |
---|
567 | |
---|
568 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
569 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
570 | ac_prev=sysconfdir ;; |
---|
571 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
572 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
573 | sysconfdir=$ac_optarg ;; |
---|
574 | |
---|
575 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
576 | ac_prev=target_alias ;; |
---|
577 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
578 | target_alias=$ac_optarg ;; |
---|
579 | |
---|
580 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
581 | verbose=yes ;; |
---|
582 | |
---|
583 | -version | --version | --versio | --versi | --vers | -V) |
---|
584 | ac_init_version=: ;; |
---|
585 | |
---|
586 | -with-* | --with-*) |
---|
587 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
588 | # Reject names that are not valid shell variable names. |
---|
589 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
590 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
591 | { (exit 1); exit 1; }; } |
---|
592 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
593 | case $ac_option in |
---|
594 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
---|
595 | *) ac_optarg=yes ;; |
---|
596 | esac |
---|
597 | eval "with_$ac_package='$ac_optarg'" ;; |
---|
598 | |
---|
599 | -without-* | --without-*) |
---|
600 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
601 | # Reject names that are not valid shell variable names. |
---|
602 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
603 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
604 | { (exit 1); exit 1; }; } |
---|
605 | ac_package=`echo $ac_package | sed 's/-/_/g'` |
---|
606 | eval "with_$ac_package=no" ;; |
---|
607 | |
---|
608 | --x) |
---|
609 | # Obsolete; use --with-x. |
---|
610 | with_x=yes ;; |
---|
611 | |
---|
612 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
613 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
614 | ac_prev=x_includes ;; |
---|
615 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
616 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
617 | x_includes=$ac_optarg ;; |
---|
618 | |
---|
619 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
620 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
621 | ac_prev=x_libraries ;; |
---|
622 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
623 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
624 | x_libraries=$ac_optarg ;; |
---|
625 | |
---|
626 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
---|
627 | Try \`$0 --help' for more information." >&2 |
---|
628 | { (exit 1); exit 1; }; } |
---|
629 | ;; |
---|
630 | |
---|
631 | *=*) |
---|
632 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
633 | # Reject names that are not valid shell variable names. |
---|
634 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
---|
635 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
---|
636 | { (exit 1); exit 1; }; } |
---|
637 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
---|
638 | eval "$ac_envvar='$ac_optarg'" |
---|
639 | export $ac_envvar ;; |
---|
640 | |
---|
641 | *) |
---|
642 | # FIXME: should be removed in autoconf 3.0. |
---|
643 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
644 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
645 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
646 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
---|
647 | ;; |
---|
648 | |
---|
649 | esac |
---|
650 | done |
---|
651 | |
---|
652 | if test -n "$ac_prev"; then |
---|
653 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
654 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
---|
655 | { (exit 1); exit 1; }; } |
---|
656 | fi |
---|
657 | |
---|
658 | # Be sure to have absolute paths. |
---|
659 | for ac_var in exec_prefix prefix |
---|
660 | do |
---|
661 | eval ac_val=$`echo $ac_var` |
---|
662 | case $ac_val in |
---|
663 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
---|
664 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
665 | { (exit 1); exit 1; }; };; |
---|
666 | esac |
---|
667 | done |
---|
668 | |
---|
669 | # Be sure to have absolute paths. |
---|
670 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
---|
671 | localstatedir libdir includedir oldincludedir infodir mandir |
---|
672 | do |
---|
673 | eval ac_val=$`echo $ac_var` |
---|
674 | case $ac_val in |
---|
675 | [\\/$]* | ?:[\\/]* ) ;; |
---|
676 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
677 | { (exit 1); exit 1; }; };; |
---|
678 | esac |
---|
679 | done |
---|
680 | |
---|
681 | # There might be people who depend on the old broken behavior: `$host' |
---|
682 | # used to hold the argument of --host etc. |
---|
683 | # FIXME: To remove some day. |
---|
684 | build=$build_alias |
---|
685 | host=$host_alias |
---|
686 | target=$target_alias |
---|
687 | |
---|
688 | # FIXME: To remove some day. |
---|
689 | if test "x$host_alias" != x; then |
---|
690 | if test "x$build_alias" = x; then |
---|
691 | cross_compiling=maybe |
---|
692 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
---|
693 | If a cross compiler is detected then cross compile mode will be used." >&2 |
---|
694 | elif test "x$build_alias" != "x$host_alias"; then |
---|
695 | cross_compiling=yes |
---|
696 | fi |
---|
697 | fi |
---|
698 | |
---|
699 | ac_tool_prefix= |
---|
700 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
701 | |
---|
702 | test "$silent" = yes && exec 6>/dev/null |
---|
703 | |
---|
704 | |
---|
705 | # Find the source files, if location was not specified. |
---|
706 | if test -z "$srcdir"; then |
---|
707 | ac_srcdir_defaulted=yes |
---|
708 | # Try the directory containing this script, then its parent. |
---|
709 | ac_confdir=`(dirname "$0") 2>/dev/null || |
---|
710 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
711 | X"$0" : 'X\(//\)[^/]' \| \ |
---|
712 | X"$0" : 'X\(//\)$' \| \ |
---|
713 | X"$0" : 'X\(/\)' \| \ |
---|
714 | . : '\(.\)' 2>/dev/null || |
---|
715 | echo X"$0" | |
---|
716 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
717 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
718 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
719 | /^X\(\/\).*/{ s//\1/; q; } |
---|
720 | s/.*/./; q'` |
---|
721 | srcdir=$ac_confdir |
---|
722 | if test ! -r $srcdir/$ac_unique_file; then |
---|
723 | srcdir=.. |
---|
724 | fi |
---|
725 | else |
---|
726 | ac_srcdir_defaulted=no |
---|
727 | fi |
---|
728 | if test ! -r $srcdir/$ac_unique_file; then |
---|
729 | if test "$ac_srcdir_defaulted" = yes; then |
---|
730 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
---|
731 | { (exit 1); exit 1; }; } |
---|
732 | else |
---|
733 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
---|
734 | { (exit 1); exit 1; }; } |
---|
735 | fi |
---|
736 | fi |
---|
737 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
---|
738 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
---|
739 | { (exit 1); exit 1; }; } |
---|
740 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
---|
741 | ac_env_build_alias_set=${build_alias+set} |
---|
742 | ac_env_build_alias_value=$build_alias |
---|
743 | ac_cv_env_build_alias_set=${build_alias+set} |
---|
744 | ac_cv_env_build_alias_value=$build_alias |
---|
745 | ac_env_host_alias_set=${host_alias+set} |
---|
746 | ac_env_host_alias_value=$host_alias |
---|
747 | ac_cv_env_host_alias_set=${host_alias+set} |
---|
748 | ac_cv_env_host_alias_value=$host_alias |
---|
749 | ac_env_target_alias_set=${target_alias+set} |
---|
750 | ac_env_target_alias_value=$target_alias |
---|
751 | ac_cv_env_target_alias_set=${target_alias+set} |
---|
752 | ac_cv_env_target_alias_value=$target_alias |
---|
753 | ac_env_CC_set=${CC+set} |
---|
754 | ac_env_CC_value=$CC |
---|
755 | ac_cv_env_CC_set=${CC+set} |
---|
756 | ac_cv_env_CC_value=$CC |
---|
757 | ac_env_CFLAGS_set=${CFLAGS+set} |
---|
758 | ac_env_CFLAGS_value=$CFLAGS |
---|
759 | ac_cv_env_CFLAGS_set=${CFLAGS+set} |
---|
760 | ac_cv_env_CFLAGS_value=$CFLAGS |
---|
761 | ac_env_LDFLAGS_set=${LDFLAGS+set} |
---|
762 | ac_env_LDFLAGS_value=$LDFLAGS |
---|
763 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
---|
764 | ac_cv_env_LDFLAGS_value=$LDFLAGS |
---|
765 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
---|
766 | ac_env_CPPFLAGS_value=$CPPFLAGS |
---|
767 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
---|
768 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
---|
769 | ac_env_CPP_set=${CPP+set} |
---|
770 | ac_env_CPP_value=$CPP |
---|
771 | ac_cv_env_CPP_set=${CPP+set} |
---|
772 | ac_cv_env_CPP_value=$CPP |
---|
773 | |
---|
774 | # |
---|
775 | # Report the --help message. |
---|
776 | # |
---|
777 | if test "$ac_init_help" = "long"; then |
---|
778 | # Omit some internal or obsolete options to make the list less imposing. |
---|
779 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
780 | cat <<_ACEOF |
---|
781 | \`configure' configures this package to adapt to many kinds of systems. |
---|
782 | |
---|
783 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
784 | |
---|
785 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
786 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
787 | |
---|
788 | Defaults for the options are specified in brackets. |
---|
789 | |
---|
790 | Configuration: |
---|
791 | -h, --help display this help and exit |
---|
792 | --help=short display options specific to this package |
---|
793 | --help=recursive display the short help of all the included packages |
---|
794 | -V, --version display version information and exit |
---|
795 | -q, --quiet, --silent do not print \`checking...' messages |
---|
796 | --cache-file=FILE cache test results in FILE [disabled] |
---|
797 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
798 | -n, --no-create do not create output files |
---|
799 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
800 | |
---|
801 | _ACEOF |
---|
802 | |
---|
803 | cat <<_ACEOF |
---|
804 | Installation directories: |
---|
805 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
806 | [$ac_default_prefix] |
---|
807 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
808 | [PREFIX] |
---|
809 | |
---|
810 | By default, \`make install' will install all the files in |
---|
811 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
812 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
813 | for instance \`--prefix=\$HOME'. |
---|
814 | |
---|
815 | For better control, use the options below. |
---|
816 | |
---|
817 | Fine tuning of the installation directories: |
---|
818 | --bindir=DIR user executables [EPREFIX/bin] |
---|
819 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
820 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
821 | --datadir=DIR read-only architecture-independent data [PREFIX/share] |
---|
822 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
823 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
824 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
825 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
826 | --includedir=DIR C header files [PREFIX/include] |
---|
827 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
828 | --infodir=DIR info documentation [PREFIX/info] |
---|
829 | --mandir=DIR man documentation [PREFIX/man] |
---|
830 | _ACEOF |
---|
831 | |
---|
832 | cat <<\_ACEOF |
---|
833 | |
---|
834 | Program names: |
---|
835 | --program-prefix=PREFIX prepend PREFIX to installed program names |
---|
836 | --program-suffix=SUFFIX append SUFFIX to installed program names |
---|
837 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
---|
838 | _ACEOF |
---|
839 | fi |
---|
840 | |
---|
841 | if test -n "$ac_init_help"; then |
---|
842 | |
---|
843 | cat <<\_ACEOF |
---|
844 | |
---|
845 | Optional Features: |
---|
846 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
---|
847 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
---|
848 | --enable-maintainer-mode enable make rules and dependencies not useful |
---|
849 | (and sometimes confusing) to the casual installer |
---|
850 | --disable-schemas-install Disable the schemas installation |
---|
851 | --enable-deprecations warn about deprecated usages |
---|
852 | |
---|
853 | Optional Packages: |
---|
854 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
---|
855 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
---|
856 | --with-gconf-source=sourceaddress Config database for installing schema files. |
---|
857 | --with-gconf-schema-file-dir=dir Directory for installing schema files. |
---|
858 | |
---|
859 | Some influential environment variables: |
---|
860 | CC C compiler command |
---|
861 | CFLAGS C compiler flags |
---|
862 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
863 | nonstandard directory <lib dir> |
---|
864 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
---|
865 | headers in a nonstandard directory <include dir> |
---|
866 | CPP C preprocessor |
---|
867 | |
---|
868 | Use these variables to override the choices made by `configure' or to help |
---|
869 | it to find libraries and programs with nonstandard names/locations. |
---|
870 | |
---|
871 | _ACEOF |
---|
872 | fi |
---|
873 | |
---|
874 | if test "$ac_init_help" = "recursive"; then |
---|
875 | # If there are subdirs, report their specific --help. |
---|
876 | ac_popdir=`pwd` |
---|
877 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
878 | test -d $ac_dir || continue |
---|
879 | ac_builddir=. |
---|
880 | |
---|
881 | if test "$ac_dir" != .; then |
---|
882 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
883 | # A "../" for each directory in $ac_dir_suffix. |
---|
884 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
885 | else |
---|
886 | ac_dir_suffix= ac_top_builddir= |
---|
887 | fi |
---|
888 | |
---|
889 | case $srcdir in |
---|
890 | .) # No --srcdir option. We are building in place. |
---|
891 | ac_srcdir=. |
---|
892 | if test -z "$ac_top_builddir"; then |
---|
893 | ac_top_srcdir=. |
---|
894 | else |
---|
895 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
896 | fi ;; |
---|
897 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
898 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
899 | ac_top_srcdir=$srcdir ;; |
---|
900 | *) # Relative path. |
---|
901 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
902 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
903 | esac |
---|
904 | |
---|
905 | # Do not use `cd foo && pwd` to compute absolute paths, because |
---|
906 | # the directories may not exist. |
---|
907 | case `pwd` in |
---|
908 | .) ac_abs_builddir="$ac_dir";; |
---|
909 | *) |
---|
910 | case "$ac_dir" in |
---|
911 | .) ac_abs_builddir=`pwd`;; |
---|
912 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
---|
913 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
---|
914 | esac;; |
---|
915 | esac |
---|
916 | case $ac_abs_builddir in |
---|
917 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
918 | *) |
---|
919 | case ${ac_top_builddir}. in |
---|
920 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
---|
921 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
922 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
---|
923 | esac;; |
---|
924 | esac |
---|
925 | case $ac_abs_builddir in |
---|
926 | .) ac_abs_srcdir=$ac_srcdir;; |
---|
927 | *) |
---|
928 | case $ac_srcdir in |
---|
929 | .) ac_abs_srcdir=$ac_abs_builddir;; |
---|
930 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
---|
931 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
---|
932 | esac;; |
---|
933 | esac |
---|
934 | case $ac_abs_builddir in |
---|
935 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
936 | *) |
---|
937 | case $ac_top_srcdir in |
---|
938 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
---|
939 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
940 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
---|
941 | esac;; |
---|
942 | esac |
---|
943 | |
---|
944 | cd $ac_dir |
---|
945 | # Check for guested configure; otherwise get Cygnus style configure. |
---|
946 | if test -f $ac_srcdir/configure.gnu; then |
---|
947 | echo |
---|
948 | $SHELL $ac_srcdir/configure.gnu --help=recursive |
---|
949 | elif test -f $ac_srcdir/configure; then |
---|
950 | echo |
---|
951 | $SHELL $ac_srcdir/configure --help=recursive |
---|
952 | elif test -f $ac_srcdir/configure.ac || |
---|
953 | test -f $ac_srcdir/configure.in; then |
---|
954 | echo |
---|
955 | $ac_configure --help |
---|
956 | else |
---|
957 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
958 | fi |
---|
959 | cd $ac_popdir |
---|
960 | done |
---|
961 | fi |
---|
962 | |
---|
963 | test -n "$ac_init_help" && exit 0 |
---|
964 | if $ac_init_version; then |
---|
965 | cat <<\_ACEOF |
---|
966 | |
---|
967 | Copyright (C) 2003 Free Software Foundation, Inc. |
---|
968 | This configure script is free software; the Free Software Foundation |
---|
969 | gives unlimited permission to copy, distribute and modify it. |
---|
970 | _ACEOF |
---|
971 | exit 0 |
---|
972 | fi |
---|
973 | exec 5>config.log |
---|
974 | cat >&5 <<_ACEOF |
---|
975 | This file contains any messages produced by compilers while |
---|
976 | running configure, to aid debugging if configure makes a mistake. |
---|
977 | |
---|
978 | It was created by $as_me, which was |
---|
979 | generated by GNU Autoconf 2.59. Invocation command line was |
---|
980 | |
---|
981 | $ $0 $@ |
---|
982 | |
---|
983 | _ACEOF |
---|
984 | { |
---|
985 | cat <<_ASUNAME |
---|
986 | ## --------- ## |
---|
987 | ## Platform. ## |
---|
988 | ## --------- ## |
---|
989 | |
---|
990 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
991 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
992 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
993 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
994 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
995 | |
---|
996 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
997 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
998 | |
---|
999 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
1000 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
1001 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
1002 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
---|
1003 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
1004 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
1005 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
1006 | |
---|
1007 | _ASUNAME |
---|
1008 | |
---|
1009 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1010 | for as_dir in $PATH |
---|
1011 | do |
---|
1012 | IFS=$as_save_IFS |
---|
1013 | test -z "$as_dir" && as_dir=. |
---|
1014 | echo "PATH: $as_dir" |
---|
1015 | done |
---|
1016 | |
---|
1017 | } >&5 |
---|
1018 | |
---|
1019 | cat >&5 <<_ACEOF |
---|
1020 | |
---|
1021 | |
---|
1022 | ## ----------- ## |
---|
1023 | ## Core tests. ## |
---|
1024 | ## ----------- ## |
---|
1025 | |
---|
1026 | _ACEOF |
---|
1027 | |
---|
1028 | |
---|
1029 | # Keep a trace of the command line. |
---|
1030 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
1031 | # Strip out --silent because we don't want to record it for future runs. |
---|
1032 | # Also quote any args containing shell meta-characters. |
---|
1033 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
1034 | ac_configure_args= |
---|
1035 | ac_configure_args0= |
---|
1036 | ac_configure_args1= |
---|
1037 | ac_sep= |
---|
1038 | ac_must_keep_next=false |
---|
1039 | for ac_pass in 1 2 |
---|
1040 | do |
---|
1041 | for ac_arg |
---|
1042 | do |
---|
1043 | case $ac_arg in |
---|
1044 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
1045 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
1046 | | -silent | --silent | --silen | --sile | --sil) |
---|
1047 | continue ;; |
---|
1048 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
---|
1049 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1050 | esac |
---|
1051 | case $ac_pass in |
---|
1052 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
---|
1053 | 2) |
---|
1054 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
---|
1055 | if test $ac_must_keep_next = true; then |
---|
1056 | ac_must_keep_next=false # Got value, back to normal. |
---|
1057 | else |
---|
1058 | case $ac_arg in |
---|
1059 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
1060 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
1061 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
1062 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
1063 | case "$ac_configure_args0 " in |
---|
1064 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
1065 | esac |
---|
1066 | ;; |
---|
1067 | -* ) ac_must_keep_next=true ;; |
---|
1068 | esac |
---|
1069 | fi |
---|
1070 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
---|
1071 | # Get rid of the leading space. |
---|
1072 | ac_sep=" " |
---|
1073 | ;; |
---|
1074 | esac |
---|
1075 | done |
---|
1076 | done |
---|
1077 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
---|
1078 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
---|
1079 | |
---|
1080 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
1081 | # config.log. We remove comments because anyway the quotes in there |
---|
1082 | # would cause problems or look ugly. |
---|
1083 | # WARNING: Be sure not to use single quotes in there, as some shells, |
---|
1084 | # such as our DU 5.0 friend, will then `close' the trap. |
---|
1085 | trap 'exit_status=$? |
---|
1086 | # Save into config.log some information that might help in debugging. |
---|
1087 | { |
---|
1088 | echo |
---|
1089 | |
---|
1090 | cat <<\_ASBOX |
---|
1091 | ## ---------------- ## |
---|
1092 | ## Cache variables. ## |
---|
1093 | ## ---------------- ## |
---|
1094 | _ASBOX |
---|
1095 | echo |
---|
1096 | # The following way of writing the cache mishandles newlines in values, |
---|
1097 | { |
---|
1098 | (set) 2>&1 | |
---|
1099 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
---|
1100 | *ac_space=\ *) |
---|
1101 | sed -n \ |
---|
1102 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
---|
1103 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
---|
1104 | ;; |
---|
1105 | *) |
---|
1106 | sed -n \ |
---|
1107 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
---|
1108 | ;; |
---|
1109 | esac; |
---|
1110 | } |
---|
1111 | echo |
---|
1112 | |
---|
1113 | cat <<\_ASBOX |
---|
1114 | ## ----------------- ## |
---|
1115 | ## Output variables. ## |
---|
1116 | ## ----------------- ## |
---|
1117 | _ASBOX |
---|
1118 | echo |
---|
1119 | for ac_var in $ac_subst_vars |
---|
1120 | do |
---|
1121 | eval ac_val=$`echo $ac_var` |
---|
1122 | echo "$ac_var='"'"'$ac_val'"'"'" |
---|
1123 | done | sort |
---|
1124 | echo |
---|
1125 | |
---|
1126 | if test -n "$ac_subst_files"; then |
---|
1127 | cat <<\_ASBOX |
---|
1128 | ## ------------- ## |
---|
1129 | ## Output files. ## |
---|
1130 | ## ------------- ## |
---|
1131 | _ASBOX |
---|
1132 | echo |
---|
1133 | for ac_var in $ac_subst_files |
---|
1134 | do |
---|
1135 | eval ac_val=$`echo $ac_var` |
---|
1136 | echo "$ac_var='"'"'$ac_val'"'"'" |
---|
1137 | done | sort |
---|
1138 | echo |
---|
1139 | fi |
---|
1140 | |
---|
1141 | if test -s confdefs.h; then |
---|
1142 | cat <<\_ASBOX |
---|
1143 | ## ----------- ## |
---|
1144 | ## confdefs.h. ## |
---|
1145 | ## ----------- ## |
---|
1146 | _ASBOX |
---|
1147 | echo |
---|
1148 | sed "/^$/d" confdefs.h | sort |
---|
1149 | echo |
---|
1150 | fi |
---|
1151 | test "$ac_signal" != 0 && |
---|
1152 | echo "$as_me: caught signal $ac_signal" |
---|
1153 | echo "$as_me: exit $exit_status" |
---|
1154 | } >&5 |
---|
1155 | rm -f core *.core && |
---|
1156 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
---|
1157 | exit $exit_status |
---|
1158 | ' 0 |
---|
1159 | for ac_signal in 1 2 13 15; do |
---|
1160 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
---|
1161 | done |
---|
1162 | ac_signal=0 |
---|
1163 | |
---|
1164 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
1165 | rm -rf conftest* confdefs.h |
---|
1166 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
---|
1167 | echo >confdefs.h |
---|
1168 | |
---|
1169 | # Predefined preprocessor variables. |
---|
1170 | |
---|
1171 | cat >>confdefs.h <<_ACEOF |
---|
1172 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
1173 | _ACEOF |
---|
1174 | |
---|
1175 | |
---|
1176 | cat >>confdefs.h <<_ACEOF |
---|
1177 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
1178 | _ACEOF |
---|
1179 | |
---|
1180 | |
---|
1181 | cat >>confdefs.h <<_ACEOF |
---|
1182 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
1183 | _ACEOF |
---|
1184 | |
---|
1185 | |
---|
1186 | cat >>confdefs.h <<_ACEOF |
---|
1187 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
1188 | _ACEOF |
---|
1189 | |
---|
1190 | |
---|
1191 | cat >>confdefs.h <<_ACEOF |
---|
1192 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
1193 | _ACEOF |
---|
1194 | |
---|
1195 | |
---|
1196 | # Let the site file select an alternate cache file if it wants to. |
---|
1197 | # Prefer explicitly selected file to automatically selected ones. |
---|
1198 | if test -z "$CONFIG_SITE"; then |
---|
1199 | if test "x$prefix" != xNONE; then |
---|
1200 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
---|
1201 | else |
---|
1202 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
---|
1203 | fi |
---|
1204 | fi |
---|
1205 | for ac_site_file in $CONFIG_SITE; do |
---|
1206 | if test -r "$ac_site_file"; then |
---|
1207 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
---|
1208 | echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
1209 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
1210 | . "$ac_site_file" |
---|
1211 | fi |
---|
1212 | done |
---|
1213 | |
---|
1214 | if test -r "$cache_file"; then |
---|
1215 | # Some versions of bash will fail to source /dev/null (special |
---|
1216 | # files actually), so we avoid doing that. |
---|
1217 | if test -f "$cache_file"; then |
---|
1218 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
---|
1219 | echo "$as_me: loading cache $cache_file" >&6;} |
---|
1220 | case $cache_file in |
---|
1221 | [\\/]* | ?:[\\/]* ) . $cache_file;; |
---|
1222 | *) . ./$cache_file;; |
---|
1223 | esac |
---|
1224 | fi |
---|
1225 | else |
---|
1226 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
---|
1227 | echo "$as_me: creating cache $cache_file" >&6;} |
---|
1228 | >$cache_file |
---|
1229 | fi |
---|
1230 | |
---|
1231 | # Check that the precious variables saved in the cache have kept the same |
---|
1232 | # value. |
---|
1233 | ac_cache_corrupted=false |
---|
1234 | for ac_var in `(set) 2>&1 | |
---|
1235 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
---|
1236 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
1237 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
1238 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
---|
1239 | eval ac_new_val="\$ac_env_${ac_var}_value" |
---|
1240 | case $ac_old_set,$ac_new_set in |
---|
1241 | set,) |
---|
1242 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
1243 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
1244 | ac_cache_corrupted=: ;; |
---|
1245 | ,set) |
---|
1246 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
---|
1247 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
1248 | ac_cache_corrupted=: ;; |
---|
1249 | ,);; |
---|
1250 | *) |
---|
1251 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
1252 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
1253 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
1254 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
---|
1255 | echo "$as_me: former value: $ac_old_val" >&2;} |
---|
1256 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
---|
1257 | echo "$as_me: current value: $ac_new_val" >&2;} |
---|
1258 | ac_cache_corrupted=: |
---|
1259 | fi;; |
---|
1260 | esac |
---|
1261 | # Pass precious variables to config.status. |
---|
1262 | if test "$ac_new_set" = set; then |
---|
1263 | case $ac_new_val in |
---|
1264 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
---|
1265 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1266 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
1267 | esac |
---|
1268 | case " $ac_configure_args " in |
---|
1269 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
1270 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
---|
1271 | esac |
---|
1272 | fi |
---|
1273 | done |
---|
1274 | if $ac_cache_corrupted; then |
---|
1275 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
---|
1276 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
1277 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
---|
1278 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
---|
1279 | { (exit 1); exit 1; }; } |
---|
1280 | fi |
---|
1281 | |
---|
1282 | ac_ext=c |
---|
1283 | ac_cpp='$CPP $CPPFLAGS' |
---|
1284 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
1285 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
1286 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
1287 | |
---|
1288 | |
---|
1289 | |
---|
1290 | |
---|
1291 | |
---|
1292 | |
---|
1293 | |
---|
1294 | |
---|
1295 | |
---|
1296 | |
---|
1297 | |
---|
1298 | |
---|
1299 | |
---|
1300 | |
---|
1301 | |
---|
1302 | |
---|
1303 | |
---|
1304 | |
---|
1305 | |
---|
1306 | |
---|
1307 | |
---|
1308 | ac_config_headers="$ac_config_headers config.h" |
---|
1309 | |
---|
1310 | ac_config_commands="$ac_config_commands default-1" |
---|
1311 | |
---|
1312 | |
---|
1313 | am__api_version="1.4" |
---|
1314 | ac_aux_dir= |
---|
1315 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
---|
1316 | if test -f $ac_dir/install-sh; then |
---|
1317 | ac_aux_dir=$ac_dir |
---|
1318 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
1319 | break |
---|
1320 | elif test -f $ac_dir/install.sh; then |
---|
1321 | ac_aux_dir=$ac_dir |
---|
1322 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
1323 | break |
---|
1324 | elif test -f $ac_dir/shtool; then |
---|
1325 | ac_aux_dir=$ac_dir |
---|
1326 | ac_install_sh="$ac_aux_dir/shtool install -c" |
---|
1327 | break |
---|
1328 | fi |
---|
1329 | done |
---|
1330 | if test -z "$ac_aux_dir"; then |
---|
1331 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
---|
1332 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
---|
1333 | { (exit 1); exit 1; }; } |
---|
1334 | fi |
---|
1335 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
---|
1336 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
---|
1337 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
---|
1338 | |
---|
1339 | # Find a good install program. We prefer a C program (faster), |
---|
1340 | # so one script is as good as another. But avoid the broken or |
---|
1341 | # incompatible versions: |
---|
1342 | # SysV /etc/install, /usr/sbin/install |
---|
1343 | # SunOS /usr/etc/install |
---|
1344 | # IRIX /sbin/install |
---|
1345 | # AIX /bin/install |
---|
1346 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
1347 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
1348 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
1349 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
1350 | # OS/2's system install, which has a completely different semantic |
---|
1351 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
1352 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
---|
1353 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
---|
1354 | if test -z "$INSTALL"; then |
---|
1355 | if test "${ac_cv_path_install+set}" = set; then |
---|
1356 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1357 | else |
---|
1358 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1359 | for as_dir in $PATH |
---|
1360 | do |
---|
1361 | IFS=$as_save_IFS |
---|
1362 | test -z "$as_dir" && as_dir=. |
---|
1363 | # Account for people who put trailing slashes in PATH elements. |
---|
1364 | case $as_dir/ in |
---|
1365 | ./ | .// | /cC/* | \ |
---|
1366 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
1367 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
---|
1368 | /usr/ucb/* ) ;; |
---|
1369 | *) |
---|
1370 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
1371 | # Don't use installbsd from OSF since it installs stuff as root |
---|
1372 | # by default. |
---|
1373 | for ac_prog in ginstall scoinst install; do |
---|
1374 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1375 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
---|
1376 | if test $ac_prog = install && |
---|
1377 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
1378 | # AIX install. It has an incompatible calling convention. |
---|
1379 | : |
---|
1380 | elif test $ac_prog = install && |
---|
1381 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
1382 | # program-specific install script used by HP pwplus--don't use. |
---|
1383 | : |
---|
1384 | else |
---|
1385 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
1386 | break 3 |
---|
1387 | fi |
---|
1388 | fi |
---|
1389 | done |
---|
1390 | done |
---|
1391 | ;; |
---|
1392 | esac |
---|
1393 | done |
---|
1394 | |
---|
1395 | |
---|
1396 | fi |
---|
1397 | if test "${ac_cv_path_install+set}" = set; then |
---|
1398 | INSTALL=$ac_cv_path_install |
---|
1399 | else |
---|
1400 | # As a last resort, use the slow shell script. We don't cache a |
---|
1401 | # path for INSTALL within a source directory, because that will |
---|
1402 | # break other packages using the cache if that directory is |
---|
1403 | # removed, or if the path is relative. |
---|
1404 | INSTALL=$ac_install_sh |
---|
1405 | fi |
---|
1406 | fi |
---|
1407 | echo "$as_me:$LINENO: result: $INSTALL" >&5 |
---|
1408 | echo "${ECHO_T}$INSTALL" >&6 |
---|
1409 | |
---|
1410 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
1411 | # It thinks the first close brace ends the variable substitution. |
---|
1412 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
1413 | |
---|
1414 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
1415 | |
---|
1416 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
1417 | |
---|
1418 | echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
---|
1419 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
---|
1420 | # Just in case |
---|
1421 | sleep 1 |
---|
1422 | echo timestamp > conftestfile |
---|
1423 | # Do `set' in a subshell so we don't clobber the current shell's |
---|
1424 | # arguments. Must try -L first in case configure is actually a |
---|
1425 | # symlink; some systems play weird games with the mod time of symlinks |
---|
1426 | # (eg FreeBSD returns the mod time of the symlink's containing |
---|
1427 | # directory). |
---|
1428 | if ( |
---|
1429 | set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` |
---|
1430 | if test "$*" = "X"; then |
---|
1431 | # -L didn't work. |
---|
1432 | set X `ls -t $srcdir/configure conftestfile` |
---|
1433 | fi |
---|
1434 | if test "$*" != "X $srcdir/configure conftestfile" \ |
---|
1435 | && test "$*" != "X conftestfile $srcdir/configure"; then |
---|
1436 | |
---|
1437 | # If neither matched, then we have a broken ls. This can happen |
---|
1438 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
---|
1439 | # broken ls alias from the environment. This has actually |
---|
1440 | # happened. Such a system could not be considered "sane". |
---|
1441 | { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
---|
1442 | alias in your environment" >&5 |
---|
1443 | echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
---|
1444 | alias in your environment" >&2;} |
---|
1445 | { (exit 1); exit 1; }; } |
---|
1446 | fi |
---|
1447 | |
---|
1448 | test "$2" = conftestfile |
---|
1449 | ) |
---|
1450 | then |
---|
1451 | # Ok. |
---|
1452 | : |
---|
1453 | else |
---|
1454 | { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
---|
1455 | Check your system clock" >&5 |
---|
1456 | echo "$as_me: error: newly created file is older than distributed files! |
---|
1457 | Check your system clock" >&2;} |
---|
1458 | { (exit 1); exit 1; }; } |
---|
1459 | fi |
---|
1460 | rm -f conftest* |
---|
1461 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
1462 | echo "${ECHO_T}yes" >&6 |
---|
1463 | test "$program_prefix" != NONE && |
---|
1464 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
---|
1465 | # Use a double $ so make ignores it. |
---|
1466 | test "$program_suffix" != NONE && |
---|
1467 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
---|
1468 | # Double any \ or $. echo might interpret backslashes. |
---|
1469 | # By default was `s,x,x', remove it if useless. |
---|
1470 | cat <<\_ACEOF >conftest.sed |
---|
1471 | s/[\\$]/&&/g;s/;s,x,x,$// |
---|
1472 | _ACEOF |
---|
1473 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
---|
1474 | rm conftest.sed |
---|
1475 | |
---|
1476 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
---|
1477 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
---|
1478 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
---|
1479 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
---|
1480 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1481 | else |
---|
1482 | cat >conftest.make <<\_ACEOF |
---|
1483 | all: |
---|
1484 | @echo 'ac_maketemp="$(MAKE)"' |
---|
1485 | _ACEOF |
---|
1486 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
---|
1487 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
---|
1488 | if test -n "$ac_maketemp"; then |
---|
1489 | eval ac_cv_prog_make_${ac_make}_set=yes |
---|
1490 | else |
---|
1491 | eval ac_cv_prog_make_${ac_make}_set=no |
---|
1492 | fi |
---|
1493 | rm -f conftest.make |
---|
1494 | fi |
---|
1495 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
---|
1496 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
1497 | echo "${ECHO_T}yes" >&6 |
---|
1498 | SET_MAKE= |
---|
1499 | else |
---|
1500 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1501 | echo "${ECHO_T}no" >&6 |
---|
1502 | SET_MAKE="MAKE=${MAKE-make}" |
---|
1503 | fi |
---|
1504 | |
---|
1505 | |
---|
1506 | PACKAGE=bug-buddy |
---|
1507 | |
---|
1508 | VERSION=2.8.0 |
---|
1509 | |
---|
1510 | if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then |
---|
1511 | { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
---|
1512 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
---|
1513 | { (exit 1); exit 1; }; } |
---|
1514 | fi |
---|
1515 | |
---|
1516 | cat >>confdefs.h <<_ACEOF |
---|
1517 | #define PACKAGE "$PACKAGE" |
---|
1518 | _ACEOF |
---|
1519 | |
---|
1520 | |
---|
1521 | cat >>confdefs.h <<_ACEOF |
---|
1522 | #define VERSION "$VERSION" |
---|
1523 | _ACEOF |
---|
1524 | |
---|
1525 | |
---|
1526 | |
---|
1527 | missing_dir=`cd $ac_aux_dir && pwd` |
---|
1528 | echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5 |
---|
1529 | echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6 |
---|
1530 | # Run test in a subshell; some versions of sh will print an error if |
---|
1531 | # an executable is not found, even if stderr is redirected. |
---|
1532 | # Redirect stdin to placate older versions of autoconf. Sigh. |
---|
1533 | if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then |
---|
1534 | ACLOCAL=aclocal-${am__api_version} |
---|
1535 | echo "$as_me:$LINENO: result: found" >&5 |
---|
1536 | echo "${ECHO_T}found" >&6 |
---|
1537 | else |
---|
1538 | ACLOCAL="$missing_dir/missing aclocal-${am__api_version}" |
---|
1539 | echo "$as_me:$LINENO: result: missing" >&5 |
---|
1540 | echo "${ECHO_T}missing" >&6 |
---|
1541 | fi |
---|
1542 | |
---|
1543 | echo "$as_me:$LINENO: checking for working autoconf" >&5 |
---|
1544 | echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6 |
---|
1545 | # Run test in a subshell; some versions of sh will print an error if |
---|
1546 | # an executable is not found, even if stderr is redirected. |
---|
1547 | # Redirect stdin to placate older versions of autoconf. Sigh. |
---|
1548 | if (autoconf --version) < /dev/null > /dev/null 2>&1; then |
---|
1549 | AUTOCONF=autoconf |
---|
1550 | echo "$as_me:$LINENO: result: found" >&5 |
---|
1551 | echo "${ECHO_T}found" >&6 |
---|
1552 | else |
---|
1553 | AUTOCONF="$missing_dir/missing autoconf" |
---|
1554 | echo "$as_me:$LINENO: result: missing" >&5 |
---|
1555 | echo "${ECHO_T}missing" >&6 |
---|
1556 | fi |
---|
1557 | |
---|
1558 | echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5 |
---|
1559 | echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6 |
---|
1560 | # Run test in a subshell; some versions of sh will print an error if |
---|
1561 | # an executable is not found, even if stderr is redirected. |
---|
1562 | # Redirect stdin to placate older versions of autoconf. Sigh. |
---|
1563 | if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then |
---|
1564 | AUTOMAKE=automake-${am__api_version} |
---|
1565 | echo "$as_me:$LINENO: result: found" >&5 |
---|
1566 | echo "${ECHO_T}found" >&6 |
---|
1567 | else |
---|
1568 | AUTOMAKE="$missing_dir/missing automake-${am__api_version}" |
---|
1569 | echo "$as_me:$LINENO: result: missing" >&5 |
---|
1570 | echo "${ECHO_T}missing" >&6 |
---|
1571 | fi |
---|
1572 | |
---|
1573 | echo "$as_me:$LINENO: checking for working autoheader" >&5 |
---|
1574 | echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6 |
---|
1575 | # Run test in a subshell; some versions of sh will print an error if |
---|
1576 | # an executable is not found, even if stderr is redirected. |
---|
1577 | # Redirect stdin to placate older versions of autoconf. Sigh. |
---|
1578 | if (autoheader --version) < /dev/null > /dev/null 2>&1; then |
---|
1579 | AUTOHEADER=autoheader |
---|
1580 | echo "$as_me:$LINENO: result: found" >&5 |
---|
1581 | echo "${ECHO_T}found" >&6 |
---|
1582 | else |
---|
1583 | AUTOHEADER="$missing_dir/missing autoheader" |
---|
1584 | echo "$as_me:$LINENO: result: missing" >&5 |
---|
1585 | echo "${ECHO_T}missing" >&6 |
---|
1586 | fi |
---|
1587 | |
---|
1588 | echo "$as_me:$LINENO: checking for working makeinfo" >&5 |
---|
1589 | echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6 |
---|
1590 | # Run test in a subshell; some versions of sh will print an error if |
---|
1591 | # an executable is not found, even if stderr is redirected. |
---|
1592 | # Redirect stdin to placate older versions of autoconf. Sigh. |
---|
1593 | if (makeinfo --version) < /dev/null > /dev/null 2>&1; then |
---|
1594 | MAKEINFO=makeinfo |
---|
1595 | echo "$as_me:$LINENO: result: found" >&5 |
---|
1596 | echo "${ECHO_T}found" >&6 |
---|
1597 | else |
---|
1598 | MAKEINFO="$missing_dir/missing makeinfo" |
---|
1599 | echo "$as_me:$LINENO: result: missing" >&5 |
---|
1600 | echo "${ECHO_T}missing" >&6 |
---|
1601 | fi |
---|
1602 | |
---|
1603 | |
---|
1604 | |
---|
1605 | echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
---|
1606 | echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 |
---|
1607 | # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. |
---|
1608 | if test "${enable_maintainer_mode+set}" = set; then |
---|
1609 | enableval="$enable_maintainer_mode" |
---|
1610 | USE_MAINTAINER_MODE=$enableval |
---|
1611 | else |
---|
1612 | USE_MAINTAINER_MODE=no |
---|
1613 | fi; |
---|
1614 | echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 |
---|
1615 | echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 |
---|
1616 | |
---|
1617 | |
---|
1618 | if test $USE_MAINTAINER_MODE = yes; then |
---|
1619 | MAINTAINER_MODE_TRUE= |
---|
1620 | MAINTAINER_MODE_FALSE='#' |
---|
1621 | else |
---|
1622 | MAINTAINER_MODE_TRUE='#' |
---|
1623 | MAINTAINER_MODE_FALSE= |
---|
1624 | fi |
---|
1625 | MAINT=$MAINTAINER_MODE_TRUE |
---|
1626 | |
---|
1627 | |
---|
1628 | |
---|
1629 | |
---|
1630 | if test -n "0.29"; then |
---|
1631 | echo "$as_me:$LINENO: checking for intltool >= 0.29" >&5 |
---|
1632 | echo $ECHO_N "checking for intltool >= 0.29... $ECHO_C" >&6 |
---|
1633 | |
---|
1634 | INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.29 | awk -F. '{ printf "%d", $1 * 100 + $2; }'` |
---|
1635 | INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { printf $2; }' < ${ac_aux_dir}/intltool-update.in` |
---|
1636 | |
---|
1637 | INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($2, VERSION, "."); printf "%d\n", VERSION[1] * 100 + VERSION[2];}' < ${ac_aux_dir}/intltool-update.in` |
---|
1638 | |
---|
1639 | |
---|
1640 | if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT"; then |
---|
1641 | echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5 |
---|
1642 | echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6 |
---|
1643 | else |
---|
1644 | echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found. Your intltool is too old. You need intltool 0.29 or later." >&5 |
---|
1645 | echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found. Your intltool is too old. You need intltool 0.29 or later." >&6 |
---|
1646 | exit 1 |
---|
1647 | fi |
---|
1648 | fi |
---|
1649 | |
---|
1650 | INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
1651 | INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
1652 | INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
1653 | INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
1654 | INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@' |
---|
1655 | INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
1656 | INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
1657 | INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
1658 | INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
1659 | INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
1660 | INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
1661 | INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
1662 | INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
1663 | INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
1664 | INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
1665 | INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
1666 | |
---|
1667 | |
---|
1668 | |
---|
1669 | |
---|
1670 | |
---|
1671 | |
---|
1672 | |
---|
1673 | |
---|
1674 | |
---|
1675 | |
---|
1676 | |
---|
1677 | |
---|
1678 | |
---|
1679 | |
---|
1680 | |
---|
1681 | |
---|
1682 | |
---|
1683 | |
---|
1684 | # Use the tools built into the package, not the ones that are installed. |
---|
1685 | |
---|
1686 | INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract' |
---|
1687 | INTLTOOL_MERGE='$(top_builddir)/intltool-merge' |
---|
1688 | INTLTOOL_UPDATE='$(top_builddir)/intltool-update' |
---|
1689 | |
---|
1690 | |
---|
1691 | |
---|
1692 | |
---|
1693 | |
---|
1694 | # Extract the first word of "perl", so it can be a program name with args. |
---|
1695 | set dummy perl; ac_word=$2 |
---|
1696 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1697 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1698 | if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then |
---|
1699 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1700 | else |
---|
1701 | case $INTLTOOL_PERL in |
---|
1702 | [\\/]* | ?:[\\/]*) |
---|
1703 | ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. |
---|
1704 | ;; |
---|
1705 | *) |
---|
1706 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1707 | for as_dir in $PATH |
---|
1708 | do |
---|
1709 | IFS=$as_save_IFS |
---|
1710 | test -z "$as_dir" && as_dir=. |
---|
1711 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1712 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1713 | ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" |
---|
1714 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1715 | break 2 |
---|
1716 | fi |
---|
1717 | done |
---|
1718 | done |
---|
1719 | |
---|
1720 | ;; |
---|
1721 | esac |
---|
1722 | fi |
---|
1723 | INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL |
---|
1724 | |
---|
1725 | if test -n "$INTLTOOL_PERL"; then |
---|
1726 | echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5 |
---|
1727 | echo "${ECHO_T}$INTLTOOL_PERL" >&6 |
---|
1728 | else |
---|
1729 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1730 | echo "${ECHO_T}no" >&6 |
---|
1731 | fi |
---|
1732 | |
---|
1733 | if test -z "$INTLTOOL_PERL"; then |
---|
1734 | { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5 |
---|
1735 | echo "$as_me: error: perl not found; required for intltool" >&2;} |
---|
1736 | { (exit 1); exit 1; }; } |
---|
1737 | fi |
---|
1738 | if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then |
---|
1739 | { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5 |
---|
1740 | echo "$as_me: error: perl 5.x required for intltool" >&2;} |
---|
1741 | { (exit 1); exit 1; }; } |
---|
1742 | fi |
---|
1743 | if test "x" != "xno-xml"; then |
---|
1744 | echo "$as_me:$LINENO: checking for XML::Parser" >&5 |
---|
1745 | echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6 |
---|
1746 | if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then |
---|
1747 | echo "$as_me:$LINENO: result: ok" >&5 |
---|
1748 | echo "${ECHO_T}ok" >&6 |
---|
1749 | else |
---|
1750 | { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5 |
---|
1751 | echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;} |
---|
1752 | { (exit 1); exit 1; }; } |
---|
1753 | fi |
---|
1754 | fi |
---|
1755 | |
---|
1756 | # Remove file type tags (using []) from po/POTFILES. |
---|
1757 | |
---|
1758 | |
---|
1759 | |
---|
1760 | |
---|
1761 | |
---|
1762 | |
---|
1763 | |
---|
1764 | # Manually sed perl in so people don't have to put the intltool scripts in AC_OUTPUT. |
---|
1765 | |
---|
1766 | ac_config_commands="$ac_config_commands default-2" |
---|
1767 | |
---|
1768 | |
---|
1769 | |
---|
1770 | |
---|
1771 | # Extract the first word of "gconftool-2", so it can be a program name with args. |
---|
1772 | set dummy gconftool-2; ac_word=$2 |
---|
1773 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1774 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1775 | if test "${ac_cv_path_GCONFTOOL+set}" = set; then |
---|
1776 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1777 | else |
---|
1778 | case $GCONFTOOL in |
---|
1779 | [\\/]* | ?:[\\/]*) |
---|
1780 | ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path. |
---|
1781 | ;; |
---|
1782 | *) |
---|
1783 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1784 | for as_dir in $PATH |
---|
1785 | do |
---|
1786 | IFS=$as_save_IFS |
---|
1787 | test -z "$as_dir" && as_dir=. |
---|
1788 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1789 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1790 | ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext" |
---|
1791 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1792 | break 2 |
---|
1793 | fi |
---|
1794 | done |
---|
1795 | done |
---|
1796 | |
---|
1797 | ;; |
---|
1798 | esac |
---|
1799 | fi |
---|
1800 | GCONFTOOL=$ac_cv_path_GCONFTOOL |
---|
1801 | |
---|
1802 | if test -n "$GCONFTOOL"; then |
---|
1803 | echo "$as_me:$LINENO: result: $GCONFTOOL" >&5 |
---|
1804 | echo "${ECHO_T}$GCONFTOOL" >&6 |
---|
1805 | else |
---|
1806 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1807 | echo "${ECHO_T}no" >&6 |
---|
1808 | fi |
---|
1809 | |
---|
1810 | |
---|
1811 | if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then |
---|
1812 | GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
1813 | else |
---|
1814 | GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE |
---|
1815 | fi |
---|
1816 | |
---|
1817 | |
---|
1818 | # Check whether --with-gconf-source or --without-gconf-source was given. |
---|
1819 | if test "${with_gconf_source+set}" = set; then |
---|
1820 | withval="$with_gconf_source" |
---|
1821 | GCONF_SCHEMA_CONFIG_SOURCE="$withval" |
---|
1822 | fi; |
---|
1823 | |
---|
1824 | |
---|
1825 | echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5 |
---|
1826 | echo "${ECHO_T}Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6 |
---|
1827 | |
---|
1828 | if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then |
---|
1829 | GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas/' |
---|
1830 | else |
---|
1831 | GCONF_SCHEMA_FILE_DIR=$GCONF_SCHEMA_FILE_DIR |
---|
1832 | fi |
---|
1833 | |
---|
1834 | |
---|
1835 | # Check whether --with-gconf-schema-file-dir or --without-gconf-schema-file-dir was given. |
---|
1836 | if test "${with_gconf_schema_file_dir+set}" = set; then |
---|
1837 | withval="$with_gconf_schema_file_dir" |
---|
1838 | GCONF_SCHEMA_FILE_DIR="$withval" |
---|
1839 | fi; |
---|
1840 | |
---|
1841 | |
---|
1842 | echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5 |
---|
1843 | echo "${ECHO_T}Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6 |
---|
1844 | |
---|
1845 | # Check whether --enable-schemas-install or --disable-schemas-install was given. |
---|
1846 | if test "${enable_schemas_install+set}" = set; then |
---|
1847 | enableval="$enable_schemas_install" |
---|
1848 | case "${enableval}" in |
---|
1849 | yes) schemas_install=true ;; |
---|
1850 | no) schemas_install=false ;; |
---|
1851 | *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --disable-schemas-install" >&5 |
---|
1852 | echo "$as_me: error: bad value ${enableval} for --disable-schemas-install" >&2;} |
---|
1853 | { (exit 1); exit 1; }; } ;; |
---|
1854 | esac |
---|
1855 | else |
---|
1856 | schemas_install=true |
---|
1857 | fi; |
---|
1858 | |
---|
1859 | |
---|
1860 | if test x$schemas_install = xtrue; then |
---|
1861 | GCONF_SCHEMAS_INSTALL_TRUE= |
---|
1862 | GCONF_SCHEMAS_INSTALL_FALSE='#' |
---|
1863 | else |
---|
1864 | GCONF_SCHEMAS_INSTALL_TRUE='#' |
---|
1865 | GCONF_SCHEMAS_INSTALL_FALSE= |
---|
1866 | fi |
---|
1867 | |
---|
1868 | |
---|
1869 | SCROLLKEEPER_REQUIRED=0.3.8 |
---|
1870 | |
---|
1871 | |
---|
1872 | ## Begin tests for scrollkeeper |
---|
1873 | # Extract the first word of "scrollkeeper-config", so it can be a program name with args. |
---|
1874 | set dummy scrollkeeper-config; ac_word=$2 |
---|
1875 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1876 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1877 | if test "${ac_cv_path_SCROLLKEEPER_CONFIG+set}" = set; then |
---|
1878 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1879 | else |
---|
1880 | case $SCROLLKEEPER_CONFIG in |
---|
1881 | [\\/]* | ?:[\\/]*) |
---|
1882 | ac_cv_path_SCROLLKEEPER_CONFIG="$SCROLLKEEPER_CONFIG" # Let the user override the test with a path. |
---|
1883 | ;; |
---|
1884 | *) |
---|
1885 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1886 | for as_dir in $PATH |
---|
1887 | do |
---|
1888 | IFS=$as_save_IFS |
---|
1889 | test -z "$as_dir" && as_dir=. |
---|
1890 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1891 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1892 | ac_cv_path_SCROLLKEEPER_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
---|
1893 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1894 | break 2 |
---|
1895 | fi |
---|
1896 | done |
---|
1897 | done |
---|
1898 | |
---|
1899 | test -z "$ac_cv_path_SCROLLKEEPER_CONFIG" && ac_cv_path_SCROLLKEEPER_CONFIG="no" |
---|
1900 | ;; |
---|
1901 | esac |
---|
1902 | fi |
---|
1903 | SCROLLKEEPER_CONFIG=$ac_cv_path_SCROLLKEEPER_CONFIG |
---|
1904 | |
---|
1905 | if test -n "$SCROLLKEEPER_CONFIG"; then |
---|
1906 | echo "$as_me:$LINENO: result: $SCROLLKEEPER_CONFIG" >&5 |
---|
1907 | echo "${ECHO_T}$SCROLLKEEPER_CONFIG" >&6 |
---|
1908 | else |
---|
1909 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1910 | echo "${ECHO_T}no" >&6 |
---|
1911 | fi |
---|
1912 | |
---|
1913 | if test x$SCROLLKEEPER_CONFIG = xno; then |
---|
1914 | { { echo "$as_me:$LINENO: error: Couldn't find scrollkeeper-config" >&5 |
---|
1915 | echo "$as_me: error: Couldn't find scrollkeeper-config" >&2;} |
---|
1916 | { (exit please install the scrollkeeper package); exit please install the scrollkeeper package; }; } |
---|
1917 | fi |
---|
1918 | |
---|
1919 | ac_ext=c |
---|
1920 | ac_cpp='$CPP $CPPFLAGS' |
---|
1921 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
1922 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
1923 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
1924 | if test -n "$ac_tool_prefix"; then |
---|
1925 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
---|
1926 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
---|
1927 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1928 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1929 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
1930 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1931 | else |
---|
1932 | if test -n "$CC"; then |
---|
1933 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
1934 | else |
---|
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 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1941 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1942 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
---|
1943 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1944 | break 2 |
---|
1945 | fi |
---|
1946 | done |
---|
1947 | done |
---|
1948 | |
---|
1949 | fi |
---|
1950 | fi |
---|
1951 | CC=$ac_cv_prog_CC |
---|
1952 | if test -n "$CC"; then |
---|
1953 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
1954 | echo "${ECHO_T}$CC" >&6 |
---|
1955 | else |
---|
1956 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1957 | echo "${ECHO_T}no" >&6 |
---|
1958 | fi |
---|
1959 | |
---|
1960 | fi |
---|
1961 | if test -z "$ac_cv_prog_CC"; then |
---|
1962 | ac_ct_CC=$CC |
---|
1963 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
1964 | set dummy gcc; ac_word=$2 |
---|
1965 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1966 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1967 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
1968 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1969 | else |
---|
1970 | if test -n "$ac_ct_CC"; then |
---|
1971 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
1972 | else |
---|
1973 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1974 | for as_dir in $PATH |
---|
1975 | do |
---|
1976 | IFS=$as_save_IFS |
---|
1977 | test -z "$as_dir" && as_dir=. |
---|
1978 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1979 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1980 | ac_cv_prog_ac_ct_CC="gcc" |
---|
1981 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1982 | break 2 |
---|
1983 | fi |
---|
1984 | done |
---|
1985 | done |
---|
1986 | |
---|
1987 | fi |
---|
1988 | fi |
---|
1989 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
1990 | if test -n "$ac_ct_CC"; then |
---|
1991 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
1992 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
1993 | else |
---|
1994 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1995 | echo "${ECHO_T}no" >&6 |
---|
1996 | fi |
---|
1997 | |
---|
1998 | CC=$ac_ct_CC |
---|
1999 | else |
---|
2000 | CC="$ac_cv_prog_CC" |
---|
2001 | fi |
---|
2002 | |
---|
2003 | if test -z "$CC"; then |
---|
2004 | if test -n "$ac_tool_prefix"; then |
---|
2005 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
---|
2006 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
---|
2007 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2008 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2009 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2010 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2011 | else |
---|
2012 | if test -n "$CC"; then |
---|
2013 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2014 | else |
---|
2015 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2016 | for as_dir in $PATH |
---|
2017 | do |
---|
2018 | IFS=$as_save_IFS |
---|
2019 | test -z "$as_dir" && as_dir=. |
---|
2020 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2021 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2022 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
---|
2023 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2024 | break 2 |
---|
2025 | fi |
---|
2026 | done |
---|
2027 | done |
---|
2028 | |
---|
2029 | fi |
---|
2030 | fi |
---|
2031 | CC=$ac_cv_prog_CC |
---|
2032 | if test -n "$CC"; then |
---|
2033 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2034 | echo "${ECHO_T}$CC" >&6 |
---|
2035 | else |
---|
2036 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2037 | echo "${ECHO_T}no" >&6 |
---|
2038 | fi |
---|
2039 | |
---|
2040 | fi |
---|
2041 | if test -z "$ac_cv_prog_CC"; then |
---|
2042 | ac_ct_CC=$CC |
---|
2043 | # Extract the first word of "cc", so it can be a program name with args. |
---|
2044 | set dummy cc; ac_word=$2 |
---|
2045 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2046 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2047 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
2048 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2049 | else |
---|
2050 | if test -n "$ac_ct_CC"; then |
---|
2051 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
2052 | else |
---|
2053 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2054 | for as_dir in $PATH |
---|
2055 | do |
---|
2056 | IFS=$as_save_IFS |
---|
2057 | test -z "$as_dir" && as_dir=. |
---|
2058 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2059 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2060 | ac_cv_prog_ac_ct_CC="cc" |
---|
2061 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2062 | break 2 |
---|
2063 | fi |
---|
2064 | done |
---|
2065 | done |
---|
2066 | |
---|
2067 | fi |
---|
2068 | fi |
---|
2069 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
2070 | if test -n "$ac_ct_CC"; then |
---|
2071 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
2072 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
2073 | else |
---|
2074 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2075 | echo "${ECHO_T}no" >&6 |
---|
2076 | fi |
---|
2077 | |
---|
2078 | CC=$ac_ct_CC |
---|
2079 | else |
---|
2080 | CC="$ac_cv_prog_CC" |
---|
2081 | fi |
---|
2082 | |
---|
2083 | fi |
---|
2084 | if test -z "$CC"; then |
---|
2085 | # Extract the first word of "cc", so it can be a program name with args. |
---|
2086 | set dummy cc; ac_word=$2 |
---|
2087 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2088 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2089 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2090 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2091 | else |
---|
2092 | if test -n "$CC"; then |
---|
2093 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2094 | else |
---|
2095 | ac_prog_rejected=no |
---|
2096 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2097 | for as_dir in $PATH |
---|
2098 | do |
---|
2099 | IFS=$as_save_IFS |
---|
2100 | test -z "$as_dir" && as_dir=. |
---|
2101 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2102 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2103 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
2104 | ac_prog_rejected=yes |
---|
2105 | continue |
---|
2106 | fi |
---|
2107 | ac_cv_prog_CC="cc" |
---|
2108 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2109 | break 2 |
---|
2110 | fi |
---|
2111 | done |
---|
2112 | done |
---|
2113 | |
---|
2114 | if test $ac_prog_rejected = yes; then |
---|
2115 | # We found a bogon in the path, so make sure we never use it. |
---|
2116 | set dummy $ac_cv_prog_CC |
---|
2117 | shift |
---|
2118 | if test $# != 0; then |
---|
2119 | # We chose a different compiler from the bogus one. |
---|
2120 | # However, it has the same basename, so the bogon will be chosen |
---|
2121 | # first if we set CC to just the basename; use the full file name. |
---|
2122 | shift |
---|
2123 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
2124 | fi |
---|
2125 | fi |
---|
2126 | fi |
---|
2127 | fi |
---|
2128 | CC=$ac_cv_prog_CC |
---|
2129 | if test -n "$CC"; then |
---|
2130 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2131 | echo "${ECHO_T}$CC" >&6 |
---|
2132 | else |
---|
2133 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2134 | echo "${ECHO_T}no" >&6 |
---|
2135 | fi |
---|
2136 | |
---|
2137 | fi |
---|
2138 | if test -z "$CC"; then |
---|
2139 | if test -n "$ac_tool_prefix"; then |
---|
2140 | for ac_prog in cl |
---|
2141 | do |
---|
2142 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
2143 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
2144 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2145 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2146 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2147 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2148 | else |
---|
2149 | if test -n "$CC"; then |
---|
2150 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2151 | else |
---|
2152 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2153 | for as_dir in $PATH |
---|
2154 | do |
---|
2155 | IFS=$as_save_IFS |
---|
2156 | test -z "$as_dir" && as_dir=. |
---|
2157 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2158 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2159 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
---|
2160 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2161 | break 2 |
---|
2162 | fi |
---|
2163 | done |
---|
2164 | done |
---|
2165 | |
---|
2166 | fi |
---|
2167 | fi |
---|
2168 | CC=$ac_cv_prog_CC |
---|
2169 | if test -n "$CC"; then |
---|
2170 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2171 | echo "${ECHO_T}$CC" >&6 |
---|
2172 | else |
---|
2173 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2174 | echo "${ECHO_T}no" >&6 |
---|
2175 | fi |
---|
2176 | |
---|
2177 | test -n "$CC" && break |
---|
2178 | done |
---|
2179 | fi |
---|
2180 | if test -z "$CC"; then |
---|
2181 | ac_ct_CC=$CC |
---|
2182 | for ac_prog in cl |
---|
2183 | do |
---|
2184 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
2185 | set dummy $ac_prog; ac_word=$2 |
---|
2186 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2187 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2188 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
2189 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2190 | else |
---|
2191 | if test -n "$ac_ct_CC"; then |
---|
2192 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
2193 | else |
---|
2194 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2195 | for as_dir in $PATH |
---|
2196 | do |
---|
2197 | IFS=$as_save_IFS |
---|
2198 | test -z "$as_dir" && as_dir=. |
---|
2199 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2200 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2201 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
2202 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2203 | break 2 |
---|
2204 | fi |
---|
2205 | done |
---|
2206 | done |
---|
2207 | |
---|
2208 | fi |
---|
2209 | fi |
---|
2210 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
2211 | if test -n "$ac_ct_CC"; then |
---|
2212 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
2213 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
2214 | else |
---|
2215 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2216 | echo "${ECHO_T}no" >&6 |
---|
2217 | fi |
---|
2218 | |
---|
2219 | test -n "$ac_ct_CC" && break |
---|
2220 | done |
---|
2221 | |
---|
2222 | CC=$ac_ct_CC |
---|
2223 | fi |
---|
2224 | |
---|
2225 | fi |
---|
2226 | |
---|
2227 | |
---|
2228 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
---|
2229 | See \`config.log' for more details." >&5 |
---|
2230 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
---|
2231 | See \`config.log' for more details." >&2;} |
---|
2232 | { (exit 1); exit 1; }; } |
---|
2233 | |
---|
2234 | # Provide some information about the compiler. |
---|
2235 | echo "$as_me:$LINENO:" \ |
---|
2236 | "checking for C compiler version" >&5 |
---|
2237 | ac_compiler=`set X $ac_compile; echo $2` |
---|
2238 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
---|
2239 | (eval $ac_compiler --version </dev/null >&5) 2>&5 |
---|
2240 | ac_status=$? |
---|
2241 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2242 | (exit $ac_status); } |
---|
2243 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
---|
2244 | (eval $ac_compiler -v </dev/null >&5) 2>&5 |
---|
2245 | ac_status=$? |
---|
2246 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2247 | (exit $ac_status); } |
---|
2248 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
---|
2249 | (eval $ac_compiler -V </dev/null >&5) 2>&5 |
---|
2250 | ac_status=$? |
---|
2251 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2252 | (exit $ac_status); } |
---|
2253 | |
---|
2254 | cat >conftest.$ac_ext <<_ACEOF |
---|
2255 | /* confdefs.h. */ |
---|
2256 | _ACEOF |
---|
2257 | cat confdefs.h >>conftest.$ac_ext |
---|
2258 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2259 | /* end confdefs.h. */ |
---|
2260 | |
---|
2261 | int |
---|
2262 | main () |
---|
2263 | { |
---|
2264 | |
---|
2265 | ; |
---|
2266 | return 0; |
---|
2267 | } |
---|
2268 | _ACEOF |
---|
2269 | ac_clean_files_save=$ac_clean_files |
---|
2270 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
---|
2271 | # Try to create an executable without -o first, disregard a.out. |
---|
2272 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
2273 | # of exeext. |
---|
2274 | echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
---|
2275 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
---|
2276 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
2277 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
---|
2278 | (eval $ac_link_default) 2>&5 |
---|
2279 | ac_status=$? |
---|
2280 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2281 | (exit $ac_status); }; then |
---|
2282 | # Find the output, starting from the most likely. This scheme is |
---|
2283 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last |
---|
2284 | # resort. |
---|
2285 | |
---|
2286 | # Be careful to initialize this variable, since it used to be cached. |
---|
2287 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
---|
2288 | ac_cv_exeext= |
---|
2289 | # b.out is created by i960 compilers. |
---|
2290 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
---|
2291 | do |
---|
2292 | test -f "$ac_file" || continue |
---|
2293 | case $ac_file in |
---|
2294 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
---|
2295 | ;; |
---|
2296 | conftest.$ac_ext ) |
---|
2297 | # This is the source file. |
---|
2298 | ;; |
---|
2299 | [ab].out ) |
---|
2300 | # We found the default executable, but exeext='' is most |
---|
2301 | # certainly right. |
---|
2302 | break;; |
---|
2303 | *.* ) |
---|
2304 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
2305 | # FIXME: I believe we export ac_cv_exeext for Libtool, |
---|
2306 | # but it would be cool to find out if it's true. Does anybody |
---|
2307 | # maintain Libtool? --akim. |
---|
2308 | export ac_cv_exeext |
---|
2309 | break;; |
---|
2310 | * ) |
---|
2311 | break;; |
---|
2312 | esac |
---|
2313 | done |
---|
2314 | else |
---|
2315 | echo "$as_me: failed program was:" >&5 |
---|
2316 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2317 | |
---|
2318 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
---|
2319 | See \`config.log' for more details." >&5 |
---|
2320 | echo "$as_me: error: C compiler cannot create executables |
---|
2321 | See \`config.log' for more details." >&2;} |
---|
2322 | { (exit 77); exit 77; }; } |
---|
2323 | fi |
---|
2324 | |
---|
2325 | ac_exeext=$ac_cv_exeext |
---|
2326 | echo "$as_me:$LINENO: result: $ac_file" >&5 |
---|
2327 | echo "${ECHO_T}$ac_file" >&6 |
---|
2328 | |
---|
2329 | # Check the compiler produces executables we can run. If not, either |
---|
2330 | # the compiler is broken, or we cross compile. |
---|
2331 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
---|
2332 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
---|
2333 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
---|
2334 | # If not cross compiling, check that we can run a simple program. |
---|
2335 | if test "$cross_compiling" != yes; then |
---|
2336 | if { ac_try='./$ac_file' |
---|
2337 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2338 | (eval $ac_try) 2>&5 |
---|
2339 | ac_status=$? |
---|
2340 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2341 | (exit $ac_status); }; }; then |
---|
2342 | cross_compiling=no |
---|
2343 | else |
---|
2344 | if test "$cross_compiling" = maybe; then |
---|
2345 | cross_compiling=yes |
---|
2346 | else |
---|
2347 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
---|
2348 | If you meant to cross compile, use \`--host'. |
---|
2349 | See \`config.log' for more details." >&5 |
---|
2350 | echo "$as_me: error: cannot run C compiled programs. |
---|
2351 | If you meant to cross compile, use \`--host'. |
---|
2352 | See \`config.log' for more details." >&2;} |
---|
2353 | { (exit 1); exit 1; }; } |
---|
2354 | fi |
---|
2355 | fi |
---|
2356 | fi |
---|
2357 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
2358 | echo "${ECHO_T}yes" >&6 |
---|
2359 | |
---|
2360 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
---|
2361 | ac_clean_files=$ac_clean_files_save |
---|
2362 | # Check the compiler produces executables we can run. If not, either |
---|
2363 | # the compiler is broken, or we cross compile. |
---|
2364 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
---|
2365 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
---|
2366 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
---|
2367 | echo "${ECHO_T}$cross_compiling" >&6 |
---|
2368 | |
---|
2369 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
---|
2370 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
---|
2371 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
2372 | (eval $ac_link) 2>&5 |
---|
2373 | ac_status=$? |
---|
2374 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2375 | (exit $ac_status); }; then |
---|
2376 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
2377 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
2378 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
2379 | # `rm'. |
---|
2380 | for ac_file in conftest.exe conftest conftest.*; do |
---|
2381 | test -f "$ac_file" || continue |
---|
2382 | case $ac_file in |
---|
2383 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
---|
2384 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
2385 | export ac_cv_exeext |
---|
2386 | break;; |
---|
2387 | * ) break;; |
---|
2388 | esac |
---|
2389 | done |
---|
2390 | else |
---|
2391 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
---|
2392 | See \`config.log' for more details." >&5 |
---|
2393 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
---|
2394 | See \`config.log' for more details." >&2;} |
---|
2395 | { (exit 1); exit 1; }; } |
---|
2396 | fi |
---|
2397 | |
---|
2398 | rm -f conftest$ac_cv_exeext |
---|
2399 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
---|
2400 | echo "${ECHO_T}$ac_cv_exeext" >&6 |
---|
2401 | |
---|
2402 | rm -f conftest.$ac_ext |
---|
2403 | EXEEXT=$ac_cv_exeext |
---|
2404 | ac_exeext=$EXEEXT |
---|
2405 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
---|
2406 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
---|
2407 | if test "${ac_cv_objext+set}" = set; then |
---|
2408 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2409 | else |
---|
2410 | cat >conftest.$ac_ext <<_ACEOF |
---|
2411 | /* confdefs.h. */ |
---|
2412 | _ACEOF |
---|
2413 | cat confdefs.h >>conftest.$ac_ext |
---|
2414 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2415 | /* end confdefs.h. */ |
---|
2416 | |
---|
2417 | int |
---|
2418 | main () |
---|
2419 | { |
---|
2420 | |
---|
2421 | ; |
---|
2422 | return 0; |
---|
2423 | } |
---|
2424 | _ACEOF |
---|
2425 | rm -f conftest.o conftest.obj |
---|
2426 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2427 | (eval $ac_compile) 2>&5 |
---|
2428 | ac_status=$? |
---|
2429 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2430 | (exit $ac_status); }; then |
---|
2431 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
---|
2432 | case $ac_file in |
---|
2433 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
---|
2434 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
2435 | break;; |
---|
2436 | esac |
---|
2437 | done |
---|
2438 | else |
---|
2439 | echo "$as_me: failed program was:" >&5 |
---|
2440 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2441 | |
---|
2442 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
---|
2443 | See \`config.log' for more details." >&5 |
---|
2444 | echo "$as_me: error: cannot compute suffix of object files: cannot compile |
---|
2445 | See \`config.log' for more details." >&2;} |
---|
2446 | { (exit 1); exit 1; }; } |
---|
2447 | fi |
---|
2448 | |
---|
2449 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
2450 | fi |
---|
2451 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
---|
2452 | echo "${ECHO_T}$ac_cv_objext" >&6 |
---|
2453 | OBJEXT=$ac_cv_objext |
---|
2454 | ac_objext=$OBJEXT |
---|
2455 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
---|
2456 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
---|
2457 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
---|
2458 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2459 | else |
---|
2460 | cat >conftest.$ac_ext <<_ACEOF |
---|
2461 | /* confdefs.h. */ |
---|
2462 | _ACEOF |
---|
2463 | cat confdefs.h >>conftest.$ac_ext |
---|
2464 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2465 | /* end confdefs.h. */ |
---|
2466 | |
---|
2467 | int |
---|
2468 | main () |
---|
2469 | { |
---|
2470 | #ifndef __GNUC__ |
---|
2471 | choke me |
---|
2472 | #endif |
---|
2473 | |
---|
2474 | ; |
---|
2475 | return 0; |
---|
2476 | } |
---|
2477 | _ACEOF |
---|
2478 | rm -f conftest.$ac_objext |
---|
2479 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2480 | (eval $ac_compile) 2>conftest.er1 |
---|
2481 | ac_status=$? |
---|
2482 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2483 | rm -f conftest.er1 |
---|
2484 | cat conftest.err >&5 |
---|
2485 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2486 | (exit $ac_status); } && |
---|
2487 | { ac_try='test -z "$ac_c_werror_flag" |
---|
2488 | || test ! -s conftest.err' |
---|
2489 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2490 | (eval $ac_try) 2>&5 |
---|
2491 | ac_status=$? |
---|
2492 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2493 | (exit $ac_status); }; } && |
---|
2494 | { ac_try='test -s conftest.$ac_objext' |
---|
2495 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2496 | (eval $ac_try) 2>&5 |
---|
2497 | ac_status=$? |
---|
2498 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2499 | (exit $ac_status); }; }; then |
---|
2500 | ac_compiler_gnu=yes |
---|
2501 | else |
---|
2502 | echo "$as_me: failed program was:" >&5 |
---|
2503 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2504 | |
---|
2505 | ac_compiler_gnu=no |
---|
2506 | fi |
---|
2507 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2508 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
2509 | |
---|
2510 | fi |
---|
2511 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
---|
2512 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
---|
2513 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
---|
2514 | ac_test_CFLAGS=${CFLAGS+set} |
---|
2515 | ac_save_CFLAGS=$CFLAGS |
---|
2516 | CFLAGS="-g" |
---|
2517 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
---|
2518 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
---|
2519 | if test "${ac_cv_prog_cc_g+set}" = set; then |
---|
2520 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2521 | else |
---|
2522 | cat >conftest.$ac_ext <<_ACEOF |
---|
2523 | /* confdefs.h. */ |
---|
2524 | _ACEOF |
---|
2525 | cat confdefs.h >>conftest.$ac_ext |
---|
2526 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2527 | /* end confdefs.h. */ |
---|
2528 | |
---|
2529 | int |
---|
2530 | main () |
---|
2531 | { |
---|
2532 | |
---|
2533 | ; |
---|
2534 | return 0; |
---|
2535 | } |
---|
2536 | _ACEOF |
---|
2537 | rm -f conftest.$ac_objext |
---|
2538 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2539 | (eval $ac_compile) 2>conftest.er1 |
---|
2540 | ac_status=$? |
---|
2541 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2542 | rm -f conftest.er1 |
---|
2543 | cat conftest.err >&5 |
---|
2544 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2545 | (exit $ac_status); } && |
---|
2546 | { ac_try='test -z "$ac_c_werror_flag" |
---|
2547 | || test ! -s conftest.err' |
---|
2548 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2549 | (eval $ac_try) 2>&5 |
---|
2550 | ac_status=$? |
---|
2551 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2552 | (exit $ac_status); }; } && |
---|
2553 | { ac_try='test -s conftest.$ac_objext' |
---|
2554 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2555 | (eval $ac_try) 2>&5 |
---|
2556 | ac_status=$? |
---|
2557 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2558 | (exit $ac_status); }; }; then |
---|
2559 | ac_cv_prog_cc_g=yes |
---|
2560 | else |
---|
2561 | echo "$as_me: failed program was:" >&5 |
---|
2562 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2563 | |
---|
2564 | ac_cv_prog_cc_g=no |
---|
2565 | fi |
---|
2566 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2567 | fi |
---|
2568 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
---|
2569 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
---|
2570 | if test "$ac_test_CFLAGS" = set; then |
---|
2571 | CFLAGS=$ac_save_CFLAGS |
---|
2572 | elif test $ac_cv_prog_cc_g = yes; then |
---|
2573 | if test "$GCC" = yes; then |
---|
2574 | CFLAGS="-g -O2" |
---|
2575 | else |
---|
2576 | CFLAGS="-g" |
---|
2577 | fi |
---|
2578 | else |
---|
2579 | if test "$GCC" = yes; then |
---|
2580 | CFLAGS="-O2" |
---|
2581 | else |
---|
2582 | CFLAGS= |
---|
2583 | fi |
---|
2584 | fi |
---|
2585 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
---|
2586 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
---|
2587 | if test "${ac_cv_prog_cc_stdc+set}" = set; then |
---|
2588 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2589 | else |
---|
2590 | ac_cv_prog_cc_stdc=no |
---|
2591 | ac_save_CC=$CC |
---|
2592 | cat >conftest.$ac_ext <<_ACEOF |
---|
2593 | /* confdefs.h. */ |
---|
2594 | _ACEOF |
---|
2595 | cat confdefs.h >>conftest.$ac_ext |
---|
2596 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2597 | /* end confdefs.h. */ |
---|
2598 | #include <stdarg.h> |
---|
2599 | #include <stdio.h> |
---|
2600 | #include <sys/types.h> |
---|
2601 | #include <sys/stat.h> |
---|
2602 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
2603 | struct buf { int x; }; |
---|
2604 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
2605 | static char *e (p, i) |
---|
2606 | char **p; |
---|
2607 | int i; |
---|
2608 | { |
---|
2609 | return p[i]; |
---|
2610 | } |
---|
2611 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
2612 | { |
---|
2613 | char *s; |
---|
2614 | va_list v; |
---|
2615 | va_start (v,p); |
---|
2616 | s = g (p, va_arg (v,int)); |
---|
2617 | va_end (v); |
---|
2618 | return s; |
---|
2619 | } |
---|
2620 | |
---|
2621 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
2622 | function prototypes and stuff, but not '\xHH' hex character constants. |
---|
2623 | These don't provoke an error unfortunately, instead are silently treated |
---|
2624 | as 'x'. The following induces an error, until -std1 is added to get |
---|
2625 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
---|
2626 | array size at least. It's necessary to write '\x00'==0 to get something |
---|
2627 | that's true only with -std1. */ |
---|
2628 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
2629 | |
---|
2630 | int test (int i, double x); |
---|
2631 | struct s1 {int (*f) (int a);}; |
---|
2632 | struct s2 {int (*f) (double a);}; |
---|
2633 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
2634 | int argc; |
---|
2635 | char **argv; |
---|
2636 | int |
---|
2637 | main () |
---|
2638 | { |
---|
2639 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
2640 | ; |
---|
2641 | return 0; |
---|
2642 | } |
---|
2643 | _ACEOF |
---|
2644 | # Don't try gcc -ansi; that turns off useful extensions and |
---|
2645 | # breaks some systems' header files. |
---|
2646 | # AIX -qlanglvl=ansi |
---|
2647 | # Ultrix and OSF/1 -std1 |
---|
2648 | # HP-UX 10.20 and later -Ae |
---|
2649 | # HP-UX older versions -Aa -D_HPUX_SOURCE |
---|
2650 | # SVR4 -Xc -D__EXTENSIONS__ |
---|
2651 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
2652 | do |
---|
2653 | CC="$ac_save_CC $ac_arg" |
---|
2654 | rm -f conftest.$ac_objext |
---|
2655 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2656 | (eval $ac_compile) 2>conftest.er1 |
---|
2657 | ac_status=$? |
---|
2658 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2659 | rm -f conftest.er1 |
---|
2660 | cat conftest.err >&5 |
---|
2661 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2662 | (exit $ac_status); } && |
---|
2663 | { ac_try='test -z "$ac_c_werror_flag" |
---|
2664 | || test ! -s conftest.err' |
---|
2665 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2666 | (eval $ac_try) 2>&5 |
---|
2667 | ac_status=$? |
---|
2668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2669 | (exit $ac_status); }; } && |
---|
2670 | { ac_try='test -s conftest.$ac_objext' |
---|
2671 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2672 | (eval $ac_try) 2>&5 |
---|
2673 | ac_status=$? |
---|
2674 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2675 | (exit $ac_status); }; }; then |
---|
2676 | ac_cv_prog_cc_stdc=$ac_arg |
---|
2677 | break |
---|
2678 | else |
---|
2679 | echo "$as_me: failed program was:" >&5 |
---|
2680 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2681 | |
---|
2682 | fi |
---|
2683 | rm -f conftest.err conftest.$ac_objext |
---|
2684 | done |
---|
2685 | rm -f conftest.$ac_ext conftest.$ac_objext |
---|
2686 | CC=$ac_save_CC |
---|
2687 | |
---|
2688 | fi |
---|
2689 | |
---|
2690 | case "x$ac_cv_prog_cc_stdc" in |
---|
2691 | x|xno) |
---|
2692 | echo "$as_me:$LINENO: result: none needed" >&5 |
---|
2693 | echo "${ECHO_T}none needed" >&6 ;; |
---|
2694 | *) |
---|
2695 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
---|
2696 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
---|
2697 | CC="$CC $ac_cv_prog_cc_stdc" ;; |
---|
2698 | esac |
---|
2699 | |
---|
2700 | # Some people use a C++ compiler to compile C. Since we use `exit', |
---|
2701 | # in C++ we need to declare it. In case someone uses the same compiler |
---|
2702 | # for both compiling C and C++ we need to have the C++ compiler decide |
---|
2703 | # the declaration of exit, since it's the most demanding environment. |
---|
2704 | cat >conftest.$ac_ext <<_ACEOF |
---|
2705 | #ifndef __cplusplus |
---|
2706 | choke me |
---|
2707 | #endif |
---|
2708 | _ACEOF |
---|
2709 | rm -f conftest.$ac_objext |
---|
2710 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2711 | (eval $ac_compile) 2>conftest.er1 |
---|
2712 | ac_status=$? |
---|
2713 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2714 | rm -f conftest.er1 |
---|
2715 | cat conftest.err >&5 |
---|
2716 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2717 | (exit $ac_status); } && |
---|
2718 | { ac_try='test -z "$ac_c_werror_flag" |
---|
2719 | || test ! -s conftest.err' |
---|
2720 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2721 | (eval $ac_try) 2>&5 |
---|
2722 | ac_status=$? |
---|
2723 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2724 | (exit $ac_status); }; } && |
---|
2725 | { ac_try='test -s conftest.$ac_objext' |
---|
2726 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2727 | (eval $ac_try) 2>&5 |
---|
2728 | ac_status=$? |
---|
2729 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2730 | (exit $ac_status); }; }; then |
---|
2731 | for ac_declaration in \ |
---|
2732 | '' \ |
---|
2733 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
---|
2734 | 'extern "C" void std::exit (int); using std::exit;' \ |
---|
2735 | 'extern "C" void exit (int) throw ();' \ |
---|
2736 | 'extern "C" void exit (int);' \ |
---|
2737 | 'void exit (int);' |
---|
2738 | do |
---|
2739 | cat >conftest.$ac_ext <<_ACEOF |
---|
2740 | /* confdefs.h. */ |
---|
2741 | _ACEOF |
---|
2742 | cat confdefs.h >>conftest.$ac_ext |
---|
2743 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2744 | /* end confdefs.h. */ |
---|
2745 | $ac_declaration |
---|
2746 | #include <stdlib.h> |
---|
2747 | int |
---|
2748 | main () |
---|
2749 | { |
---|
2750 | exit (42); |
---|
2751 | ; |
---|
2752 | return 0; |
---|
2753 | } |
---|
2754 | _ACEOF |
---|
2755 | rm -f conftest.$ac_objext |
---|
2756 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2757 | (eval $ac_compile) 2>conftest.er1 |
---|
2758 | ac_status=$? |
---|
2759 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2760 | rm -f conftest.er1 |
---|
2761 | cat conftest.err >&5 |
---|
2762 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2763 | (exit $ac_status); } && |
---|
2764 | { ac_try='test -z "$ac_c_werror_flag" |
---|
2765 | || test ! -s conftest.err' |
---|
2766 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2767 | (eval $ac_try) 2>&5 |
---|
2768 | ac_status=$? |
---|
2769 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2770 | (exit $ac_status); }; } && |
---|
2771 | { ac_try='test -s conftest.$ac_objext' |
---|
2772 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2773 | (eval $ac_try) 2>&5 |
---|
2774 | ac_status=$? |
---|
2775 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2776 | (exit $ac_status); }; }; then |
---|
2777 | : |
---|
2778 | else |
---|
2779 | echo "$as_me: failed program was:" >&5 |
---|
2780 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2781 | |
---|
2782 | continue |
---|
2783 | fi |
---|
2784 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2785 | cat >conftest.$ac_ext <<_ACEOF |
---|
2786 | /* confdefs.h. */ |
---|
2787 | _ACEOF |
---|
2788 | cat confdefs.h >>conftest.$ac_ext |
---|
2789 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2790 | /* end confdefs.h. */ |
---|
2791 | $ac_declaration |
---|
2792 | int |
---|
2793 | main () |
---|
2794 | { |
---|
2795 | exit (42); |
---|
2796 | ; |
---|
2797 | return 0; |
---|
2798 | } |
---|
2799 | _ACEOF |
---|
2800 | rm -f conftest.$ac_objext |
---|
2801 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2802 | (eval $ac_compile) 2>conftest.er1 |
---|
2803 | ac_status=$? |
---|
2804 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2805 | rm -f conftest.er1 |
---|
2806 | cat conftest.err >&5 |
---|
2807 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2808 | (exit $ac_status); } && |
---|
2809 | { ac_try='test -z "$ac_c_werror_flag" |
---|
2810 | || test ! -s conftest.err' |
---|
2811 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2812 | (eval $ac_try) 2>&5 |
---|
2813 | ac_status=$? |
---|
2814 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2815 | (exit $ac_status); }; } && |
---|
2816 | { ac_try='test -s conftest.$ac_objext' |
---|
2817 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2818 | (eval $ac_try) 2>&5 |
---|
2819 | ac_status=$? |
---|
2820 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2821 | (exit $ac_status); }; }; then |
---|
2822 | break |
---|
2823 | else |
---|
2824 | echo "$as_me: failed program was:" >&5 |
---|
2825 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2826 | |
---|
2827 | fi |
---|
2828 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2829 | done |
---|
2830 | rm -f conftest* |
---|
2831 | if test -n "$ac_declaration"; then |
---|
2832 | echo '#ifdef __cplusplus' >>confdefs.h |
---|
2833 | echo $ac_declaration >>confdefs.h |
---|
2834 | echo '#endif' >>confdefs.h |
---|
2835 | fi |
---|
2836 | |
---|
2837 | else |
---|
2838 | echo "$as_me: failed program was:" >&5 |
---|
2839 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2840 | |
---|
2841 | fi |
---|
2842 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2843 | ac_ext=c |
---|
2844 | ac_cpp='$CPP $CPPFLAGS' |
---|
2845 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
2846 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
2847 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
2848 | |
---|
2849 | |
---|
2850 | |
---|
2851 | echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5 |
---|
2852 | echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6 |
---|
2853 | if test "${ac_cv_lib_cposix_strerror+set}" = set; then |
---|
2854 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2855 | else |
---|
2856 | ac_check_lib_save_LIBS=$LIBS |
---|
2857 | LIBS="-lcposix $LIBS" |
---|
2858 | cat >conftest.$ac_ext <<_ACEOF |
---|
2859 | /* confdefs.h. */ |
---|
2860 | _ACEOF |
---|
2861 | cat confdefs.h >>conftest.$ac_ext |
---|
2862 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2863 | /* end confdefs.h. */ |
---|
2864 | |
---|
2865 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
2866 | #ifdef __cplusplus |
---|
2867 | extern "C" |
---|
2868 | #endif |
---|
2869 | /* We use char because int might match the return type of a gcc2 |
---|
2870 | builtin and then its argument prototype would still apply. */ |
---|
2871 | char strerror (); |
---|
2872 | int |
---|
2873 | main () |
---|
2874 | { |
---|
2875 | strerror (); |
---|
2876 | ; |
---|
2877 | return 0; |
---|
2878 | } |
---|
2879 | _ACEOF |
---|
2880 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
2881 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
2882 | (eval $ac_link) 2>conftest.er1 |
---|
2883 | ac_status=$? |
---|
2884 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2885 | rm -f conftest.er1 |
---|
2886 | cat conftest.err >&5 |
---|
2887 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2888 | (exit $ac_status); } && |
---|
2889 | { ac_try='test -z "$ac_c_werror_flag" |
---|
2890 | || test ! -s conftest.err' |
---|
2891 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2892 | (eval $ac_try) 2>&5 |
---|
2893 | ac_status=$? |
---|
2894 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2895 | (exit $ac_status); }; } && |
---|
2896 | { ac_try='test -s conftest$ac_exeext' |
---|
2897 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2898 | (eval $ac_try) 2>&5 |
---|
2899 | ac_status=$? |
---|
2900 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2901 | (exit $ac_status); }; }; then |
---|
2902 | ac_cv_lib_cposix_strerror=yes |
---|
2903 | else |
---|
2904 | echo "$as_me: failed program was:" >&5 |
---|
2905 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2906 | |
---|
2907 | ac_cv_lib_cposix_strerror=no |
---|
2908 | fi |
---|
2909 | rm -f conftest.err conftest.$ac_objext \ |
---|
2910 | conftest$ac_exeext conftest.$ac_ext |
---|
2911 | LIBS=$ac_check_lib_save_LIBS |
---|
2912 | fi |
---|
2913 | echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5 |
---|
2914 | echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6 |
---|
2915 | if test $ac_cv_lib_cposix_strerror = yes; then |
---|
2916 | LIBS="$LIBS -lcposix" |
---|
2917 | fi |
---|
2918 | |
---|
2919 | |
---|
2920 | |
---|
2921 | ac_ext=c |
---|
2922 | ac_cpp='$CPP $CPPFLAGS' |
---|
2923 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
2924 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
2925 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
2926 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
---|
2927 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
---|
2928 | # On Suns, sometimes $CPP names a directory. |
---|
2929 | if test -n "$CPP" && test -d "$CPP"; then |
---|
2930 | CPP= |
---|
2931 | fi |
---|
2932 | if test -z "$CPP"; then |
---|
2933 | if test "${ac_cv_prog_CPP+set}" = set; then |
---|
2934 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2935 | else |
---|
2936 | # Double quotes because CPP needs to be expanded |
---|
2937 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
---|
2938 | do |
---|
2939 | ac_preproc_ok=false |
---|
2940 | for ac_c_preproc_warn_flag in '' yes |
---|
2941 | do |
---|
2942 | # Use a header file that comes with gcc, so configuring glibc |
---|
2943 | # with a fresh cross-compiler works. |
---|
2944 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
2945 | # <limits.h> exists even on freestanding compilers. |
---|
2946 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
2947 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
2948 | cat >conftest.$ac_ext <<_ACEOF |
---|
2949 | /* confdefs.h. */ |
---|
2950 | _ACEOF |
---|
2951 | cat confdefs.h >>conftest.$ac_ext |
---|
2952 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2953 | /* end confdefs.h. */ |
---|
2954 | #ifdef __STDC__ |
---|
2955 | # include <limits.h> |
---|
2956 | #else |
---|
2957 | # include <assert.h> |
---|
2958 | #endif |
---|
2959 | Syntax error |
---|
2960 | _ACEOF |
---|
2961 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
2962 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
2963 | ac_status=$? |
---|
2964 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2965 | rm -f conftest.er1 |
---|
2966 | cat conftest.err >&5 |
---|
2967 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2968 | (exit $ac_status); } >/dev/null; then |
---|
2969 | if test -s conftest.err; then |
---|
2970 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
2971 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
2972 | else |
---|
2973 | ac_cpp_err= |
---|
2974 | fi |
---|
2975 | else |
---|
2976 | ac_cpp_err=yes |
---|
2977 | fi |
---|
2978 | if test -z "$ac_cpp_err"; then |
---|
2979 | : |
---|
2980 | else |
---|
2981 | echo "$as_me: failed program was:" >&5 |
---|
2982 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2983 | |
---|
2984 | # Broken: fails on valid input. |
---|
2985 | continue |
---|
2986 | fi |
---|
2987 | rm -f conftest.err conftest.$ac_ext |
---|
2988 | |
---|
2989 | # OK, works on sane cases. Now check whether non-existent headers |
---|
2990 | # can be detected and how. |
---|
2991 | cat >conftest.$ac_ext <<_ACEOF |
---|
2992 | /* confdefs.h. */ |
---|
2993 | _ACEOF |
---|
2994 | cat confdefs.h >>conftest.$ac_ext |
---|
2995 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2996 | /* end confdefs.h. */ |
---|
2997 | #include <ac_nonexistent.h> |
---|
2998 | _ACEOF |
---|
2999 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
3000 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
3001 | ac_status=$? |
---|
3002 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3003 | rm -f conftest.er1 |
---|
3004 | cat conftest.err >&5 |
---|
3005 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3006 | (exit $ac_status); } >/dev/null; then |
---|
3007 | if test -s conftest.err; then |
---|
3008 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
3009 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
3010 | else |
---|
3011 | ac_cpp_err= |
---|
3012 | fi |
---|
3013 | else |
---|
3014 | ac_cpp_err=yes |
---|
3015 | fi |
---|
3016 | if test -z "$ac_cpp_err"; then |
---|
3017 | # Broken: success on invalid input. |
---|
3018 | continue |
---|
3019 | else |
---|
3020 | echo "$as_me: failed program was:" >&5 |
---|
3021 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3022 | |
---|
3023 | # Passes both tests. |
---|
3024 | ac_preproc_ok=: |
---|
3025 | break |
---|
3026 | fi |
---|
3027 | rm -f conftest.err conftest.$ac_ext |
---|
3028 | |
---|
3029 | done |
---|
3030 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
3031 | rm -f conftest.err conftest.$ac_ext |
---|
3032 | if $ac_preproc_ok; then |
---|
3033 | break |
---|
3034 | fi |
---|
3035 | |
---|
3036 | done |
---|
3037 | ac_cv_prog_CPP=$CPP |
---|
3038 | |
---|
3039 | fi |
---|
3040 | CPP=$ac_cv_prog_CPP |
---|
3041 | else |
---|
3042 | ac_cv_prog_CPP=$CPP |
---|
3043 | fi |
---|
3044 | echo "$as_me:$LINENO: result: $CPP" >&5 |
---|
3045 | echo "${ECHO_T}$CPP" >&6 |
---|
3046 | ac_preproc_ok=false |
---|
3047 | for ac_c_preproc_warn_flag in '' yes |
---|
3048 | do |
---|
3049 | # Use a header file that comes with gcc, so configuring glibc |
---|
3050 | # with a fresh cross-compiler works. |
---|
3051 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
3052 | # <limits.h> exists even on freestanding compilers. |
---|
3053 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
3054 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
3055 | cat >conftest.$ac_ext <<_ACEOF |
---|
3056 | /* confdefs.h. */ |
---|
3057 | _ACEOF |
---|
3058 | cat confdefs.h >>conftest.$ac_ext |
---|
3059 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3060 | /* end confdefs.h. */ |
---|
3061 | #ifdef __STDC__ |
---|
3062 | # include <limits.h> |
---|
3063 | #else |
---|
3064 | # include <assert.h> |
---|
3065 | #endif |
---|
3066 | Syntax error |
---|
3067 | _ACEOF |
---|
3068 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
3069 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
3070 | ac_status=$? |
---|
3071 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3072 | rm -f conftest.er1 |
---|
3073 | cat conftest.err >&5 |
---|
3074 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3075 | (exit $ac_status); } >/dev/null; then |
---|
3076 | if test -s conftest.err; then |
---|
3077 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
3078 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
3079 | else |
---|
3080 | ac_cpp_err= |
---|
3081 | fi |
---|
3082 | else |
---|
3083 | ac_cpp_err=yes |
---|
3084 | fi |
---|
3085 | if test -z "$ac_cpp_err"; then |
---|
3086 | : |
---|
3087 | else |
---|
3088 | echo "$as_me: failed program was:" >&5 |
---|
3089 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3090 | |
---|
3091 | # Broken: fails on valid input. |
---|
3092 | continue |
---|
3093 | fi |
---|
3094 | rm -f conftest.err conftest.$ac_ext |
---|
3095 | |
---|
3096 | # OK, works on sane cases. Now check whether non-existent headers |
---|
3097 | # can be detected and how. |
---|
3098 | cat >conftest.$ac_ext <<_ACEOF |
---|
3099 | /* confdefs.h. */ |
---|
3100 | _ACEOF |
---|
3101 | cat confdefs.h >>conftest.$ac_ext |
---|
3102 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3103 | /* end confdefs.h. */ |
---|
3104 | #include <ac_nonexistent.h> |
---|
3105 | _ACEOF |
---|
3106 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
3107 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
3108 | ac_status=$? |
---|
3109 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3110 | rm -f conftest.er1 |
---|
3111 | cat conftest.err >&5 |
---|
3112 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3113 | (exit $ac_status); } >/dev/null; then |
---|
3114 | if test -s conftest.err; then |
---|
3115 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
3116 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
3117 | else |
---|
3118 | ac_cpp_err= |
---|
3119 | fi |
---|
3120 | else |
---|
3121 | ac_cpp_err=yes |
---|
3122 | fi |
---|
3123 | if test -z "$ac_cpp_err"; then |
---|
3124 | # Broken: success on invalid input. |
---|
3125 | continue |
---|
3126 | else |
---|
3127 | echo "$as_me: failed program was:" >&5 |
---|
3128 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3129 | |
---|
3130 | # Passes both tests. |
---|
3131 | ac_preproc_ok=: |
---|
3132 | break |
---|
3133 | fi |
---|
3134 | rm -f conftest.err conftest.$ac_ext |
---|
3135 | |
---|
3136 | done |
---|
3137 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
3138 | rm -f conftest.err conftest.$ac_ext |
---|
3139 | if $ac_preproc_ok; then |
---|
3140 | : |
---|
3141 | else |
---|
3142 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
---|
3143 | See \`config.log' for more details." >&5 |
---|
3144 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
---|
3145 | See \`config.log' for more details." >&2;} |
---|
3146 | { (exit 1); exit 1; }; } |
---|
3147 | fi |
---|
3148 | |
---|
3149 | ac_ext=c |
---|
3150 | ac_cpp='$CPP $CPPFLAGS' |
---|
3151 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3152 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3153 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3154 | |
---|
3155 | |
---|
3156 | echo "$as_me:$LINENO: checking for egrep" >&5 |
---|
3157 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
---|
3158 | if test "${ac_cv_prog_egrep+set}" = set; then |
---|
3159 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3160 | else |
---|
3161 | if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
---|
3162 | then ac_cv_prog_egrep='grep -E' |
---|
3163 | else ac_cv_prog_egrep='egrep' |
---|
3164 | fi |
---|
3165 | fi |
---|
3166 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
---|
3167 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
---|
3168 | EGREP=$ac_cv_prog_egrep |
---|
3169 | |
---|
3170 | |
---|
3171 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
---|
3172 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
---|
3173 | if test "${ac_cv_header_stdc+set}" = set; then |
---|
3174 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3175 | else |
---|
3176 | cat >conftest.$ac_ext <<_ACEOF |
---|
3177 | /* confdefs.h. */ |
---|
3178 | _ACEOF |
---|
3179 | cat confdefs.h >>conftest.$ac_ext |
---|
3180 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3181 | /* end confdefs.h. */ |
---|
3182 | #include <stdlib.h> |
---|
3183 | #include <stdarg.h> |
---|
3184 | #include <string.h> |
---|
3185 | #include <float.h> |
---|
3186 | |
---|
3187 | int |
---|
3188 | main () |
---|
3189 | { |
---|
3190 | |
---|
3191 | ; |
---|
3192 | return 0; |
---|
3193 | } |
---|
3194 | _ACEOF |
---|
3195 | rm -f conftest.$ac_objext |
---|
3196 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
3197 | (eval $ac_compile) 2>conftest.er1 |
---|
3198 | ac_status=$? |
---|
3199 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3200 | rm -f conftest.er1 |
---|
3201 | cat conftest.err >&5 |
---|
3202 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3203 | (exit $ac_status); } && |
---|
3204 | { ac_try='test -z "$ac_c_werror_flag" |
---|
3205 | || test ! -s conftest.err' |
---|
3206 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3207 | (eval $ac_try) 2>&5 |
---|
3208 | ac_status=$? |
---|
3209 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3210 | (exit $ac_status); }; } && |
---|
3211 | { ac_try='test -s conftest.$ac_objext' |
---|
3212 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3213 | (eval $ac_try) 2>&5 |
---|
3214 | ac_status=$? |
---|
3215 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3216 | (exit $ac_status); }; }; then |
---|
3217 | ac_cv_header_stdc=yes |
---|
3218 | else |
---|
3219 | echo "$as_me: failed program was:" >&5 |
---|
3220 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3221 | |
---|
3222 | ac_cv_header_stdc=no |
---|
3223 | fi |
---|
3224 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3225 | |
---|
3226 | if test $ac_cv_header_stdc = yes; then |
---|
3227 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
---|
3228 | cat >conftest.$ac_ext <<_ACEOF |
---|
3229 | /* confdefs.h. */ |
---|
3230 | _ACEOF |
---|
3231 | cat confdefs.h >>conftest.$ac_ext |
---|
3232 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3233 | /* end confdefs.h. */ |
---|
3234 | #include <string.h> |
---|
3235 | |
---|
3236 | _ACEOF |
---|
3237 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
3238 | $EGREP "memchr" >/dev/null 2>&1; then |
---|
3239 | : |
---|
3240 | else |
---|
3241 | ac_cv_header_stdc=no |
---|
3242 | fi |
---|
3243 | rm -f conftest* |
---|
3244 | |
---|
3245 | fi |
---|
3246 | |
---|
3247 | if test $ac_cv_header_stdc = yes; then |
---|
3248 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
---|
3249 | cat >conftest.$ac_ext <<_ACEOF |
---|
3250 | /* confdefs.h. */ |
---|
3251 | _ACEOF |
---|
3252 | cat confdefs.h >>conftest.$ac_ext |
---|
3253 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3254 | /* end confdefs.h. */ |
---|
3255 | #include <stdlib.h> |
---|
3256 | |
---|
3257 | _ACEOF |
---|
3258 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
3259 | $EGREP "free" >/dev/null 2>&1; then |
---|
3260 | : |
---|
3261 | else |
---|
3262 | ac_cv_header_stdc=no |
---|
3263 | fi |
---|
3264 | rm -f conftest* |
---|
3265 | |
---|
3266 | fi |
---|
3267 | |
---|
3268 | if test $ac_cv_header_stdc = yes; then |
---|
3269 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
---|
3270 | if test "$cross_compiling" = yes; then |
---|
3271 | : |
---|
3272 | else |
---|
3273 | cat >conftest.$ac_ext <<_ACEOF |
---|
3274 | /* confdefs.h. */ |
---|
3275 | _ACEOF |
---|
3276 | cat confdefs.h >>conftest.$ac_ext |
---|
3277 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3278 | /* end confdefs.h. */ |
---|
3279 | #include <ctype.h> |
---|
3280 | #if ((' ' & 0x0FF) == 0x020) |
---|
3281 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
---|
3282 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
---|
3283 | #else |
---|
3284 | # define ISLOWER(c) \ |
---|
3285 | (('a' <= (c) && (c) <= 'i') \ |
---|
3286 | || ('j' <= (c) && (c) <= 'r') \ |
---|
3287 | || ('s' <= (c) && (c) <= 'z')) |
---|
3288 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
---|
3289 | #endif |
---|
3290 | |
---|
3291 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
---|
3292 | int |
---|
3293 | main () |
---|
3294 | { |
---|
3295 | int i; |
---|
3296 | for (i = 0; i < 256; i++) |
---|
3297 | if (XOR (islower (i), ISLOWER (i)) |
---|
3298 | || toupper (i) != TOUPPER (i)) |
---|
3299 | exit(2); |
---|
3300 | exit (0); |
---|
3301 | } |
---|
3302 | _ACEOF |
---|
3303 | rm -f conftest$ac_exeext |
---|
3304 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
3305 | (eval $ac_link) 2>&5 |
---|
3306 | ac_status=$? |
---|
3307 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3308 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
---|
3309 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3310 | (eval $ac_try) 2>&5 |
---|
3311 | ac_status=$? |
---|
3312 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3313 | (exit $ac_status); }; }; then |
---|
3314 | : |
---|
3315 | else |
---|
3316 | echo "$as_me: program exited with status $ac_status" >&5 |
---|
3317 | echo "$as_me: failed program was:" >&5 |
---|
3318 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3319 | |
---|
3320 | ( exit $ac_status ) |
---|
3321 | ac_cv_header_stdc=no |
---|
3322 | fi |
---|
3323 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
---|
3324 | fi |
---|
3325 | fi |
---|
3326 | fi |
---|
3327 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
---|
3328 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
---|
3329 | if test $ac_cv_header_stdc = yes; then |
---|
3330 | |
---|
3331 | cat >>confdefs.h <<\_ACEOF |
---|
3332 | #define STDC_HEADERS 1 |
---|
3333 | _ACEOF |
---|
3334 | |
---|
3335 | fi |
---|
3336 | |
---|
3337 | |
---|
3338 | BONOBO_ACTIVATION_REQUIRED="bonobo-activation-2.0 >= 1.0.0" |
---|
3339 | GDK_PIXBUF_REQUIRED="gdk-pixbuf-2.0 >= 2.0.0" |
---|
3340 | GMODULE_REQUIRED="gmodule-2.0 >= 2.0.0" |
---|
3341 | GNOME_DESKTOP_REQUIRED="gnome-desktop-2.0 >= 2.0.0" |
---|
3342 | GNOME_VFS_REQUIRED="gnome-vfs-2.0 >= 2.0.0" |
---|
3343 | LIBBONOBO_REQUIRED="libbonobo-2.0 >= 2.0.0" |
---|
3344 | LIBGNOME_REQUIRED="libgnome-2.0 >= 2.0.0" |
---|
3345 | LIBGNOMECANVAS_REQUIRED="libgnomecanvas-2.0 >= 2.0.0" |
---|
3346 | LIBGNOMEUI_REQUIRED="libgnomeui-2.0 >= 2.5.92" |
---|
3347 | LIBGLADE_REQUIRED="libglade-2.0 >= 2.0.0" |
---|
3348 | LIBXML_REQUIRED="libxml-2.0 >= 2.4.6" |
---|
3349 | GTK_REQUIRED="gtk+-2.0 >= 2.3.6" |
---|
3350 | |
---|
3351 | |
---|
3352 | succeeded=no |
---|
3353 | |
---|
3354 | if test -z "$PKG_CONFIG"; then |
---|
3355 | # Extract the first word of "pkg-config", so it can be a program name with args. |
---|
3356 | set dummy pkg-config; ac_word=$2 |
---|
3357 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
3358 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
3359 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
---|
3360 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3361 | else |
---|
3362 | case $PKG_CONFIG in |
---|
3363 | [\\/]* | ?:[\\/]*) |
---|
3364 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
---|
3365 | ;; |
---|
3366 | *) |
---|
3367 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3368 | for as_dir in $PATH |
---|
3369 | do |
---|
3370 | IFS=$as_save_IFS |
---|
3371 | test -z "$as_dir" && as_dir=. |
---|
3372 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3373 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3374 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
---|
3375 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3376 | break 2 |
---|
3377 | fi |
---|
3378 | done |
---|
3379 | done |
---|
3380 | |
---|
3381 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
---|
3382 | ;; |
---|
3383 | esac |
---|
3384 | fi |
---|
3385 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
---|
3386 | |
---|
3387 | if test -n "$PKG_CONFIG"; then |
---|
3388 | echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
---|
3389 | echo "${ECHO_T}$PKG_CONFIG" >&6 |
---|
3390 | else |
---|
3391 | echo "$as_me:$LINENO: result: no" >&5 |
---|
3392 | echo "${ECHO_T}no" >&6 |
---|
3393 | fi |
---|
3394 | |
---|
3395 | fi |
---|
3396 | |
---|
3397 | if test "$PKG_CONFIG" = "no" ; then |
---|
3398 | echo "*** The pkg-config script could not be found. Make sure it is" |
---|
3399 | echo "*** in your path, or set the PKG_CONFIG environment variable" |
---|
3400 | echo "*** to the full path to pkg-config." |
---|
3401 | echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." |
---|
3402 | else |
---|
3403 | PKG_CONFIG_MIN_VERSION=0.9.0 |
---|
3404 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
---|
3405 | echo "$as_me:$LINENO: checking for |
---|
3406 | $BONOBO_ACTIVATION_REQUIRED |
---|
3407 | $GDK_PIXBUF_REQUIRED |
---|
3408 | $GMODULE_REQUIRED |
---|
3409 | $GNOME_DESKTOP_REQUIRED |
---|
3410 | $GNOME_VFS_REQUIRED |
---|
3411 | $LIBBONOBO_REQUIRED |
---|
3412 | $LIBGNOME_REQUIRED |
---|
3413 | $LIBGNOMECANVAS_REQUIRED |
---|
3414 | $LIBGNOMEUI_REQUIRED |
---|
3415 | $LIBGLADE_REQUIRED |
---|
3416 | $LIBXML_REQUIRED |
---|
3417 | $GTK_REQUIRED |
---|
3418 | " >&5 |
---|
3419 | echo $ECHO_N "checking for |
---|
3420 | $BONOBO_ACTIVATION_REQUIRED |
---|
3421 | $GDK_PIXBUF_REQUIRED |
---|
3422 | $GMODULE_REQUIRED |
---|
3423 | $GNOME_DESKTOP_REQUIRED |
---|
3424 | $GNOME_VFS_REQUIRED |
---|
3425 | $LIBBONOBO_REQUIRED |
---|
3426 | $LIBGNOME_REQUIRED |
---|
3427 | $LIBGNOMECANVAS_REQUIRED |
---|
3428 | $LIBGNOMEUI_REQUIRED |
---|
3429 | $LIBGLADE_REQUIRED |
---|
3430 | $LIBXML_REQUIRED |
---|
3431 | $GTK_REQUIRED |
---|
3432 | ... $ECHO_C" >&6 |
---|
3433 | |
---|
3434 | if $PKG_CONFIG --exists " |
---|
3435 | $BONOBO_ACTIVATION_REQUIRED |
---|
3436 | $GDK_PIXBUF_REQUIRED |
---|
3437 | $GMODULE_REQUIRED |
---|
3438 | $GNOME_DESKTOP_REQUIRED |
---|
3439 | $GNOME_VFS_REQUIRED |
---|
3440 | $LIBBONOBO_REQUIRED |
---|
3441 | $LIBGNOME_REQUIRED |
---|
3442 | $LIBGNOMECANVAS_REQUIRED |
---|
3443 | $LIBGNOMEUI_REQUIRED |
---|
3444 | $LIBGLADE_REQUIRED |
---|
3445 | $LIBXML_REQUIRED |
---|
3446 | $GTK_REQUIRED |
---|
3447 | " ; then |
---|
3448 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
3449 | echo "${ECHO_T}yes" >&6 |
---|
3450 | succeeded=yes |
---|
3451 | |
---|
3452 | echo "$as_me:$LINENO: checking BUG_BUDDY_CFLAGS" >&5 |
---|
3453 | echo $ECHO_N "checking BUG_BUDDY_CFLAGS... $ECHO_C" >&6 |
---|
3454 | BUG_BUDDY_CFLAGS=`$PKG_CONFIG --cflags " |
---|
3455 | $BONOBO_ACTIVATION_REQUIRED |
---|
3456 | $GDK_PIXBUF_REQUIRED |
---|
3457 | $GMODULE_REQUIRED |
---|
3458 | $GNOME_DESKTOP_REQUIRED |
---|
3459 | $GNOME_VFS_REQUIRED |
---|
3460 | $LIBBONOBO_REQUIRED |
---|
3461 | $LIBGNOME_REQUIRED |
---|
3462 | $LIBGNOMECANVAS_REQUIRED |
---|
3463 | $LIBGNOMEUI_REQUIRED |
---|
3464 | $LIBGLADE_REQUIRED |
---|
3465 | $LIBXML_REQUIRED |
---|
3466 | $GTK_REQUIRED |
---|
3467 | "` |
---|
3468 | echo "$as_me:$LINENO: result: $BUG_BUDDY_CFLAGS" >&5 |
---|
3469 | echo "${ECHO_T}$BUG_BUDDY_CFLAGS" >&6 |
---|
3470 | |
---|
3471 | echo "$as_me:$LINENO: checking BUG_BUDDY_LIBS" >&5 |
---|
3472 | echo $ECHO_N "checking BUG_BUDDY_LIBS... $ECHO_C" >&6 |
---|
3473 | BUG_BUDDY_LIBS=`$PKG_CONFIG --libs " |
---|
3474 | $BONOBO_ACTIVATION_REQUIRED |
---|
3475 | $GDK_PIXBUF_REQUIRED |
---|
3476 | $GMODULE_REQUIRED |
---|
3477 | $GNOME_DESKTOP_REQUIRED |
---|
3478 | $GNOME_VFS_REQUIRED |
---|
3479 | $LIBBONOBO_REQUIRED |
---|
3480 | $LIBGNOME_REQUIRED |
---|
3481 | $LIBGNOMECANVAS_REQUIRED |
---|
3482 | $LIBGNOMEUI_REQUIRED |
---|
3483 | $LIBGLADE_REQUIRED |
---|
3484 | $LIBXML_REQUIRED |
---|
3485 | $GTK_REQUIRED |
---|
3486 | "` |
---|
3487 | echo "$as_me:$LINENO: result: $BUG_BUDDY_LIBS" >&5 |
---|
3488 | echo "${ECHO_T}$BUG_BUDDY_LIBS" >&6 |
---|
3489 | else |
---|
3490 | BUG_BUDDY_CFLAGS="" |
---|
3491 | BUG_BUDDY_LIBS="" |
---|
3492 | ## If we have a custom action on failure, don't print errors, but |
---|
3493 | ## do set a variable so people can do so. |
---|
3494 | BUG_BUDDY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " |
---|
3495 | $BONOBO_ACTIVATION_REQUIRED |
---|
3496 | $GDK_PIXBUF_REQUIRED |
---|
3497 | $GMODULE_REQUIRED |
---|
3498 | $GNOME_DESKTOP_REQUIRED |
---|
3499 | $GNOME_VFS_REQUIRED |
---|
3500 | $LIBBONOBO_REQUIRED |
---|
3501 | $LIBGNOME_REQUIRED |
---|
3502 | $LIBGNOMECANVAS_REQUIRED |
---|
3503 | $LIBGNOMEUI_REQUIRED |
---|
3504 | $LIBGLADE_REQUIRED |
---|
3505 | $LIBXML_REQUIRED |
---|
3506 | $GTK_REQUIRED |
---|
3507 | "` |
---|
3508 | echo $BUG_BUDDY_PKG_ERRORS |
---|
3509 | fi |
---|
3510 | |
---|
3511 | |
---|
3512 | |
---|
3513 | else |
---|
3514 | echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." |
---|
3515 | echo "*** See http://www.freedesktop.org/software/pkgconfig" |
---|
3516 | fi |
---|
3517 | fi |
---|
3518 | |
---|
3519 | if test $succeeded = yes; then |
---|
3520 | : |
---|
3521 | else |
---|
3522 | { { echo "$as_me:$LINENO: error: Library requirements ( |
---|
3523 | $BONOBO_ACTIVATION_REQUIRED |
---|
3524 | $GDK_PIXBUF_REQUIRED |
---|
3525 | $GMODULE_REQUIRED |
---|
3526 | $GNOME_DESKTOP_REQUIRED |
---|
3527 | $GNOME_VFS_REQUIRED |
---|
3528 | $LIBBONOBO_REQUIRED |
---|
3529 | $LIBGNOME_REQUIRED |
---|
3530 | $LIBGNOMECANVAS_REQUIRED |
---|
3531 | $LIBGNOMEUI_REQUIRED |
---|
3532 | $LIBGLADE_REQUIRED |
---|
3533 | $LIBXML_REQUIRED |
---|
3534 | $GTK_REQUIRED |
---|
3535 | ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5 |
---|
3536 | echo "$as_me: error: Library requirements ( |
---|
3537 | $BONOBO_ACTIVATION_REQUIRED |
---|
3538 | $GDK_PIXBUF_REQUIRED |
---|
3539 | $GMODULE_REQUIRED |
---|
3540 | $GNOME_DESKTOP_REQUIRED |
---|
3541 | $GNOME_VFS_REQUIRED |
---|
3542 | $LIBBONOBO_REQUIRED |
---|
3543 | $LIBGNOME_REQUIRED |
---|
3544 | $LIBGNOMECANVAS_REQUIRED |
---|
3545 | $LIBGNOMEUI_REQUIRED |
---|
3546 | $LIBGLADE_REQUIRED |
---|
3547 | $LIBXML_REQUIRED |
---|
3548 | $GTK_REQUIRED |
---|
3549 | ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;} |
---|
3550 | { (exit 1); exit 1; }; } |
---|
3551 | fi |
---|
3552 | |
---|
3553 | |
---|
3554 | |
---|
3555 | |
---|
3556 | |
---|
3557 | |
---|
3558 | succeeded=no |
---|
3559 | |
---|
3560 | if test -z "$PKG_CONFIG"; then |
---|
3561 | # Extract the first word of "pkg-config", so it can be a program name with args. |
---|
3562 | set dummy pkg-config; ac_word=$2 |
---|
3563 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
3564 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
3565 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
---|
3566 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3567 | else |
---|
3568 | case $PKG_CONFIG in |
---|
3569 | [\\/]* | ?:[\\/]*) |
---|
3570 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
---|
3571 | ;; |
---|
3572 | *) |
---|
3573 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3574 | for as_dir in $PATH |
---|
3575 | do |
---|
3576 | IFS=$as_save_IFS |
---|
3577 | test -z "$as_dir" && as_dir=. |
---|
3578 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3579 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3580 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
---|
3581 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3582 | break 2 |
---|
3583 | fi |
---|
3584 | done |
---|
3585 | done |
---|
3586 | |
---|
3587 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
---|
3588 | ;; |
---|
3589 | esac |
---|
3590 | fi |
---|
3591 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
---|
3592 | |
---|
3593 | if test -n "$PKG_CONFIG"; then |
---|
3594 | echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
---|
3595 | echo "${ECHO_T}$PKG_CONFIG" >&6 |
---|
3596 | else |
---|
3597 | echo "$as_me:$LINENO: result: no" >&5 |
---|
3598 | echo "${ECHO_T}no" >&6 |
---|
3599 | fi |
---|
3600 | |
---|
3601 | fi |
---|
3602 | |
---|
3603 | if test "$PKG_CONFIG" = "no" ; then |
---|
3604 | echo "*** The pkg-config script could not be found. Make sure it is" |
---|
3605 | echo "*** in your path, or set the PKG_CONFIG environment variable" |
---|
3606 | echo "*** to the full path to pkg-config." |
---|
3607 | echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." |
---|
3608 | else |
---|
3609 | PKG_CONFIG_MIN_VERSION=0.9.0 |
---|
3610 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
---|
3611 | echo "$as_me:$LINENO: checking for $LIBGNOMEUI_REQUIRED" >&5 |
---|
3612 | echo $ECHO_N "checking for $LIBGNOMEUI_REQUIRED... $ECHO_C" >&6 |
---|
3613 | |
---|
3614 | if $PKG_CONFIG --exists "$LIBGNOMEUI_REQUIRED" ; then |
---|
3615 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
3616 | echo "${ECHO_T}yes" >&6 |
---|
3617 | succeeded=yes |
---|
3618 | |
---|
3619 | echo "$as_me:$LINENO: checking GNOME_CRASH_CFLAGS" >&5 |
---|
3620 | echo $ECHO_N "checking GNOME_CRASH_CFLAGS... $ECHO_C" >&6 |
---|
3621 | GNOME_CRASH_CFLAGS=`$PKG_CONFIG --cflags "$LIBGNOMEUI_REQUIRED"` |
---|
3622 | echo "$as_me:$LINENO: result: $GNOME_CRASH_CFLAGS" >&5 |
---|
3623 | echo "${ECHO_T}$GNOME_CRASH_CFLAGS" >&6 |
---|
3624 | |
---|
3625 | echo "$as_me:$LINENO: checking GNOME_CRASH_LIBS" >&5 |
---|
3626 | echo $ECHO_N "checking GNOME_CRASH_LIBS... $ECHO_C" >&6 |
---|
3627 | GNOME_CRASH_LIBS=`$PKG_CONFIG --libs "$LIBGNOMEUI_REQUIRED"` |
---|
3628 | echo "$as_me:$LINENO: result: $GNOME_CRASH_LIBS" >&5 |
---|
3629 | echo "${ECHO_T}$GNOME_CRASH_LIBS" >&6 |
---|
3630 | else |
---|
3631 | GNOME_CRASH_CFLAGS="" |
---|
3632 | GNOME_CRASH_LIBS="" |
---|
3633 | ## If we have a custom action on failure, don't print errors, but |
---|
3634 | ## do set a variable so people can do so. |
---|
3635 | GNOME_CRASH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$LIBGNOMEUI_REQUIRED"` |
---|
3636 | echo $GNOME_CRASH_PKG_ERRORS |
---|
3637 | fi |
---|
3638 | |
---|
3639 | |
---|
3640 | |
---|
3641 | else |
---|
3642 | echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." |
---|
3643 | echo "*** See http://www.freedesktop.org/software/pkgconfig" |
---|
3644 | fi |
---|
3645 | fi |
---|
3646 | |
---|
3647 | if test $succeeded = yes; then |
---|
3648 | : |
---|
3649 | else |
---|
3650 | { { echo "$as_me:$LINENO: error: Library requirements ($LIBGNOMEUI_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5 |
---|
3651 | echo "$as_me: error: Library requirements ($LIBGNOMEUI_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;} |
---|
3652 | { (exit 1); exit 1; }; } |
---|
3653 | fi |
---|
3654 | |
---|
3655 | |
---|
3656 | |
---|
3657 | |
---|
3658 | GETTEXT_PACKAGE=bug-buddy |
---|
3659 | |
---|
3660 | cat >>confdefs.h <<_ACEOF |
---|
3661 | #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" |
---|
3662 | _ACEOF |
---|
3663 | |
---|
3664 | |
---|
3665 | ALL_LINGUAS="am ar az be bg bn bs ca cs cy da de el en_CA en_GB es et eu fa fi fr ga gl gu he hi hr hu id is it ja ko lt lv mk ml mn ms nb nl nn no or pa pl pt pt_BR ro ru sk sl sq sr sr@Latn sv ta th tr uk vi wa zh_CN zh_TW" |
---|
3666 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
---|
3667 | |
---|
3668 | |
---|
3669 | |
---|
3670 | |
---|
3671 | |
---|
3672 | |
---|
3673 | |
---|
3674 | |
---|
3675 | |
---|
3676 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
---|
3677 | inttypes.h stdint.h unistd.h |
---|
3678 | do |
---|
3679 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
3680 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
3681 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
---|
3682 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
---|
3683 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3684 | else |
---|
3685 | cat >conftest.$ac_ext <<_ACEOF |
---|
3686 | /* confdefs.h. */ |
---|
3687 | _ACEOF |
---|
3688 | cat confdefs.h >>conftest.$ac_ext |
---|
3689 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3690 | /* end confdefs.h. */ |
---|
3691 | $ac_includes_default |
---|
3692 | |
---|
3693 | #include <$ac_header> |
---|
3694 | _ACEOF |
---|
3695 | rm -f conftest.$ac_objext |
---|
3696 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
3697 | (eval $ac_compile) 2>conftest.er1 |
---|
3698 | ac_status=$? |
---|
3699 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3700 | rm -f conftest.er1 |
---|
3701 | cat conftest.err >&5 |
---|
3702 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3703 | (exit $ac_status); } && |
---|
3704 | { ac_try='test -z "$ac_c_werror_flag" |
---|
3705 | || test ! -s conftest.err' |
---|
3706 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3707 | (eval $ac_try) 2>&5 |
---|
3708 | ac_status=$? |
---|
3709 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3710 | (exit $ac_status); }; } && |
---|
3711 | { ac_try='test -s conftest.$ac_objext' |
---|
3712 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3713 | (eval $ac_try) 2>&5 |
---|
3714 | ac_status=$? |
---|
3715 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3716 | (exit $ac_status); }; }; then |
---|
3717 | eval "$as_ac_Header=yes" |
---|
3718 | else |
---|
3719 | echo "$as_me: failed program was:" >&5 |
---|
3720 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3721 | |
---|
3722 | eval "$as_ac_Header=no" |
---|
3723 | fi |
---|
3724 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3725 | fi |
---|
3726 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
---|
3727 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
---|
3728 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
---|
3729 | cat >>confdefs.h <<_ACEOF |
---|
3730 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
3731 | _ACEOF |
---|
3732 | |
---|
3733 | fi |
---|
3734 | |
---|
3735 | done |
---|
3736 | |
---|
3737 | |
---|
3738 | |
---|
3739 | |
---|
3740 | for ac_header in locale.h |
---|
3741 | do |
---|
3742 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
3743 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
---|
3744 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
3745 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
---|
3746 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
---|
3747 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3748 | fi |
---|
3749 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
---|
3750 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
---|
3751 | else |
---|
3752 | # Is the header compilable? |
---|
3753 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
---|
3754 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
---|
3755 | cat >conftest.$ac_ext <<_ACEOF |
---|
3756 | /* confdefs.h. */ |
---|
3757 | _ACEOF |
---|
3758 | cat confdefs.h >>conftest.$ac_ext |
---|
3759 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3760 | /* end confdefs.h. */ |
---|
3761 | $ac_includes_default |
---|
3762 | #include <$ac_header> |
---|
3763 | _ACEOF |
---|
3764 | rm -f conftest.$ac_objext |
---|
3765 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
3766 | (eval $ac_compile) 2>conftest.er1 |
---|
3767 | ac_status=$? |
---|
3768 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3769 | rm -f conftest.er1 |
---|
3770 | cat conftest.err >&5 |
---|
3771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3772 | (exit $ac_status); } && |
---|
3773 | { ac_try='test -z "$ac_c_werror_flag" |
---|
3774 | || test ! -s conftest.err' |
---|
3775 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3776 | (eval $ac_try) 2>&5 |
---|
3777 | ac_status=$? |
---|
3778 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3779 | (exit $ac_status); }; } && |
---|
3780 | { ac_try='test -s conftest.$ac_objext' |
---|
3781 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3782 | (eval $ac_try) 2>&5 |
---|
3783 | ac_status=$? |
---|
3784 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3785 | (exit $ac_status); }; }; then |
---|
3786 | ac_header_compiler=yes |
---|
3787 | else |
---|
3788 | echo "$as_me: failed program was:" >&5 |
---|
3789 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3790 | |
---|
3791 | ac_header_compiler=no |
---|
3792 | fi |
---|
3793 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3794 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
---|
3795 | echo "${ECHO_T}$ac_header_compiler" >&6 |
---|
3796 | |
---|
3797 | # Is the header present? |
---|
3798 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
---|
3799 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
---|
3800 | cat >conftest.$ac_ext <<_ACEOF |
---|
3801 | /* confdefs.h. */ |
---|
3802 | _ACEOF |
---|
3803 | cat confdefs.h >>conftest.$ac_ext |
---|
3804 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3805 | /* end confdefs.h. */ |
---|
3806 | #include <$ac_header> |
---|
3807 | _ACEOF |
---|
3808 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
3809 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
3810 | ac_status=$? |
---|
3811 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3812 | rm -f conftest.er1 |
---|
3813 | cat conftest.err >&5 |
---|
3814 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3815 | (exit $ac_status); } >/dev/null; then |
---|
3816 | if test -s conftest.err; then |
---|
3817 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
3818 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
3819 | else |
---|
3820 | ac_cpp_err= |
---|
3821 | fi |
---|
3822 | else |
---|
3823 | ac_cpp_err=yes |
---|
3824 | fi |
---|
3825 | if test -z "$ac_cpp_err"; then |
---|
3826 | ac_header_preproc=yes |
---|
3827 | else |
---|
3828 | echo "$as_me: failed program was:" >&5 |
---|
3829 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3830 | |
---|
3831 | ac_header_preproc=no |
---|
3832 | fi |
---|
3833 | rm -f conftest.err conftest.$ac_ext |
---|
3834 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
---|
3835 | echo "${ECHO_T}$ac_header_preproc" >&6 |
---|
3836 | |
---|
3837 | # So? What about this header? |
---|
3838 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
---|
3839 | yes:no: ) |
---|
3840 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
3841 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
3842 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
---|
3843 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
---|
3844 | ac_header_preproc=yes |
---|
3845 | ;; |
---|
3846 | no:yes:* ) |
---|
3847 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
---|
3848 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
---|
3849 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
---|
3850 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
---|
3851 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
---|
3852 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
---|
3853 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
---|
3854 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
3855 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
---|
3856 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
---|
3857 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
---|
3858 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
---|
3859 | ( |
---|
3860 | cat <<\_ASBOX |
---|
3861 | ## ------------------------------------------ ## |
---|
3862 | ## Report this to the AC_PACKAGE_NAME lists. ## |
---|
3863 | ## ------------------------------------------ ## |
---|
3864 | _ASBOX |
---|
3865 | ) | |
---|
3866 | sed "s/^/$as_me: WARNING: /" >&2 |
---|
3867 | ;; |
---|
3868 | esac |
---|
3869 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
3870 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
---|
3871 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
---|
3872 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3873 | else |
---|
3874 | eval "$as_ac_Header=\$ac_header_preproc" |
---|
3875 | fi |
---|
3876 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
---|
3877 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
---|
3878 | |
---|
3879 | fi |
---|
3880 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
---|
3881 | cat >>confdefs.h <<_ACEOF |
---|
3882 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
3883 | _ACEOF |
---|
3884 | |
---|
3885 | fi |
---|
3886 | |
---|
3887 | done |
---|
3888 | |
---|
3889 | if test $ac_cv_header_locale_h = yes; then |
---|
3890 | echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5 |
---|
3891 | echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6 |
---|
3892 | if test "${am_cv_val_LC_MESSAGES+set}" = set; then |
---|
3893 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3894 | else |
---|
3895 | cat >conftest.$ac_ext <<_ACEOF |
---|
3896 | /* confdefs.h. */ |
---|
3897 | _ACEOF |
---|
3898 | cat confdefs.h >>conftest.$ac_ext |
---|
3899 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3900 | /* end confdefs.h. */ |
---|
3901 | #include <locale.h> |
---|
3902 | int |
---|
3903 | main () |
---|
3904 | { |
---|
3905 | return LC_MESSAGES |
---|
3906 | ; |
---|
3907 | return 0; |
---|
3908 | } |
---|
3909 | _ACEOF |
---|
3910 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3911 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
3912 | (eval $ac_link) 2>conftest.er1 |
---|
3913 | ac_status=$? |
---|
3914 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3915 | rm -f conftest.er1 |
---|
3916 | cat conftest.err >&5 |
---|
3917 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3918 | (exit $ac_status); } && |
---|
3919 | { ac_try='test -z "$ac_c_werror_flag" |
---|
3920 | || test ! -s conftest.err' |
---|
3921 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3922 | (eval $ac_try) 2>&5 |
---|
3923 | ac_status=$? |
---|
3924 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3925 | (exit $ac_status); }; } && |
---|
3926 | { ac_try='test -s conftest$ac_exeext' |
---|
3927 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3928 | (eval $ac_try) 2>&5 |
---|
3929 | ac_status=$? |
---|
3930 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3931 | (exit $ac_status); }; }; then |
---|
3932 | am_cv_val_LC_MESSAGES=yes |
---|
3933 | else |
---|
3934 | echo "$as_me: failed program was:" >&5 |
---|
3935 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3936 | |
---|
3937 | am_cv_val_LC_MESSAGES=no |
---|
3938 | fi |
---|
3939 | rm -f conftest.err conftest.$ac_objext \ |
---|
3940 | conftest$ac_exeext conftest.$ac_ext |
---|
3941 | fi |
---|
3942 | echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5 |
---|
3943 | echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6 |
---|
3944 | if test $am_cv_val_LC_MESSAGES = yes; then |
---|
3945 | |
---|
3946 | cat >>confdefs.h <<\_ACEOF |
---|
3947 | #define HAVE_LC_MESSAGES 1 |
---|
3948 | _ACEOF |
---|
3949 | |
---|
3950 | fi |
---|
3951 | fi |
---|
3952 | USE_NLS=yes |
---|
3953 | |
---|
3954 | |
---|
3955 | gt_cv_have_gettext=no |
---|
3956 | |
---|
3957 | CATOBJEXT=NONE |
---|
3958 | XGETTEXT=: |
---|
3959 | INTLLIBS= |
---|
3960 | |
---|
3961 | if test "${ac_cv_header_libintl_h+set}" = set; then |
---|
3962 | echo "$as_me:$LINENO: checking for libintl.h" >&5 |
---|
3963 | echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 |
---|
3964 | if test "${ac_cv_header_libintl_h+set}" = set; then |
---|
3965 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3966 | fi |
---|
3967 | echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 |
---|
3968 | echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 |
---|
3969 | else |
---|
3970 | # Is the header compilable? |
---|
3971 | echo "$as_me:$LINENO: checking libintl.h usability" >&5 |
---|
3972 | echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6 |
---|
3973 | cat >conftest.$ac_ext <<_ACEOF |
---|
3974 | /* confdefs.h. */ |
---|
3975 | _ACEOF |
---|
3976 | cat confdefs.h >>conftest.$ac_ext |
---|
3977 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3978 | /* end confdefs.h. */ |
---|
3979 | $ac_includes_default |
---|
3980 | #include <libintl.h> |
---|
3981 | _ACEOF |
---|
3982 | rm -f conftest.$ac_objext |
---|
3983 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
3984 | (eval $ac_compile) 2>conftest.er1 |
---|
3985 | ac_status=$? |
---|
3986 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3987 | rm -f conftest.er1 |
---|
3988 | cat conftest.err >&5 |
---|
3989 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3990 | (exit $ac_status); } && |
---|
3991 | { ac_try='test -z "$ac_c_werror_flag" |
---|
3992 | || test ! -s conftest.err' |
---|
3993 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3994 | (eval $ac_try) 2>&5 |
---|
3995 | ac_status=$? |
---|
3996 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3997 | (exit $ac_status); }; } && |
---|
3998 | { ac_try='test -s conftest.$ac_objext' |
---|
3999 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4000 | (eval $ac_try) 2>&5 |
---|
4001 | ac_status=$? |
---|
4002 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4003 | (exit $ac_status); }; }; then |
---|
4004 | ac_header_compiler=yes |
---|
4005 | else |
---|
4006 | echo "$as_me: failed program was:" >&5 |
---|
4007 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4008 | |
---|
4009 | ac_header_compiler=no |
---|
4010 | fi |
---|
4011 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4012 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
---|
4013 | echo "${ECHO_T}$ac_header_compiler" >&6 |
---|
4014 | |
---|
4015 | # Is the header present? |
---|
4016 | echo "$as_me:$LINENO: checking libintl.h presence" >&5 |
---|
4017 | echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6 |
---|
4018 | cat >conftest.$ac_ext <<_ACEOF |
---|
4019 | /* confdefs.h. */ |
---|
4020 | _ACEOF |
---|
4021 | cat confdefs.h >>conftest.$ac_ext |
---|
4022 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4023 | /* end confdefs.h. */ |
---|
4024 | #include <libintl.h> |
---|
4025 | _ACEOF |
---|
4026 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
4027 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
4028 | ac_status=$? |
---|
4029 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4030 | rm -f conftest.er1 |
---|
4031 | cat conftest.err >&5 |
---|
4032 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4033 | (exit $ac_status); } >/dev/null; then |
---|
4034 | if test -s conftest.err; then |
---|
4035 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
4036 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
4037 | else |
---|
4038 | ac_cpp_err= |
---|
4039 | fi |
---|
4040 | else |
---|
4041 | ac_cpp_err=yes |
---|
4042 | fi |
---|
4043 | if test -z "$ac_cpp_err"; then |
---|
4044 | ac_header_preproc=yes |
---|
4045 | else |
---|
4046 | echo "$as_me: failed program was:" >&5 |
---|
4047 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4048 | |
---|
4049 | ac_header_preproc=no |
---|
4050 | fi |
---|
4051 | rm -f conftest.err conftest.$ac_ext |
---|
4052 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
---|
4053 | echo "${ECHO_T}$ac_header_preproc" >&6 |
---|
4054 | |
---|
4055 | # So? What about this header? |
---|
4056 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
---|
4057 | yes:no: ) |
---|
4058 | { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
4059 | echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
4060 | { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5 |
---|
4061 | echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;} |
---|
4062 | ac_header_preproc=yes |
---|
4063 | ;; |
---|
4064 | no:yes:* ) |
---|
4065 | { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5 |
---|
4066 | echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;} |
---|
4067 | { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5 |
---|
4068 | echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;} |
---|
4069 | { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5 |
---|
4070 | echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;} |
---|
4071 | { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5 |
---|
4072 | echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
4073 | { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 |
---|
4074 | echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;} |
---|
4075 | { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5 |
---|
4076 | echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;} |
---|
4077 | ( |
---|
4078 | cat <<\_ASBOX |
---|
4079 | ## ------------------------------------------ ## |
---|
4080 | ## Report this to the AC_PACKAGE_NAME lists. ## |
---|
4081 | ## ------------------------------------------ ## |
---|
4082 | _ASBOX |
---|
4083 | ) | |
---|
4084 | sed "s/^/$as_me: WARNING: /" >&2 |
---|
4085 | ;; |
---|
4086 | esac |
---|
4087 | echo "$as_me:$LINENO: checking for libintl.h" >&5 |
---|
4088 | echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 |
---|
4089 | if test "${ac_cv_header_libintl_h+set}" = set; then |
---|
4090 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4091 | else |
---|
4092 | ac_cv_header_libintl_h=$ac_header_preproc |
---|
4093 | fi |
---|
4094 | echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 |
---|
4095 | echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 |
---|
4096 | |
---|
4097 | fi |
---|
4098 | if test $ac_cv_header_libintl_h = yes; then |
---|
4099 | gt_cv_func_dgettext_libintl="no" |
---|
4100 | libintl_extra_libs="" |
---|
4101 | |
---|
4102 | # |
---|
4103 | # First check in libc |
---|
4104 | # |
---|
4105 | echo "$as_me:$LINENO: checking for dgettext in libc" >&5 |
---|
4106 | echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6 |
---|
4107 | if test "${gt_cv_func_dgettext_libc+set}" = set; then |
---|
4108 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4109 | else |
---|
4110 | cat >conftest.$ac_ext <<_ACEOF |
---|
4111 | /* confdefs.h. */ |
---|
4112 | _ACEOF |
---|
4113 | cat confdefs.h >>conftest.$ac_ext |
---|
4114 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4115 | /* end confdefs.h. */ |
---|
4116 | |
---|
4117 | #include <libintl.h> |
---|
4118 | |
---|
4119 | int |
---|
4120 | main () |
---|
4121 | { |
---|
4122 | return (int) dgettext ("","") |
---|
4123 | ; |
---|
4124 | return 0; |
---|
4125 | } |
---|
4126 | _ACEOF |
---|
4127 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
4128 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
4129 | (eval $ac_link) 2>conftest.er1 |
---|
4130 | ac_status=$? |
---|
4131 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4132 | rm -f conftest.er1 |
---|
4133 | cat conftest.err >&5 |
---|
4134 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4135 | (exit $ac_status); } && |
---|
4136 | { ac_try='test -z "$ac_c_werror_flag" |
---|
4137 | || test ! -s conftest.err' |
---|
4138 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4139 | (eval $ac_try) 2>&5 |
---|
4140 | ac_status=$? |
---|
4141 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4142 | (exit $ac_status); }; } && |
---|
4143 | { ac_try='test -s conftest$ac_exeext' |
---|
4144 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4145 | (eval $ac_try) 2>&5 |
---|
4146 | ac_status=$? |
---|
4147 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4148 | (exit $ac_status); }; }; then |
---|
4149 | gt_cv_func_dgettext_libc=yes |
---|
4150 | else |
---|
4151 | echo "$as_me: failed program was:" >&5 |
---|
4152 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4153 | |
---|
4154 | gt_cv_func_dgettext_libc=no |
---|
4155 | fi |
---|
4156 | rm -f conftest.err conftest.$ac_objext \ |
---|
4157 | conftest$ac_exeext conftest.$ac_ext |
---|
4158 | |
---|
4159 | fi |
---|
4160 | echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5 |
---|
4161 | echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6 |
---|
4162 | |
---|
4163 | if test "$gt_cv_func_dgettext_libc" = "yes" ; then |
---|
4164 | |
---|
4165 | for ac_func in bind_textdomain_codeset |
---|
4166 | do |
---|
4167 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
---|
4168 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
---|
4169 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
---|
4170 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
---|
4171 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4172 | else |
---|
4173 | cat >conftest.$ac_ext <<_ACEOF |
---|
4174 | /* confdefs.h. */ |
---|
4175 | _ACEOF |
---|
4176 | cat confdefs.h >>conftest.$ac_ext |
---|
4177 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4178 | /* end confdefs.h. */ |
---|
4179 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
---|
4180 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
---|
4181 | #define $ac_func innocuous_$ac_func |
---|
4182 | |
---|
4183 | /* System header to define __stub macros and hopefully few prototypes, |
---|
4184 | which can conflict with char $ac_func (); below. |
---|
4185 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
4186 | <limits.h> exists even on freestanding compilers. */ |
---|
4187 | |
---|
4188 | #ifdef __STDC__ |
---|
4189 | # include <limits.h> |
---|
4190 | #else |
---|
4191 | # include <assert.h> |
---|
4192 | #endif |
---|
4193 | |
---|
4194 | #undef $ac_func |
---|
4195 | |
---|
4196 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
4197 | #ifdef __cplusplus |
---|
4198 | extern "C" |
---|
4199 | { |
---|
4200 | #endif |
---|
4201 | /* We use char because int might match the return type of a gcc2 |
---|
4202 | builtin and then its argument prototype would still apply. */ |
---|
4203 | char $ac_func (); |
---|
4204 | /* The GNU C library defines this for functions which it implements |
---|
4205 | to always fail with ENOSYS. Some functions are actually named |
---|
4206 | something starting with __ and the normal name is an alias. */ |
---|
4207 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
---|
4208 | choke me |
---|
4209 | #else |
---|
4210 | char (*f) () = $ac_func; |
---|
4211 | #endif |
---|
4212 | #ifdef __cplusplus |
---|
4213 | } |
---|
4214 | #endif |
---|
4215 | |
---|
4216 | int |
---|
4217 | main () |
---|
4218 | { |
---|
4219 | return f != $ac_func; |
---|
4220 | ; |
---|
4221 | return 0; |
---|
4222 | } |
---|
4223 | _ACEOF |
---|
4224 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
4225 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
4226 | (eval $ac_link) 2>conftest.er1 |
---|
4227 | ac_status=$? |
---|
4228 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4229 | rm -f conftest.er1 |
---|
4230 | cat conftest.err >&5 |
---|
4231 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4232 | (exit $ac_status); } && |
---|
4233 | { ac_try='test -z "$ac_c_werror_flag" |
---|
4234 | || test ! -s conftest.err' |
---|
4235 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4236 | (eval $ac_try) 2>&5 |
---|
4237 | ac_status=$? |
---|
4238 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4239 | (exit $ac_status); }; } && |
---|
4240 | { ac_try='test -s conftest$ac_exeext' |
---|
4241 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4242 | (eval $ac_try) 2>&5 |
---|
4243 | ac_status=$? |
---|
4244 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4245 | (exit $ac_status); }; }; then |
---|
4246 | eval "$as_ac_var=yes" |
---|
4247 | else |
---|
4248 | echo "$as_me: failed program was:" >&5 |
---|
4249 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4250 | |
---|
4251 | eval "$as_ac_var=no" |
---|
4252 | fi |
---|
4253 | rm -f conftest.err conftest.$ac_objext \ |
---|
4254 | conftest$ac_exeext conftest.$ac_ext |
---|
4255 | fi |
---|
4256 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
---|
4257 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
---|
4258 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
---|
4259 | cat >>confdefs.h <<_ACEOF |
---|
4260 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
---|
4261 | _ACEOF |
---|
4262 | |
---|
4263 | fi |
---|
4264 | done |
---|
4265 | |
---|
4266 | fi |
---|
4267 | |
---|
4268 | # |
---|
4269 | # If we don't have everything we want, check in libintl |
---|
4270 | # |
---|
4271 | if test "$gt_cv_func_dgettext_libc" != "yes" \ |
---|
4272 | || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then |
---|
4273 | |
---|
4274 | echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5 |
---|
4275 | echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6 |
---|
4276 | if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then |
---|
4277 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4278 | else |
---|
4279 | ac_check_lib_save_LIBS=$LIBS |
---|
4280 | LIBS="-lintl $LIBS" |
---|
4281 | cat >conftest.$ac_ext <<_ACEOF |
---|
4282 | /* confdefs.h. */ |
---|
4283 | _ACEOF |
---|
4284 | cat confdefs.h >>conftest.$ac_ext |
---|
4285 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4286 | /* end confdefs.h. */ |
---|
4287 | |
---|
4288 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
4289 | #ifdef __cplusplus |
---|
4290 | extern "C" |
---|
4291 | #endif |
---|
4292 | /* We use char because int might match the return type of a gcc2 |
---|
4293 | builtin and then its argument prototype would still apply. */ |
---|
4294 | char bindtextdomain (); |
---|
4295 | int |
---|
4296 | main () |
---|
4297 | { |
---|
4298 | bindtextdomain (); |
---|
4299 | ; |
---|
4300 | return 0; |
---|
4301 | } |
---|
4302 | _ACEOF |
---|
4303 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
4304 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
4305 | (eval $ac_link) 2>conftest.er1 |
---|
4306 | ac_status=$? |
---|
4307 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4308 | rm -f conftest.er1 |
---|
4309 | cat conftest.err >&5 |
---|
4310 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4311 | (exit $ac_status); } && |
---|
4312 | { ac_try='test -z "$ac_c_werror_flag" |
---|
4313 | || test ! -s conftest.err' |
---|
4314 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4315 | (eval $ac_try) 2>&5 |
---|
4316 | ac_status=$? |
---|
4317 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4318 | (exit $ac_status); }; } && |
---|
4319 | { ac_try='test -s conftest$ac_exeext' |
---|
4320 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4321 | (eval $ac_try) 2>&5 |
---|
4322 | ac_status=$? |
---|
4323 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4324 | (exit $ac_status); }; }; then |
---|
4325 | ac_cv_lib_intl_bindtextdomain=yes |
---|
4326 | else |
---|
4327 | echo "$as_me: failed program was:" >&5 |
---|
4328 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4329 | |
---|
4330 | ac_cv_lib_intl_bindtextdomain=no |
---|
4331 | fi |
---|
4332 | rm -f conftest.err conftest.$ac_objext \ |
---|
4333 | conftest$ac_exeext conftest.$ac_ext |
---|
4334 | LIBS=$ac_check_lib_save_LIBS |
---|
4335 | fi |
---|
4336 | echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5 |
---|
4337 | echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6 |
---|
4338 | if test $ac_cv_lib_intl_bindtextdomain = yes; then |
---|
4339 | echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 |
---|
4340 | echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 |
---|
4341 | if test "${ac_cv_lib_intl_dgettext+set}" = set; then |
---|
4342 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4343 | else |
---|
4344 | ac_check_lib_save_LIBS=$LIBS |
---|
4345 | LIBS="-lintl $LIBS" |
---|
4346 | cat >conftest.$ac_ext <<_ACEOF |
---|
4347 | /* confdefs.h. */ |
---|
4348 | _ACEOF |
---|
4349 | cat confdefs.h >>conftest.$ac_ext |
---|
4350 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4351 | /* end confdefs.h. */ |
---|
4352 | |
---|
4353 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
4354 | #ifdef __cplusplus |
---|
4355 | extern "C" |
---|
4356 | #endif |
---|
4357 | /* We use char because int might match the return type of a gcc2 |
---|
4358 | builtin and then its argument prototype would still apply. */ |
---|
4359 | char dgettext (); |
---|
4360 | int |
---|
4361 | main () |
---|
4362 | { |
---|
4363 | dgettext (); |
---|
4364 | ; |
---|
4365 | return 0; |
---|
4366 | } |
---|
4367 | _ACEOF |
---|
4368 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
4369 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
4370 | (eval $ac_link) 2>conftest.er1 |
---|
4371 | ac_status=$? |
---|
4372 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4373 | rm -f conftest.er1 |
---|
4374 | cat conftest.err >&5 |
---|
4375 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4376 | (exit $ac_status); } && |
---|
4377 | { ac_try='test -z "$ac_c_werror_flag" |
---|
4378 | || test ! -s conftest.err' |
---|
4379 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4380 | (eval $ac_try) 2>&5 |
---|
4381 | ac_status=$? |
---|
4382 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4383 | (exit $ac_status); }; } && |
---|
4384 | { ac_try='test -s conftest$ac_exeext' |
---|
4385 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4386 | (eval $ac_try) 2>&5 |
---|
4387 | ac_status=$? |
---|
4388 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4389 | (exit $ac_status); }; }; then |
---|
4390 | ac_cv_lib_intl_dgettext=yes |
---|
4391 | else |
---|
4392 | echo "$as_me: failed program was:" >&5 |
---|
4393 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4394 | |
---|
4395 | ac_cv_lib_intl_dgettext=no |
---|
4396 | fi |
---|
4397 | rm -f conftest.err conftest.$ac_objext \ |
---|
4398 | conftest$ac_exeext conftest.$ac_ext |
---|
4399 | LIBS=$ac_check_lib_save_LIBS |
---|
4400 | fi |
---|
4401 | echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 |
---|
4402 | echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 |
---|
4403 | if test $ac_cv_lib_intl_dgettext = yes; then |
---|
4404 | gt_cv_func_dgettext_libintl=yes |
---|
4405 | fi |
---|
4406 | |
---|
4407 | fi |
---|
4408 | |
---|
4409 | |
---|
4410 | if test "$gt_cv_func_dgettext_libintl" != "yes" ; then |
---|
4411 | echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5 |
---|
4412 | echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6 |
---|
4413 | echo "$as_me:$LINENO: result: " >&5 |
---|
4414 | echo "${ECHO_T}" >&6 |
---|
4415 | echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5 |
---|
4416 | echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6 |
---|
4417 | if test "${ac_cv_lib_intl_dcgettext+set}" = set; then |
---|
4418 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4419 | else |
---|
4420 | ac_check_lib_save_LIBS=$LIBS |
---|
4421 | LIBS="-lintl -liconv $LIBS" |
---|
4422 | cat >conftest.$ac_ext <<_ACEOF |
---|
4423 | /* confdefs.h. */ |
---|
4424 | _ACEOF |
---|
4425 | cat confdefs.h >>conftest.$ac_ext |
---|
4426 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4427 | /* end confdefs.h. */ |
---|
4428 | |
---|
4429 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
4430 | #ifdef __cplusplus |
---|
4431 | extern "C" |
---|
4432 | #endif |
---|
4433 | /* We use char because int might match the return type of a gcc2 |
---|
4434 | builtin and then its argument prototype would still apply. */ |
---|
4435 | char dcgettext (); |
---|
4436 | int |
---|
4437 | main () |
---|
4438 | { |
---|
4439 | dcgettext (); |
---|
4440 | ; |
---|
4441 | return 0; |
---|
4442 | } |
---|
4443 | _ACEOF |
---|
4444 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
4445 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
4446 | (eval $ac_link) 2>conftest.er1 |
---|
4447 | ac_status=$? |
---|
4448 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4449 | rm -f conftest.er1 |
---|
4450 | cat conftest.err >&5 |
---|
4451 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4452 | (exit $ac_status); } && |
---|
4453 | { ac_try='test -z "$ac_c_werror_flag" |
---|
4454 | || test ! -s conftest.err' |
---|
4455 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4456 | (eval $ac_try) 2>&5 |
---|
4457 | ac_status=$? |
---|
4458 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4459 | (exit $ac_status); }; } && |
---|
4460 | { ac_try='test -s conftest$ac_exeext' |
---|
4461 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4462 | (eval $ac_try) 2>&5 |
---|
4463 | ac_status=$? |
---|
4464 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4465 | (exit $ac_status); }; }; then |
---|
4466 | ac_cv_lib_intl_dcgettext=yes |
---|
4467 | else |
---|
4468 | echo "$as_me: failed program was:" >&5 |
---|
4469 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4470 | |
---|
4471 | ac_cv_lib_intl_dcgettext=no |
---|
4472 | fi |
---|
4473 | rm -f conftest.err conftest.$ac_objext \ |
---|
4474 | conftest$ac_exeext conftest.$ac_ext |
---|
4475 | LIBS=$ac_check_lib_save_LIBS |
---|
4476 | fi |
---|
4477 | echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5 |
---|
4478 | echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6 |
---|
4479 | if test $ac_cv_lib_intl_dcgettext = yes; then |
---|
4480 | gt_cv_func_dgettext_libintl=yes |
---|
4481 | libintl_extra_libs=-liconv |
---|
4482 | else |
---|
4483 | : |
---|
4484 | fi |
---|
4485 | |
---|
4486 | fi |
---|
4487 | |
---|
4488 | # |
---|
4489 | # If we found libintl, then check in it for bind_textdomain_codeset(); |
---|
4490 | # we'll prefer libc if neither have bind_textdomain_codeset(), |
---|
4491 | # and both have dgettext |
---|
4492 | # |
---|
4493 | if test "$gt_cv_func_dgettext_libintl" = "yes" ; then |
---|
4494 | glib_save_LIBS="$LIBS" |
---|
4495 | LIBS="$LIBS -lintl $libintl_extra_libs" |
---|
4496 | unset ac_cv_func_bind_textdomain_codeset |
---|
4497 | |
---|
4498 | for ac_func in bind_textdomain_codeset |
---|
4499 | do |
---|
4500 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
---|
4501 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
---|
4502 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
---|
4503 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
---|
4504 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4505 | else |
---|
4506 | cat >conftest.$ac_ext <<_ACEOF |
---|
4507 | /* confdefs.h. */ |
---|
4508 | _ACEOF |
---|
4509 | cat confdefs.h >>conftest.$ac_ext |
---|
4510 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4511 | /* end confdefs.h. */ |
---|
4512 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
---|
4513 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
---|
4514 | #define $ac_func innocuous_$ac_func |
---|
4515 | |
---|
4516 | /* System header to define __stub macros and hopefully few prototypes, |
---|
4517 | which can conflict with char $ac_func (); below. |
---|
4518 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
4519 | <limits.h> exists even on freestanding compilers. */ |
---|
4520 | |
---|
4521 | #ifdef __STDC__ |
---|
4522 | # include <limits.h> |
---|
4523 | #else |
---|
4524 | # include <assert.h> |
---|
4525 | #endif |
---|
4526 | |
---|
4527 | #undef $ac_func |
---|
4528 | |
---|
4529 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
4530 | #ifdef __cplusplus |
---|
4531 | extern "C" |
---|
4532 | { |
---|
4533 | #endif |
---|
4534 | /* We use char because int might match the return type of a gcc2 |
---|
4535 | builtin and then its argument prototype would still apply. */ |
---|
4536 | char $ac_func (); |
---|
4537 | /* The GNU C library defines this for functions which it implements |
---|
4538 | to always fail with ENOSYS. Some functions are actually named |
---|
4539 | something starting with __ and the normal name is an alias. */ |
---|
4540 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
---|
4541 | choke me |
---|
4542 | #else |
---|
4543 | char (*f) () = $ac_func; |
---|
4544 | #endif |
---|
4545 | #ifdef __cplusplus |
---|
4546 | } |
---|
4547 | #endif |
---|
4548 | |
---|
4549 | int |
---|
4550 | main () |
---|
4551 | { |
---|
4552 | return f != $ac_func; |
---|
4553 | ; |
---|
4554 | return 0; |
---|
4555 | } |
---|
4556 | _ACEOF |
---|
4557 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
4558 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
4559 | (eval $ac_link) 2>conftest.er1 |
---|
4560 | ac_status=$? |
---|
4561 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4562 | rm -f conftest.er1 |
---|
4563 | cat conftest.err >&5 |
---|
4564 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4565 | (exit $ac_status); } && |
---|
4566 | { ac_try='test -z "$ac_c_werror_flag" |
---|
4567 | || test ! -s conftest.err' |
---|
4568 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4569 | (eval $ac_try) 2>&5 |
---|
4570 | ac_status=$? |
---|
4571 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4572 | (exit $ac_status); }; } && |
---|
4573 | { ac_try='test -s conftest$ac_exeext' |
---|
4574 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4575 | (eval $ac_try) 2>&5 |
---|
4576 | ac_status=$? |
---|
4577 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4578 | (exit $ac_status); }; }; then |
---|
4579 | eval "$as_ac_var=yes" |
---|
4580 | else |
---|
4581 | echo "$as_me: failed program was:" >&5 |
---|
4582 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4583 | |
---|
4584 | eval "$as_ac_var=no" |
---|
4585 | fi |
---|
4586 | rm -f conftest.err conftest.$ac_objext \ |
---|
4587 | conftest$ac_exeext conftest.$ac_ext |
---|
4588 | fi |
---|
4589 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
---|
4590 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
---|
4591 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
---|
4592 | cat >>confdefs.h <<_ACEOF |
---|
4593 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
---|
4594 | _ACEOF |
---|
4595 | |
---|
4596 | fi |
---|
4597 | done |
---|
4598 | |
---|
4599 | LIBS="$glib_save_LIBS" |
---|
4600 | |
---|
4601 | if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then |
---|
4602 | gt_cv_func_dgettext_libc=no |
---|
4603 | else |
---|
4604 | if test "$gt_cv_func_dgettext_libc" = "yes"; then |
---|
4605 | gt_cv_func_dgettext_libintl=no |
---|
4606 | fi |
---|
4607 | fi |
---|
4608 | fi |
---|
4609 | fi |
---|
4610 | |
---|
4611 | if test "$gt_cv_func_dgettext_libc" = "yes" \ |
---|
4612 | || test "$gt_cv_func_dgettext_libintl" = "yes"; then |
---|
4613 | gt_cv_have_gettext=yes |
---|
4614 | fi |
---|
4615 | |
---|
4616 | if test "$gt_cv_func_dgettext_libintl" = "yes"; then |
---|
4617 | INTLLIBS="-lintl $libintl_extra_libs" |
---|
4618 | fi |
---|
4619 | |
---|
4620 | if test "$gt_cv_have_gettext" = "yes"; then |
---|
4621 | |
---|
4622 | cat >>confdefs.h <<\_ACEOF |
---|
4623 | #define HAVE_GETTEXT 1 |
---|
4624 | _ACEOF |
---|
4625 | |
---|
4626 | # Extract the first word of "msgfmt", so it can be a program name with args. |
---|
4627 | set dummy msgfmt; ac_word=$2 |
---|
4628 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
4629 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
4630 | if test "${ac_cv_path_MSGFMT+set}" = set; then |
---|
4631 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4632 | else |
---|
4633 | case "$MSGFMT" in |
---|
4634 | /*) |
---|
4635 | ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
---|
4636 | ;; |
---|
4637 | *) |
---|
4638 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
4639 | for ac_dir in $PATH; do |
---|
4640 | test -z "$ac_dir" && ac_dir=. |
---|
4641 | if test -f $ac_dir/$ac_word; then |
---|
4642 | if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then |
---|
4643 | ac_cv_path_MSGFMT="$ac_dir/$ac_word" |
---|
4644 | break |
---|
4645 | fi |
---|
4646 | fi |
---|
4647 | done |
---|
4648 | IFS="$ac_save_ifs" |
---|
4649 | test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" |
---|
4650 | ;; |
---|
4651 | esac |
---|
4652 | fi |
---|
4653 | MSGFMT="$ac_cv_path_MSGFMT" |
---|
4654 | if test "$MSGFMT" != "no"; then |
---|
4655 | echo "$as_me:$LINENO: result: $MSGFMT" >&5 |
---|
4656 | echo "${ECHO_T}$MSGFMT" >&6 |
---|
4657 | else |
---|
4658 | echo "$as_me:$LINENO: result: no" >&5 |
---|
4659 | echo "${ECHO_T}no" >&6 |
---|
4660 | fi |
---|
4661 | if test "$MSGFMT" != "no"; then |
---|
4662 | glib_save_LIBS="$LIBS" |
---|
4663 | LIBS="$LIBS $INTLLIBS" |
---|
4664 | |
---|
4665 | for ac_func in dcgettext |
---|
4666 | do |
---|
4667 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
---|
4668 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
---|
4669 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
---|
4670 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
---|
4671 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4672 | else |
---|
4673 | cat >conftest.$ac_ext <<_ACEOF |
---|
4674 | /* confdefs.h. */ |
---|
4675 | _ACEOF |
---|
4676 | cat confdefs.h >>conftest.$ac_ext |
---|
4677 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4678 | /* end confdefs.h. */ |
---|
4679 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
---|
4680 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
---|
4681 | #define $ac_func innocuous_$ac_func |
---|
4682 | |
---|
4683 | /* System header to define __stub macros and hopefully few prototypes, |
---|
4684 | which can conflict with char $ac_func (); below. |
---|
4685 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
4686 | <limits.h> exists even on freestanding compilers. */ |
---|
4687 | |
---|
4688 | #ifdef __STDC__ |
---|
4689 | # include <limits.h> |
---|
4690 | #else |
---|
4691 | # include <assert.h> |
---|
4692 | #endif |
---|
4693 | |
---|
4694 | #undef $ac_func |
---|
4695 | |
---|
4696 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
4697 | #ifdef __cplusplus |
---|
4698 | extern "C" |
---|
4699 | { |
---|
4700 | #endif |
---|
4701 | /* We use char because int might match the return type of a gcc2 |
---|
4702 | builtin and then its argument prototype would still apply. */ |
---|
4703 | char $ac_func (); |
---|
4704 | /* The GNU C library defines this for functions which it implements |
---|
4705 | to always fail with ENOSYS. Some functions are actually named |
---|
4706 | something starting with __ and the normal name is an alias. */ |
---|
4707 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
---|
4708 | choke me |
---|
4709 | #else |
---|
4710 | char (*f) () = $ac_func; |
---|
4711 | #endif |
---|
4712 | #ifdef __cplusplus |
---|
4713 | } |
---|
4714 | #endif |
---|
4715 | |
---|
4716 | int |
---|
4717 | main () |
---|
4718 | { |
---|
4719 | return f != $ac_func; |
---|
4720 | ; |
---|
4721 | return 0; |
---|
4722 | } |
---|
4723 | _ACEOF |
---|
4724 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
4725 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
4726 | (eval $ac_link) 2>conftest.er1 |
---|
4727 | ac_status=$? |
---|
4728 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4729 | rm -f conftest.er1 |
---|
4730 | cat conftest.err >&5 |
---|
4731 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4732 | (exit $ac_status); } && |
---|
4733 | { ac_try='test -z "$ac_c_werror_flag" |
---|
4734 | || test ! -s conftest.err' |
---|
4735 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4736 | (eval $ac_try) 2>&5 |
---|
4737 | ac_status=$? |
---|
4738 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4739 | (exit $ac_status); }; } && |
---|
4740 | { ac_try='test -s conftest$ac_exeext' |
---|
4741 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4742 | (eval $ac_try) 2>&5 |
---|
4743 | ac_status=$? |
---|
4744 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4745 | (exit $ac_status); }; }; then |
---|
4746 | eval "$as_ac_var=yes" |
---|
4747 | else |
---|
4748 | echo "$as_me: failed program was:" >&5 |
---|
4749 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4750 | |
---|
4751 | eval "$as_ac_var=no" |
---|
4752 | fi |
---|
4753 | rm -f conftest.err conftest.$ac_objext \ |
---|
4754 | conftest$ac_exeext conftest.$ac_ext |
---|
4755 | fi |
---|
4756 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
---|
4757 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
---|
4758 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
---|
4759 | cat >>confdefs.h <<_ACEOF |
---|
4760 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
---|
4761 | _ACEOF |
---|
4762 | |
---|
4763 | fi |
---|
4764 | done |
---|
4765 | |
---|
4766 | # Extract the first word of "gmsgfmt", so it can be a program name with args. |
---|
4767 | set dummy gmsgfmt; ac_word=$2 |
---|
4768 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
4769 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
4770 | if test "${ac_cv_path_GMSGFMT+set}" = set; then |
---|
4771 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4772 | else |
---|
4773 | case $GMSGFMT in |
---|
4774 | [\\/]* | ?:[\\/]*) |
---|
4775 | ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
---|
4776 | ;; |
---|
4777 | *) |
---|
4778 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4779 | for as_dir in $PATH |
---|
4780 | do |
---|
4781 | IFS=$as_save_IFS |
---|
4782 | test -z "$as_dir" && as_dir=. |
---|
4783 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4784 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
4785 | ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
---|
4786 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4787 | break 2 |
---|
4788 | fi |
---|
4789 | done |
---|
4790 | done |
---|
4791 | |
---|
4792 | test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
---|
4793 | ;; |
---|
4794 | esac |
---|
4795 | fi |
---|
4796 | GMSGFMT=$ac_cv_path_GMSGFMT |
---|
4797 | |
---|
4798 | if test -n "$GMSGFMT"; then |
---|
4799 | echo "$as_me:$LINENO: result: $GMSGFMT" >&5 |
---|
4800 | echo "${ECHO_T}$GMSGFMT" >&6 |
---|
4801 | else |
---|
4802 | echo "$as_me:$LINENO: result: no" >&5 |
---|
4803 | echo "${ECHO_T}no" >&6 |
---|
4804 | fi |
---|
4805 | |
---|
4806 | # Extract the first word of "xgettext", so it can be a program name with args. |
---|
4807 | set dummy xgettext; ac_word=$2 |
---|
4808 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
4809 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
4810 | if test "${ac_cv_path_XGETTEXT+set}" = set; then |
---|
4811 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4812 | else |
---|
4813 | case "$XGETTEXT" in |
---|
4814 | /*) |
---|
4815 | ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
---|
4816 | ;; |
---|
4817 | *) |
---|
4818 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
4819 | for ac_dir in $PATH; do |
---|
4820 | test -z "$ac_dir" && ac_dir=. |
---|
4821 | if test -f $ac_dir/$ac_word; then |
---|
4822 | if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then |
---|
4823 | ac_cv_path_XGETTEXT="$ac_dir/$ac_word" |
---|
4824 | break |
---|
4825 | fi |
---|
4826 | fi |
---|
4827 | done |
---|
4828 | IFS="$ac_save_ifs" |
---|
4829 | test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" |
---|
4830 | ;; |
---|
4831 | esac |
---|
4832 | fi |
---|
4833 | XGETTEXT="$ac_cv_path_XGETTEXT" |
---|
4834 | if test "$XGETTEXT" != ":"; then |
---|
4835 | echo "$as_me:$LINENO: result: $XGETTEXT" >&5 |
---|
4836 | echo "${ECHO_T}$XGETTEXT" >&6 |
---|
4837 | else |
---|
4838 | echo "$as_me:$LINENO: result: no" >&5 |
---|
4839 | echo "${ECHO_T}no" >&6 |
---|
4840 | fi |
---|
4841 | |
---|
4842 | cat >conftest.$ac_ext <<_ACEOF |
---|
4843 | /* confdefs.h. */ |
---|
4844 | _ACEOF |
---|
4845 | cat confdefs.h >>conftest.$ac_ext |
---|
4846 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4847 | /* end confdefs.h. */ |
---|
4848 | |
---|
4849 | int |
---|
4850 | main () |
---|
4851 | { |
---|
4852 | extern int _nl_msg_cat_cntr; |
---|
4853 | return _nl_msg_cat_cntr |
---|
4854 | ; |
---|
4855 | return 0; |
---|
4856 | } |
---|
4857 | _ACEOF |
---|
4858 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
4859 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
4860 | (eval $ac_link) 2>conftest.er1 |
---|
4861 | ac_status=$? |
---|
4862 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4863 | rm -f conftest.er1 |
---|
4864 | cat conftest.err >&5 |
---|
4865 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4866 | (exit $ac_status); } && |
---|
4867 | { ac_try='test -z "$ac_c_werror_flag" |
---|
4868 | || test ! -s conftest.err' |
---|
4869 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4870 | (eval $ac_try) 2>&5 |
---|
4871 | ac_status=$? |
---|
4872 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4873 | (exit $ac_status); }; } && |
---|
4874 | { ac_try='test -s conftest$ac_exeext' |
---|
4875 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4876 | (eval $ac_try) 2>&5 |
---|
4877 | ac_status=$? |
---|
4878 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4879 | (exit $ac_status); }; }; then |
---|
4880 | CATOBJEXT=.gmo |
---|
4881 | DATADIRNAME=share |
---|
4882 | else |
---|
4883 | echo "$as_me: failed program was:" >&5 |
---|
4884 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4885 | |
---|
4886 | case $host in |
---|
4887 | *-*-solaris*) |
---|
4888 | echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5 |
---|
4889 | echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6 |
---|
4890 | if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then |
---|
4891 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4892 | else |
---|
4893 | cat >conftest.$ac_ext <<_ACEOF |
---|
4894 | /* confdefs.h. */ |
---|
4895 | _ACEOF |
---|
4896 | cat confdefs.h >>conftest.$ac_ext |
---|
4897 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4898 | /* end confdefs.h. */ |
---|
4899 | /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset. |
---|
4900 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
---|
4901 | #define bind_textdomain_codeset innocuous_bind_textdomain_codeset |
---|
4902 | |
---|
4903 | /* System header to define __stub macros and hopefully few prototypes, |
---|
4904 | which can conflict with char bind_textdomain_codeset (); below. |
---|
4905 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
4906 | <limits.h> exists even on freestanding compilers. */ |
---|
4907 | |
---|
4908 | #ifdef __STDC__ |
---|
4909 | # include <limits.h> |
---|
4910 | #else |
---|
4911 | # include <assert.h> |
---|
4912 | #endif |
---|
4913 | |
---|
4914 | #undef bind_textdomain_codeset |
---|
4915 | |
---|
4916 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
4917 | #ifdef __cplusplus |
---|
4918 | extern "C" |
---|
4919 | { |
---|
4920 | #endif |
---|
4921 | /* We use char because int might match the return type of a gcc2 |
---|
4922 | builtin and then its argument prototype would still apply. */ |
---|
4923 | char bind_textdomain_codeset (); |
---|
4924 | /* The GNU C library defines this for functions which it implements |
---|
4925 | to always fail with ENOSYS. Some functions are actually named |
---|
4926 | something starting with __ and the normal name is an alias. */ |
---|
4927 | #if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset) |
---|
4928 | choke me |
---|
4929 | #else |
---|
4930 | char (*f) () = bind_textdomain_codeset; |
---|
4931 | #endif |
---|
4932 | #ifdef __cplusplus |
---|
4933 | } |
---|
4934 | #endif |
---|
4935 | |
---|
4936 | int |
---|
4937 | main () |
---|
4938 | { |
---|
4939 | return f != bind_textdomain_codeset; |
---|
4940 | ; |
---|
4941 | return 0; |
---|
4942 | } |
---|
4943 | _ACEOF |
---|
4944 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
4945 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
4946 | (eval $ac_link) 2>conftest.er1 |
---|
4947 | ac_status=$? |
---|
4948 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4949 | rm -f conftest.er1 |
---|
4950 | cat conftest.err >&5 |
---|
4951 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4952 | (exit $ac_status); } && |
---|
4953 | { ac_try='test -z "$ac_c_werror_flag" |
---|
4954 | || test ! -s conftest.err' |
---|
4955 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4956 | (eval $ac_try) 2>&5 |
---|
4957 | ac_status=$? |
---|
4958 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4959 | (exit $ac_status); }; } && |
---|
4960 | { ac_try='test -s conftest$ac_exeext' |
---|
4961 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4962 | (eval $ac_try) 2>&5 |
---|
4963 | ac_status=$? |
---|
4964 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4965 | (exit $ac_status); }; }; then |
---|
4966 | ac_cv_func_bind_textdomain_codeset=yes |
---|
4967 | else |
---|
4968 | echo "$as_me: failed program was:" >&5 |
---|
4969 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4970 | |
---|
4971 | ac_cv_func_bind_textdomain_codeset=no |
---|
4972 | fi |
---|
4973 | rm -f conftest.err conftest.$ac_objext \ |
---|
4974 | conftest$ac_exeext conftest.$ac_ext |
---|
4975 | fi |
---|
4976 | echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5 |
---|
4977 | echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6 |
---|
4978 | if test $ac_cv_func_bind_textdomain_codeset = yes; then |
---|
4979 | CATOBJEXT=.gmo |
---|
4980 | DATADIRNAME=share |
---|
4981 | else |
---|
4982 | CATOBJEXT=.mo |
---|
4983 | DATADIRNAME=lib |
---|
4984 | fi |
---|
4985 | |
---|
4986 | ;; |
---|
4987 | *) |
---|
4988 | CATOBJEXT=.mo |
---|
4989 | DATADIRNAME=lib |
---|
4990 | ;; |
---|
4991 | esac |
---|
4992 | fi |
---|
4993 | rm -f conftest.err conftest.$ac_objext \ |
---|
4994 | conftest$ac_exeext conftest.$ac_ext |
---|
4995 | LIBS="$glib_save_LIBS" |
---|
4996 | INSTOBJEXT=.mo |
---|
4997 | else |
---|
4998 | gt_cv_have_gettext=no |
---|
4999 | fi |
---|
5000 | fi |
---|
5001 | |
---|
5002 | fi |
---|
5003 | |
---|
5004 | |
---|
5005 | |
---|
5006 | if test "$gt_cv_have_gettext" = "yes" ; then |
---|
5007 | |
---|
5008 | cat >>confdefs.h <<\_ACEOF |
---|
5009 | #define ENABLE_NLS 1 |
---|
5010 | _ACEOF |
---|
5011 | |
---|
5012 | fi |
---|
5013 | |
---|
5014 | if test "$XGETTEXT" != ":"; then |
---|
5015 | if $XGETTEXT --omit-header /dev/null 2> /dev/null; then |
---|
5016 | : ; |
---|
5017 | else |
---|
5018 | echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5 |
---|
5019 | echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6 |
---|
5020 | XGETTEXT=":" |
---|
5021 | fi |
---|
5022 | fi |
---|
5023 | |
---|
5024 | # We need to process the po/ directory. |
---|
5025 | POSUB=po |
---|
5026 | |
---|
5027 | ac_config_commands="$ac_config_commands default-3" |
---|
5028 | |
---|
5029 | |
---|
5030 | for lang in $ALL_LINGUAS; do |
---|
5031 | GMOFILES="$GMOFILES $lang.gmo" |
---|
5032 | POFILES="$POFILES $lang.po" |
---|
5033 | done |
---|
5034 | |
---|
5035 | |
---|
5036 | |
---|
5037 | |
---|
5038 | |
---|
5039 | |
---|
5040 | |
---|
5041 | |
---|
5042 | |
---|
5043 | |
---|
5044 | |
---|
5045 | |
---|
5046 | |
---|
5047 | if test "$gt_cv_have_gettext" = "yes"; then |
---|
5048 | if test "x$ALL_LINGUAS" = "x"; then |
---|
5049 | LINGUAS= |
---|
5050 | else |
---|
5051 | echo "$as_me:$LINENO: checking for catalogs to be installed" >&5 |
---|
5052 | echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6 |
---|
5053 | NEW_LINGUAS= |
---|
5054 | for presentlang in $ALL_LINGUAS; do |
---|
5055 | useit=no |
---|
5056 | if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then |
---|
5057 | desiredlanguages="$LINGUAS" |
---|
5058 | else |
---|
5059 | desiredlanguages="$ALL_LINGUAS" |
---|
5060 | fi |
---|
5061 | for desiredlang in $desiredlanguages; do |
---|
5062 | # Use the presentlang catalog if desiredlang is |
---|
5063 | # a. equal to presentlang, or |
---|
5064 | # b. a variant of presentlang (because in this case, |
---|
5065 | # presentlang can be used as a fallback for messages |
---|
5066 | # which are not translated in the desiredlang catalog). |
---|
5067 | case "$desiredlang" in |
---|
5068 | "$presentlang"*) useit=yes;; |
---|
5069 | esac |
---|
5070 | done |
---|
5071 | if test $useit = yes; then |
---|
5072 | NEW_LINGUAS="$NEW_LINGUAS $presentlang" |
---|
5073 | fi |
---|
5074 | done |
---|
5075 | LINGUAS=$NEW_LINGUAS |
---|
5076 | echo "$as_me:$LINENO: result: $LINGUAS" >&5 |
---|
5077 | echo "${ECHO_T}$LINGUAS" >&6 |
---|
5078 | fi |
---|
5079 | |
---|
5080 | if test -n "$LINGUAS"; then |
---|
5081 | for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done |
---|
5082 | fi |
---|
5083 | fi |
---|
5084 | |
---|
5085 | MKINSTALLDIRS= |
---|
5086 | if test -n "$ac_aux_dir"; then |
---|
5087 | MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" |
---|
5088 | fi |
---|
5089 | if test -z "$MKINSTALLDIRS"; then |
---|
5090 | MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" |
---|
5091 | fi |
---|
5092 | |
---|
5093 | |
---|
5094 | test -d po || mkdir po |
---|
5095 | if test "x$srcdir" != "x."; then |
---|
5096 | if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then |
---|
5097 | posrcprefix="$srcdir/" |
---|
5098 | else |
---|
5099 | posrcprefix="../$srcdir/" |
---|
5100 | fi |
---|
5101 | else |
---|
5102 | posrcprefix="../" |
---|
5103 | fi |
---|
5104 | rm -f po/POTFILES |
---|
5105 | sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ |
---|
5106 | < $srcdir/po/POTFILES.in > po/POTFILES |
---|
5107 | |
---|
5108 | |
---|
5109 | # Extract the first word of "glib-genmarshal", so it can be a program name with args. |
---|
5110 | set dummy glib-genmarshal; ac_word=$2 |
---|
5111 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
5112 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
5113 | if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then |
---|
5114 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
5115 | else |
---|
5116 | case $GLIB_GENMARSHAL in |
---|
5117 | [\\/]* | ?:[\\/]*) |
---|
5118 | ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path. |
---|
5119 | ;; |
---|
5120 | *) |
---|
5121 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
5122 | for as_dir in $PATH |
---|
5123 | do |
---|
5124 | IFS=$as_save_IFS |
---|
5125 | test -z "$as_dir" && as_dir=. |
---|
5126 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
5127 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
5128 | ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext" |
---|
5129 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
5130 | break 2 |
---|
5131 | fi |
---|
5132 | done |
---|
5133 | done |
---|
5134 | |
---|
5135 | ;; |
---|
5136 | esac |
---|
5137 | fi |
---|
5138 | GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL |
---|
5139 | |
---|
5140 | if test -n "$GLIB_GENMARSHAL"; then |
---|
5141 | echo "$as_me:$LINENO: result: $GLIB_GENMARSHAL" >&5 |
---|
5142 | echo "${ECHO_T}$GLIB_GENMARSHAL" >&6 |
---|
5143 | else |
---|
5144 | echo "$as_me:$LINENO: result: no" >&5 |
---|
5145 | echo "${ECHO_T}no" >&6 |
---|
5146 | fi |
---|
5147 | |
---|
5148 | |
---|
5149 | |
---|
5150 | # Check whether --enable-deprecations or --disable-deprecations was given. |
---|
5151 | if test "${enable_deprecations+set}" = set; then |
---|
5152 | enableval="$enable_deprecations" |
---|
5153 | |
---|
5154 | fi; |
---|
5155 | |
---|
5156 | |
---|
5157 | |
---|
5158 | if test "x$enable_deprecations" = xyes; then |
---|
5159 | ENABLE_DEPRECATIONS_TRUE= |
---|
5160 | ENABLE_DEPRECATIONS_FALSE='#' |
---|
5161 | else |
---|
5162 | ENABLE_DEPRECATIONS_TRUE='#' |
---|
5163 | ENABLE_DEPRECATIONS_FALSE= |
---|
5164 | fi |
---|
5165 | |
---|
5166 | |
---|
5167 | ac_config_files="$ac_config_files bug-buddy.spec bug-buddy.schemas Makefile bugzilla/Makefile bugzilla/gnome/Makefile bugzilla/ximian/Makefile docs/Makefile docs/C/Makefile pixmaps/Makefile po/Makefile.in src/Makefile src/bug-buddy.desktop.in src/bug-buddy-core.desktop.in" |
---|
5168 | cat >confcache <<\_ACEOF |
---|
5169 | # This file is a shell script that caches the results of configure |
---|
5170 | # tests run on this system so they can be shared between configure |
---|
5171 | # scripts and configure runs, see configure's option --config-cache. |
---|
5172 | # It is not useful on other systems. If it contains results you don't |
---|
5173 | # want to keep, you may remove or edit it. |
---|
5174 | # |
---|
5175 | # config.status only pays attention to the cache file if you give it |
---|
5176 | # the --recheck option to rerun configure. |
---|
5177 | # |
---|
5178 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
5179 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
5180 | # following values. |
---|
5181 | |
---|
5182 | _ACEOF |
---|
5183 | |
---|
5184 | # The following way of writing the cache mishandles newlines in values, |
---|
5185 | # but we know of no workaround that is simple, portable, and efficient. |
---|
5186 | # So, don't put newlines in cache variables' values. |
---|
5187 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
5188 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
5189 | { |
---|
5190 | (set) 2>&1 | |
---|
5191 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
---|
5192 | *ac_space=\ *) |
---|
5193 | # `set' does not quote correctly, so add quotes (double-quote |
---|
5194 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
---|
5195 | sed -n \ |
---|
5196 | "s/'/'\\\\''/g; |
---|
5197 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
5198 | ;; |
---|
5199 | *) |
---|
5200 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
5201 | sed -n \ |
---|
5202 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
---|
5203 | ;; |
---|
5204 | esac; |
---|
5205 | } | |
---|
5206 | sed ' |
---|
5207 | t clear |
---|
5208 | : clear |
---|
5209 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
5210 | t end |
---|
5211 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
5212 | : end' >>confcache |
---|
5213 | if diff $cache_file confcache >/dev/null 2>&1; then :; else |
---|
5214 | if test -w $cache_file; then |
---|
5215 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
---|
5216 | cat confcache >$cache_file |
---|
5217 | else |
---|
5218 | echo "not updating unwritable cache $cache_file" |
---|
5219 | fi |
---|
5220 | fi |
---|
5221 | rm -f confcache |
---|
5222 | |
---|
5223 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
5224 | # Let make expand exec_prefix. |
---|
5225 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
5226 | |
---|
5227 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
---|
5228 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
---|
5229 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
5230 | # (actually we leave an empty line to preserve line numbers). |
---|
5231 | if test "x$srcdir" = x.; then |
---|
5232 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
---|
5233 | s/:*\$(srcdir):*/:/; |
---|
5234 | s/:*\${srcdir}:*/:/; |
---|
5235 | s/:*@srcdir@:*/:/; |
---|
5236 | s/^\([^=]*=[ ]*\):*/\1/; |
---|
5237 | s/:*$//; |
---|
5238 | s/^[^=]*=[ ]*$//; |
---|
5239 | }' |
---|
5240 | fi |
---|
5241 | |
---|
5242 | DEFS=-DHAVE_CONFIG_H |
---|
5243 | |
---|
5244 | ac_libobjs= |
---|
5245 | ac_ltlibobjs= |
---|
5246 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
5247 | # 1. Remove the extension, and $U if already installed. |
---|
5248 | ac_i=`echo "$ac_i" | |
---|
5249 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
---|
5250 | # 2. Add them. |
---|
5251 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
---|
5252 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
---|
5253 | done |
---|
5254 | LIBOBJS=$ac_libobjs |
---|
5255 | |
---|
5256 | LTLIBOBJS=$ac_ltlibobjs |
---|
5257 | |
---|
5258 | |
---|
5259 | |
---|
5260 | |
---|
5261 | mv -f po/POTFILES po/POTFILES.tmp |
---|
5262 | sed -e '/\[encoding.*\]/d' -e 's/\[.*\] *//' < po/POTFILES.tmp > po/POTFILES |
---|
5263 | rm -f po/POTFILES.tmp |
---|
5264 | |
---|
5265 | |
---|
5266 | |
---|
5267 | : ${CONFIG_STATUS=./config.status} |
---|
5268 | ac_clean_files_save=$ac_clean_files |
---|
5269 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
5270 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
---|
5271 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
5272 | cat >$CONFIG_STATUS <<_ACEOF |
---|
5273 | #! $SHELL |
---|
5274 | # Generated by $as_me. |
---|
5275 | # Run this file to recreate the current configuration. |
---|
5276 | # Compiler output produced by configure, useful for debugging |
---|
5277 | # configure, is in config.log if it exists. |
---|
5278 | |
---|
5279 | debug=false |
---|
5280 | ac_cs_recheck=false |
---|
5281 | ac_cs_silent=false |
---|
5282 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
5283 | _ACEOF |
---|
5284 | |
---|
5285 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5286 | ## --------------------- ## |
---|
5287 | ## M4sh Initialization. ## |
---|
5288 | ## --------------------- ## |
---|
5289 | |
---|
5290 | # Be Bourne compatible |
---|
5291 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
5292 | emulate sh |
---|
5293 | NULLCMD=: |
---|
5294 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
5295 | # is contrary to our usage. Disable this feature. |
---|
5296 | alias -g '${1+"$@"}'='"$@"' |
---|
5297 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
---|
5298 | set -o posix |
---|
5299 | fi |
---|
5300 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
5301 | |
---|
5302 | # Support unset when possible. |
---|
5303 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
5304 | as_unset=unset |
---|
5305 | else |
---|
5306 | as_unset=false |
---|
5307 | fi |
---|
5308 | |
---|
5309 | |
---|
5310 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
5311 | $as_unset ENV MAIL MAILPATH |
---|
5312 | PS1='$ ' |
---|
5313 | PS2='> ' |
---|
5314 | PS4='+ ' |
---|
5315 | |
---|
5316 | # NLS nuisances. |
---|
5317 | for as_var in \ |
---|
5318 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
5319 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
5320 | LC_TELEPHONE LC_TIME |
---|
5321 | do |
---|
5322 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
5323 | eval $as_var=C; export $as_var |
---|
5324 | else |
---|
5325 | $as_unset $as_var |
---|
5326 | fi |
---|
5327 | done |
---|
5328 | |
---|
5329 | # Required to use basename. |
---|
5330 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
5331 | as_expr=expr |
---|
5332 | else |
---|
5333 | as_expr=false |
---|
5334 | fi |
---|
5335 | |
---|
5336 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
---|
5337 | as_basename=basename |
---|
5338 | else |
---|
5339 | as_basename=false |
---|
5340 | fi |
---|
5341 | |
---|
5342 | |
---|
5343 | # Name of the executable. |
---|
5344 | as_me=`$as_basename "$0" || |
---|
5345 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
5346 | X"$0" : 'X\(//\)$' \| \ |
---|
5347 | X"$0" : 'X\(/\)$' \| \ |
---|
5348 | . : '\(.\)' 2>/dev/null || |
---|
5349 | echo X/"$0" | |
---|
5350 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
---|
5351 | /^X\/\(\/\/\)$/{ s//\1/; q; } |
---|
5352 | /^X\/\(\/\).*/{ s//\1/; q; } |
---|
5353 | s/.*/./; q'` |
---|
5354 | |
---|
5355 | |
---|
5356 | # PATH needs CR, and LINENO needs CR and PATH. |
---|
5357 | # Avoid depending upon Character Ranges. |
---|
5358 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
5359 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
5360 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
5361 | as_cr_digits='0123456789' |
---|
5362 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
5363 | |
---|
5364 | # The user is always right. |
---|
5365 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
5366 | echo "#! /bin/sh" >conf$$.sh |
---|
5367 | echo "exit 0" >>conf$$.sh |
---|
5368 | chmod +x conf$$.sh |
---|
5369 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
5370 | PATH_SEPARATOR=';' |
---|
5371 | else |
---|
5372 | PATH_SEPARATOR=: |
---|
5373 | fi |
---|
5374 | rm -f conf$$.sh |
---|
5375 | fi |
---|
5376 | |
---|
5377 | |
---|
5378 | as_lineno_1=$LINENO |
---|
5379 | as_lineno_2=$LINENO |
---|
5380 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
5381 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
5382 | test "x$as_lineno_3" = "x$as_lineno_2" || { |
---|
5383 | # Find who we are. Look in the path if we contain no path at all |
---|
5384 | # relative or not. |
---|
5385 | case $0 in |
---|
5386 | *[\\/]* ) as_myself=$0 ;; |
---|
5387 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
5388 | for as_dir in $PATH |
---|
5389 | do |
---|
5390 | IFS=$as_save_IFS |
---|
5391 | test -z "$as_dir" && as_dir=. |
---|
5392 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
5393 | done |
---|
5394 | |
---|
5395 | ;; |
---|
5396 | esac |
---|
5397 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
5398 | # in which case we are not to be found in the path. |
---|
5399 | if test "x$as_myself" = x; then |
---|
5400 | as_myself=$0 |
---|
5401 | fi |
---|
5402 | if test ! -f "$as_myself"; then |
---|
5403 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
---|
5404 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
---|
5405 | { (exit 1); exit 1; }; } |
---|
5406 | fi |
---|
5407 | case $CONFIG_SHELL in |
---|
5408 | '') |
---|
5409 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
5410 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
5411 | do |
---|
5412 | IFS=$as_save_IFS |
---|
5413 | test -z "$as_dir" && as_dir=. |
---|
5414 | for as_base in sh bash ksh sh5; do |
---|
5415 | case $as_dir in |
---|
5416 | /*) |
---|
5417 | if ("$as_dir/$as_base" -c ' |
---|
5418 | as_lineno_1=$LINENO |
---|
5419 | as_lineno_2=$LINENO |
---|
5420 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
5421 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
5422 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
---|
5423 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
---|
5424 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
---|
5425 | CONFIG_SHELL=$as_dir/$as_base |
---|
5426 | export CONFIG_SHELL |
---|
5427 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
---|
5428 | fi;; |
---|
5429 | esac |
---|
5430 | done |
---|
5431 | done |
---|
5432 | ;; |
---|
5433 | esac |
---|
5434 | |
---|
5435 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
5436 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
5437 | # line-number line before each line; the second 'sed' does the real |
---|
5438 | # work. The second script uses 'N' to pair each line-number line |
---|
5439 | # with the numbered line, and appends trailing '-' during |
---|
5440 | # substitution so that $LINENO is not a special case at line end. |
---|
5441 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
5442 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
---|
5443 | sed '=' <$as_myself | |
---|
5444 | sed ' |
---|
5445 | N |
---|
5446 | s,$,-, |
---|
5447 | : loop |
---|
5448 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
---|
5449 | t loop |
---|
5450 | s,-$,, |
---|
5451 | s,^['$as_cr_digits']*\n,, |
---|
5452 | ' >$as_me.lineno && |
---|
5453 | chmod +x $as_me.lineno || |
---|
5454 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
---|
5455 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
---|
5456 | { (exit 1); exit 1; }; } |
---|
5457 | |
---|
5458 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
5459 | # (the dirname of $[0] is not the place where we might find the |
---|
5460 | # original and so on. Autoconf is especially sensible to this). |
---|
5461 | . ./$as_me.lineno |
---|
5462 | # Exit status is that of the last command. |
---|
5463 | exit |
---|
5464 | } |
---|
5465 | |
---|
5466 | |
---|
5467 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
---|
5468 | *c*,-n*) ECHO_N= ECHO_C=' |
---|
5469 | ' ECHO_T=' ' ;; |
---|
5470 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
---|
5471 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
---|
5472 | esac |
---|
5473 | |
---|
5474 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
5475 | as_expr=expr |
---|
5476 | else |
---|
5477 | as_expr=false |
---|
5478 | fi |
---|
5479 | |
---|
5480 | rm -f conf$$ conf$$.exe conf$$.file |
---|
5481 | echo >conf$$.file |
---|
5482 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
5483 | # We could just check for DJGPP; but this test a) works b) is more generic |
---|
5484 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
---|
5485 | if test -f conf$$.exe; then |
---|
5486 | # Don't use ln at all; we don't have any links |
---|
5487 | as_ln_s='cp -p' |
---|
5488 | else |
---|
5489 | as_ln_s='ln -s' |
---|
5490 | fi |
---|
5491 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
5492 | as_ln_s=ln |
---|
5493 | else |
---|
5494 | as_ln_s='cp -p' |
---|
5495 | fi |
---|
5496 | rm -f conf$$ conf$$.exe conf$$.file |
---|
5497 | |
---|
5498 | if mkdir -p . 2>/dev/null; then |
---|
5499 | as_mkdir_p=: |
---|
5500 | else |
---|
5501 | test -d ./-p && rmdir ./-p |
---|
5502 | as_mkdir_p=false |
---|
5503 | fi |
---|
5504 | |
---|
5505 | as_executable_p="test -f" |
---|
5506 | |
---|
5507 | # Sed expression to map a string onto a valid CPP name. |
---|
5508 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
5509 | |
---|
5510 | # Sed expression to map a string onto a valid variable name. |
---|
5511 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
5512 | |
---|
5513 | |
---|
5514 | # IFS |
---|
5515 | # We need space, tab and new line, in precisely that order. |
---|
5516 | as_nl=' |
---|
5517 | ' |
---|
5518 | IFS=" $as_nl" |
---|
5519 | |
---|
5520 | # CDPATH. |
---|
5521 | $as_unset CDPATH |
---|
5522 | |
---|
5523 | exec 6>&1 |
---|
5524 | |
---|
5525 | # Open the log real soon, to keep \$[0] and so on meaningful, and to |
---|
5526 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
5527 | # values after options handling. Logging --version etc. is OK. |
---|
5528 | exec 5>>config.log |
---|
5529 | { |
---|
5530 | echo |
---|
5531 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
5532 | ## Running $as_me. ## |
---|
5533 | _ASBOX |
---|
5534 | } >&5 |
---|
5535 | cat >&5 <<_CSEOF |
---|
5536 | |
---|
5537 | This file was extended by $as_me, which was |
---|
5538 | generated by GNU Autoconf 2.59. Invocation command line was |
---|
5539 | |
---|
5540 | CONFIG_FILES = $CONFIG_FILES |
---|
5541 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
5542 | CONFIG_LINKS = $CONFIG_LINKS |
---|
5543 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
5544 | $ $0 $@ |
---|
5545 | |
---|
5546 | _CSEOF |
---|
5547 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
---|
5548 | echo >&5 |
---|
5549 | _ACEOF |
---|
5550 | |
---|
5551 | # Files that config.status was made for. |
---|
5552 | if test -n "$ac_config_files"; then |
---|
5553 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
---|
5554 | fi |
---|
5555 | |
---|
5556 | if test -n "$ac_config_headers"; then |
---|
5557 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
---|
5558 | fi |
---|
5559 | |
---|
5560 | if test -n "$ac_config_links"; then |
---|
5561 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
---|
5562 | fi |
---|
5563 | |
---|
5564 | if test -n "$ac_config_commands"; then |
---|
5565 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
---|
5566 | fi |
---|
5567 | |
---|
5568 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5569 | |
---|
5570 | ac_cs_usage="\ |
---|
5571 | \`$as_me' instantiates files from templates according to the |
---|
5572 | current configuration. |
---|
5573 | |
---|
5574 | Usage: $0 [OPTIONS] [FILE]... |
---|
5575 | |
---|
5576 | -h, --help print this help, then exit |
---|
5577 | -V, --version print version number, then exit |
---|
5578 | -q, --quiet do not print progress messages |
---|
5579 | -d, --debug don't remove temporary files |
---|
5580 | --recheck update $as_me by reconfiguring in the same conditions |
---|
5581 | --file=FILE[:TEMPLATE] |
---|
5582 | instantiate the configuration file FILE |
---|
5583 | --header=FILE[:TEMPLATE] |
---|
5584 | instantiate the configuration header FILE |
---|
5585 | |
---|
5586 | Configuration files: |
---|
5587 | $config_files |
---|
5588 | |
---|
5589 | Configuration headers: |
---|
5590 | $config_headers |
---|
5591 | |
---|
5592 | Configuration commands: |
---|
5593 | $config_commands |
---|
5594 | |
---|
5595 | Report bugs to <bug-autoconf@gnu.org>." |
---|
5596 | _ACEOF |
---|
5597 | |
---|
5598 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
5599 | ac_cs_version="\\ |
---|
5600 | config.status |
---|
5601 | configured by $0, generated by GNU Autoconf 2.59, |
---|
5602 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
---|
5603 | |
---|
5604 | Copyright (C) 2003 Free Software Foundation, Inc. |
---|
5605 | This config.status script is free software; the Free Software Foundation |
---|
5606 | gives unlimited permission to copy, distribute and modify it." |
---|
5607 | srcdir=$srcdir |
---|
5608 | INSTALL="$INSTALL" |
---|
5609 | _ACEOF |
---|
5610 | |
---|
5611 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5612 | # If no file are specified by the user, then we need to provide default |
---|
5613 | # value. By we need to know if files were specified by the user. |
---|
5614 | ac_need_defaults=: |
---|
5615 | while test $# != 0 |
---|
5616 | do |
---|
5617 | case $1 in |
---|
5618 | --*=*) |
---|
5619 | ac_option=`expr "x$1" : 'x\([^=]*\)='` |
---|
5620 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
---|
5621 | ac_shift=: |
---|
5622 | ;; |
---|
5623 | -*) |
---|
5624 | ac_option=$1 |
---|
5625 | ac_optarg=$2 |
---|
5626 | ac_shift=shift |
---|
5627 | ;; |
---|
5628 | *) # This is not an option, so the user has probably given explicit |
---|
5629 | # arguments. |
---|
5630 | ac_option=$1 |
---|
5631 | ac_need_defaults=false;; |
---|
5632 | esac |
---|
5633 | |
---|
5634 | case $ac_option in |
---|
5635 | # Handling of the options. |
---|
5636 | _ACEOF |
---|
5637 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5638 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
5639 | ac_cs_recheck=: ;; |
---|
5640 | --version | --vers* | -V ) |
---|
5641 | echo "$ac_cs_version"; exit 0 ;; |
---|
5642 | --he | --h) |
---|
5643 | # Conflict between --help and --header |
---|
5644 | { { echo "$as_me:$LINENO: error: ambiguous option: $1 |
---|
5645 | Try \`$0 --help' for more information." >&5 |
---|
5646 | echo "$as_me: error: ambiguous option: $1 |
---|
5647 | Try \`$0 --help' for more information." >&2;} |
---|
5648 | { (exit 1); exit 1; }; };; |
---|
5649 | --help | --hel | -h ) |
---|
5650 | echo "$ac_cs_usage"; exit 0 ;; |
---|
5651 | --debug | --d* | -d ) |
---|
5652 | debug=: ;; |
---|
5653 | --file | --fil | --fi | --f ) |
---|
5654 | $ac_shift |
---|
5655 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
---|
5656 | ac_need_defaults=false;; |
---|
5657 | --header | --heade | --head | --hea ) |
---|
5658 | $ac_shift |
---|
5659 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
---|
5660 | ac_need_defaults=false;; |
---|
5661 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
5662 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
5663 | ac_cs_silent=: ;; |
---|
5664 | |
---|
5665 | # This is an error. |
---|
5666 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
---|
5667 | Try \`$0 --help' for more information." >&5 |
---|
5668 | echo "$as_me: error: unrecognized option: $1 |
---|
5669 | Try \`$0 --help' for more information." >&2;} |
---|
5670 | { (exit 1); exit 1; }; } ;; |
---|
5671 | |
---|
5672 | *) ac_config_targets="$ac_config_targets $1" ;; |
---|
5673 | |
---|
5674 | esac |
---|
5675 | shift |
---|
5676 | done |
---|
5677 | |
---|
5678 | ac_configure_extra_args= |
---|
5679 | |
---|
5680 | if $ac_cs_silent; then |
---|
5681 | exec 6>/dev/null |
---|
5682 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
5683 | fi |
---|
5684 | |
---|
5685 | _ACEOF |
---|
5686 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
5687 | if \$ac_cs_recheck; then |
---|
5688 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
---|
5689 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
5690 | fi |
---|
5691 | |
---|
5692 | _ACEOF |
---|
5693 | |
---|
5694 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
5695 | # |
---|
5696 | # INIT-COMMANDS section. |
---|
5697 | # |
---|
5698 | |
---|
5699 | |
---|
5700 | INTLTOOL_PERL=${INTLTOOL_PERL} ac_aux_dir=${ac_aux_dir} |
---|
5701 | |
---|
5702 | |
---|
5703 | _ACEOF |
---|
5704 | |
---|
5705 | |
---|
5706 | |
---|
5707 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5708 | for ac_config_target in $ac_config_targets |
---|
5709 | do |
---|
5710 | case "$ac_config_target" in |
---|
5711 | # Handling of arguments. |
---|
5712 | "bug-buddy.spec" ) CONFIG_FILES="$CONFIG_FILES bug-buddy.spec" ;; |
---|
5713 | "bug-buddy.schemas" ) CONFIG_FILES="$CONFIG_FILES bug-buddy.schemas" ;; |
---|
5714 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
5715 | "bugzilla/Makefile" ) CONFIG_FILES="$CONFIG_FILES bugzilla/Makefile" ;; |
---|
5716 | "bugzilla/gnome/Makefile" ) CONFIG_FILES="$CONFIG_FILES bugzilla/gnome/Makefile" ;; |
---|
5717 | "bugzilla/ximian/Makefile" ) CONFIG_FILES="$CONFIG_FILES bugzilla/ximian/Makefile" ;; |
---|
5718 | "docs/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; |
---|
5719 | "docs/C/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/C/Makefile" ;; |
---|
5720 | "pixmaps/Makefile" ) CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;; |
---|
5721 | "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; |
---|
5722 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
---|
5723 | "src/bug-buddy.desktop.in" ) CONFIG_FILES="$CONFIG_FILES src/bug-buddy.desktop.in" ;; |
---|
5724 | "src/bug-buddy-core.desktop.in" ) CONFIG_FILES="$CONFIG_FILES src/bug-buddy-core.desktop.in" ;; |
---|
5725 | "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; |
---|
5726 | "default-2" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;; |
---|
5727 | "default-3" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-3" ;; |
---|
5728 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
---|
5729 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
---|
5730 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
---|
5731 | { (exit 1); exit 1; }; };; |
---|
5732 | esac |
---|
5733 | done |
---|
5734 | |
---|
5735 | # If the user did not use the arguments to specify the items to instantiate, |
---|
5736 | # then the envvar interface is used. Set only those that are not. |
---|
5737 | # We use the long form for the default assignment because of an extremely |
---|
5738 | # bizarre bug on SunOS 4.1.3. |
---|
5739 | if $ac_need_defaults; then |
---|
5740 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
5741 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
---|
5742 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
---|
5743 | fi |
---|
5744 | |
---|
5745 | # Have a temporary directory for convenience. Make it in the build tree |
---|
5746 | # simply because there is no reason to put it here, and in addition, |
---|
5747 | # creating and moving files from /tmp can sometimes cause problems. |
---|
5748 | # Create a temporary directory, and hook for its removal unless debugging. |
---|
5749 | $debug || |
---|
5750 | { |
---|
5751 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
---|
5752 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
---|
5753 | } |
---|
5754 | |
---|
5755 | # Create a (secure) tmp directory for tmp files. |
---|
5756 | |
---|
5757 | { |
---|
5758 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
---|
5759 | test -n "$tmp" && test -d "$tmp" |
---|
5760 | } || |
---|
5761 | { |
---|
5762 | tmp=./confstat$$-$RANDOM |
---|
5763 | (umask 077 && mkdir $tmp) |
---|
5764 | } || |
---|
5765 | { |
---|
5766 | echo "$me: cannot create a temporary directory in ." >&2 |
---|
5767 | { (exit 1); exit 1; } |
---|
5768 | } |
---|
5769 | |
---|
5770 | _ACEOF |
---|
5771 | |
---|
5772 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
5773 | |
---|
5774 | # |
---|
5775 | # CONFIG_FILES section. |
---|
5776 | # |
---|
5777 | |
---|
5778 | # No need to generate the scripts if there are no CONFIG_FILES. |
---|
5779 | # This happens for instance when ./config.status config.h |
---|
5780 | if test -n "\$CONFIG_FILES"; then |
---|
5781 | # Protect against being on the right side of a sed subst in config.status. |
---|
5782 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
---|
5783 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
---|
5784 | s,@SHELL@,$SHELL,;t t |
---|
5785 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
---|
5786 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
---|
5787 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
---|
5788 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
---|
5789 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
---|
5790 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
---|
5791 | s,@exec_prefix@,$exec_prefix,;t t |
---|
5792 | s,@prefix@,$prefix,;t t |
---|
5793 | s,@program_transform_name@,$program_transform_name,;t t |
---|
5794 | s,@bindir@,$bindir,;t t |
---|
5795 | s,@sbindir@,$sbindir,;t t |
---|
5796 | s,@libexecdir@,$libexecdir,;t t |
---|
5797 | s,@datadir@,$datadir,;t t |
---|
5798 | s,@sysconfdir@,$sysconfdir,;t t |
---|
5799 | s,@sharedstatedir@,$sharedstatedir,;t t |
---|
5800 | s,@localstatedir@,$localstatedir,;t t |
---|
5801 | s,@libdir@,$libdir,;t t |
---|
5802 | s,@includedir@,$includedir,;t t |
---|
5803 | s,@oldincludedir@,$oldincludedir,;t t |
---|
5804 | s,@infodir@,$infodir,;t t |
---|
5805 | s,@mandir@,$mandir,;t t |
---|
5806 | s,@build_alias@,$build_alias,;t t |
---|
5807 | s,@host_alias@,$host_alias,;t t |
---|
5808 | s,@target_alias@,$target_alias,;t t |
---|
5809 | s,@DEFS@,$DEFS,;t t |
---|
5810 | s,@ECHO_C@,$ECHO_C,;t t |
---|
5811 | s,@ECHO_N@,$ECHO_N,;t t |
---|
5812 | s,@ECHO_T@,$ECHO_T,;t t |
---|
5813 | s,@LIBS@,$LIBS,;t t |
---|
5814 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
---|
5815 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
---|
5816 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
---|
5817 | s,@PACKAGE@,$PACKAGE,;t t |
---|
5818 | s,@VERSION@,$VERSION,;t t |
---|
5819 | s,@ACLOCAL@,$ACLOCAL,;t t |
---|
5820 | s,@AUTOCONF@,$AUTOCONF,;t t |
---|
5821 | s,@AUTOMAKE@,$AUTOMAKE,;t t |
---|
5822 | s,@AUTOHEADER@,$AUTOHEADER,;t t |
---|
5823 | s,@MAKEINFO@,$MAKEINFO,;t t |
---|
5824 | s,@SET_MAKE@,$SET_MAKE,;t t |
---|
5825 | s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t |
---|
5826 | s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t |
---|
5827 | s,@MAINT@,$MAINT,;t t |
---|
5828 | s,@INTLTOOL_DESKTOP_RULE@,$INTLTOOL_DESKTOP_RULE,;t t |
---|
5829 | s,@INTLTOOL_DIRECTORY_RULE@,$INTLTOOL_DIRECTORY_RULE,;t t |
---|
5830 | s,@INTLTOOL_KEYS_RULE@,$INTLTOOL_KEYS_RULE,;t t |
---|
5831 | s,@INTLTOOL_PROP_RULE@,$INTLTOOL_PROP_RULE,;t t |
---|
5832 | s,@INTLTOOL_OAF_RULE@,$INTLTOOL_OAF_RULE,;t t |
---|
5833 | s,@INTLTOOL_PONG_RULE@,$INTLTOOL_PONG_RULE,;t t |
---|
5834 | s,@INTLTOOL_SERVER_RULE@,$INTLTOOL_SERVER_RULE,;t t |
---|
5835 | s,@INTLTOOL_SHEET_RULE@,$INTLTOOL_SHEET_RULE,;t t |
---|
5836 | s,@INTLTOOL_SOUNDLIST_RULE@,$INTLTOOL_SOUNDLIST_RULE,;t t |
---|
5837 | s,@INTLTOOL_UI_RULE@,$INTLTOOL_UI_RULE,;t t |
---|
5838 | s,@INTLTOOL_XAM_RULE@,$INTLTOOL_XAM_RULE,;t t |
---|
5839 | s,@INTLTOOL_KBD_RULE@,$INTLTOOL_KBD_RULE,;t t |
---|
5840 | s,@INTLTOOL_XML_RULE@,$INTLTOOL_XML_RULE,;t t |
---|
5841 | s,@INTLTOOL_CAVES_RULE@,$INTLTOOL_CAVES_RULE,;t t |
---|
5842 | s,@INTLTOOL_SCHEMAS_RULE@,$INTLTOOL_SCHEMAS_RULE,;t t |
---|
5843 | s,@INTLTOOL_THEME_RULE@,$INTLTOOL_THEME_RULE,;t t |
---|
5844 | s,@INTLTOOL_EXTRACT@,$INTLTOOL_EXTRACT,;t t |
---|
5845 | s,@INTLTOOL_MERGE@,$INTLTOOL_MERGE,;t t |
---|
5846 | s,@INTLTOOL_UPDATE@,$INTLTOOL_UPDATE,;t t |
---|
5847 | s,@INTLTOOL_PERL@,$INTLTOOL_PERL,;t t |
---|
5848 | s,@GCONFTOOL@,$GCONFTOOL,;t t |
---|
5849 | s,@GCONF_SCHEMA_CONFIG_SOURCE@,$GCONF_SCHEMA_CONFIG_SOURCE,;t t |
---|
5850 | s,@GCONF_SCHEMA_FILE_DIR@,$GCONF_SCHEMA_FILE_DIR,;t t |
---|
5851 | s,@GCONF_SCHEMAS_INSTALL_TRUE@,$GCONF_SCHEMAS_INSTALL_TRUE,;t t |
---|
5852 | s,@GCONF_SCHEMAS_INSTALL_FALSE@,$GCONF_SCHEMAS_INSTALL_FALSE,;t t |
---|
5853 | s,@SCROLLKEEPER_REQUIRED@,$SCROLLKEEPER_REQUIRED,;t t |
---|
5854 | s,@SCROLLKEEPER_CONFIG@,$SCROLLKEEPER_CONFIG,;t t |
---|
5855 | s,@CC@,$CC,;t t |
---|
5856 | s,@CFLAGS@,$CFLAGS,;t t |
---|
5857 | s,@LDFLAGS@,$LDFLAGS,;t t |
---|
5858 | s,@CPPFLAGS@,$CPPFLAGS,;t t |
---|
5859 | s,@ac_ct_CC@,$ac_ct_CC,;t t |
---|
5860 | s,@EXEEXT@,$EXEEXT,;t t |
---|
5861 | s,@OBJEXT@,$OBJEXT,;t t |
---|
5862 | s,@CPP@,$CPP,;t t |
---|
5863 | s,@EGREP@,$EGREP,;t t |
---|
5864 | s,@PKG_CONFIG@,$PKG_CONFIG,;t t |
---|
5865 | s,@BUG_BUDDY_CFLAGS@,$BUG_BUDDY_CFLAGS,;t t |
---|
5866 | s,@BUG_BUDDY_LIBS@,$BUG_BUDDY_LIBS,;t t |
---|
5867 | s,@GNOME_CRASH_CFLAGS@,$GNOME_CRASH_CFLAGS,;t t |
---|
5868 | s,@GNOME_CRASH_LIBS@,$GNOME_CRASH_LIBS,;t t |
---|
5869 | s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t |
---|
5870 | s,@USE_NLS@,$USE_NLS,;t t |
---|
5871 | s,@MSGFMT@,$MSGFMT,;t t |
---|
5872 | s,@GMSGFMT@,$GMSGFMT,;t t |
---|
5873 | s,@XGETTEXT@,$XGETTEXT,;t t |
---|
5874 | s,@CATALOGS@,$CATALOGS,;t t |
---|
5875 | s,@CATOBJEXT@,$CATOBJEXT,;t t |
---|
5876 | s,@DATADIRNAME@,$DATADIRNAME,;t t |
---|
5877 | s,@GMOFILES@,$GMOFILES,;t t |
---|
5878 | s,@INSTOBJEXT@,$INSTOBJEXT,;t t |
---|
5879 | s,@INTLLIBS@,$INTLLIBS,;t t |
---|
5880 | s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t |
---|
5881 | s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t |
---|
5882 | s,@POFILES@,$POFILES,;t t |
---|
5883 | s,@POSUB@,$POSUB,;t t |
---|
5884 | s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t |
---|
5885 | s,@GLIB_GENMARSHAL@,$GLIB_GENMARSHAL,;t t |
---|
5886 | s,@ENABLE_DEPRECATIONS_TRUE@,$ENABLE_DEPRECATIONS_TRUE,;t t |
---|
5887 | s,@ENABLE_DEPRECATIONS_FALSE@,$ENABLE_DEPRECATIONS_FALSE,;t t |
---|
5888 | s,@LIBOBJS@,$LIBOBJS,;t t |
---|
5889 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
---|
5890 | CEOF |
---|
5891 | |
---|
5892 | _ACEOF |
---|
5893 | |
---|
5894 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5895 | # Split the substitutions into bite-sized pieces for seds with |
---|
5896 | # small command number limits, like on Digital OSF/1 and HP-UX. |
---|
5897 | ac_max_sed_lines=48 |
---|
5898 | ac_sed_frag=1 # Number of current file. |
---|
5899 | ac_beg=1 # First line for current file. |
---|
5900 | ac_end=$ac_max_sed_lines # Line after last line for current file. |
---|
5901 | ac_more_lines=: |
---|
5902 | ac_sed_cmds= |
---|
5903 | while $ac_more_lines; do |
---|
5904 | if test $ac_beg -gt 1; then |
---|
5905 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
---|
5906 | else |
---|
5907 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
---|
5908 | fi |
---|
5909 | if test ! -s $tmp/subs.frag; then |
---|
5910 | ac_more_lines=false |
---|
5911 | else |
---|
5912 | # The purpose of the label and of the branching condition is to |
---|
5913 | # speed up the sed processing (if there are no `@' at all, there |
---|
5914 | # is no need to browse any of the substitutions). |
---|
5915 | # These are the two extra sed commands mentioned above. |
---|
5916 | (echo ':t |
---|
5917 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
---|
5918 | if test -z "$ac_sed_cmds"; then |
---|
5919 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
---|
5920 | else |
---|
5921 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
---|
5922 | fi |
---|
5923 | ac_sed_frag=`expr $ac_sed_frag + 1` |
---|
5924 | ac_beg=$ac_end |
---|
5925 | ac_end=`expr $ac_end + $ac_max_sed_lines` |
---|
5926 | fi |
---|
5927 | done |
---|
5928 | if test -z "$ac_sed_cmds"; then |
---|
5929 | ac_sed_cmds=cat |
---|
5930 | fi |
---|
5931 | fi # test -n "$CONFIG_FILES" |
---|
5932 | |
---|
5933 | _ACEOF |
---|
5934 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5935 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
---|
5936 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
---|
5937 | case $ac_file in |
---|
5938 | - | *:- | *:-:* ) # input from stdin |
---|
5939 | cat >$tmp/stdin |
---|
5940 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
5941 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
5942 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
5943 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
5944 | * ) ac_file_in=$ac_file.in ;; |
---|
5945 | esac |
---|
5946 | |
---|
5947 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
---|
5948 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
---|
5949 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5950 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
5951 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
5952 | X"$ac_file" : 'X\(/\)' \| \ |
---|
5953 | . : '\(.\)' 2>/dev/null || |
---|
5954 | echo X"$ac_file" | |
---|
5955 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
5956 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
5957 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
5958 | /^X\(\/\).*/{ s//\1/; q; } |
---|
5959 | s/.*/./; q'` |
---|
5960 | { if $as_mkdir_p; then |
---|
5961 | mkdir -p "$ac_dir" |
---|
5962 | else |
---|
5963 | as_dir="$ac_dir" |
---|
5964 | as_dirs= |
---|
5965 | while test ! -d "$as_dir"; do |
---|
5966 | as_dirs="$as_dir $as_dirs" |
---|
5967 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
5968 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5969 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
5970 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
5971 | X"$as_dir" : 'X\(/\)' \| \ |
---|
5972 | . : '\(.\)' 2>/dev/null || |
---|
5973 | echo X"$as_dir" | |
---|
5974 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
5975 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
5976 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
5977 | /^X\(\/\).*/{ s//\1/; q; } |
---|
5978 | s/.*/./; q'` |
---|
5979 | done |
---|
5980 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
5981 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
---|
5982 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
---|
5983 | { (exit 1); exit 1; }; }; } |
---|
5984 | |
---|
5985 | ac_builddir=. |
---|
5986 | |
---|
5987 | if test "$ac_dir" != .; then |
---|
5988 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
5989 | # A "../" for each directory in $ac_dir_suffix. |
---|
5990 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
5991 | else |
---|
5992 | ac_dir_suffix= ac_top_builddir= |
---|
5993 | fi |
---|
5994 | |
---|
5995 | case $srcdir in |
---|
5996 | .) # No --srcdir option. We are building in place. |
---|
5997 | ac_srcdir=. |
---|
5998 | if test -z "$ac_top_builddir"; then |
---|
5999 | ac_top_srcdir=. |
---|
6000 | else |
---|
6001 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
6002 | fi ;; |
---|
6003 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
6004 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
6005 | ac_top_srcdir=$srcdir ;; |
---|
6006 | *) # Relative path. |
---|
6007 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
6008 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
6009 | esac |
---|
6010 | |
---|
6011 | # Do not use `cd foo && pwd` to compute absolute paths, because |
---|
6012 | # the directories may not exist. |
---|
6013 | case `pwd` in |
---|
6014 | .) ac_abs_builddir="$ac_dir";; |
---|
6015 | *) |
---|
6016 | case "$ac_dir" in |
---|
6017 | .) ac_abs_builddir=`pwd`;; |
---|
6018 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
---|
6019 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
---|
6020 | esac;; |
---|
6021 | esac |
---|
6022 | case $ac_abs_builddir in |
---|
6023 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
6024 | *) |
---|
6025 | case ${ac_top_builddir}. in |
---|
6026 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
---|
6027 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
6028 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
---|
6029 | esac;; |
---|
6030 | esac |
---|
6031 | case $ac_abs_builddir in |
---|
6032 | .) ac_abs_srcdir=$ac_srcdir;; |
---|
6033 | *) |
---|
6034 | case $ac_srcdir in |
---|
6035 | .) ac_abs_srcdir=$ac_abs_builddir;; |
---|
6036 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
---|
6037 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
---|
6038 | esac;; |
---|
6039 | esac |
---|
6040 | case $ac_abs_builddir in |
---|
6041 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
6042 | *) |
---|
6043 | case $ac_top_srcdir in |
---|
6044 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
---|
6045 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
6046 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
---|
6047 | esac;; |
---|
6048 | esac |
---|
6049 | |
---|
6050 | |
---|
6051 | case $INSTALL in |
---|
6052 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
---|
6053 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
---|
6054 | esac |
---|
6055 | |
---|
6056 | if test x"$ac_file" != x-; then |
---|
6057 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
---|
6058 | echo "$as_me: creating $ac_file" >&6;} |
---|
6059 | rm -f "$ac_file" |
---|
6060 | fi |
---|
6061 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
6062 | # use $as_me), people would be surprised to read: |
---|
6063 | # /* config.h. Generated by config.status. */ |
---|
6064 | if test x"$ac_file" = x-; then |
---|
6065 | configure_input= |
---|
6066 | else |
---|
6067 | configure_input="$ac_file. " |
---|
6068 | fi |
---|
6069 | configure_input=$configure_input"Generated from `echo $ac_file_in | |
---|
6070 | sed 's,.*/,,'` by configure." |
---|
6071 | |
---|
6072 | # First look for the input files in the build tree, otherwise in the |
---|
6073 | # src tree. |
---|
6074 | ac_file_inputs=`IFS=: |
---|
6075 | for f in $ac_file_in; do |
---|
6076 | case $f in |
---|
6077 | -) echo $tmp/stdin ;; |
---|
6078 | [\\/$]*) |
---|
6079 | # Absolute (can't be DOS-style, as IFS=:) |
---|
6080 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
6081 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
6082 | { (exit 1); exit 1; }; } |
---|
6083 | echo "$f";; |
---|
6084 | *) # Relative |
---|
6085 | if test -f "$f"; then |
---|
6086 | # Build tree |
---|
6087 | echo "$f" |
---|
6088 | elif test -f "$srcdir/$f"; then |
---|
6089 | # Source tree |
---|
6090 | echo "$srcdir/$f" |
---|
6091 | else |
---|
6092 | # /dev/null tree |
---|
6093 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
6094 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
6095 | { (exit 1); exit 1; }; } |
---|
6096 | fi;; |
---|
6097 | esac |
---|
6098 | done` || { (exit 1); exit 1; } |
---|
6099 | _ACEOF |
---|
6100 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
6101 | sed "$ac_vpsub |
---|
6102 | $extrasub |
---|
6103 | _ACEOF |
---|
6104 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
6105 | :t |
---|
6106 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
6107 | s,@configure_input@,$configure_input,;t t |
---|
6108 | s,@srcdir@,$ac_srcdir,;t t |
---|
6109 | s,@abs_srcdir@,$ac_abs_srcdir,;t t |
---|
6110 | s,@top_srcdir@,$ac_top_srcdir,;t t |
---|
6111 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
---|
6112 | s,@builddir@,$ac_builddir,;t t |
---|
6113 | s,@abs_builddir@,$ac_abs_builddir,;t t |
---|
6114 | s,@top_builddir@,$ac_top_builddir,;t t |
---|
6115 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
---|
6116 | s,@INSTALL@,$ac_INSTALL,;t t |
---|
6117 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
---|
6118 | rm -f $tmp/stdin |
---|
6119 | if test x"$ac_file" != x-; then |
---|
6120 | mv $tmp/out $ac_file |
---|
6121 | else |
---|
6122 | cat $tmp/out |
---|
6123 | rm -f $tmp/out |
---|
6124 | fi |
---|
6125 | |
---|
6126 | done |
---|
6127 | _ACEOF |
---|
6128 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
6129 | |
---|
6130 | # |
---|
6131 | # CONFIG_HEADER section. |
---|
6132 | # |
---|
6133 | |
---|
6134 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
---|
6135 | # NAME is the cpp macro being defined and VALUE is the value it is being given. |
---|
6136 | # |
---|
6137 | # ac_d sets the value in "#define NAME VALUE" lines. |
---|
6138 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
---|
6139 | ac_dB='[ ].*$,\1#\2' |
---|
6140 | ac_dC=' ' |
---|
6141 | ac_dD=',;t' |
---|
6142 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
---|
6143 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
---|
6144 | ac_uB='$,\1#\2define\3' |
---|
6145 | ac_uC=' ' |
---|
6146 | ac_uD=',;t' |
---|
6147 | |
---|
6148 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
---|
6149 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
---|
6150 | case $ac_file in |
---|
6151 | - | *:- | *:-:* ) # input from stdin |
---|
6152 | cat >$tmp/stdin |
---|
6153 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
6154 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
6155 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
6156 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
6157 | * ) ac_file_in=$ac_file.in ;; |
---|
6158 | esac |
---|
6159 | |
---|
6160 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
---|
6161 | echo "$as_me: creating $ac_file" >&6;} |
---|
6162 | |
---|
6163 | # First look for the input files in the build tree, otherwise in the |
---|
6164 | # src tree. |
---|
6165 | ac_file_inputs=`IFS=: |
---|
6166 | for f in $ac_file_in; do |
---|
6167 | case $f in |
---|
6168 | -) echo $tmp/stdin ;; |
---|
6169 | [\\/$]*) |
---|
6170 | # Absolute (can't be DOS-style, as IFS=:) |
---|
6171 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
6172 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
6173 | { (exit 1); exit 1; }; } |
---|
6174 | # Do quote $f, to prevent DOS paths from being IFS'd. |
---|
6175 | echo "$f";; |
---|
6176 | *) # Relative |
---|
6177 | if test -f "$f"; then |
---|
6178 | # Build tree |
---|
6179 | echo "$f" |
---|
6180 | elif test -f "$srcdir/$f"; then |
---|
6181 | # Source tree |
---|
6182 | echo "$srcdir/$f" |
---|
6183 | else |
---|
6184 | # /dev/null tree |
---|
6185 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
6186 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
6187 | { (exit 1); exit 1; }; } |
---|
6188 | fi;; |
---|
6189 | esac |
---|
6190 | done` || { (exit 1); exit 1; } |
---|
6191 | # Remove the trailing spaces. |
---|
6192 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
---|
6193 | |
---|
6194 | _ACEOF |
---|
6195 | |
---|
6196 | # Transform confdefs.h into two sed scripts, `conftest.defines' and |
---|
6197 | # `conftest.undefs', that substitutes the proper values into |
---|
6198 | # config.h.in to produce config.h. The first handles `#define' |
---|
6199 | # templates, and the second `#undef' templates. |
---|
6200 | # And first: Protect against being on the right side of a sed subst in |
---|
6201 | # config.status. Protect against being in an unquoted here document |
---|
6202 | # in config.status. |
---|
6203 | rm -f conftest.defines conftest.undefs |
---|
6204 | # Using a here document instead of a string reduces the quoting nightmare. |
---|
6205 | # Putting comments in sed scripts is not portable. |
---|
6206 | # |
---|
6207 | # `end' is used to avoid that the second main sed command (meant for |
---|
6208 | # 0-ary CPP macros) applies to n-ary macro definitions. |
---|
6209 | # See the Autoconf documentation for `clear'. |
---|
6210 | cat >confdef2sed.sed <<\_ACEOF |
---|
6211 | s/[\\&,]/\\&/g |
---|
6212 | s,[\\$`],\\&,g |
---|
6213 | t clear |
---|
6214 | : clear |
---|
6215 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
---|
6216 | t end |
---|
6217 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
---|
6218 | : end |
---|
6219 | _ACEOF |
---|
6220 | # If some macros were called several times there might be several times |
---|
6221 | # the same #defines, which is useless. Nevertheless, we may not want to |
---|
6222 | # sort them, since we want the *last* AC-DEFINE to be honored. |
---|
6223 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines |
---|
6224 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs |
---|
6225 | rm -f confdef2sed.sed |
---|
6226 | |
---|
6227 | # This sed command replaces #undef with comments. This is necessary, for |
---|
6228 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
---|
6229 | # on some systems where configure will not decide to define it. |
---|
6230 | cat >>conftest.undefs <<\_ACEOF |
---|
6231 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
---|
6232 | _ACEOF |
---|
6233 | |
---|
6234 | # Break up conftest.defines because some shells have a limit on the size |
---|
6235 | # of here documents, and old seds have small limits too (100 cmds). |
---|
6236 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
---|
6237 | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
---|
6238 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
---|
6239 | echo ' :' >>$CONFIG_STATUS |
---|
6240 | rm -f conftest.tail |
---|
6241 | while grep . conftest.defines >/dev/null |
---|
6242 | do |
---|
6243 | # Write a limited-size here document to $tmp/defines.sed. |
---|
6244 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
---|
6245 | # Speed up: don't consider the non `#define' lines. |
---|
6246 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
---|
6247 | # Work around the forget-to-reset-the-flag bug. |
---|
6248 | echo 't clr' >>$CONFIG_STATUS |
---|
6249 | echo ': clr' >>$CONFIG_STATUS |
---|
6250 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
---|
6251 | echo 'CEOF |
---|
6252 | sed -f $tmp/defines.sed $tmp/in >$tmp/out |
---|
6253 | rm -f $tmp/in |
---|
6254 | mv $tmp/out $tmp/in |
---|
6255 | ' >>$CONFIG_STATUS |
---|
6256 | sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail |
---|
6257 | rm -f conftest.defines |
---|
6258 | mv conftest.tail conftest.defines |
---|
6259 | done |
---|
6260 | rm -f conftest.defines |
---|
6261 | echo ' fi # grep' >>$CONFIG_STATUS |
---|
6262 | echo >>$CONFIG_STATUS |
---|
6263 | |
---|
6264 | # Break up conftest.undefs because some shells have a limit on the size |
---|
6265 | # of here documents, and old seds have small limits too (100 cmds). |
---|
6266 | echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
---|
6267 | rm -f conftest.tail |
---|
6268 | while grep . conftest.undefs >/dev/null |
---|
6269 | do |
---|
6270 | # Write a limited-size here document to $tmp/undefs.sed. |
---|
6271 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
---|
6272 | # Speed up: don't consider the non `#undef' |
---|
6273 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
---|
6274 | # Work around the forget-to-reset-the-flag bug. |
---|
6275 | echo 't clr' >>$CONFIG_STATUS |
---|
6276 | echo ': clr' >>$CONFIG_STATUS |
---|
6277 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
---|
6278 | echo 'CEOF |
---|
6279 | sed -f $tmp/undefs.sed $tmp/in >$tmp/out |
---|
6280 | rm -f $tmp/in |
---|
6281 | mv $tmp/out $tmp/in |
---|
6282 | ' >>$CONFIG_STATUS |
---|
6283 | sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail |
---|
6284 | rm -f conftest.undefs |
---|
6285 | mv conftest.tail conftest.undefs |
---|
6286 | done |
---|
6287 | rm -f conftest.undefs |
---|
6288 | |
---|
6289 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
6290 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
6291 | # use $as_me), people would be surprised to read: |
---|
6292 | # /* config.h. Generated by config.status. */ |
---|
6293 | if test x"$ac_file" = x-; then |
---|
6294 | echo "/* Generated by configure. */" >$tmp/config.h |
---|
6295 | else |
---|
6296 | echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
---|
6297 | fi |
---|
6298 | cat $tmp/in >>$tmp/config.h |
---|
6299 | rm -f $tmp/in |
---|
6300 | if test x"$ac_file" != x-; then |
---|
6301 | if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
---|
6302 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
---|
6303 | echo "$as_me: $ac_file is unchanged" >&6;} |
---|
6304 | else |
---|
6305 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
---|
6306 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
6307 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
6308 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
6309 | X"$ac_file" : 'X\(/\)' \| \ |
---|
6310 | . : '\(.\)' 2>/dev/null || |
---|
6311 | echo X"$ac_file" | |
---|
6312 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
6313 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
6314 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
6315 | /^X\(\/\).*/{ s//\1/; q; } |
---|
6316 | s/.*/./; q'` |
---|
6317 | { if $as_mkdir_p; then |
---|
6318 | mkdir -p "$ac_dir" |
---|
6319 | else |
---|
6320 | as_dir="$ac_dir" |
---|
6321 | as_dirs= |
---|
6322 | while test ! -d "$as_dir"; do |
---|
6323 | as_dirs="$as_dir $as_dirs" |
---|
6324 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
6325 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
6326 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
6327 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
6328 | X"$as_dir" : 'X\(/\)' \| \ |
---|
6329 | . : '\(.\)' 2>/dev/null || |
---|
6330 | echo X"$as_dir" | |
---|
6331 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
6332 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
6333 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
6334 | /^X\(\/\).*/{ s//\1/; q; } |
---|
6335 | s/.*/./; q'` |
---|
6336 | done |
---|
6337 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
6338 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
---|
6339 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
---|
6340 | { (exit 1); exit 1; }; }; } |
---|
6341 | |
---|
6342 | rm -f $ac_file |
---|
6343 | mv $tmp/config.h $ac_file |
---|
6344 | fi |
---|
6345 | else |
---|
6346 | cat $tmp/config.h |
---|
6347 | rm -f $tmp/config.h |
---|
6348 | fi |
---|
6349 | done |
---|
6350 | _ACEOF |
---|
6351 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
6352 | |
---|
6353 | # |
---|
6354 | # CONFIG_COMMANDS section. |
---|
6355 | # |
---|
6356 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
---|
6357 | ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
---|
6358 | ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
6359 | ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
---|
6360 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
6361 | X"$ac_dest" : 'X\(//\)[^/]' \| \ |
---|
6362 | X"$ac_dest" : 'X\(//\)$' \| \ |
---|
6363 | X"$ac_dest" : 'X\(/\)' \| \ |
---|
6364 | . : '\(.\)' 2>/dev/null || |
---|
6365 | echo X"$ac_dest" | |
---|
6366 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
6367 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
6368 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
6369 | /^X\(\/\).*/{ s//\1/; q; } |
---|
6370 | s/.*/./; q'` |
---|
6371 | { if $as_mkdir_p; then |
---|
6372 | mkdir -p "$ac_dir" |
---|
6373 | else |
---|
6374 | as_dir="$ac_dir" |
---|
6375 | as_dirs= |
---|
6376 | while test ! -d "$as_dir"; do |
---|
6377 | as_dirs="$as_dir $as_dirs" |
---|
6378 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
6379 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
6380 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
6381 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
6382 | X"$as_dir" : 'X\(/\)' \| \ |
---|
6383 | . : '\(.\)' 2>/dev/null || |
---|
6384 | echo X"$as_dir" | |
---|
6385 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
6386 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
6387 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
6388 | /^X\(\/\).*/{ s//\1/; q; } |
---|
6389 | s/.*/./; q'` |
---|
6390 | done |
---|
6391 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
6392 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
---|
6393 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
---|
6394 | { (exit 1); exit 1; }; }; } |
---|
6395 | |
---|
6396 | ac_builddir=. |
---|
6397 | |
---|
6398 | if test "$ac_dir" != .; then |
---|
6399 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
6400 | # A "../" for each directory in $ac_dir_suffix. |
---|
6401 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
6402 | else |
---|
6403 | ac_dir_suffix= ac_top_builddir= |
---|
6404 | fi |
---|
6405 | |
---|
6406 | case $srcdir in |
---|
6407 | .) # No --srcdir option. We are building in place. |
---|
6408 | ac_srcdir=. |
---|
6409 | if test -z "$ac_top_builddir"; then |
---|
6410 | ac_top_srcdir=. |
---|
6411 | else |
---|
6412 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
6413 | fi ;; |
---|
6414 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
6415 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
6416 | ac_top_srcdir=$srcdir ;; |
---|
6417 | *) # Relative path. |
---|
6418 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
6419 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
6420 | esac |
---|
6421 | |
---|
6422 | # Do not use `cd foo && pwd` to compute absolute paths, because |
---|
6423 | # the directories may not exist. |
---|
6424 | case `pwd` in |
---|
6425 | .) ac_abs_builddir="$ac_dir";; |
---|
6426 | *) |
---|
6427 | case "$ac_dir" in |
---|
6428 | .) ac_abs_builddir=`pwd`;; |
---|
6429 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
---|
6430 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
---|
6431 | esac;; |
---|
6432 | esac |
---|
6433 | case $ac_abs_builddir in |
---|
6434 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
6435 | *) |
---|
6436 | case ${ac_top_builddir}. in |
---|
6437 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
---|
6438 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
6439 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
---|
6440 | esac;; |
---|
6441 | esac |
---|
6442 | case $ac_abs_builddir in |
---|
6443 | .) ac_abs_srcdir=$ac_srcdir;; |
---|
6444 | *) |
---|
6445 | case $ac_srcdir in |
---|
6446 | .) ac_abs_srcdir=$ac_abs_builddir;; |
---|
6447 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
---|
6448 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
---|
6449 | esac;; |
---|
6450 | esac |
---|
6451 | case $ac_abs_builddir in |
---|
6452 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
6453 | *) |
---|
6454 | case $ac_top_srcdir in |
---|
6455 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
---|
6456 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
6457 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
---|
6458 | esac;; |
---|
6459 | esac |
---|
6460 | |
---|
6461 | |
---|
6462 | { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
---|
6463 | echo "$as_me: executing $ac_dest commands" >&6;} |
---|
6464 | case $ac_dest in |
---|
6465 | default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;; |
---|
6466 | default-2 ) |
---|
6467 | |
---|
6468 | sed -e "s:@INTLTOOL_PERL@:${INTLTOOL_PERL}:;" < ${ac_aux_dir}/intltool-extract.in > intltool-extract.out |
---|
6469 | if cmp -s intltool-extract intltool-extract.out 2>/dev/null; then |
---|
6470 | rm -f intltool-extract.out |
---|
6471 | else |
---|
6472 | mv -f intltool-extract.out intltool-extract |
---|
6473 | fi |
---|
6474 | chmod ugo+x intltool-extract |
---|
6475 | chmod u+w intltool-extract |
---|
6476 | |
---|
6477 | sed -e "s:@INTLTOOL_PERL@:${INTLTOOL_PERL}:;" \ |
---|
6478 | < ${ac_aux_dir}/intltool-merge.in > intltool-merge.out |
---|
6479 | if cmp -s intltool-merge intltool-merge.out 2>/dev/null; then |
---|
6480 | rm -f intltool-merge.out |
---|
6481 | else |
---|
6482 | mv -f intltool-merge.out intltool-merge |
---|
6483 | fi |
---|
6484 | chmod ugo+x intltool-merge |
---|
6485 | chmod u+w intltool-merge |
---|
6486 | |
---|
6487 | sed -e "s:@INTLTOOL_PERL@:${INTLTOOL_PERL}:;" < ${ac_aux_dir}/intltool-update.in > intltool-update.out |
---|
6488 | if cmp -s intltool-update intltool-update.out 2>/dev/null; then |
---|
6489 | rm -f intltool-update.out |
---|
6490 | else |
---|
6491 | mv -f intltool-update.out intltool-update |
---|
6492 | fi |
---|
6493 | chmod ugo+x intltool-update |
---|
6494 | chmod u+w intltool-update |
---|
6495 | |
---|
6496 | ;; |
---|
6497 | default-3 ) case "$CONFIG_FILES" in *po/Makefile.in*) |
---|
6498 | sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile |
---|
6499 | esac ;; |
---|
6500 | esac |
---|
6501 | done |
---|
6502 | _ACEOF |
---|
6503 | |
---|
6504 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
6505 | |
---|
6506 | { (exit 0); exit 0; } |
---|
6507 | _ACEOF |
---|
6508 | chmod +x $CONFIG_STATUS |
---|
6509 | ac_clean_files=$ac_clean_files_save |
---|
6510 | |
---|
6511 | |
---|
6512 | # configure is writing to config.log, and then calls config.status. |
---|
6513 | # config.status does its own redirection, appending to config.log. |
---|
6514 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
6515 | # by configure, so config.status won't be able to write to it; its |
---|
6516 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
6517 | # effectively closing config.log, so it can be properly (re)opened and |
---|
6518 | # appended to by config.status. When coming back to configure, we |
---|
6519 | # need to make the FD available again. |
---|
6520 | if test "$no_create" != yes; then |
---|
6521 | ac_cs_success=: |
---|
6522 | ac_config_status_args= |
---|
6523 | test "$silent" = yes && |
---|
6524 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
6525 | exec 5>/dev/null |
---|
6526 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
6527 | exec 5>>config.log |
---|
6528 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
6529 | # would make configure fail if this is the last instruction. |
---|
6530 | $ac_cs_success || { (exit 1); exit 1; } |
---|
6531 | fi |
---|
6532 | |
---|
6533 | |
---|
6534 | |
---|
6535 | echo " |
---|
6536 | |
---|
6537 | Configuration: |
---|
6538 | |
---|
6539 | CFLAGS: ${BUG_BUDDY_CFLAGS} |
---|
6540 | |
---|
6541 | LIBS: ${BUG_BUDDY_LIBS} |
---|
6542 | |
---|
6543 | " |
---|