1 | #! /bin/sh |
---|
2 | # Guess values for system-dependent variables and create Makefiles. |
---|
3 | # Generated by GNU Autoconf 2.57 for gtk-doc 1.2. |
---|
4 | # |
---|
5 | # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gtk-doc>. |
---|
6 | # |
---|
7 | # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
---|
8 | # Free Software Foundation, Inc. |
---|
9 | # This configure script is free software; the Free Software Foundation |
---|
10 | # gives unlimited permission to copy, distribute and modify it. |
---|
11 | ## --------------------- ## |
---|
12 | ## M4sh Initialization. ## |
---|
13 | ## --------------------- ## |
---|
14 | |
---|
15 | # Be Bourne compatible |
---|
16 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
17 | emulate sh |
---|
18 | NULLCMD=: |
---|
19 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
20 | # is contrary to our usage. Disable this feature. |
---|
21 | alias -g '${1+"$@"}'='"$@"' |
---|
22 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
---|
23 | set -o posix |
---|
24 | fi |
---|
25 | |
---|
26 | # Support unset when possible. |
---|
27 | if (FOO=FOO; unset FOO) >/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 -n "`(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 | as_mkdir_p=false |
---|
224 | fi |
---|
225 | |
---|
226 | as_executable_p="test -f" |
---|
227 | |
---|
228 | # Sed expression to map a string onto a valid CPP name. |
---|
229 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
---|
230 | |
---|
231 | # Sed expression to map a string onto a valid variable name. |
---|
232 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
---|
233 | |
---|
234 | |
---|
235 | # IFS |
---|
236 | # We need space, tab and new line, in precisely that order. |
---|
237 | as_nl=' |
---|
238 | ' |
---|
239 | IFS=" $as_nl" |
---|
240 | |
---|
241 | # CDPATH. |
---|
242 | $as_unset CDPATH |
---|
243 | |
---|
244 | |
---|
245 | # Name of the host. |
---|
246 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
---|
247 | # so uname gets run too. |
---|
248 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
249 | |
---|
250 | exec 6>&1 |
---|
251 | |
---|
252 | # |
---|
253 | # Initializations. |
---|
254 | # |
---|
255 | ac_default_prefix=/usr/local |
---|
256 | ac_config_libobj_dir=. |
---|
257 | cross_compiling=no |
---|
258 | subdirs= |
---|
259 | MFLAGS= |
---|
260 | MAKEFLAGS= |
---|
261 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
262 | |
---|
263 | # Maximum number of lines to put in a shell here document. |
---|
264 | # This variable seems obsolete. It should probably be removed, and |
---|
265 | # only ac_max_sed_lines should be used. |
---|
266 | : ${ac_max_here_lines=38} |
---|
267 | |
---|
268 | # Identity of this package. |
---|
269 | PACKAGE_NAME='gtk-doc' |
---|
270 | PACKAGE_TARNAME='gtk-doc' |
---|
271 | PACKAGE_VERSION='1.2' |
---|
272 | PACKAGE_STRING='gtk-doc 1.2' |
---|
273 | PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gtk-doc' |
---|
274 | |
---|
275 | ac_unique_file="gtk-doc.dsl.in" |
---|
276 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE PERL JADE SGML_FORMAT_TYPE XSLTPROC XML_CATALOG_FILE XMLCATALOG PACKAGE_DATA_DIR LIBOBJS LTLIBOBJS' |
---|
277 | ac_subst_files='' |
---|
278 | |
---|
279 | # Initialize some variables set by options. |
---|
280 | ac_init_help= |
---|
281 | ac_init_version=false |
---|
282 | # The variables have the same names as the options, with |
---|
283 | # dashes changed to underlines. |
---|
284 | cache_file=/dev/null |
---|
285 | exec_prefix=NONE |
---|
286 | no_create= |
---|
287 | no_recursion= |
---|
288 | prefix=NONE |
---|
289 | program_prefix=NONE |
---|
290 | program_suffix=NONE |
---|
291 | program_transform_name=s,x,x, |
---|
292 | silent= |
---|
293 | site= |
---|
294 | srcdir= |
---|
295 | verbose= |
---|
296 | x_includes=NONE |
---|
297 | x_libraries=NONE |
---|
298 | |
---|
299 | # Installation directory options. |
---|
300 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
301 | # and all the variables that are supposed to be based on exec_prefix |
---|
302 | # by default will actually change. |
---|
303 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
304 | bindir='${exec_prefix}/bin' |
---|
305 | sbindir='${exec_prefix}/sbin' |
---|
306 | libexecdir='${exec_prefix}/libexec' |
---|
307 | datadir='${prefix}/share' |
---|
308 | sysconfdir='${prefix}/etc' |
---|
309 | sharedstatedir='${prefix}/com' |
---|
310 | localstatedir='${prefix}/var' |
---|
311 | libdir='${exec_prefix}/lib' |
---|
312 | includedir='${prefix}/include' |
---|
313 | oldincludedir='/usr/include' |
---|
314 | infodir='${prefix}/info' |
---|
315 | mandir='${prefix}/man' |
---|
316 | |
---|
317 | ac_prev= |
---|
318 | for ac_option |
---|
319 | do |
---|
320 | # If the previous option needs an argument, assign it. |
---|
321 | if test -n "$ac_prev"; then |
---|
322 | eval "$ac_prev=\$ac_option" |
---|
323 | ac_prev= |
---|
324 | continue |
---|
325 | fi |
---|
326 | |
---|
327 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
---|
328 | |
---|
329 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
330 | |
---|
331 | case $ac_option in |
---|
332 | |
---|
333 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
334 | ac_prev=bindir ;; |
---|
335 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
336 | bindir=$ac_optarg ;; |
---|
337 | |
---|
338 | -build | --build | --buil | --bui | --bu) |
---|
339 | ac_prev=build_alias ;; |
---|
340 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
341 | build_alias=$ac_optarg ;; |
---|
342 | |
---|
343 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
344 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
345 | ac_prev=cache_file ;; |
---|
346 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
347 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
348 | cache_file=$ac_optarg ;; |
---|
349 | |
---|
350 | --config-cache | -C) |
---|
351 | cache_file=config.cache ;; |
---|
352 | |
---|
353 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
---|
354 | ac_prev=datadir ;; |
---|
355 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
---|
356 | | --da=*) |
---|
357 | datadir=$ac_optarg ;; |
---|
358 | |
---|
359 | -disable-* | --disable-*) |
---|
360 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
361 | # Reject names that are not valid shell variable names. |
---|
362 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
363 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
364 | { (exit 1); exit 1; }; } |
---|
365 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
---|
366 | eval "enable_$ac_feature=no" ;; |
---|
367 | |
---|
368 | -enable-* | --enable-*) |
---|
369 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
370 | # Reject names that are not valid shell variable names. |
---|
371 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
372 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
373 | { (exit 1); exit 1; }; } |
---|
374 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
---|
375 | case $ac_option in |
---|
376 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
---|
377 | *) ac_optarg=yes ;; |
---|
378 | esac |
---|
379 | eval "enable_$ac_feature='$ac_optarg'" ;; |
---|
380 | |
---|
381 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
382 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
383 | | --exec | --exe | --ex) |
---|
384 | ac_prev=exec_prefix ;; |
---|
385 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
386 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
387 | | --exec=* | --exe=* | --ex=*) |
---|
388 | exec_prefix=$ac_optarg ;; |
---|
389 | |
---|
390 | -gas | --gas | --ga | --g) |
---|
391 | # Obsolete; use --with-gas. |
---|
392 | with_gas=yes ;; |
---|
393 | |
---|
394 | -help | --help | --hel | --he | -h) |
---|
395 | ac_init_help=long ;; |
---|
396 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
397 | ac_init_help=recursive ;; |
---|
398 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
399 | ac_init_help=short ;; |
---|
400 | |
---|
401 | -host | --host | --hos | --ho) |
---|
402 | ac_prev=host_alias ;; |
---|
403 | -host=* | --host=* | --hos=* | --ho=*) |
---|
404 | host_alias=$ac_optarg ;; |
---|
405 | |
---|
406 | -includedir | --includedir | --includedi | --included | --include \ |
---|
407 | | --includ | --inclu | --incl | --inc) |
---|
408 | ac_prev=includedir ;; |
---|
409 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
410 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
411 | includedir=$ac_optarg ;; |
---|
412 | |
---|
413 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
414 | ac_prev=infodir ;; |
---|
415 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
416 | infodir=$ac_optarg ;; |
---|
417 | |
---|
418 | -libdir | --libdir | --libdi | --libd) |
---|
419 | ac_prev=libdir ;; |
---|
420 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
421 | libdir=$ac_optarg ;; |
---|
422 | |
---|
423 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
424 | | --libexe | --libex | --libe) |
---|
425 | ac_prev=libexecdir ;; |
---|
426 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
427 | | --libexe=* | --libex=* | --libe=*) |
---|
428 | libexecdir=$ac_optarg ;; |
---|
429 | |
---|
430 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
431 | | --localstate | --localstat | --localsta | --localst \ |
---|
432 | | --locals | --local | --loca | --loc | --lo) |
---|
433 | ac_prev=localstatedir ;; |
---|
434 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
435 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
---|
436 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
---|
437 | localstatedir=$ac_optarg ;; |
---|
438 | |
---|
439 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
440 | ac_prev=mandir ;; |
---|
441 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
442 | mandir=$ac_optarg ;; |
---|
443 | |
---|
444 | -nfp | --nfp | --nf) |
---|
445 | # Obsolete; use --without-fp. |
---|
446 | with_fp=no ;; |
---|
447 | |
---|
448 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
449 | | --no-cr | --no-c | -n) |
---|
450 | no_create=yes ;; |
---|
451 | |
---|
452 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
453 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
454 | no_recursion=yes ;; |
---|
455 | |
---|
456 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
457 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
458 | | --oldin | --oldi | --old | --ol | --o) |
---|
459 | ac_prev=oldincludedir ;; |
---|
460 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
461 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
462 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
463 | oldincludedir=$ac_optarg ;; |
---|
464 | |
---|
465 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
466 | ac_prev=prefix ;; |
---|
467 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
468 | prefix=$ac_optarg ;; |
---|
469 | |
---|
470 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
471 | | --program-pre | --program-pr | --program-p) |
---|
472 | ac_prev=program_prefix ;; |
---|
473 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
474 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
475 | program_prefix=$ac_optarg ;; |
---|
476 | |
---|
477 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
478 | | --program-suf | --program-su | --program-s) |
---|
479 | ac_prev=program_suffix ;; |
---|
480 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
481 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
482 | program_suffix=$ac_optarg ;; |
---|
483 | |
---|
484 | -program-transform-name | --program-transform-name \ |
---|
485 | | --program-transform-nam | --program-transform-na \ |
---|
486 | | --program-transform-n | --program-transform- \ |
---|
487 | | --program-transform | --program-transfor \ |
---|
488 | | --program-transfo | --program-transf \ |
---|
489 | | --program-trans | --program-tran \ |
---|
490 | | --progr-tra | --program-tr | --program-t) |
---|
491 | ac_prev=program_transform_name ;; |
---|
492 | -program-transform-name=* | --program-transform-name=* \ |
---|
493 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
494 | | --program-transform-n=* | --program-transform-=* \ |
---|
495 | | --program-transform=* | --program-transfor=* \ |
---|
496 | | --program-transfo=* | --program-transf=* \ |
---|
497 | | --program-trans=* | --program-tran=* \ |
---|
498 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
499 | program_transform_name=$ac_optarg ;; |
---|
500 | |
---|
501 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
502 | | -silent | --silent | --silen | --sile | --sil) |
---|
503 | silent=yes ;; |
---|
504 | |
---|
505 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
506 | ac_prev=sbindir ;; |
---|
507 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
508 | | --sbi=* | --sb=*) |
---|
509 | sbindir=$ac_optarg ;; |
---|
510 | |
---|
511 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
512 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
513 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
514 | | --sha | --sh) |
---|
515 | ac_prev=sharedstatedir ;; |
---|
516 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
517 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
518 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
519 | | --sha=* | --sh=*) |
---|
520 | sharedstatedir=$ac_optarg ;; |
---|
521 | |
---|
522 | -site | --site | --sit) |
---|
523 | ac_prev=site ;; |
---|
524 | -site=* | --site=* | --sit=*) |
---|
525 | site=$ac_optarg ;; |
---|
526 | |
---|
527 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
528 | ac_prev=srcdir ;; |
---|
529 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
530 | srcdir=$ac_optarg ;; |
---|
531 | |
---|
532 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
533 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
534 | ac_prev=sysconfdir ;; |
---|
535 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
536 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
537 | sysconfdir=$ac_optarg ;; |
---|
538 | |
---|
539 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
540 | ac_prev=target_alias ;; |
---|
541 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
542 | target_alias=$ac_optarg ;; |
---|
543 | |
---|
544 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
545 | verbose=yes ;; |
---|
546 | |
---|
547 | -version | --version | --versio | --versi | --vers | -V) |
---|
548 | ac_init_version=: ;; |
---|
549 | |
---|
550 | -with-* | --with-*) |
---|
551 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
552 | # Reject names that are not valid shell variable names. |
---|
553 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
554 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
555 | { (exit 1); exit 1; }; } |
---|
556 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
557 | case $ac_option in |
---|
558 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
---|
559 | *) ac_optarg=yes ;; |
---|
560 | esac |
---|
561 | eval "with_$ac_package='$ac_optarg'" ;; |
---|
562 | |
---|
563 | -without-* | --without-*) |
---|
564 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
565 | # Reject names that are not valid shell variable names. |
---|
566 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
567 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
568 | { (exit 1); exit 1; }; } |
---|
569 | ac_package=`echo $ac_package | sed 's/-/_/g'` |
---|
570 | eval "with_$ac_package=no" ;; |
---|
571 | |
---|
572 | --x) |
---|
573 | # Obsolete; use --with-x. |
---|
574 | with_x=yes ;; |
---|
575 | |
---|
576 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
577 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
578 | ac_prev=x_includes ;; |
---|
579 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
580 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
581 | x_includes=$ac_optarg ;; |
---|
582 | |
---|
583 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
584 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
585 | ac_prev=x_libraries ;; |
---|
586 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
587 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
588 | x_libraries=$ac_optarg ;; |
---|
589 | |
---|
590 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
---|
591 | Try \`$0 --help' for more information." >&2 |
---|
592 | { (exit 1); exit 1; }; } |
---|
593 | ;; |
---|
594 | |
---|
595 | *=*) |
---|
596 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
597 | # Reject names that are not valid shell variable names. |
---|
598 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
---|
599 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
---|
600 | { (exit 1); exit 1; }; } |
---|
601 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
---|
602 | eval "$ac_envvar='$ac_optarg'" |
---|
603 | export $ac_envvar ;; |
---|
604 | |
---|
605 | *) |
---|
606 | # FIXME: should be removed in autoconf 3.0. |
---|
607 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
608 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
609 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
610 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
---|
611 | ;; |
---|
612 | |
---|
613 | esac |
---|
614 | done |
---|
615 | |
---|
616 | if test -n "$ac_prev"; then |
---|
617 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
618 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
---|
619 | { (exit 1); exit 1; }; } |
---|
620 | fi |
---|
621 | |
---|
622 | # Be sure to have absolute paths. |
---|
623 | for ac_var in exec_prefix prefix |
---|
624 | do |
---|
625 | eval ac_val=$`echo $ac_var` |
---|
626 | case $ac_val in |
---|
627 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
---|
628 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
629 | { (exit 1); exit 1; }; };; |
---|
630 | esac |
---|
631 | done |
---|
632 | |
---|
633 | # Be sure to have absolute paths. |
---|
634 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
---|
635 | localstatedir libdir includedir oldincludedir infodir mandir |
---|
636 | do |
---|
637 | eval ac_val=$`echo $ac_var` |
---|
638 | case $ac_val in |
---|
639 | [\\/$]* | ?:[\\/]* ) ;; |
---|
640 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
641 | { (exit 1); exit 1; }; };; |
---|
642 | esac |
---|
643 | done |
---|
644 | |
---|
645 | # There might be people who depend on the old broken behavior: `$host' |
---|
646 | # used to hold the argument of --host etc. |
---|
647 | # FIXME: To remove some day. |
---|
648 | build=$build_alias |
---|
649 | host=$host_alias |
---|
650 | target=$target_alias |
---|
651 | |
---|
652 | # FIXME: To remove some day. |
---|
653 | if test "x$host_alias" != x; then |
---|
654 | if test "x$build_alias" = x; then |
---|
655 | cross_compiling=maybe |
---|
656 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
---|
657 | If a cross compiler is detected then cross compile mode will be used." >&2 |
---|
658 | elif test "x$build_alias" != "x$host_alias"; then |
---|
659 | cross_compiling=yes |
---|
660 | fi |
---|
661 | fi |
---|
662 | |
---|
663 | ac_tool_prefix= |
---|
664 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
665 | |
---|
666 | test "$silent" = yes && exec 6>/dev/null |
---|
667 | |
---|
668 | |
---|
669 | # Find the source files, if location was not specified. |
---|
670 | if test -z "$srcdir"; then |
---|
671 | ac_srcdir_defaulted=yes |
---|
672 | # Try the directory containing this script, then its parent. |
---|
673 | ac_confdir=`(dirname "$0") 2>/dev/null || |
---|
674 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
675 | X"$0" : 'X\(//\)[^/]' \| \ |
---|
676 | X"$0" : 'X\(//\)$' \| \ |
---|
677 | X"$0" : 'X\(/\)' \| \ |
---|
678 | . : '\(.\)' 2>/dev/null || |
---|
679 | echo X"$0" | |
---|
680 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
681 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
682 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
683 | /^X\(\/\).*/{ s//\1/; q; } |
---|
684 | s/.*/./; q'` |
---|
685 | srcdir=$ac_confdir |
---|
686 | if test ! -r $srcdir/$ac_unique_file; then |
---|
687 | srcdir=.. |
---|
688 | fi |
---|
689 | else |
---|
690 | ac_srcdir_defaulted=no |
---|
691 | fi |
---|
692 | if test ! -r $srcdir/$ac_unique_file; then |
---|
693 | if test "$ac_srcdir_defaulted" = yes; then |
---|
694 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
---|
695 | { (exit 1); exit 1; }; } |
---|
696 | else |
---|
697 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
---|
698 | { (exit 1); exit 1; }; } |
---|
699 | fi |
---|
700 | fi |
---|
701 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
---|
702 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
---|
703 | { (exit 1); exit 1; }; } |
---|
704 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
---|
705 | ac_env_build_alias_set=${build_alias+set} |
---|
706 | ac_env_build_alias_value=$build_alias |
---|
707 | ac_cv_env_build_alias_set=${build_alias+set} |
---|
708 | ac_cv_env_build_alias_value=$build_alias |
---|
709 | ac_env_host_alias_set=${host_alias+set} |
---|
710 | ac_env_host_alias_value=$host_alias |
---|
711 | ac_cv_env_host_alias_set=${host_alias+set} |
---|
712 | ac_cv_env_host_alias_value=$host_alias |
---|
713 | ac_env_target_alias_set=${target_alias+set} |
---|
714 | ac_env_target_alias_value=$target_alias |
---|
715 | ac_cv_env_target_alias_set=${target_alias+set} |
---|
716 | ac_cv_env_target_alias_value=$target_alias |
---|
717 | ac_env_CC_set=${CC+set} |
---|
718 | ac_env_CC_value=$CC |
---|
719 | ac_cv_env_CC_set=${CC+set} |
---|
720 | ac_cv_env_CC_value=$CC |
---|
721 | ac_env_CFLAGS_set=${CFLAGS+set} |
---|
722 | ac_env_CFLAGS_value=$CFLAGS |
---|
723 | ac_cv_env_CFLAGS_set=${CFLAGS+set} |
---|
724 | ac_cv_env_CFLAGS_value=$CFLAGS |
---|
725 | ac_env_LDFLAGS_set=${LDFLAGS+set} |
---|
726 | ac_env_LDFLAGS_value=$LDFLAGS |
---|
727 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
---|
728 | ac_cv_env_LDFLAGS_value=$LDFLAGS |
---|
729 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
---|
730 | ac_env_CPPFLAGS_value=$CPPFLAGS |
---|
731 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
---|
732 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
---|
733 | |
---|
734 | # |
---|
735 | # Report the --help message. |
---|
736 | # |
---|
737 | if test "$ac_init_help" = "long"; then |
---|
738 | # Omit some internal or obsolete options to make the list less imposing. |
---|
739 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
740 | cat <<_ACEOF |
---|
741 | \`configure' configures gtk-doc 1.2 to adapt to many kinds of systems. |
---|
742 | |
---|
743 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
744 | |
---|
745 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
746 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
747 | |
---|
748 | Defaults for the options are specified in brackets. |
---|
749 | |
---|
750 | Configuration: |
---|
751 | -h, --help display this help and exit |
---|
752 | --help=short display options specific to this package |
---|
753 | --help=recursive display the short help of all the included packages |
---|
754 | -V, --version display version information and exit |
---|
755 | -q, --quiet, --silent do not print \`checking...' messages |
---|
756 | --cache-file=FILE cache test results in FILE [disabled] |
---|
757 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
758 | -n, --no-create do not create output files |
---|
759 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
760 | |
---|
761 | _ACEOF |
---|
762 | |
---|
763 | cat <<_ACEOF |
---|
764 | Installation directories: |
---|
765 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
766 | [$ac_default_prefix] |
---|
767 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
768 | [PREFIX] |
---|
769 | |
---|
770 | By default, \`make install' will install all the files in |
---|
771 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
772 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
773 | for instance \`--prefix=\$HOME'. |
---|
774 | |
---|
775 | For better control, use the options below. |
---|
776 | |
---|
777 | Fine tuning of the installation directories: |
---|
778 | --bindir=DIR user executables [EPREFIX/bin] |
---|
779 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
780 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
781 | --datadir=DIR read-only architecture-independent data [PREFIX/share] |
---|
782 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
783 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
784 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
785 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
786 | --includedir=DIR C header files [PREFIX/include] |
---|
787 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
788 | --infodir=DIR info documentation [PREFIX/info] |
---|
789 | --mandir=DIR man documentation [PREFIX/man] |
---|
790 | _ACEOF |
---|
791 | |
---|
792 | cat <<\_ACEOF |
---|
793 | |
---|
794 | Program names: |
---|
795 | --program-prefix=PREFIX prepend PREFIX to installed program names |
---|
796 | --program-suffix=SUFFIX append SUFFIX to installed program names |
---|
797 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
---|
798 | _ACEOF |
---|
799 | fi |
---|
800 | |
---|
801 | if test -n "$ac_init_help"; then |
---|
802 | case $ac_init_help in |
---|
803 | short | recursive ) echo "Configuration of gtk-doc 1.2:";; |
---|
804 | esac |
---|
805 | cat <<\_ACEOF |
---|
806 | |
---|
807 | Optional Features: |
---|
808 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
---|
809 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
---|
810 | --enable-maintainer-mode enable make rules and dependencies not useful |
---|
811 | (and sometimes confusing) to the casual installer |
---|
812 | --disable-dependency-tracking Speeds up one-time builds |
---|
813 | --enable-dependency-tracking Do not reject slow dependency extractors |
---|
814 | |
---|
815 | Optional Packages: |
---|
816 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
---|
817 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
---|
818 | --with-xml-catalog=CATALOG |
---|
819 | path to xml catalog to use |
---|
820 | |
---|
821 | Some influential environment variables: |
---|
822 | CC C compiler command |
---|
823 | CFLAGS C compiler flags |
---|
824 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
825 | nonstandard directory <lib dir> |
---|
826 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
---|
827 | headers in a nonstandard directory <include dir> |
---|
828 | |
---|
829 | Use these variables to override the choices made by `configure' or to help |
---|
830 | it to find libraries and programs with nonstandard names/locations. |
---|
831 | |
---|
832 | Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gtk-doc>. |
---|
833 | _ACEOF |
---|
834 | fi |
---|
835 | |
---|
836 | if test "$ac_init_help" = "recursive"; then |
---|
837 | # If there are subdirs, report their specific --help. |
---|
838 | ac_popdir=`pwd` |
---|
839 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
840 | test -d $ac_dir || continue |
---|
841 | ac_builddir=. |
---|
842 | |
---|
843 | if test "$ac_dir" != .; then |
---|
844 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
845 | # A "../" for each directory in $ac_dir_suffix. |
---|
846 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
847 | else |
---|
848 | ac_dir_suffix= ac_top_builddir= |
---|
849 | fi |
---|
850 | |
---|
851 | case $srcdir in |
---|
852 | .) # No --srcdir option. We are building in place. |
---|
853 | ac_srcdir=. |
---|
854 | if test -z "$ac_top_builddir"; then |
---|
855 | ac_top_srcdir=. |
---|
856 | else |
---|
857 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
858 | fi ;; |
---|
859 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
860 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
861 | ac_top_srcdir=$srcdir ;; |
---|
862 | *) # Relative path. |
---|
863 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
864 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
865 | esac |
---|
866 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
---|
867 | # absolute. |
---|
868 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
---|
869 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
---|
870 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
---|
871 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
---|
872 | |
---|
873 | cd $ac_dir |
---|
874 | # Check for guested configure; otherwise get Cygnus style configure. |
---|
875 | if test -f $ac_srcdir/configure.gnu; then |
---|
876 | echo |
---|
877 | $SHELL $ac_srcdir/configure.gnu --help=recursive |
---|
878 | elif test -f $ac_srcdir/configure; then |
---|
879 | echo |
---|
880 | $SHELL $ac_srcdir/configure --help=recursive |
---|
881 | elif test -f $ac_srcdir/configure.ac || |
---|
882 | test -f $ac_srcdir/configure.in; then |
---|
883 | echo |
---|
884 | $ac_configure --help |
---|
885 | else |
---|
886 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
887 | fi |
---|
888 | cd $ac_popdir |
---|
889 | done |
---|
890 | fi |
---|
891 | |
---|
892 | test -n "$ac_init_help" && exit 0 |
---|
893 | if $ac_init_version; then |
---|
894 | cat <<\_ACEOF |
---|
895 | gtk-doc configure 1.2 |
---|
896 | generated by GNU Autoconf 2.57 |
---|
897 | |
---|
898 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
---|
899 | Free Software Foundation, Inc. |
---|
900 | This configure script is free software; the Free Software Foundation |
---|
901 | gives unlimited permission to copy, distribute and modify it. |
---|
902 | _ACEOF |
---|
903 | exit 0 |
---|
904 | fi |
---|
905 | exec 5>config.log |
---|
906 | cat >&5 <<_ACEOF |
---|
907 | This file contains any messages produced by compilers while |
---|
908 | running configure, to aid debugging if configure makes a mistake. |
---|
909 | |
---|
910 | It was created by gtk-doc $as_me 1.2, which was |
---|
911 | generated by GNU Autoconf 2.57. Invocation command line was |
---|
912 | |
---|
913 | $ $0 $@ |
---|
914 | |
---|
915 | _ACEOF |
---|
916 | { |
---|
917 | cat <<_ASUNAME |
---|
918 | ## --------- ## |
---|
919 | ## Platform. ## |
---|
920 | ## --------- ## |
---|
921 | |
---|
922 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
923 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
924 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
925 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
926 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
927 | |
---|
928 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
929 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
930 | |
---|
931 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
932 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
933 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
934 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
---|
935 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
936 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
937 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
938 | |
---|
939 | _ASUNAME |
---|
940 | |
---|
941 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
942 | for as_dir in $PATH |
---|
943 | do |
---|
944 | IFS=$as_save_IFS |
---|
945 | test -z "$as_dir" && as_dir=. |
---|
946 | echo "PATH: $as_dir" |
---|
947 | done |
---|
948 | |
---|
949 | } >&5 |
---|
950 | |
---|
951 | cat >&5 <<_ACEOF |
---|
952 | |
---|
953 | |
---|
954 | ## ----------- ## |
---|
955 | ## Core tests. ## |
---|
956 | ## ----------- ## |
---|
957 | |
---|
958 | _ACEOF |
---|
959 | |
---|
960 | |
---|
961 | # Keep a trace of the command line. |
---|
962 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
963 | # Strip out --silent because we don't want to record it for future runs. |
---|
964 | # Also quote any args containing shell meta-characters. |
---|
965 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
966 | ac_configure_args= |
---|
967 | ac_configure_args0= |
---|
968 | ac_configure_args1= |
---|
969 | ac_sep= |
---|
970 | ac_must_keep_next=false |
---|
971 | for ac_pass in 1 2 |
---|
972 | do |
---|
973 | for ac_arg |
---|
974 | do |
---|
975 | case $ac_arg in |
---|
976 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
977 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
978 | | -silent | --silent | --silen | --sile | --sil) |
---|
979 | continue ;; |
---|
980 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
---|
981 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
982 | esac |
---|
983 | case $ac_pass in |
---|
984 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
---|
985 | 2) |
---|
986 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
---|
987 | if test $ac_must_keep_next = true; then |
---|
988 | ac_must_keep_next=false # Got value, back to normal. |
---|
989 | else |
---|
990 | case $ac_arg in |
---|
991 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
992 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
993 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
994 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
995 | case "$ac_configure_args0 " in |
---|
996 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
997 | esac |
---|
998 | ;; |
---|
999 | -* ) ac_must_keep_next=true ;; |
---|
1000 | esac |
---|
1001 | fi |
---|
1002 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
---|
1003 | # Get rid of the leading space. |
---|
1004 | ac_sep=" " |
---|
1005 | ;; |
---|
1006 | esac |
---|
1007 | done |
---|
1008 | done |
---|
1009 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
---|
1010 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
---|
1011 | |
---|
1012 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
1013 | # config.log. We remove comments because anyway the quotes in there |
---|
1014 | # would cause problems or look ugly. |
---|
1015 | # WARNING: Be sure not to use single quotes in there, as some shells, |
---|
1016 | # such as our DU 5.0 friend, will then `close' the trap. |
---|
1017 | trap 'exit_status=$? |
---|
1018 | # Save into config.log some information that might help in debugging. |
---|
1019 | { |
---|
1020 | echo |
---|
1021 | |
---|
1022 | cat <<\_ASBOX |
---|
1023 | ## ---------------- ## |
---|
1024 | ## Cache variables. ## |
---|
1025 | ## ---------------- ## |
---|
1026 | _ASBOX |
---|
1027 | echo |
---|
1028 | # The following way of writing the cache mishandles newlines in values, |
---|
1029 | { |
---|
1030 | (set) 2>&1 | |
---|
1031 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
---|
1032 | *ac_space=\ *) |
---|
1033 | sed -n \ |
---|
1034 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
---|
1035 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
---|
1036 | ;; |
---|
1037 | *) |
---|
1038 | sed -n \ |
---|
1039 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
---|
1040 | ;; |
---|
1041 | esac; |
---|
1042 | } |
---|
1043 | echo |
---|
1044 | |
---|
1045 | cat <<\_ASBOX |
---|
1046 | ## ----------------- ## |
---|
1047 | ## Output variables. ## |
---|
1048 | ## ----------------- ## |
---|
1049 | _ASBOX |
---|
1050 | echo |
---|
1051 | for ac_var in $ac_subst_vars |
---|
1052 | do |
---|
1053 | eval ac_val=$`echo $ac_var` |
---|
1054 | echo "$ac_var='"'"'$ac_val'"'"'" |
---|
1055 | done | sort |
---|
1056 | echo |
---|
1057 | |
---|
1058 | if test -n "$ac_subst_files"; then |
---|
1059 | cat <<\_ASBOX |
---|
1060 | ## ------------- ## |
---|
1061 | ## Output files. ## |
---|
1062 | ## ------------- ## |
---|
1063 | _ASBOX |
---|
1064 | echo |
---|
1065 | for ac_var in $ac_subst_files |
---|
1066 | do |
---|
1067 | eval ac_val=$`echo $ac_var` |
---|
1068 | echo "$ac_var='"'"'$ac_val'"'"'" |
---|
1069 | done | sort |
---|
1070 | echo |
---|
1071 | fi |
---|
1072 | |
---|
1073 | if test -s confdefs.h; then |
---|
1074 | cat <<\_ASBOX |
---|
1075 | ## ----------- ## |
---|
1076 | ## confdefs.h. ## |
---|
1077 | ## ----------- ## |
---|
1078 | _ASBOX |
---|
1079 | echo |
---|
1080 | sed "/^$/d" confdefs.h | sort |
---|
1081 | echo |
---|
1082 | fi |
---|
1083 | test "$ac_signal" != 0 && |
---|
1084 | echo "$as_me: caught signal $ac_signal" |
---|
1085 | echo "$as_me: exit $exit_status" |
---|
1086 | } >&5 |
---|
1087 | rm -f core core.* *.core && |
---|
1088 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
---|
1089 | exit $exit_status |
---|
1090 | ' 0 |
---|
1091 | for ac_signal in 1 2 13 15; do |
---|
1092 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
---|
1093 | done |
---|
1094 | ac_signal=0 |
---|
1095 | |
---|
1096 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
1097 | rm -rf conftest* confdefs.h |
---|
1098 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
---|
1099 | echo >confdefs.h |
---|
1100 | |
---|
1101 | # Predefined preprocessor variables. |
---|
1102 | |
---|
1103 | cat >>confdefs.h <<_ACEOF |
---|
1104 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
1105 | _ACEOF |
---|
1106 | |
---|
1107 | |
---|
1108 | cat >>confdefs.h <<_ACEOF |
---|
1109 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
1110 | _ACEOF |
---|
1111 | |
---|
1112 | |
---|
1113 | cat >>confdefs.h <<_ACEOF |
---|
1114 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
1115 | _ACEOF |
---|
1116 | |
---|
1117 | |
---|
1118 | cat >>confdefs.h <<_ACEOF |
---|
1119 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
1120 | _ACEOF |
---|
1121 | |
---|
1122 | |
---|
1123 | cat >>confdefs.h <<_ACEOF |
---|
1124 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
1125 | _ACEOF |
---|
1126 | |
---|
1127 | |
---|
1128 | # Let the site file select an alternate cache file if it wants to. |
---|
1129 | # Prefer explicitly selected file to automatically selected ones. |
---|
1130 | if test -z "$CONFIG_SITE"; then |
---|
1131 | if test "x$prefix" != xNONE; then |
---|
1132 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
---|
1133 | else |
---|
1134 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
---|
1135 | fi |
---|
1136 | fi |
---|
1137 | for ac_site_file in $CONFIG_SITE; do |
---|
1138 | if test -r "$ac_site_file"; then |
---|
1139 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
---|
1140 | echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
1141 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
1142 | . "$ac_site_file" |
---|
1143 | fi |
---|
1144 | done |
---|
1145 | |
---|
1146 | if test -r "$cache_file"; then |
---|
1147 | # Some versions of bash will fail to source /dev/null (special |
---|
1148 | # files actually), so we avoid doing that. |
---|
1149 | if test -f "$cache_file"; then |
---|
1150 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
---|
1151 | echo "$as_me: loading cache $cache_file" >&6;} |
---|
1152 | case $cache_file in |
---|
1153 | [\\/]* | ?:[\\/]* ) . $cache_file;; |
---|
1154 | *) . ./$cache_file;; |
---|
1155 | esac |
---|
1156 | fi |
---|
1157 | else |
---|
1158 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
---|
1159 | echo "$as_me: creating cache $cache_file" >&6;} |
---|
1160 | >$cache_file |
---|
1161 | fi |
---|
1162 | |
---|
1163 | # Check that the precious variables saved in the cache have kept the same |
---|
1164 | # value. |
---|
1165 | ac_cache_corrupted=false |
---|
1166 | for ac_var in `(set) 2>&1 | |
---|
1167 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
---|
1168 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
1169 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
1170 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
---|
1171 | eval ac_new_val="\$ac_env_${ac_var}_value" |
---|
1172 | case $ac_old_set,$ac_new_set in |
---|
1173 | set,) |
---|
1174 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
1175 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
1176 | ac_cache_corrupted=: ;; |
---|
1177 | ,set) |
---|
1178 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
---|
1179 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
1180 | ac_cache_corrupted=: ;; |
---|
1181 | ,);; |
---|
1182 | *) |
---|
1183 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
1184 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
1185 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
1186 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
---|
1187 | echo "$as_me: former value: $ac_old_val" >&2;} |
---|
1188 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
---|
1189 | echo "$as_me: current value: $ac_new_val" >&2;} |
---|
1190 | ac_cache_corrupted=: |
---|
1191 | fi;; |
---|
1192 | esac |
---|
1193 | # Pass precious variables to config.status. |
---|
1194 | if test "$ac_new_set" = set; then |
---|
1195 | case $ac_new_val in |
---|
1196 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
---|
1197 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1198 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
1199 | esac |
---|
1200 | case " $ac_configure_args " in |
---|
1201 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
1202 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
---|
1203 | esac |
---|
1204 | fi |
---|
1205 | done |
---|
1206 | if $ac_cache_corrupted; then |
---|
1207 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
---|
1208 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
1209 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
---|
1210 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
---|
1211 | { (exit 1); exit 1; }; } |
---|
1212 | fi |
---|
1213 | |
---|
1214 | ac_ext=c |
---|
1215 | ac_cpp='$CPP $CPPFLAGS' |
---|
1216 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
1217 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
1218 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
1219 | |
---|
1220 | |
---|
1221 | |
---|
1222 | |
---|
1223 | |
---|
1224 | |
---|
1225 | |
---|
1226 | |
---|
1227 | |
---|
1228 | |
---|
1229 | |
---|
1230 | |
---|
1231 | |
---|
1232 | |
---|
1233 | |
---|
1234 | |
---|
1235 | |
---|
1236 | |
---|
1237 | |
---|
1238 | |
---|
1239 | |
---|
1240 | |
---|
1241 | |
---|
1242 | |
---|
1243 | |
---|
1244 | |
---|
1245 | |
---|
1246 | |
---|
1247 | |
---|
1248 | |
---|
1249 | am__api_version="1.6" |
---|
1250 | ac_aux_dir= |
---|
1251 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
---|
1252 | if test -f $ac_dir/install-sh; then |
---|
1253 | ac_aux_dir=$ac_dir |
---|
1254 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
1255 | break |
---|
1256 | elif test -f $ac_dir/install.sh; then |
---|
1257 | ac_aux_dir=$ac_dir |
---|
1258 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
1259 | break |
---|
1260 | elif test -f $ac_dir/shtool; then |
---|
1261 | ac_aux_dir=$ac_dir |
---|
1262 | ac_install_sh="$ac_aux_dir/shtool install -c" |
---|
1263 | break |
---|
1264 | fi |
---|
1265 | done |
---|
1266 | if test -z "$ac_aux_dir"; then |
---|
1267 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
---|
1268 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
---|
1269 | { (exit 1); exit 1; }; } |
---|
1270 | fi |
---|
1271 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
---|
1272 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
---|
1273 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
---|
1274 | |
---|
1275 | # Find a good install program. We prefer a C program (faster), |
---|
1276 | # so one script is as good as another. But avoid the broken or |
---|
1277 | # incompatible versions: |
---|
1278 | # SysV /etc/install, /usr/sbin/install |
---|
1279 | # SunOS /usr/etc/install |
---|
1280 | # IRIX /sbin/install |
---|
1281 | # AIX /bin/install |
---|
1282 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
1283 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
1284 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
1285 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
1286 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
1287 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
---|
1288 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
---|
1289 | if test -z "$INSTALL"; then |
---|
1290 | if test "${ac_cv_path_install+set}" = set; then |
---|
1291 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1292 | else |
---|
1293 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1294 | for as_dir in $PATH |
---|
1295 | do |
---|
1296 | IFS=$as_save_IFS |
---|
1297 | test -z "$as_dir" && as_dir=. |
---|
1298 | # Account for people who put trailing slashes in PATH elements. |
---|
1299 | case $as_dir/ in |
---|
1300 | ./ | .// | /cC/* | \ |
---|
1301 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
1302 | /usr/ucb/* ) ;; |
---|
1303 | *) |
---|
1304 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
1305 | # Don't use installbsd from OSF since it installs stuff as root |
---|
1306 | # by default. |
---|
1307 | for ac_prog in ginstall scoinst install; do |
---|
1308 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1309 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
---|
1310 | if test $ac_prog = install && |
---|
1311 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
1312 | # AIX install. It has an incompatible calling convention. |
---|
1313 | : |
---|
1314 | elif test $ac_prog = install && |
---|
1315 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
1316 | # program-specific install script used by HP pwplus--don't use. |
---|
1317 | : |
---|
1318 | else |
---|
1319 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
1320 | break 3 |
---|
1321 | fi |
---|
1322 | fi |
---|
1323 | done |
---|
1324 | done |
---|
1325 | ;; |
---|
1326 | esac |
---|
1327 | done |
---|
1328 | |
---|
1329 | |
---|
1330 | fi |
---|
1331 | if test "${ac_cv_path_install+set}" = set; then |
---|
1332 | INSTALL=$ac_cv_path_install |
---|
1333 | else |
---|
1334 | # As a last resort, use the slow shell script. We don't cache a |
---|
1335 | # path for INSTALL within a source directory, because that will |
---|
1336 | # break other packages using the cache if that directory is |
---|
1337 | # removed, or if the path is relative. |
---|
1338 | INSTALL=$ac_install_sh |
---|
1339 | fi |
---|
1340 | fi |
---|
1341 | echo "$as_me:$LINENO: result: $INSTALL" >&5 |
---|
1342 | echo "${ECHO_T}$INSTALL" >&6 |
---|
1343 | |
---|
1344 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
1345 | # It thinks the first close brace ends the variable substitution. |
---|
1346 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
1347 | |
---|
1348 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
1349 | |
---|
1350 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
1351 | |
---|
1352 | echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
---|
1353 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
---|
1354 | # Just in case |
---|
1355 | sleep 1 |
---|
1356 | echo timestamp > conftest.file |
---|
1357 | # Do `set' in a subshell so we don't clobber the current shell's |
---|
1358 | # arguments. Must try -L first in case configure is actually a |
---|
1359 | # symlink; some systems play weird games with the mod time of symlinks |
---|
1360 | # (eg FreeBSD returns the mod time of the symlink's containing |
---|
1361 | # directory). |
---|
1362 | if ( |
---|
1363 | set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
---|
1364 | if test "$*" = "X"; then |
---|
1365 | # -L didn't work. |
---|
1366 | set X `ls -t $srcdir/configure conftest.file` |
---|
1367 | fi |
---|
1368 | rm -f conftest.file |
---|
1369 | if test "$*" != "X $srcdir/configure conftest.file" \ |
---|
1370 | && test "$*" != "X conftest.file $srcdir/configure"; then |
---|
1371 | |
---|
1372 | # If neither matched, then we have a broken ls. This can happen |
---|
1373 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
---|
1374 | # broken ls alias from the environment. This has actually |
---|
1375 | # happened. Such a system could not be considered "sane". |
---|
1376 | { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
---|
1377 | alias in your environment" >&5 |
---|
1378 | echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
---|
1379 | alias in your environment" >&2;} |
---|
1380 | { (exit 1); exit 1; }; } |
---|
1381 | fi |
---|
1382 | |
---|
1383 | test "$2" = conftest.file |
---|
1384 | ) |
---|
1385 | then |
---|
1386 | # Ok. |
---|
1387 | : |
---|
1388 | else |
---|
1389 | { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
---|
1390 | Check your system clock" >&5 |
---|
1391 | echo "$as_me: error: newly created file is older than distributed files! |
---|
1392 | Check your system clock" >&2;} |
---|
1393 | { (exit 1); exit 1; }; } |
---|
1394 | fi |
---|
1395 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
1396 | echo "${ECHO_T}yes" >&6 |
---|
1397 | test "$program_prefix" != NONE && |
---|
1398 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
---|
1399 | # Use a double $ so make ignores it. |
---|
1400 | test "$program_suffix" != NONE && |
---|
1401 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
---|
1402 | # Double any \ or $. echo might interpret backslashes. |
---|
1403 | # By default was `s,x,x', remove it if useless. |
---|
1404 | cat <<\_ACEOF >conftest.sed |
---|
1405 | s/[\\$]/&&/g;s/;s,x,x,$// |
---|
1406 | _ACEOF |
---|
1407 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
---|
1408 | rm conftest.sed |
---|
1409 | |
---|
1410 | |
---|
1411 | # expand $ac_aux_dir to an absolute path |
---|
1412 | am_aux_dir=`cd $ac_aux_dir && pwd` |
---|
1413 | |
---|
1414 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
---|
1415 | # Use eval to expand $SHELL |
---|
1416 | if eval "$MISSING --run true"; then |
---|
1417 | am_missing_run="$MISSING --run " |
---|
1418 | else |
---|
1419 | am_missing_run= |
---|
1420 | { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
---|
1421 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
---|
1422 | fi |
---|
1423 | |
---|
1424 | for ac_prog in gawk mawk nawk awk |
---|
1425 | do |
---|
1426 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
1427 | set dummy $ac_prog; ac_word=$2 |
---|
1428 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1429 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1430 | if test "${ac_cv_prog_AWK+set}" = set; then |
---|
1431 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1432 | else |
---|
1433 | if test -n "$AWK"; then |
---|
1434 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
---|
1435 | else |
---|
1436 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1437 | for as_dir in $PATH |
---|
1438 | do |
---|
1439 | IFS=$as_save_IFS |
---|
1440 | test -z "$as_dir" && as_dir=. |
---|
1441 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1442 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1443 | ac_cv_prog_AWK="$ac_prog" |
---|
1444 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1445 | break 2 |
---|
1446 | fi |
---|
1447 | done |
---|
1448 | done |
---|
1449 | |
---|
1450 | fi |
---|
1451 | fi |
---|
1452 | AWK=$ac_cv_prog_AWK |
---|
1453 | if test -n "$AWK"; then |
---|
1454 | echo "$as_me:$LINENO: result: $AWK" >&5 |
---|
1455 | echo "${ECHO_T}$AWK" >&6 |
---|
1456 | else |
---|
1457 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1458 | echo "${ECHO_T}no" >&6 |
---|
1459 | fi |
---|
1460 | |
---|
1461 | test -n "$AWK" && break |
---|
1462 | done |
---|
1463 | |
---|
1464 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
---|
1465 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
---|
1466 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
---|
1467 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
---|
1468 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1469 | else |
---|
1470 | cat >conftest.make <<\_ACEOF |
---|
1471 | all: |
---|
1472 | @echo 'ac_maketemp="$(MAKE)"' |
---|
1473 | _ACEOF |
---|
1474 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
---|
1475 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
---|
1476 | if test -n "$ac_maketemp"; then |
---|
1477 | eval ac_cv_prog_make_${ac_make}_set=yes |
---|
1478 | else |
---|
1479 | eval ac_cv_prog_make_${ac_make}_set=no |
---|
1480 | fi |
---|
1481 | rm -f conftest.make |
---|
1482 | fi |
---|
1483 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
---|
1484 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
1485 | echo "${ECHO_T}yes" >&6 |
---|
1486 | SET_MAKE= |
---|
1487 | else |
---|
1488 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1489 | echo "${ECHO_T}no" >&6 |
---|
1490 | SET_MAKE="MAKE=${MAKE-make}" |
---|
1491 | fi |
---|
1492 | |
---|
1493 | # test to see if srcdir already configured |
---|
1494 | if test "`cd $srcdir && pwd`" != "`pwd`" && |
---|
1495 | test -f $srcdir/config.status; then |
---|
1496 | { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
---|
1497 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
---|
1498 | { (exit 1); exit 1; }; } |
---|
1499 | fi |
---|
1500 | |
---|
1501 | # Define the identity of the package. |
---|
1502 | PACKAGE=gtk-doc |
---|
1503 | VERSION=1.2 |
---|
1504 | |
---|
1505 | |
---|
1506 | cat >>confdefs.h <<_ACEOF |
---|
1507 | #define PACKAGE "$PACKAGE" |
---|
1508 | _ACEOF |
---|
1509 | |
---|
1510 | |
---|
1511 | cat >>confdefs.h <<_ACEOF |
---|
1512 | #define VERSION "$VERSION" |
---|
1513 | _ACEOF |
---|
1514 | |
---|
1515 | # Some tools Automake needs. |
---|
1516 | |
---|
1517 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
---|
1518 | |
---|
1519 | |
---|
1520 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
---|
1521 | |
---|
1522 | |
---|
1523 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
---|
1524 | |
---|
1525 | |
---|
1526 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
---|
1527 | |
---|
1528 | |
---|
1529 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
---|
1530 | |
---|
1531 | |
---|
1532 | AMTAR=${AMTAR-"${am_missing_run}tar"} |
---|
1533 | |
---|
1534 | install_sh=${install_sh-"$am_aux_dir/install-sh"} |
---|
1535 | |
---|
1536 | # Installed binaries are usually stripped using `strip' when the user |
---|
1537 | # run `make install-strip'. However `strip' might not be the right |
---|
1538 | # tool to use in cross-compilation environments, therefore Automake |
---|
1539 | # will honor the `STRIP' environment variable to overrule this program. |
---|
1540 | if test "$cross_compiling" != no; then |
---|
1541 | if test -n "$ac_tool_prefix"; then |
---|
1542 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
---|
1543 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
---|
1544 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1545 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1546 | if test "${ac_cv_prog_STRIP+set}" = set; then |
---|
1547 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1548 | else |
---|
1549 | if test -n "$STRIP"; then |
---|
1550 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
---|
1551 | else |
---|
1552 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1553 | for as_dir in $PATH |
---|
1554 | do |
---|
1555 | IFS=$as_save_IFS |
---|
1556 | test -z "$as_dir" && as_dir=. |
---|
1557 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1558 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1559 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
---|
1560 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1561 | break 2 |
---|
1562 | fi |
---|
1563 | done |
---|
1564 | done |
---|
1565 | |
---|
1566 | fi |
---|
1567 | fi |
---|
1568 | STRIP=$ac_cv_prog_STRIP |
---|
1569 | if test -n "$STRIP"; then |
---|
1570 | echo "$as_me:$LINENO: result: $STRIP" >&5 |
---|
1571 | echo "${ECHO_T}$STRIP" >&6 |
---|
1572 | else |
---|
1573 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1574 | echo "${ECHO_T}no" >&6 |
---|
1575 | fi |
---|
1576 | |
---|
1577 | fi |
---|
1578 | if test -z "$ac_cv_prog_STRIP"; then |
---|
1579 | ac_ct_STRIP=$STRIP |
---|
1580 | # Extract the first word of "strip", so it can be a program name with args. |
---|
1581 | set dummy strip; ac_word=$2 |
---|
1582 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1583 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1584 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
---|
1585 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1586 | else |
---|
1587 | if test -n "$ac_ct_STRIP"; then |
---|
1588 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
---|
1589 | else |
---|
1590 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1591 | for as_dir in $PATH |
---|
1592 | do |
---|
1593 | IFS=$as_save_IFS |
---|
1594 | test -z "$as_dir" && as_dir=. |
---|
1595 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1596 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1597 | ac_cv_prog_ac_ct_STRIP="strip" |
---|
1598 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1599 | break 2 |
---|
1600 | fi |
---|
1601 | done |
---|
1602 | done |
---|
1603 | |
---|
1604 | test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
---|
1605 | fi |
---|
1606 | fi |
---|
1607 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
---|
1608 | if test -n "$ac_ct_STRIP"; then |
---|
1609 | echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
---|
1610 | echo "${ECHO_T}$ac_ct_STRIP" >&6 |
---|
1611 | else |
---|
1612 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1613 | echo "${ECHO_T}no" >&6 |
---|
1614 | fi |
---|
1615 | |
---|
1616 | STRIP=$ac_ct_STRIP |
---|
1617 | else |
---|
1618 | STRIP="$ac_cv_prog_STRIP" |
---|
1619 | fi |
---|
1620 | |
---|
1621 | fi |
---|
1622 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
---|
1623 | |
---|
1624 | # We need awk for the "check" target. The system "awk" is bad on |
---|
1625 | # some platforms. |
---|
1626 | |
---|
1627 | |
---|
1628 | |
---|
1629 | |
---|
1630 | echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
---|
1631 | echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 |
---|
1632 | # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. |
---|
1633 | if test "${enable_maintainer_mode+set}" = set; then |
---|
1634 | enableval="$enable_maintainer_mode" |
---|
1635 | USE_MAINTAINER_MODE=$enableval |
---|
1636 | else |
---|
1637 | USE_MAINTAINER_MODE=no |
---|
1638 | fi; |
---|
1639 | echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 |
---|
1640 | echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 |
---|
1641 | |
---|
1642 | |
---|
1643 | if test $USE_MAINTAINER_MODE = yes; then |
---|
1644 | MAINTAINER_MODE_TRUE= |
---|
1645 | MAINTAINER_MODE_FALSE='#' |
---|
1646 | else |
---|
1647 | MAINTAINER_MODE_TRUE='#' |
---|
1648 | MAINTAINER_MODE_FALSE= |
---|
1649 | fi |
---|
1650 | |
---|
1651 | MAINT=$MAINTAINER_MODE_TRUE |
---|
1652 | |
---|
1653 | |
---|
1654 | |
---|
1655 | rm -f .deps 2>/dev/null |
---|
1656 | mkdir .deps 2>/dev/null |
---|
1657 | if test -d .deps; then |
---|
1658 | DEPDIR=.deps |
---|
1659 | else |
---|
1660 | # MS-DOS does not allow filenames that begin with a dot. |
---|
1661 | DEPDIR=_deps |
---|
1662 | fi |
---|
1663 | rmdir .deps 2>/dev/null |
---|
1664 | |
---|
1665 | |
---|
1666 | ac_config_commands="$ac_config_commands depfiles" |
---|
1667 | |
---|
1668 | |
---|
1669 | am_make=${MAKE-make} |
---|
1670 | cat > confinc << 'END' |
---|
1671 | doit: |
---|
1672 | @echo done |
---|
1673 | END |
---|
1674 | # If we don't find an include directive, just comment out the code. |
---|
1675 | echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
---|
1676 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 |
---|
1677 | am__include="#" |
---|
1678 | am__quote= |
---|
1679 | _am_result=none |
---|
1680 | # First try GNU make style include. |
---|
1681 | echo "include confinc" > confmf |
---|
1682 | # We grep out `Entering directory' and `Leaving directory' |
---|
1683 | # messages which can occur if `w' ends up in MAKEFLAGS. |
---|
1684 | # In particular we don't look at `^make:' because GNU make might |
---|
1685 | # be invoked under some other name (usually "gmake"), in which |
---|
1686 | # case it prints its new name instead of `make'. |
---|
1687 | if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then |
---|
1688 | am__include=include |
---|
1689 | am__quote= |
---|
1690 | _am_result=GNU |
---|
1691 | fi |
---|
1692 | # Now try BSD make style include. |
---|
1693 | if test "$am__include" = "#"; then |
---|
1694 | echo '.include "confinc"' > confmf |
---|
1695 | if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
---|
1696 | am__include=.include |
---|
1697 | am__quote="\"" |
---|
1698 | _am_result=BSD |
---|
1699 | fi |
---|
1700 | fi |
---|
1701 | |
---|
1702 | |
---|
1703 | echo "$as_me:$LINENO: result: $_am_result" >&5 |
---|
1704 | echo "${ECHO_T}$_am_result" >&6 |
---|
1705 | rm -f confinc confmf |
---|
1706 | |
---|
1707 | # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. |
---|
1708 | if test "${enable_dependency_tracking+set}" = set; then |
---|
1709 | enableval="$enable_dependency_tracking" |
---|
1710 | |
---|
1711 | fi; |
---|
1712 | if test "x$enable_dependency_tracking" != xno; then |
---|
1713 | am_depcomp="$ac_aux_dir/depcomp" |
---|
1714 | AMDEPBACKSLASH='\' |
---|
1715 | fi |
---|
1716 | |
---|
1717 | |
---|
1718 | if test "x$enable_dependency_tracking" != xno; then |
---|
1719 | AMDEP_TRUE= |
---|
1720 | AMDEP_FALSE='#' |
---|
1721 | else |
---|
1722 | AMDEP_TRUE='#' |
---|
1723 | AMDEP_FALSE= |
---|
1724 | fi |
---|
1725 | |
---|
1726 | |
---|
1727 | |
---|
1728 | ac_ext=c |
---|
1729 | ac_cpp='$CPP $CPPFLAGS' |
---|
1730 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
1731 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
1732 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
1733 | if test -n "$ac_tool_prefix"; then |
---|
1734 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
---|
1735 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
---|
1736 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1737 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1738 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
1739 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1740 | else |
---|
1741 | if test -n "$CC"; then |
---|
1742 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
1743 | else |
---|
1744 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1745 | for as_dir in $PATH |
---|
1746 | do |
---|
1747 | IFS=$as_save_IFS |
---|
1748 | test -z "$as_dir" && as_dir=. |
---|
1749 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1750 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1751 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
---|
1752 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1753 | break 2 |
---|
1754 | fi |
---|
1755 | done |
---|
1756 | done |
---|
1757 | |
---|
1758 | fi |
---|
1759 | fi |
---|
1760 | CC=$ac_cv_prog_CC |
---|
1761 | if test -n "$CC"; then |
---|
1762 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
1763 | echo "${ECHO_T}$CC" >&6 |
---|
1764 | else |
---|
1765 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1766 | echo "${ECHO_T}no" >&6 |
---|
1767 | fi |
---|
1768 | |
---|
1769 | fi |
---|
1770 | if test -z "$ac_cv_prog_CC"; then |
---|
1771 | ac_ct_CC=$CC |
---|
1772 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
1773 | set dummy gcc; ac_word=$2 |
---|
1774 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1775 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1776 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
1777 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1778 | else |
---|
1779 | if test -n "$ac_ct_CC"; then |
---|
1780 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
1781 | else |
---|
1782 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1783 | for as_dir in $PATH |
---|
1784 | do |
---|
1785 | IFS=$as_save_IFS |
---|
1786 | test -z "$as_dir" && as_dir=. |
---|
1787 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1788 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1789 | ac_cv_prog_ac_ct_CC="gcc" |
---|
1790 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1791 | break 2 |
---|
1792 | fi |
---|
1793 | done |
---|
1794 | done |
---|
1795 | |
---|
1796 | fi |
---|
1797 | fi |
---|
1798 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
1799 | if test -n "$ac_ct_CC"; then |
---|
1800 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
1801 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
1802 | else |
---|
1803 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1804 | echo "${ECHO_T}no" >&6 |
---|
1805 | fi |
---|
1806 | |
---|
1807 | CC=$ac_ct_CC |
---|
1808 | else |
---|
1809 | CC="$ac_cv_prog_CC" |
---|
1810 | fi |
---|
1811 | |
---|
1812 | if test -z "$CC"; then |
---|
1813 | if test -n "$ac_tool_prefix"; then |
---|
1814 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
---|
1815 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
---|
1816 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1817 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1818 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
1819 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1820 | else |
---|
1821 | if test -n "$CC"; then |
---|
1822 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
1823 | else |
---|
1824 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1825 | for as_dir in $PATH |
---|
1826 | do |
---|
1827 | IFS=$as_save_IFS |
---|
1828 | test -z "$as_dir" && as_dir=. |
---|
1829 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1830 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1831 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
---|
1832 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1833 | break 2 |
---|
1834 | fi |
---|
1835 | done |
---|
1836 | done |
---|
1837 | |
---|
1838 | fi |
---|
1839 | fi |
---|
1840 | CC=$ac_cv_prog_CC |
---|
1841 | if test -n "$CC"; then |
---|
1842 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
1843 | echo "${ECHO_T}$CC" >&6 |
---|
1844 | else |
---|
1845 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1846 | echo "${ECHO_T}no" >&6 |
---|
1847 | fi |
---|
1848 | |
---|
1849 | fi |
---|
1850 | if test -z "$ac_cv_prog_CC"; then |
---|
1851 | ac_ct_CC=$CC |
---|
1852 | # Extract the first word of "cc", so it can be a program name with args. |
---|
1853 | set dummy cc; ac_word=$2 |
---|
1854 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1855 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1856 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
1857 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1858 | else |
---|
1859 | if test -n "$ac_ct_CC"; then |
---|
1860 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
1861 | else |
---|
1862 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1863 | for as_dir in $PATH |
---|
1864 | do |
---|
1865 | IFS=$as_save_IFS |
---|
1866 | test -z "$as_dir" && as_dir=. |
---|
1867 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1868 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1869 | ac_cv_prog_ac_ct_CC="cc" |
---|
1870 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1871 | break 2 |
---|
1872 | fi |
---|
1873 | done |
---|
1874 | done |
---|
1875 | |
---|
1876 | fi |
---|
1877 | fi |
---|
1878 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
1879 | if test -n "$ac_ct_CC"; then |
---|
1880 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
1881 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
1882 | else |
---|
1883 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1884 | echo "${ECHO_T}no" >&6 |
---|
1885 | fi |
---|
1886 | |
---|
1887 | CC=$ac_ct_CC |
---|
1888 | else |
---|
1889 | CC="$ac_cv_prog_CC" |
---|
1890 | fi |
---|
1891 | |
---|
1892 | fi |
---|
1893 | if test -z "$CC"; then |
---|
1894 | # Extract the first word of "cc", so it can be a program name with args. |
---|
1895 | set dummy cc; ac_word=$2 |
---|
1896 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1897 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1898 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
1899 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1900 | else |
---|
1901 | if test -n "$CC"; then |
---|
1902 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
1903 | else |
---|
1904 | ac_prog_rejected=no |
---|
1905 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1906 | for as_dir in $PATH |
---|
1907 | do |
---|
1908 | IFS=$as_save_IFS |
---|
1909 | test -z "$as_dir" && as_dir=. |
---|
1910 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1911 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1912 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
1913 | ac_prog_rejected=yes |
---|
1914 | continue |
---|
1915 | fi |
---|
1916 | ac_cv_prog_CC="cc" |
---|
1917 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1918 | break 2 |
---|
1919 | fi |
---|
1920 | done |
---|
1921 | done |
---|
1922 | |
---|
1923 | if test $ac_prog_rejected = yes; then |
---|
1924 | # We found a bogon in the path, so make sure we never use it. |
---|
1925 | set dummy $ac_cv_prog_CC |
---|
1926 | shift |
---|
1927 | if test $# != 0; then |
---|
1928 | # We chose a different compiler from the bogus one. |
---|
1929 | # However, it has the same basename, so the bogon will be chosen |
---|
1930 | # first if we set CC to just the basename; use the full file name. |
---|
1931 | shift |
---|
1932 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
1933 | fi |
---|
1934 | fi |
---|
1935 | fi |
---|
1936 | fi |
---|
1937 | CC=$ac_cv_prog_CC |
---|
1938 | if test -n "$CC"; then |
---|
1939 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
1940 | echo "${ECHO_T}$CC" >&6 |
---|
1941 | else |
---|
1942 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1943 | echo "${ECHO_T}no" >&6 |
---|
1944 | fi |
---|
1945 | |
---|
1946 | fi |
---|
1947 | if test -z "$CC"; then |
---|
1948 | if test -n "$ac_tool_prefix"; then |
---|
1949 | for ac_prog in cl |
---|
1950 | do |
---|
1951 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
1952 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
1953 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1954 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1955 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
1956 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1957 | else |
---|
1958 | if test -n "$CC"; then |
---|
1959 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
1960 | else |
---|
1961 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1962 | for as_dir in $PATH |
---|
1963 | do |
---|
1964 | IFS=$as_save_IFS |
---|
1965 | test -z "$as_dir" && as_dir=. |
---|
1966 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1967 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1968 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
---|
1969 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1970 | break 2 |
---|
1971 | fi |
---|
1972 | done |
---|
1973 | done |
---|
1974 | |
---|
1975 | fi |
---|
1976 | fi |
---|
1977 | CC=$ac_cv_prog_CC |
---|
1978 | if test -n "$CC"; then |
---|
1979 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
1980 | echo "${ECHO_T}$CC" >&6 |
---|
1981 | else |
---|
1982 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1983 | echo "${ECHO_T}no" >&6 |
---|
1984 | fi |
---|
1985 | |
---|
1986 | test -n "$CC" && break |
---|
1987 | done |
---|
1988 | fi |
---|
1989 | if test -z "$CC"; then |
---|
1990 | ac_ct_CC=$CC |
---|
1991 | for ac_prog in cl |
---|
1992 | do |
---|
1993 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
1994 | set dummy $ac_prog; ac_word=$2 |
---|
1995 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1996 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1997 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
1998 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1999 | else |
---|
2000 | if test -n "$ac_ct_CC"; then |
---|
2001 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
2002 | else |
---|
2003 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2004 | for as_dir in $PATH |
---|
2005 | do |
---|
2006 | IFS=$as_save_IFS |
---|
2007 | test -z "$as_dir" && as_dir=. |
---|
2008 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2009 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2010 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
2011 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2012 | break 2 |
---|
2013 | fi |
---|
2014 | done |
---|
2015 | done |
---|
2016 | |
---|
2017 | fi |
---|
2018 | fi |
---|
2019 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
2020 | if test -n "$ac_ct_CC"; then |
---|
2021 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
2022 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
2023 | else |
---|
2024 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2025 | echo "${ECHO_T}no" >&6 |
---|
2026 | fi |
---|
2027 | |
---|
2028 | test -n "$ac_ct_CC" && break |
---|
2029 | done |
---|
2030 | |
---|
2031 | CC=$ac_ct_CC |
---|
2032 | fi |
---|
2033 | |
---|
2034 | fi |
---|
2035 | |
---|
2036 | |
---|
2037 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
---|
2038 | See \`config.log' for more details." >&5 |
---|
2039 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
---|
2040 | See \`config.log' for more details." >&2;} |
---|
2041 | { (exit 1); exit 1; }; } |
---|
2042 | |
---|
2043 | # Provide some information about the compiler. |
---|
2044 | echo "$as_me:$LINENO:" \ |
---|
2045 | "checking for C compiler version" >&5 |
---|
2046 | ac_compiler=`set X $ac_compile; echo $2` |
---|
2047 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
---|
2048 | (eval $ac_compiler --version </dev/null >&5) 2>&5 |
---|
2049 | ac_status=$? |
---|
2050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2051 | (exit $ac_status); } |
---|
2052 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
---|
2053 | (eval $ac_compiler -v </dev/null >&5) 2>&5 |
---|
2054 | ac_status=$? |
---|
2055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2056 | (exit $ac_status); } |
---|
2057 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
---|
2058 | (eval $ac_compiler -V </dev/null >&5) 2>&5 |
---|
2059 | ac_status=$? |
---|
2060 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2061 | (exit $ac_status); } |
---|
2062 | |
---|
2063 | cat >conftest.$ac_ext <<_ACEOF |
---|
2064 | #line $LINENO "configure" |
---|
2065 | /* confdefs.h. */ |
---|
2066 | _ACEOF |
---|
2067 | cat confdefs.h >>conftest.$ac_ext |
---|
2068 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2069 | /* end confdefs.h. */ |
---|
2070 | |
---|
2071 | int |
---|
2072 | main () |
---|
2073 | { |
---|
2074 | |
---|
2075 | ; |
---|
2076 | return 0; |
---|
2077 | } |
---|
2078 | _ACEOF |
---|
2079 | ac_clean_files_save=$ac_clean_files |
---|
2080 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
---|
2081 | # Try to create an executable without -o first, disregard a.out. |
---|
2082 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
2083 | # of exeext. |
---|
2084 | echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
---|
2085 | echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
---|
2086 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
2087 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
---|
2088 | (eval $ac_link_default) 2>&5 |
---|
2089 | ac_status=$? |
---|
2090 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2091 | (exit $ac_status); }; then |
---|
2092 | # Find the output, starting from the most likely. This scheme is |
---|
2093 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last |
---|
2094 | # resort. |
---|
2095 | |
---|
2096 | # Be careful to initialize this variable, since it used to be cached. |
---|
2097 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
---|
2098 | ac_cv_exeext= |
---|
2099 | # b.out is created by i960 compilers. |
---|
2100 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
---|
2101 | do |
---|
2102 | test -f "$ac_file" || continue |
---|
2103 | case $ac_file in |
---|
2104 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
---|
2105 | ;; |
---|
2106 | conftest.$ac_ext ) |
---|
2107 | # This is the source file. |
---|
2108 | ;; |
---|
2109 | [ab].out ) |
---|
2110 | # We found the default executable, but exeext='' is most |
---|
2111 | # certainly right. |
---|
2112 | break;; |
---|
2113 | *.* ) |
---|
2114 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
2115 | # FIXME: I believe we export ac_cv_exeext for Libtool, |
---|
2116 | # but it would be cool to find out if it's true. Does anybody |
---|
2117 | # maintain Libtool? --akim. |
---|
2118 | export ac_cv_exeext |
---|
2119 | break;; |
---|
2120 | * ) |
---|
2121 | break;; |
---|
2122 | esac |
---|
2123 | done |
---|
2124 | else |
---|
2125 | echo "$as_me: failed program was:" >&5 |
---|
2126 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2127 | |
---|
2128 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
---|
2129 | See \`config.log' for more details." >&5 |
---|
2130 | echo "$as_me: error: C compiler cannot create executables |
---|
2131 | See \`config.log' for more details." >&2;} |
---|
2132 | { (exit 77); exit 77; }; } |
---|
2133 | fi |
---|
2134 | |
---|
2135 | ac_exeext=$ac_cv_exeext |
---|
2136 | echo "$as_me:$LINENO: result: $ac_file" >&5 |
---|
2137 | echo "${ECHO_T}$ac_file" >&6 |
---|
2138 | |
---|
2139 | # Check the compiler produces executables we can run. If not, either |
---|
2140 | # the compiler is broken, or we cross compile. |
---|
2141 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
---|
2142 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
---|
2143 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
---|
2144 | # If not cross compiling, check that we can run a simple program. |
---|
2145 | if test "$cross_compiling" != yes; then |
---|
2146 | if { ac_try='./$ac_file' |
---|
2147 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2148 | (eval $ac_try) 2>&5 |
---|
2149 | ac_status=$? |
---|
2150 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2151 | (exit $ac_status); }; }; then |
---|
2152 | cross_compiling=no |
---|
2153 | else |
---|
2154 | if test "$cross_compiling" = maybe; then |
---|
2155 | cross_compiling=yes |
---|
2156 | else |
---|
2157 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
---|
2158 | If you meant to cross compile, use \`--host'. |
---|
2159 | See \`config.log' for more details." >&5 |
---|
2160 | echo "$as_me: error: cannot run C compiled programs. |
---|
2161 | If you meant to cross compile, use \`--host'. |
---|
2162 | See \`config.log' for more details." >&2;} |
---|
2163 | { (exit 1); exit 1; }; } |
---|
2164 | fi |
---|
2165 | fi |
---|
2166 | fi |
---|
2167 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
2168 | echo "${ECHO_T}yes" >&6 |
---|
2169 | |
---|
2170 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
---|
2171 | ac_clean_files=$ac_clean_files_save |
---|
2172 | # Check the compiler produces executables we can run. If not, either |
---|
2173 | # the compiler is broken, or we cross compile. |
---|
2174 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
---|
2175 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
---|
2176 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
---|
2177 | echo "${ECHO_T}$cross_compiling" >&6 |
---|
2178 | |
---|
2179 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
---|
2180 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
---|
2181 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
2182 | (eval $ac_link) 2>&5 |
---|
2183 | ac_status=$? |
---|
2184 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2185 | (exit $ac_status); }; then |
---|
2186 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
2187 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
2188 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
2189 | # `rm'. |
---|
2190 | for ac_file in conftest.exe conftest conftest.*; do |
---|
2191 | test -f "$ac_file" || continue |
---|
2192 | case $ac_file in |
---|
2193 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
---|
2194 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
2195 | export ac_cv_exeext |
---|
2196 | break;; |
---|
2197 | * ) break;; |
---|
2198 | esac |
---|
2199 | done |
---|
2200 | else |
---|
2201 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
---|
2202 | See \`config.log' for more details." >&5 |
---|
2203 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
---|
2204 | See \`config.log' for more details." >&2;} |
---|
2205 | { (exit 1); exit 1; }; } |
---|
2206 | fi |
---|
2207 | |
---|
2208 | rm -f conftest$ac_cv_exeext |
---|
2209 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
---|
2210 | echo "${ECHO_T}$ac_cv_exeext" >&6 |
---|
2211 | |
---|
2212 | rm -f conftest.$ac_ext |
---|
2213 | EXEEXT=$ac_cv_exeext |
---|
2214 | ac_exeext=$EXEEXT |
---|
2215 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
---|
2216 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
---|
2217 | if test "${ac_cv_objext+set}" = set; then |
---|
2218 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2219 | else |
---|
2220 | cat >conftest.$ac_ext <<_ACEOF |
---|
2221 | #line $LINENO "configure" |
---|
2222 | /* confdefs.h. */ |
---|
2223 | _ACEOF |
---|
2224 | cat confdefs.h >>conftest.$ac_ext |
---|
2225 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2226 | /* end confdefs.h. */ |
---|
2227 | |
---|
2228 | int |
---|
2229 | main () |
---|
2230 | { |
---|
2231 | |
---|
2232 | ; |
---|
2233 | return 0; |
---|
2234 | } |
---|
2235 | _ACEOF |
---|
2236 | rm -f conftest.o conftest.obj |
---|
2237 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2238 | (eval $ac_compile) 2>&5 |
---|
2239 | ac_status=$? |
---|
2240 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2241 | (exit $ac_status); }; then |
---|
2242 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
---|
2243 | case $ac_file in |
---|
2244 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
---|
2245 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
2246 | break;; |
---|
2247 | esac |
---|
2248 | done |
---|
2249 | else |
---|
2250 | echo "$as_me: failed program was:" >&5 |
---|
2251 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2252 | |
---|
2253 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
---|
2254 | See \`config.log' for more details." >&5 |
---|
2255 | echo "$as_me: error: cannot compute suffix of object files: cannot compile |
---|
2256 | See \`config.log' for more details." >&2;} |
---|
2257 | { (exit 1); exit 1; }; } |
---|
2258 | fi |
---|
2259 | |
---|
2260 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
2261 | fi |
---|
2262 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
---|
2263 | echo "${ECHO_T}$ac_cv_objext" >&6 |
---|
2264 | OBJEXT=$ac_cv_objext |
---|
2265 | ac_objext=$OBJEXT |
---|
2266 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
---|
2267 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
---|
2268 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
---|
2269 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2270 | else |
---|
2271 | cat >conftest.$ac_ext <<_ACEOF |
---|
2272 | #line $LINENO "configure" |
---|
2273 | /* confdefs.h. */ |
---|
2274 | _ACEOF |
---|
2275 | cat confdefs.h >>conftest.$ac_ext |
---|
2276 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2277 | /* end confdefs.h. */ |
---|
2278 | |
---|
2279 | int |
---|
2280 | main () |
---|
2281 | { |
---|
2282 | #ifndef __GNUC__ |
---|
2283 | choke me |
---|
2284 | #endif |
---|
2285 | |
---|
2286 | ; |
---|
2287 | return 0; |
---|
2288 | } |
---|
2289 | _ACEOF |
---|
2290 | rm -f conftest.$ac_objext |
---|
2291 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2292 | (eval $ac_compile) 2>&5 |
---|
2293 | ac_status=$? |
---|
2294 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2295 | (exit $ac_status); } && |
---|
2296 | { ac_try='test -s conftest.$ac_objext' |
---|
2297 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2298 | (eval $ac_try) 2>&5 |
---|
2299 | ac_status=$? |
---|
2300 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2301 | (exit $ac_status); }; }; then |
---|
2302 | ac_compiler_gnu=yes |
---|
2303 | else |
---|
2304 | echo "$as_me: failed program was:" >&5 |
---|
2305 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2306 | |
---|
2307 | ac_compiler_gnu=no |
---|
2308 | fi |
---|
2309 | rm -f conftest.$ac_objext conftest.$ac_ext |
---|
2310 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
2311 | |
---|
2312 | fi |
---|
2313 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
---|
2314 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
---|
2315 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
---|
2316 | ac_test_CFLAGS=${CFLAGS+set} |
---|
2317 | ac_save_CFLAGS=$CFLAGS |
---|
2318 | CFLAGS="-g" |
---|
2319 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
---|
2320 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
---|
2321 | if test "${ac_cv_prog_cc_g+set}" = set; then |
---|
2322 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2323 | else |
---|
2324 | cat >conftest.$ac_ext <<_ACEOF |
---|
2325 | #line $LINENO "configure" |
---|
2326 | /* confdefs.h. */ |
---|
2327 | _ACEOF |
---|
2328 | cat confdefs.h >>conftest.$ac_ext |
---|
2329 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2330 | /* end confdefs.h. */ |
---|
2331 | |
---|
2332 | int |
---|
2333 | main () |
---|
2334 | { |
---|
2335 | |
---|
2336 | ; |
---|
2337 | return 0; |
---|
2338 | } |
---|
2339 | _ACEOF |
---|
2340 | rm -f conftest.$ac_objext |
---|
2341 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2342 | (eval $ac_compile) 2>&5 |
---|
2343 | ac_status=$? |
---|
2344 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2345 | (exit $ac_status); } && |
---|
2346 | { ac_try='test -s conftest.$ac_objext' |
---|
2347 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2348 | (eval $ac_try) 2>&5 |
---|
2349 | ac_status=$? |
---|
2350 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2351 | (exit $ac_status); }; }; then |
---|
2352 | ac_cv_prog_cc_g=yes |
---|
2353 | else |
---|
2354 | echo "$as_me: failed program was:" >&5 |
---|
2355 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2356 | |
---|
2357 | ac_cv_prog_cc_g=no |
---|
2358 | fi |
---|
2359 | rm -f conftest.$ac_objext conftest.$ac_ext |
---|
2360 | fi |
---|
2361 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
---|
2362 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
---|
2363 | if test "$ac_test_CFLAGS" = set; then |
---|
2364 | CFLAGS=$ac_save_CFLAGS |
---|
2365 | elif test $ac_cv_prog_cc_g = yes; then |
---|
2366 | if test "$GCC" = yes; then |
---|
2367 | CFLAGS="-g -O2" |
---|
2368 | else |
---|
2369 | CFLAGS="-g" |
---|
2370 | fi |
---|
2371 | else |
---|
2372 | if test "$GCC" = yes; then |
---|
2373 | CFLAGS="-O2" |
---|
2374 | else |
---|
2375 | CFLAGS= |
---|
2376 | fi |
---|
2377 | fi |
---|
2378 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
---|
2379 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
---|
2380 | if test "${ac_cv_prog_cc_stdc+set}" = set; then |
---|
2381 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2382 | else |
---|
2383 | ac_cv_prog_cc_stdc=no |
---|
2384 | ac_save_CC=$CC |
---|
2385 | cat >conftest.$ac_ext <<_ACEOF |
---|
2386 | #line $LINENO "configure" |
---|
2387 | /* confdefs.h. */ |
---|
2388 | _ACEOF |
---|
2389 | cat confdefs.h >>conftest.$ac_ext |
---|
2390 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2391 | /* end confdefs.h. */ |
---|
2392 | #include <stdarg.h> |
---|
2393 | #include <stdio.h> |
---|
2394 | #include <sys/types.h> |
---|
2395 | #include <sys/stat.h> |
---|
2396 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
2397 | struct buf { int x; }; |
---|
2398 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
2399 | static char *e (p, i) |
---|
2400 | char **p; |
---|
2401 | int i; |
---|
2402 | { |
---|
2403 | return p[i]; |
---|
2404 | } |
---|
2405 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
2406 | { |
---|
2407 | char *s; |
---|
2408 | va_list v; |
---|
2409 | va_start (v,p); |
---|
2410 | s = g (p, va_arg (v,int)); |
---|
2411 | va_end (v); |
---|
2412 | return s; |
---|
2413 | } |
---|
2414 | int test (int i, double x); |
---|
2415 | struct s1 {int (*f) (int a);}; |
---|
2416 | struct s2 {int (*f) (double a);}; |
---|
2417 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
2418 | int argc; |
---|
2419 | char **argv; |
---|
2420 | int |
---|
2421 | main () |
---|
2422 | { |
---|
2423 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
2424 | ; |
---|
2425 | return 0; |
---|
2426 | } |
---|
2427 | _ACEOF |
---|
2428 | # Don't try gcc -ansi; that turns off useful extensions and |
---|
2429 | # breaks some systems' header files. |
---|
2430 | # AIX -qlanglvl=ansi |
---|
2431 | # Ultrix and OSF/1 -std1 |
---|
2432 | # HP-UX 10.20 and later -Ae |
---|
2433 | # HP-UX older versions -Aa -D_HPUX_SOURCE |
---|
2434 | # SVR4 -Xc -D__EXTENSIONS__ |
---|
2435 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
2436 | do |
---|
2437 | CC="$ac_save_CC $ac_arg" |
---|
2438 | rm -f conftest.$ac_objext |
---|
2439 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2440 | (eval $ac_compile) 2>&5 |
---|
2441 | ac_status=$? |
---|
2442 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2443 | (exit $ac_status); } && |
---|
2444 | { ac_try='test -s conftest.$ac_objext' |
---|
2445 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2446 | (eval $ac_try) 2>&5 |
---|
2447 | ac_status=$? |
---|
2448 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2449 | (exit $ac_status); }; }; then |
---|
2450 | ac_cv_prog_cc_stdc=$ac_arg |
---|
2451 | break |
---|
2452 | else |
---|
2453 | echo "$as_me: failed program was:" >&5 |
---|
2454 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2455 | |
---|
2456 | fi |
---|
2457 | rm -f conftest.$ac_objext |
---|
2458 | done |
---|
2459 | rm -f conftest.$ac_ext conftest.$ac_objext |
---|
2460 | CC=$ac_save_CC |
---|
2461 | |
---|
2462 | fi |
---|
2463 | |
---|
2464 | case "x$ac_cv_prog_cc_stdc" in |
---|
2465 | x|xno) |
---|
2466 | echo "$as_me:$LINENO: result: none needed" >&5 |
---|
2467 | echo "${ECHO_T}none needed" >&6 ;; |
---|
2468 | *) |
---|
2469 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
---|
2470 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
---|
2471 | CC="$CC $ac_cv_prog_cc_stdc" ;; |
---|
2472 | esac |
---|
2473 | |
---|
2474 | # Some people use a C++ compiler to compile C. Since we use `exit', |
---|
2475 | # in C++ we need to declare it. In case someone uses the same compiler |
---|
2476 | # for both compiling C and C++ we need to have the C++ compiler decide |
---|
2477 | # the declaration of exit, since it's the most demanding environment. |
---|
2478 | cat >conftest.$ac_ext <<_ACEOF |
---|
2479 | #ifndef __cplusplus |
---|
2480 | choke me |
---|
2481 | #endif |
---|
2482 | _ACEOF |
---|
2483 | rm -f conftest.$ac_objext |
---|
2484 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2485 | (eval $ac_compile) 2>&5 |
---|
2486 | ac_status=$? |
---|
2487 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2488 | (exit $ac_status); } && |
---|
2489 | { ac_try='test -s conftest.$ac_objext' |
---|
2490 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2491 | (eval $ac_try) 2>&5 |
---|
2492 | ac_status=$? |
---|
2493 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2494 | (exit $ac_status); }; }; then |
---|
2495 | for ac_declaration in \ |
---|
2496 | ''\ |
---|
2497 | '#include <stdlib.h>' \ |
---|
2498 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
---|
2499 | 'extern "C" void std::exit (int); using std::exit;' \ |
---|
2500 | 'extern "C" void exit (int) throw ();' \ |
---|
2501 | 'extern "C" void exit (int);' \ |
---|
2502 | 'void exit (int);' |
---|
2503 | do |
---|
2504 | cat >conftest.$ac_ext <<_ACEOF |
---|
2505 | #line $LINENO "configure" |
---|
2506 | /* confdefs.h. */ |
---|
2507 | _ACEOF |
---|
2508 | cat confdefs.h >>conftest.$ac_ext |
---|
2509 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2510 | /* end confdefs.h. */ |
---|
2511 | #include <stdlib.h> |
---|
2512 | $ac_declaration |
---|
2513 | int |
---|
2514 | main () |
---|
2515 | { |
---|
2516 | exit (42); |
---|
2517 | ; |
---|
2518 | return 0; |
---|
2519 | } |
---|
2520 | _ACEOF |
---|
2521 | rm -f conftest.$ac_objext |
---|
2522 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2523 | (eval $ac_compile) 2>&5 |
---|
2524 | ac_status=$? |
---|
2525 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2526 | (exit $ac_status); } && |
---|
2527 | { ac_try='test -s conftest.$ac_objext' |
---|
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); }; }; then |
---|
2533 | : |
---|
2534 | else |
---|
2535 | echo "$as_me: failed program was:" >&5 |
---|
2536 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2537 | |
---|
2538 | continue |
---|
2539 | fi |
---|
2540 | rm -f conftest.$ac_objext conftest.$ac_ext |
---|
2541 | cat >conftest.$ac_ext <<_ACEOF |
---|
2542 | #line $LINENO "configure" |
---|
2543 | /* confdefs.h. */ |
---|
2544 | _ACEOF |
---|
2545 | cat confdefs.h >>conftest.$ac_ext |
---|
2546 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2547 | /* end confdefs.h. */ |
---|
2548 | $ac_declaration |
---|
2549 | int |
---|
2550 | main () |
---|
2551 | { |
---|
2552 | exit (42); |
---|
2553 | ; |
---|
2554 | return 0; |
---|
2555 | } |
---|
2556 | _ACEOF |
---|
2557 | rm -f conftest.$ac_objext |
---|
2558 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2559 | (eval $ac_compile) 2>&5 |
---|
2560 | ac_status=$? |
---|
2561 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2562 | (exit $ac_status); } && |
---|
2563 | { ac_try='test -s conftest.$ac_objext' |
---|
2564 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2565 | (eval $ac_try) 2>&5 |
---|
2566 | ac_status=$? |
---|
2567 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2568 | (exit $ac_status); }; }; then |
---|
2569 | break |
---|
2570 | else |
---|
2571 | echo "$as_me: failed program was:" >&5 |
---|
2572 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2573 | |
---|
2574 | fi |
---|
2575 | rm -f conftest.$ac_objext conftest.$ac_ext |
---|
2576 | done |
---|
2577 | rm -f conftest* |
---|
2578 | if test -n "$ac_declaration"; then |
---|
2579 | echo '#ifdef __cplusplus' >>confdefs.h |
---|
2580 | echo $ac_declaration >>confdefs.h |
---|
2581 | echo '#endif' >>confdefs.h |
---|
2582 | fi |
---|
2583 | |
---|
2584 | else |
---|
2585 | echo "$as_me: failed program was:" >&5 |
---|
2586 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2587 | |
---|
2588 | fi |
---|
2589 | rm -f conftest.$ac_objext conftest.$ac_ext |
---|
2590 | ac_ext=c |
---|
2591 | ac_cpp='$CPP $CPPFLAGS' |
---|
2592 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
2593 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
2594 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
2595 | |
---|
2596 | depcc="$CC" am_compiler_list= |
---|
2597 | |
---|
2598 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
---|
2599 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
---|
2600 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
---|
2601 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2602 | else |
---|
2603 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
---|
2604 | # We make a subdir and do the tests there. Otherwise we can end up |
---|
2605 | # making bogus files that we don't know about and never remove. For |
---|
2606 | # instance it was reported that on HP-UX the gcc test will end up |
---|
2607 | # making a dummy file named `D' -- because `-MD' means `put the output |
---|
2608 | # in D'. |
---|
2609 | mkdir conftest.dir |
---|
2610 | # Copy depcomp to subdir because otherwise we won't find it if we're |
---|
2611 | # using a relative directory. |
---|
2612 | cp "$am_depcomp" conftest.dir |
---|
2613 | cd conftest.dir |
---|
2614 | |
---|
2615 | am_cv_CC_dependencies_compiler_type=none |
---|
2616 | if test "$am_compiler_list" = ""; then |
---|
2617 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
---|
2618 | fi |
---|
2619 | for depmode in $am_compiler_list; do |
---|
2620 | # We need to recreate these files for each test, as the compiler may |
---|
2621 | # overwrite some of them when testing with obscure command lines. |
---|
2622 | # This happens at least with the AIX C compiler. |
---|
2623 | echo '#include "conftest.h"' > conftest.c |
---|
2624 | echo 'int i;' > conftest.h |
---|
2625 | echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf |
---|
2626 | |
---|
2627 | case $depmode in |
---|
2628 | nosideeffect) |
---|
2629 | # after this tag, mechanisms are not by side-effect, so they'll |
---|
2630 | # only be used when explicitly requested |
---|
2631 | if test "x$enable_dependency_tracking" = xyes; then |
---|
2632 | continue |
---|
2633 | else |
---|
2634 | break |
---|
2635 | fi |
---|
2636 | ;; |
---|
2637 | none) break ;; |
---|
2638 | esac |
---|
2639 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
---|
2640 | # mode. It turns out that the SunPro C++ compiler does not properly |
---|
2641 | # handle `-M -o', and we need to detect this. |
---|
2642 | if depmode=$depmode \ |
---|
2643 | source=conftest.c object=conftest.o \ |
---|
2644 | depfile=conftest.Po tmpdepfile=conftest.TPo \ |
---|
2645 | $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && |
---|
2646 | grep conftest.h conftest.Po > /dev/null 2>&1 && |
---|
2647 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
---|
2648 | am_cv_CC_dependencies_compiler_type=$depmode |
---|
2649 | break |
---|
2650 | fi |
---|
2651 | done |
---|
2652 | |
---|
2653 | cd .. |
---|
2654 | rm -rf conftest.dir |
---|
2655 | else |
---|
2656 | am_cv_CC_dependencies_compiler_type=none |
---|
2657 | fi |
---|
2658 | |
---|
2659 | fi |
---|
2660 | echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
---|
2661 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
---|
2662 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
---|
2663 | |
---|
2664 | |
---|
2665 | |
---|
2666 | |
---|
2667 | echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5 |
---|
2668 | echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6 |
---|
2669 | if test "${ac_cv_lib_cposix_strerror+set}" = set; then |
---|
2670 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2671 | else |
---|
2672 | ac_check_lib_save_LIBS=$LIBS |
---|
2673 | LIBS="-lcposix $LIBS" |
---|
2674 | cat >conftest.$ac_ext <<_ACEOF |
---|
2675 | #line $LINENO "configure" |
---|
2676 | /* confdefs.h. */ |
---|
2677 | _ACEOF |
---|
2678 | cat confdefs.h >>conftest.$ac_ext |
---|
2679 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2680 | /* end confdefs.h. */ |
---|
2681 | |
---|
2682 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
2683 | #ifdef __cplusplus |
---|
2684 | extern "C" |
---|
2685 | #endif |
---|
2686 | /* We use char because int might match the return type of a gcc2 |
---|
2687 | builtin and then its argument prototype would still apply. */ |
---|
2688 | char strerror (); |
---|
2689 | int |
---|
2690 | main () |
---|
2691 | { |
---|
2692 | strerror (); |
---|
2693 | ; |
---|
2694 | return 0; |
---|
2695 | } |
---|
2696 | _ACEOF |
---|
2697 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
2698 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
2699 | (eval $ac_link) 2>&5 |
---|
2700 | ac_status=$? |
---|
2701 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2702 | (exit $ac_status); } && |
---|
2703 | { ac_try='test -s conftest$ac_exeext' |
---|
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); }; }; then |
---|
2709 | ac_cv_lib_cposix_strerror=yes |
---|
2710 | else |
---|
2711 | echo "$as_me: failed program was:" >&5 |
---|
2712 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2713 | |
---|
2714 | ac_cv_lib_cposix_strerror=no |
---|
2715 | fi |
---|
2716 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
---|
2717 | LIBS=$ac_check_lib_save_LIBS |
---|
2718 | fi |
---|
2719 | echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5 |
---|
2720 | echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6 |
---|
2721 | if test $ac_cv_lib_cposix_strerror = yes; then |
---|
2722 | LIBS="$LIBS -lcposix" |
---|
2723 | fi |
---|
2724 | |
---|
2725 | |
---|
2726 | |
---|
2727 | ac_ext=c |
---|
2728 | ac_cpp='$CPP $CPPFLAGS' |
---|
2729 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
2730 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
2731 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
2732 | if test -n "$ac_tool_prefix"; then |
---|
2733 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
---|
2734 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
---|
2735 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2736 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2737 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2738 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2739 | else |
---|
2740 | if test -n "$CC"; then |
---|
2741 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2742 | else |
---|
2743 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2744 | for as_dir in $PATH |
---|
2745 | do |
---|
2746 | IFS=$as_save_IFS |
---|
2747 | test -z "$as_dir" && as_dir=. |
---|
2748 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2749 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2750 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
---|
2751 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2752 | break 2 |
---|
2753 | fi |
---|
2754 | done |
---|
2755 | done |
---|
2756 | |
---|
2757 | fi |
---|
2758 | fi |
---|
2759 | CC=$ac_cv_prog_CC |
---|
2760 | if test -n "$CC"; then |
---|
2761 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2762 | echo "${ECHO_T}$CC" >&6 |
---|
2763 | else |
---|
2764 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2765 | echo "${ECHO_T}no" >&6 |
---|
2766 | fi |
---|
2767 | |
---|
2768 | fi |
---|
2769 | if test -z "$ac_cv_prog_CC"; then |
---|
2770 | ac_ct_CC=$CC |
---|
2771 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
2772 | set dummy gcc; ac_word=$2 |
---|
2773 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2774 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2775 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
2776 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2777 | else |
---|
2778 | if test -n "$ac_ct_CC"; then |
---|
2779 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
2780 | else |
---|
2781 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2782 | for as_dir in $PATH |
---|
2783 | do |
---|
2784 | IFS=$as_save_IFS |
---|
2785 | test -z "$as_dir" && as_dir=. |
---|
2786 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2787 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2788 | ac_cv_prog_ac_ct_CC="gcc" |
---|
2789 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2790 | break 2 |
---|
2791 | fi |
---|
2792 | done |
---|
2793 | done |
---|
2794 | |
---|
2795 | fi |
---|
2796 | fi |
---|
2797 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
2798 | if test -n "$ac_ct_CC"; then |
---|
2799 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
2800 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
2801 | else |
---|
2802 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2803 | echo "${ECHO_T}no" >&6 |
---|
2804 | fi |
---|
2805 | |
---|
2806 | CC=$ac_ct_CC |
---|
2807 | else |
---|
2808 | CC="$ac_cv_prog_CC" |
---|
2809 | fi |
---|
2810 | |
---|
2811 | if test -z "$CC"; then |
---|
2812 | if test -n "$ac_tool_prefix"; then |
---|
2813 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
---|
2814 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
---|
2815 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2816 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2817 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2818 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2819 | else |
---|
2820 | if test -n "$CC"; then |
---|
2821 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2822 | else |
---|
2823 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2824 | for as_dir in $PATH |
---|
2825 | do |
---|
2826 | IFS=$as_save_IFS |
---|
2827 | test -z "$as_dir" && as_dir=. |
---|
2828 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2829 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2830 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
---|
2831 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2832 | break 2 |
---|
2833 | fi |
---|
2834 | done |
---|
2835 | done |
---|
2836 | |
---|
2837 | fi |
---|
2838 | fi |
---|
2839 | CC=$ac_cv_prog_CC |
---|
2840 | if test -n "$CC"; then |
---|
2841 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2842 | echo "${ECHO_T}$CC" >&6 |
---|
2843 | else |
---|
2844 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2845 | echo "${ECHO_T}no" >&6 |
---|
2846 | fi |
---|
2847 | |
---|
2848 | fi |
---|
2849 | if test -z "$ac_cv_prog_CC"; then |
---|
2850 | ac_ct_CC=$CC |
---|
2851 | # Extract the first word of "cc", so it can be a program name with args. |
---|
2852 | set dummy cc; ac_word=$2 |
---|
2853 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2854 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2855 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
2856 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2857 | else |
---|
2858 | if test -n "$ac_ct_CC"; then |
---|
2859 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
2860 | else |
---|
2861 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2862 | for as_dir in $PATH |
---|
2863 | do |
---|
2864 | IFS=$as_save_IFS |
---|
2865 | test -z "$as_dir" && as_dir=. |
---|
2866 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2867 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2868 | ac_cv_prog_ac_ct_CC="cc" |
---|
2869 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2870 | break 2 |
---|
2871 | fi |
---|
2872 | done |
---|
2873 | done |
---|
2874 | |
---|
2875 | fi |
---|
2876 | fi |
---|
2877 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
2878 | if test -n "$ac_ct_CC"; then |
---|
2879 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
2880 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
2881 | else |
---|
2882 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2883 | echo "${ECHO_T}no" >&6 |
---|
2884 | fi |
---|
2885 | |
---|
2886 | CC=$ac_ct_CC |
---|
2887 | else |
---|
2888 | CC="$ac_cv_prog_CC" |
---|
2889 | fi |
---|
2890 | |
---|
2891 | fi |
---|
2892 | if test -z "$CC"; then |
---|
2893 | # Extract the first word of "cc", so it can be a program name with args. |
---|
2894 | set dummy cc; ac_word=$2 |
---|
2895 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2896 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2897 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2898 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2899 | else |
---|
2900 | if test -n "$CC"; then |
---|
2901 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2902 | else |
---|
2903 | ac_prog_rejected=no |
---|
2904 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2905 | for as_dir in $PATH |
---|
2906 | do |
---|
2907 | IFS=$as_save_IFS |
---|
2908 | test -z "$as_dir" && as_dir=. |
---|
2909 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2910 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2911 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
2912 | ac_prog_rejected=yes |
---|
2913 | continue |
---|
2914 | fi |
---|
2915 | ac_cv_prog_CC="cc" |
---|
2916 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2917 | break 2 |
---|
2918 | fi |
---|
2919 | done |
---|
2920 | done |
---|
2921 | |
---|
2922 | if test $ac_prog_rejected = yes; then |
---|
2923 | # We found a bogon in the path, so make sure we never use it. |
---|
2924 | set dummy $ac_cv_prog_CC |
---|
2925 | shift |
---|
2926 | if test $# != 0; then |
---|
2927 | # We chose a different compiler from the bogus one. |
---|
2928 | # However, it has the same basename, so the bogon will be chosen |
---|
2929 | # first if we set CC to just the basename; use the full file name. |
---|
2930 | shift |
---|
2931 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
2932 | fi |
---|
2933 | fi |
---|
2934 | fi |
---|
2935 | fi |
---|
2936 | CC=$ac_cv_prog_CC |
---|
2937 | if test -n "$CC"; then |
---|
2938 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2939 | echo "${ECHO_T}$CC" >&6 |
---|
2940 | else |
---|
2941 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2942 | echo "${ECHO_T}no" >&6 |
---|
2943 | fi |
---|
2944 | |
---|
2945 | fi |
---|
2946 | if test -z "$CC"; then |
---|
2947 | if test -n "$ac_tool_prefix"; then |
---|
2948 | for ac_prog in cl |
---|
2949 | do |
---|
2950 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
2951 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
2952 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2953 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2954 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2955 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2956 | else |
---|
2957 | if test -n "$CC"; then |
---|
2958 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2959 | else |
---|
2960 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2961 | for as_dir in $PATH |
---|
2962 | do |
---|
2963 | IFS=$as_save_IFS |
---|
2964 | test -z "$as_dir" && as_dir=. |
---|
2965 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2966 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2967 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
---|
2968 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2969 | break 2 |
---|
2970 | fi |
---|
2971 | done |
---|
2972 | done |
---|
2973 | |
---|
2974 | fi |
---|
2975 | fi |
---|
2976 | CC=$ac_cv_prog_CC |
---|
2977 | if test -n "$CC"; then |
---|
2978 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2979 | echo "${ECHO_T}$CC" >&6 |
---|
2980 | else |
---|
2981 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2982 | echo "${ECHO_T}no" >&6 |
---|
2983 | fi |
---|
2984 | |
---|
2985 | test -n "$CC" && break |
---|
2986 | done |
---|
2987 | fi |
---|
2988 | if test -z "$CC"; then |
---|
2989 | ac_ct_CC=$CC |
---|
2990 | for ac_prog in cl |
---|
2991 | do |
---|
2992 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
2993 | set dummy $ac_prog; ac_word=$2 |
---|
2994 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2995 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2996 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
2997 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2998 | else |
---|
2999 | if test -n "$ac_ct_CC"; then |
---|
3000 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
3001 | else |
---|
3002 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3003 | for as_dir in $PATH |
---|
3004 | do |
---|
3005 | IFS=$as_save_IFS |
---|
3006 | test -z "$as_dir" && as_dir=. |
---|
3007 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3008 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3009 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
3010 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3011 | break 2 |
---|
3012 | fi |
---|
3013 | done |
---|
3014 | done |
---|
3015 | |
---|
3016 | fi |
---|
3017 | fi |
---|
3018 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
3019 | if test -n "$ac_ct_CC"; then |
---|
3020 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
3021 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
3022 | else |
---|
3023 | echo "$as_me:$LINENO: result: no" >&5 |
---|
3024 | echo "${ECHO_T}no" >&6 |
---|
3025 | fi |
---|
3026 | |
---|
3027 | test -n "$ac_ct_CC" && break |
---|
3028 | done |
---|
3029 | |
---|
3030 | CC=$ac_ct_CC |
---|
3031 | fi |
---|
3032 | |
---|
3033 | fi |
---|
3034 | |
---|
3035 | |
---|
3036 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
---|
3037 | See \`config.log' for more details." >&5 |
---|
3038 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
---|
3039 | See \`config.log' for more details." >&2;} |
---|
3040 | { (exit 1); exit 1; }; } |
---|
3041 | |
---|
3042 | # Provide some information about the compiler. |
---|
3043 | echo "$as_me:$LINENO:" \ |
---|
3044 | "checking for C compiler version" >&5 |
---|
3045 | ac_compiler=`set X $ac_compile; echo $2` |
---|
3046 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
---|
3047 | (eval $ac_compiler --version </dev/null >&5) 2>&5 |
---|
3048 | ac_status=$? |
---|
3049 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3050 | (exit $ac_status); } |
---|
3051 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
---|
3052 | (eval $ac_compiler -v </dev/null >&5) 2>&5 |
---|
3053 | ac_status=$? |
---|
3054 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3055 | (exit $ac_status); } |
---|
3056 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
---|
3057 | (eval $ac_compiler -V </dev/null >&5) 2>&5 |
---|
3058 | ac_status=$? |
---|
3059 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3060 | (exit $ac_status); } |
---|
3061 | |
---|
3062 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
---|
3063 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
---|
3064 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
---|
3065 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3066 | else |
---|
3067 | cat >conftest.$ac_ext <<_ACEOF |
---|
3068 | #line $LINENO "configure" |
---|
3069 | /* confdefs.h. */ |
---|
3070 | _ACEOF |
---|
3071 | cat confdefs.h >>conftest.$ac_ext |
---|
3072 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3073 | /* end confdefs.h. */ |
---|
3074 | |
---|
3075 | int |
---|
3076 | main () |
---|
3077 | { |
---|
3078 | #ifndef __GNUC__ |
---|
3079 | choke me |
---|
3080 | #endif |
---|
3081 | |
---|
3082 | ; |
---|
3083 | return 0; |
---|
3084 | } |
---|
3085 | _ACEOF |
---|
3086 | rm -f conftest.$ac_objext |
---|
3087 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
3088 | (eval $ac_compile) 2>&5 |
---|
3089 | ac_status=$? |
---|
3090 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3091 | (exit $ac_status); } && |
---|
3092 | { ac_try='test -s conftest.$ac_objext' |
---|
3093 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3094 | (eval $ac_try) 2>&5 |
---|
3095 | ac_status=$? |
---|
3096 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3097 | (exit $ac_status); }; }; then |
---|
3098 | ac_compiler_gnu=yes |
---|
3099 | else |
---|
3100 | echo "$as_me: failed program was:" >&5 |
---|
3101 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3102 | |
---|
3103 | ac_compiler_gnu=no |
---|
3104 | fi |
---|
3105 | rm -f conftest.$ac_objext conftest.$ac_ext |
---|
3106 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
3107 | |
---|
3108 | fi |
---|
3109 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
---|
3110 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
---|
3111 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
---|
3112 | ac_test_CFLAGS=${CFLAGS+set} |
---|
3113 | ac_save_CFLAGS=$CFLAGS |
---|
3114 | CFLAGS="-g" |
---|
3115 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
---|
3116 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
---|
3117 | if test "${ac_cv_prog_cc_g+set}" = set; then |
---|
3118 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3119 | else |
---|
3120 | cat >conftest.$ac_ext <<_ACEOF |
---|
3121 | #line $LINENO "configure" |
---|
3122 | /* confdefs.h. */ |
---|
3123 | _ACEOF |
---|
3124 | cat confdefs.h >>conftest.$ac_ext |
---|
3125 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3126 | /* end confdefs.h. */ |
---|
3127 | |
---|
3128 | int |
---|
3129 | main () |
---|
3130 | { |
---|
3131 | |
---|
3132 | ; |
---|
3133 | return 0; |
---|
3134 | } |
---|
3135 | _ACEOF |
---|
3136 | rm -f conftest.$ac_objext |
---|
3137 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
3138 | (eval $ac_compile) 2>&5 |
---|
3139 | ac_status=$? |
---|
3140 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3141 | (exit $ac_status); } && |
---|
3142 | { ac_try='test -s conftest.$ac_objext' |
---|
3143 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3144 | (eval $ac_try) 2>&5 |
---|
3145 | ac_status=$? |
---|
3146 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3147 | (exit $ac_status); }; }; then |
---|
3148 | ac_cv_prog_cc_g=yes |
---|
3149 | else |
---|
3150 | echo "$as_me: failed program was:" >&5 |
---|
3151 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3152 | |
---|
3153 | ac_cv_prog_cc_g=no |
---|
3154 | fi |
---|
3155 | rm -f conftest.$ac_objext conftest.$ac_ext |
---|
3156 | fi |
---|
3157 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
---|
3158 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
---|
3159 | if test "$ac_test_CFLAGS" = set; then |
---|
3160 | CFLAGS=$ac_save_CFLAGS |
---|
3161 | elif test $ac_cv_prog_cc_g = yes; then |
---|
3162 | if test "$GCC" = yes; then |
---|
3163 | CFLAGS="-g -O2" |
---|
3164 | else |
---|
3165 | CFLAGS="-g" |
---|
3166 | fi |
---|
3167 | else |
---|
3168 | if test "$GCC" = yes; then |
---|
3169 | CFLAGS="-O2" |
---|
3170 | else |
---|
3171 | CFLAGS= |
---|
3172 | fi |
---|
3173 | fi |
---|
3174 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
---|
3175 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
---|
3176 | if test "${ac_cv_prog_cc_stdc+set}" = set; then |
---|
3177 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3178 | else |
---|
3179 | ac_cv_prog_cc_stdc=no |
---|
3180 | ac_save_CC=$CC |
---|
3181 | cat >conftest.$ac_ext <<_ACEOF |
---|
3182 | #line $LINENO "configure" |
---|
3183 | /* confdefs.h. */ |
---|
3184 | _ACEOF |
---|
3185 | cat confdefs.h >>conftest.$ac_ext |
---|
3186 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3187 | /* end confdefs.h. */ |
---|
3188 | #include <stdarg.h> |
---|
3189 | #include <stdio.h> |
---|
3190 | #include <sys/types.h> |
---|
3191 | #include <sys/stat.h> |
---|
3192 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
3193 | struct buf { int x; }; |
---|
3194 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
3195 | static char *e (p, i) |
---|
3196 | char **p; |
---|
3197 | int i; |
---|
3198 | { |
---|
3199 | return p[i]; |
---|
3200 | } |
---|
3201 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
3202 | { |
---|
3203 | char *s; |
---|
3204 | va_list v; |
---|
3205 | va_start (v,p); |
---|
3206 | s = g (p, va_arg (v,int)); |
---|
3207 | va_end (v); |
---|
3208 | return s; |
---|
3209 | } |
---|
3210 | int test (int i, double x); |
---|
3211 | struct s1 {int (*f) (int a);}; |
---|
3212 | struct s2 {int (*f) (double a);}; |
---|
3213 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
3214 | int argc; |
---|
3215 | char **argv; |
---|
3216 | int |
---|
3217 | main () |
---|
3218 | { |
---|
3219 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
3220 | ; |
---|
3221 | return 0; |
---|
3222 | } |
---|
3223 | _ACEOF |
---|
3224 | # Don't try gcc -ansi; that turns off useful extensions and |
---|
3225 | # breaks some systems' header files. |
---|
3226 | # AIX -qlanglvl=ansi |
---|
3227 | # Ultrix and OSF/1 -std1 |
---|
3228 | # HP-UX 10.20 and later -Ae |
---|
3229 | # HP-UX older versions -Aa -D_HPUX_SOURCE |
---|
3230 | # SVR4 -Xc -D__EXTENSIONS__ |
---|
3231 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
3232 | do |
---|
3233 | CC="$ac_save_CC $ac_arg" |
---|
3234 | rm -f conftest.$ac_objext |
---|
3235 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
3236 | (eval $ac_compile) 2>&5 |
---|
3237 | ac_status=$? |
---|
3238 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3239 | (exit $ac_status); } && |
---|
3240 | { ac_try='test -s conftest.$ac_objext' |
---|
3241 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3242 | (eval $ac_try) 2>&5 |
---|
3243 | ac_status=$? |
---|
3244 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3245 | (exit $ac_status); }; }; then |
---|
3246 | ac_cv_prog_cc_stdc=$ac_arg |
---|
3247 | break |
---|
3248 | else |
---|
3249 | echo "$as_me: failed program was:" >&5 |
---|
3250 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3251 | |
---|
3252 | fi |
---|
3253 | rm -f conftest.$ac_objext |
---|
3254 | done |
---|
3255 | rm -f conftest.$ac_ext conftest.$ac_objext |
---|
3256 | CC=$ac_save_CC |
---|
3257 | |
---|
3258 | fi |
---|
3259 | |
---|
3260 | case "x$ac_cv_prog_cc_stdc" in |
---|
3261 | x|xno) |
---|
3262 | echo "$as_me:$LINENO: result: none needed" >&5 |
---|
3263 | echo "${ECHO_T}none needed" >&6 ;; |
---|
3264 | *) |
---|
3265 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
---|
3266 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
---|
3267 | CC="$CC $ac_cv_prog_cc_stdc" ;; |
---|
3268 | esac |
---|
3269 | |
---|
3270 | # Some people use a C++ compiler to compile C. Since we use `exit', |
---|
3271 | # in C++ we need to declare it. In case someone uses the same compiler |
---|
3272 | # for both compiling C and C++ we need to have the C++ compiler decide |
---|
3273 | # the declaration of exit, since it's the most demanding environment. |
---|
3274 | cat >conftest.$ac_ext <<_ACEOF |
---|
3275 | #ifndef __cplusplus |
---|
3276 | choke me |
---|
3277 | #endif |
---|
3278 | _ACEOF |
---|
3279 | rm -f conftest.$ac_objext |
---|
3280 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
3281 | (eval $ac_compile) 2>&5 |
---|
3282 | ac_status=$? |
---|
3283 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3284 | (exit $ac_status); } && |
---|
3285 | { ac_try='test -s conftest.$ac_objext' |
---|
3286 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3287 | (eval $ac_try) 2>&5 |
---|
3288 | ac_status=$? |
---|
3289 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3290 | (exit $ac_status); }; }; then |
---|
3291 | for ac_declaration in \ |
---|
3292 | ''\ |
---|
3293 | '#include <stdlib.h>' \ |
---|
3294 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
---|
3295 | 'extern "C" void std::exit (int); using std::exit;' \ |
---|
3296 | 'extern "C" void exit (int) throw ();' \ |
---|
3297 | 'extern "C" void exit (int);' \ |
---|
3298 | 'void exit (int);' |
---|
3299 | do |
---|
3300 | cat >conftest.$ac_ext <<_ACEOF |
---|
3301 | #line $LINENO "configure" |
---|
3302 | /* confdefs.h. */ |
---|
3303 | _ACEOF |
---|
3304 | cat confdefs.h >>conftest.$ac_ext |
---|
3305 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3306 | /* end confdefs.h. */ |
---|
3307 | #include <stdlib.h> |
---|
3308 | $ac_declaration |
---|
3309 | int |
---|
3310 | main () |
---|
3311 | { |
---|
3312 | exit (42); |
---|
3313 | ; |
---|
3314 | return 0; |
---|
3315 | } |
---|
3316 | _ACEOF |
---|
3317 | rm -f conftest.$ac_objext |
---|
3318 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
3319 | (eval $ac_compile) 2>&5 |
---|
3320 | ac_status=$? |
---|
3321 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3322 | (exit $ac_status); } && |
---|
3323 | { ac_try='test -s conftest.$ac_objext' |
---|
3324 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3325 | (eval $ac_try) 2>&5 |
---|
3326 | ac_status=$? |
---|
3327 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3328 | (exit $ac_status); }; }; then |
---|
3329 | : |
---|
3330 | else |
---|
3331 | echo "$as_me: failed program was:" >&5 |
---|
3332 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3333 | |
---|
3334 | continue |
---|
3335 | fi |
---|
3336 | rm -f conftest.$ac_objext conftest.$ac_ext |
---|
3337 | cat >conftest.$ac_ext <<_ACEOF |
---|
3338 | #line $LINENO "configure" |
---|
3339 | /* confdefs.h. */ |
---|
3340 | _ACEOF |
---|
3341 | cat confdefs.h >>conftest.$ac_ext |
---|
3342 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3343 | /* end confdefs.h. */ |
---|
3344 | $ac_declaration |
---|
3345 | int |
---|
3346 | main () |
---|
3347 | { |
---|
3348 | exit (42); |
---|
3349 | ; |
---|
3350 | return 0; |
---|
3351 | } |
---|
3352 | _ACEOF |
---|
3353 | rm -f conftest.$ac_objext |
---|
3354 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
3355 | (eval $ac_compile) 2>&5 |
---|
3356 | ac_status=$? |
---|
3357 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3358 | (exit $ac_status); } && |
---|
3359 | { ac_try='test -s conftest.$ac_objext' |
---|
3360 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3361 | (eval $ac_try) 2>&5 |
---|
3362 | ac_status=$? |
---|
3363 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3364 | (exit $ac_status); }; }; then |
---|
3365 | break |
---|
3366 | else |
---|
3367 | echo "$as_me: failed program was:" >&5 |
---|
3368 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3369 | |
---|
3370 | fi |
---|
3371 | rm -f conftest.$ac_objext conftest.$ac_ext |
---|
3372 | done |
---|
3373 | rm -f conftest* |
---|
3374 | if test -n "$ac_declaration"; then |
---|
3375 | echo '#ifdef __cplusplus' >>confdefs.h |
---|
3376 | echo $ac_declaration >>confdefs.h |
---|
3377 | echo '#endif' >>confdefs.h |
---|
3378 | fi |
---|
3379 | |
---|
3380 | else |
---|
3381 | echo "$as_me: failed program was:" >&5 |
---|
3382 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3383 | |
---|
3384 | fi |
---|
3385 | rm -f conftest.$ac_objext conftest.$ac_ext |
---|
3386 | ac_ext=c |
---|
3387 | ac_cpp='$CPP $CPPFLAGS' |
---|
3388 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3389 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3390 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3391 | |
---|
3392 | depcc="$CC" am_compiler_list= |
---|
3393 | |
---|
3394 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
---|
3395 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
---|
3396 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
---|
3397 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3398 | else |
---|
3399 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
---|
3400 | # We make a subdir and do the tests there. Otherwise we can end up |
---|
3401 | # making bogus files that we don't know about and never remove. For |
---|
3402 | # instance it was reported that on HP-UX the gcc test will end up |
---|
3403 | # making a dummy file named `D' -- because `-MD' means `put the output |
---|
3404 | # in D'. |
---|
3405 | mkdir conftest.dir |
---|
3406 | # Copy depcomp to subdir because otherwise we won't find it if we're |
---|
3407 | # using a relative directory. |
---|
3408 | cp "$am_depcomp" conftest.dir |
---|
3409 | cd conftest.dir |
---|
3410 | |
---|
3411 | am_cv_CC_dependencies_compiler_type=none |
---|
3412 | if test "$am_compiler_list" = ""; then |
---|
3413 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
---|
3414 | fi |
---|
3415 | for depmode in $am_compiler_list; do |
---|
3416 | # We need to recreate these files for each test, as the compiler may |
---|
3417 | # overwrite some of them when testing with obscure command lines. |
---|
3418 | # This happens at least with the AIX C compiler. |
---|
3419 | echo '#include "conftest.h"' > conftest.c |
---|
3420 | echo 'int i;' > conftest.h |
---|
3421 | echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf |
---|
3422 | |
---|
3423 | case $depmode in |
---|
3424 | nosideeffect) |
---|
3425 | # after this tag, mechanisms are not by side-effect, so they'll |
---|
3426 | # only be used when explicitly requested |
---|
3427 | if test "x$enable_dependency_tracking" = xyes; then |
---|
3428 | continue |
---|
3429 | else |
---|
3430 | break |
---|
3431 | fi |
---|
3432 | ;; |
---|
3433 | none) break ;; |
---|
3434 | esac |
---|
3435 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
---|
3436 | # mode. It turns out that the SunPro C++ compiler does not properly |
---|
3437 | # handle `-M -o', and we need to detect this. |
---|
3438 | if depmode=$depmode \ |
---|
3439 | source=conftest.c object=conftest.o \ |
---|
3440 | depfile=conftest.Po tmpdepfile=conftest.TPo \ |
---|
3441 | $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && |
---|
3442 | grep conftest.h conftest.Po > /dev/null 2>&1 && |
---|
3443 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
---|
3444 | am_cv_CC_dependencies_compiler_type=$depmode |
---|
3445 | break |
---|
3446 | fi |
---|
3447 | done |
---|
3448 | |
---|
3449 | cd .. |
---|
3450 | rm -rf conftest.dir |
---|
3451 | else |
---|
3452 | am_cv_CC_dependencies_compiler_type=none |
---|
3453 | fi |
---|
3454 | |
---|
3455 | fi |
---|
3456 | echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
---|
3457 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
---|
3458 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
---|
3459 | |
---|
3460 | |
---|
3461 | |
---|
3462 | # Extract the first word of "perl", so it can be a program name with args. |
---|
3463 | set dummy perl; ac_word=$2 |
---|
3464 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
3465 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
3466 | if test "${ac_cv_path_PERL+set}" = set; then |
---|
3467 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3468 | else |
---|
3469 | case $PERL in |
---|
3470 | [\\/]* | ?:[\\/]*) |
---|
3471 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
---|
3472 | ;; |
---|
3473 | *) |
---|
3474 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3475 | for as_dir in $PATH |
---|
3476 | do |
---|
3477 | IFS=$as_save_IFS |
---|
3478 | test -z "$as_dir" && as_dir=. |
---|
3479 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3480 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3481 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
---|
3482 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3483 | break 2 |
---|
3484 | fi |
---|
3485 | done |
---|
3486 | done |
---|
3487 | |
---|
3488 | ;; |
---|
3489 | esac |
---|
3490 | fi |
---|
3491 | PERL=$ac_cv_path_PERL |
---|
3492 | |
---|
3493 | if test -n "$PERL"; then |
---|
3494 | echo "$as_me:$LINENO: result: $PERL" >&5 |
---|
3495 | echo "${ECHO_T}$PERL" >&6 |
---|
3496 | else |
---|
3497 | echo "$as_me:$LINENO: result: no" >&5 |
---|
3498 | echo "${ECHO_T}no" >&6 |
---|
3499 | fi |
---|
3500 | |
---|
3501 | if test -z "$PERL"; then |
---|
3502 | { { echo "$as_me:$LINENO: error: perl not found" >&5 |
---|
3503 | echo "$as_me: error: perl not found" >&2;} |
---|
3504 | { (exit 1); exit 1; }; } |
---|
3505 | fi |
---|
3506 | |
---|
3507 | echo "$as_me:$LINENO: checking if Perl version >= 5.6.0" >&5 |
---|
3508 | echo $ECHO_N "checking if Perl version >= 5.6.0... $ECHO_C" >&6 |
---|
3509 | if "$PERL" -e "require v5.6.0"; then |
---|
3510 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
3511 | echo "${ECHO_T}yes" >&6 |
---|
3512 | else |
---|
3513 | echo "$as_me:$LINENO: result: no" >&5 |
---|
3514 | echo "${ECHO_T}no" >&6 |
---|
3515 | { { echo "$as_me:$LINENO: error: perl >= 5.6.0 is required for gtk-doc" >&5 |
---|
3516 | echo "$as_me: error: perl >= 5.6.0 is required for gtk-doc" >&2;} |
---|
3517 | { (exit 1); exit 1; }; } |
---|
3518 | fi |
---|
3519 | |
---|
3520 | SGML_FORMAT_TYPE=sgml-raw |
---|
3521 | # Extract the first word of "openjade", so it can be a program name with args. |
---|
3522 | set dummy openjade; ac_word=$2 |
---|
3523 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
3524 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
3525 | if test "${ac_cv_path_JADE+set}" = set; then |
---|
3526 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3527 | else |
---|
3528 | case $JADE in |
---|
3529 | [\\/]* | ?:[\\/]*) |
---|
3530 | ac_cv_path_JADE="$JADE" # Let the user override the test with a path. |
---|
3531 | ;; |
---|
3532 | *) |
---|
3533 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3534 | for as_dir in $PATH |
---|
3535 | do |
---|
3536 | IFS=$as_save_IFS |
---|
3537 | test -z "$as_dir" && as_dir=. |
---|
3538 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3539 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3540 | ac_cv_path_JADE="$as_dir/$ac_word$ac_exec_ext" |
---|
3541 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3542 | break 2 |
---|
3543 | fi |
---|
3544 | done |
---|
3545 | done |
---|
3546 | |
---|
3547 | ;; |
---|
3548 | esac |
---|
3549 | fi |
---|
3550 | JADE=$ac_cv_path_JADE |
---|
3551 | |
---|
3552 | if test -n "$JADE"; then |
---|
3553 | echo "$as_me:$LINENO: result: $JADE" >&5 |
---|
3554 | echo "${ECHO_T}$JADE" >&6 |
---|
3555 | else |
---|
3556 | echo "$as_me:$LINENO: result: no" >&5 |
---|
3557 | echo "${ECHO_T}no" >&6 |
---|
3558 | fi |
---|
3559 | |
---|
3560 | if test -z "$JADE"; then |
---|
3561 | SGML_FORMAT_TYPE=sgml |
---|
3562 | # Extract the first word of "jade", so it can be a program name with args. |
---|
3563 | set dummy jade; ac_word=$2 |
---|
3564 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
3565 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
3566 | if test "${ac_cv_path_JADE+set}" = set; then |
---|
3567 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3568 | else |
---|
3569 | case $JADE in |
---|
3570 | [\\/]* | ?:[\\/]*) |
---|
3571 | ac_cv_path_JADE="$JADE" # Let the user override the test with a path. |
---|
3572 | ;; |
---|
3573 | *) |
---|
3574 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3575 | for as_dir in $PATH |
---|
3576 | do |
---|
3577 | IFS=$as_save_IFS |
---|
3578 | test -z "$as_dir" && as_dir=. |
---|
3579 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3580 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3581 | ac_cv_path_JADE="$as_dir/$ac_word$ac_exec_ext" |
---|
3582 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3583 | break 2 |
---|
3584 | fi |
---|
3585 | done |
---|
3586 | done |
---|
3587 | |
---|
3588 | ;; |
---|
3589 | esac |
---|
3590 | fi |
---|
3591 | JADE=$ac_cv_path_JADE |
---|
3592 | |
---|
3593 | if test -n "$JADE"; then |
---|
3594 | echo "$as_me:$LINENO: result: $JADE" >&5 |
---|
3595 | echo "${ECHO_T}$JADE" >&6 |
---|
3596 | else |
---|
3597 | echo "$as_me:$LINENO: result: no" >&5 |
---|
3598 | echo "${ECHO_T}no" >&6 |
---|
3599 | fi |
---|
3600 | |
---|
3601 | if test -z "$JADE"; then |
---|
3602 | { { echo "$as_me:$LINENO: error: openjade/jade not found" >&5 |
---|
3603 | echo "$as_me: error: openjade/jade not found" >&2;} |
---|
3604 | { (exit 1); exit 1; }; } |
---|
3605 | fi |
---|
3606 | fi |
---|
3607 | |
---|
3608 | |
---|
3609 | # Extract the first word of "xsltproc", so it can be a program name with args. |
---|
3610 | set dummy xsltproc; ac_word=$2 |
---|
3611 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
3612 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
3613 | if test "${ac_cv_path_XSLTPROC+set}" = set; then |
---|
3614 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3615 | else |
---|
3616 | case $XSLTPROC in |
---|
3617 | [\\/]* | ?:[\\/]*) |
---|
3618 | ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. |
---|
3619 | ;; |
---|
3620 | *) |
---|
3621 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3622 | for as_dir in $PATH |
---|
3623 | do |
---|
3624 | IFS=$as_save_IFS |
---|
3625 | test -z "$as_dir" && as_dir=. |
---|
3626 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3627 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3628 | ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext" |
---|
3629 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3630 | break 2 |
---|
3631 | fi |
---|
3632 | done |
---|
3633 | done |
---|
3634 | |
---|
3635 | ;; |
---|
3636 | esac |
---|
3637 | fi |
---|
3638 | XSLTPROC=$ac_cv_path_XSLTPROC |
---|
3639 | |
---|
3640 | if test -n "$XSLTPROC"; then |
---|
3641 | echo "$as_me:$LINENO: result: $XSLTPROC" >&5 |
---|
3642 | echo "${ECHO_T}$XSLTPROC" >&6 |
---|
3643 | else |
---|
3644 | echo "$as_me:$LINENO: result: no" >&5 |
---|
3645 | echo "${ECHO_T}no" >&6 |
---|
3646 | fi |
---|
3647 | |
---|
3648 | if test -z "$XSLTPROC"; then |
---|
3649 | { { echo "$as_me:$LINENO: error: xsltproc not found" >&5 |
---|
3650 | echo "$as_me: error: xsltproc not found" >&2;} |
---|
3651 | { (exit 1); exit 1; }; } |
---|
3652 | fi |
---|
3653 | |
---|
3654 | |
---|
3655 | # check for the presence of the XML catalog |
---|
3656 | |
---|
3657 | # Check whether --with-xml-catalog or --without-xml-catalog was given. |
---|
3658 | if test "${with_xml_catalog+set}" = set; then |
---|
3659 | withval="$with_xml_catalog" |
---|
3660 | |
---|
3661 | else |
---|
3662 | with_xml_catalog=/etc/xml/catalog |
---|
3663 | fi; |
---|
3664 | jh_found_xmlcatalog=true |
---|
3665 | XML_CATALOG_FILE="$with_xml_catalog" |
---|
3666 | |
---|
3667 | echo "$as_me:$LINENO: checking for XML catalog ($XML_CATALOG_FILE)" >&5 |
---|
3668 | echo $ECHO_N "checking for XML catalog ($XML_CATALOG_FILE)... $ECHO_C" >&6 |
---|
3669 | if test -f "$XML_CATALOG_FILE"; then |
---|
3670 | echo "$as_me:$LINENO: result: found" >&5 |
---|
3671 | echo "${ECHO_T}found" >&6 |
---|
3672 | else |
---|
3673 | jh_found_xmlcatalog=false |
---|
3674 | echo "$as_me:$LINENO: result: not found" >&5 |
---|
3675 | echo "${ECHO_T}not found" >&6 |
---|
3676 | fi |
---|
3677 | |
---|
3678 | # check for the xmlcatalog program |
---|
3679 | # Extract the first word of "xmlcatalog", so it can be a program name with args. |
---|
3680 | set dummy xmlcatalog; ac_word=$2 |
---|
3681 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
3682 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
3683 | if test "${ac_cv_path_XMLCATALOG+set}" = set; then |
---|
3684 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3685 | else |
---|
3686 | case $XMLCATALOG in |
---|
3687 | [\\/]* | ?:[\\/]*) |
---|
3688 | ac_cv_path_XMLCATALOG="$XMLCATALOG" # Let the user override the test with a path. |
---|
3689 | ;; |
---|
3690 | *) |
---|
3691 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3692 | for as_dir in $PATH |
---|
3693 | do |
---|
3694 | IFS=$as_save_IFS |
---|
3695 | test -z "$as_dir" && as_dir=. |
---|
3696 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3697 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3698 | ac_cv_path_XMLCATALOG="$as_dir/$ac_word$ac_exec_ext" |
---|
3699 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3700 | break 2 |
---|
3701 | fi |
---|
3702 | done |
---|
3703 | done |
---|
3704 | |
---|
3705 | test -z "$ac_cv_path_XMLCATALOG" && ac_cv_path_XMLCATALOG="no" |
---|
3706 | ;; |
---|
3707 | esac |
---|
3708 | fi |
---|
3709 | XMLCATALOG=$ac_cv_path_XMLCATALOG |
---|
3710 | |
---|
3711 | if test -n "$XMLCATALOG"; then |
---|
3712 | echo "$as_me:$LINENO: result: $XMLCATALOG" >&5 |
---|
3713 | echo "${ECHO_T}$XMLCATALOG" >&6 |
---|
3714 | else |
---|
3715 | echo "$as_me:$LINENO: result: no" >&5 |
---|
3716 | echo "${ECHO_T}no" >&6 |
---|
3717 | fi |
---|
3718 | |
---|
3719 | if test "x$XMLCATALOG" = xno; then |
---|
3720 | jh_found_xmlcatalog=false |
---|
3721 | fi |
---|
3722 | |
---|
3723 | if $jh_found_xmlcatalog; then |
---|
3724 | : |
---|
3725 | else |
---|
3726 | : |
---|
3727 | fi |
---|
3728 | |
---|
3729 | |
---|
3730 | echo "$as_me:$LINENO: checking for DocBook XML DTD V4.1.2 in XML catalog" >&5 |
---|
3731 | echo $ECHO_N "checking for DocBook XML DTD V4.1.2 in XML catalog... $ECHO_C" >&6 |
---|
3732 | if $jh_found_xmlcatalog && \ |
---|
3733 | { (echo "$as_me:$LINENO: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"-//OASIS//DTD DocBook XML V4.1.2//EN\" >&2") >&5 |
---|
3734 | ($XMLCATALOG --noout "$XML_CATALOG_FILE" "-//OASIS//DTD DocBook XML V4.1.2//EN" >&2) 2>&5 |
---|
3735 | ac_status=$? |
---|
3736 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3737 | (exit $ac_status); }; then |
---|
3738 | echo "$as_me:$LINENO: result: found" >&5 |
---|
3739 | echo "${ECHO_T}found" >&6 |
---|
3740 | else |
---|
3741 | echo "$as_me:$LINENO: result: not found" >&5 |
---|
3742 | echo "${ECHO_T}not found" >&6 |
---|
3743 | { { echo "$as_me:$LINENO: error: could not find DocBook XML DTD V4.1.2 in XML catalog" >&5 |
---|
3744 | echo "$as_me: error: could not find DocBook XML DTD V4.1.2 in XML catalog" >&2;} |
---|
3745 | { (exit 1); exit 1; }; } |
---|
3746 | fi |
---|
3747 | |
---|
3748 | |
---|
3749 | echo "$as_me:$LINENO: checking for DocBook XSL Stylesheets in XML catalog" >&5 |
---|
3750 | echo $ECHO_N "checking for DocBook XSL Stylesheets in XML catalog... $ECHO_C" >&6 |
---|
3751 | if $jh_found_xmlcatalog && \ |
---|
3752 | { (echo "$as_me:$LINENO: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl\" >&2") >&5 |
---|
3753 | ($XMLCATALOG --noout "$XML_CATALOG_FILE" "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl" >&2) 2>&5 |
---|
3754 | ac_status=$? |
---|
3755 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3756 | (exit $ac_status); }; then |
---|
3757 | echo "$as_me:$LINENO: result: found" >&5 |
---|
3758 | echo "${ECHO_T}found" >&6 |
---|
3759 | else |
---|
3760 | echo "$as_me:$LINENO: result: not found" >&5 |
---|
3761 | echo "${ECHO_T}not found" >&6 |
---|
3762 | { { echo "$as_me:$LINENO: error: could not find DocBook XSL Stylesheets in XML catalog" >&5 |
---|
3763 | echo "$as_me: error: could not find DocBook XSL Stylesheets in XML catalog" >&2;} |
---|
3764 | { (exit 1); exit 1; }; } |
---|
3765 | fi |
---|
3766 | |
---|
3767 | |
---|
3768 | if test "x${datadir}" = 'x${prefix}/share'; then |
---|
3769 | if test "x${prefix}" = "xNONE"; then |
---|
3770 | PACKAGE_DATA_DIR="${ac_default_prefix}/share/${PACKAGE}/data" |
---|
3771 | else |
---|
3772 | PACKAGE_DATA_DIR="${prefix}/share/${PACKAGE}/data" |
---|
3773 | fi |
---|
3774 | else |
---|
3775 | PACKAGE_DATA_DIR="${datadir}/${PACKAGE}/data" |
---|
3776 | fi |
---|
3777 | |
---|
3778 | |
---|
3779 | |
---|
3780 | |
---|
3781 | if test "x$GCC" = "xyes"; then |
---|
3782 | if test -z "`echo "$CFLAGS" | grep "\-Wall" 2> /dev/null`" ; then |
---|
3783 | CFLAGS="$CFLAGS -Wall" |
---|
3784 | fi |
---|
3785 | fi |
---|
3786 | |
---|
3787 | |
---|
3788 | ac_config_files="$ac_config_files Makefile gtk-doc.pc gtk-doc.dsl gtk-doc.spec gtk-doc.cat gtkdoc-common.pl" |
---|
3789 | |
---|
3790 | |
---|
3791 | ac_config_files="$ac_config_files gtkdoc-mkman" |
---|
3792 | |
---|
3793 | ac_config_files="$ac_config_files gtkdoc-mkhtml" |
---|
3794 | |
---|
3795 | ac_config_files="$ac_config_files gtkdoc-fixxref" |
---|
3796 | |
---|
3797 | ac_config_files="$ac_config_files gtkdoc-mkdb" |
---|
3798 | |
---|
3799 | ac_config_files="$ac_config_files gtkdoc-mktmpl" |
---|
3800 | |
---|
3801 | ac_config_files="$ac_config_files gtkdoc-scan" |
---|
3802 | |
---|
3803 | ac_config_files="$ac_config_files gtkdoc-scanobj" |
---|
3804 | |
---|
3805 | ac_config_files="$ac_config_files gtkdoc-scangobj" |
---|
3806 | |
---|
3807 | ac_config_files="$ac_config_files gtkdocize" |
---|
3808 | |
---|
3809 | |
---|
3810 | cat >confcache <<\_ACEOF |
---|
3811 | # This file is a shell script that caches the results of configure |
---|
3812 | # tests run on this system so they can be shared between configure |
---|
3813 | # scripts and configure runs, see configure's option --config-cache. |
---|
3814 | # It is not useful on other systems. If it contains results you don't |
---|
3815 | # want to keep, you may remove or edit it. |
---|
3816 | # |
---|
3817 | # config.status only pays attention to the cache file if you give it |
---|
3818 | # the --recheck option to rerun configure. |
---|
3819 | # |
---|
3820 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
3821 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
3822 | # following values. |
---|
3823 | |
---|
3824 | _ACEOF |
---|
3825 | |
---|
3826 | # The following way of writing the cache mishandles newlines in values, |
---|
3827 | # but we know of no workaround that is simple, portable, and efficient. |
---|
3828 | # So, don't put newlines in cache variables' values. |
---|
3829 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
3830 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
3831 | { |
---|
3832 | (set) 2>&1 | |
---|
3833 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
---|
3834 | *ac_space=\ *) |
---|
3835 | # `set' does not quote correctly, so add quotes (double-quote |
---|
3836 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
---|
3837 | sed -n \ |
---|
3838 | "s/'/'\\\\''/g; |
---|
3839 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
3840 | ;; |
---|
3841 | *) |
---|
3842 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
3843 | sed -n \ |
---|
3844 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
---|
3845 | ;; |
---|
3846 | esac; |
---|
3847 | } | |
---|
3848 | sed ' |
---|
3849 | t clear |
---|
3850 | : clear |
---|
3851 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
3852 | t end |
---|
3853 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
3854 | : end' >>confcache |
---|
3855 | if diff $cache_file confcache >/dev/null 2>&1; then :; else |
---|
3856 | if test -w $cache_file; then |
---|
3857 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
---|
3858 | cat confcache >$cache_file |
---|
3859 | else |
---|
3860 | echo "not updating unwritable cache $cache_file" |
---|
3861 | fi |
---|
3862 | fi |
---|
3863 | rm -f confcache |
---|
3864 | |
---|
3865 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
3866 | # Let make expand exec_prefix. |
---|
3867 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
3868 | |
---|
3869 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
---|
3870 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
---|
3871 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
3872 | # (actually we leave an empty line to preserve line numbers). |
---|
3873 | if test "x$srcdir" = x.; then |
---|
3874 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
---|
3875 | s/:*\$(srcdir):*/:/; |
---|
3876 | s/:*\${srcdir}:*/:/; |
---|
3877 | s/:*@srcdir@:*/:/; |
---|
3878 | s/^\([^=]*=[ ]*\):*/\1/; |
---|
3879 | s/:*$//; |
---|
3880 | s/^[^=]*=[ ]*$//; |
---|
3881 | }' |
---|
3882 | fi |
---|
3883 | |
---|
3884 | # Transform confdefs.h into DEFS. |
---|
3885 | # Protect against shell expansion while executing Makefile rules. |
---|
3886 | # Protect against Makefile macro expansion. |
---|
3887 | # |
---|
3888 | # If the first sed substitution is executed (which looks for macros that |
---|
3889 | # take arguments), then we branch to the quote section. Otherwise, |
---|
3890 | # look for a macro that doesn't take arguments. |
---|
3891 | cat >confdef2opt.sed <<\_ACEOF |
---|
3892 | t clear |
---|
3893 | : clear |
---|
3894 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g |
---|
3895 | t quote |
---|
3896 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g |
---|
3897 | t quote |
---|
3898 | d |
---|
3899 | : quote |
---|
3900 | s,[ `~#$^&*(){}\\|;'"<>?],\\&,g |
---|
3901 | s,\[,\\&,g |
---|
3902 | s,\],\\&,g |
---|
3903 | s,\$,$$,g |
---|
3904 | p |
---|
3905 | _ACEOF |
---|
3906 | # We use echo to avoid assuming a particular line-breaking character. |
---|
3907 | # The extra dot is to prevent the shell from consuming trailing |
---|
3908 | # line-breaks from the sub-command output. A line-break within |
---|
3909 | # single-quotes doesn't work because, if this script is created in a |
---|
3910 | # platform that uses two characters for line-breaks (e.g., DOS), tr |
---|
3911 | # would break. |
---|
3912 | ac_LF_and_DOT=`echo; echo .` |
---|
3913 | DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` |
---|
3914 | rm -f confdef2opt.sed |
---|
3915 | |
---|
3916 | |
---|
3917 | ac_libobjs= |
---|
3918 | ac_ltlibobjs= |
---|
3919 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
3920 | # 1. Remove the extension, and $U if already installed. |
---|
3921 | ac_i=`echo "$ac_i" | |
---|
3922 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
---|
3923 | # 2. Add them. |
---|
3924 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
---|
3925 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
---|
3926 | done |
---|
3927 | LIBOBJS=$ac_libobjs |
---|
3928 | |
---|
3929 | LTLIBOBJS=$ac_ltlibobjs |
---|
3930 | |
---|
3931 | |
---|
3932 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
---|
3933 | { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. |
---|
3934 | Usually this means the macro was only invoked conditionally." >&5 |
---|
3935 | echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. |
---|
3936 | Usually this means the macro was only invoked conditionally." >&2;} |
---|
3937 | { (exit 1); exit 1; }; } |
---|
3938 | fi |
---|
3939 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
---|
3940 | { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
---|
3941 | Usually this means the macro was only invoked conditionally." >&5 |
---|
3942 | echo "$as_me: error: conditional \"AMDEP\" was never defined. |
---|
3943 | Usually this means the macro was only invoked conditionally." >&2;} |
---|
3944 | { (exit 1); exit 1; }; } |
---|
3945 | fi |
---|
3946 | |
---|
3947 | : ${CONFIG_STATUS=./config.status} |
---|
3948 | ac_clean_files_save=$ac_clean_files |
---|
3949 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
3950 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
---|
3951 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
3952 | cat >$CONFIG_STATUS <<_ACEOF |
---|
3953 | #! $SHELL |
---|
3954 | # Generated by $as_me. |
---|
3955 | # Run this file to recreate the current configuration. |
---|
3956 | # Compiler output produced by configure, useful for debugging |
---|
3957 | # configure, is in config.log if it exists. |
---|
3958 | |
---|
3959 | debug=false |
---|
3960 | ac_cs_recheck=false |
---|
3961 | ac_cs_silent=false |
---|
3962 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
3963 | _ACEOF |
---|
3964 | |
---|
3965 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
3966 | ## --------------------- ## |
---|
3967 | ## M4sh Initialization. ## |
---|
3968 | ## --------------------- ## |
---|
3969 | |
---|
3970 | # Be Bourne compatible |
---|
3971 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
3972 | emulate sh |
---|
3973 | NULLCMD=: |
---|
3974 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
3975 | # is contrary to our usage. Disable this feature. |
---|
3976 | alias -g '${1+"$@"}'='"$@"' |
---|
3977 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
---|
3978 | set -o posix |
---|
3979 | fi |
---|
3980 | |
---|
3981 | # Support unset when possible. |
---|
3982 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
---|
3983 | as_unset=unset |
---|
3984 | else |
---|
3985 | as_unset=false |
---|
3986 | fi |
---|
3987 | |
---|
3988 | |
---|
3989 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
3990 | $as_unset ENV MAIL MAILPATH |
---|
3991 | PS1='$ ' |
---|
3992 | PS2='> ' |
---|
3993 | PS4='+ ' |
---|
3994 | |
---|
3995 | # NLS nuisances. |
---|
3996 | for as_var in \ |
---|
3997 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
3998 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
3999 | LC_TELEPHONE LC_TIME |
---|
4000 | do |
---|
4001 | if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
4002 | eval $as_var=C; export $as_var |
---|
4003 | else |
---|
4004 | $as_unset $as_var |
---|
4005 | fi |
---|
4006 | done |
---|
4007 | |
---|
4008 | # Required to use basename. |
---|
4009 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
4010 | as_expr=expr |
---|
4011 | else |
---|
4012 | as_expr=false |
---|
4013 | fi |
---|
4014 | |
---|
4015 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
---|
4016 | as_basename=basename |
---|
4017 | else |
---|
4018 | as_basename=false |
---|
4019 | fi |
---|
4020 | |
---|
4021 | |
---|
4022 | # Name of the executable. |
---|
4023 | as_me=`$as_basename "$0" || |
---|
4024 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
4025 | X"$0" : 'X\(//\)$' \| \ |
---|
4026 | X"$0" : 'X\(/\)$' \| \ |
---|
4027 | . : '\(.\)' 2>/dev/null || |
---|
4028 | echo X/"$0" | |
---|
4029 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
---|
4030 | /^X\/\(\/\/\)$/{ s//\1/; q; } |
---|
4031 | /^X\/\(\/\).*/{ s//\1/; q; } |
---|
4032 | s/.*/./; q'` |
---|
4033 | |
---|
4034 | |
---|
4035 | # PATH needs CR, and LINENO needs CR and PATH. |
---|
4036 | # Avoid depending upon Character Ranges. |
---|
4037 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
4038 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
4039 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
4040 | as_cr_digits='0123456789' |
---|
4041 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
4042 | |
---|
4043 | # The user is always right. |
---|
4044 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
4045 | echo "#! /bin/sh" >conf$$.sh |
---|
4046 | echo "exit 0" >>conf$$.sh |
---|
4047 | chmod +x conf$$.sh |
---|
4048 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
4049 | PATH_SEPARATOR=';' |
---|
4050 | else |
---|
4051 | PATH_SEPARATOR=: |
---|
4052 | fi |
---|
4053 | rm -f conf$$.sh |
---|
4054 | fi |
---|
4055 | |
---|
4056 | |
---|
4057 | as_lineno_1=$LINENO |
---|
4058 | as_lineno_2=$LINENO |
---|
4059 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
4060 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
4061 | test "x$as_lineno_3" = "x$as_lineno_2" || { |
---|
4062 | # Find who we are. Look in the path if we contain no path at all |
---|
4063 | # relative or not. |
---|
4064 | case $0 in |
---|
4065 | *[\\/]* ) as_myself=$0 ;; |
---|
4066 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4067 | for as_dir in $PATH |
---|
4068 | do |
---|
4069 | IFS=$as_save_IFS |
---|
4070 | test -z "$as_dir" && as_dir=. |
---|
4071 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
4072 | done |
---|
4073 | |
---|
4074 | ;; |
---|
4075 | esac |
---|
4076 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
4077 | # in which case we are not to be found in the path. |
---|
4078 | if test "x$as_myself" = x; then |
---|
4079 | as_myself=$0 |
---|
4080 | fi |
---|
4081 | if test ! -f "$as_myself"; then |
---|
4082 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
---|
4083 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
---|
4084 | { (exit 1); exit 1; }; } |
---|
4085 | fi |
---|
4086 | case $CONFIG_SHELL in |
---|
4087 | '') |
---|
4088 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4089 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
4090 | do |
---|
4091 | IFS=$as_save_IFS |
---|
4092 | test -z "$as_dir" && as_dir=. |
---|
4093 | for as_base in sh bash ksh sh5; do |
---|
4094 | case $as_dir in |
---|
4095 | /*) |
---|
4096 | if ("$as_dir/$as_base" -c ' |
---|
4097 | as_lineno_1=$LINENO |
---|
4098 | as_lineno_2=$LINENO |
---|
4099 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
4100 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
4101 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
---|
4102 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
---|
4103 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
---|
4104 | CONFIG_SHELL=$as_dir/$as_base |
---|
4105 | export CONFIG_SHELL |
---|
4106 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
---|
4107 | fi;; |
---|
4108 | esac |
---|
4109 | done |
---|
4110 | done |
---|
4111 | ;; |
---|
4112 | esac |
---|
4113 | |
---|
4114 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
4115 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
4116 | # line-number line before each line; the second 'sed' does the real |
---|
4117 | # work. The second script uses 'N' to pair each line-number line |
---|
4118 | # with the numbered line, and appends trailing '-' during |
---|
4119 | # substitution so that $LINENO is not a special case at line end. |
---|
4120 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
4121 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
---|
4122 | sed '=' <$as_myself | |
---|
4123 | sed ' |
---|
4124 | N |
---|
4125 | s,$,-, |
---|
4126 | : loop |
---|
4127 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
---|
4128 | t loop |
---|
4129 | s,-$,, |
---|
4130 | s,^['$as_cr_digits']*\n,, |
---|
4131 | ' >$as_me.lineno && |
---|
4132 | chmod +x $as_me.lineno || |
---|
4133 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
---|
4134 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
---|
4135 | { (exit 1); exit 1; }; } |
---|
4136 | |
---|
4137 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
4138 | # (the dirname of $[0] is not the place where we might find the |
---|
4139 | # original and so on. Autoconf is especially sensible to this). |
---|
4140 | . ./$as_me.lineno |
---|
4141 | # Exit status is that of the last command. |
---|
4142 | exit |
---|
4143 | } |
---|
4144 | |
---|
4145 | |
---|
4146 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
---|
4147 | *c*,-n*) ECHO_N= ECHO_C=' |
---|
4148 | ' ECHO_T=' ' ;; |
---|
4149 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
---|
4150 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
---|
4151 | esac |
---|
4152 | |
---|
4153 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
4154 | as_expr=expr |
---|
4155 | else |
---|
4156 | as_expr=false |
---|
4157 | fi |
---|
4158 | |
---|
4159 | rm -f conf$$ conf$$.exe conf$$.file |
---|
4160 | echo >conf$$.file |
---|
4161 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
4162 | # We could just check for DJGPP; but this test a) works b) is more generic |
---|
4163 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
---|
4164 | if test -f conf$$.exe; then |
---|
4165 | # Don't use ln at all; we don't have any links |
---|
4166 | as_ln_s='cp -p' |
---|
4167 | else |
---|
4168 | as_ln_s='ln -s' |
---|
4169 | fi |
---|
4170 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
4171 | as_ln_s=ln |
---|
4172 | else |
---|
4173 | as_ln_s='cp -p' |
---|
4174 | fi |
---|
4175 | rm -f conf$$ conf$$.exe conf$$.file |
---|
4176 | |
---|
4177 | if mkdir -p . 2>/dev/null; then |
---|
4178 | as_mkdir_p=: |
---|
4179 | else |
---|
4180 | as_mkdir_p=false |
---|
4181 | fi |
---|
4182 | |
---|
4183 | as_executable_p="test -f" |
---|
4184 | |
---|
4185 | # Sed expression to map a string onto a valid CPP name. |
---|
4186 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
---|
4187 | |
---|
4188 | # Sed expression to map a string onto a valid variable name. |
---|
4189 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
---|
4190 | |
---|
4191 | |
---|
4192 | # IFS |
---|
4193 | # We need space, tab and new line, in precisely that order. |
---|
4194 | as_nl=' |
---|
4195 | ' |
---|
4196 | IFS=" $as_nl" |
---|
4197 | |
---|
4198 | # CDPATH. |
---|
4199 | $as_unset CDPATH |
---|
4200 | |
---|
4201 | exec 6>&1 |
---|
4202 | |
---|
4203 | # Open the log real soon, to keep \$[0] and so on meaningful, and to |
---|
4204 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
4205 | # values after options handling. Logging --version etc. is OK. |
---|
4206 | exec 5>>config.log |
---|
4207 | { |
---|
4208 | echo |
---|
4209 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
4210 | ## Running $as_me. ## |
---|
4211 | _ASBOX |
---|
4212 | } >&5 |
---|
4213 | cat >&5 <<_CSEOF |
---|
4214 | |
---|
4215 | This file was extended by gtk-doc $as_me 1.2, which was |
---|
4216 | generated by GNU Autoconf 2.57. Invocation command line was |
---|
4217 | |
---|
4218 | CONFIG_FILES = $CONFIG_FILES |
---|
4219 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
4220 | CONFIG_LINKS = $CONFIG_LINKS |
---|
4221 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
4222 | $ $0 $@ |
---|
4223 | |
---|
4224 | _CSEOF |
---|
4225 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
---|
4226 | echo >&5 |
---|
4227 | _ACEOF |
---|
4228 | |
---|
4229 | # Files that config.status was made for. |
---|
4230 | if test -n "$ac_config_files"; then |
---|
4231 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
---|
4232 | fi |
---|
4233 | |
---|
4234 | if test -n "$ac_config_headers"; then |
---|
4235 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
---|
4236 | fi |
---|
4237 | |
---|
4238 | if test -n "$ac_config_links"; then |
---|
4239 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
---|
4240 | fi |
---|
4241 | |
---|
4242 | if test -n "$ac_config_commands"; then |
---|
4243 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
---|
4244 | fi |
---|
4245 | |
---|
4246 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4247 | |
---|
4248 | ac_cs_usage="\ |
---|
4249 | \`$as_me' instantiates files from templates according to the |
---|
4250 | current configuration. |
---|
4251 | |
---|
4252 | Usage: $0 [OPTIONS] [FILE]... |
---|
4253 | |
---|
4254 | -h, --help print this help, then exit |
---|
4255 | -V, --version print version number, then exit |
---|
4256 | -q, --quiet do not print progress messages |
---|
4257 | -d, --debug don't remove temporary files |
---|
4258 | --recheck update $as_me by reconfiguring in the same conditions |
---|
4259 | --file=FILE[:TEMPLATE] |
---|
4260 | instantiate the configuration file FILE |
---|
4261 | |
---|
4262 | Configuration files: |
---|
4263 | $config_files |
---|
4264 | |
---|
4265 | Configuration commands: |
---|
4266 | $config_commands |
---|
4267 | |
---|
4268 | Report bugs to <bug-autoconf@gnu.org>." |
---|
4269 | _ACEOF |
---|
4270 | |
---|
4271 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
4272 | ac_cs_version="\\ |
---|
4273 | gtk-doc config.status 1.2 |
---|
4274 | configured by $0, generated by GNU Autoconf 2.57, |
---|
4275 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
---|
4276 | |
---|
4277 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
---|
4278 | Free Software Foundation, Inc. |
---|
4279 | This config.status script is free software; the Free Software Foundation |
---|
4280 | gives unlimited permission to copy, distribute and modify it." |
---|
4281 | srcdir=$srcdir |
---|
4282 | INSTALL="$INSTALL" |
---|
4283 | _ACEOF |
---|
4284 | |
---|
4285 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4286 | # If no file are specified by the user, then we need to provide default |
---|
4287 | # value. By we need to know if files were specified by the user. |
---|
4288 | ac_need_defaults=: |
---|
4289 | while test $# != 0 |
---|
4290 | do |
---|
4291 | case $1 in |
---|
4292 | --*=*) |
---|
4293 | ac_option=`expr "x$1" : 'x\([^=]*\)='` |
---|
4294 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
---|
4295 | ac_shift=: |
---|
4296 | ;; |
---|
4297 | -*) |
---|
4298 | ac_option=$1 |
---|
4299 | ac_optarg=$2 |
---|
4300 | ac_shift=shift |
---|
4301 | ;; |
---|
4302 | *) # This is not an option, so the user has probably given explicit |
---|
4303 | # arguments. |
---|
4304 | ac_option=$1 |
---|
4305 | ac_need_defaults=false;; |
---|
4306 | esac |
---|
4307 | |
---|
4308 | case $ac_option in |
---|
4309 | # Handling of the options. |
---|
4310 | _ACEOF |
---|
4311 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4312 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
4313 | ac_cs_recheck=: ;; |
---|
4314 | --version | --vers* | -V ) |
---|
4315 | echo "$ac_cs_version"; exit 0 ;; |
---|
4316 | --he | --h) |
---|
4317 | # Conflict between --help and --header |
---|
4318 | { { echo "$as_me:$LINENO: error: ambiguous option: $1 |
---|
4319 | Try \`$0 --help' for more information." >&5 |
---|
4320 | echo "$as_me: error: ambiguous option: $1 |
---|
4321 | Try \`$0 --help' for more information." >&2;} |
---|
4322 | { (exit 1); exit 1; }; };; |
---|
4323 | --help | --hel | -h ) |
---|
4324 | echo "$ac_cs_usage"; exit 0 ;; |
---|
4325 | --debug | --d* | -d ) |
---|
4326 | debug=: ;; |
---|
4327 | --file | --fil | --fi | --f ) |
---|
4328 | $ac_shift |
---|
4329 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
---|
4330 | ac_need_defaults=false;; |
---|
4331 | --header | --heade | --head | --hea ) |
---|
4332 | $ac_shift |
---|
4333 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
---|
4334 | ac_need_defaults=false;; |
---|
4335 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
4336 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
4337 | ac_cs_silent=: ;; |
---|
4338 | |
---|
4339 | # This is an error. |
---|
4340 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
---|
4341 | Try \`$0 --help' for more information." >&5 |
---|
4342 | echo "$as_me: error: unrecognized option: $1 |
---|
4343 | Try \`$0 --help' for more information." >&2;} |
---|
4344 | { (exit 1); exit 1; }; } ;; |
---|
4345 | |
---|
4346 | *) ac_config_targets="$ac_config_targets $1" ;; |
---|
4347 | |
---|
4348 | esac |
---|
4349 | shift |
---|
4350 | done |
---|
4351 | |
---|
4352 | ac_configure_extra_args= |
---|
4353 | |
---|
4354 | if $ac_cs_silent; then |
---|
4355 | exec 6>/dev/null |
---|
4356 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
4357 | fi |
---|
4358 | |
---|
4359 | _ACEOF |
---|
4360 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
4361 | if \$ac_cs_recheck; then |
---|
4362 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
---|
4363 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
4364 | fi |
---|
4365 | |
---|
4366 | _ACEOF |
---|
4367 | |
---|
4368 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
4369 | # |
---|
4370 | # INIT-COMMANDS section. |
---|
4371 | # |
---|
4372 | |
---|
4373 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
---|
4374 | |
---|
4375 | _ACEOF |
---|
4376 | |
---|
4377 | |
---|
4378 | |
---|
4379 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4380 | for ac_config_target in $ac_config_targets |
---|
4381 | do |
---|
4382 | case "$ac_config_target" in |
---|
4383 | # Handling of arguments. |
---|
4384 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
4385 | "gtk-doc.pc" ) CONFIG_FILES="$CONFIG_FILES gtk-doc.pc" ;; |
---|
4386 | "gtk-doc.dsl" ) CONFIG_FILES="$CONFIG_FILES gtk-doc.dsl" ;; |
---|
4387 | "gtk-doc.spec" ) CONFIG_FILES="$CONFIG_FILES gtk-doc.spec" ;; |
---|
4388 | "gtk-doc.cat" ) CONFIG_FILES="$CONFIG_FILES gtk-doc.cat" ;; |
---|
4389 | "gtkdoc-common.pl" ) CONFIG_FILES="$CONFIG_FILES gtkdoc-common.pl" ;; |
---|
4390 | "gtkdoc-mkman" ) CONFIG_FILES="$CONFIG_FILES gtkdoc-mkman" ;; |
---|
4391 | "gtkdoc-mkhtml" ) CONFIG_FILES="$CONFIG_FILES gtkdoc-mkhtml" ;; |
---|
4392 | "gtkdoc-fixxref" ) CONFIG_FILES="$CONFIG_FILES gtkdoc-fixxref" ;; |
---|
4393 | "gtkdoc-mkdb" ) CONFIG_FILES="$CONFIG_FILES gtkdoc-mkdb" ;; |
---|
4394 | "gtkdoc-mktmpl" ) CONFIG_FILES="$CONFIG_FILES gtkdoc-mktmpl" ;; |
---|
4395 | "gtkdoc-scan" ) CONFIG_FILES="$CONFIG_FILES gtkdoc-scan" ;; |
---|
4396 | "gtkdoc-scanobj" ) CONFIG_FILES="$CONFIG_FILES gtkdoc-scanobj" ;; |
---|
4397 | "gtkdoc-scangobj" ) CONFIG_FILES="$CONFIG_FILES gtkdoc-scangobj" ;; |
---|
4398 | "gtkdocize" ) CONFIG_FILES="$CONFIG_FILES gtkdocize" ;; |
---|
4399 | "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
---|
4400 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
---|
4401 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
---|
4402 | { (exit 1); exit 1; }; };; |
---|
4403 | esac |
---|
4404 | done |
---|
4405 | |
---|
4406 | # If the user did not use the arguments to specify the items to instantiate, |
---|
4407 | # then the envvar interface is used. Set only those that are not. |
---|
4408 | # We use the long form for the default assignment because of an extremely |
---|
4409 | # bizarre bug on SunOS 4.1.3. |
---|
4410 | if $ac_need_defaults; then |
---|
4411 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
4412 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
---|
4413 | fi |
---|
4414 | |
---|
4415 | # Have a temporary directory for convenience. Make it in the build tree |
---|
4416 | # simply because there is no reason to put it here, and in addition, |
---|
4417 | # creating and moving files from /tmp can sometimes cause problems. |
---|
4418 | # Create a temporary directory, and hook for its removal unless debugging. |
---|
4419 | $debug || |
---|
4420 | { |
---|
4421 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
---|
4422 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
---|
4423 | } |
---|
4424 | |
---|
4425 | # Create a (secure) tmp directory for tmp files. |
---|
4426 | |
---|
4427 | { |
---|
4428 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
---|
4429 | test -n "$tmp" && test -d "$tmp" |
---|
4430 | } || |
---|
4431 | { |
---|
4432 | tmp=./confstat$$-$RANDOM |
---|
4433 | (umask 077 && mkdir $tmp) |
---|
4434 | } || |
---|
4435 | { |
---|
4436 | echo "$me: cannot create a temporary directory in ." >&2 |
---|
4437 | { (exit 1); exit 1; } |
---|
4438 | } |
---|
4439 | |
---|
4440 | _ACEOF |
---|
4441 | |
---|
4442 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
4443 | |
---|
4444 | # |
---|
4445 | # CONFIG_FILES section. |
---|
4446 | # |
---|
4447 | |
---|
4448 | # No need to generate the scripts if there are no CONFIG_FILES. |
---|
4449 | # This happens for instance when ./config.status config.h |
---|
4450 | if test -n "\$CONFIG_FILES"; then |
---|
4451 | # Protect against being on the right side of a sed subst in config.status. |
---|
4452 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
---|
4453 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
---|
4454 | s,@SHELL@,$SHELL,;t t |
---|
4455 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
---|
4456 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
---|
4457 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
---|
4458 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
---|
4459 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
---|
4460 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
---|
4461 | s,@exec_prefix@,$exec_prefix,;t t |
---|
4462 | s,@prefix@,$prefix,;t t |
---|
4463 | s,@program_transform_name@,$program_transform_name,;t t |
---|
4464 | s,@bindir@,$bindir,;t t |
---|
4465 | s,@sbindir@,$sbindir,;t t |
---|
4466 | s,@libexecdir@,$libexecdir,;t t |
---|
4467 | s,@datadir@,$datadir,;t t |
---|
4468 | s,@sysconfdir@,$sysconfdir,;t t |
---|
4469 | s,@sharedstatedir@,$sharedstatedir,;t t |
---|
4470 | s,@localstatedir@,$localstatedir,;t t |
---|
4471 | s,@libdir@,$libdir,;t t |
---|
4472 | s,@includedir@,$includedir,;t t |
---|
4473 | s,@oldincludedir@,$oldincludedir,;t t |
---|
4474 | s,@infodir@,$infodir,;t t |
---|
4475 | s,@mandir@,$mandir,;t t |
---|
4476 | s,@build_alias@,$build_alias,;t t |
---|
4477 | s,@host_alias@,$host_alias,;t t |
---|
4478 | s,@target_alias@,$target_alias,;t t |
---|
4479 | s,@DEFS@,$DEFS,;t t |
---|
4480 | s,@ECHO_C@,$ECHO_C,;t t |
---|
4481 | s,@ECHO_N@,$ECHO_N,;t t |
---|
4482 | s,@ECHO_T@,$ECHO_T,;t t |
---|
4483 | s,@LIBS@,$LIBS,;t t |
---|
4484 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
---|
4485 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
---|
4486 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
---|
4487 | s,@PACKAGE@,$PACKAGE,;t t |
---|
4488 | s,@VERSION@,$VERSION,;t t |
---|
4489 | s,@ACLOCAL@,$ACLOCAL,;t t |
---|
4490 | s,@AUTOCONF@,$AUTOCONF,;t t |
---|
4491 | s,@AUTOMAKE@,$AUTOMAKE,;t t |
---|
4492 | s,@AUTOHEADER@,$AUTOHEADER,;t t |
---|
4493 | s,@MAKEINFO@,$MAKEINFO,;t t |
---|
4494 | s,@AMTAR@,$AMTAR,;t t |
---|
4495 | s,@install_sh@,$install_sh,;t t |
---|
4496 | s,@STRIP@,$STRIP,;t t |
---|
4497 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
---|
4498 | s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
---|
4499 | s,@AWK@,$AWK,;t t |
---|
4500 | s,@SET_MAKE@,$SET_MAKE,;t t |
---|
4501 | s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t |
---|
4502 | s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t |
---|
4503 | s,@MAINT@,$MAINT,;t t |
---|
4504 | s,@CC@,$CC,;t t |
---|
4505 | s,@CFLAGS@,$CFLAGS,;t t |
---|
4506 | s,@LDFLAGS@,$LDFLAGS,;t t |
---|
4507 | s,@CPPFLAGS@,$CPPFLAGS,;t t |
---|
4508 | s,@ac_ct_CC@,$ac_ct_CC,;t t |
---|
4509 | s,@EXEEXT@,$EXEEXT,;t t |
---|
4510 | s,@OBJEXT@,$OBJEXT,;t t |
---|
4511 | s,@DEPDIR@,$DEPDIR,;t t |
---|
4512 | s,@am__include@,$am__include,;t t |
---|
4513 | s,@am__quote@,$am__quote,;t t |
---|
4514 | s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
---|
4515 | s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
---|
4516 | s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t |
---|
4517 | s,@CCDEPMODE@,$CCDEPMODE,;t t |
---|
4518 | s,@PERL@,$PERL,;t t |
---|
4519 | s,@JADE@,$JADE,;t t |
---|
4520 | s,@SGML_FORMAT_TYPE@,$SGML_FORMAT_TYPE,;t t |
---|
4521 | s,@XSLTPROC@,$XSLTPROC,;t t |
---|
4522 | s,@XML_CATALOG_FILE@,$XML_CATALOG_FILE,;t t |
---|
4523 | s,@XMLCATALOG@,$XMLCATALOG,;t t |
---|
4524 | s,@PACKAGE_DATA_DIR@,$PACKAGE_DATA_DIR,;t t |
---|
4525 | s,@LIBOBJS@,$LIBOBJS,;t t |
---|
4526 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
---|
4527 | CEOF |
---|
4528 | |
---|
4529 | _ACEOF |
---|
4530 | |
---|
4531 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4532 | # Split the substitutions into bite-sized pieces for seds with |
---|
4533 | # small command number limits, like on Digital OSF/1 and HP-UX. |
---|
4534 | ac_max_sed_lines=48 |
---|
4535 | ac_sed_frag=1 # Number of current file. |
---|
4536 | ac_beg=1 # First line for current file. |
---|
4537 | ac_end=$ac_max_sed_lines # Line after last line for current file. |
---|
4538 | ac_more_lines=: |
---|
4539 | ac_sed_cmds= |
---|
4540 | while $ac_more_lines; do |
---|
4541 | if test $ac_beg -gt 1; then |
---|
4542 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
---|
4543 | else |
---|
4544 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
---|
4545 | fi |
---|
4546 | if test ! -s $tmp/subs.frag; then |
---|
4547 | ac_more_lines=false |
---|
4548 | else |
---|
4549 | # The purpose of the label and of the branching condition is to |
---|
4550 | # speed up the sed processing (if there are no `@' at all, there |
---|
4551 | # is no need to browse any of the substitutions). |
---|
4552 | # These are the two extra sed commands mentioned above. |
---|
4553 | (echo ':t |
---|
4554 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
---|
4555 | if test -z "$ac_sed_cmds"; then |
---|
4556 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
---|
4557 | else |
---|
4558 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
---|
4559 | fi |
---|
4560 | ac_sed_frag=`expr $ac_sed_frag + 1` |
---|
4561 | ac_beg=$ac_end |
---|
4562 | ac_end=`expr $ac_end + $ac_max_sed_lines` |
---|
4563 | fi |
---|
4564 | done |
---|
4565 | if test -z "$ac_sed_cmds"; then |
---|
4566 | ac_sed_cmds=cat |
---|
4567 | fi |
---|
4568 | fi # test -n "$CONFIG_FILES" |
---|
4569 | |
---|
4570 | _ACEOF |
---|
4571 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4572 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
---|
4573 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
---|
4574 | case $ac_file in |
---|
4575 | - | *:- | *:-:* ) # input from stdin |
---|
4576 | cat >$tmp/stdin |
---|
4577 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
4578 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
4579 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
4580 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
4581 | * ) ac_file_in=$ac_file.in ;; |
---|
4582 | esac |
---|
4583 | |
---|
4584 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
---|
4585 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
---|
4586 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
4587 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
4588 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
4589 | X"$ac_file" : 'X\(/\)' \| \ |
---|
4590 | . : '\(.\)' 2>/dev/null || |
---|
4591 | echo X"$ac_file" | |
---|
4592 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
4593 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
4594 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
4595 | /^X\(\/\).*/{ s//\1/; q; } |
---|
4596 | s/.*/./; q'` |
---|
4597 | { if $as_mkdir_p; then |
---|
4598 | mkdir -p "$ac_dir" |
---|
4599 | else |
---|
4600 | as_dir="$ac_dir" |
---|
4601 | as_dirs= |
---|
4602 | while test ! -d "$as_dir"; do |
---|
4603 | as_dirs="$as_dir $as_dirs" |
---|
4604 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
4605 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
4606 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
4607 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
4608 | X"$as_dir" : 'X\(/\)' \| \ |
---|
4609 | . : '\(.\)' 2>/dev/null || |
---|
4610 | echo X"$as_dir" | |
---|
4611 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
4612 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
4613 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
4614 | /^X\(\/\).*/{ s//\1/; q; } |
---|
4615 | s/.*/./; q'` |
---|
4616 | done |
---|
4617 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
4618 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
---|
4619 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
---|
4620 | { (exit 1); exit 1; }; }; } |
---|
4621 | |
---|
4622 | ac_builddir=. |
---|
4623 | |
---|
4624 | if test "$ac_dir" != .; then |
---|
4625 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
4626 | # A "../" for each directory in $ac_dir_suffix. |
---|
4627 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
4628 | else |
---|
4629 | ac_dir_suffix= ac_top_builddir= |
---|
4630 | fi |
---|
4631 | |
---|
4632 | case $srcdir in |
---|
4633 | .) # No --srcdir option. We are building in place. |
---|
4634 | ac_srcdir=. |
---|
4635 | if test -z "$ac_top_builddir"; then |
---|
4636 | ac_top_srcdir=. |
---|
4637 | else |
---|
4638 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
4639 | fi ;; |
---|
4640 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
4641 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
4642 | ac_top_srcdir=$srcdir ;; |
---|
4643 | *) # Relative path. |
---|
4644 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
4645 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
4646 | esac |
---|
4647 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
---|
4648 | # absolute. |
---|
4649 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
---|
4650 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
---|
4651 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
---|
4652 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
---|
4653 | |
---|
4654 | |
---|
4655 | case $INSTALL in |
---|
4656 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
---|
4657 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
---|
4658 | esac |
---|
4659 | |
---|
4660 | if test x"$ac_file" != x-; then |
---|
4661 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
---|
4662 | echo "$as_me: creating $ac_file" >&6;} |
---|
4663 | rm -f "$ac_file" |
---|
4664 | fi |
---|
4665 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
4666 | # use $as_me), people would be surprised to read: |
---|
4667 | # /* config.h. Generated by config.status. */ |
---|
4668 | if test x"$ac_file" = x-; then |
---|
4669 | configure_input= |
---|
4670 | else |
---|
4671 | configure_input="$ac_file. " |
---|
4672 | fi |
---|
4673 | configure_input=$configure_input"Generated from `echo $ac_file_in | |
---|
4674 | sed 's,.*/,,'` by configure." |
---|
4675 | |
---|
4676 | # First look for the input files in the build tree, otherwise in the |
---|
4677 | # src tree. |
---|
4678 | ac_file_inputs=`IFS=: |
---|
4679 | for f in $ac_file_in; do |
---|
4680 | case $f in |
---|
4681 | -) echo $tmp/stdin ;; |
---|
4682 | [\\/$]*) |
---|
4683 | # Absolute (can't be DOS-style, as IFS=:) |
---|
4684 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
4685 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
4686 | { (exit 1); exit 1; }; } |
---|
4687 | echo $f;; |
---|
4688 | *) # Relative |
---|
4689 | if test -f "$f"; then |
---|
4690 | # Build tree |
---|
4691 | echo $f |
---|
4692 | elif test -f "$srcdir/$f"; then |
---|
4693 | # Source tree |
---|
4694 | echo $srcdir/$f |
---|
4695 | else |
---|
4696 | # /dev/null tree |
---|
4697 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
4698 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
4699 | { (exit 1); exit 1; }; } |
---|
4700 | fi;; |
---|
4701 | esac |
---|
4702 | done` || { (exit 1); exit 1; } |
---|
4703 | _ACEOF |
---|
4704 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
4705 | sed "$ac_vpsub |
---|
4706 | $extrasub |
---|
4707 | _ACEOF |
---|
4708 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4709 | :t |
---|
4710 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
4711 | s,@configure_input@,$configure_input,;t t |
---|
4712 | s,@srcdir@,$ac_srcdir,;t t |
---|
4713 | s,@abs_srcdir@,$ac_abs_srcdir,;t t |
---|
4714 | s,@top_srcdir@,$ac_top_srcdir,;t t |
---|
4715 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
---|
4716 | s,@builddir@,$ac_builddir,;t t |
---|
4717 | s,@abs_builddir@,$ac_abs_builddir,;t t |
---|
4718 | s,@top_builddir@,$ac_top_builddir,;t t |
---|
4719 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
---|
4720 | s,@INSTALL@,$ac_INSTALL,;t t |
---|
4721 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
---|
4722 | rm -f $tmp/stdin |
---|
4723 | if test x"$ac_file" != x-; then |
---|
4724 | mv $tmp/out $ac_file |
---|
4725 | else |
---|
4726 | cat $tmp/out |
---|
4727 | rm -f $tmp/out |
---|
4728 | fi |
---|
4729 | |
---|
4730 | # Run the commands associated with the file. |
---|
4731 | case $ac_file in |
---|
4732 | gtkdoc-mkman ) chmod +x gtkdoc-mkman ;; |
---|
4733 | gtkdoc-mkhtml ) chmod +x gtkdoc-mkhtml ;; |
---|
4734 | gtkdoc-fixxref ) chmod +x gtkdoc-fixxref ;; |
---|
4735 | gtkdoc-mkdb ) chmod +x gtkdoc-mkdb ;; |
---|
4736 | gtkdoc-mktmpl ) chmod +x gtkdoc-mktmpl ;; |
---|
4737 | gtkdoc-scan ) chmod +x gtkdoc-scan ;; |
---|
4738 | gtkdoc-scanobj ) chmod +x gtkdoc-scanobj ;; |
---|
4739 | gtkdoc-scangobj ) chmod +x gtkdoc-scangobj ;; |
---|
4740 | gtkdocize ) chmod +x gtkdocize ;; |
---|
4741 | esac |
---|
4742 | done |
---|
4743 | _ACEOF |
---|
4744 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4745 | |
---|
4746 | # |
---|
4747 | # CONFIG_COMMANDS section. |
---|
4748 | # |
---|
4749 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
---|
4750 | ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
---|
4751 | ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
4752 | ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
---|
4753 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
4754 | X"$ac_dest" : 'X\(//\)[^/]' \| \ |
---|
4755 | X"$ac_dest" : 'X\(//\)$' \| \ |
---|
4756 | X"$ac_dest" : 'X\(/\)' \| \ |
---|
4757 | . : '\(.\)' 2>/dev/null || |
---|
4758 | echo X"$ac_dest" | |
---|
4759 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
4760 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
4761 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
4762 | /^X\(\/\).*/{ s//\1/; q; } |
---|
4763 | s/.*/./; q'` |
---|
4764 | ac_builddir=. |
---|
4765 | |
---|
4766 | if test "$ac_dir" != .; then |
---|
4767 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
4768 | # A "../" for each directory in $ac_dir_suffix. |
---|
4769 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
4770 | else |
---|
4771 | ac_dir_suffix= ac_top_builddir= |
---|
4772 | fi |
---|
4773 | |
---|
4774 | case $srcdir in |
---|
4775 | .) # No --srcdir option. We are building in place. |
---|
4776 | ac_srcdir=. |
---|
4777 | if test -z "$ac_top_builddir"; then |
---|
4778 | ac_top_srcdir=. |
---|
4779 | else |
---|
4780 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
4781 | fi ;; |
---|
4782 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
4783 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
4784 | ac_top_srcdir=$srcdir ;; |
---|
4785 | *) # Relative path. |
---|
4786 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
4787 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
4788 | esac |
---|
4789 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
---|
4790 | # absolute. |
---|
4791 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
---|
4792 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
---|
4793 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
---|
4794 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
---|
4795 | |
---|
4796 | |
---|
4797 | { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
---|
4798 | echo "$as_me: executing $ac_dest commands" >&6;} |
---|
4799 | case $ac_dest in |
---|
4800 | depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do |
---|
4801 | # Strip MF so we end up with the name of the file. |
---|
4802 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
---|
4803 | # Check whether this is an Automake generated Makefile or not. |
---|
4804 | # We used to match only the files named `Makefile.in', but |
---|
4805 | # some people rename them; so instead we look at the file content. |
---|
4806 | # Grep'ing the first line is not enough: some people post-process |
---|
4807 | # each Makefile.in and add a new line on top of each file to say so. |
---|
4808 | # So let's grep whole file. |
---|
4809 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
---|
4810 | dirpart=`(dirname "$mf") 2>/dev/null || |
---|
4811 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
4812 | X"$mf" : 'X\(//\)[^/]' \| \ |
---|
4813 | X"$mf" : 'X\(//\)$' \| \ |
---|
4814 | X"$mf" : 'X\(/\)' \| \ |
---|
4815 | . : '\(.\)' 2>/dev/null || |
---|
4816 | echo X"$mf" | |
---|
4817 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
4818 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
4819 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
4820 | /^X\(\/\).*/{ s//\1/; q; } |
---|
4821 | s/.*/./; q'` |
---|
4822 | else |
---|
4823 | continue |
---|
4824 | fi |
---|
4825 | grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue |
---|
4826 | # Extract the definition of DEP_FILES from the Makefile without |
---|
4827 | # running `make'. |
---|
4828 | DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` |
---|
4829 | test -z "$DEPDIR" && continue |
---|
4830 | # When using ansi2knr, U may be empty or an underscore; expand it |
---|
4831 | U=`sed -n -e '/^U = / s///p' < "$mf"` |
---|
4832 | test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" |
---|
4833 | # We invoke sed twice because it is the simplest approach to |
---|
4834 | # changing $(DEPDIR) to its actual value in the expansion. |
---|
4835 | for file in `sed -n -e ' |
---|
4836 | /^DEP_FILES = .*\\\\$/ { |
---|
4837 | s/^DEP_FILES = // |
---|
4838 | :loop |
---|
4839 | s/\\\\$// |
---|
4840 | p |
---|
4841 | n |
---|
4842 | /\\\\$/ b loop |
---|
4843 | p |
---|
4844 | } |
---|
4845 | /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ |
---|
4846 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
---|
4847 | # Make sure the directory exists. |
---|
4848 | test -f "$dirpart/$file" && continue |
---|
4849 | fdir=`(dirname "$file") 2>/dev/null || |
---|
4850 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
4851 | X"$file" : 'X\(//\)[^/]' \| \ |
---|
4852 | X"$file" : 'X\(//\)$' \| \ |
---|
4853 | X"$file" : 'X\(/\)' \| \ |
---|
4854 | . : '\(.\)' 2>/dev/null || |
---|
4855 | echo X"$file" | |
---|
4856 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
4857 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
4858 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
4859 | /^X\(\/\).*/{ s//\1/; q; } |
---|
4860 | s/.*/./; q'` |
---|
4861 | { if $as_mkdir_p; then |
---|
4862 | mkdir -p $dirpart/$fdir |
---|
4863 | else |
---|
4864 | as_dir=$dirpart/$fdir |
---|
4865 | as_dirs= |
---|
4866 | while test ! -d "$as_dir"; do |
---|
4867 | as_dirs="$as_dir $as_dirs" |
---|
4868 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
4869 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
4870 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
4871 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
4872 | X"$as_dir" : 'X\(/\)' \| \ |
---|
4873 | . : '\(.\)' 2>/dev/null || |
---|
4874 | echo X"$as_dir" | |
---|
4875 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
4876 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
4877 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
4878 | /^X\(\/\).*/{ s//\1/; q; } |
---|
4879 | s/.*/./; q'` |
---|
4880 | done |
---|
4881 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
4882 | fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 |
---|
4883 | echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} |
---|
4884 | { (exit 1); exit 1; }; }; } |
---|
4885 | |
---|
4886 | # echo "creating $dirpart/$file" |
---|
4887 | echo '# dummy' > "$dirpart/$file" |
---|
4888 | done |
---|
4889 | done |
---|
4890 | ;; |
---|
4891 | esac |
---|
4892 | done |
---|
4893 | _ACEOF |
---|
4894 | |
---|
4895 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4896 | |
---|
4897 | { (exit 0); exit 0; } |
---|
4898 | _ACEOF |
---|
4899 | chmod +x $CONFIG_STATUS |
---|
4900 | ac_clean_files=$ac_clean_files_save |
---|
4901 | |
---|
4902 | |
---|
4903 | # configure is writing to config.log, and then calls config.status. |
---|
4904 | # config.status does its own redirection, appending to config.log. |
---|
4905 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
4906 | # by configure, so config.status won't be able to write to it; its |
---|
4907 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
4908 | # effectively closing config.log, so it can be properly (re)opened and |
---|
4909 | # appended to by config.status. When coming back to configure, we |
---|
4910 | # need to make the FD available again. |
---|
4911 | if test "$no_create" != yes; then |
---|
4912 | ac_cs_success=: |
---|
4913 | ac_config_status_args= |
---|
4914 | test "$silent" = yes && |
---|
4915 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
4916 | exec 5>/dev/null |
---|
4917 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
4918 | exec 5>>config.log |
---|
4919 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
4920 | # would make configure fail if this is the last instruction. |
---|
4921 | $ac_cs_success || { (exit 1); exit 1; } |
---|
4922 | fi |
---|
4923 | |
---|