1 | #! /bin/sh |
---|
2 | # Guess values for system-dependent variables and create Makefiles. |
---|
3 | # Generated by GNU Autoconf 2.59 for gnome-mime-data 2.4.2. |
---|
4 | # |
---|
5 | # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-mime-data>. |
---|
6 | # |
---|
7 | # Copyright (C) 2003 Free Software Foundation, Inc. |
---|
8 | # This configure script is free software; the Free Software Foundation |
---|
9 | # gives unlimited permission to copy, distribute and modify it. |
---|
10 | ## --------------------- ## |
---|
11 | ## M4sh Initialization. ## |
---|
12 | ## --------------------- ## |
---|
13 | |
---|
14 | # Be Bourne compatible |
---|
15 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
16 | emulate sh |
---|
17 | NULLCMD=: |
---|
18 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
19 | # is contrary to our usage. Disable this feature. |
---|
20 | alias -g '${1+"$@"}'='"$@"' |
---|
21 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
---|
22 | set -o posix |
---|
23 | fi |
---|
24 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
25 | |
---|
26 | # Support unset when possible. |
---|
27 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
28 | as_unset=unset |
---|
29 | else |
---|
30 | as_unset=false |
---|
31 | fi |
---|
32 | |
---|
33 | |
---|
34 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
35 | $as_unset ENV MAIL MAILPATH |
---|
36 | PS1='$ ' |
---|
37 | PS2='> ' |
---|
38 | PS4='+ ' |
---|
39 | |
---|
40 | # NLS nuisances. |
---|
41 | for as_var in \ |
---|
42 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
43 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
44 | LC_TELEPHONE LC_TIME |
---|
45 | do |
---|
46 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
47 | eval $as_var=C; export $as_var |
---|
48 | else |
---|
49 | $as_unset $as_var |
---|
50 | fi |
---|
51 | done |
---|
52 | |
---|
53 | # Required to use basename. |
---|
54 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
55 | as_expr=expr |
---|
56 | else |
---|
57 | as_expr=false |
---|
58 | fi |
---|
59 | |
---|
60 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
---|
61 | as_basename=basename |
---|
62 | else |
---|
63 | as_basename=false |
---|
64 | fi |
---|
65 | |
---|
66 | |
---|
67 | # Name of the executable. |
---|
68 | as_me=`$as_basename "$0" || |
---|
69 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
70 | X"$0" : 'X\(//\)$' \| \ |
---|
71 | X"$0" : 'X\(/\)$' \| \ |
---|
72 | . : '\(.\)' 2>/dev/null || |
---|
73 | echo X/"$0" | |
---|
74 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
---|
75 | /^X\/\(\/\/\)$/{ s//\1/; q; } |
---|
76 | /^X\/\(\/\).*/{ s//\1/; q; } |
---|
77 | s/.*/./; q'` |
---|
78 | |
---|
79 | |
---|
80 | # PATH needs CR, and LINENO needs CR and PATH. |
---|
81 | # Avoid depending upon Character Ranges. |
---|
82 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
83 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
84 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
85 | as_cr_digits='0123456789' |
---|
86 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
87 | |
---|
88 | # The user is always right. |
---|
89 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
90 | echo "#! /bin/sh" >conf$$.sh |
---|
91 | echo "exit 0" >>conf$$.sh |
---|
92 | chmod +x conf$$.sh |
---|
93 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
94 | PATH_SEPARATOR=';' |
---|
95 | else |
---|
96 | PATH_SEPARATOR=: |
---|
97 | fi |
---|
98 | rm -f conf$$.sh |
---|
99 | fi |
---|
100 | |
---|
101 | |
---|
102 | as_lineno_1=$LINENO |
---|
103 | as_lineno_2=$LINENO |
---|
104 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
105 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
106 | test "x$as_lineno_3" = "x$as_lineno_2" || { |
---|
107 | # Find who we are. Look in the path if we contain no path at all |
---|
108 | # relative or not. |
---|
109 | case $0 in |
---|
110 | *[\\/]* ) as_myself=$0 ;; |
---|
111 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
112 | for as_dir in $PATH |
---|
113 | do |
---|
114 | IFS=$as_save_IFS |
---|
115 | test -z "$as_dir" && as_dir=. |
---|
116 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
117 | done |
---|
118 | |
---|
119 | ;; |
---|
120 | esac |
---|
121 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
122 | # in which case we are not to be found in the path. |
---|
123 | if test "x$as_myself" = x; then |
---|
124 | as_myself=$0 |
---|
125 | fi |
---|
126 | if test ! -f "$as_myself"; then |
---|
127 | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
---|
128 | { (exit 1); exit 1; }; } |
---|
129 | fi |
---|
130 | case $CONFIG_SHELL in |
---|
131 | '') |
---|
132 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
133 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
134 | do |
---|
135 | IFS=$as_save_IFS |
---|
136 | test -z "$as_dir" && as_dir=. |
---|
137 | for as_base in sh bash ksh sh5; do |
---|
138 | case $as_dir in |
---|
139 | /*) |
---|
140 | if ("$as_dir/$as_base" -c ' |
---|
141 | as_lineno_1=$LINENO |
---|
142 | as_lineno_2=$LINENO |
---|
143 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
144 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
145 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
---|
146 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
---|
147 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
---|
148 | CONFIG_SHELL=$as_dir/$as_base |
---|
149 | export CONFIG_SHELL |
---|
150 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
---|
151 | fi;; |
---|
152 | esac |
---|
153 | done |
---|
154 | done |
---|
155 | ;; |
---|
156 | esac |
---|
157 | |
---|
158 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
159 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
160 | # line-number line before each line; the second 'sed' does the real |
---|
161 | # work. The second script uses 'N' to pair each line-number line |
---|
162 | # with the numbered line, and appends trailing '-' during |
---|
163 | # substitution so that $LINENO is not a special case at line end. |
---|
164 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
165 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
---|
166 | sed '=' <$as_myself | |
---|
167 | sed ' |
---|
168 | N |
---|
169 | s,$,-, |
---|
170 | : loop |
---|
171 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
---|
172 | t loop |
---|
173 | s,-$,, |
---|
174 | s,^['$as_cr_digits']*\n,, |
---|
175 | ' >$as_me.lineno && |
---|
176 | chmod +x $as_me.lineno || |
---|
177 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
---|
178 | { (exit 1); exit 1; }; } |
---|
179 | |
---|
180 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
181 | # (the dirname of $[0] is not the place where we might find the |
---|
182 | # original and so on. Autoconf is especially sensible to this). |
---|
183 | . ./$as_me.lineno |
---|
184 | # Exit status is that of the last command. |
---|
185 | exit |
---|
186 | } |
---|
187 | |
---|
188 | |
---|
189 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
---|
190 | *c*,-n*) ECHO_N= ECHO_C=' |
---|
191 | ' ECHO_T=' ' ;; |
---|
192 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
---|
193 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
---|
194 | esac |
---|
195 | |
---|
196 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
197 | as_expr=expr |
---|
198 | else |
---|
199 | as_expr=false |
---|
200 | fi |
---|
201 | |
---|
202 | rm -f conf$$ conf$$.exe conf$$.file |
---|
203 | echo >conf$$.file |
---|
204 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
205 | # We could just check for DJGPP; but this test a) works b) is more generic |
---|
206 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
---|
207 | if test -f conf$$.exe; then |
---|
208 | # Don't use ln at all; we don't have any links |
---|
209 | as_ln_s='cp -p' |
---|
210 | else |
---|
211 | as_ln_s='ln -s' |
---|
212 | fi |
---|
213 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
214 | as_ln_s=ln |
---|
215 | else |
---|
216 | as_ln_s='cp -p' |
---|
217 | fi |
---|
218 | rm -f conf$$ conf$$.exe conf$$.file |
---|
219 | |
---|
220 | if mkdir -p . 2>/dev/null; then |
---|
221 | as_mkdir_p=: |
---|
222 | else |
---|
223 | test -d ./-p && rmdir ./-p |
---|
224 | as_mkdir_p=false |
---|
225 | fi |
---|
226 | |
---|
227 | as_executable_p="test -f" |
---|
228 | |
---|
229 | # Sed expression to map a string onto a valid CPP name. |
---|
230 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
231 | |
---|
232 | # Sed expression to map a string onto a valid variable name. |
---|
233 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
234 | |
---|
235 | |
---|
236 | # IFS |
---|
237 | # We need space, tab and new line, in precisely that order. |
---|
238 | as_nl=' |
---|
239 | ' |
---|
240 | IFS=" $as_nl" |
---|
241 | |
---|
242 | # CDPATH. |
---|
243 | $as_unset CDPATH |
---|
244 | |
---|
245 | |
---|
246 | # Name of the host. |
---|
247 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
---|
248 | # so uname gets run too. |
---|
249 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
250 | |
---|
251 | exec 6>&1 |
---|
252 | |
---|
253 | # |
---|
254 | # Initializations. |
---|
255 | # |
---|
256 | ac_default_prefix=/usr/local |
---|
257 | ac_config_libobj_dir=. |
---|
258 | cross_compiling=no |
---|
259 | subdirs= |
---|
260 | MFLAGS= |
---|
261 | MAKEFLAGS= |
---|
262 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
263 | |
---|
264 | # Maximum number of lines to put in a shell here document. |
---|
265 | # This variable seems obsolete. It should probably be removed, and |
---|
266 | # only ac_max_sed_lines should be used. |
---|
267 | : ${ac_max_here_lines=38} |
---|
268 | |
---|
269 | # Identity of this package. |
---|
270 | PACKAGE_NAME='gnome-mime-data' |
---|
271 | PACKAGE_TARNAME='gnome-mime-data' |
---|
272 | PACKAGE_VERSION='2.4.2' |
---|
273 | PACKAGE_STRING='gnome-mime-data 2.4.2' |
---|
274 | PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-mime-data' |
---|
275 | |
---|
276 | ac_unique_file="check-mime.pl" |
---|
277 | # Factoring default headers for most tests. |
---|
278 | ac_includes_default="\ |
---|
279 | #include <stdio.h> |
---|
280 | #if HAVE_SYS_TYPES_H |
---|
281 | # include <sys/types.h> |
---|
282 | #endif |
---|
283 | #if HAVE_SYS_STAT_H |
---|
284 | # include <sys/stat.h> |
---|
285 | #endif |
---|
286 | #if STDC_HEADERS |
---|
287 | # include <stdlib.h> |
---|
288 | # include <stddef.h> |
---|
289 | #else |
---|
290 | # if HAVE_STDLIB_H |
---|
291 | # include <stdlib.h> |
---|
292 | # endif |
---|
293 | #endif |
---|
294 | #if HAVE_STRING_H |
---|
295 | # if !STDC_HEADERS && HAVE_MEMORY_H |
---|
296 | # include <memory.h> |
---|
297 | # endif |
---|
298 | # include <string.h> |
---|
299 | #endif |
---|
300 | #if HAVE_STRINGS_H |
---|
301 | # include <strings.h> |
---|
302 | #endif |
---|
303 | #if HAVE_INTTYPES_H |
---|
304 | # include <inttypes.h> |
---|
305 | #else |
---|
306 | # if HAVE_STDINT_H |
---|
307 | # include <stdint.h> |
---|
308 | # endif |
---|
309 | #endif |
---|
310 | #if HAVE_UNISTD_H |
---|
311 | # include <unistd.h> |
---|
312 | #endif" |
---|
313 | |
---|
314 | 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 CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT ACLOCAL_AMFLAGS 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 GETTEXT_PACKAGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS LIBOBJS LTLIBOBJS' |
---|
315 | ac_subst_files='' |
---|
316 | |
---|
317 | # Initialize some variables set by options. |
---|
318 | ac_init_help= |
---|
319 | ac_init_version=false |
---|
320 | # The variables have the same names as the options, with |
---|
321 | # dashes changed to underlines. |
---|
322 | cache_file=/dev/null |
---|
323 | exec_prefix=NONE |
---|
324 | no_create= |
---|
325 | no_recursion= |
---|
326 | prefix=NONE |
---|
327 | program_prefix=NONE |
---|
328 | program_suffix=NONE |
---|
329 | program_transform_name=s,x,x, |
---|
330 | silent= |
---|
331 | site= |
---|
332 | srcdir= |
---|
333 | verbose= |
---|
334 | x_includes=NONE |
---|
335 | x_libraries=NONE |
---|
336 | |
---|
337 | # Installation directory options. |
---|
338 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
339 | # and all the variables that are supposed to be based on exec_prefix |
---|
340 | # by default will actually change. |
---|
341 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
342 | bindir='${exec_prefix}/bin' |
---|
343 | sbindir='${exec_prefix}/sbin' |
---|
344 | libexecdir='${exec_prefix}/libexec' |
---|
345 | datadir='${prefix}/share' |
---|
346 | sysconfdir='${prefix}/etc' |
---|
347 | sharedstatedir='${prefix}/com' |
---|
348 | localstatedir='${prefix}/var' |
---|
349 | libdir='${exec_prefix}/lib' |
---|
350 | includedir='${prefix}/include' |
---|
351 | oldincludedir='/usr/include' |
---|
352 | infodir='${prefix}/info' |
---|
353 | mandir='${prefix}/man' |
---|
354 | |
---|
355 | ac_prev= |
---|
356 | for ac_option |
---|
357 | do |
---|
358 | # If the previous option needs an argument, assign it. |
---|
359 | if test -n "$ac_prev"; then |
---|
360 | eval "$ac_prev=\$ac_option" |
---|
361 | ac_prev= |
---|
362 | continue |
---|
363 | fi |
---|
364 | |
---|
365 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
---|
366 | |
---|
367 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
368 | |
---|
369 | case $ac_option in |
---|
370 | |
---|
371 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
372 | ac_prev=bindir ;; |
---|
373 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
374 | bindir=$ac_optarg ;; |
---|
375 | |
---|
376 | -build | --build | --buil | --bui | --bu) |
---|
377 | ac_prev=build_alias ;; |
---|
378 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
379 | build_alias=$ac_optarg ;; |
---|
380 | |
---|
381 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
382 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
383 | ac_prev=cache_file ;; |
---|
384 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
385 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
386 | cache_file=$ac_optarg ;; |
---|
387 | |
---|
388 | --config-cache | -C) |
---|
389 | cache_file=config.cache ;; |
---|
390 | |
---|
391 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
---|
392 | ac_prev=datadir ;; |
---|
393 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
---|
394 | | --da=*) |
---|
395 | datadir=$ac_optarg ;; |
---|
396 | |
---|
397 | -disable-* | --disable-*) |
---|
398 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
399 | # Reject names that are not valid shell variable names. |
---|
400 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
401 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
402 | { (exit 1); exit 1; }; } |
---|
403 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
---|
404 | eval "enable_$ac_feature=no" ;; |
---|
405 | |
---|
406 | -enable-* | --enable-*) |
---|
407 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
408 | # Reject names that are not valid shell variable names. |
---|
409 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
410 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
411 | { (exit 1); exit 1; }; } |
---|
412 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
---|
413 | case $ac_option in |
---|
414 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
---|
415 | *) ac_optarg=yes ;; |
---|
416 | esac |
---|
417 | eval "enable_$ac_feature='$ac_optarg'" ;; |
---|
418 | |
---|
419 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
420 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
421 | | --exec | --exe | --ex) |
---|
422 | ac_prev=exec_prefix ;; |
---|
423 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
424 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
425 | | --exec=* | --exe=* | --ex=*) |
---|
426 | exec_prefix=$ac_optarg ;; |
---|
427 | |
---|
428 | -gas | --gas | --ga | --g) |
---|
429 | # Obsolete; use --with-gas. |
---|
430 | with_gas=yes ;; |
---|
431 | |
---|
432 | -help | --help | --hel | --he | -h) |
---|
433 | ac_init_help=long ;; |
---|
434 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
435 | ac_init_help=recursive ;; |
---|
436 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
437 | ac_init_help=short ;; |
---|
438 | |
---|
439 | -host | --host | --hos | --ho) |
---|
440 | ac_prev=host_alias ;; |
---|
441 | -host=* | --host=* | --hos=* | --ho=*) |
---|
442 | host_alias=$ac_optarg ;; |
---|
443 | |
---|
444 | -includedir | --includedir | --includedi | --included | --include \ |
---|
445 | | --includ | --inclu | --incl | --inc) |
---|
446 | ac_prev=includedir ;; |
---|
447 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
448 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
449 | includedir=$ac_optarg ;; |
---|
450 | |
---|
451 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
452 | ac_prev=infodir ;; |
---|
453 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
454 | infodir=$ac_optarg ;; |
---|
455 | |
---|
456 | -libdir | --libdir | --libdi | --libd) |
---|
457 | ac_prev=libdir ;; |
---|
458 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
459 | libdir=$ac_optarg ;; |
---|
460 | |
---|
461 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
462 | | --libexe | --libex | --libe) |
---|
463 | ac_prev=libexecdir ;; |
---|
464 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
465 | | --libexe=* | --libex=* | --libe=*) |
---|
466 | libexecdir=$ac_optarg ;; |
---|
467 | |
---|
468 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
469 | | --localstate | --localstat | --localsta | --localst \ |
---|
470 | | --locals | --local | --loca | --loc | --lo) |
---|
471 | ac_prev=localstatedir ;; |
---|
472 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
473 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
---|
474 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
---|
475 | localstatedir=$ac_optarg ;; |
---|
476 | |
---|
477 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
478 | ac_prev=mandir ;; |
---|
479 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
480 | mandir=$ac_optarg ;; |
---|
481 | |
---|
482 | -nfp | --nfp | --nf) |
---|
483 | # Obsolete; use --without-fp. |
---|
484 | with_fp=no ;; |
---|
485 | |
---|
486 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
487 | | --no-cr | --no-c | -n) |
---|
488 | no_create=yes ;; |
---|
489 | |
---|
490 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
491 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
492 | no_recursion=yes ;; |
---|
493 | |
---|
494 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
495 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
496 | | --oldin | --oldi | --old | --ol | --o) |
---|
497 | ac_prev=oldincludedir ;; |
---|
498 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
499 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
500 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
501 | oldincludedir=$ac_optarg ;; |
---|
502 | |
---|
503 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
504 | ac_prev=prefix ;; |
---|
505 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
506 | prefix=$ac_optarg ;; |
---|
507 | |
---|
508 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
509 | | --program-pre | --program-pr | --program-p) |
---|
510 | ac_prev=program_prefix ;; |
---|
511 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
512 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
513 | program_prefix=$ac_optarg ;; |
---|
514 | |
---|
515 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
516 | | --program-suf | --program-su | --program-s) |
---|
517 | ac_prev=program_suffix ;; |
---|
518 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
519 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
520 | program_suffix=$ac_optarg ;; |
---|
521 | |
---|
522 | -program-transform-name | --program-transform-name \ |
---|
523 | | --program-transform-nam | --program-transform-na \ |
---|
524 | | --program-transform-n | --program-transform- \ |
---|
525 | | --program-transform | --program-transfor \ |
---|
526 | | --program-transfo | --program-transf \ |
---|
527 | | --program-trans | --program-tran \ |
---|
528 | | --progr-tra | --program-tr | --program-t) |
---|
529 | ac_prev=program_transform_name ;; |
---|
530 | -program-transform-name=* | --program-transform-name=* \ |
---|
531 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
532 | | --program-transform-n=* | --program-transform-=* \ |
---|
533 | | --program-transform=* | --program-transfor=* \ |
---|
534 | | --program-transfo=* | --program-transf=* \ |
---|
535 | | --program-trans=* | --program-tran=* \ |
---|
536 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
537 | program_transform_name=$ac_optarg ;; |
---|
538 | |
---|
539 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
540 | | -silent | --silent | --silen | --sile | --sil) |
---|
541 | silent=yes ;; |
---|
542 | |
---|
543 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
544 | ac_prev=sbindir ;; |
---|
545 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
546 | | --sbi=* | --sb=*) |
---|
547 | sbindir=$ac_optarg ;; |
---|
548 | |
---|
549 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
550 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
551 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
552 | | --sha | --sh) |
---|
553 | ac_prev=sharedstatedir ;; |
---|
554 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
555 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
556 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
557 | | --sha=* | --sh=*) |
---|
558 | sharedstatedir=$ac_optarg ;; |
---|
559 | |
---|
560 | -site | --site | --sit) |
---|
561 | ac_prev=site ;; |
---|
562 | -site=* | --site=* | --sit=*) |
---|
563 | site=$ac_optarg ;; |
---|
564 | |
---|
565 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
566 | ac_prev=srcdir ;; |
---|
567 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
568 | srcdir=$ac_optarg ;; |
---|
569 | |
---|
570 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
571 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
572 | ac_prev=sysconfdir ;; |
---|
573 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
574 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
575 | sysconfdir=$ac_optarg ;; |
---|
576 | |
---|
577 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
578 | ac_prev=target_alias ;; |
---|
579 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
580 | target_alias=$ac_optarg ;; |
---|
581 | |
---|
582 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
583 | verbose=yes ;; |
---|
584 | |
---|
585 | -version | --version | --versio | --versi | --vers | -V) |
---|
586 | ac_init_version=: ;; |
---|
587 | |
---|
588 | -with-* | --with-*) |
---|
589 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
590 | # Reject names that are not valid shell variable names. |
---|
591 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
592 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
593 | { (exit 1); exit 1; }; } |
---|
594 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
595 | case $ac_option in |
---|
596 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
---|
597 | *) ac_optarg=yes ;; |
---|
598 | esac |
---|
599 | eval "with_$ac_package='$ac_optarg'" ;; |
---|
600 | |
---|
601 | -without-* | --without-*) |
---|
602 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
603 | # Reject names that are not valid shell variable names. |
---|
604 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
605 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
606 | { (exit 1); exit 1; }; } |
---|
607 | ac_package=`echo $ac_package | sed 's/-/_/g'` |
---|
608 | eval "with_$ac_package=no" ;; |
---|
609 | |
---|
610 | --x) |
---|
611 | # Obsolete; use --with-x. |
---|
612 | with_x=yes ;; |
---|
613 | |
---|
614 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
615 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
616 | ac_prev=x_includes ;; |
---|
617 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
618 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
619 | x_includes=$ac_optarg ;; |
---|
620 | |
---|
621 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
622 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
623 | ac_prev=x_libraries ;; |
---|
624 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
625 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
626 | x_libraries=$ac_optarg ;; |
---|
627 | |
---|
628 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
---|
629 | Try \`$0 --help' for more information." >&2 |
---|
630 | { (exit 1); exit 1; }; } |
---|
631 | ;; |
---|
632 | |
---|
633 | *=*) |
---|
634 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
635 | # Reject names that are not valid shell variable names. |
---|
636 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
---|
637 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
---|
638 | { (exit 1); exit 1; }; } |
---|
639 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
---|
640 | eval "$ac_envvar='$ac_optarg'" |
---|
641 | export $ac_envvar ;; |
---|
642 | |
---|
643 | *) |
---|
644 | # FIXME: should be removed in autoconf 3.0. |
---|
645 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
646 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
647 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
648 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
---|
649 | ;; |
---|
650 | |
---|
651 | esac |
---|
652 | done |
---|
653 | |
---|
654 | if test -n "$ac_prev"; then |
---|
655 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
656 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
---|
657 | { (exit 1); exit 1; }; } |
---|
658 | fi |
---|
659 | |
---|
660 | # Be sure to have absolute paths. |
---|
661 | for ac_var in exec_prefix prefix |
---|
662 | do |
---|
663 | eval ac_val=$`echo $ac_var` |
---|
664 | case $ac_val in |
---|
665 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
---|
666 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
667 | { (exit 1); exit 1; }; };; |
---|
668 | esac |
---|
669 | done |
---|
670 | |
---|
671 | # Be sure to have absolute paths. |
---|
672 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
---|
673 | localstatedir libdir includedir oldincludedir infodir mandir |
---|
674 | do |
---|
675 | eval ac_val=$`echo $ac_var` |
---|
676 | case $ac_val in |
---|
677 | [\\/$]* | ?:[\\/]* ) ;; |
---|
678 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
679 | { (exit 1); exit 1; }; };; |
---|
680 | esac |
---|
681 | done |
---|
682 | |
---|
683 | # There might be people who depend on the old broken behavior: `$host' |
---|
684 | # used to hold the argument of --host etc. |
---|
685 | # FIXME: To remove some day. |
---|
686 | build=$build_alias |
---|
687 | host=$host_alias |
---|
688 | target=$target_alias |
---|
689 | |
---|
690 | # FIXME: To remove some day. |
---|
691 | if test "x$host_alias" != x; then |
---|
692 | if test "x$build_alias" = x; then |
---|
693 | cross_compiling=maybe |
---|
694 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
---|
695 | If a cross compiler is detected then cross compile mode will be used." >&2 |
---|
696 | elif test "x$build_alias" != "x$host_alias"; then |
---|
697 | cross_compiling=yes |
---|
698 | fi |
---|
699 | fi |
---|
700 | |
---|
701 | ac_tool_prefix= |
---|
702 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
703 | |
---|
704 | test "$silent" = yes && exec 6>/dev/null |
---|
705 | |
---|
706 | |
---|
707 | # Find the source files, if location was not specified. |
---|
708 | if test -z "$srcdir"; then |
---|
709 | ac_srcdir_defaulted=yes |
---|
710 | # Try the directory containing this script, then its parent. |
---|
711 | ac_confdir=`(dirname "$0") 2>/dev/null || |
---|
712 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
713 | X"$0" : 'X\(//\)[^/]' \| \ |
---|
714 | X"$0" : 'X\(//\)$' \| \ |
---|
715 | X"$0" : 'X\(/\)' \| \ |
---|
716 | . : '\(.\)' 2>/dev/null || |
---|
717 | echo X"$0" | |
---|
718 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
719 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
720 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
721 | /^X\(\/\).*/{ s//\1/; q; } |
---|
722 | s/.*/./; q'` |
---|
723 | srcdir=$ac_confdir |
---|
724 | if test ! -r $srcdir/$ac_unique_file; then |
---|
725 | srcdir=.. |
---|
726 | fi |
---|
727 | else |
---|
728 | ac_srcdir_defaulted=no |
---|
729 | fi |
---|
730 | if test ! -r $srcdir/$ac_unique_file; then |
---|
731 | if test "$ac_srcdir_defaulted" = yes; then |
---|
732 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
---|
733 | { (exit 1); exit 1; }; } |
---|
734 | else |
---|
735 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
---|
736 | { (exit 1); exit 1; }; } |
---|
737 | fi |
---|
738 | fi |
---|
739 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
---|
740 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
---|
741 | { (exit 1); exit 1; }; } |
---|
742 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
---|
743 | ac_env_build_alias_set=${build_alias+set} |
---|
744 | ac_env_build_alias_value=$build_alias |
---|
745 | ac_cv_env_build_alias_set=${build_alias+set} |
---|
746 | ac_cv_env_build_alias_value=$build_alias |
---|
747 | ac_env_host_alias_set=${host_alias+set} |
---|
748 | ac_env_host_alias_value=$host_alias |
---|
749 | ac_cv_env_host_alias_set=${host_alias+set} |
---|
750 | ac_cv_env_host_alias_value=$host_alias |
---|
751 | ac_env_target_alias_set=${target_alias+set} |
---|
752 | ac_env_target_alias_value=$target_alias |
---|
753 | ac_cv_env_target_alias_set=${target_alias+set} |
---|
754 | ac_cv_env_target_alias_value=$target_alias |
---|
755 | ac_env_CC_set=${CC+set} |
---|
756 | ac_env_CC_value=$CC |
---|
757 | ac_cv_env_CC_set=${CC+set} |
---|
758 | ac_cv_env_CC_value=$CC |
---|
759 | ac_env_CFLAGS_set=${CFLAGS+set} |
---|
760 | ac_env_CFLAGS_value=$CFLAGS |
---|
761 | ac_cv_env_CFLAGS_set=${CFLAGS+set} |
---|
762 | ac_cv_env_CFLAGS_value=$CFLAGS |
---|
763 | ac_env_LDFLAGS_set=${LDFLAGS+set} |
---|
764 | ac_env_LDFLAGS_value=$LDFLAGS |
---|
765 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
---|
766 | ac_cv_env_LDFLAGS_value=$LDFLAGS |
---|
767 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
---|
768 | ac_env_CPPFLAGS_value=$CPPFLAGS |
---|
769 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
---|
770 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
---|
771 | ac_env_CPP_set=${CPP+set} |
---|
772 | ac_env_CPP_value=$CPP |
---|
773 | ac_cv_env_CPP_set=${CPP+set} |
---|
774 | ac_cv_env_CPP_value=$CPP |
---|
775 | |
---|
776 | # |
---|
777 | # Report the --help message. |
---|
778 | # |
---|
779 | if test "$ac_init_help" = "long"; then |
---|
780 | # Omit some internal or obsolete options to make the list less imposing. |
---|
781 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
782 | cat <<_ACEOF |
---|
783 | \`configure' configures gnome-mime-data 2.4.2 to adapt to many kinds of systems. |
---|
784 | |
---|
785 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
786 | |
---|
787 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
788 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
789 | |
---|
790 | Defaults for the options are specified in brackets. |
---|
791 | |
---|
792 | Configuration: |
---|
793 | -h, --help display this help and exit |
---|
794 | --help=short display options specific to this package |
---|
795 | --help=recursive display the short help of all the included packages |
---|
796 | -V, --version display version information and exit |
---|
797 | -q, --quiet, --silent do not print \`checking...' messages |
---|
798 | --cache-file=FILE cache test results in FILE [disabled] |
---|
799 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
800 | -n, --no-create do not create output files |
---|
801 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
802 | |
---|
803 | _ACEOF |
---|
804 | |
---|
805 | cat <<_ACEOF |
---|
806 | Installation directories: |
---|
807 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
808 | [$ac_default_prefix] |
---|
809 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
810 | [PREFIX] |
---|
811 | |
---|
812 | By default, \`make install' will install all the files in |
---|
813 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
814 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
815 | for instance \`--prefix=\$HOME'. |
---|
816 | |
---|
817 | For better control, use the options below. |
---|
818 | |
---|
819 | Fine tuning of the installation directories: |
---|
820 | --bindir=DIR user executables [EPREFIX/bin] |
---|
821 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
822 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
823 | --datadir=DIR read-only architecture-independent data [PREFIX/share] |
---|
824 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
825 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
826 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
827 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
828 | --includedir=DIR C header files [PREFIX/include] |
---|
829 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
830 | --infodir=DIR info documentation [PREFIX/info] |
---|
831 | --mandir=DIR man documentation [PREFIX/man] |
---|
832 | _ACEOF |
---|
833 | |
---|
834 | cat <<\_ACEOF |
---|
835 | |
---|
836 | Program names: |
---|
837 | --program-prefix=PREFIX prepend PREFIX to installed program names |
---|
838 | --program-suffix=SUFFIX append SUFFIX to installed program names |
---|
839 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
---|
840 | _ACEOF |
---|
841 | fi |
---|
842 | |
---|
843 | if test -n "$ac_init_help"; then |
---|
844 | case $ac_init_help in |
---|
845 | short | recursive ) echo "Configuration of gnome-mime-data 2.4.2:";; |
---|
846 | esac |
---|
847 | cat <<\_ACEOF |
---|
848 | |
---|
849 | Optional Features: |
---|
850 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
---|
851 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
---|
852 | --enable-maintainer-mode enable make rules and dependencies not useful |
---|
853 | (and sometimes confusing) to the casual installer |
---|
854 | --disable-dependency-tracking Speeds up one-time builds |
---|
855 | --enable-dependency-tracking Do not reject slow dependency extractors |
---|
856 | |
---|
857 | Some influential environment variables: |
---|
858 | CC C compiler command |
---|
859 | CFLAGS C compiler flags |
---|
860 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
861 | nonstandard directory <lib dir> |
---|
862 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
---|
863 | headers in a nonstandard directory <include dir> |
---|
864 | CPP C preprocessor |
---|
865 | |
---|
866 | Use these variables to override the choices made by `configure' or to help |
---|
867 | it to find libraries and programs with nonstandard names/locations. |
---|
868 | |
---|
869 | Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-mime-data>. |
---|
870 | _ACEOF |
---|
871 | fi |
---|
872 | |
---|
873 | if test "$ac_init_help" = "recursive"; then |
---|
874 | # If there are subdirs, report their specific --help. |
---|
875 | ac_popdir=`pwd` |
---|
876 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
877 | test -d $ac_dir || continue |
---|
878 | ac_builddir=. |
---|
879 | |
---|
880 | if test "$ac_dir" != .; then |
---|
881 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
882 | # A "../" for each directory in $ac_dir_suffix. |
---|
883 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
884 | else |
---|
885 | ac_dir_suffix= ac_top_builddir= |
---|
886 | fi |
---|
887 | |
---|
888 | case $srcdir in |
---|
889 | .) # No --srcdir option. We are building in place. |
---|
890 | ac_srcdir=. |
---|
891 | if test -z "$ac_top_builddir"; then |
---|
892 | ac_top_srcdir=. |
---|
893 | else |
---|
894 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
895 | fi ;; |
---|
896 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
897 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
898 | ac_top_srcdir=$srcdir ;; |
---|
899 | *) # Relative path. |
---|
900 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
901 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
902 | esac |
---|
903 | |
---|
904 | # Do not use `cd foo && pwd` to compute absolute paths, because |
---|
905 | # the directories may not exist. |
---|
906 | case `pwd` in |
---|
907 | .) ac_abs_builddir="$ac_dir";; |
---|
908 | *) |
---|
909 | case "$ac_dir" in |
---|
910 | .) ac_abs_builddir=`pwd`;; |
---|
911 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
---|
912 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
---|
913 | esac;; |
---|
914 | esac |
---|
915 | case $ac_abs_builddir in |
---|
916 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
917 | *) |
---|
918 | case ${ac_top_builddir}. in |
---|
919 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
---|
920 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
921 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
---|
922 | esac;; |
---|
923 | esac |
---|
924 | case $ac_abs_builddir in |
---|
925 | .) ac_abs_srcdir=$ac_srcdir;; |
---|
926 | *) |
---|
927 | case $ac_srcdir in |
---|
928 | .) ac_abs_srcdir=$ac_abs_builddir;; |
---|
929 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
---|
930 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
---|
931 | esac;; |
---|
932 | esac |
---|
933 | case $ac_abs_builddir in |
---|
934 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
935 | *) |
---|
936 | case $ac_top_srcdir in |
---|
937 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
---|
938 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
939 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
---|
940 | esac;; |
---|
941 | esac |
---|
942 | |
---|
943 | cd $ac_dir |
---|
944 | # Check for guested configure; otherwise get Cygnus style configure. |
---|
945 | if test -f $ac_srcdir/configure.gnu; then |
---|
946 | echo |
---|
947 | $SHELL $ac_srcdir/configure.gnu --help=recursive |
---|
948 | elif test -f $ac_srcdir/configure; then |
---|
949 | echo |
---|
950 | $SHELL $ac_srcdir/configure --help=recursive |
---|
951 | elif test -f $ac_srcdir/configure.ac || |
---|
952 | test -f $ac_srcdir/configure.in; then |
---|
953 | echo |
---|
954 | $ac_configure --help |
---|
955 | else |
---|
956 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
957 | fi |
---|
958 | cd $ac_popdir |
---|
959 | done |
---|
960 | fi |
---|
961 | |
---|
962 | test -n "$ac_init_help" && exit 0 |
---|
963 | if $ac_init_version; then |
---|
964 | cat <<\_ACEOF |
---|
965 | gnome-mime-data configure 2.4.2 |
---|
966 | generated by GNU Autoconf 2.59 |
---|
967 | |
---|
968 | Copyright (C) 2003 Free Software Foundation, Inc. |
---|
969 | This configure script is free software; the Free Software Foundation |
---|
970 | gives unlimited permission to copy, distribute and modify it. |
---|
971 | _ACEOF |
---|
972 | exit 0 |
---|
973 | fi |
---|
974 | exec 5>config.log |
---|
975 | cat >&5 <<_ACEOF |
---|
976 | This file contains any messages produced by compilers while |
---|
977 | running configure, to aid debugging if configure makes a mistake. |
---|
978 | |
---|
979 | It was created by gnome-mime-data $as_me 2.4.2, which was |
---|
980 | generated by GNU Autoconf 2.59. Invocation command line was |
---|
981 | |
---|
982 | $ $0 $@ |
---|
983 | |
---|
984 | _ACEOF |
---|
985 | { |
---|
986 | cat <<_ASUNAME |
---|
987 | ## --------- ## |
---|
988 | ## Platform. ## |
---|
989 | ## --------- ## |
---|
990 | |
---|
991 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
992 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
993 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
994 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
995 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
996 | |
---|
997 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
998 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
999 | |
---|
1000 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
1001 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
1002 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
1003 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
---|
1004 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
1005 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
1006 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
1007 | |
---|
1008 | _ASUNAME |
---|
1009 | |
---|
1010 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1011 | for as_dir in $PATH |
---|
1012 | do |
---|
1013 | IFS=$as_save_IFS |
---|
1014 | test -z "$as_dir" && as_dir=. |
---|
1015 | echo "PATH: $as_dir" |
---|
1016 | done |
---|
1017 | |
---|
1018 | } >&5 |
---|
1019 | |
---|
1020 | cat >&5 <<_ACEOF |
---|
1021 | |
---|
1022 | |
---|
1023 | ## ----------- ## |
---|
1024 | ## Core tests. ## |
---|
1025 | ## ----------- ## |
---|
1026 | |
---|
1027 | _ACEOF |
---|
1028 | |
---|
1029 | |
---|
1030 | # Keep a trace of the command line. |
---|
1031 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
1032 | # Strip out --silent because we don't want to record it for future runs. |
---|
1033 | # Also quote any args containing shell meta-characters. |
---|
1034 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
1035 | ac_configure_args= |
---|
1036 | ac_configure_args0= |
---|
1037 | ac_configure_args1= |
---|
1038 | ac_sep= |
---|
1039 | ac_must_keep_next=false |
---|
1040 | for ac_pass in 1 2 |
---|
1041 | do |
---|
1042 | for ac_arg |
---|
1043 | do |
---|
1044 | case $ac_arg in |
---|
1045 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
1046 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
1047 | | -silent | --silent | --silen | --sile | --sil) |
---|
1048 | continue ;; |
---|
1049 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
---|
1050 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1051 | esac |
---|
1052 | case $ac_pass in |
---|
1053 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
---|
1054 | 2) |
---|
1055 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
---|
1056 | if test $ac_must_keep_next = true; then |
---|
1057 | ac_must_keep_next=false # Got value, back to normal. |
---|
1058 | else |
---|
1059 | case $ac_arg in |
---|
1060 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
1061 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
1062 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
1063 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
1064 | case "$ac_configure_args0 " in |
---|
1065 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
1066 | esac |
---|
1067 | ;; |
---|
1068 | -* ) ac_must_keep_next=true ;; |
---|
1069 | esac |
---|
1070 | fi |
---|
1071 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
---|
1072 | # Get rid of the leading space. |
---|
1073 | ac_sep=" " |
---|
1074 | ;; |
---|
1075 | esac |
---|
1076 | done |
---|
1077 | done |
---|
1078 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
---|
1079 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
---|
1080 | |
---|
1081 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
1082 | # config.log. We remove comments because anyway the quotes in there |
---|
1083 | # would cause problems or look ugly. |
---|
1084 | # WARNING: Be sure not to use single quotes in there, as some shells, |
---|
1085 | # such as our DU 5.0 friend, will then `close' the trap. |
---|
1086 | trap 'exit_status=$? |
---|
1087 | # Save into config.log some information that might help in debugging. |
---|
1088 | { |
---|
1089 | echo |
---|
1090 | |
---|
1091 | cat <<\_ASBOX |
---|
1092 | ## ---------------- ## |
---|
1093 | ## Cache variables. ## |
---|
1094 | ## ---------------- ## |
---|
1095 | _ASBOX |
---|
1096 | echo |
---|
1097 | # The following way of writing the cache mishandles newlines in values, |
---|
1098 | { |
---|
1099 | (set) 2>&1 | |
---|
1100 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
---|
1101 | *ac_space=\ *) |
---|
1102 | sed -n \ |
---|
1103 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
---|
1104 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
---|
1105 | ;; |
---|
1106 | *) |
---|
1107 | sed -n \ |
---|
1108 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
---|
1109 | ;; |
---|
1110 | esac; |
---|
1111 | } |
---|
1112 | echo |
---|
1113 | |
---|
1114 | cat <<\_ASBOX |
---|
1115 | ## ----------------- ## |
---|
1116 | ## Output variables. ## |
---|
1117 | ## ----------------- ## |
---|
1118 | _ASBOX |
---|
1119 | echo |
---|
1120 | for ac_var in $ac_subst_vars |
---|
1121 | do |
---|
1122 | eval ac_val=$`echo $ac_var` |
---|
1123 | echo "$ac_var='"'"'$ac_val'"'"'" |
---|
1124 | done | sort |
---|
1125 | echo |
---|
1126 | |
---|
1127 | if test -n "$ac_subst_files"; then |
---|
1128 | cat <<\_ASBOX |
---|
1129 | ## ------------- ## |
---|
1130 | ## Output files. ## |
---|
1131 | ## ------------- ## |
---|
1132 | _ASBOX |
---|
1133 | echo |
---|
1134 | for ac_var in $ac_subst_files |
---|
1135 | do |
---|
1136 | eval ac_val=$`echo $ac_var` |
---|
1137 | echo "$ac_var='"'"'$ac_val'"'"'" |
---|
1138 | done | sort |
---|
1139 | echo |
---|
1140 | fi |
---|
1141 | |
---|
1142 | if test -s confdefs.h; then |
---|
1143 | cat <<\_ASBOX |
---|
1144 | ## ----------- ## |
---|
1145 | ## confdefs.h. ## |
---|
1146 | ## ----------- ## |
---|
1147 | _ASBOX |
---|
1148 | echo |
---|
1149 | sed "/^$/d" confdefs.h | sort |
---|
1150 | echo |
---|
1151 | fi |
---|
1152 | test "$ac_signal" != 0 && |
---|
1153 | echo "$as_me: caught signal $ac_signal" |
---|
1154 | echo "$as_me: exit $exit_status" |
---|
1155 | } >&5 |
---|
1156 | rm -f core *.core && |
---|
1157 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
---|
1158 | exit $exit_status |
---|
1159 | ' 0 |
---|
1160 | for ac_signal in 1 2 13 15; do |
---|
1161 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
---|
1162 | done |
---|
1163 | ac_signal=0 |
---|
1164 | |
---|
1165 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
1166 | rm -rf conftest* confdefs.h |
---|
1167 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
---|
1168 | echo >confdefs.h |
---|
1169 | |
---|
1170 | # Predefined preprocessor variables. |
---|
1171 | |
---|
1172 | cat >>confdefs.h <<_ACEOF |
---|
1173 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
1174 | _ACEOF |
---|
1175 | |
---|
1176 | |
---|
1177 | cat >>confdefs.h <<_ACEOF |
---|
1178 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
1179 | _ACEOF |
---|
1180 | |
---|
1181 | |
---|
1182 | cat >>confdefs.h <<_ACEOF |
---|
1183 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
1184 | _ACEOF |
---|
1185 | |
---|
1186 | |
---|
1187 | cat >>confdefs.h <<_ACEOF |
---|
1188 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
1189 | _ACEOF |
---|
1190 | |
---|
1191 | |
---|
1192 | cat >>confdefs.h <<_ACEOF |
---|
1193 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
1194 | _ACEOF |
---|
1195 | |
---|
1196 | |
---|
1197 | # Let the site file select an alternate cache file if it wants to. |
---|
1198 | # Prefer explicitly selected file to automatically selected ones. |
---|
1199 | if test -z "$CONFIG_SITE"; then |
---|
1200 | if test "x$prefix" != xNONE; then |
---|
1201 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
---|
1202 | else |
---|
1203 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
---|
1204 | fi |
---|
1205 | fi |
---|
1206 | for ac_site_file in $CONFIG_SITE; do |
---|
1207 | if test -r "$ac_site_file"; then |
---|
1208 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
---|
1209 | echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
1210 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
1211 | . "$ac_site_file" |
---|
1212 | fi |
---|
1213 | done |
---|
1214 | |
---|
1215 | if test -r "$cache_file"; then |
---|
1216 | # Some versions of bash will fail to source /dev/null (special |
---|
1217 | # files actually), so we avoid doing that. |
---|
1218 | if test -f "$cache_file"; then |
---|
1219 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
---|
1220 | echo "$as_me: loading cache $cache_file" >&6;} |
---|
1221 | case $cache_file in |
---|
1222 | [\\/]* | ?:[\\/]* ) . $cache_file;; |
---|
1223 | *) . ./$cache_file;; |
---|
1224 | esac |
---|
1225 | fi |
---|
1226 | else |
---|
1227 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
---|
1228 | echo "$as_me: creating cache $cache_file" >&6;} |
---|
1229 | >$cache_file |
---|
1230 | fi |
---|
1231 | |
---|
1232 | # Check that the precious variables saved in the cache have kept the same |
---|
1233 | # value. |
---|
1234 | ac_cache_corrupted=false |
---|
1235 | for ac_var in `(set) 2>&1 | |
---|
1236 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
---|
1237 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
1238 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
1239 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
---|
1240 | eval ac_new_val="\$ac_env_${ac_var}_value" |
---|
1241 | case $ac_old_set,$ac_new_set in |
---|
1242 | set,) |
---|
1243 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
1244 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
1245 | ac_cache_corrupted=: ;; |
---|
1246 | ,set) |
---|
1247 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
---|
1248 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
1249 | ac_cache_corrupted=: ;; |
---|
1250 | ,);; |
---|
1251 | *) |
---|
1252 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
1253 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
1254 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
1255 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
---|
1256 | echo "$as_me: former value: $ac_old_val" >&2;} |
---|
1257 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
---|
1258 | echo "$as_me: current value: $ac_new_val" >&2;} |
---|
1259 | ac_cache_corrupted=: |
---|
1260 | fi;; |
---|
1261 | esac |
---|
1262 | # Pass precious variables to config.status. |
---|
1263 | if test "$ac_new_set" = set; then |
---|
1264 | case $ac_new_val in |
---|
1265 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
---|
1266 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1267 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
1268 | esac |
---|
1269 | case " $ac_configure_args " in |
---|
1270 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
1271 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
---|
1272 | esac |
---|
1273 | fi |
---|
1274 | done |
---|
1275 | if $ac_cache_corrupted; then |
---|
1276 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
---|
1277 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
1278 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
---|
1279 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
---|
1280 | { (exit 1); exit 1; }; } |
---|
1281 | fi |
---|
1282 | |
---|
1283 | ac_ext=c |
---|
1284 | ac_cpp='$CPP $CPPFLAGS' |
---|
1285 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
1286 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
1287 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
1288 | |
---|
1289 | |
---|
1290 | |
---|
1291 | |
---|
1292 | |
---|
1293 | |
---|
1294 | |
---|
1295 | |
---|
1296 | |
---|
1297 | |
---|
1298 | |
---|
1299 | |
---|
1300 | |
---|
1301 | |
---|
1302 | |
---|
1303 | |
---|
1304 | |
---|
1305 | |
---|
1306 | |
---|
1307 | |
---|
1308 | |
---|
1309 | |
---|
1310 | |
---|
1311 | |
---|
1312 | |
---|
1313 | |
---|
1314 | |
---|
1315 | |
---|
1316 | |
---|
1317 | am__api_version="1.7" |
---|
1318 | ac_aux_dir= |
---|
1319 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
---|
1320 | if 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/install.sh; then |
---|
1325 | ac_aux_dir=$ac_dir |
---|
1326 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
1327 | break |
---|
1328 | elif test -f $ac_dir/shtool; then |
---|
1329 | ac_aux_dir=$ac_dir |
---|
1330 | ac_install_sh="$ac_aux_dir/shtool install -c" |
---|
1331 | break |
---|
1332 | fi |
---|
1333 | done |
---|
1334 | if test -z "$ac_aux_dir"; then |
---|
1335 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
---|
1336 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
---|
1337 | { (exit 1); exit 1; }; } |
---|
1338 | fi |
---|
1339 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
---|
1340 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
---|
1341 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
---|
1342 | |
---|
1343 | # Find a good install program. We prefer a C program (faster), |
---|
1344 | # so one script is as good as another. But avoid the broken or |
---|
1345 | # incompatible versions: |
---|
1346 | # SysV /etc/install, /usr/sbin/install |
---|
1347 | # SunOS /usr/etc/install |
---|
1348 | # IRIX /sbin/install |
---|
1349 | # AIX /bin/install |
---|
1350 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
1351 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
1352 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
1353 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
1354 | # OS/2's system install, which has a completely different semantic |
---|
1355 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
1356 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
---|
1357 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
---|
1358 | if test -z "$INSTALL"; then |
---|
1359 | if test "${ac_cv_path_install+set}" = set; then |
---|
1360 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1361 | else |
---|
1362 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1363 | for as_dir in $PATH |
---|
1364 | do |
---|
1365 | IFS=$as_save_IFS |
---|
1366 | test -z "$as_dir" && as_dir=. |
---|
1367 | # Account for people who put trailing slashes in PATH elements. |
---|
1368 | case $as_dir/ in |
---|
1369 | ./ | .// | /cC/* | \ |
---|
1370 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
1371 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
---|
1372 | /usr/ucb/* ) ;; |
---|
1373 | *) |
---|
1374 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
1375 | # Don't use installbsd from OSF since it installs stuff as root |
---|
1376 | # by default. |
---|
1377 | for ac_prog in ginstall scoinst install; do |
---|
1378 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1379 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
---|
1380 | if test $ac_prog = install && |
---|
1381 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
1382 | # AIX install. It has an incompatible calling convention. |
---|
1383 | : |
---|
1384 | elif test $ac_prog = install && |
---|
1385 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
1386 | # program-specific install script used by HP pwplus--don't use. |
---|
1387 | : |
---|
1388 | else |
---|
1389 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
1390 | break 3 |
---|
1391 | fi |
---|
1392 | fi |
---|
1393 | done |
---|
1394 | done |
---|
1395 | ;; |
---|
1396 | esac |
---|
1397 | done |
---|
1398 | |
---|
1399 | |
---|
1400 | fi |
---|
1401 | if test "${ac_cv_path_install+set}" = set; then |
---|
1402 | INSTALL=$ac_cv_path_install |
---|
1403 | else |
---|
1404 | # As a last resort, use the slow shell script. We don't cache a |
---|
1405 | # path for INSTALL within a source directory, because that will |
---|
1406 | # break other packages using the cache if that directory is |
---|
1407 | # removed, or if the path is relative. |
---|
1408 | INSTALL=$ac_install_sh |
---|
1409 | fi |
---|
1410 | fi |
---|
1411 | echo "$as_me:$LINENO: result: $INSTALL" >&5 |
---|
1412 | echo "${ECHO_T}$INSTALL" >&6 |
---|
1413 | |
---|
1414 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
1415 | # It thinks the first close brace ends the variable substitution. |
---|
1416 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
1417 | |
---|
1418 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
1419 | |
---|
1420 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
1421 | |
---|
1422 | echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
---|
1423 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
---|
1424 | # Just in case |
---|
1425 | sleep 1 |
---|
1426 | echo timestamp > conftest.file |
---|
1427 | # Do `set' in a subshell so we don't clobber the current shell's |
---|
1428 | # arguments. Must try -L first in case configure is actually a |
---|
1429 | # symlink; some systems play weird games with the mod time of symlinks |
---|
1430 | # (eg FreeBSD returns the mod time of the symlink's containing |
---|
1431 | # directory). |
---|
1432 | if ( |
---|
1433 | set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
---|
1434 | if test "$*" = "X"; then |
---|
1435 | # -L didn't work. |
---|
1436 | set X `ls -t $srcdir/configure conftest.file` |
---|
1437 | fi |
---|
1438 | rm -f conftest.file |
---|
1439 | if test "$*" != "X $srcdir/configure conftest.file" \ |
---|
1440 | && test "$*" != "X conftest.file $srcdir/configure"; then |
---|
1441 | |
---|
1442 | # If neither matched, then we have a broken ls. This can happen |
---|
1443 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
---|
1444 | # broken ls alias from the environment. This has actually |
---|
1445 | # happened. Such a system could not be considered "sane". |
---|
1446 | { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
---|
1447 | alias in your environment" >&5 |
---|
1448 | echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
---|
1449 | alias in your environment" >&2;} |
---|
1450 | { (exit 1); exit 1; }; } |
---|
1451 | fi |
---|
1452 | |
---|
1453 | test "$2" = conftest.file |
---|
1454 | ) |
---|
1455 | then |
---|
1456 | # Ok. |
---|
1457 | : |
---|
1458 | else |
---|
1459 | { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
---|
1460 | Check your system clock" >&5 |
---|
1461 | echo "$as_me: error: newly created file is older than distributed files! |
---|
1462 | Check your system clock" >&2;} |
---|
1463 | { (exit 1); exit 1; }; } |
---|
1464 | fi |
---|
1465 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
1466 | echo "${ECHO_T}yes" >&6 |
---|
1467 | test "$program_prefix" != NONE && |
---|
1468 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
---|
1469 | # Use a double $ so make ignores it. |
---|
1470 | test "$program_suffix" != NONE && |
---|
1471 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
---|
1472 | # Double any \ or $. echo might interpret backslashes. |
---|
1473 | # By default was `s,x,x', remove it if useless. |
---|
1474 | cat <<\_ACEOF >conftest.sed |
---|
1475 | s/[\\$]/&&/g;s/;s,x,x,$// |
---|
1476 | _ACEOF |
---|
1477 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
---|
1478 | rm conftest.sed |
---|
1479 | |
---|
1480 | |
---|
1481 | # expand $ac_aux_dir to an absolute path |
---|
1482 | am_aux_dir=`cd $ac_aux_dir && pwd` |
---|
1483 | |
---|
1484 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
---|
1485 | # Use eval to expand $SHELL |
---|
1486 | if eval "$MISSING --run true"; then |
---|
1487 | am_missing_run="$MISSING --run " |
---|
1488 | else |
---|
1489 | am_missing_run= |
---|
1490 | { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
---|
1491 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
---|
1492 | fi |
---|
1493 | |
---|
1494 | for ac_prog in gawk mawk nawk awk |
---|
1495 | do |
---|
1496 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
1497 | set dummy $ac_prog; ac_word=$2 |
---|
1498 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1499 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1500 | if test "${ac_cv_prog_AWK+set}" = set; then |
---|
1501 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1502 | else |
---|
1503 | if test -n "$AWK"; then |
---|
1504 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
---|
1505 | else |
---|
1506 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1507 | for as_dir in $PATH |
---|
1508 | do |
---|
1509 | IFS=$as_save_IFS |
---|
1510 | test -z "$as_dir" && as_dir=. |
---|
1511 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1512 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1513 | ac_cv_prog_AWK="$ac_prog" |
---|
1514 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1515 | break 2 |
---|
1516 | fi |
---|
1517 | done |
---|
1518 | done |
---|
1519 | |
---|
1520 | fi |
---|
1521 | fi |
---|
1522 | AWK=$ac_cv_prog_AWK |
---|
1523 | if test -n "$AWK"; then |
---|
1524 | echo "$as_me:$LINENO: result: $AWK" >&5 |
---|
1525 | echo "${ECHO_T}$AWK" >&6 |
---|
1526 | else |
---|
1527 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1528 | echo "${ECHO_T}no" >&6 |
---|
1529 | fi |
---|
1530 | |
---|
1531 | test -n "$AWK" && break |
---|
1532 | done |
---|
1533 | |
---|
1534 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
---|
1535 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
---|
1536 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
---|
1537 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
---|
1538 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1539 | else |
---|
1540 | cat >conftest.make <<\_ACEOF |
---|
1541 | all: |
---|
1542 | @echo 'ac_maketemp="$(MAKE)"' |
---|
1543 | _ACEOF |
---|
1544 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
---|
1545 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
---|
1546 | if test -n "$ac_maketemp"; then |
---|
1547 | eval ac_cv_prog_make_${ac_make}_set=yes |
---|
1548 | else |
---|
1549 | eval ac_cv_prog_make_${ac_make}_set=no |
---|
1550 | fi |
---|
1551 | rm -f conftest.make |
---|
1552 | fi |
---|
1553 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
---|
1554 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
1555 | echo "${ECHO_T}yes" >&6 |
---|
1556 | SET_MAKE= |
---|
1557 | else |
---|
1558 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1559 | echo "${ECHO_T}no" >&6 |
---|
1560 | SET_MAKE="MAKE=${MAKE-make}" |
---|
1561 | fi |
---|
1562 | |
---|
1563 | rm -rf .tst 2>/dev/null |
---|
1564 | mkdir .tst 2>/dev/null |
---|
1565 | if test -d .tst; then |
---|
1566 | am__leading_dot=. |
---|
1567 | else |
---|
1568 | am__leading_dot=_ |
---|
1569 | fi |
---|
1570 | rmdir .tst 2>/dev/null |
---|
1571 | |
---|
1572 | # test to see if srcdir already configured |
---|
1573 | if test "`cd $srcdir && pwd`" != "`pwd`" && |
---|
1574 | test -f $srcdir/config.status; then |
---|
1575 | { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
---|
1576 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
---|
1577 | { (exit 1); exit 1; }; } |
---|
1578 | fi |
---|
1579 | |
---|
1580 | # test whether we have cygpath |
---|
1581 | if test -z "$CYGPATH_W"; then |
---|
1582 | if (cygpath --version) >/dev/null 2>/dev/null; then |
---|
1583 | CYGPATH_W='cygpath -w' |
---|
1584 | else |
---|
1585 | CYGPATH_W=echo |
---|
1586 | fi |
---|
1587 | fi |
---|
1588 | |
---|
1589 | |
---|
1590 | # Define the identity of the package. |
---|
1591 | PACKAGE='gnome-mime-data' |
---|
1592 | VERSION='2.4.2' |
---|
1593 | |
---|
1594 | |
---|
1595 | cat >>confdefs.h <<_ACEOF |
---|
1596 | #define PACKAGE "$PACKAGE" |
---|
1597 | _ACEOF |
---|
1598 | |
---|
1599 | |
---|
1600 | cat >>confdefs.h <<_ACEOF |
---|
1601 | #define VERSION "$VERSION" |
---|
1602 | _ACEOF |
---|
1603 | |
---|
1604 | # Some tools Automake needs. |
---|
1605 | |
---|
1606 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
---|
1607 | |
---|
1608 | |
---|
1609 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
---|
1610 | |
---|
1611 | |
---|
1612 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
---|
1613 | |
---|
1614 | |
---|
1615 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
---|
1616 | |
---|
1617 | |
---|
1618 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
---|
1619 | |
---|
1620 | |
---|
1621 | AMTAR=${AMTAR-"${am_missing_run}tar"} |
---|
1622 | |
---|
1623 | install_sh=${install_sh-"$am_aux_dir/install-sh"} |
---|
1624 | |
---|
1625 | # Installed binaries are usually stripped using `strip' when the user |
---|
1626 | # run `make install-strip'. However `strip' might not be the right |
---|
1627 | # tool to use in cross-compilation environments, therefore Automake |
---|
1628 | # will honor the `STRIP' environment variable to overrule this program. |
---|
1629 | if test "$cross_compiling" != no; then |
---|
1630 | if test -n "$ac_tool_prefix"; then |
---|
1631 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
---|
1632 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
---|
1633 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1634 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1635 | if test "${ac_cv_prog_STRIP+set}" = set; then |
---|
1636 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1637 | else |
---|
1638 | if test -n "$STRIP"; then |
---|
1639 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
---|
1640 | else |
---|
1641 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1642 | for as_dir in $PATH |
---|
1643 | do |
---|
1644 | IFS=$as_save_IFS |
---|
1645 | test -z "$as_dir" && as_dir=. |
---|
1646 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1647 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1648 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
---|
1649 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1650 | break 2 |
---|
1651 | fi |
---|
1652 | done |
---|
1653 | done |
---|
1654 | |
---|
1655 | fi |
---|
1656 | fi |
---|
1657 | STRIP=$ac_cv_prog_STRIP |
---|
1658 | if test -n "$STRIP"; then |
---|
1659 | echo "$as_me:$LINENO: result: $STRIP" >&5 |
---|
1660 | echo "${ECHO_T}$STRIP" >&6 |
---|
1661 | else |
---|
1662 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1663 | echo "${ECHO_T}no" >&6 |
---|
1664 | fi |
---|
1665 | |
---|
1666 | fi |
---|
1667 | if test -z "$ac_cv_prog_STRIP"; then |
---|
1668 | ac_ct_STRIP=$STRIP |
---|
1669 | # Extract the first word of "strip", so it can be a program name with args. |
---|
1670 | set dummy strip; ac_word=$2 |
---|
1671 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1672 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1673 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
---|
1674 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1675 | else |
---|
1676 | if test -n "$ac_ct_STRIP"; then |
---|
1677 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
---|
1678 | else |
---|
1679 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1680 | for as_dir in $PATH |
---|
1681 | do |
---|
1682 | IFS=$as_save_IFS |
---|
1683 | test -z "$as_dir" && as_dir=. |
---|
1684 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1685 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1686 | ac_cv_prog_ac_ct_STRIP="strip" |
---|
1687 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1688 | break 2 |
---|
1689 | fi |
---|
1690 | done |
---|
1691 | done |
---|
1692 | |
---|
1693 | test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
---|
1694 | fi |
---|
1695 | fi |
---|
1696 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
---|
1697 | if test -n "$ac_ct_STRIP"; then |
---|
1698 | echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
---|
1699 | echo "${ECHO_T}$ac_ct_STRIP" >&6 |
---|
1700 | else |
---|
1701 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1702 | echo "${ECHO_T}no" >&6 |
---|
1703 | fi |
---|
1704 | |
---|
1705 | STRIP=$ac_ct_STRIP |
---|
1706 | else |
---|
1707 | STRIP="$ac_cv_prog_STRIP" |
---|
1708 | fi |
---|
1709 | |
---|
1710 | fi |
---|
1711 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
---|
1712 | |
---|
1713 | # We need awk for the "check" target. The system "awk" is bad on |
---|
1714 | # some platforms. |
---|
1715 | |
---|
1716 | |
---|
1717 | |
---|
1718 | ac_config_headers="$ac_config_headers config.h" |
---|
1719 | |
---|
1720 | echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
---|
1721 | echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 |
---|
1722 | # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. |
---|
1723 | if test "${enable_maintainer_mode+set}" = set; then |
---|
1724 | enableval="$enable_maintainer_mode" |
---|
1725 | USE_MAINTAINER_MODE=$enableval |
---|
1726 | else |
---|
1727 | USE_MAINTAINER_MODE=no |
---|
1728 | fi; |
---|
1729 | echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 |
---|
1730 | echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 |
---|
1731 | |
---|
1732 | |
---|
1733 | if test $USE_MAINTAINER_MODE = yes; then |
---|
1734 | MAINTAINER_MODE_TRUE= |
---|
1735 | MAINTAINER_MODE_FALSE='#' |
---|
1736 | else |
---|
1737 | MAINTAINER_MODE_TRUE='#' |
---|
1738 | MAINTAINER_MODE_FALSE= |
---|
1739 | fi |
---|
1740 | |
---|
1741 | MAINT=$MAINTAINER_MODE_TRUE |
---|
1742 | |
---|
1743 | |
---|
1744 | ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}" |
---|
1745 | |
---|
1746 | |
---|
1747 | |
---|
1748 | |
---|
1749 | if test -n ""; then |
---|
1750 | echo "$as_me:$LINENO: checking for intltool >= " >&5 |
---|
1751 | echo $ECHO_N "checking for intltool >= ... $ECHO_C" >&6 |
---|
1752 | |
---|
1753 | INTLTOOL_REQUIRED_VERSION_AS_INT=`echo | awk -F. '{ printf "%d", $1 * 100 + $2; }'` |
---|
1754 | INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { printf $2; }' < ${ac_aux_dir}/intltool-update.in` |
---|
1755 | |
---|
1756 | 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` |
---|
1757 | |
---|
1758 | |
---|
1759 | if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT"; then |
---|
1760 | echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5 |
---|
1761 | echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6 |
---|
1762 | else |
---|
1763 | echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found. Your intltool is too old. You need intltool or later." >&5 |
---|
1764 | echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found. Your intltool is too old. You need intltool or later." >&6 |
---|
1765 | exit 1 |
---|
1766 | fi |
---|
1767 | fi |
---|
1768 | |
---|
1769 | 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 $< $@' |
---|
1770 | 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 $< $@' |
---|
1771 | 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 $< $@' |
---|
1772 | 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 $< $@' |
---|
1773 | INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@' |
---|
1774 | 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 $< $@' |
---|
1775 | 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 $< $@' |
---|
1776 | 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 $< $@' |
---|
1777 | 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 $< $@' |
---|
1778 | 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 $< $@' |
---|
1779 | 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 $< $@' |
---|
1780 | 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 $< $@' |
---|
1781 | 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 $< $@' |
---|
1782 | 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 $< $@' |
---|
1783 | 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 $< $@' |
---|
1784 | 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 $< $@' |
---|
1785 | |
---|
1786 | |
---|
1787 | |
---|
1788 | |
---|
1789 | |
---|
1790 | |
---|
1791 | |
---|
1792 | |
---|
1793 | |
---|
1794 | |
---|
1795 | |
---|
1796 | |
---|
1797 | |
---|
1798 | |
---|
1799 | |
---|
1800 | |
---|
1801 | |
---|
1802 | |
---|
1803 | # Use the tools built into the package, not the ones that are installed. |
---|
1804 | |
---|
1805 | INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract' |
---|
1806 | INTLTOOL_MERGE='$(top_builddir)/intltool-merge' |
---|
1807 | INTLTOOL_UPDATE='$(top_builddir)/intltool-update' |
---|
1808 | |
---|
1809 | |
---|
1810 | |
---|
1811 | |
---|
1812 | |
---|
1813 | # Extract the first word of "perl", so it can be a program name with args. |
---|
1814 | set dummy perl; ac_word=$2 |
---|
1815 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1816 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1817 | if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then |
---|
1818 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1819 | else |
---|
1820 | case $INTLTOOL_PERL in |
---|
1821 | [\\/]* | ?:[\\/]*) |
---|
1822 | ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. |
---|
1823 | ;; |
---|
1824 | *) |
---|
1825 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1826 | for as_dir in $PATH |
---|
1827 | do |
---|
1828 | IFS=$as_save_IFS |
---|
1829 | test -z "$as_dir" && as_dir=. |
---|
1830 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1831 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1832 | ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" |
---|
1833 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1834 | break 2 |
---|
1835 | fi |
---|
1836 | done |
---|
1837 | done |
---|
1838 | |
---|
1839 | ;; |
---|
1840 | esac |
---|
1841 | fi |
---|
1842 | INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL |
---|
1843 | |
---|
1844 | if test -n "$INTLTOOL_PERL"; then |
---|
1845 | echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5 |
---|
1846 | echo "${ECHO_T}$INTLTOOL_PERL" >&6 |
---|
1847 | else |
---|
1848 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1849 | echo "${ECHO_T}no" >&6 |
---|
1850 | fi |
---|
1851 | |
---|
1852 | if test -z "$INTLTOOL_PERL"; then |
---|
1853 | { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5 |
---|
1854 | echo "$as_me: error: perl not found; required for intltool" >&2;} |
---|
1855 | { (exit 1); exit 1; }; } |
---|
1856 | fi |
---|
1857 | if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then |
---|
1858 | { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5 |
---|
1859 | echo "$as_me: error: perl 5.x required for intltool" >&2;} |
---|
1860 | { (exit 1); exit 1; }; } |
---|
1861 | fi |
---|
1862 | if test "x" != "xno-xml"; then |
---|
1863 | echo "$as_me:$LINENO: checking for XML::Parser" >&5 |
---|
1864 | echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6 |
---|
1865 | if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then |
---|
1866 | echo "$as_me:$LINENO: result: ok" >&5 |
---|
1867 | echo "${ECHO_T}ok" >&6 |
---|
1868 | else |
---|
1869 | { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5 |
---|
1870 | echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;} |
---|
1871 | { (exit 1); exit 1; }; } |
---|
1872 | fi |
---|
1873 | fi |
---|
1874 | |
---|
1875 | # Remove file type tags (using []) from po/POTFILES. |
---|
1876 | |
---|
1877 | |
---|
1878 | |
---|
1879 | |
---|
1880 | |
---|
1881 | |
---|
1882 | |
---|
1883 | # Manually sed perl in so people don't have to put the intltool scripts in AC_OUTPUT. |
---|
1884 | |
---|
1885 | ac_config_commands="$ac_config_commands default-1" |
---|
1886 | |
---|
1887 | |
---|
1888 | |
---|
1889 | |
---|
1890 | ALL_LINGUAS="af am ar az be bg bn bs ca cs cy da de el en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hr hu id is it ja ko li lt lv mk ml mn ms nb ne nl nn no pa pl pt pt_BR ro ru sk sl sq sr sr@ije sr@Latn sv ta th tk tr uk vi wa yi zh_CN zh_TW" |
---|
1891 | GETTEXT_PACKAGE=gnome-mime-data |
---|
1892 | |
---|
1893 | DEPDIR="${am__leading_dot}deps" |
---|
1894 | |
---|
1895 | ac_config_commands="$ac_config_commands depfiles" |
---|
1896 | |
---|
1897 | |
---|
1898 | am_make=${MAKE-make} |
---|
1899 | cat > confinc << 'END' |
---|
1900 | am__doit: |
---|
1901 | @echo done |
---|
1902 | .PHONY: am__doit |
---|
1903 | END |
---|
1904 | # If we don't find an include directive, just comment out the code. |
---|
1905 | echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
---|
1906 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 |
---|
1907 | am__include="#" |
---|
1908 | am__quote= |
---|
1909 | _am_result=none |
---|
1910 | # First try GNU make style include. |
---|
1911 | echo "include confinc" > confmf |
---|
1912 | # We grep out `Entering directory' and `Leaving directory' |
---|
1913 | # messages which can occur if `w' ends up in MAKEFLAGS. |
---|
1914 | # In particular we don't look at `^make:' because GNU make might |
---|
1915 | # be invoked under some other name (usually "gmake"), in which |
---|
1916 | # case it prints its new name instead of `make'. |
---|
1917 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then |
---|
1918 | am__include=include |
---|
1919 | am__quote= |
---|
1920 | _am_result=GNU |
---|
1921 | fi |
---|
1922 | # Now try BSD make style include. |
---|
1923 | if test "$am__include" = "#"; then |
---|
1924 | echo '.include "confinc"' > confmf |
---|
1925 | if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
---|
1926 | am__include=.include |
---|
1927 | am__quote="\"" |
---|
1928 | _am_result=BSD |
---|
1929 | fi |
---|
1930 | fi |
---|
1931 | |
---|
1932 | |
---|
1933 | echo "$as_me:$LINENO: result: $_am_result" >&5 |
---|
1934 | echo "${ECHO_T}$_am_result" >&6 |
---|
1935 | rm -f confinc confmf |
---|
1936 | |
---|
1937 | # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. |
---|
1938 | if test "${enable_dependency_tracking+set}" = set; then |
---|
1939 | enableval="$enable_dependency_tracking" |
---|
1940 | |
---|
1941 | fi; |
---|
1942 | if test "x$enable_dependency_tracking" != xno; then |
---|
1943 | am_depcomp="$ac_aux_dir/depcomp" |
---|
1944 | AMDEPBACKSLASH='\' |
---|
1945 | fi |
---|
1946 | |
---|
1947 | |
---|
1948 | if test "x$enable_dependency_tracking" != xno; then |
---|
1949 | AMDEP_TRUE= |
---|
1950 | AMDEP_FALSE='#' |
---|
1951 | else |
---|
1952 | AMDEP_TRUE='#' |
---|
1953 | AMDEP_FALSE= |
---|
1954 | fi |
---|
1955 | |
---|
1956 | |
---|
1957 | |
---|
1958 | ac_ext=c |
---|
1959 | ac_cpp='$CPP $CPPFLAGS' |
---|
1960 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
1961 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
1962 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
1963 | if test -n "$ac_tool_prefix"; then |
---|
1964 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
---|
1965 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
---|
1966 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1967 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1968 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
1969 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1970 | else |
---|
1971 | if test -n "$CC"; then |
---|
1972 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
1973 | else |
---|
1974 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1975 | for as_dir in $PATH |
---|
1976 | do |
---|
1977 | IFS=$as_save_IFS |
---|
1978 | test -z "$as_dir" && as_dir=. |
---|
1979 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1980 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1981 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
---|
1982 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1983 | break 2 |
---|
1984 | fi |
---|
1985 | done |
---|
1986 | done |
---|
1987 | |
---|
1988 | fi |
---|
1989 | fi |
---|
1990 | CC=$ac_cv_prog_CC |
---|
1991 | if test -n "$CC"; then |
---|
1992 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
1993 | echo "${ECHO_T}$CC" >&6 |
---|
1994 | else |
---|
1995 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1996 | echo "${ECHO_T}no" >&6 |
---|
1997 | fi |
---|
1998 | |
---|
1999 | fi |
---|
2000 | if test -z "$ac_cv_prog_CC"; then |
---|
2001 | ac_ct_CC=$CC |
---|
2002 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
2003 | set dummy gcc; ac_word=$2 |
---|
2004 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2005 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2006 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
2007 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2008 | else |
---|
2009 | if test -n "$ac_ct_CC"; then |
---|
2010 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
2011 | else |
---|
2012 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2013 | for as_dir in $PATH |
---|
2014 | do |
---|
2015 | IFS=$as_save_IFS |
---|
2016 | test -z "$as_dir" && as_dir=. |
---|
2017 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2018 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2019 | ac_cv_prog_ac_ct_CC="gcc" |
---|
2020 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2021 | break 2 |
---|
2022 | fi |
---|
2023 | done |
---|
2024 | done |
---|
2025 | |
---|
2026 | fi |
---|
2027 | fi |
---|
2028 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
2029 | if test -n "$ac_ct_CC"; then |
---|
2030 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
2031 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
2032 | else |
---|
2033 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2034 | echo "${ECHO_T}no" >&6 |
---|
2035 | fi |
---|
2036 | |
---|
2037 | CC=$ac_ct_CC |
---|
2038 | else |
---|
2039 | CC="$ac_cv_prog_CC" |
---|
2040 | fi |
---|
2041 | |
---|
2042 | if test -z "$CC"; then |
---|
2043 | if test -n "$ac_tool_prefix"; then |
---|
2044 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
---|
2045 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
---|
2046 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2047 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2048 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2049 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2050 | else |
---|
2051 | if test -n "$CC"; then |
---|
2052 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2053 | else |
---|
2054 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2055 | for as_dir in $PATH |
---|
2056 | do |
---|
2057 | IFS=$as_save_IFS |
---|
2058 | test -z "$as_dir" && as_dir=. |
---|
2059 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2060 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2061 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
---|
2062 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2063 | break 2 |
---|
2064 | fi |
---|
2065 | done |
---|
2066 | done |
---|
2067 | |
---|
2068 | fi |
---|
2069 | fi |
---|
2070 | CC=$ac_cv_prog_CC |
---|
2071 | if test -n "$CC"; then |
---|
2072 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2073 | echo "${ECHO_T}$CC" >&6 |
---|
2074 | else |
---|
2075 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2076 | echo "${ECHO_T}no" >&6 |
---|
2077 | fi |
---|
2078 | |
---|
2079 | fi |
---|
2080 | if test -z "$ac_cv_prog_CC"; then |
---|
2081 | ac_ct_CC=$CC |
---|
2082 | # Extract the first word of "cc", so it can be a program name with args. |
---|
2083 | set dummy cc; ac_word=$2 |
---|
2084 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2085 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2086 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
2087 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2088 | else |
---|
2089 | if test -n "$ac_ct_CC"; then |
---|
2090 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
2091 | else |
---|
2092 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2093 | for as_dir in $PATH |
---|
2094 | do |
---|
2095 | IFS=$as_save_IFS |
---|
2096 | test -z "$as_dir" && as_dir=. |
---|
2097 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2098 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2099 | ac_cv_prog_ac_ct_CC="cc" |
---|
2100 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2101 | break 2 |
---|
2102 | fi |
---|
2103 | done |
---|
2104 | done |
---|
2105 | |
---|
2106 | fi |
---|
2107 | fi |
---|
2108 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
2109 | if test -n "$ac_ct_CC"; then |
---|
2110 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
2111 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
2112 | else |
---|
2113 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2114 | echo "${ECHO_T}no" >&6 |
---|
2115 | fi |
---|
2116 | |
---|
2117 | CC=$ac_ct_CC |
---|
2118 | else |
---|
2119 | CC="$ac_cv_prog_CC" |
---|
2120 | fi |
---|
2121 | |
---|
2122 | fi |
---|
2123 | if test -z "$CC"; then |
---|
2124 | # Extract the first word of "cc", so it can be a program name with args. |
---|
2125 | set dummy cc; ac_word=$2 |
---|
2126 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2127 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2128 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2129 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2130 | else |
---|
2131 | if test -n "$CC"; then |
---|
2132 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2133 | else |
---|
2134 | ac_prog_rejected=no |
---|
2135 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2136 | for as_dir in $PATH |
---|
2137 | do |
---|
2138 | IFS=$as_save_IFS |
---|
2139 | test -z "$as_dir" && as_dir=. |
---|
2140 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2141 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2142 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
2143 | ac_prog_rejected=yes |
---|
2144 | continue |
---|
2145 | fi |
---|
2146 | ac_cv_prog_CC="cc" |
---|
2147 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2148 | break 2 |
---|
2149 | fi |
---|
2150 | done |
---|
2151 | done |
---|
2152 | |
---|
2153 | if test $ac_prog_rejected = yes; then |
---|
2154 | # We found a bogon in the path, so make sure we never use it. |
---|
2155 | set dummy $ac_cv_prog_CC |
---|
2156 | shift |
---|
2157 | if test $# != 0; then |
---|
2158 | # We chose a different compiler from the bogus one. |
---|
2159 | # However, it has the same basename, so the bogon will be chosen |
---|
2160 | # first if we set CC to just the basename; use the full file name. |
---|
2161 | shift |
---|
2162 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
2163 | fi |
---|
2164 | fi |
---|
2165 | fi |
---|
2166 | fi |
---|
2167 | CC=$ac_cv_prog_CC |
---|
2168 | if test -n "$CC"; then |
---|
2169 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2170 | echo "${ECHO_T}$CC" >&6 |
---|
2171 | else |
---|
2172 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2173 | echo "${ECHO_T}no" >&6 |
---|
2174 | fi |
---|
2175 | |
---|
2176 | fi |
---|
2177 | if test -z "$CC"; then |
---|
2178 | if test -n "$ac_tool_prefix"; then |
---|
2179 | for ac_prog in cl |
---|
2180 | do |
---|
2181 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
2182 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
2183 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2184 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2185 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2186 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2187 | else |
---|
2188 | if test -n "$CC"; then |
---|
2189 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2190 | else |
---|
2191 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2192 | for as_dir in $PATH |
---|
2193 | do |
---|
2194 | IFS=$as_save_IFS |
---|
2195 | test -z "$as_dir" && as_dir=. |
---|
2196 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2197 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2198 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
---|
2199 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2200 | break 2 |
---|
2201 | fi |
---|
2202 | done |
---|
2203 | done |
---|
2204 | |
---|
2205 | fi |
---|
2206 | fi |
---|
2207 | CC=$ac_cv_prog_CC |
---|
2208 | if test -n "$CC"; then |
---|
2209 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2210 | echo "${ECHO_T}$CC" >&6 |
---|
2211 | else |
---|
2212 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2213 | echo "${ECHO_T}no" >&6 |
---|
2214 | fi |
---|
2215 | |
---|
2216 | test -n "$CC" && break |
---|
2217 | done |
---|
2218 | fi |
---|
2219 | if test -z "$CC"; then |
---|
2220 | ac_ct_CC=$CC |
---|
2221 | for ac_prog in cl |
---|
2222 | do |
---|
2223 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
2224 | set dummy $ac_prog; ac_word=$2 |
---|
2225 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2226 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2227 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
2228 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2229 | else |
---|
2230 | if test -n "$ac_ct_CC"; then |
---|
2231 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
2232 | else |
---|
2233 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2234 | for as_dir in $PATH |
---|
2235 | do |
---|
2236 | IFS=$as_save_IFS |
---|
2237 | test -z "$as_dir" && as_dir=. |
---|
2238 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2239 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2240 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
2241 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2242 | break 2 |
---|
2243 | fi |
---|
2244 | done |
---|
2245 | done |
---|
2246 | |
---|
2247 | fi |
---|
2248 | fi |
---|
2249 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
2250 | if test -n "$ac_ct_CC"; then |
---|
2251 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
2252 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
2253 | else |
---|
2254 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2255 | echo "${ECHO_T}no" >&6 |
---|
2256 | fi |
---|
2257 | |
---|
2258 | test -n "$ac_ct_CC" && break |
---|
2259 | done |
---|
2260 | |
---|
2261 | CC=$ac_ct_CC |
---|
2262 | fi |
---|
2263 | |
---|
2264 | fi |
---|
2265 | |
---|
2266 | |
---|
2267 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
---|
2268 | See \`config.log' for more details." >&5 |
---|
2269 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
---|
2270 | See \`config.log' for more details." >&2;} |
---|
2271 | { (exit 1); exit 1; }; } |
---|
2272 | |
---|
2273 | # Provide some information about the compiler. |
---|
2274 | echo "$as_me:$LINENO:" \ |
---|
2275 | "checking for C compiler version" >&5 |
---|
2276 | ac_compiler=`set X $ac_compile; echo $2` |
---|
2277 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
---|
2278 | (eval $ac_compiler --version </dev/null >&5) 2>&5 |
---|
2279 | ac_status=$? |
---|
2280 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2281 | (exit $ac_status); } |
---|
2282 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
---|
2283 | (eval $ac_compiler -v </dev/null >&5) 2>&5 |
---|
2284 | ac_status=$? |
---|
2285 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2286 | (exit $ac_status); } |
---|
2287 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
---|
2288 | (eval $ac_compiler -V </dev/null >&5) 2>&5 |
---|
2289 | ac_status=$? |
---|
2290 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2291 | (exit $ac_status); } |
---|
2292 | |
---|
2293 | cat >conftest.$ac_ext <<_ACEOF |
---|
2294 | /* confdefs.h. */ |
---|
2295 | _ACEOF |
---|
2296 | cat confdefs.h >>conftest.$ac_ext |
---|
2297 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2298 | /* end confdefs.h. */ |
---|
2299 | |
---|
2300 | int |
---|
2301 | main () |
---|
2302 | { |
---|
2303 | |
---|
2304 | ; |
---|
2305 | return 0; |
---|
2306 | } |
---|
2307 | _ACEOF |
---|
2308 | ac_clean_files_save=$ac_clean_files |
---|
2309 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
---|
2310 | # Try to create an executable without -o first, disregard a.out. |
---|
2311 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
2312 | # of exeext. |
---|
2313 | echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
---|
2314 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
---|
2315 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
2316 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
---|
2317 | (eval $ac_link_default) 2>&5 |
---|
2318 | ac_status=$? |
---|
2319 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2320 | (exit $ac_status); }; then |
---|
2321 | # Find the output, starting from the most likely. This scheme is |
---|
2322 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last |
---|
2323 | # resort. |
---|
2324 | |
---|
2325 | # Be careful to initialize this variable, since it used to be cached. |
---|
2326 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
---|
2327 | ac_cv_exeext= |
---|
2328 | # b.out is created by i960 compilers. |
---|
2329 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
---|
2330 | do |
---|
2331 | test -f "$ac_file" || continue |
---|
2332 | case $ac_file in |
---|
2333 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
---|
2334 | ;; |
---|
2335 | conftest.$ac_ext ) |
---|
2336 | # This is the source file. |
---|
2337 | ;; |
---|
2338 | [ab].out ) |
---|
2339 | # We found the default executable, but exeext='' is most |
---|
2340 | # certainly right. |
---|
2341 | break;; |
---|
2342 | *.* ) |
---|
2343 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
2344 | # FIXME: I believe we export ac_cv_exeext for Libtool, |
---|
2345 | # but it would be cool to find out if it's true. Does anybody |
---|
2346 | # maintain Libtool? --akim. |
---|
2347 | export ac_cv_exeext |
---|
2348 | break;; |
---|
2349 | * ) |
---|
2350 | break;; |
---|
2351 | esac |
---|
2352 | done |
---|
2353 | else |
---|
2354 | echo "$as_me: failed program was:" >&5 |
---|
2355 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2356 | |
---|
2357 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
---|
2358 | See \`config.log' for more details." >&5 |
---|
2359 | echo "$as_me: error: C compiler cannot create executables |
---|
2360 | See \`config.log' for more details." >&2;} |
---|
2361 | { (exit 77); exit 77; }; } |
---|
2362 | fi |
---|
2363 | |
---|
2364 | ac_exeext=$ac_cv_exeext |
---|
2365 | echo "$as_me:$LINENO: result: $ac_file" >&5 |
---|
2366 | echo "${ECHO_T}$ac_file" >&6 |
---|
2367 | |
---|
2368 | # Check the compiler produces executables we can run. If not, either |
---|
2369 | # the compiler is broken, or we cross compile. |
---|
2370 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
---|
2371 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
---|
2372 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
---|
2373 | # If not cross compiling, check that we can run a simple program. |
---|
2374 | if test "$cross_compiling" != yes; then |
---|
2375 | if { ac_try='./$ac_file' |
---|
2376 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2377 | (eval $ac_try) 2>&5 |
---|
2378 | ac_status=$? |
---|
2379 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2380 | (exit $ac_status); }; }; then |
---|
2381 | cross_compiling=no |
---|
2382 | else |
---|
2383 | if test "$cross_compiling" = maybe; then |
---|
2384 | cross_compiling=yes |
---|
2385 | else |
---|
2386 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
---|
2387 | If you meant to cross compile, use \`--host'. |
---|
2388 | See \`config.log' for more details." >&5 |
---|
2389 | echo "$as_me: error: cannot run C compiled programs. |
---|
2390 | If you meant to cross compile, use \`--host'. |
---|
2391 | See \`config.log' for more details." >&2;} |
---|
2392 | { (exit 1); exit 1; }; } |
---|
2393 | fi |
---|
2394 | fi |
---|
2395 | fi |
---|
2396 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
2397 | echo "${ECHO_T}yes" >&6 |
---|
2398 | |
---|
2399 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
---|
2400 | ac_clean_files=$ac_clean_files_save |
---|
2401 | # Check the compiler produces executables we can run. If not, either |
---|
2402 | # the compiler is broken, or we cross compile. |
---|
2403 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
---|
2404 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
---|
2405 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
---|
2406 | echo "${ECHO_T}$cross_compiling" >&6 |
---|
2407 | |
---|
2408 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
---|
2409 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
---|
2410 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
2411 | (eval $ac_link) 2>&5 |
---|
2412 | ac_status=$? |
---|
2413 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2414 | (exit $ac_status); }; then |
---|
2415 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
2416 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
2417 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
2418 | # `rm'. |
---|
2419 | for ac_file in conftest.exe conftest conftest.*; do |
---|
2420 | test -f "$ac_file" || continue |
---|
2421 | case $ac_file in |
---|
2422 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
---|
2423 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
2424 | export ac_cv_exeext |
---|
2425 | break;; |
---|
2426 | * ) break;; |
---|
2427 | esac |
---|
2428 | done |
---|
2429 | else |
---|
2430 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
---|
2431 | See \`config.log' for more details." >&5 |
---|
2432 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
---|
2433 | See \`config.log' for more details." >&2;} |
---|
2434 | { (exit 1); exit 1; }; } |
---|
2435 | fi |
---|
2436 | |
---|
2437 | rm -f conftest$ac_cv_exeext |
---|
2438 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
---|
2439 | echo "${ECHO_T}$ac_cv_exeext" >&6 |
---|
2440 | |
---|
2441 | rm -f conftest.$ac_ext |
---|
2442 | EXEEXT=$ac_cv_exeext |
---|
2443 | ac_exeext=$EXEEXT |
---|
2444 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
---|
2445 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
---|
2446 | if test "${ac_cv_objext+set}" = set; then |
---|
2447 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2448 | else |
---|
2449 | cat >conftest.$ac_ext <<_ACEOF |
---|
2450 | /* confdefs.h. */ |
---|
2451 | _ACEOF |
---|
2452 | cat confdefs.h >>conftest.$ac_ext |
---|
2453 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2454 | /* end confdefs.h. */ |
---|
2455 | |
---|
2456 | int |
---|
2457 | main () |
---|
2458 | { |
---|
2459 | |
---|
2460 | ; |
---|
2461 | return 0; |
---|
2462 | } |
---|
2463 | _ACEOF |
---|
2464 | rm -f conftest.o conftest.obj |
---|
2465 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2466 | (eval $ac_compile) 2>&5 |
---|
2467 | ac_status=$? |
---|
2468 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2469 | (exit $ac_status); }; then |
---|
2470 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
---|
2471 | case $ac_file in |
---|
2472 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
---|
2473 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
2474 | break;; |
---|
2475 | esac |
---|
2476 | done |
---|
2477 | else |
---|
2478 | echo "$as_me: failed program was:" >&5 |
---|
2479 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2480 | |
---|
2481 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
---|
2482 | See \`config.log' for more details." >&5 |
---|
2483 | echo "$as_me: error: cannot compute suffix of object files: cannot compile |
---|
2484 | See \`config.log' for more details." >&2;} |
---|
2485 | { (exit 1); exit 1; }; } |
---|
2486 | fi |
---|
2487 | |
---|
2488 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
2489 | fi |
---|
2490 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
---|
2491 | echo "${ECHO_T}$ac_cv_objext" >&6 |
---|
2492 | OBJEXT=$ac_cv_objext |
---|
2493 | ac_objext=$OBJEXT |
---|
2494 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
---|
2495 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
---|
2496 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
---|
2497 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2498 | else |
---|
2499 | cat >conftest.$ac_ext <<_ACEOF |
---|
2500 | /* confdefs.h. */ |
---|
2501 | _ACEOF |
---|
2502 | cat confdefs.h >>conftest.$ac_ext |
---|
2503 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2504 | /* end confdefs.h. */ |
---|
2505 | |
---|
2506 | int |
---|
2507 | main () |
---|
2508 | { |
---|
2509 | #ifndef __GNUC__ |
---|
2510 | choke me |
---|
2511 | #endif |
---|
2512 | |
---|
2513 | ; |
---|
2514 | return 0; |
---|
2515 | } |
---|
2516 | _ACEOF |
---|
2517 | rm -f conftest.$ac_objext |
---|
2518 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2519 | (eval $ac_compile) 2>conftest.er1 |
---|
2520 | ac_status=$? |
---|
2521 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2522 | rm -f conftest.er1 |
---|
2523 | cat conftest.err >&5 |
---|
2524 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2525 | (exit $ac_status); } && |
---|
2526 | { ac_try='test -z "$ac_c_werror_flag" |
---|
2527 | || test ! -s conftest.err' |
---|
2528 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2529 | (eval $ac_try) 2>&5 |
---|
2530 | ac_status=$? |
---|
2531 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2532 | (exit $ac_status); }; } && |
---|
2533 | { ac_try='test -s conftest.$ac_objext' |
---|
2534 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2535 | (eval $ac_try) 2>&5 |
---|
2536 | ac_status=$? |
---|
2537 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2538 | (exit $ac_status); }; }; then |
---|
2539 | ac_compiler_gnu=yes |
---|
2540 | else |
---|
2541 | echo "$as_me: failed program was:" >&5 |
---|
2542 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2543 | |
---|
2544 | ac_compiler_gnu=no |
---|
2545 | fi |
---|
2546 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2547 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
2548 | |
---|
2549 | fi |
---|
2550 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
---|
2551 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
---|
2552 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
---|
2553 | ac_test_CFLAGS=${CFLAGS+set} |
---|
2554 | ac_save_CFLAGS=$CFLAGS |
---|
2555 | CFLAGS="-g" |
---|
2556 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
---|
2557 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
---|
2558 | if test "${ac_cv_prog_cc_g+set}" = set; then |
---|
2559 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2560 | else |
---|
2561 | cat >conftest.$ac_ext <<_ACEOF |
---|
2562 | /* confdefs.h. */ |
---|
2563 | _ACEOF |
---|
2564 | cat confdefs.h >>conftest.$ac_ext |
---|
2565 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2566 | /* end confdefs.h. */ |
---|
2567 | |
---|
2568 | int |
---|
2569 | main () |
---|
2570 | { |
---|
2571 | |
---|
2572 | ; |
---|
2573 | return 0; |
---|
2574 | } |
---|
2575 | _ACEOF |
---|
2576 | rm -f conftest.$ac_objext |
---|
2577 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2578 | (eval $ac_compile) 2>conftest.er1 |
---|
2579 | ac_status=$? |
---|
2580 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2581 | rm -f conftest.er1 |
---|
2582 | cat conftest.err >&5 |
---|
2583 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2584 | (exit $ac_status); } && |
---|
2585 | { ac_try='test -z "$ac_c_werror_flag" |
---|
2586 | || test ! -s conftest.err' |
---|
2587 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2588 | (eval $ac_try) 2>&5 |
---|
2589 | ac_status=$? |
---|
2590 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2591 | (exit $ac_status); }; } && |
---|
2592 | { ac_try='test -s conftest.$ac_objext' |
---|
2593 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2594 | (eval $ac_try) 2>&5 |
---|
2595 | ac_status=$? |
---|
2596 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2597 | (exit $ac_status); }; }; then |
---|
2598 | ac_cv_prog_cc_g=yes |
---|
2599 | else |
---|
2600 | echo "$as_me: failed program was:" >&5 |
---|
2601 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2602 | |
---|
2603 | ac_cv_prog_cc_g=no |
---|
2604 | fi |
---|
2605 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2606 | fi |
---|
2607 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
---|
2608 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
---|
2609 | if test "$ac_test_CFLAGS" = set; then |
---|
2610 | CFLAGS=$ac_save_CFLAGS |
---|
2611 | elif test $ac_cv_prog_cc_g = yes; then |
---|
2612 | if test "$GCC" = yes; then |
---|
2613 | CFLAGS="-g -O2" |
---|
2614 | else |
---|
2615 | CFLAGS="-g" |
---|
2616 | fi |
---|
2617 | else |
---|
2618 | if test "$GCC" = yes; then |
---|
2619 | CFLAGS="-O2" |
---|
2620 | else |
---|
2621 | CFLAGS= |
---|
2622 | fi |
---|
2623 | fi |
---|
2624 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
---|
2625 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
---|
2626 | if test "${ac_cv_prog_cc_stdc+set}" = set; then |
---|
2627 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2628 | else |
---|
2629 | ac_cv_prog_cc_stdc=no |
---|
2630 | ac_save_CC=$CC |
---|
2631 | cat >conftest.$ac_ext <<_ACEOF |
---|
2632 | /* confdefs.h. */ |
---|
2633 | _ACEOF |
---|
2634 | cat confdefs.h >>conftest.$ac_ext |
---|
2635 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2636 | /* end confdefs.h. */ |
---|
2637 | #include <stdarg.h> |
---|
2638 | #include <stdio.h> |
---|
2639 | #include <sys/types.h> |
---|
2640 | #include <sys/stat.h> |
---|
2641 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
2642 | struct buf { int x; }; |
---|
2643 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
2644 | static char *e (p, i) |
---|
2645 | char **p; |
---|
2646 | int i; |
---|
2647 | { |
---|
2648 | return p[i]; |
---|
2649 | } |
---|
2650 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
2651 | { |
---|
2652 | char *s; |
---|
2653 | va_list v; |
---|
2654 | va_start (v,p); |
---|
2655 | s = g (p, va_arg (v,int)); |
---|
2656 | va_end (v); |
---|
2657 | return s; |
---|
2658 | } |
---|
2659 | |
---|
2660 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
2661 | function prototypes and stuff, but not '\xHH' hex character constants. |
---|
2662 | These don't provoke an error unfortunately, instead are silently treated |
---|
2663 | as 'x'. The following induces an error, until -std1 is added to get |
---|
2664 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
---|
2665 | array size at least. It's necessary to write '\x00'==0 to get something |
---|
2666 | that's true only with -std1. */ |
---|
2667 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
2668 | |
---|
2669 | int test (int i, double x); |
---|
2670 | struct s1 {int (*f) (int a);}; |
---|
2671 | struct s2 {int (*f) (double a);}; |
---|
2672 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
2673 | int argc; |
---|
2674 | char **argv; |
---|
2675 | int |
---|
2676 | main () |
---|
2677 | { |
---|
2678 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
2679 | ; |
---|
2680 | return 0; |
---|
2681 | } |
---|
2682 | _ACEOF |
---|
2683 | # Don't try gcc -ansi; that turns off useful extensions and |
---|
2684 | # breaks some systems' header files. |
---|
2685 | # AIX -qlanglvl=ansi |
---|
2686 | # Ultrix and OSF/1 -std1 |
---|
2687 | # HP-UX 10.20 and later -Ae |
---|
2688 | # HP-UX older versions -Aa -D_HPUX_SOURCE |
---|
2689 | # SVR4 -Xc -D__EXTENSIONS__ |
---|
2690 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
2691 | do |
---|
2692 | CC="$ac_save_CC $ac_arg" |
---|
2693 | rm -f conftest.$ac_objext |
---|
2694 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2695 | (eval $ac_compile) 2>conftest.er1 |
---|
2696 | ac_status=$? |
---|
2697 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2698 | rm -f conftest.er1 |
---|
2699 | cat conftest.err >&5 |
---|
2700 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2701 | (exit $ac_status); } && |
---|
2702 | { ac_try='test -z "$ac_c_werror_flag" |
---|
2703 | || test ! -s conftest.err' |
---|
2704 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2705 | (eval $ac_try) 2>&5 |
---|
2706 | ac_status=$? |
---|
2707 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2708 | (exit $ac_status); }; } && |
---|
2709 | { ac_try='test -s conftest.$ac_objext' |
---|
2710 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2711 | (eval $ac_try) 2>&5 |
---|
2712 | ac_status=$? |
---|
2713 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2714 | (exit $ac_status); }; }; then |
---|
2715 | ac_cv_prog_cc_stdc=$ac_arg |
---|
2716 | break |
---|
2717 | else |
---|
2718 | echo "$as_me: failed program was:" >&5 |
---|
2719 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2720 | |
---|
2721 | fi |
---|
2722 | rm -f conftest.err conftest.$ac_objext |
---|
2723 | done |
---|
2724 | rm -f conftest.$ac_ext conftest.$ac_objext |
---|
2725 | CC=$ac_save_CC |
---|
2726 | |
---|
2727 | fi |
---|
2728 | |
---|
2729 | case "x$ac_cv_prog_cc_stdc" in |
---|
2730 | x|xno) |
---|
2731 | echo "$as_me:$LINENO: result: none needed" >&5 |
---|
2732 | echo "${ECHO_T}none needed" >&6 ;; |
---|
2733 | *) |
---|
2734 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
---|
2735 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
---|
2736 | CC="$CC $ac_cv_prog_cc_stdc" ;; |
---|
2737 | esac |
---|
2738 | |
---|
2739 | # Some people use a C++ compiler to compile C. Since we use `exit', |
---|
2740 | # in C++ we need to declare it. In case someone uses the same compiler |
---|
2741 | # for both compiling C and C++ we need to have the C++ compiler decide |
---|
2742 | # the declaration of exit, since it's the most demanding environment. |
---|
2743 | cat >conftest.$ac_ext <<_ACEOF |
---|
2744 | #ifndef __cplusplus |
---|
2745 | choke me |
---|
2746 | #endif |
---|
2747 | _ACEOF |
---|
2748 | rm -f conftest.$ac_objext |
---|
2749 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2750 | (eval $ac_compile) 2>conftest.er1 |
---|
2751 | ac_status=$? |
---|
2752 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2753 | rm -f conftest.er1 |
---|
2754 | cat conftest.err >&5 |
---|
2755 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2756 | (exit $ac_status); } && |
---|
2757 | { ac_try='test -z "$ac_c_werror_flag" |
---|
2758 | || test ! -s conftest.err' |
---|
2759 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2760 | (eval $ac_try) 2>&5 |
---|
2761 | ac_status=$? |
---|
2762 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2763 | (exit $ac_status); }; } && |
---|
2764 | { ac_try='test -s conftest.$ac_objext' |
---|
2765 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2766 | (eval $ac_try) 2>&5 |
---|
2767 | ac_status=$? |
---|
2768 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2769 | (exit $ac_status); }; }; then |
---|
2770 | for ac_declaration in \ |
---|
2771 | '' \ |
---|
2772 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
---|
2773 | 'extern "C" void std::exit (int); using std::exit;' \ |
---|
2774 | 'extern "C" void exit (int) throw ();' \ |
---|
2775 | 'extern "C" void exit (int);' \ |
---|
2776 | 'void exit (int);' |
---|
2777 | do |
---|
2778 | cat >conftest.$ac_ext <<_ACEOF |
---|
2779 | /* confdefs.h. */ |
---|
2780 | _ACEOF |
---|
2781 | cat confdefs.h >>conftest.$ac_ext |
---|
2782 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2783 | /* end confdefs.h. */ |
---|
2784 | $ac_declaration |
---|
2785 | #include <stdlib.h> |
---|
2786 | int |
---|
2787 | main () |
---|
2788 | { |
---|
2789 | exit (42); |
---|
2790 | ; |
---|
2791 | return 0; |
---|
2792 | } |
---|
2793 | _ACEOF |
---|
2794 | rm -f conftest.$ac_objext |
---|
2795 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2796 | (eval $ac_compile) 2>conftest.er1 |
---|
2797 | ac_status=$? |
---|
2798 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2799 | rm -f conftest.er1 |
---|
2800 | cat conftest.err >&5 |
---|
2801 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2802 | (exit $ac_status); } && |
---|
2803 | { ac_try='test -z "$ac_c_werror_flag" |
---|
2804 | || test ! -s conftest.err' |
---|
2805 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2806 | (eval $ac_try) 2>&5 |
---|
2807 | ac_status=$? |
---|
2808 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2809 | (exit $ac_status); }; } && |
---|
2810 | { ac_try='test -s conftest.$ac_objext' |
---|
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); }; }; then |
---|
2816 | : |
---|
2817 | else |
---|
2818 | echo "$as_me: failed program was:" >&5 |
---|
2819 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2820 | |
---|
2821 | continue |
---|
2822 | fi |
---|
2823 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2824 | cat >conftest.$ac_ext <<_ACEOF |
---|
2825 | /* confdefs.h. */ |
---|
2826 | _ACEOF |
---|
2827 | cat confdefs.h >>conftest.$ac_ext |
---|
2828 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2829 | /* end confdefs.h. */ |
---|
2830 | $ac_declaration |
---|
2831 | int |
---|
2832 | main () |
---|
2833 | { |
---|
2834 | exit (42); |
---|
2835 | ; |
---|
2836 | return 0; |
---|
2837 | } |
---|
2838 | _ACEOF |
---|
2839 | rm -f conftest.$ac_objext |
---|
2840 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2841 | (eval $ac_compile) 2>conftest.er1 |
---|
2842 | ac_status=$? |
---|
2843 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2844 | rm -f conftest.er1 |
---|
2845 | cat conftest.err >&5 |
---|
2846 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2847 | (exit $ac_status); } && |
---|
2848 | { ac_try='test -z "$ac_c_werror_flag" |
---|
2849 | || test ! -s conftest.err' |
---|
2850 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2851 | (eval $ac_try) 2>&5 |
---|
2852 | ac_status=$? |
---|
2853 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2854 | (exit $ac_status); }; } && |
---|
2855 | { ac_try='test -s conftest.$ac_objext' |
---|
2856 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2857 | (eval $ac_try) 2>&5 |
---|
2858 | ac_status=$? |
---|
2859 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2860 | (exit $ac_status); }; }; then |
---|
2861 | break |
---|
2862 | else |
---|
2863 | echo "$as_me: failed program was:" >&5 |
---|
2864 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2865 | |
---|
2866 | fi |
---|
2867 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2868 | done |
---|
2869 | rm -f conftest* |
---|
2870 | if test -n "$ac_declaration"; then |
---|
2871 | echo '#ifdef __cplusplus' >>confdefs.h |
---|
2872 | echo $ac_declaration >>confdefs.h |
---|
2873 | echo '#endif' >>confdefs.h |
---|
2874 | fi |
---|
2875 | |
---|
2876 | else |
---|
2877 | echo "$as_me: failed program was:" >&5 |
---|
2878 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2879 | |
---|
2880 | fi |
---|
2881 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2882 | ac_ext=c |
---|
2883 | ac_cpp='$CPP $CPPFLAGS' |
---|
2884 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
2885 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
2886 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
2887 | |
---|
2888 | depcc="$CC" am_compiler_list= |
---|
2889 | |
---|
2890 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
---|
2891 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
---|
2892 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
---|
2893 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2894 | else |
---|
2895 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
---|
2896 | # We make a subdir and do the tests there. Otherwise we can end up |
---|
2897 | # making bogus files that we don't know about and never remove. For |
---|
2898 | # instance it was reported that on HP-UX the gcc test will end up |
---|
2899 | # making a dummy file named `D' -- because `-MD' means `put the output |
---|
2900 | # in D'. |
---|
2901 | mkdir conftest.dir |
---|
2902 | # Copy depcomp to subdir because otherwise we won't find it if we're |
---|
2903 | # using a relative directory. |
---|
2904 | cp "$am_depcomp" conftest.dir |
---|
2905 | cd conftest.dir |
---|
2906 | # We will build objects and dependencies in a subdirectory because |
---|
2907 | # it helps to detect inapplicable dependency modes. For instance |
---|
2908 | # both Tru64's cc and ICC support -MD to output dependencies as a |
---|
2909 | # side effect of compilation, but ICC will put the dependencies in |
---|
2910 | # the current directory while Tru64 will put them in the object |
---|
2911 | # directory. |
---|
2912 | mkdir sub |
---|
2913 | |
---|
2914 | am_cv_CC_dependencies_compiler_type=none |
---|
2915 | if test "$am_compiler_list" = ""; then |
---|
2916 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
---|
2917 | fi |
---|
2918 | for depmode in $am_compiler_list; do |
---|
2919 | # Setup a source with many dependencies, because some compilers |
---|
2920 | # like to wrap large dependency lists on column 80 (with \), and |
---|
2921 | # we should not choose a depcomp mode which is confused by this. |
---|
2922 | # |
---|
2923 | # We need to recreate these files for each test, as the compiler may |
---|
2924 | # overwrite some of them when testing with obscure command lines. |
---|
2925 | # This happens at least with the AIX C compiler. |
---|
2926 | : > sub/conftest.c |
---|
2927 | for i in 1 2 3 4 5 6; do |
---|
2928 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
---|
2929 | : > sub/conftst$i.h |
---|
2930 | done |
---|
2931 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
---|
2932 | |
---|
2933 | case $depmode in |
---|
2934 | nosideeffect) |
---|
2935 | # after this tag, mechanisms are not by side-effect, so they'll |
---|
2936 | # only be used when explicitly requested |
---|
2937 | if test "x$enable_dependency_tracking" = xyes; then |
---|
2938 | continue |
---|
2939 | else |
---|
2940 | break |
---|
2941 | fi |
---|
2942 | ;; |
---|
2943 | none) break ;; |
---|
2944 | esac |
---|
2945 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
---|
2946 | # mode. It turns out that the SunPro C++ compiler does not properly |
---|
2947 | # handle `-M -o', and we need to detect this. |
---|
2948 | if depmode=$depmode \ |
---|
2949 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
---|
2950 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
---|
2951 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
---|
2952 | >/dev/null 2>conftest.err && |
---|
2953 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
---|
2954 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
---|
2955 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
---|
2956 | # icc doesn't choke on unknown options, it will just issue warnings |
---|
2957 | # (even with -Werror). So we grep stderr for any message |
---|
2958 | # that says an option was ignored. |
---|
2959 | if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
---|
2960 | am_cv_CC_dependencies_compiler_type=$depmode |
---|
2961 | break |
---|
2962 | fi |
---|
2963 | fi |
---|
2964 | done |
---|
2965 | |
---|
2966 | cd .. |
---|
2967 | rm -rf conftest.dir |
---|
2968 | else |
---|
2969 | am_cv_CC_dependencies_compiler_type=none |
---|
2970 | fi |
---|
2971 | |
---|
2972 | fi |
---|
2973 | echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
---|
2974 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
---|
2975 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
---|
2976 | |
---|
2977 | |
---|
2978 | |
---|
2979 | if |
---|
2980 | test "x$enable_dependency_tracking" != xno \ |
---|
2981 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
---|
2982 | am__fastdepCC_TRUE= |
---|
2983 | am__fastdepCC_FALSE='#' |
---|
2984 | else |
---|
2985 | am__fastdepCC_TRUE='#' |
---|
2986 | am__fastdepCC_FALSE= |
---|
2987 | fi |
---|
2988 | |
---|
2989 | |
---|
2990 | |
---|
2991 | ac_ext=c |
---|
2992 | ac_cpp='$CPP $CPPFLAGS' |
---|
2993 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
2994 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
2995 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
2996 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
---|
2997 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
---|
2998 | # On Suns, sometimes $CPP names a directory. |
---|
2999 | if test -n "$CPP" && test -d "$CPP"; then |
---|
3000 | CPP= |
---|
3001 | fi |
---|
3002 | if test -z "$CPP"; then |
---|
3003 | if test "${ac_cv_prog_CPP+set}" = set; then |
---|
3004 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3005 | else |
---|
3006 | # Double quotes because CPP needs to be expanded |
---|
3007 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
---|
3008 | do |
---|
3009 | ac_preproc_ok=false |
---|
3010 | for ac_c_preproc_warn_flag in '' yes |
---|
3011 | do |
---|
3012 | # Use a header file that comes with gcc, so configuring glibc |
---|
3013 | # with a fresh cross-compiler works. |
---|
3014 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
3015 | # <limits.h> exists even on freestanding compilers. |
---|
3016 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
3017 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
3018 | cat >conftest.$ac_ext <<_ACEOF |
---|
3019 | /* confdefs.h. */ |
---|
3020 | _ACEOF |
---|
3021 | cat confdefs.h >>conftest.$ac_ext |
---|
3022 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3023 | /* end confdefs.h. */ |
---|
3024 | #ifdef __STDC__ |
---|
3025 | # include <limits.h> |
---|
3026 | #else |
---|
3027 | # include <assert.h> |
---|
3028 | #endif |
---|
3029 | Syntax error |
---|
3030 | _ACEOF |
---|
3031 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
3032 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
3033 | ac_status=$? |
---|
3034 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3035 | rm -f conftest.er1 |
---|
3036 | cat conftest.err >&5 |
---|
3037 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3038 | (exit $ac_status); } >/dev/null; then |
---|
3039 | if test -s conftest.err; then |
---|
3040 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
3041 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
3042 | else |
---|
3043 | ac_cpp_err= |
---|
3044 | fi |
---|
3045 | else |
---|
3046 | ac_cpp_err=yes |
---|
3047 | fi |
---|
3048 | if test -z "$ac_cpp_err"; then |
---|
3049 | : |
---|
3050 | else |
---|
3051 | echo "$as_me: failed program was:" >&5 |
---|
3052 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3053 | |
---|
3054 | # Broken: fails on valid input. |
---|
3055 | continue |
---|
3056 | fi |
---|
3057 | rm -f conftest.err conftest.$ac_ext |
---|
3058 | |
---|
3059 | # OK, works on sane cases. Now check whether non-existent headers |
---|
3060 | # can be detected and how. |
---|
3061 | cat >conftest.$ac_ext <<_ACEOF |
---|
3062 | /* confdefs.h. */ |
---|
3063 | _ACEOF |
---|
3064 | cat confdefs.h >>conftest.$ac_ext |
---|
3065 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3066 | /* end confdefs.h. */ |
---|
3067 | #include <ac_nonexistent.h> |
---|
3068 | _ACEOF |
---|
3069 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
3070 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
3071 | ac_status=$? |
---|
3072 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3073 | rm -f conftest.er1 |
---|
3074 | cat conftest.err >&5 |
---|
3075 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3076 | (exit $ac_status); } >/dev/null; then |
---|
3077 | if test -s conftest.err; then |
---|
3078 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
3079 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
3080 | else |
---|
3081 | ac_cpp_err= |
---|
3082 | fi |
---|
3083 | else |
---|
3084 | ac_cpp_err=yes |
---|
3085 | fi |
---|
3086 | if test -z "$ac_cpp_err"; then |
---|
3087 | # Broken: success on invalid input. |
---|
3088 | continue |
---|
3089 | else |
---|
3090 | echo "$as_me: failed program was:" >&5 |
---|
3091 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3092 | |
---|
3093 | # Passes both tests. |
---|
3094 | ac_preproc_ok=: |
---|
3095 | break |
---|
3096 | fi |
---|
3097 | rm -f conftest.err conftest.$ac_ext |
---|
3098 | |
---|
3099 | done |
---|
3100 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
3101 | rm -f conftest.err conftest.$ac_ext |
---|
3102 | if $ac_preproc_ok; then |
---|
3103 | break |
---|
3104 | fi |
---|
3105 | |
---|
3106 | done |
---|
3107 | ac_cv_prog_CPP=$CPP |
---|
3108 | |
---|
3109 | fi |
---|
3110 | CPP=$ac_cv_prog_CPP |
---|
3111 | else |
---|
3112 | ac_cv_prog_CPP=$CPP |
---|
3113 | fi |
---|
3114 | echo "$as_me:$LINENO: result: $CPP" >&5 |
---|
3115 | echo "${ECHO_T}$CPP" >&6 |
---|
3116 | ac_preproc_ok=false |
---|
3117 | for ac_c_preproc_warn_flag in '' yes |
---|
3118 | do |
---|
3119 | # Use a header file that comes with gcc, so configuring glibc |
---|
3120 | # with a fresh cross-compiler works. |
---|
3121 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
3122 | # <limits.h> exists even on freestanding compilers. |
---|
3123 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
3124 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
3125 | cat >conftest.$ac_ext <<_ACEOF |
---|
3126 | /* confdefs.h. */ |
---|
3127 | _ACEOF |
---|
3128 | cat confdefs.h >>conftest.$ac_ext |
---|
3129 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3130 | /* end confdefs.h. */ |
---|
3131 | #ifdef __STDC__ |
---|
3132 | # include <limits.h> |
---|
3133 | #else |
---|
3134 | # include <assert.h> |
---|
3135 | #endif |
---|
3136 | Syntax error |
---|
3137 | _ACEOF |
---|
3138 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
3139 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
3140 | ac_status=$? |
---|
3141 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3142 | rm -f conftest.er1 |
---|
3143 | cat conftest.err >&5 |
---|
3144 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3145 | (exit $ac_status); } >/dev/null; then |
---|
3146 | if test -s conftest.err; then |
---|
3147 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
3148 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
3149 | else |
---|
3150 | ac_cpp_err= |
---|
3151 | fi |
---|
3152 | else |
---|
3153 | ac_cpp_err=yes |
---|
3154 | fi |
---|
3155 | if test -z "$ac_cpp_err"; then |
---|
3156 | : |
---|
3157 | else |
---|
3158 | echo "$as_me: failed program was:" >&5 |
---|
3159 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3160 | |
---|
3161 | # Broken: fails on valid input. |
---|
3162 | continue |
---|
3163 | fi |
---|
3164 | rm -f conftest.err conftest.$ac_ext |
---|
3165 | |
---|
3166 | # OK, works on sane cases. Now check whether non-existent headers |
---|
3167 | # can be detected and how. |
---|
3168 | cat >conftest.$ac_ext <<_ACEOF |
---|
3169 | /* confdefs.h. */ |
---|
3170 | _ACEOF |
---|
3171 | cat confdefs.h >>conftest.$ac_ext |
---|
3172 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3173 | /* end confdefs.h. */ |
---|
3174 | #include <ac_nonexistent.h> |
---|
3175 | _ACEOF |
---|
3176 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
3177 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
3178 | ac_status=$? |
---|
3179 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3180 | rm -f conftest.er1 |
---|
3181 | cat conftest.err >&5 |
---|
3182 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3183 | (exit $ac_status); } >/dev/null; then |
---|
3184 | if test -s conftest.err; then |
---|
3185 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
3186 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
3187 | else |
---|
3188 | ac_cpp_err= |
---|
3189 | fi |
---|
3190 | else |
---|
3191 | ac_cpp_err=yes |
---|
3192 | fi |
---|
3193 | if test -z "$ac_cpp_err"; then |
---|
3194 | # Broken: success on invalid input. |
---|
3195 | continue |
---|
3196 | else |
---|
3197 | echo "$as_me: failed program was:" >&5 |
---|
3198 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3199 | |
---|
3200 | # Passes both tests. |
---|
3201 | ac_preproc_ok=: |
---|
3202 | break |
---|
3203 | fi |
---|
3204 | rm -f conftest.err conftest.$ac_ext |
---|
3205 | |
---|
3206 | done |
---|
3207 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
3208 | rm -f conftest.err conftest.$ac_ext |
---|
3209 | if $ac_preproc_ok; then |
---|
3210 | : |
---|
3211 | else |
---|
3212 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
---|
3213 | See \`config.log' for more details." >&5 |
---|
3214 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
---|
3215 | See \`config.log' for more details." >&2;} |
---|
3216 | { (exit 1); exit 1; }; } |
---|
3217 | fi |
---|
3218 | |
---|
3219 | ac_ext=c |
---|
3220 | ac_cpp='$CPP $CPPFLAGS' |
---|
3221 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3222 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3223 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3224 | |
---|
3225 | |
---|
3226 | echo "$as_me:$LINENO: checking for egrep" >&5 |
---|
3227 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
---|
3228 | if test "${ac_cv_prog_egrep+set}" = set; then |
---|
3229 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3230 | else |
---|
3231 | if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
---|
3232 | then ac_cv_prog_egrep='grep -E' |
---|
3233 | else ac_cv_prog_egrep='egrep' |
---|
3234 | fi |
---|
3235 | fi |
---|
3236 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
---|
3237 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
---|
3238 | EGREP=$ac_cv_prog_egrep |
---|
3239 | |
---|
3240 | |
---|
3241 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
---|
3242 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
---|
3243 | if test "${ac_cv_header_stdc+set}" = set; then |
---|
3244 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3245 | else |
---|
3246 | cat >conftest.$ac_ext <<_ACEOF |
---|
3247 | /* confdefs.h. */ |
---|
3248 | _ACEOF |
---|
3249 | cat confdefs.h >>conftest.$ac_ext |
---|
3250 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3251 | /* end confdefs.h. */ |
---|
3252 | #include <stdlib.h> |
---|
3253 | #include <stdarg.h> |
---|
3254 | #include <string.h> |
---|
3255 | #include <float.h> |
---|
3256 | |
---|
3257 | int |
---|
3258 | main () |
---|
3259 | { |
---|
3260 | |
---|
3261 | ; |
---|
3262 | return 0; |
---|
3263 | } |
---|
3264 | _ACEOF |
---|
3265 | rm -f conftest.$ac_objext |
---|
3266 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
3267 | (eval $ac_compile) 2>conftest.er1 |
---|
3268 | ac_status=$? |
---|
3269 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3270 | rm -f conftest.er1 |
---|
3271 | cat conftest.err >&5 |
---|
3272 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3273 | (exit $ac_status); } && |
---|
3274 | { ac_try='test -z "$ac_c_werror_flag" |
---|
3275 | || test ! -s conftest.err' |
---|
3276 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3277 | (eval $ac_try) 2>&5 |
---|
3278 | ac_status=$? |
---|
3279 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3280 | (exit $ac_status); }; } && |
---|
3281 | { ac_try='test -s conftest.$ac_objext' |
---|
3282 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3283 | (eval $ac_try) 2>&5 |
---|
3284 | ac_status=$? |
---|
3285 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3286 | (exit $ac_status); }; }; then |
---|
3287 | ac_cv_header_stdc=yes |
---|
3288 | else |
---|
3289 | echo "$as_me: failed program was:" >&5 |
---|
3290 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3291 | |
---|
3292 | ac_cv_header_stdc=no |
---|
3293 | fi |
---|
3294 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3295 | |
---|
3296 | if test $ac_cv_header_stdc = yes; then |
---|
3297 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
---|
3298 | cat >conftest.$ac_ext <<_ACEOF |
---|
3299 | /* confdefs.h. */ |
---|
3300 | _ACEOF |
---|
3301 | cat confdefs.h >>conftest.$ac_ext |
---|
3302 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3303 | /* end confdefs.h. */ |
---|
3304 | #include <string.h> |
---|
3305 | |
---|
3306 | _ACEOF |
---|
3307 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
3308 | $EGREP "memchr" >/dev/null 2>&1; then |
---|
3309 | : |
---|
3310 | else |
---|
3311 | ac_cv_header_stdc=no |
---|
3312 | fi |
---|
3313 | rm -f conftest* |
---|
3314 | |
---|
3315 | fi |
---|
3316 | |
---|
3317 | if test $ac_cv_header_stdc = yes; then |
---|
3318 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
---|
3319 | cat >conftest.$ac_ext <<_ACEOF |
---|
3320 | /* confdefs.h. */ |
---|
3321 | _ACEOF |
---|
3322 | cat confdefs.h >>conftest.$ac_ext |
---|
3323 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3324 | /* end confdefs.h. */ |
---|
3325 | #include <stdlib.h> |
---|
3326 | |
---|
3327 | _ACEOF |
---|
3328 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
3329 | $EGREP "free" >/dev/null 2>&1; then |
---|
3330 | : |
---|
3331 | else |
---|
3332 | ac_cv_header_stdc=no |
---|
3333 | fi |
---|
3334 | rm -f conftest* |
---|
3335 | |
---|
3336 | fi |
---|
3337 | |
---|
3338 | if test $ac_cv_header_stdc = yes; then |
---|
3339 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
---|
3340 | if test "$cross_compiling" = yes; then |
---|
3341 | : |
---|
3342 | else |
---|
3343 | cat >conftest.$ac_ext <<_ACEOF |
---|
3344 | /* confdefs.h. */ |
---|
3345 | _ACEOF |
---|
3346 | cat confdefs.h >>conftest.$ac_ext |
---|
3347 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3348 | /* end confdefs.h. */ |
---|
3349 | #include <ctype.h> |
---|
3350 | #if ((' ' & 0x0FF) == 0x020) |
---|
3351 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
---|
3352 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
---|
3353 | #else |
---|
3354 | # define ISLOWER(c) \ |
---|
3355 | (('a' <= (c) && (c) <= 'i') \ |
---|
3356 | || ('j' <= (c) && (c) <= 'r') \ |
---|
3357 | || ('s' <= (c) && (c) <= 'z')) |
---|
3358 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
---|
3359 | #endif |
---|
3360 | |
---|
3361 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
---|
3362 | int |
---|
3363 | main () |
---|
3364 | { |
---|
3365 | int i; |
---|
3366 | for (i = 0; i < 256; i++) |
---|
3367 | if (XOR (islower (i), ISLOWER (i)) |
---|
3368 | || toupper (i) != TOUPPER (i)) |
---|
3369 | exit(2); |
---|
3370 | exit (0); |
---|
3371 | } |
---|
3372 | _ACEOF |
---|
3373 | rm -f conftest$ac_exeext |
---|
3374 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
3375 | (eval $ac_link) 2>&5 |
---|
3376 | ac_status=$? |
---|
3377 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3378 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
---|
3379 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3380 | (eval $ac_try) 2>&5 |
---|
3381 | ac_status=$? |
---|
3382 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3383 | (exit $ac_status); }; }; then |
---|
3384 | : |
---|
3385 | else |
---|
3386 | echo "$as_me: program exited with status $ac_status" >&5 |
---|
3387 | echo "$as_me: failed program was:" >&5 |
---|
3388 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3389 | |
---|
3390 | ( exit $ac_status ) |
---|
3391 | ac_cv_header_stdc=no |
---|
3392 | fi |
---|
3393 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
---|
3394 | fi |
---|
3395 | fi |
---|
3396 | fi |
---|
3397 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
---|
3398 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
---|
3399 | if test $ac_cv_header_stdc = yes; then |
---|
3400 | |
---|
3401 | cat >>confdefs.h <<\_ACEOF |
---|
3402 | #define STDC_HEADERS 1 |
---|
3403 | _ACEOF |
---|
3404 | |
---|
3405 | fi |
---|
3406 | |
---|
3407 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
---|
3408 | |
---|
3409 | |
---|
3410 | |
---|
3411 | |
---|
3412 | |
---|
3413 | |
---|
3414 | |
---|
3415 | |
---|
3416 | |
---|
3417 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
---|
3418 | inttypes.h stdint.h unistd.h |
---|
3419 | do |
---|
3420 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
3421 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
3422 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
---|
3423 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
---|
3424 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3425 | else |
---|
3426 | cat >conftest.$ac_ext <<_ACEOF |
---|
3427 | /* confdefs.h. */ |
---|
3428 | _ACEOF |
---|
3429 | cat confdefs.h >>conftest.$ac_ext |
---|
3430 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3431 | /* end confdefs.h. */ |
---|
3432 | $ac_includes_default |
---|
3433 | |
---|
3434 | #include <$ac_header> |
---|
3435 | _ACEOF |
---|
3436 | rm -f conftest.$ac_objext |
---|
3437 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
3438 | (eval $ac_compile) 2>conftest.er1 |
---|
3439 | ac_status=$? |
---|
3440 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3441 | rm -f conftest.er1 |
---|
3442 | cat conftest.err >&5 |
---|
3443 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3444 | (exit $ac_status); } && |
---|
3445 | { ac_try='test -z "$ac_c_werror_flag" |
---|
3446 | || test ! -s conftest.err' |
---|
3447 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3448 | (eval $ac_try) 2>&5 |
---|
3449 | ac_status=$? |
---|
3450 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3451 | (exit $ac_status); }; } && |
---|
3452 | { ac_try='test -s conftest.$ac_objext' |
---|
3453 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3454 | (eval $ac_try) 2>&5 |
---|
3455 | ac_status=$? |
---|
3456 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3457 | (exit $ac_status); }; }; then |
---|
3458 | eval "$as_ac_Header=yes" |
---|
3459 | else |
---|
3460 | echo "$as_me: failed program was:" >&5 |
---|
3461 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3462 | |
---|
3463 | eval "$as_ac_Header=no" |
---|
3464 | fi |
---|
3465 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3466 | fi |
---|
3467 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
---|
3468 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
---|
3469 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
---|
3470 | cat >>confdefs.h <<_ACEOF |
---|
3471 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
3472 | _ACEOF |
---|
3473 | |
---|
3474 | fi |
---|
3475 | |
---|
3476 | done |
---|
3477 | |
---|
3478 | |
---|
3479 | |
---|
3480 | |
---|
3481 | for ac_header in locale.h |
---|
3482 | do |
---|
3483 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
3484 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
---|
3485 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
3486 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
---|
3487 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
---|
3488 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3489 | fi |
---|
3490 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
---|
3491 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
---|
3492 | else |
---|
3493 | # Is the header compilable? |
---|
3494 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
---|
3495 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
---|
3496 | cat >conftest.$ac_ext <<_ACEOF |
---|
3497 | /* confdefs.h. */ |
---|
3498 | _ACEOF |
---|
3499 | cat confdefs.h >>conftest.$ac_ext |
---|
3500 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3501 | /* end confdefs.h. */ |
---|
3502 | $ac_includes_default |
---|
3503 | #include <$ac_header> |
---|
3504 | _ACEOF |
---|
3505 | rm -f conftest.$ac_objext |
---|
3506 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
3507 | (eval $ac_compile) 2>conftest.er1 |
---|
3508 | ac_status=$? |
---|
3509 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3510 | rm -f conftest.er1 |
---|
3511 | cat conftest.err >&5 |
---|
3512 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3513 | (exit $ac_status); } && |
---|
3514 | { ac_try='test -z "$ac_c_werror_flag" |
---|
3515 | || test ! -s conftest.err' |
---|
3516 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3517 | (eval $ac_try) 2>&5 |
---|
3518 | ac_status=$? |
---|
3519 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3520 | (exit $ac_status); }; } && |
---|
3521 | { ac_try='test -s conftest.$ac_objext' |
---|
3522 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3523 | (eval $ac_try) 2>&5 |
---|
3524 | ac_status=$? |
---|
3525 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3526 | (exit $ac_status); }; }; then |
---|
3527 | ac_header_compiler=yes |
---|
3528 | else |
---|
3529 | echo "$as_me: failed program was:" >&5 |
---|
3530 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3531 | |
---|
3532 | ac_header_compiler=no |
---|
3533 | fi |
---|
3534 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3535 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
---|
3536 | echo "${ECHO_T}$ac_header_compiler" >&6 |
---|
3537 | |
---|
3538 | # Is the header present? |
---|
3539 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
---|
3540 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
---|
3541 | cat >conftest.$ac_ext <<_ACEOF |
---|
3542 | /* confdefs.h. */ |
---|
3543 | _ACEOF |
---|
3544 | cat confdefs.h >>conftest.$ac_ext |
---|
3545 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3546 | /* end confdefs.h. */ |
---|
3547 | #include <$ac_header> |
---|
3548 | _ACEOF |
---|
3549 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
3550 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
3551 | ac_status=$? |
---|
3552 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3553 | rm -f conftest.er1 |
---|
3554 | cat conftest.err >&5 |
---|
3555 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3556 | (exit $ac_status); } >/dev/null; then |
---|
3557 | if test -s conftest.err; then |
---|
3558 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
3559 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
3560 | else |
---|
3561 | ac_cpp_err= |
---|
3562 | fi |
---|
3563 | else |
---|
3564 | ac_cpp_err=yes |
---|
3565 | fi |
---|
3566 | if test -z "$ac_cpp_err"; then |
---|
3567 | ac_header_preproc=yes |
---|
3568 | else |
---|
3569 | echo "$as_me: failed program was:" >&5 |
---|
3570 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3571 | |
---|
3572 | ac_header_preproc=no |
---|
3573 | fi |
---|
3574 | rm -f conftest.err conftest.$ac_ext |
---|
3575 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
---|
3576 | echo "${ECHO_T}$ac_header_preproc" >&6 |
---|
3577 | |
---|
3578 | # So? What about this header? |
---|
3579 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
---|
3580 | yes:no: ) |
---|
3581 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
3582 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
3583 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
---|
3584 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
---|
3585 | ac_header_preproc=yes |
---|
3586 | ;; |
---|
3587 | no:yes:* ) |
---|
3588 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
---|
3589 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
---|
3590 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
---|
3591 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
---|
3592 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
---|
3593 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
---|
3594 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
---|
3595 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
3596 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
---|
3597 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
---|
3598 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
---|
3599 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
---|
3600 | ( |
---|
3601 | cat <<\_ASBOX |
---|
3602 | ## ------------------------------------------------------------------------------ ## |
---|
3603 | ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-mime-data ## |
---|
3604 | ## ------------------------------------------------------------------------------ ## |
---|
3605 | _ASBOX |
---|
3606 | ) | |
---|
3607 | sed "s/^/$as_me: WARNING: /" >&2 |
---|
3608 | ;; |
---|
3609 | esac |
---|
3610 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
3611 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
---|
3612 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
---|
3613 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3614 | else |
---|
3615 | eval "$as_ac_Header=\$ac_header_preproc" |
---|
3616 | fi |
---|
3617 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
---|
3618 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
---|
3619 | |
---|
3620 | fi |
---|
3621 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
---|
3622 | cat >>confdefs.h <<_ACEOF |
---|
3623 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
3624 | _ACEOF |
---|
3625 | |
---|
3626 | fi |
---|
3627 | |
---|
3628 | done |
---|
3629 | |
---|
3630 | if test $ac_cv_header_locale_h = yes; then |
---|
3631 | echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5 |
---|
3632 | echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6 |
---|
3633 | if test "${am_cv_val_LC_MESSAGES+set}" = set; then |
---|
3634 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3635 | else |
---|
3636 | cat >conftest.$ac_ext <<_ACEOF |
---|
3637 | /* confdefs.h. */ |
---|
3638 | _ACEOF |
---|
3639 | cat confdefs.h >>conftest.$ac_ext |
---|
3640 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3641 | /* end confdefs.h. */ |
---|
3642 | #include <locale.h> |
---|
3643 | int |
---|
3644 | main () |
---|
3645 | { |
---|
3646 | return LC_MESSAGES |
---|
3647 | ; |
---|
3648 | return 0; |
---|
3649 | } |
---|
3650 | _ACEOF |
---|
3651 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3652 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
3653 | (eval $ac_link) 2>conftest.er1 |
---|
3654 | ac_status=$? |
---|
3655 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3656 | rm -f conftest.er1 |
---|
3657 | cat conftest.err >&5 |
---|
3658 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3659 | (exit $ac_status); } && |
---|
3660 | { ac_try='test -z "$ac_c_werror_flag" |
---|
3661 | || test ! -s conftest.err' |
---|
3662 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3663 | (eval $ac_try) 2>&5 |
---|
3664 | ac_status=$? |
---|
3665 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3666 | (exit $ac_status); }; } && |
---|
3667 | { ac_try='test -s conftest$ac_exeext' |
---|
3668 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3669 | (eval $ac_try) 2>&5 |
---|
3670 | ac_status=$? |
---|
3671 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3672 | (exit $ac_status); }; }; then |
---|
3673 | am_cv_val_LC_MESSAGES=yes |
---|
3674 | else |
---|
3675 | echo "$as_me: failed program was:" >&5 |
---|
3676 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3677 | |
---|
3678 | am_cv_val_LC_MESSAGES=no |
---|
3679 | fi |
---|
3680 | rm -f conftest.err conftest.$ac_objext \ |
---|
3681 | conftest$ac_exeext conftest.$ac_ext |
---|
3682 | fi |
---|
3683 | echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5 |
---|
3684 | echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6 |
---|
3685 | if test $am_cv_val_LC_MESSAGES = yes; then |
---|
3686 | |
---|
3687 | cat >>confdefs.h <<\_ACEOF |
---|
3688 | #define HAVE_LC_MESSAGES 1 |
---|
3689 | _ACEOF |
---|
3690 | |
---|
3691 | fi |
---|
3692 | fi |
---|
3693 | USE_NLS=yes |
---|
3694 | |
---|
3695 | |
---|
3696 | gt_cv_have_gettext=no |
---|
3697 | |
---|
3698 | CATOBJEXT=NONE |
---|
3699 | XGETTEXT=: |
---|
3700 | INTLLIBS= |
---|
3701 | |
---|
3702 | if test "${ac_cv_header_libintl_h+set}" = set; then |
---|
3703 | echo "$as_me:$LINENO: checking for libintl.h" >&5 |
---|
3704 | echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 |
---|
3705 | if test "${ac_cv_header_libintl_h+set}" = set; then |
---|
3706 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3707 | fi |
---|
3708 | echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 |
---|
3709 | echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 |
---|
3710 | else |
---|
3711 | # Is the header compilable? |
---|
3712 | echo "$as_me:$LINENO: checking libintl.h usability" >&5 |
---|
3713 | echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6 |
---|
3714 | cat >conftest.$ac_ext <<_ACEOF |
---|
3715 | /* confdefs.h. */ |
---|
3716 | _ACEOF |
---|
3717 | cat confdefs.h >>conftest.$ac_ext |
---|
3718 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3719 | /* end confdefs.h. */ |
---|
3720 | $ac_includes_default |
---|
3721 | #include <libintl.h> |
---|
3722 | _ACEOF |
---|
3723 | rm -f conftest.$ac_objext |
---|
3724 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
3725 | (eval $ac_compile) 2>conftest.er1 |
---|
3726 | ac_status=$? |
---|
3727 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3728 | rm -f conftest.er1 |
---|
3729 | cat conftest.err >&5 |
---|
3730 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3731 | (exit $ac_status); } && |
---|
3732 | { ac_try='test -z "$ac_c_werror_flag" |
---|
3733 | || test ! -s conftest.err' |
---|
3734 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3735 | (eval $ac_try) 2>&5 |
---|
3736 | ac_status=$? |
---|
3737 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3738 | (exit $ac_status); }; } && |
---|
3739 | { ac_try='test -s conftest.$ac_objext' |
---|
3740 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3741 | (eval $ac_try) 2>&5 |
---|
3742 | ac_status=$? |
---|
3743 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3744 | (exit $ac_status); }; }; then |
---|
3745 | ac_header_compiler=yes |
---|
3746 | else |
---|
3747 | echo "$as_me: failed program was:" >&5 |
---|
3748 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3749 | |
---|
3750 | ac_header_compiler=no |
---|
3751 | fi |
---|
3752 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3753 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
---|
3754 | echo "${ECHO_T}$ac_header_compiler" >&6 |
---|
3755 | |
---|
3756 | # Is the header present? |
---|
3757 | echo "$as_me:$LINENO: checking libintl.h presence" >&5 |
---|
3758 | echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6 |
---|
3759 | cat >conftest.$ac_ext <<_ACEOF |
---|
3760 | /* confdefs.h. */ |
---|
3761 | _ACEOF |
---|
3762 | cat confdefs.h >>conftest.$ac_ext |
---|
3763 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3764 | /* end confdefs.h. */ |
---|
3765 | #include <libintl.h> |
---|
3766 | _ACEOF |
---|
3767 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
3768 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
3769 | ac_status=$? |
---|
3770 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3771 | rm -f conftest.er1 |
---|
3772 | cat conftest.err >&5 |
---|
3773 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3774 | (exit $ac_status); } >/dev/null; then |
---|
3775 | if test -s conftest.err; then |
---|
3776 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
3777 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
3778 | else |
---|
3779 | ac_cpp_err= |
---|
3780 | fi |
---|
3781 | else |
---|
3782 | ac_cpp_err=yes |
---|
3783 | fi |
---|
3784 | if test -z "$ac_cpp_err"; then |
---|
3785 | ac_header_preproc=yes |
---|
3786 | else |
---|
3787 | echo "$as_me: failed program was:" >&5 |
---|
3788 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3789 | |
---|
3790 | ac_header_preproc=no |
---|
3791 | fi |
---|
3792 | rm -f conftest.err conftest.$ac_ext |
---|
3793 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
---|
3794 | echo "${ECHO_T}$ac_header_preproc" >&6 |
---|
3795 | |
---|
3796 | # So? What about this header? |
---|
3797 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
---|
3798 | yes:no: ) |
---|
3799 | { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
3800 | echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
3801 | { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5 |
---|
3802 | echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;} |
---|
3803 | ac_header_preproc=yes |
---|
3804 | ;; |
---|
3805 | no:yes:* ) |
---|
3806 | { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5 |
---|
3807 | echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;} |
---|
3808 | { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5 |
---|
3809 | echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;} |
---|
3810 | { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5 |
---|
3811 | echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;} |
---|
3812 | { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5 |
---|
3813 | echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
3814 | { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 |
---|
3815 | echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;} |
---|
3816 | { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5 |
---|
3817 | echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;} |
---|
3818 | ( |
---|
3819 | cat <<\_ASBOX |
---|
3820 | ## ------------------------------------------------------------------------------ ## |
---|
3821 | ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-mime-data ## |
---|
3822 | ## ------------------------------------------------------------------------------ ## |
---|
3823 | _ASBOX |
---|
3824 | ) | |
---|
3825 | sed "s/^/$as_me: WARNING: /" >&2 |
---|
3826 | ;; |
---|
3827 | esac |
---|
3828 | echo "$as_me:$LINENO: checking for libintl.h" >&5 |
---|
3829 | echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 |
---|
3830 | if test "${ac_cv_header_libintl_h+set}" = set; then |
---|
3831 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3832 | else |
---|
3833 | ac_cv_header_libintl_h=$ac_header_preproc |
---|
3834 | fi |
---|
3835 | echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 |
---|
3836 | echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 |
---|
3837 | |
---|
3838 | fi |
---|
3839 | if test $ac_cv_header_libintl_h = yes; then |
---|
3840 | gt_cv_func_dgettext_libintl="no" |
---|
3841 | libintl_extra_libs="" |
---|
3842 | |
---|
3843 | # |
---|
3844 | # First check in libc |
---|
3845 | # |
---|
3846 | echo "$as_me:$LINENO: checking for dgettext in libc" >&5 |
---|
3847 | echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6 |
---|
3848 | if test "${gt_cv_func_dgettext_libc+set}" = set; then |
---|
3849 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3850 | else |
---|
3851 | cat >conftest.$ac_ext <<_ACEOF |
---|
3852 | /* confdefs.h. */ |
---|
3853 | _ACEOF |
---|
3854 | cat confdefs.h >>conftest.$ac_ext |
---|
3855 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3856 | /* end confdefs.h. */ |
---|
3857 | |
---|
3858 | #include <libintl.h> |
---|
3859 | |
---|
3860 | int |
---|
3861 | main () |
---|
3862 | { |
---|
3863 | return (int) dgettext ("","") |
---|
3864 | ; |
---|
3865 | return 0; |
---|
3866 | } |
---|
3867 | _ACEOF |
---|
3868 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3869 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
3870 | (eval $ac_link) 2>conftest.er1 |
---|
3871 | ac_status=$? |
---|
3872 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3873 | rm -f conftest.er1 |
---|
3874 | cat conftest.err >&5 |
---|
3875 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3876 | (exit $ac_status); } && |
---|
3877 | { ac_try='test -z "$ac_c_werror_flag" |
---|
3878 | || test ! -s conftest.err' |
---|
3879 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3880 | (eval $ac_try) 2>&5 |
---|
3881 | ac_status=$? |
---|
3882 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3883 | (exit $ac_status); }; } && |
---|
3884 | { ac_try='test -s conftest$ac_exeext' |
---|
3885 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3886 | (eval $ac_try) 2>&5 |
---|
3887 | ac_status=$? |
---|
3888 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3889 | (exit $ac_status); }; }; then |
---|
3890 | gt_cv_func_dgettext_libc=yes |
---|
3891 | else |
---|
3892 | echo "$as_me: failed program was:" >&5 |
---|
3893 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3894 | |
---|
3895 | gt_cv_func_dgettext_libc=no |
---|
3896 | fi |
---|
3897 | rm -f conftest.err conftest.$ac_objext \ |
---|
3898 | conftest$ac_exeext conftest.$ac_ext |
---|
3899 | |
---|
3900 | fi |
---|
3901 | echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5 |
---|
3902 | echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6 |
---|
3903 | |
---|
3904 | if test "$gt_cv_func_dgettext_libc" = "yes" ; then |
---|
3905 | |
---|
3906 | for ac_func in bind_textdomain_codeset |
---|
3907 | do |
---|
3908 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
---|
3909 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
---|
3910 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
---|
3911 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
---|
3912 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3913 | else |
---|
3914 | cat >conftest.$ac_ext <<_ACEOF |
---|
3915 | /* confdefs.h. */ |
---|
3916 | _ACEOF |
---|
3917 | cat confdefs.h >>conftest.$ac_ext |
---|
3918 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3919 | /* end confdefs.h. */ |
---|
3920 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
---|
3921 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
---|
3922 | #define $ac_func innocuous_$ac_func |
---|
3923 | |
---|
3924 | /* System header to define __stub macros and hopefully few prototypes, |
---|
3925 | which can conflict with char $ac_func (); below. |
---|
3926 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
3927 | <limits.h> exists even on freestanding compilers. */ |
---|
3928 | |
---|
3929 | #ifdef __STDC__ |
---|
3930 | # include <limits.h> |
---|
3931 | #else |
---|
3932 | # include <assert.h> |
---|
3933 | #endif |
---|
3934 | |
---|
3935 | #undef $ac_func |
---|
3936 | |
---|
3937 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
3938 | #ifdef __cplusplus |
---|
3939 | extern "C" |
---|
3940 | { |
---|
3941 | #endif |
---|
3942 | /* We use char because int might match the return type of a gcc2 |
---|
3943 | builtin and then its argument prototype would still apply. */ |
---|
3944 | char $ac_func (); |
---|
3945 | /* The GNU C library defines this for functions which it implements |
---|
3946 | to always fail with ENOSYS. Some functions are actually named |
---|
3947 | something starting with __ and the normal name is an alias. */ |
---|
3948 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
---|
3949 | choke me |
---|
3950 | #else |
---|
3951 | char (*f) () = $ac_func; |
---|
3952 | #endif |
---|
3953 | #ifdef __cplusplus |
---|
3954 | } |
---|
3955 | #endif |
---|
3956 | |
---|
3957 | int |
---|
3958 | main () |
---|
3959 | { |
---|
3960 | return f != $ac_func; |
---|
3961 | ; |
---|
3962 | return 0; |
---|
3963 | } |
---|
3964 | _ACEOF |
---|
3965 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3966 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
3967 | (eval $ac_link) 2>conftest.er1 |
---|
3968 | ac_status=$? |
---|
3969 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3970 | rm -f conftest.er1 |
---|
3971 | cat conftest.err >&5 |
---|
3972 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3973 | (exit $ac_status); } && |
---|
3974 | { ac_try='test -z "$ac_c_werror_flag" |
---|
3975 | || test ! -s conftest.err' |
---|
3976 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3977 | (eval $ac_try) 2>&5 |
---|
3978 | ac_status=$? |
---|
3979 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3980 | (exit $ac_status); }; } && |
---|
3981 | { ac_try='test -s conftest$ac_exeext' |
---|
3982 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3983 | (eval $ac_try) 2>&5 |
---|
3984 | ac_status=$? |
---|
3985 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3986 | (exit $ac_status); }; }; then |
---|
3987 | eval "$as_ac_var=yes" |
---|
3988 | else |
---|
3989 | echo "$as_me: failed program was:" >&5 |
---|
3990 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3991 | |
---|
3992 | eval "$as_ac_var=no" |
---|
3993 | fi |
---|
3994 | rm -f conftest.err conftest.$ac_objext \ |
---|
3995 | conftest$ac_exeext conftest.$ac_ext |
---|
3996 | fi |
---|
3997 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
---|
3998 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
---|
3999 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
---|
4000 | cat >>confdefs.h <<_ACEOF |
---|
4001 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
---|
4002 | _ACEOF |
---|
4003 | |
---|
4004 | fi |
---|
4005 | done |
---|
4006 | |
---|
4007 | fi |
---|
4008 | |
---|
4009 | # |
---|
4010 | # If we don't have everything we want, check in libintl |
---|
4011 | # |
---|
4012 | if test "$gt_cv_func_dgettext_libc" != "yes" \ |
---|
4013 | || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then |
---|
4014 | |
---|
4015 | echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5 |
---|
4016 | echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6 |
---|
4017 | if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then |
---|
4018 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4019 | else |
---|
4020 | ac_check_lib_save_LIBS=$LIBS |
---|
4021 | LIBS="-lintl $LIBS" |
---|
4022 | cat >conftest.$ac_ext <<_ACEOF |
---|
4023 | /* confdefs.h. */ |
---|
4024 | _ACEOF |
---|
4025 | cat confdefs.h >>conftest.$ac_ext |
---|
4026 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4027 | /* end confdefs.h. */ |
---|
4028 | |
---|
4029 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
4030 | #ifdef __cplusplus |
---|
4031 | extern "C" |
---|
4032 | #endif |
---|
4033 | /* We use char because int might match the return type of a gcc2 |
---|
4034 | builtin and then its argument prototype would still apply. */ |
---|
4035 | char bindtextdomain (); |
---|
4036 | int |
---|
4037 | main () |
---|
4038 | { |
---|
4039 | bindtextdomain (); |
---|
4040 | ; |
---|
4041 | return 0; |
---|
4042 | } |
---|
4043 | _ACEOF |
---|
4044 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
4045 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
4046 | (eval $ac_link) 2>conftest.er1 |
---|
4047 | ac_status=$? |
---|
4048 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4049 | rm -f conftest.er1 |
---|
4050 | cat conftest.err >&5 |
---|
4051 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4052 | (exit $ac_status); } && |
---|
4053 | { ac_try='test -z "$ac_c_werror_flag" |
---|
4054 | || test ! -s conftest.err' |
---|
4055 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4056 | (eval $ac_try) 2>&5 |
---|
4057 | ac_status=$? |
---|
4058 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4059 | (exit $ac_status); }; } && |
---|
4060 | { ac_try='test -s conftest$ac_exeext' |
---|
4061 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4062 | (eval $ac_try) 2>&5 |
---|
4063 | ac_status=$? |
---|
4064 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4065 | (exit $ac_status); }; }; then |
---|
4066 | ac_cv_lib_intl_bindtextdomain=yes |
---|
4067 | else |
---|
4068 | echo "$as_me: failed program was:" >&5 |
---|
4069 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4070 | |
---|
4071 | ac_cv_lib_intl_bindtextdomain=no |
---|
4072 | fi |
---|
4073 | rm -f conftest.err conftest.$ac_objext \ |
---|
4074 | conftest$ac_exeext conftest.$ac_ext |
---|
4075 | LIBS=$ac_check_lib_save_LIBS |
---|
4076 | fi |
---|
4077 | echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5 |
---|
4078 | echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6 |
---|
4079 | if test $ac_cv_lib_intl_bindtextdomain = yes; then |
---|
4080 | echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 |
---|
4081 | echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 |
---|
4082 | if test "${ac_cv_lib_intl_dgettext+set}" = set; then |
---|
4083 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4084 | else |
---|
4085 | ac_check_lib_save_LIBS=$LIBS |
---|
4086 | LIBS="-lintl $LIBS" |
---|
4087 | cat >conftest.$ac_ext <<_ACEOF |
---|
4088 | /* confdefs.h. */ |
---|
4089 | _ACEOF |
---|
4090 | cat confdefs.h >>conftest.$ac_ext |
---|
4091 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4092 | /* end confdefs.h. */ |
---|
4093 | |
---|
4094 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
4095 | #ifdef __cplusplus |
---|
4096 | extern "C" |
---|
4097 | #endif |
---|
4098 | /* We use char because int might match the return type of a gcc2 |
---|
4099 | builtin and then its argument prototype would still apply. */ |
---|
4100 | char dgettext (); |
---|
4101 | int |
---|
4102 | main () |
---|
4103 | { |
---|
4104 | dgettext (); |
---|
4105 | ; |
---|
4106 | return 0; |
---|
4107 | } |
---|
4108 | _ACEOF |
---|
4109 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
4110 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
4111 | (eval $ac_link) 2>conftest.er1 |
---|
4112 | ac_status=$? |
---|
4113 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4114 | rm -f conftest.er1 |
---|
4115 | cat conftest.err >&5 |
---|
4116 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4117 | (exit $ac_status); } && |
---|
4118 | { ac_try='test -z "$ac_c_werror_flag" |
---|
4119 | || test ! -s conftest.err' |
---|
4120 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4121 | (eval $ac_try) 2>&5 |
---|
4122 | ac_status=$? |
---|
4123 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4124 | (exit $ac_status); }; } && |
---|
4125 | { ac_try='test -s conftest$ac_exeext' |
---|
4126 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4127 | (eval $ac_try) 2>&5 |
---|
4128 | ac_status=$? |
---|
4129 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4130 | (exit $ac_status); }; }; then |
---|
4131 | ac_cv_lib_intl_dgettext=yes |
---|
4132 | else |
---|
4133 | echo "$as_me: failed program was:" >&5 |
---|
4134 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4135 | |
---|
4136 | ac_cv_lib_intl_dgettext=no |
---|
4137 | fi |
---|
4138 | rm -f conftest.err conftest.$ac_objext \ |
---|
4139 | conftest$ac_exeext conftest.$ac_ext |
---|
4140 | LIBS=$ac_check_lib_save_LIBS |
---|
4141 | fi |
---|
4142 | echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 |
---|
4143 | echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 |
---|
4144 | if test $ac_cv_lib_intl_dgettext = yes; then |
---|
4145 | gt_cv_func_dgettext_libintl=yes |
---|
4146 | fi |
---|
4147 | |
---|
4148 | fi |
---|
4149 | |
---|
4150 | |
---|
4151 | if test "$gt_cv_func_dgettext_libintl" != "yes" ; then |
---|
4152 | echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5 |
---|
4153 | echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6 |
---|
4154 | echo "$as_me:$LINENO: result: " >&5 |
---|
4155 | echo "${ECHO_T}" >&6 |
---|
4156 | echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5 |
---|
4157 | echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6 |
---|
4158 | if test "${ac_cv_lib_intl_dcgettext+set}" = set; then |
---|
4159 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4160 | else |
---|
4161 | ac_check_lib_save_LIBS=$LIBS |
---|
4162 | LIBS="-lintl -liconv $LIBS" |
---|
4163 | cat >conftest.$ac_ext <<_ACEOF |
---|
4164 | /* confdefs.h. */ |
---|
4165 | _ACEOF |
---|
4166 | cat confdefs.h >>conftest.$ac_ext |
---|
4167 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4168 | /* end confdefs.h. */ |
---|
4169 | |
---|
4170 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
4171 | #ifdef __cplusplus |
---|
4172 | extern "C" |
---|
4173 | #endif |
---|
4174 | /* We use char because int might match the return type of a gcc2 |
---|
4175 | builtin and then its argument prototype would still apply. */ |
---|
4176 | char dcgettext (); |
---|
4177 | int |
---|
4178 | main () |
---|
4179 | { |
---|
4180 | dcgettext (); |
---|
4181 | ; |
---|
4182 | return 0; |
---|
4183 | } |
---|
4184 | _ACEOF |
---|
4185 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
4186 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
4187 | (eval $ac_link) 2>conftest.er1 |
---|
4188 | ac_status=$? |
---|
4189 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4190 | rm -f conftest.er1 |
---|
4191 | cat conftest.err >&5 |
---|
4192 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4193 | (exit $ac_status); } && |
---|
4194 | { ac_try='test -z "$ac_c_werror_flag" |
---|
4195 | || test ! -s conftest.err' |
---|
4196 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4197 | (eval $ac_try) 2>&5 |
---|
4198 | ac_status=$? |
---|
4199 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4200 | (exit $ac_status); }; } && |
---|
4201 | { ac_try='test -s conftest$ac_exeext' |
---|
4202 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4203 | (eval $ac_try) 2>&5 |
---|
4204 | ac_status=$? |
---|
4205 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4206 | (exit $ac_status); }; }; then |
---|
4207 | ac_cv_lib_intl_dcgettext=yes |
---|
4208 | else |
---|
4209 | echo "$as_me: failed program was:" >&5 |
---|
4210 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4211 | |
---|
4212 | ac_cv_lib_intl_dcgettext=no |
---|
4213 | fi |
---|
4214 | rm -f conftest.err conftest.$ac_objext \ |
---|
4215 | conftest$ac_exeext conftest.$ac_ext |
---|
4216 | LIBS=$ac_check_lib_save_LIBS |
---|
4217 | fi |
---|
4218 | echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5 |
---|
4219 | echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6 |
---|
4220 | if test $ac_cv_lib_intl_dcgettext = yes; then |
---|
4221 | gt_cv_func_dgettext_libintl=yes |
---|
4222 | libintl_extra_libs=-liconv |
---|
4223 | else |
---|
4224 | : |
---|
4225 | fi |
---|
4226 | |
---|
4227 | fi |
---|
4228 | |
---|
4229 | # |
---|
4230 | # If we found libintl, then check in it for bind_textdomain_codeset(); |
---|
4231 | # we'll prefer libc if neither have bind_textdomain_codeset(), |
---|
4232 | # and both have dgettext |
---|
4233 | # |
---|
4234 | if test "$gt_cv_func_dgettext_libintl" = "yes" ; then |
---|
4235 | glib_save_LIBS="$LIBS" |
---|
4236 | LIBS="$LIBS -lintl $libintl_extra_libs" |
---|
4237 | unset ac_cv_func_bind_textdomain_codeset |
---|
4238 | |
---|
4239 | for ac_func in bind_textdomain_codeset |
---|
4240 | do |
---|
4241 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
---|
4242 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
---|
4243 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
---|
4244 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
---|
4245 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4246 | else |
---|
4247 | cat >conftest.$ac_ext <<_ACEOF |
---|
4248 | /* confdefs.h. */ |
---|
4249 | _ACEOF |
---|
4250 | cat confdefs.h >>conftest.$ac_ext |
---|
4251 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4252 | /* end confdefs.h. */ |
---|
4253 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
---|
4254 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
---|
4255 | #define $ac_func innocuous_$ac_func |
---|
4256 | |
---|
4257 | /* System header to define __stub macros and hopefully few prototypes, |
---|
4258 | which can conflict with char $ac_func (); below. |
---|
4259 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
4260 | <limits.h> exists even on freestanding compilers. */ |
---|
4261 | |
---|
4262 | #ifdef __STDC__ |
---|
4263 | # include <limits.h> |
---|
4264 | #else |
---|
4265 | # include <assert.h> |
---|
4266 | #endif |
---|
4267 | |
---|
4268 | #undef $ac_func |
---|
4269 | |
---|
4270 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
4271 | #ifdef __cplusplus |
---|
4272 | extern "C" |
---|
4273 | { |
---|
4274 | #endif |
---|
4275 | /* We use char because int might match the return type of a gcc2 |
---|
4276 | builtin and then its argument prototype would still apply. */ |
---|
4277 | char $ac_func (); |
---|
4278 | /* The GNU C library defines this for functions which it implements |
---|
4279 | to always fail with ENOSYS. Some functions are actually named |
---|
4280 | something starting with __ and the normal name is an alias. */ |
---|
4281 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
---|
4282 | choke me |
---|
4283 | #else |
---|
4284 | char (*f) () = $ac_func; |
---|
4285 | #endif |
---|
4286 | #ifdef __cplusplus |
---|
4287 | } |
---|
4288 | #endif |
---|
4289 | |
---|
4290 | int |
---|
4291 | main () |
---|
4292 | { |
---|
4293 | return f != $ac_func; |
---|
4294 | ; |
---|
4295 | return 0; |
---|
4296 | } |
---|
4297 | _ACEOF |
---|
4298 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
4299 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
4300 | (eval $ac_link) 2>conftest.er1 |
---|
4301 | ac_status=$? |
---|
4302 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4303 | rm -f conftest.er1 |
---|
4304 | cat conftest.err >&5 |
---|
4305 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4306 | (exit $ac_status); } && |
---|
4307 | { ac_try='test -z "$ac_c_werror_flag" |
---|
4308 | || test ! -s conftest.err' |
---|
4309 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4310 | (eval $ac_try) 2>&5 |
---|
4311 | ac_status=$? |
---|
4312 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4313 | (exit $ac_status); }; } && |
---|
4314 | { ac_try='test -s conftest$ac_exeext' |
---|
4315 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4316 | (eval $ac_try) 2>&5 |
---|
4317 | ac_status=$? |
---|
4318 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4319 | (exit $ac_status); }; }; then |
---|
4320 | eval "$as_ac_var=yes" |
---|
4321 | else |
---|
4322 | echo "$as_me: failed program was:" >&5 |
---|
4323 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4324 | |
---|
4325 | eval "$as_ac_var=no" |
---|
4326 | fi |
---|
4327 | rm -f conftest.err conftest.$ac_objext \ |
---|
4328 | conftest$ac_exeext conftest.$ac_ext |
---|
4329 | fi |
---|
4330 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
---|
4331 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
---|
4332 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
---|
4333 | cat >>confdefs.h <<_ACEOF |
---|
4334 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
---|
4335 | _ACEOF |
---|
4336 | |
---|
4337 | fi |
---|
4338 | done |
---|
4339 | |
---|
4340 | LIBS="$glib_save_LIBS" |
---|
4341 | |
---|
4342 | if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then |
---|
4343 | gt_cv_func_dgettext_libc=no |
---|
4344 | else |
---|
4345 | if test "$gt_cv_func_dgettext_libc" = "yes"; then |
---|
4346 | gt_cv_func_dgettext_libintl=no |
---|
4347 | fi |
---|
4348 | fi |
---|
4349 | fi |
---|
4350 | fi |
---|
4351 | |
---|
4352 | if test "$gt_cv_func_dgettext_libc" = "yes" \ |
---|
4353 | || test "$gt_cv_func_dgettext_libintl" = "yes"; then |
---|
4354 | gt_cv_have_gettext=yes |
---|
4355 | fi |
---|
4356 | |
---|
4357 | if test "$gt_cv_func_dgettext_libintl" = "yes"; then |
---|
4358 | INTLLIBS="-lintl $libintl_extra_libs" |
---|
4359 | fi |
---|
4360 | |
---|
4361 | if test "$gt_cv_have_gettext" = "yes"; then |
---|
4362 | |
---|
4363 | cat >>confdefs.h <<\_ACEOF |
---|
4364 | #define HAVE_GETTEXT 1 |
---|
4365 | _ACEOF |
---|
4366 | |
---|
4367 | # Extract the first word of "msgfmt", so it can be a program name with args. |
---|
4368 | set dummy msgfmt; ac_word=$2 |
---|
4369 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
4370 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
4371 | if test "${ac_cv_path_MSGFMT+set}" = set; then |
---|
4372 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4373 | else |
---|
4374 | case "$MSGFMT" in |
---|
4375 | /*) |
---|
4376 | ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
---|
4377 | ;; |
---|
4378 | *) |
---|
4379 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
4380 | for ac_dir in $PATH; do |
---|
4381 | test -z "$ac_dir" && ac_dir=. |
---|
4382 | if test -f $ac_dir/$ac_word; then |
---|
4383 | if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then |
---|
4384 | ac_cv_path_MSGFMT="$ac_dir/$ac_word" |
---|
4385 | break |
---|
4386 | fi |
---|
4387 | fi |
---|
4388 | done |
---|
4389 | IFS="$ac_save_ifs" |
---|
4390 | test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" |
---|
4391 | ;; |
---|
4392 | esac |
---|
4393 | fi |
---|
4394 | MSGFMT="$ac_cv_path_MSGFMT" |
---|
4395 | if test "$MSGFMT" != "no"; then |
---|
4396 | echo "$as_me:$LINENO: result: $MSGFMT" >&5 |
---|
4397 | echo "${ECHO_T}$MSGFMT" >&6 |
---|
4398 | else |
---|
4399 | echo "$as_me:$LINENO: result: no" >&5 |
---|
4400 | echo "${ECHO_T}no" >&6 |
---|
4401 | fi |
---|
4402 | if test "$MSGFMT" != "no"; then |
---|
4403 | glib_save_LIBS="$LIBS" |
---|
4404 | LIBS="$LIBS $INTLLIBS" |
---|
4405 | |
---|
4406 | for ac_func in dcgettext |
---|
4407 | do |
---|
4408 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
---|
4409 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
---|
4410 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
---|
4411 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
---|
4412 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4413 | else |
---|
4414 | cat >conftest.$ac_ext <<_ACEOF |
---|
4415 | /* confdefs.h. */ |
---|
4416 | _ACEOF |
---|
4417 | cat confdefs.h >>conftest.$ac_ext |
---|
4418 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4419 | /* end confdefs.h. */ |
---|
4420 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
---|
4421 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
---|
4422 | #define $ac_func innocuous_$ac_func |
---|
4423 | |
---|
4424 | /* System header to define __stub macros and hopefully few prototypes, |
---|
4425 | which can conflict with char $ac_func (); below. |
---|
4426 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
4427 | <limits.h> exists even on freestanding compilers. */ |
---|
4428 | |
---|
4429 | #ifdef __STDC__ |
---|
4430 | # include <limits.h> |
---|
4431 | #else |
---|
4432 | # include <assert.h> |
---|
4433 | #endif |
---|
4434 | |
---|
4435 | #undef $ac_func |
---|
4436 | |
---|
4437 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
4438 | #ifdef __cplusplus |
---|
4439 | extern "C" |
---|
4440 | { |
---|
4441 | #endif |
---|
4442 | /* We use char because int might match the return type of a gcc2 |
---|
4443 | builtin and then its argument prototype would still apply. */ |
---|
4444 | char $ac_func (); |
---|
4445 | /* The GNU C library defines this for functions which it implements |
---|
4446 | to always fail with ENOSYS. Some functions are actually named |
---|
4447 | something starting with __ and the normal name is an alias. */ |
---|
4448 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
---|
4449 | choke me |
---|
4450 | #else |
---|
4451 | char (*f) () = $ac_func; |
---|
4452 | #endif |
---|
4453 | #ifdef __cplusplus |
---|
4454 | } |
---|
4455 | #endif |
---|
4456 | |
---|
4457 | int |
---|
4458 | main () |
---|
4459 | { |
---|
4460 | return f != $ac_func; |
---|
4461 | ; |
---|
4462 | return 0; |
---|
4463 | } |
---|
4464 | _ACEOF |
---|
4465 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
4466 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
4467 | (eval $ac_link) 2>conftest.er1 |
---|
4468 | ac_status=$? |
---|
4469 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4470 | rm -f conftest.er1 |
---|
4471 | cat conftest.err >&5 |
---|
4472 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4473 | (exit $ac_status); } && |
---|
4474 | { ac_try='test -z "$ac_c_werror_flag" |
---|
4475 | || test ! -s conftest.err' |
---|
4476 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4477 | (eval $ac_try) 2>&5 |
---|
4478 | ac_status=$? |
---|
4479 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4480 | (exit $ac_status); }; } && |
---|
4481 | { ac_try='test -s conftest$ac_exeext' |
---|
4482 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4483 | (eval $ac_try) 2>&5 |
---|
4484 | ac_status=$? |
---|
4485 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4486 | (exit $ac_status); }; }; then |
---|
4487 | eval "$as_ac_var=yes" |
---|
4488 | else |
---|
4489 | echo "$as_me: failed program was:" >&5 |
---|
4490 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4491 | |
---|
4492 | eval "$as_ac_var=no" |
---|
4493 | fi |
---|
4494 | rm -f conftest.err conftest.$ac_objext \ |
---|
4495 | conftest$ac_exeext conftest.$ac_ext |
---|
4496 | fi |
---|
4497 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
---|
4498 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
---|
4499 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
---|
4500 | cat >>confdefs.h <<_ACEOF |
---|
4501 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
---|
4502 | _ACEOF |
---|
4503 | |
---|
4504 | fi |
---|
4505 | done |
---|
4506 | |
---|
4507 | # Extract the first word of "gmsgfmt", so it can be a program name with args. |
---|
4508 | set dummy gmsgfmt; ac_word=$2 |
---|
4509 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
4510 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
4511 | if test "${ac_cv_path_GMSGFMT+set}" = set; then |
---|
4512 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4513 | else |
---|
4514 | case $GMSGFMT in |
---|
4515 | [\\/]* | ?:[\\/]*) |
---|
4516 | ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
---|
4517 | ;; |
---|
4518 | *) |
---|
4519 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4520 | for as_dir in $PATH |
---|
4521 | do |
---|
4522 | IFS=$as_save_IFS |
---|
4523 | test -z "$as_dir" && as_dir=. |
---|
4524 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4525 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
4526 | ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
---|
4527 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4528 | break 2 |
---|
4529 | fi |
---|
4530 | done |
---|
4531 | done |
---|
4532 | |
---|
4533 | test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
---|
4534 | ;; |
---|
4535 | esac |
---|
4536 | fi |
---|
4537 | GMSGFMT=$ac_cv_path_GMSGFMT |
---|
4538 | |
---|
4539 | if test -n "$GMSGFMT"; then |
---|
4540 | echo "$as_me:$LINENO: result: $GMSGFMT" >&5 |
---|
4541 | echo "${ECHO_T}$GMSGFMT" >&6 |
---|
4542 | else |
---|
4543 | echo "$as_me:$LINENO: result: no" >&5 |
---|
4544 | echo "${ECHO_T}no" >&6 |
---|
4545 | fi |
---|
4546 | |
---|
4547 | # Extract the first word of "xgettext", so it can be a program name with args. |
---|
4548 | set dummy xgettext; ac_word=$2 |
---|
4549 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
4550 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
4551 | if test "${ac_cv_path_XGETTEXT+set}" = set; then |
---|
4552 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4553 | else |
---|
4554 | case "$XGETTEXT" in |
---|
4555 | /*) |
---|
4556 | ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
---|
4557 | ;; |
---|
4558 | *) |
---|
4559 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
4560 | for ac_dir in $PATH; do |
---|
4561 | test -z "$ac_dir" && ac_dir=. |
---|
4562 | if test -f $ac_dir/$ac_word; then |
---|
4563 | if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then |
---|
4564 | ac_cv_path_XGETTEXT="$ac_dir/$ac_word" |
---|
4565 | break |
---|
4566 | fi |
---|
4567 | fi |
---|
4568 | done |
---|
4569 | IFS="$ac_save_ifs" |
---|
4570 | test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" |
---|
4571 | ;; |
---|
4572 | esac |
---|
4573 | fi |
---|
4574 | XGETTEXT="$ac_cv_path_XGETTEXT" |
---|
4575 | if test "$XGETTEXT" != ":"; then |
---|
4576 | echo "$as_me:$LINENO: result: $XGETTEXT" >&5 |
---|
4577 | echo "${ECHO_T}$XGETTEXT" >&6 |
---|
4578 | else |
---|
4579 | echo "$as_me:$LINENO: result: no" >&5 |
---|
4580 | echo "${ECHO_T}no" >&6 |
---|
4581 | fi |
---|
4582 | |
---|
4583 | cat >conftest.$ac_ext <<_ACEOF |
---|
4584 | /* confdefs.h. */ |
---|
4585 | _ACEOF |
---|
4586 | cat confdefs.h >>conftest.$ac_ext |
---|
4587 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4588 | /* end confdefs.h. */ |
---|
4589 | |
---|
4590 | int |
---|
4591 | main () |
---|
4592 | { |
---|
4593 | extern int _nl_msg_cat_cntr; |
---|
4594 | return _nl_msg_cat_cntr |
---|
4595 | ; |
---|
4596 | return 0; |
---|
4597 | } |
---|
4598 | _ACEOF |
---|
4599 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
4600 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
4601 | (eval $ac_link) 2>conftest.er1 |
---|
4602 | ac_status=$? |
---|
4603 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4604 | rm -f conftest.er1 |
---|
4605 | cat conftest.err >&5 |
---|
4606 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4607 | (exit $ac_status); } && |
---|
4608 | { ac_try='test -z "$ac_c_werror_flag" |
---|
4609 | || test ! -s conftest.err' |
---|
4610 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4611 | (eval $ac_try) 2>&5 |
---|
4612 | ac_status=$? |
---|
4613 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4614 | (exit $ac_status); }; } && |
---|
4615 | { ac_try='test -s conftest$ac_exeext' |
---|
4616 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4617 | (eval $ac_try) 2>&5 |
---|
4618 | ac_status=$? |
---|
4619 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4620 | (exit $ac_status); }; }; then |
---|
4621 | CATOBJEXT=.gmo |
---|
4622 | DATADIRNAME=share |
---|
4623 | else |
---|
4624 | echo "$as_me: failed program was:" >&5 |
---|
4625 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4626 | |
---|
4627 | case $host in |
---|
4628 | *-*-solaris*) |
---|
4629 | echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5 |
---|
4630 | echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6 |
---|
4631 | if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then |
---|
4632 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4633 | else |
---|
4634 | cat >conftest.$ac_ext <<_ACEOF |
---|
4635 | /* confdefs.h. */ |
---|
4636 | _ACEOF |
---|
4637 | cat confdefs.h >>conftest.$ac_ext |
---|
4638 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4639 | /* end confdefs.h. */ |
---|
4640 | /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset. |
---|
4641 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
---|
4642 | #define bind_textdomain_codeset innocuous_bind_textdomain_codeset |
---|
4643 | |
---|
4644 | /* System header to define __stub macros and hopefully few prototypes, |
---|
4645 | which can conflict with char bind_textdomain_codeset (); below. |
---|
4646 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
4647 | <limits.h> exists even on freestanding compilers. */ |
---|
4648 | |
---|
4649 | #ifdef __STDC__ |
---|
4650 | # include <limits.h> |
---|
4651 | #else |
---|
4652 | # include <assert.h> |
---|
4653 | #endif |
---|
4654 | |
---|
4655 | #undef bind_textdomain_codeset |
---|
4656 | |
---|
4657 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
4658 | #ifdef __cplusplus |
---|
4659 | extern "C" |
---|
4660 | { |
---|
4661 | #endif |
---|
4662 | /* We use char because int might match the return type of a gcc2 |
---|
4663 | builtin and then its argument prototype would still apply. */ |
---|
4664 | char bind_textdomain_codeset (); |
---|
4665 | /* The GNU C library defines this for functions which it implements |
---|
4666 | to always fail with ENOSYS. Some functions are actually named |
---|
4667 | something starting with __ and the normal name is an alias. */ |
---|
4668 | #if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset) |
---|
4669 | choke me |
---|
4670 | #else |
---|
4671 | char (*f) () = bind_textdomain_codeset; |
---|
4672 | #endif |
---|
4673 | #ifdef __cplusplus |
---|
4674 | } |
---|
4675 | #endif |
---|
4676 | |
---|
4677 | int |
---|
4678 | main () |
---|
4679 | { |
---|
4680 | return f != bind_textdomain_codeset; |
---|
4681 | ; |
---|
4682 | return 0; |
---|
4683 | } |
---|
4684 | _ACEOF |
---|
4685 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
4686 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
4687 | (eval $ac_link) 2>conftest.er1 |
---|
4688 | ac_status=$? |
---|
4689 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4690 | rm -f conftest.er1 |
---|
4691 | cat conftest.err >&5 |
---|
4692 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4693 | (exit $ac_status); } && |
---|
4694 | { ac_try='test -z "$ac_c_werror_flag" |
---|
4695 | || test ! -s conftest.err' |
---|
4696 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4697 | (eval $ac_try) 2>&5 |
---|
4698 | ac_status=$? |
---|
4699 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4700 | (exit $ac_status); }; } && |
---|
4701 | { ac_try='test -s conftest$ac_exeext' |
---|
4702 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
4703 | (eval $ac_try) 2>&5 |
---|
4704 | ac_status=$? |
---|
4705 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4706 | (exit $ac_status); }; }; then |
---|
4707 | ac_cv_func_bind_textdomain_codeset=yes |
---|
4708 | else |
---|
4709 | echo "$as_me: failed program was:" >&5 |
---|
4710 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4711 | |
---|
4712 | ac_cv_func_bind_textdomain_codeset=no |
---|
4713 | fi |
---|
4714 | rm -f conftest.err conftest.$ac_objext \ |
---|
4715 | conftest$ac_exeext conftest.$ac_ext |
---|
4716 | fi |
---|
4717 | echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5 |
---|
4718 | echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6 |
---|
4719 | if test $ac_cv_func_bind_textdomain_codeset = yes; then |
---|
4720 | CATOBJEXT=.gmo |
---|
4721 | DATADIRNAME=share |
---|
4722 | else |
---|
4723 | CATOBJEXT=.mo |
---|
4724 | DATADIRNAME=lib |
---|
4725 | fi |
---|
4726 | |
---|
4727 | ;; |
---|
4728 | *) |
---|
4729 | CATOBJEXT=.mo |
---|
4730 | DATADIRNAME=lib |
---|
4731 | ;; |
---|
4732 | esac |
---|
4733 | fi |
---|
4734 | rm -f conftest.err conftest.$ac_objext \ |
---|
4735 | conftest$ac_exeext conftest.$ac_ext |
---|
4736 | LIBS="$glib_save_LIBS" |
---|
4737 | INSTOBJEXT=.mo |
---|
4738 | else |
---|
4739 | gt_cv_have_gettext=no |
---|
4740 | fi |
---|
4741 | fi |
---|
4742 | |
---|
4743 | fi |
---|
4744 | |
---|
4745 | |
---|
4746 | |
---|
4747 | if test "$gt_cv_have_gettext" = "yes" ; then |
---|
4748 | |
---|
4749 | cat >>confdefs.h <<\_ACEOF |
---|
4750 | #define ENABLE_NLS 1 |
---|
4751 | _ACEOF |
---|
4752 | |
---|
4753 | fi |
---|
4754 | |
---|
4755 | if test "$XGETTEXT" != ":"; then |
---|
4756 | if $XGETTEXT --omit-header /dev/null 2> /dev/null; then |
---|
4757 | : ; |
---|
4758 | else |
---|
4759 | echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5 |
---|
4760 | echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6 |
---|
4761 | XGETTEXT=":" |
---|
4762 | fi |
---|
4763 | fi |
---|
4764 | |
---|
4765 | # We need to process the po/ directory. |
---|
4766 | POSUB=po |
---|
4767 | |
---|
4768 | ac_config_commands="$ac_config_commands default-2" |
---|
4769 | |
---|
4770 | |
---|
4771 | for lang in $ALL_LINGUAS; do |
---|
4772 | GMOFILES="$GMOFILES $lang.gmo" |
---|
4773 | POFILES="$POFILES $lang.po" |
---|
4774 | done |
---|
4775 | |
---|
4776 | |
---|
4777 | |
---|
4778 | |
---|
4779 | |
---|
4780 | |
---|
4781 | |
---|
4782 | |
---|
4783 | |
---|
4784 | |
---|
4785 | |
---|
4786 | |
---|
4787 | |
---|
4788 | if test "$gt_cv_have_gettext" = "yes"; then |
---|
4789 | if test "x$ALL_LINGUAS" = "x"; then |
---|
4790 | LINGUAS= |
---|
4791 | else |
---|
4792 | echo "$as_me:$LINENO: checking for catalogs to be installed" >&5 |
---|
4793 | echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6 |
---|
4794 | NEW_LINGUAS= |
---|
4795 | for presentlang in $ALL_LINGUAS; do |
---|
4796 | useit=no |
---|
4797 | if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then |
---|
4798 | desiredlanguages="$LINGUAS" |
---|
4799 | else |
---|
4800 | desiredlanguages="$ALL_LINGUAS" |
---|
4801 | fi |
---|
4802 | for desiredlang in $desiredlanguages; do |
---|
4803 | # Use the presentlang catalog if desiredlang is |
---|
4804 | # a. equal to presentlang, or |
---|
4805 | # b. a variant of presentlang (because in this case, |
---|
4806 | # presentlang can be used as a fallback for messages |
---|
4807 | # which are not translated in the desiredlang catalog). |
---|
4808 | case "$desiredlang" in |
---|
4809 | "$presentlang"*) useit=yes;; |
---|
4810 | esac |
---|
4811 | done |
---|
4812 | if test $useit = yes; then |
---|
4813 | NEW_LINGUAS="$NEW_LINGUAS $presentlang" |
---|
4814 | fi |
---|
4815 | done |
---|
4816 | LINGUAS=$NEW_LINGUAS |
---|
4817 | echo "$as_me:$LINENO: result: $LINGUAS" >&5 |
---|
4818 | echo "${ECHO_T}$LINGUAS" >&6 |
---|
4819 | fi |
---|
4820 | |
---|
4821 | if test -n "$LINGUAS"; then |
---|
4822 | for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done |
---|
4823 | fi |
---|
4824 | fi |
---|
4825 | |
---|
4826 | MKINSTALLDIRS= |
---|
4827 | if test -n "$ac_aux_dir"; then |
---|
4828 | MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" |
---|
4829 | fi |
---|
4830 | if test -z "$MKINSTALLDIRS"; then |
---|
4831 | MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" |
---|
4832 | fi |
---|
4833 | |
---|
4834 | |
---|
4835 | test -d po || mkdir po |
---|
4836 | if test "x$srcdir" != "x."; then |
---|
4837 | if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then |
---|
4838 | posrcprefix="$srcdir/" |
---|
4839 | else |
---|
4840 | posrcprefix="../$srcdir/" |
---|
4841 | fi |
---|
4842 | else |
---|
4843 | posrcprefix="../" |
---|
4844 | fi |
---|
4845 | rm -f po/POTFILES |
---|
4846 | sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ |
---|
4847 | < $srcdir/po/POTFILES.in > po/POTFILES |
---|
4848 | |
---|
4849 | |
---|
4850 | ac_config_files="$ac_config_files Makefile gnome-mime-data.spec man/Makefile man/gnome-vfs-mime.5 po/Makefile.in gnome-mime-data-2.0.pc" |
---|
4851 | |
---|
4852 | |
---|
4853 | cat >confcache <<\_ACEOF |
---|
4854 | # This file is a shell script that caches the results of configure |
---|
4855 | # tests run on this system so they can be shared between configure |
---|
4856 | # scripts and configure runs, see configure's option --config-cache. |
---|
4857 | # It is not useful on other systems. If it contains results you don't |
---|
4858 | # want to keep, you may remove or edit it. |
---|
4859 | # |
---|
4860 | # config.status only pays attention to the cache file if you give it |
---|
4861 | # the --recheck option to rerun configure. |
---|
4862 | # |
---|
4863 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
4864 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
4865 | # following values. |
---|
4866 | |
---|
4867 | _ACEOF |
---|
4868 | |
---|
4869 | # The following way of writing the cache mishandles newlines in values, |
---|
4870 | # but we know of no workaround that is simple, portable, and efficient. |
---|
4871 | # So, don't put newlines in cache variables' values. |
---|
4872 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
4873 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
4874 | { |
---|
4875 | (set) 2>&1 | |
---|
4876 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
---|
4877 | *ac_space=\ *) |
---|
4878 | # `set' does not quote correctly, so add quotes (double-quote |
---|
4879 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
---|
4880 | sed -n \ |
---|
4881 | "s/'/'\\\\''/g; |
---|
4882 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
4883 | ;; |
---|
4884 | *) |
---|
4885 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
4886 | sed -n \ |
---|
4887 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
---|
4888 | ;; |
---|
4889 | esac; |
---|
4890 | } | |
---|
4891 | sed ' |
---|
4892 | t clear |
---|
4893 | : clear |
---|
4894 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
4895 | t end |
---|
4896 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
4897 | : end' >>confcache |
---|
4898 | if diff $cache_file confcache >/dev/null 2>&1; then :; else |
---|
4899 | if test -w $cache_file; then |
---|
4900 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
---|
4901 | cat confcache >$cache_file |
---|
4902 | else |
---|
4903 | echo "not updating unwritable cache $cache_file" |
---|
4904 | fi |
---|
4905 | fi |
---|
4906 | rm -f confcache |
---|
4907 | |
---|
4908 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
4909 | # Let make expand exec_prefix. |
---|
4910 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
4911 | |
---|
4912 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
---|
4913 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
---|
4914 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
4915 | # (actually we leave an empty line to preserve line numbers). |
---|
4916 | if test "x$srcdir" = x.; then |
---|
4917 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
---|
4918 | s/:*\$(srcdir):*/:/; |
---|
4919 | s/:*\${srcdir}:*/:/; |
---|
4920 | s/:*@srcdir@:*/:/; |
---|
4921 | s/^\([^=]*=[ ]*\):*/\1/; |
---|
4922 | s/:*$//; |
---|
4923 | s/^[^=]*=[ ]*$//; |
---|
4924 | }' |
---|
4925 | fi |
---|
4926 | |
---|
4927 | DEFS=-DHAVE_CONFIG_H |
---|
4928 | |
---|
4929 | ac_libobjs= |
---|
4930 | ac_ltlibobjs= |
---|
4931 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
4932 | # 1. Remove the extension, and $U if already installed. |
---|
4933 | ac_i=`echo "$ac_i" | |
---|
4934 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
---|
4935 | # 2. Add them. |
---|
4936 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
---|
4937 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
---|
4938 | done |
---|
4939 | LIBOBJS=$ac_libobjs |
---|
4940 | |
---|
4941 | LTLIBOBJS=$ac_ltlibobjs |
---|
4942 | |
---|
4943 | |
---|
4944 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
---|
4945 | { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. |
---|
4946 | Usually this means the macro was only invoked conditionally." >&5 |
---|
4947 | echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. |
---|
4948 | Usually this means the macro was only invoked conditionally." >&2;} |
---|
4949 | { (exit 1); exit 1; }; } |
---|
4950 | fi |
---|
4951 | |
---|
4952 | |
---|
4953 | mv -f po/POTFILES po/POTFILES.tmp |
---|
4954 | sed -e '/\[encoding.*\]/d' -e 's/\[.*\] *//' < po/POTFILES.tmp > po/POTFILES |
---|
4955 | rm -f po/POTFILES.tmp |
---|
4956 | |
---|
4957 | |
---|
4958 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
---|
4959 | { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
---|
4960 | Usually this means the macro was only invoked conditionally." >&5 |
---|
4961 | echo "$as_me: error: conditional \"AMDEP\" was never defined. |
---|
4962 | Usually this means the macro was only invoked conditionally." >&2;} |
---|
4963 | { (exit 1); exit 1; }; } |
---|
4964 | fi |
---|
4965 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
---|
4966 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
---|
4967 | Usually this means the macro was only invoked conditionally." >&5 |
---|
4968 | echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
---|
4969 | Usually this means the macro was only invoked conditionally." >&2;} |
---|
4970 | { (exit 1); exit 1; }; } |
---|
4971 | fi |
---|
4972 | |
---|
4973 | : ${CONFIG_STATUS=./config.status} |
---|
4974 | ac_clean_files_save=$ac_clean_files |
---|
4975 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
4976 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
---|
4977 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
4978 | cat >$CONFIG_STATUS <<_ACEOF |
---|
4979 | #! $SHELL |
---|
4980 | # Generated by $as_me. |
---|
4981 | # Run this file to recreate the current configuration. |
---|
4982 | # Compiler output produced by configure, useful for debugging |
---|
4983 | # configure, is in config.log if it exists. |
---|
4984 | |
---|
4985 | debug=false |
---|
4986 | ac_cs_recheck=false |
---|
4987 | ac_cs_silent=false |
---|
4988 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
4989 | _ACEOF |
---|
4990 | |
---|
4991 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4992 | ## --------------------- ## |
---|
4993 | ## M4sh Initialization. ## |
---|
4994 | ## --------------------- ## |
---|
4995 | |
---|
4996 | # Be Bourne compatible |
---|
4997 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
4998 | emulate sh |
---|
4999 | NULLCMD=: |
---|
5000 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
5001 | # is contrary to our usage. Disable this feature. |
---|
5002 | alias -g '${1+"$@"}'='"$@"' |
---|
5003 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
---|
5004 | set -o posix |
---|
5005 | fi |
---|
5006 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
5007 | |
---|
5008 | # Support unset when possible. |
---|
5009 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
5010 | as_unset=unset |
---|
5011 | else |
---|
5012 | as_unset=false |
---|
5013 | fi |
---|
5014 | |
---|
5015 | |
---|
5016 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
5017 | $as_unset ENV MAIL MAILPATH |
---|
5018 | PS1='$ ' |
---|
5019 | PS2='> ' |
---|
5020 | PS4='+ ' |
---|
5021 | |
---|
5022 | # NLS nuisances. |
---|
5023 | for as_var in \ |
---|
5024 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
5025 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
5026 | LC_TELEPHONE LC_TIME |
---|
5027 | do |
---|
5028 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
5029 | eval $as_var=C; export $as_var |
---|
5030 | else |
---|
5031 | $as_unset $as_var |
---|
5032 | fi |
---|
5033 | done |
---|
5034 | |
---|
5035 | # Required to use basename. |
---|
5036 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
5037 | as_expr=expr |
---|
5038 | else |
---|
5039 | as_expr=false |
---|
5040 | fi |
---|
5041 | |
---|
5042 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
---|
5043 | as_basename=basename |
---|
5044 | else |
---|
5045 | as_basename=false |
---|
5046 | fi |
---|
5047 | |
---|
5048 | |
---|
5049 | # Name of the executable. |
---|
5050 | as_me=`$as_basename "$0" || |
---|
5051 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
5052 | X"$0" : 'X\(//\)$' \| \ |
---|
5053 | X"$0" : 'X\(/\)$' \| \ |
---|
5054 | . : '\(.\)' 2>/dev/null || |
---|
5055 | echo X/"$0" | |
---|
5056 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
---|
5057 | /^X\/\(\/\/\)$/{ s//\1/; q; } |
---|
5058 | /^X\/\(\/\).*/{ s//\1/; q; } |
---|
5059 | s/.*/./; q'` |
---|
5060 | |
---|
5061 | |
---|
5062 | # PATH needs CR, and LINENO needs CR and PATH. |
---|
5063 | # Avoid depending upon Character Ranges. |
---|
5064 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
5065 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
5066 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
5067 | as_cr_digits='0123456789' |
---|
5068 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
5069 | |
---|
5070 | # The user is always right. |
---|
5071 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
5072 | echo "#! /bin/sh" >conf$$.sh |
---|
5073 | echo "exit 0" >>conf$$.sh |
---|
5074 | chmod +x conf$$.sh |
---|
5075 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
5076 | PATH_SEPARATOR=';' |
---|
5077 | else |
---|
5078 | PATH_SEPARATOR=: |
---|
5079 | fi |
---|
5080 | rm -f conf$$.sh |
---|
5081 | fi |
---|
5082 | |
---|
5083 | |
---|
5084 | as_lineno_1=$LINENO |
---|
5085 | as_lineno_2=$LINENO |
---|
5086 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
5087 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
5088 | test "x$as_lineno_3" = "x$as_lineno_2" || { |
---|
5089 | # Find who we are. Look in the path if we contain no path at all |
---|
5090 | # relative or not. |
---|
5091 | case $0 in |
---|
5092 | *[\\/]* ) as_myself=$0 ;; |
---|
5093 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
5094 | for as_dir in $PATH |
---|
5095 | do |
---|
5096 | IFS=$as_save_IFS |
---|
5097 | test -z "$as_dir" && as_dir=. |
---|
5098 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
5099 | done |
---|
5100 | |
---|
5101 | ;; |
---|
5102 | esac |
---|
5103 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
5104 | # in which case we are not to be found in the path. |
---|
5105 | if test "x$as_myself" = x; then |
---|
5106 | as_myself=$0 |
---|
5107 | fi |
---|
5108 | if test ! -f "$as_myself"; then |
---|
5109 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
---|
5110 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
---|
5111 | { (exit 1); exit 1; }; } |
---|
5112 | fi |
---|
5113 | case $CONFIG_SHELL in |
---|
5114 | '') |
---|
5115 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
5116 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
5117 | do |
---|
5118 | IFS=$as_save_IFS |
---|
5119 | test -z "$as_dir" && as_dir=. |
---|
5120 | for as_base in sh bash ksh sh5; do |
---|
5121 | case $as_dir in |
---|
5122 | /*) |
---|
5123 | if ("$as_dir/$as_base" -c ' |
---|
5124 | as_lineno_1=$LINENO |
---|
5125 | as_lineno_2=$LINENO |
---|
5126 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
5127 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
5128 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
---|
5129 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
---|
5130 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
---|
5131 | CONFIG_SHELL=$as_dir/$as_base |
---|
5132 | export CONFIG_SHELL |
---|
5133 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
---|
5134 | fi;; |
---|
5135 | esac |
---|
5136 | done |
---|
5137 | done |
---|
5138 | ;; |
---|
5139 | esac |
---|
5140 | |
---|
5141 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
5142 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
5143 | # line-number line before each line; the second 'sed' does the real |
---|
5144 | # work. The second script uses 'N' to pair each line-number line |
---|
5145 | # with the numbered line, and appends trailing '-' during |
---|
5146 | # substitution so that $LINENO is not a special case at line end. |
---|
5147 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
5148 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
---|
5149 | sed '=' <$as_myself | |
---|
5150 | sed ' |
---|
5151 | N |
---|
5152 | s,$,-, |
---|
5153 | : loop |
---|
5154 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
---|
5155 | t loop |
---|
5156 | s,-$,, |
---|
5157 | s,^['$as_cr_digits']*\n,, |
---|
5158 | ' >$as_me.lineno && |
---|
5159 | chmod +x $as_me.lineno || |
---|
5160 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
---|
5161 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
---|
5162 | { (exit 1); exit 1; }; } |
---|
5163 | |
---|
5164 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
5165 | # (the dirname of $[0] is not the place where we might find the |
---|
5166 | # original and so on. Autoconf is especially sensible to this). |
---|
5167 | . ./$as_me.lineno |
---|
5168 | # Exit status is that of the last command. |
---|
5169 | exit |
---|
5170 | } |
---|
5171 | |
---|
5172 | |
---|
5173 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
---|
5174 | *c*,-n*) ECHO_N= ECHO_C=' |
---|
5175 | ' ECHO_T=' ' ;; |
---|
5176 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
---|
5177 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
---|
5178 | esac |
---|
5179 | |
---|
5180 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
5181 | as_expr=expr |
---|
5182 | else |
---|
5183 | as_expr=false |
---|
5184 | fi |
---|
5185 | |
---|
5186 | rm -f conf$$ conf$$.exe conf$$.file |
---|
5187 | echo >conf$$.file |
---|
5188 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
5189 | # We could just check for DJGPP; but this test a) works b) is more generic |
---|
5190 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
---|
5191 | if test -f conf$$.exe; then |
---|
5192 | # Don't use ln at all; we don't have any links |
---|
5193 | as_ln_s='cp -p' |
---|
5194 | else |
---|
5195 | as_ln_s='ln -s' |
---|
5196 | fi |
---|
5197 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
5198 | as_ln_s=ln |
---|
5199 | else |
---|
5200 | as_ln_s='cp -p' |
---|
5201 | fi |
---|
5202 | rm -f conf$$ conf$$.exe conf$$.file |
---|
5203 | |
---|
5204 | if mkdir -p . 2>/dev/null; then |
---|
5205 | as_mkdir_p=: |
---|
5206 | else |
---|
5207 | test -d ./-p && rmdir ./-p |
---|
5208 | as_mkdir_p=false |
---|
5209 | fi |
---|
5210 | |
---|
5211 | as_executable_p="test -f" |
---|
5212 | |
---|
5213 | # Sed expression to map a string onto a valid CPP name. |
---|
5214 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
5215 | |
---|
5216 | # Sed expression to map a string onto a valid variable name. |
---|
5217 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
5218 | |
---|
5219 | |
---|
5220 | # IFS |
---|
5221 | # We need space, tab and new line, in precisely that order. |
---|
5222 | as_nl=' |
---|
5223 | ' |
---|
5224 | IFS=" $as_nl" |
---|
5225 | |
---|
5226 | # CDPATH. |
---|
5227 | $as_unset CDPATH |
---|
5228 | |
---|
5229 | exec 6>&1 |
---|
5230 | |
---|
5231 | # Open the log real soon, to keep \$[0] and so on meaningful, and to |
---|
5232 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
5233 | # values after options handling. Logging --version etc. is OK. |
---|
5234 | exec 5>>config.log |
---|
5235 | { |
---|
5236 | echo |
---|
5237 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
5238 | ## Running $as_me. ## |
---|
5239 | _ASBOX |
---|
5240 | } >&5 |
---|
5241 | cat >&5 <<_CSEOF |
---|
5242 | |
---|
5243 | This file was extended by gnome-mime-data $as_me 2.4.2, which was |
---|
5244 | generated by GNU Autoconf 2.59. Invocation command line was |
---|
5245 | |
---|
5246 | CONFIG_FILES = $CONFIG_FILES |
---|
5247 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
5248 | CONFIG_LINKS = $CONFIG_LINKS |
---|
5249 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
5250 | $ $0 $@ |
---|
5251 | |
---|
5252 | _CSEOF |
---|
5253 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
---|
5254 | echo >&5 |
---|
5255 | _ACEOF |
---|
5256 | |
---|
5257 | # Files that config.status was made for. |
---|
5258 | if test -n "$ac_config_files"; then |
---|
5259 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
---|
5260 | fi |
---|
5261 | |
---|
5262 | if test -n "$ac_config_headers"; then |
---|
5263 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
---|
5264 | fi |
---|
5265 | |
---|
5266 | if test -n "$ac_config_links"; then |
---|
5267 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
---|
5268 | fi |
---|
5269 | |
---|
5270 | if test -n "$ac_config_commands"; then |
---|
5271 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
---|
5272 | fi |
---|
5273 | |
---|
5274 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5275 | |
---|
5276 | ac_cs_usage="\ |
---|
5277 | \`$as_me' instantiates files from templates according to the |
---|
5278 | current configuration. |
---|
5279 | |
---|
5280 | Usage: $0 [OPTIONS] [FILE]... |
---|
5281 | |
---|
5282 | -h, --help print this help, then exit |
---|
5283 | -V, --version print version number, then exit |
---|
5284 | -q, --quiet do not print progress messages |
---|
5285 | -d, --debug don't remove temporary files |
---|
5286 | --recheck update $as_me by reconfiguring in the same conditions |
---|
5287 | --file=FILE[:TEMPLATE] |
---|
5288 | instantiate the configuration file FILE |
---|
5289 | --header=FILE[:TEMPLATE] |
---|
5290 | instantiate the configuration header FILE |
---|
5291 | |
---|
5292 | Configuration files: |
---|
5293 | $config_files |
---|
5294 | |
---|
5295 | Configuration headers: |
---|
5296 | $config_headers |
---|
5297 | |
---|
5298 | Configuration commands: |
---|
5299 | $config_commands |
---|
5300 | |
---|
5301 | Report bugs to <bug-autoconf@gnu.org>." |
---|
5302 | _ACEOF |
---|
5303 | |
---|
5304 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
5305 | ac_cs_version="\\ |
---|
5306 | gnome-mime-data config.status 2.4.2 |
---|
5307 | configured by $0, generated by GNU Autoconf 2.59, |
---|
5308 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
---|
5309 | |
---|
5310 | Copyright (C) 2003 Free Software Foundation, Inc. |
---|
5311 | This config.status script is free software; the Free Software Foundation |
---|
5312 | gives unlimited permission to copy, distribute and modify it." |
---|
5313 | srcdir=$srcdir |
---|
5314 | INSTALL="$INSTALL" |
---|
5315 | _ACEOF |
---|
5316 | |
---|
5317 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5318 | # If no file are specified by the user, then we need to provide default |
---|
5319 | # value. By we need to know if files were specified by the user. |
---|
5320 | ac_need_defaults=: |
---|
5321 | while test $# != 0 |
---|
5322 | do |
---|
5323 | case $1 in |
---|
5324 | --*=*) |
---|
5325 | ac_option=`expr "x$1" : 'x\([^=]*\)='` |
---|
5326 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
---|
5327 | ac_shift=: |
---|
5328 | ;; |
---|
5329 | -*) |
---|
5330 | ac_option=$1 |
---|
5331 | ac_optarg=$2 |
---|
5332 | ac_shift=shift |
---|
5333 | ;; |
---|
5334 | *) # This is not an option, so the user has probably given explicit |
---|
5335 | # arguments. |
---|
5336 | ac_option=$1 |
---|
5337 | ac_need_defaults=false;; |
---|
5338 | esac |
---|
5339 | |
---|
5340 | case $ac_option in |
---|
5341 | # Handling of the options. |
---|
5342 | _ACEOF |
---|
5343 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5344 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
5345 | ac_cs_recheck=: ;; |
---|
5346 | --version | --vers* | -V ) |
---|
5347 | echo "$ac_cs_version"; exit 0 ;; |
---|
5348 | --he | --h) |
---|
5349 | # Conflict between --help and --header |
---|
5350 | { { echo "$as_me:$LINENO: error: ambiguous option: $1 |
---|
5351 | Try \`$0 --help' for more information." >&5 |
---|
5352 | echo "$as_me: error: ambiguous option: $1 |
---|
5353 | Try \`$0 --help' for more information." >&2;} |
---|
5354 | { (exit 1); exit 1; }; };; |
---|
5355 | --help | --hel | -h ) |
---|
5356 | echo "$ac_cs_usage"; exit 0 ;; |
---|
5357 | --debug | --d* | -d ) |
---|
5358 | debug=: ;; |
---|
5359 | --file | --fil | --fi | --f ) |
---|
5360 | $ac_shift |
---|
5361 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
---|
5362 | ac_need_defaults=false;; |
---|
5363 | --header | --heade | --head | --hea ) |
---|
5364 | $ac_shift |
---|
5365 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
---|
5366 | ac_need_defaults=false;; |
---|
5367 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
5368 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
5369 | ac_cs_silent=: ;; |
---|
5370 | |
---|
5371 | # This is an error. |
---|
5372 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
---|
5373 | Try \`$0 --help' for more information." >&5 |
---|
5374 | echo "$as_me: error: unrecognized option: $1 |
---|
5375 | Try \`$0 --help' for more information." >&2;} |
---|
5376 | { (exit 1); exit 1; }; } ;; |
---|
5377 | |
---|
5378 | *) ac_config_targets="$ac_config_targets $1" ;; |
---|
5379 | |
---|
5380 | esac |
---|
5381 | shift |
---|
5382 | done |
---|
5383 | |
---|
5384 | ac_configure_extra_args= |
---|
5385 | |
---|
5386 | if $ac_cs_silent; then |
---|
5387 | exec 6>/dev/null |
---|
5388 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
5389 | fi |
---|
5390 | |
---|
5391 | _ACEOF |
---|
5392 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
5393 | if \$ac_cs_recheck; then |
---|
5394 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
---|
5395 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
5396 | fi |
---|
5397 | |
---|
5398 | _ACEOF |
---|
5399 | |
---|
5400 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
5401 | # |
---|
5402 | # INIT-COMMANDS section. |
---|
5403 | # |
---|
5404 | |
---|
5405 | INTLTOOL_PERL=${INTLTOOL_PERL} ac_aux_dir=${ac_aux_dir} |
---|
5406 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
---|
5407 | |
---|
5408 | |
---|
5409 | _ACEOF |
---|
5410 | |
---|
5411 | |
---|
5412 | |
---|
5413 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5414 | for ac_config_target in $ac_config_targets |
---|
5415 | do |
---|
5416 | case "$ac_config_target" in |
---|
5417 | # Handling of arguments. |
---|
5418 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
5419 | "gnome-mime-data.spec" ) CONFIG_FILES="$CONFIG_FILES gnome-mime-data.spec" ;; |
---|
5420 | "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; |
---|
5421 | "man/gnome-vfs-mime.5" ) CONFIG_FILES="$CONFIG_FILES man/gnome-vfs-mime.5" ;; |
---|
5422 | "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; |
---|
5423 | "gnome-mime-data-2.0.pc" ) CONFIG_FILES="$CONFIG_FILES gnome-mime-data-2.0.pc" ;; |
---|
5424 | "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; |
---|
5425 | "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
---|
5426 | "default-2" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;; |
---|
5427 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
---|
5428 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
---|
5429 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
---|
5430 | { (exit 1); exit 1; }; };; |
---|
5431 | esac |
---|
5432 | done |
---|
5433 | |
---|
5434 | # If the user did not use the arguments to specify the items to instantiate, |
---|
5435 | # then the envvar interface is used. Set only those that are not. |
---|
5436 | # We use the long form for the default assignment because of an extremely |
---|
5437 | # bizarre bug on SunOS 4.1.3. |
---|
5438 | if $ac_need_defaults; then |
---|
5439 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
5440 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
---|
5441 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
---|
5442 | fi |
---|
5443 | |
---|
5444 | # Have a temporary directory for convenience. Make it in the build tree |
---|
5445 | # simply because there is no reason to put it here, and in addition, |
---|
5446 | # creating and moving files from /tmp can sometimes cause problems. |
---|
5447 | # Create a temporary directory, and hook for its removal unless debugging. |
---|
5448 | $debug || |
---|
5449 | { |
---|
5450 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
---|
5451 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
---|
5452 | } |
---|
5453 | |
---|
5454 | # Create a (secure) tmp directory for tmp files. |
---|
5455 | |
---|
5456 | { |
---|
5457 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
---|
5458 | test -n "$tmp" && test -d "$tmp" |
---|
5459 | } || |
---|
5460 | { |
---|
5461 | tmp=./confstat$$-$RANDOM |
---|
5462 | (umask 077 && mkdir $tmp) |
---|
5463 | } || |
---|
5464 | { |
---|
5465 | echo "$me: cannot create a temporary directory in ." >&2 |
---|
5466 | { (exit 1); exit 1; } |
---|
5467 | } |
---|
5468 | |
---|
5469 | _ACEOF |
---|
5470 | |
---|
5471 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
5472 | |
---|
5473 | # |
---|
5474 | # CONFIG_FILES section. |
---|
5475 | # |
---|
5476 | |
---|
5477 | # No need to generate the scripts if there are no CONFIG_FILES. |
---|
5478 | # This happens for instance when ./config.status config.h |
---|
5479 | if test -n "\$CONFIG_FILES"; then |
---|
5480 | # Protect against being on the right side of a sed subst in config.status. |
---|
5481 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
---|
5482 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
---|
5483 | s,@SHELL@,$SHELL,;t t |
---|
5484 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
---|
5485 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
---|
5486 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
---|
5487 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
---|
5488 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
---|
5489 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
---|
5490 | s,@exec_prefix@,$exec_prefix,;t t |
---|
5491 | s,@prefix@,$prefix,;t t |
---|
5492 | s,@program_transform_name@,$program_transform_name,;t t |
---|
5493 | s,@bindir@,$bindir,;t t |
---|
5494 | s,@sbindir@,$sbindir,;t t |
---|
5495 | s,@libexecdir@,$libexecdir,;t t |
---|
5496 | s,@datadir@,$datadir,;t t |
---|
5497 | s,@sysconfdir@,$sysconfdir,;t t |
---|
5498 | s,@sharedstatedir@,$sharedstatedir,;t t |
---|
5499 | s,@localstatedir@,$localstatedir,;t t |
---|
5500 | s,@libdir@,$libdir,;t t |
---|
5501 | s,@includedir@,$includedir,;t t |
---|
5502 | s,@oldincludedir@,$oldincludedir,;t t |
---|
5503 | s,@infodir@,$infodir,;t t |
---|
5504 | s,@mandir@,$mandir,;t t |
---|
5505 | s,@build_alias@,$build_alias,;t t |
---|
5506 | s,@host_alias@,$host_alias,;t t |
---|
5507 | s,@target_alias@,$target_alias,;t t |
---|
5508 | s,@DEFS@,$DEFS,;t t |
---|
5509 | s,@ECHO_C@,$ECHO_C,;t t |
---|
5510 | s,@ECHO_N@,$ECHO_N,;t t |
---|
5511 | s,@ECHO_T@,$ECHO_T,;t t |
---|
5512 | s,@LIBS@,$LIBS,;t t |
---|
5513 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
---|
5514 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
---|
5515 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
---|
5516 | s,@CYGPATH_W@,$CYGPATH_W,;t t |
---|
5517 | s,@PACKAGE@,$PACKAGE,;t t |
---|
5518 | s,@VERSION@,$VERSION,;t t |
---|
5519 | s,@ACLOCAL@,$ACLOCAL,;t t |
---|
5520 | s,@AUTOCONF@,$AUTOCONF,;t t |
---|
5521 | s,@AUTOMAKE@,$AUTOMAKE,;t t |
---|
5522 | s,@AUTOHEADER@,$AUTOHEADER,;t t |
---|
5523 | s,@MAKEINFO@,$MAKEINFO,;t t |
---|
5524 | s,@AMTAR@,$AMTAR,;t t |
---|
5525 | s,@install_sh@,$install_sh,;t t |
---|
5526 | s,@STRIP@,$STRIP,;t t |
---|
5527 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
---|
5528 | s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
---|
5529 | s,@AWK@,$AWK,;t t |
---|
5530 | s,@SET_MAKE@,$SET_MAKE,;t t |
---|
5531 | s,@am__leading_dot@,$am__leading_dot,;t t |
---|
5532 | s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t |
---|
5533 | s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t |
---|
5534 | s,@MAINT@,$MAINT,;t t |
---|
5535 | s,@ACLOCAL_AMFLAGS@,$ACLOCAL_AMFLAGS,;t t |
---|
5536 | s,@INTLTOOL_DESKTOP_RULE@,$INTLTOOL_DESKTOP_RULE,;t t |
---|
5537 | s,@INTLTOOL_DIRECTORY_RULE@,$INTLTOOL_DIRECTORY_RULE,;t t |
---|
5538 | s,@INTLTOOL_KEYS_RULE@,$INTLTOOL_KEYS_RULE,;t t |
---|
5539 | s,@INTLTOOL_PROP_RULE@,$INTLTOOL_PROP_RULE,;t t |
---|
5540 | s,@INTLTOOL_OAF_RULE@,$INTLTOOL_OAF_RULE,;t t |
---|
5541 | s,@INTLTOOL_PONG_RULE@,$INTLTOOL_PONG_RULE,;t t |
---|
5542 | s,@INTLTOOL_SERVER_RULE@,$INTLTOOL_SERVER_RULE,;t t |
---|
5543 | s,@INTLTOOL_SHEET_RULE@,$INTLTOOL_SHEET_RULE,;t t |
---|
5544 | s,@INTLTOOL_SOUNDLIST_RULE@,$INTLTOOL_SOUNDLIST_RULE,;t t |
---|
5545 | s,@INTLTOOL_UI_RULE@,$INTLTOOL_UI_RULE,;t t |
---|
5546 | s,@INTLTOOL_XAM_RULE@,$INTLTOOL_XAM_RULE,;t t |
---|
5547 | s,@INTLTOOL_KBD_RULE@,$INTLTOOL_KBD_RULE,;t t |
---|
5548 | s,@INTLTOOL_XML_RULE@,$INTLTOOL_XML_RULE,;t t |
---|
5549 | s,@INTLTOOL_CAVES_RULE@,$INTLTOOL_CAVES_RULE,;t t |
---|
5550 | s,@INTLTOOL_SCHEMAS_RULE@,$INTLTOOL_SCHEMAS_RULE,;t t |
---|
5551 | s,@INTLTOOL_THEME_RULE@,$INTLTOOL_THEME_RULE,;t t |
---|
5552 | s,@INTLTOOL_EXTRACT@,$INTLTOOL_EXTRACT,;t t |
---|
5553 | s,@INTLTOOL_MERGE@,$INTLTOOL_MERGE,;t t |
---|
5554 | s,@INTLTOOL_UPDATE@,$INTLTOOL_UPDATE,;t t |
---|
5555 | s,@INTLTOOL_PERL@,$INTLTOOL_PERL,;t t |
---|
5556 | s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t |
---|
5557 | s,@CC@,$CC,;t t |
---|
5558 | s,@CFLAGS@,$CFLAGS,;t t |
---|
5559 | s,@LDFLAGS@,$LDFLAGS,;t t |
---|
5560 | s,@CPPFLAGS@,$CPPFLAGS,;t t |
---|
5561 | s,@ac_ct_CC@,$ac_ct_CC,;t t |
---|
5562 | s,@EXEEXT@,$EXEEXT,;t t |
---|
5563 | s,@OBJEXT@,$OBJEXT,;t t |
---|
5564 | s,@DEPDIR@,$DEPDIR,;t t |
---|
5565 | s,@am__include@,$am__include,;t t |
---|
5566 | s,@am__quote@,$am__quote,;t t |
---|
5567 | s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
---|
5568 | s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
---|
5569 | s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t |
---|
5570 | s,@CCDEPMODE@,$CCDEPMODE,;t t |
---|
5571 | s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t |
---|
5572 | s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t |
---|
5573 | s,@CPP@,$CPP,;t t |
---|
5574 | s,@EGREP@,$EGREP,;t t |
---|
5575 | s,@USE_NLS@,$USE_NLS,;t t |
---|
5576 | s,@MSGFMT@,$MSGFMT,;t t |
---|
5577 | s,@GMSGFMT@,$GMSGFMT,;t t |
---|
5578 | s,@XGETTEXT@,$XGETTEXT,;t t |
---|
5579 | s,@CATALOGS@,$CATALOGS,;t t |
---|
5580 | s,@CATOBJEXT@,$CATOBJEXT,;t t |
---|
5581 | s,@DATADIRNAME@,$DATADIRNAME,;t t |
---|
5582 | s,@GMOFILES@,$GMOFILES,;t t |
---|
5583 | s,@INSTOBJEXT@,$INSTOBJEXT,;t t |
---|
5584 | s,@INTLLIBS@,$INTLLIBS,;t t |
---|
5585 | s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t |
---|
5586 | s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t |
---|
5587 | s,@POFILES@,$POFILES,;t t |
---|
5588 | s,@POSUB@,$POSUB,;t t |
---|
5589 | s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t |
---|
5590 | s,@LIBOBJS@,$LIBOBJS,;t t |
---|
5591 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
---|
5592 | CEOF |
---|
5593 | |
---|
5594 | _ACEOF |
---|
5595 | |
---|
5596 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5597 | # Split the substitutions into bite-sized pieces for seds with |
---|
5598 | # small command number limits, like on Digital OSF/1 and HP-UX. |
---|
5599 | ac_max_sed_lines=48 |
---|
5600 | ac_sed_frag=1 # Number of current file. |
---|
5601 | ac_beg=1 # First line for current file. |
---|
5602 | ac_end=$ac_max_sed_lines # Line after last line for current file. |
---|
5603 | ac_more_lines=: |
---|
5604 | ac_sed_cmds= |
---|
5605 | while $ac_more_lines; do |
---|
5606 | if test $ac_beg -gt 1; then |
---|
5607 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
---|
5608 | else |
---|
5609 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
---|
5610 | fi |
---|
5611 | if test ! -s $tmp/subs.frag; then |
---|
5612 | ac_more_lines=false |
---|
5613 | else |
---|
5614 | # The purpose of the label and of the branching condition is to |
---|
5615 | # speed up the sed processing (if there are no `@' at all, there |
---|
5616 | # is no need to browse any of the substitutions). |
---|
5617 | # These are the two extra sed commands mentioned above. |
---|
5618 | (echo ':t |
---|
5619 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
---|
5620 | if test -z "$ac_sed_cmds"; then |
---|
5621 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
---|
5622 | else |
---|
5623 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
---|
5624 | fi |
---|
5625 | ac_sed_frag=`expr $ac_sed_frag + 1` |
---|
5626 | ac_beg=$ac_end |
---|
5627 | ac_end=`expr $ac_end + $ac_max_sed_lines` |
---|
5628 | fi |
---|
5629 | done |
---|
5630 | if test -z "$ac_sed_cmds"; then |
---|
5631 | ac_sed_cmds=cat |
---|
5632 | fi |
---|
5633 | fi # test -n "$CONFIG_FILES" |
---|
5634 | |
---|
5635 | _ACEOF |
---|
5636 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5637 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
---|
5638 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
---|
5639 | case $ac_file in |
---|
5640 | - | *:- | *:-:* ) # input from stdin |
---|
5641 | cat >$tmp/stdin |
---|
5642 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
5643 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
5644 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
5645 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
5646 | * ) ac_file_in=$ac_file.in ;; |
---|
5647 | esac |
---|
5648 | |
---|
5649 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
---|
5650 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
---|
5651 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5652 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
5653 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
5654 | X"$ac_file" : 'X\(/\)' \| \ |
---|
5655 | . : '\(.\)' 2>/dev/null || |
---|
5656 | echo X"$ac_file" | |
---|
5657 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
5658 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
5659 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
5660 | /^X\(\/\).*/{ s//\1/; q; } |
---|
5661 | s/.*/./; q'` |
---|
5662 | { if $as_mkdir_p; then |
---|
5663 | mkdir -p "$ac_dir" |
---|
5664 | else |
---|
5665 | as_dir="$ac_dir" |
---|
5666 | as_dirs= |
---|
5667 | while test ! -d "$as_dir"; do |
---|
5668 | as_dirs="$as_dir $as_dirs" |
---|
5669 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
5670 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5671 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
5672 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
5673 | X"$as_dir" : 'X\(/\)' \| \ |
---|
5674 | . : '\(.\)' 2>/dev/null || |
---|
5675 | echo X"$as_dir" | |
---|
5676 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
5677 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
5678 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
5679 | /^X\(\/\).*/{ s//\1/; q; } |
---|
5680 | s/.*/./; q'` |
---|
5681 | done |
---|
5682 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
5683 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
---|
5684 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
---|
5685 | { (exit 1); exit 1; }; }; } |
---|
5686 | |
---|
5687 | ac_builddir=. |
---|
5688 | |
---|
5689 | if test "$ac_dir" != .; then |
---|
5690 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
5691 | # A "../" for each directory in $ac_dir_suffix. |
---|
5692 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
5693 | else |
---|
5694 | ac_dir_suffix= ac_top_builddir= |
---|
5695 | fi |
---|
5696 | |
---|
5697 | case $srcdir in |
---|
5698 | .) # No --srcdir option. We are building in place. |
---|
5699 | ac_srcdir=. |
---|
5700 | if test -z "$ac_top_builddir"; then |
---|
5701 | ac_top_srcdir=. |
---|
5702 | else |
---|
5703 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
5704 | fi ;; |
---|
5705 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
5706 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
5707 | ac_top_srcdir=$srcdir ;; |
---|
5708 | *) # Relative path. |
---|
5709 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
5710 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
5711 | esac |
---|
5712 | |
---|
5713 | # Do not use `cd foo && pwd` to compute absolute paths, because |
---|
5714 | # the directories may not exist. |
---|
5715 | case `pwd` in |
---|
5716 | .) ac_abs_builddir="$ac_dir";; |
---|
5717 | *) |
---|
5718 | case "$ac_dir" in |
---|
5719 | .) ac_abs_builddir=`pwd`;; |
---|
5720 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
---|
5721 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
---|
5722 | esac;; |
---|
5723 | esac |
---|
5724 | case $ac_abs_builddir in |
---|
5725 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
5726 | *) |
---|
5727 | case ${ac_top_builddir}. in |
---|
5728 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
---|
5729 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
5730 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
---|
5731 | esac;; |
---|
5732 | esac |
---|
5733 | case $ac_abs_builddir in |
---|
5734 | .) ac_abs_srcdir=$ac_srcdir;; |
---|
5735 | *) |
---|
5736 | case $ac_srcdir in |
---|
5737 | .) ac_abs_srcdir=$ac_abs_builddir;; |
---|
5738 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
---|
5739 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
---|
5740 | esac;; |
---|
5741 | esac |
---|
5742 | case $ac_abs_builddir in |
---|
5743 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
5744 | *) |
---|
5745 | case $ac_top_srcdir in |
---|
5746 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
---|
5747 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
5748 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
---|
5749 | esac;; |
---|
5750 | esac |
---|
5751 | |
---|
5752 | |
---|
5753 | case $INSTALL in |
---|
5754 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
---|
5755 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
---|
5756 | esac |
---|
5757 | |
---|
5758 | if test x"$ac_file" != x-; then |
---|
5759 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
---|
5760 | echo "$as_me: creating $ac_file" >&6;} |
---|
5761 | rm -f "$ac_file" |
---|
5762 | fi |
---|
5763 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
5764 | # use $as_me), people would be surprised to read: |
---|
5765 | # /* config.h. Generated by config.status. */ |
---|
5766 | if test x"$ac_file" = x-; then |
---|
5767 | configure_input= |
---|
5768 | else |
---|
5769 | configure_input="$ac_file. " |
---|
5770 | fi |
---|
5771 | configure_input=$configure_input"Generated from `echo $ac_file_in | |
---|
5772 | sed 's,.*/,,'` by configure." |
---|
5773 | |
---|
5774 | # First look for the input files in the build tree, otherwise in the |
---|
5775 | # src tree. |
---|
5776 | ac_file_inputs=`IFS=: |
---|
5777 | for f in $ac_file_in; do |
---|
5778 | case $f in |
---|
5779 | -) echo $tmp/stdin ;; |
---|
5780 | [\\/$]*) |
---|
5781 | # Absolute (can't be DOS-style, as IFS=:) |
---|
5782 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
5783 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
5784 | { (exit 1); exit 1; }; } |
---|
5785 | echo "$f";; |
---|
5786 | *) # Relative |
---|
5787 | if test -f "$f"; then |
---|
5788 | # Build tree |
---|
5789 | echo "$f" |
---|
5790 | elif test -f "$srcdir/$f"; then |
---|
5791 | # Source tree |
---|
5792 | echo "$srcdir/$f" |
---|
5793 | else |
---|
5794 | # /dev/null tree |
---|
5795 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
5796 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
5797 | { (exit 1); exit 1; }; } |
---|
5798 | fi;; |
---|
5799 | esac |
---|
5800 | done` || { (exit 1); exit 1; } |
---|
5801 | _ACEOF |
---|
5802 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
5803 | sed "$ac_vpsub |
---|
5804 | $extrasub |
---|
5805 | _ACEOF |
---|
5806 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5807 | :t |
---|
5808 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
5809 | s,@configure_input@,$configure_input,;t t |
---|
5810 | s,@srcdir@,$ac_srcdir,;t t |
---|
5811 | s,@abs_srcdir@,$ac_abs_srcdir,;t t |
---|
5812 | s,@top_srcdir@,$ac_top_srcdir,;t t |
---|
5813 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
---|
5814 | s,@builddir@,$ac_builddir,;t t |
---|
5815 | s,@abs_builddir@,$ac_abs_builddir,;t t |
---|
5816 | s,@top_builddir@,$ac_top_builddir,;t t |
---|
5817 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
---|
5818 | s,@INSTALL@,$ac_INSTALL,;t t |
---|
5819 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
---|
5820 | rm -f $tmp/stdin |
---|
5821 | if test x"$ac_file" != x-; then |
---|
5822 | mv $tmp/out $ac_file |
---|
5823 | else |
---|
5824 | cat $tmp/out |
---|
5825 | rm -f $tmp/out |
---|
5826 | fi |
---|
5827 | |
---|
5828 | done |
---|
5829 | _ACEOF |
---|
5830 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5831 | |
---|
5832 | # |
---|
5833 | # CONFIG_HEADER section. |
---|
5834 | # |
---|
5835 | |
---|
5836 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
---|
5837 | # NAME is the cpp macro being defined and VALUE is the value it is being given. |
---|
5838 | # |
---|
5839 | # ac_d sets the value in "#define NAME VALUE" lines. |
---|
5840 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
---|
5841 | ac_dB='[ ].*$,\1#\2' |
---|
5842 | ac_dC=' ' |
---|
5843 | ac_dD=',;t' |
---|
5844 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
---|
5845 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
---|
5846 | ac_uB='$,\1#\2define\3' |
---|
5847 | ac_uC=' ' |
---|
5848 | ac_uD=',;t' |
---|
5849 | |
---|
5850 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
---|
5851 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
---|
5852 | case $ac_file in |
---|
5853 | - | *:- | *:-:* ) # input from stdin |
---|
5854 | cat >$tmp/stdin |
---|
5855 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
5856 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
5857 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
5858 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
5859 | * ) ac_file_in=$ac_file.in ;; |
---|
5860 | esac |
---|
5861 | |
---|
5862 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
---|
5863 | echo "$as_me: creating $ac_file" >&6;} |
---|
5864 | |
---|
5865 | # First look for the input files in the build tree, otherwise in the |
---|
5866 | # src tree. |
---|
5867 | ac_file_inputs=`IFS=: |
---|
5868 | for f in $ac_file_in; do |
---|
5869 | case $f in |
---|
5870 | -) echo $tmp/stdin ;; |
---|
5871 | [\\/$]*) |
---|
5872 | # Absolute (can't be DOS-style, as IFS=:) |
---|
5873 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
5874 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
5875 | { (exit 1); exit 1; }; } |
---|
5876 | # Do quote $f, to prevent DOS paths from being IFS'd. |
---|
5877 | echo "$f";; |
---|
5878 | *) # Relative |
---|
5879 | if test -f "$f"; then |
---|
5880 | # Build tree |
---|
5881 | echo "$f" |
---|
5882 | elif test -f "$srcdir/$f"; then |
---|
5883 | # Source tree |
---|
5884 | echo "$srcdir/$f" |
---|
5885 | else |
---|
5886 | # /dev/null tree |
---|
5887 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
5888 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
5889 | { (exit 1); exit 1; }; } |
---|
5890 | fi;; |
---|
5891 | esac |
---|
5892 | done` || { (exit 1); exit 1; } |
---|
5893 | # Remove the trailing spaces. |
---|
5894 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
---|
5895 | |
---|
5896 | _ACEOF |
---|
5897 | |
---|
5898 | # Transform confdefs.h into two sed scripts, `conftest.defines' and |
---|
5899 | # `conftest.undefs', that substitutes the proper values into |
---|
5900 | # config.h.in to produce config.h. The first handles `#define' |
---|
5901 | # templates, and the second `#undef' templates. |
---|
5902 | # And first: Protect against being on the right side of a sed subst in |
---|
5903 | # config.status. Protect against being in an unquoted here document |
---|
5904 | # in config.status. |
---|
5905 | rm -f conftest.defines conftest.undefs |
---|
5906 | # Using a here document instead of a string reduces the quoting nightmare. |
---|
5907 | # Putting comments in sed scripts is not portable. |
---|
5908 | # |
---|
5909 | # `end' is used to avoid that the second main sed command (meant for |
---|
5910 | # 0-ary CPP macros) applies to n-ary macro definitions. |
---|
5911 | # See the Autoconf documentation for `clear'. |
---|
5912 | cat >confdef2sed.sed <<\_ACEOF |
---|
5913 | s/[\\&,]/\\&/g |
---|
5914 | s,[\\$`],\\&,g |
---|
5915 | t clear |
---|
5916 | : clear |
---|
5917 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
---|
5918 | t end |
---|
5919 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
---|
5920 | : end |
---|
5921 | _ACEOF |
---|
5922 | # If some macros were called several times there might be several times |
---|
5923 | # the same #defines, which is useless. Nevertheless, we may not want to |
---|
5924 | # sort them, since we want the *last* AC-DEFINE to be honored. |
---|
5925 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines |
---|
5926 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs |
---|
5927 | rm -f confdef2sed.sed |
---|
5928 | |
---|
5929 | # This sed command replaces #undef with comments. This is necessary, for |
---|
5930 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
---|
5931 | # on some systems where configure will not decide to define it. |
---|
5932 | cat >>conftest.undefs <<\_ACEOF |
---|
5933 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
---|
5934 | _ACEOF |
---|
5935 | |
---|
5936 | # Break up conftest.defines because some shells have a limit on the size |
---|
5937 | # of here documents, and old seds have small limits too (100 cmds). |
---|
5938 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
---|
5939 | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
---|
5940 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
---|
5941 | echo ' :' >>$CONFIG_STATUS |
---|
5942 | rm -f conftest.tail |
---|
5943 | while grep . conftest.defines >/dev/null |
---|
5944 | do |
---|
5945 | # Write a limited-size here document to $tmp/defines.sed. |
---|
5946 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
---|
5947 | # Speed up: don't consider the non `#define' lines. |
---|
5948 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
---|
5949 | # Work around the forget-to-reset-the-flag bug. |
---|
5950 | echo 't clr' >>$CONFIG_STATUS |
---|
5951 | echo ': clr' >>$CONFIG_STATUS |
---|
5952 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
---|
5953 | echo 'CEOF |
---|
5954 | sed -f $tmp/defines.sed $tmp/in >$tmp/out |
---|
5955 | rm -f $tmp/in |
---|
5956 | mv $tmp/out $tmp/in |
---|
5957 | ' >>$CONFIG_STATUS |
---|
5958 | sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail |
---|
5959 | rm -f conftest.defines |
---|
5960 | mv conftest.tail conftest.defines |
---|
5961 | done |
---|
5962 | rm -f conftest.defines |
---|
5963 | echo ' fi # grep' >>$CONFIG_STATUS |
---|
5964 | echo >>$CONFIG_STATUS |
---|
5965 | |
---|
5966 | # Break up conftest.undefs because some shells have a limit on the size |
---|
5967 | # of here documents, and old seds have small limits too (100 cmds). |
---|
5968 | echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
---|
5969 | rm -f conftest.tail |
---|
5970 | while grep . conftest.undefs >/dev/null |
---|
5971 | do |
---|
5972 | # Write a limited-size here document to $tmp/undefs.sed. |
---|
5973 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
---|
5974 | # Speed up: don't consider the non `#undef' |
---|
5975 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
---|
5976 | # Work around the forget-to-reset-the-flag bug. |
---|
5977 | echo 't clr' >>$CONFIG_STATUS |
---|
5978 | echo ': clr' >>$CONFIG_STATUS |
---|
5979 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
---|
5980 | echo 'CEOF |
---|
5981 | sed -f $tmp/undefs.sed $tmp/in >$tmp/out |
---|
5982 | rm -f $tmp/in |
---|
5983 | mv $tmp/out $tmp/in |
---|
5984 | ' >>$CONFIG_STATUS |
---|
5985 | sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail |
---|
5986 | rm -f conftest.undefs |
---|
5987 | mv conftest.tail conftest.undefs |
---|
5988 | done |
---|
5989 | rm -f conftest.undefs |
---|
5990 | |
---|
5991 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5992 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
5993 | # use $as_me), people would be surprised to read: |
---|
5994 | # /* config.h. Generated by config.status. */ |
---|
5995 | if test x"$ac_file" = x-; then |
---|
5996 | echo "/* Generated by configure. */" >$tmp/config.h |
---|
5997 | else |
---|
5998 | echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
---|
5999 | fi |
---|
6000 | cat $tmp/in >>$tmp/config.h |
---|
6001 | rm -f $tmp/in |
---|
6002 | if test x"$ac_file" != x-; then |
---|
6003 | if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
---|
6004 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
---|
6005 | echo "$as_me: $ac_file is unchanged" >&6;} |
---|
6006 | else |
---|
6007 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
---|
6008 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
6009 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
6010 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
6011 | X"$ac_file" : 'X\(/\)' \| \ |
---|
6012 | . : '\(.\)' 2>/dev/null || |
---|
6013 | echo X"$ac_file" | |
---|
6014 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
6015 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
6016 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
6017 | /^X\(\/\).*/{ s//\1/; q; } |
---|
6018 | s/.*/./; q'` |
---|
6019 | { if $as_mkdir_p; then |
---|
6020 | mkdir -p "$ac_dir" |
---|
6021 | else |
---|
6022 | as_dir="$ac_dir" |
---|
6023 | as_dirs= |
---|
6024 | while test ! -d "$as_dir"; do |
---|
6025 | as_dirs="$as_dir $as_dirs" |
---|
6026 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
6027 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
6028 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
6029 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
6030 | X"$as_dir" : 'X\(/\)' \| \ |
---|
6031 | . : '\(.\)' 2>/dev/null || |
---|
6032 | echo X"$as_dir" | |
---|
6033 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
6034 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
6035 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
6036 | /^X\(\/\).*/{ s//\1/; q; } |
---|
6037 | s/.*/./; q'` |
---|
6038 | done |
---|
6039 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
6040 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
---|
6041 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
---|
6042 | { (exit 1); exit 1; }; }; } |
---|
6043 | |
---|
6044 | rm -f $ac_file |
---|
6045 | mv $tmp/config.h $ac_file |
---|
6046 | fi |
---|
6047 | else |
---|
6048 | cat $tmp/config.h |
---|
6049 | rm -f $tmp/config.h |
---|
6050 | fi |
---|
6051 | # Compute $ac_file's index in $config_headers. |
---|
6052 | _am_stamp_count=1 |
---|
6053 | for _am_header in $config_headers :; do |
---|
6054 | case $_am_header in |
---|
6055 | $ac_file | $ac_file:* ) |
---|
6056 | break ;; |
---|
6057 | * ) |
---|
6058 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
---|
6059 | esac |
---|
6060 | done |
---|
6061 | echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || |
---|
6062 | $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
6063 | X$ac_file : 'X\(//\)[^/]' \| \ |
---|
6064 | X$ac_file : 'X\(//\)$' \| \ |
---|
6065 | X$ac_file : 'X\(/\)' \| \ |
---|
6066 | . : '\(.\)' 2>/dev/null || |
---|
6067 | echo X$ac_file | |
---|
6068 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
6069 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
6070 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
6071 | /^X\(\/\).*/{ s//\1/; q; } |
---|
6072 | s/.*/./; q'`/stamp-h$_am_stamp_count |
---|
6073 | done |
---|
6074 | _ACEOF |
---|
6075 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
6076 | |
---|
6077 | # |
---|
6078 | # CONFIG_COMMANDS section. |
---|
6079 | # |
---|
6080 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
---|
6081 | ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
---|
6082 | ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
6083 | ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
---|
6084 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
6085 | X"$ac_dest" : 'X\(//\)[^/]' \| \ |
---|
6086 | X"$ac_dest" : 'X\(//\)$' \| \ |
---|
6087 | X"$ac_dest" : 'X\(/\)' \| \ |
---|
6088 | . : '\(.\)' 2>/dev/null || |
---|
6089 | echo X"$ac_dest" | |
---|
6090 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
6091 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
6092 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
6093 | /^X\(\/\).*/{ s//\1/; q; } |
---|
6094 | s/.*/./; q'` |
---|
6095 | { if $as_mkdir_p; then |
---|
6096 | mkdir -p "$ac_dir" |
---|
6097 | else |
---|
6098 | as_dir="$ac_dir" |
---|
6099 | as_dirs= |
---|
6100 | while test ! -d "$as_dir"; do |
---|
6101 | as_dirs="$as_dir $as_dirs" |
---|
6102 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
6103 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
6104 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
6105 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
6106 | X"$as_dir" : 'X\(/\)' \| \ |
---|
6107 | . : '\(.\)' 2>/dev/null || |
---|
6108 | echo X"$as_dir" | |
---|
6109 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
6110 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
6111 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
6112 | /^X\(\/\).*/{ s//\1/; q; } |
---|
6113 | s/.*/./; q'` |
---|
6114 | done |
---|
6115 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
6116 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
---|
6117 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
---|
6118 | { (exit 1); exit 1; }; }; } |
---|
6119 | |
---|
6120 | ac_builddir=. |
---|
6121 | |
---|
6122 | if test "$ac_dir" != .; then |
---|
6123 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
6124 | # A "../" for each directory in $ac_dir_suffix. |
---|
6125 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
6126 | else |
---|
6127 | ac_dir_suffix= ac_top_builddir= |
---|
6128 | fi |
---|
6129 | |
---|
6130 | case $srcdir in |
---|
6131 | .) # No --srcdir option. We are building in place. |
---|
6132 | ac_srcdir=. |
---|
6133 | if test -z "$ac_top_builddir"; then |
---|
6134 | ac_top_srcdir=. |
---|
6135 | else |
---|
6136 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
6137 | fi ;; |
---|
6138 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
6139 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
6140 | ac_top_srcdir=$srcdir ;; |
---|
6141 | *) # Relative path. |
---|
6142 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
6143 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
6144 | esac |
---|
6145 | |
---|
6146 | # Do not use `cd foo && pwd` to compute absolute paths, because |
---|
6147 | # the directories may not exist. |
---|
6148 | case `pwd` in |
---|
6149 | .) ac_abs_builddir="$ac_dir";; |
---|
6150 | *) |
---|
6151 | case "$ac_dir" in |
---|
6152 | .) ac_abs_builddir=`pwd`;; |
---|
6153 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
---|
6154 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
---|
6155 | esac;; |
---|
6156 | esac |
---|
6157 | case $ac_abs_builddir in |
---|
6158 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
6159 | *) |
---|
6160 | case ${ac_top_builddir}. in |
---|
6161 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
---|
6162 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
6163 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
---|
6164 | esac;; |
---|
6165 | esac |
---|
6166 | case $ac_abs_builddir in |
---|
6167 | .) ac_abs_srcdir=$ac_srcdir;; |
---|
6168 | *) |
---|
6169 | case $ac_srcdir in |
---|
6170 | .) ac_abs_srcdir=$ac_abs_builddir;; |
---|
6171 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
---|
6172 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
---|
6173 | esac;; |
---|
6174 | esac |
---|
6175 | case $ac_abs_builddir in |
---|
6176 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
6177 | *) |
---|
6178 | case $ac_top_srcdir in |
---|
6179 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
---|
6180 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
6181 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
---|
6182 | esac;; |
---|
6183 | esac |
---|
6184 | |
---|
6185 | |
---|
6186 | { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
---|
6187 | echo "$as_me: executing $ac_dest commands" >&6;} |
---|
6188 | case $ac_dest in |
---|
6189 | default-1 ) |
---|
6190 | |
---|
6191 | sed -e "s:@INTLTOOL_PERL@:${INTLTOOL_PERL}:;" < ${ac_aux_dir}/intltool-extract.in > intltool-extract.out |
---|
6192 | if cmp -s intltool-extract intltool-extract.out 2>/dev/null; then |
---|
6193 | rm -f intltool-extract.out |
---|
6194 | else |
---|
6195 | mv -f intltool-extract.out intltool-extract |
---|
6196 | fi |
---|
6197 | chmod ugo+x intltool-extract |
---|
6198 | chmod u+w intltool-extract |
---|
6199 | |
---|
6200 | sed -e "s:@INTLTOOL_PERL@:${INTLTOOL_PERL}:;" \ |
---|
6201 | < ${ac_aux_dir}/intltool-merge.in > intltool-merge.out |
---|
6202 | if cmp -s intltool-merge intltool-merge.out 2>/dev/null; then |
---|
6203 | rm -f intltool-merge.out |
---|
6204 | else |
---|
6205 | mv -f intltool-merge.out intltool-merge |
---|
6206 | fi |
---|
6207 | chmod ugo+x intltool-merge |
---|
6208 | chmod u+w intltool-merge |
---|
6209 | |
---|
6210 | sed -e "s:@INTLTOOL_PERL@:${INTLTOOL_PERL}:;" < ${ac_aux_dir}/intltool-update.in > intltool-update.out |
---|
6211 | if cmp -s intltool-update intltool-update.out 2>/dev/null; then |
---|
6212 | rm -f intltool-update.out |
---|
6213 | else |
---|
6214 | mv -f intltool-update.out intltool-update |
---|
6215 | fi |
---|
6216 | chmod ugo+x intltool-update |
---|
6217 | chmod u+w intltool-update |
---|
6218 | |
---|
6219 | ;; |
---|
6220 | depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do |
---|
6221 | # Strip MF so we end up with the name of the file. |
---|
6222 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
---|
6223 | # Check whether this is an Automake generated Makefile or not. |
---|
6224 | # We used to match only the files named `Makefile.in', but |
---|
6225 | # some people rename them; so instead we look at the file content. |
---|
6226 | # Grep'ing the first line is not enough: some people post-process |
---|
6227 | # each Makefile.in and add a new line on top of each file to say so. |
---|
6228 | # So let's grep whole file. |
---|
6229 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
---|
6230 | dirpart=`(dirname "$mf") 2>/dev/null || |
---|
6231 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
6232 | X"$mf" : 'X\(//\)[^/]' \| \ |
---|
6233 | X"$mf" : 'X\(//\)$' \| \ |
---|
6234 | X"$mf" : 'X\(/\)' \| \ |
---|
6235 | . : '\(.\)' 2>/dev/null || |
---|
6236 | echo X"$mf" | |
---|
6237 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
6238 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
6239 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
6240 | /^X\(\/\).*/{ s//\1/; q; } |
---|
6241 | s/.*/./; q'` |
---|
6242 | else |
---|
6243 | continue |
---|
6244 | fi |
---|
6245 | grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue |
---|
6246 | # Extract the definition of DEP_FILES from the Makefile without |
---|
6247 | # running `make'. |
---|
6248 | DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` |
---|
6249 | test -z "$DEPDIR" && continue |
---|
6250 | # When using ansi2knr, U may be empty or an underscore; expand it |
---|
6251 | U=`sed -n -e '/^U = / s///p' < "$mf"` |
---|
6252 | test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" |
---|
6253 | # We invoke sed twice because it is the simplest approach to |
---|
6254 | # changing $(DEPDIR) to its actual value in the expansion. |
---|
6255 | for file in `sed -n -e ' |
---|
6256 | /^DEP_FILES = .*\\\\$/ { |
---|
6257 | s/^DEP_FILES = // |
---|
6258 | :loop |
---|
6259 | s/\\\\$// |
---|
6260 | p |
---|
6261 | n |
---|
6262 | /\\\\$/ b loop |
---|
6263 | p |
---|
6264 | } |
---|
6265 | /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ |
---|
6266 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
---|
6267 | # Make sure the directory exists. |
---|
6268 | test -f "$dirpart/$file" && continue |
---|
6269 | fdir=`(dirname "$file") 2>/dev/null || |
---|
6270 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
6271 | X"$file" : 'X\(//\)[^/]' \| \ |
---|
6272 | X"$file" : 'X\(//\)$' \| \ |
---|
6273 | X"$file" : 'X\(/\)' \| \ |
---|
6274 | . : '\(.\)' 2>/dev/null || |
---|
6275 | echo X"$file" | |
---|
6276 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
6277 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
6278 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
6279 | /^X\(\/\).*/{ s//\1/; q; } |
---|
6280 | s/.*/./; q'` |
---|
6281 | { if $as_mkdir_p; then |
---|
6282 | mkdir -p $dirpart/$fdir |
---|
6283 | else |
---|
6284 | as_dir=$dirpart/$fdir |
---|
6285 | as_dirs= |
---|
6286 | while test ! -d "$as_dir"; do |
---|
6287 | as_dirs="$as_dir $as_dirs" |
---|
6288 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
6289 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
6290 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
6291 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
6292 | X"$as_dir" : 'X\(/\)' \| \ |
---|
6293 | . : '\(.\)' 2>/dev/null || |
---|
6294 | echo X"$as_dir" | |
---|
6295 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
6296 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
6297 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
6298 | /^X\(\/\).*/{ s//\1/; q; } |
---|
6299 | s/.*/./; q'` |
---|
6300 | done |
---|
6301 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
6302 | fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 |
---|
6303 | echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} |
---|
6304 | { (exit 1); exit 1; }; }; } |
---|
6305 | |
---|
6306 | # echo "creating $dirpart/$file" |
---|
6307 | echo '# dummy' > "$dirpart/$file" |
---|
6308 | done |
---|
6309 | done |
---|
6310 | ;; |
---|
6311 | default-2 ) case "$CONFIG_FILES" in *po/Makefile.in*) |
---|
6312 | sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile |
---|
6313 | esac ;; |
---|
6314 | esac |
---|
6315 | done |
---|
6316 | _ACEOF |
---|
6317 | |
---|
6318 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
6319 | |
---|
6320 | { (exit 0); exit 0; } |
---|
6321 | _ACEOF |
---|
6322 | chmod +x $CONFIG_STATUS |
---|
6323 | ac_clean_files=$ac_clean_files_save |
---|
6324 | |
---|
6325 | |
---|
6326 | # configure is writing to config.log, and then calls config.status. |
---|
6327 | # config.status does its own redirection, appending to config.log. |
---|
6328 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
6329 | # by configure, so config.status won't be able to write to it; its |
---|
6330 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
6331 | # effectively closing config.log, so it can be properly (re)opened and |
---|
6332 | # appended to by config.status. When coming back to configure, we |
---|
6333 | # need to make the FD available again. |
---|
6334 | if test "$no_create" != yes; then |
---|
6335 | ac_cs_success=: |
---|
6336 | ac_config_status_args= |
---|
6337 | test "$silent" = yes && |
---|
6338 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
6339 | exec 5>/dev/null |
---|
6340 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
6341 | exec 5>>config.log |
---|
6342 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
6343 | # would make configure fail if this is the last instruction. |
---|
6344 | $ac_cs_success || { (exit 1); exit 1; } |
---|
6345 | fi |
---|
6346 | |
---|