configure revision 1.1 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for font-util 1.0.1.
4 #
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6 #
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
13
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 set -o posix
23 fi
24 DUALCASE=1; export DUALCASE # for MKS sh
25
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28 as_unset=unset
29 else
30 as_unset=false
31 fi
32
33
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
39
40 # NLS nuisances.
41 for as_var in \
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 LC_TELEPHONE LC_TIME
45 do
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
48 else
49 $as_unset $as_var
50 fi
51 done
52
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56 else
57 as_expr=false
58 fi
59
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62 else
63 as_basename=false
64 fi
65
66
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
73 echo X/"$0" |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
77 s/.*/./; q'`
78
79
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
92 chmod +x conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 PATH_SEPARATOR=';'
95 else
96 PATH_SEPARATOR=:
97 fi
98 rm -f conf$$.sh
99 fi
100
101
102 as_lineno_1=$LINENO
103 as_lineno_2=$LINENO
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
108 # relative or not.
109 case $0 in
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 for as_dir in $PATH
113 do
114 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 done
118
119 ;;
120 esac
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
124 as_myself=$0
125 fi
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
129 fi
130 case $CONFIG_SHELL in
131 '')
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 do
135 IFS=$as_save_IFS
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
138 case $as_dir in
139 /*)
140 if ("$as_dir/$as_base" -c '
141 as_lineno_1=$LINENO
142 as_lineno_2=$LINENO
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
149 export CONFIG_SHELL
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 fi;;
152 esac
153 done
154 done
155 ;;
156 esac
157
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
167 sed '
168 N
169 s,$,-,
170 : loop
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 t loop
173 s,-$,,
174 s,^['$as_cr_digits']*\n,,
175 ' >$as_me.lineno &&
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
179
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
183 . ./$as_me.lineno
184 # Exit status is that of the last command.
185 exit
186 }
187
188
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
191 ' ECHO_T=' ' ;;
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 esac
195
196 if expr a : '\(a\)' >/dev/null 2>&1; then
197 as_expr=expr
198 else
199 as_expr=false
200 fi
201
202 rm -f conf$$ conf$$.exe conf$$.file
203 echo >conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
209 as_ln_s='cp -p'
210 else
211 as_ln_s='ln -s'
212 fi
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215 else
216 as_ln_s='cp -p'
217 fi
218 rm -f conf$$ conf$$.exe conf$$.file
219
220 if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=:
222 else
223 test -d ./-p && rmdir ./-p
224 as_mkdir_p=false
225 fi
226
227 as_executable_p="test -f"
228
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
235
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
239 '
240 IFS=" $as_nl"
241
242 # CDPATH.
243 $as_unset CDPATH
244
245
246 # Name of the host.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251 exec 6>&1
252
253 #
254 # Initializations.
255 #
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
258 cross_compiling=no
259 subdirs=
260 MFLAGS=
261 MAKEFLAGS=
262 SHELL=${CONFIG_SHELL-/bin/sh}
263
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
268
269 # Identity of this package.
270 PACKAGE_NAME='font-util'
271 PACKAGE_TARNAME='font-util'
272 PACKAGE_VERSION='1.0.1'
273 PACKAGE_STRING='font-util 1.0.1'
274 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
275
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 CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar 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 am__fastdepCC_TRUE am__fastdepCC_FALSE MAPDIR build build_cpu build_vendor build_os host host_cpu host_vendor host_os APP_MAN_SUFFIX LIB_MAN_SUFFIX FILE_MAN_SUFFIX MISC_MAN_SUFFIX DRIVER_MAN_SUFFIX ADMIN_MAN_SUFFIX APP_MAN_DIR LIB_MAN_DIR FILE_MAN_DIR MISC_MAN_DIR DRIVER_MAN_DIR ADMIN_MAN_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 font-util 1.0.1 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
799 System types:
800 --build=BUILD configure for building on BUILD [guessed]
801 --host=HOST cross-compile to build programs to run on HOST [BUILD]
802 _ACEOF
803 fi
804
805 if test -n "$ac_init_help"; then
806 case $ac_init_help in
807 short | recursive ) echo "Configuration of font-util 1.0.1:";;
808 esac
809 cat <<\_ACEOF
810
811 Optional Features:
812 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
813 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
814 --enable-maintainer-mode enable make rules and dependencies not useful
815 (and sometimes confusing) to the casual installer
816 --disable-dependency-tracking speeds up one-time build
817 --enable-dependency-tracking do not reject slow dependency extractors
818
819 Optional Packages:
820 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
821 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
822 --with-mapdir=MAPDIR Path to install font maps
823 --with-release-version=STRING
824 Use release version string in package name
825
826 Some influential environment variables:
827 CC C compiler command
828 CFLAGS C compiler flags
829 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
830 nonstandard directory <lib dir>
831 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
832 headers in a nonstandard directory <include dir>
833
834 Use these variables to override the choices made by `configure' or to help
835 it to find libraries and programs with nonstandard names/locations.
836
837 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
838 _ACEOF
839 fi
840
841 if test "$ac_init_help" = "recursive"; then
842 # If there are subdirs, report their specific --help.
843 ac_popdir=`pwd`
844 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
845 test -d $ac_dir || continue
846 ac_builddir=.
847
848 if test "$ac_dir" != .; then
849 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
850 # A "../" for each directory in $ac_dir_suffix.
851 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
852 else
853 ac_dir_suffix= ac_top_builddir=
854 fi
855
856 case $srcdir in
857 .) # No --srcdir option. We are building in place.
858 ac_srcdir=.
859 if test -z "$ac_top_builddir"; then
860 ac_top_srcdir=.
861 else
862 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
863 fi ;;
864 [\\/]* | ?:[\\/]* ) # Absolute path.
865 ac_srcdir=$srcdir$ac_dir_suffix;
866 ac_top_srcdir=$srcdir ;;
867 *) # Relative path.
868 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
869 ac_top_srcdir=$ac_top_builddir$srcdir ;;
870 esac
871
872 # Do not use `cd foo && pwd` to compute absolute paths, because
873 # the directories may not exist.
874 case `pwd` in
875 .) ac_abs_builddir="$ac_dir";;
876 *)
877 case "$ac_dir" in
878 .) ac_abs_builddir=`pwd`;;
879 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
880 *) ac_abs_builddir=`pwd`/"$ac_dir";;
881 esac;;
882 esac
883 case $ac_abs_builddir in
884 .) ac_abs_top_builddir=${ac_top_builddir}.;;
885 *)
886 case ${ac_top_builddir}. in
887 .) ac_abs_top_builddir=$ac_abs_builddir;;
888 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
889 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
890 esac;;
891 esac
892 case $ac_abs_builddir in
893 .) ac_abs_srcdir=$ac_srcdir;;
894 *)
895 case $ac_srcdir in
896 .) ac_abs_srcdir=$ac_abs_builddir;;
897 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
898 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
899 esac;;
900 esac
901 case $ac_abs_builddir in
902 .) ac_abs_top_srcdir=$ac_top_srcdir;;
903 *)
904 case $ac_top_srcdir in
905 .) ac_abs_top_srcdir=$ac_abs_builddir;;
906 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
907 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
908 esac;;
909 esac
910
911 cd $ac_dir
912 # Check for guested configure; otherwise get Cygnus style configure.
913 if test -f $ac_srcdir/configure.gnu; then
914 echo
915 $SHELL $ac_srcdir/configure.gnu --help=recursive
916 elif test -f $ac_srcdir/configure; then
917 echo
918 $SHELL $ac_srcdir/configure --help=recursive
919 elif test -f $ac_srcdir/configure.ac ||
920 test -f $ac_srcdir/configure.in; then
921 echo
922 $ac_configure --help
923 else
924 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
925 fi
926 cd $ac_popdir
927 done
928 fi
929
930 test -n "$ac_init_help" && exit 0
931 if $ac_init_version; then
932 cat <<\_ACEOF
933 font-util configure 1.0.1
934 generated by GNU Autoconf 2.59
935
936 Copyright (C) 2003 Free Software Foundation, Inc.
937 This configure script is free software; the Free Software Foundation
938 gives unlimited permission to copy, distribute and modify it.
939 _ACEOF
940 exit 0
941 fi
942 exec 5>config.log
943 cat >&5 <<_ACEOF
944 This file contains any messages produced by compilers while
945 running configure, to aid debugging if configure makes a mistake.
946
947 It was created by font-util $as_me 1.0.1, which was
948 generated by GNU Autoconf 2.59. Invocation command line was
949
950 $ $0 $@
951
952 _ACEOF
953 {
954 cat <<_ASUNAME
955 ## --------- ##
956 ## Platform. ##
957 ## --------- ##
958
959 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
960 uname -m = `(uname -m) 2>/dev/null || echo unknown`
961 uname -r = `(uname -r) 2>/dev/null || echo unknown`
962 uname -s = `(uname -s) 2>/dev/null || echo unknown`
963 uname -v = `(uname -v) 2>/dev/null || echo unknown`
964
965 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
966 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
967
968 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
969 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
970 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
971 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
972 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
973 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
974 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
975
976 _ASUNAME
977
978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
979 for as_dir in $PATH
980 do
981 IFS=$as_save_IFS
982 test -z "$as_dir" && as_dir=.
983 echo "PATH: $as_dir"
984 done
985
986 } >&5
987
988 cat >&5 <<_ACEOF
989
990
991 ## ----------- ##
992 ## Core tests. ##
993 ## ----------- ##
994
995 _ACEOF
996
997
998 # Keep a trace of the command line.
999 # Strip out --no-create and --no-recursion so they do not pile up.
1000 # Strip out --silent because we don't want to record it for future runs.
1001 # Also quote any args containing shell meta-characters.
1002 # Make two passes to allow for proper duplicate-argument suppression.
1003 ac_configure_args=
1004 ac_configure_args0=
1005 ac_configure_args1=
1006 ac_sep=
1007 ac_must_keep_next=false
1008 for ac_pass in 1 2
1009 do
1010 for ac_arg
1011 do
1012 case $ac_arg in
1013 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1014 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1015 | -silent | --silent | --silen | --sile | --sil)
1016 continue ;;
1017 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1018 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1019 esac
1020 case $ac_pass in
1021 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1022 2)
1023 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1024 if test $ac_must_keep_next = true; then
1025 ac_must_keep_next=false # Got value, back to normal.
1026 else
1027 case $ac_arg in
1028 *=* | --config-cache | -C | -disable-* | --disable-* \
1029 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1030 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1031 | -with-* | --with-* | -without-* | --without-* | --x)
1032 case "$ac_configure_args0 " in
1033 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1034 esac
1035 ;;
1036 -* ) ac_must_keep_next=true ;;
1037 esac
1038 fi
1039 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1040 # Get rid of the leading space.
1041 ac_sep=" "
1042 ;;
1043 esac
1044 done
1045 done
1046 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1047 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1048
1049 # When interrupted or exit'd, cleanup temporary files, and complete
1050 # config.log. We remove comments because anyway the quotes in there
1051 # would cause problems or look ugly.
1052 # WARNING: Be sure not to use single quotes in there, as some shells,
1053 # such as our DU 5.0 friend, will then `close' the trap.
1054 trap 'exit_status=$?
1055 # Save into config.log some information that might help in debugging.
1056 {
1057 echo
1058
1059 cat <<\_ASBOX
1060 ## ---------------- ##
1061 ## Cache variables. ##
1062 ## ---------------- ##
1063 _ASBOX
1064 echo
1065 # The following way of writing the cache mishandles newlines in values,
1066 {
1067 (set) 2>&1 |
1068 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1069 *ac_space=\ *)
1070 sed -n \
1071 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1072 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1073 ;;
1074 *)
1075 sed -n \
1076 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1077 ;;
1078 esac;
1079 }
1080 echo
1081
1082 cat <<\_ASBOX
1083 ## ----------------- ##
1084 ## Output variables. ##
1085 ## ----------------- ##
1086 _ASBOX
1087 echo
1088 for ac_var in $ac_subst_vars
1089 do
1090 eval ac_val=$`echo $ac_var`
1091 echo "$ac_var='"'"'$ac_val'"'"'"
1092 done | sort
1093 echo
1094
1095 if test -n "$ac_subst_files"; then
1096 cat <<\_ASBOX
1097 ## ------------- ##
1098 ## Output files. ##
1099 ## ------------- ##
1100 _ASBOX
1101 echo
1102 for ac_var in $ac_subst_files
1103 do
1104 eval ac_val=$`echo $ac_var`
1105 echo "$ac_var='"'"'$ac_val'"'"'"
1106 done | sort
1107 echo
1108 fi
1109
1110 if test -s confdefs.h; then
1111 cat <<\_ASBOX
1112 ## ----------- ##
1113 ## confdefs.h. ##
1114 ## ----------- ##
1115 _ASBOX
1116 echo
1117 sed "/^$/d" confdefs.h | sort
1118 echo
1119 fi
1120 test "$ac_signal" != 0 &&
1121 echo "$as_me: caught signal $ac_signal"
1122 echo "$as_me: exit $exit_status"
1123 } >&5
1124 rm -f core *.core &&
1125 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1126 exit $exit_status
1127 ' 0
1128 for ac_signal in 1 2 13 15; do
1129 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1130 done
1131 ac_signal=0
1132
1133 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1134 rm -rf conftest* confdefs.h
1135 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1136 echo >confdefs.h
1137
1138 # Predefined preprocessor variables.
1139
1140 cat >>confdefs.h <<_ACEOF
1141 #define PACKAGE_NAME "$PACKAGE_NAME"
1142 _ACEOF
1143
1144
1145 cat >>confdefs.h <<_ACEOF
1146 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1147 _ACEOF
1148
1149
1150 cat >>confdefs.h <<_ACEOF
1151 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1152 _ACEOF
1153
1154
1155 cat >>confdefs.h <<_ACEOF
1156 #define PACKAGE_STRING "$PACKAGE_STRING"
1157 _ACEOF
1158
1159
1160 cat >>confdefs.h <<_ACEOF
1161 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1162 _ACEOF
1163
1164
1165 # Let the site file select an alternate cache file if it wants to.
1166 # Prefer explicitly selected file to automatically selected ones.
1167 if test -z "$CONFIG_SITE"; then
1168 if test "x$prefix" != xNONE; then
1169 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1170 else
1171 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1172 fi
1173 fi
1174 for ac_site_file in $CONFIG_SITE; do
1175 if test -r "$ac_site_file"; then
1176 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1177 echo "$as_me: loading site script $ac_site_file" >&6;}
1178 sed 's/^/| /' "$ac_site_file" >&5
1179 . "$ac_site_file"
1180 fi
1181 done
1182
1183 if test -r "$cache_file"; then
1184 # Some versions of bash will fail to source /dev/null (special
1185 # files actually), so we avoid doing that.
1186 if test -f "$cache_file"; then
1187 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1188 echo "$as_me: loading cache $cache_file" >&6;}
1189 case $cache_file in
1190 [\\/]* | ?:[\\/]* ) . $cache_file;;
1191 *) . ./$cache_file;;
1192 esac
1193 fi
1194 else
1195 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1196 echo "$as_me: creating cache $cache_file" >&6;}
1197 >$cache_file
1198 fi
1199
1200 # Check that the precious variables saved in the cache have kept the same
1201 # value.
1202 ac_cache_corrupted=false
1203 for ac_var in `(set) 2>&1 |
1204 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1205 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1206 eval ac_new_set=\$ac_env_${ac_var}_set
1207 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1208 eval ac_new_val="\$ac_env_${ac_var}_value"
1209 case $ac_old_set,$ac_new_set in
1210 set,)
1211 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1212 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1213 ac_cache_corrupted=: ;;
1214 ,set)
1215 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1216 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1217 ac_cache_corrupted=: ;;
1218 ,);;
1219 *)
1220 if test "x$ac_old_val" != "x$ac_new_val"; then
1221 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1222 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1223 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1224 echo "$as_me: former value: $ac_old_val" >&2;}
1225 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1226 echo "$as_me: current value: $ac_new_val" >&2;}
1227 ac_cache_corrupted=:
1228 fi;;
1229 esac
1230 # Pass precious variables to config.status.
1231 if test "$ac_new_set" = set; then
1232 case $ac_new_val in
1233 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1234 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1235 *) ac_arg=$ac_var=$ac_new_val ;;
1236 esac
1237 case " $ac_configure_args " in
1238 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1239 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1240 esac
1241 fi
1242 done
1243 if $ac_cache_corrupted; then
1244 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1245 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1246 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1247 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1248 { (exit 1); exit 1; }; }
1249 fi
1250
1251 ac_ext=c
1252 ac_cpp='$CPP $CPPFLAGS'
1253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283 am__api_version="1.9"
1284 ac_aux_dir=
1285 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1286 if test -f $ac_dir/install-sh; then
1287 ac_aux_dir=$ac_dir
1288 ac_install_sh="$ac_aux_dir/install-sh -c"
1289 break
1290 elif test -f $ac_dir/install.sh; then
1291 ac_aux_dir=$ac_dir
1292 ac_install_sh="$ac_aux_dir/install.sh -c"
1293 break
1294 elif test -f $ac_dir/shtool; then
1295 ac_aux_dir=$ac_dir
1296 ac_install_sh="$ac_aux_dir/shtool install -c"
1297 break
1298 fi
1299 done
1300 if test -z "$ac_aux_dir"; then
1301 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1302 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1303 { (exit 1); exit 1; }; }
1304 fi
1305 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1306 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1307 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1308
1309 # Find a good install program. We prefer a C program (faster),
1310 # so one script is as good as another. But avoid the broken or
1311 # incompatible versions:
1312 # SysV /etc/install, /usr/sbin/install
1313 # SunOS /usr/etc/install
1314 # IRIX /sbin/install
1315 # AIX /bin/install
1316 # AmigaOS /C/install, which installs bootblocks on floppy discs
1317 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1318 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1319 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1320 # OS/2's system install, which has a completely different semantic
1321 # ./install, which can be erroneously created by make from ./install.sh.
1322 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1323 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1324 if test -z "$INSTALL"; then
1325 if test "${ac_cv_path_install+set}" = set; then
1326 echo $ECHO_N "(cached) $ECHO_C" >&6
1327 else
1328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1329 for as_dir in $PATH
1330 do
1331 IFS=$as_save_IFS
1332 test -z "$as_dir" && as_dir=.
1333 # Account for people who put trailing slashes in PATH elements.
1334 case $as_dir/ in
1335 ./ | .// | /cC/* | \
1336 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1337 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1338 /usr/ucb/* ) ;;
1339 *)
1340 # OSF1 and SCO ODT 3.0 have their own names for install.
1341 # Don't use installbsd from OSF since it installs stuff as root
1342 # by default.
1343 for ac_prog in ginstall scoinst install; do
1344 for ac_exec_ext in '' $ac_executable_extensions; do
1345 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1346 if test $ac_prog = install &&
1347 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1348 # AIX install. It has an incompatible calling convention.
1349 :
1350 elif test $ac_prog = install &&
1351 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1352 # program-specific install script used by HP pwplus--don't use.
1353 :
1354 else
1355 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1356 break 3
1357 fi
1358 fi
1359 done
1360 done
1361 ;;
1362 esac
1363 done
1364
1365
1366 fi
1367 if test "${ac_cv_path_install+set}" = set; then
1368 INSTALL=$ac_cv_path_install
1369 else
1370 # As a last resort, use the slow shell script. We don't cache a
1371 # path for INSTALL within a source directory, because that will
1372 # break other packages using the cache if that directory is
1373 # removed, or if the path is relative.
1374 INSTALL=$ac_install_sh
1375 fi
1376 fi
1377 echo "$as_me:$LINENO: result: $INSTALL" >&5
1378 echo "${ECHO_T}$INSTALL" >&6
1379
1380 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1381 # It thinks the first close brace ends the variable substitution.
1382 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1383
1384 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1385
1386 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1387
1388 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1389 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1390 # Just in case
1391 sleep 1
1392 echo timestamp > conftest.file
1393 # Do `set' in a subshell so we don't clobber the current shell's
1394 # arguments. Must try -L first in case configure is actually a
1395 # symlink; some systems play weird games with the mod time of symlinks
1396 # (eg FreeBSD returns the mod time of the symlink's containing
1397 # directory).
1398 if (
1399 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1400 if test "$*" = "X"; then
1401 # -L didn't work.
1402 set X `ls -t $srcdir/configure conftest.file`
1403 fi
1404 rm -f conftest.file
1405 if test "$*" != "X $srcdir/configure conftest.file" \
1406 && test "$*" != "X conftest.file $srcdir/configure"; then
1407
1408 # If neither matched, then we have a broken ls. This can happen
1409 # if, for instance, CONFIG_SHELL is bash and it inherits a
1410 # broken ls alias from the environment. This has actually
1411 # happened. Such a system could not be considered "sane".
1412 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1413 alias in your environment" >&5
1414 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1415 alias in your environment" >&2;}
1416 { (exit 1); exit 1; }; }
1417 fi
1418
1419 test "$2" = conftest.file
1420 )
1421 then
1422 # Ok.
1423 :
1424 else
1425 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1426 Check your system clock" >&5
1427 echo "$as_me: error: newly created file is older than distributed files!
1428 Check your system clock" >&2;}
1429 { (exit 1); exit 1; }; }
1430 fi
1431 echo "$as_me:$LINENO: result: yes" >&5
1432 echo "${ECHO_T}yes" >&6
1433 test "$program_prefix" != NONE &&
1434 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1435 # Use a double $ so make ignores it.
1436 test "$program_suffix" != NONE &&
1437 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1438 # Double any \ or $. echo might interpret backslashes.
1439 # By default was `s,x,x', remove it if useless.
1440 cat <<\_ACEOF >conftest.sed
1441 s/[\\$]/&&/g;s/;s,x,x,$//
1442 _ACEOF
1443 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1444 rm conftest.sed
1445
1446 # expand $ac_aux_dir to an absolute path
1447 am_aux_dir=`cd $ac_aux_dir && pwd`
1448
1449 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1450 # Use eval to expand $SHELL
1451 if eval "$MISSING --run true"; then
1452 am_missing_run="$MISSING --run "
1453 else
1454 am_missing_run=
1455 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1456 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1457 fi
1458
1459 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1460 # We used to keeping the `.' as first argument, in order to
1461 # allow $(mkdir_p) to be used without argument. As in
1462 # $(mkdir_p) $(somedir)
1463 # where $(somedir) is conditionally defined. However this is wrong
1464 # for two reasons:
1465 # 1. if the package is installed by a user who cannot write `.'
1466 # make install will fail,
1467 # 2. the above comment should most certainly read
1468 # $(mkdir_p) $(DESTDIR)$(somedir)
1469 # so it does not work when $(somedir) is undefined and
1470 # $(DESTDIR) is not.
1471 # To support the latter case, we have to write
1472 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1473 # so the `.' trick is pointless.
1474 mkdir_p='mkdir -p --'
1475 else
1476 # On NextStep and OpenStep, the `mkdir' command does not
1477 # recognize any option. It will interpret all options as
1478 # directories to create, and then abort because `.' already
1479 # exists.
1480 for d in ./-p ./--version;
1481 do
1482 test -d $d && rmdir $d
1483 done
1484 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1485 if test -f "$ac_aux_dir/mkinstalldirs"; then
1486 mkdir_p='$(mkinstalldirs)'
1487 else
1488 mkdir_p='$(install_sh) -d'
1489 fi
1490 fi
1491
1492 for ac_prog in gawk mawk nawk awk
1493 do
1494 # Extract the first word of "$ac_prog", so it can be a program name with args.
1495 set dummy $ac_prog; ac_word=$2
1496 echo "$as_me:$LINENO: checking for $ac_word" >&5
1497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1498 if test "${ac_cv_prog_AWK+set}" = set; then
1499 echo $ECHO_N "(cached) $ECHO_C" >&6
1500 else
1501 if test -n "$AWK"; then
1502 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1503 else
1504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1505 for as_dir in $PATH
1506 do
1507 IFS=$as_save_IFS
1508 test -z "$as_dir" && as_dir=.
1509 for ac_exec_ext in '' $ac_executable_extensions; do
1510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1511 ac_cv_prog_AWK="$ac_prog"
1512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1513 break 2
1514 fi
1515 done
1516 done
1517
1518 fi
1519 fi
1520 AWK=$ac_cv_prog_AWK
1521 if test -n "$AWK"; then
1522 echo "$as_me:$LINENO: result: $AWK" >&5
1523 echo "${ECHO_T}$AWK" >&6
1524 else
1525 echo "$as_me:$LINENO: result: no" >&5
1526 echo "${ECHO_T}no" >&6
1527 fi
1528
1529 test -n "$AWK" && break
1530 done
1531
1532 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1533 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1534 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1535 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1536 echo $ECHO_N "(cached) $ECHO_C" >&6
1537 else
1538 cat >conftest.make <<\_ACEOF
1539 all:
1540 @echo 'ac_maketemp="$(MAKE)"'
1541 _ACEOF
1542 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1543 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1544 if test -n "$ac_maketemp"; then
1545 eval ac_cv_prog_make_${ac_make}_set=yes
1546 else
1547 eval ac_cv_prog_make_${ac_make}_set=no
1548 fi
1549 rm -f conftest.make
1550 fi
1551 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1552 echo "$as_me:$LINENO: result: yes" >&5
1553 echo "${ECHO_T}yes" >&6
1554 SET_MAKE=
1555 else
1556 echo "$as_me:$LINENO: result: no" >&5
1557 echo "${ECHO_T}no" >&6
1558 SET_MAKE="MAKE=${MAKE-make}"
1559 fi
1560
1561 rm -rf .tst 2>/dev/null
1562 mkdir .tst 2>/dev/null
1563 if test -d .tst; then
1564 am__leading_dot=.
1565 else
1566 am__leading_dot=_
1567 fi
1568 rmdir .tst 2>/dev/null
1569
1570 # test to see if srcdir already configured
1571 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1572 test -f $srcdir/config.status; then
1573 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1574 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1575 { (exit 1); exit 1; }; }
1576 fi
1577
1578 # test whether we have cygpath
1579 if test -z "$CYGPATH_W"; then
1580 if (cygpath --version) >/dev/null 2>/dev/null; then
1581 CYGPATH_W='cygpath -w'
1582 else
1583 CYGPATH_W=echo
1584 fi
1585 fi
1586
1587
1588 # Define the identity of the package.
1589 PACKAGE='font-util'
1590 VERSION='1.0.1'
1591
1592
1593 cat >>confdefs.h <<_ACEOF
1594 #define PACKAGE "$PACKAGE"
1595 _ACEOF
1596
1597
1598 cat >>confdefs.h <<_ACEOF
1599 #define VERSION "$VERSION"
1600 _ACEOF
1601
1602 # Some tools Automake needs.
1603
1604 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1605
1606
1607 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1608
1609
1610 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1611
1612
1613 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1614
1615
1616 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1617
1618 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1619
1620 # Installed binaries are usually stripped using `strip' when the user
1621 # run `make install-strip'. However `strip' might not be the right
1622 # tool to use in cross-compilation environments, therefore Automake
1623 # will honor the `STRIP' environment variable to overrule this program.
1624 if test "$cross_compiling" != no; then
1625 if test -n "$ac_tool_prefix"; then
1626 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1627 set dummy ${ac_tool_prefix}strip; ac_word=$2
1628 echo "$as_me:$LINENO: checking for $ac_word" >&5
1629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1630 if test "${ac_cv_prog_STRIP+set}" = set; then
1631 echo $ECHO_N "(cached) $ECHO_C" >&6
1632 else
1633 if test -n "$STRIP"; then
1634 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1635 else
1636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1637 for as_dir in $PATH
1638 do
1639 IFS=$as_save_IFS
1640 test -z "$as_dir" && as_dir=.
1641 for ac_exec_ext in '' $ac_executable_extensions; do
1642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1643 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1645 break 2
1646 fi
1647 done
1648 done
1649
1650 fi
1651 fi
1652 STRIP=$ac_cv_prog_STRIP
1653 if test -n "$STRIP"; then
1654 echo "$as_me:$LINENO: result: $STRIP" >&5
1655 echo "${ECHO_T}$STRIP" >&6
1656 else
1657 echo "$as_me:$LINENO: result: no" >&5
1658 echo "${ECHO_T}no" >&6
1659 fi
1660
1661 fi
1662 if test -z "$ac_cv_prog_STRIP"; then
1663 ac_ct_STRIP=$STRIP
1664 # Extract the first word of "strip", so it can be a program name with args.
1665 set dummy strip; ac_word=$2
1666 echo "$as_me:$LINENO: checking for $ac_word" >&5
1667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1668 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1669 echo $ECHO_N "(cached) $ECHO_C" >&6
1670 else
1671 if test -n "$ac_ct_STRIP"; then
1672 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1673 else
1674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1675 for as_dir in $PATH
1676 do
1677 IFS=$as_save_IFS
1678 test -z "$as_dir" && as_dir=.
1679 for ac_exec_ext in '' $ac_executable_extensions; do
1680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1681 ac_cv_prog_ac_ct_STRIP="strip"
1682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1683 break 2
1684 fi
1685 done
1686 done
1687
1688 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1689 fi
1690 fi
1691 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1692 if test -n "$ac_ct_STRIP"; then
1693 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1694 echo "${ECHO_T}$ac_ct_STRIP" >&6
1695 else
1696 echo "$as_me:$LINENO: result: no" >&5
1697 echo "${ECHO_T}no" >&6
1698 fi
1699
1700 STRIP=$ac_ct_STRIP
1701 else
1702 STRIP="$ac_cv_prog_STRIP"
1703 fi
1704
1705 fi
1706 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1707
1708 # We need awk for the "check" target. The system "awk" is bad on
1709 # some platforms.
1710 # Always define AMTAR for backward compatibility.
1711
1712 AMTAR=${AMTAR-"${am_missing_run}tar"}
1713
1714 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1715
1716
1717
1718
1719
1720 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1721 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1722 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1723 if test "${enable_maintainer_mode+set}" = set; then
1724 enableval="$enable_maintainer_mode"
1725 USE_MAINTAINER_MODE=$enableval
1726 else
1727 USE_MAINTAINER_MODE=no
1728 fi;
1729 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1730 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1731
1732
1733 if test $USE_MAINTAINER_MODE = yes; then
1734 MAINTAINER_MODE_TRUE=
1735 MAINTAINER_MODE_FALSE='#'
1736 else
1737 MAINTAINER_MODE_TRUE='#'
1738 MAINTAINER_MODE_FALSE=
1739 fi
1740
1741 MAINT=$MAINTAINER_MODE_TRUE
1742
1743
1744
1745 ac_config_headers="$ac_config_headers config.h"
1746
1747
1748 ac_ext=c
1749 ac_cpp='$CPP $CPPFLAGS'
1750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1753 if test -n "$ac_tool_prefix"; then
1754 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1755 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1756 echo "$as_me:$LINENO: checking for $ac_word" >&5
1757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1758 if test "${ac_cv_prog_CC+set}" = set; then
1759 echo $ECHO_N "(cached) $ECHO_C" >&6
1760 else
1761 if test -n "$CC"; then
1762 ac_cv_prog_CC="$CC" # Let the user override the test.
1763 else
1764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1765 for as_dir in $PATH
1766 do
1767 IFS=$as_save_IFS
1768 test -z "$as_dir" && as_dir=.
1769 for ac_exec_ext in '' $ac_executable_extensions; do
1770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1771 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1773 break 2
1774 fi
1775 done
1776 done
1777
1778 fi
1779 fi
1780 CC=$ac_cv_prog_CC
1781 if test -n "$CC"; then
1782 echo "$as_me:$LINENO: result: $CC" >&5
1783 echo "${ECHO_T}$CC" >&6
1784 else
1785 echo "$as_me:$LINENO: result: no" >&5
1786 echo "${ECHO_T}no" >&6
1787 fi
1788
1789 fi
1790 if test -z "$ac_cv_prog_CC"; then
1791 ac_ct_CC=$CC
1792 # Extract the first word of "gcc", so it can be a program name with args.
1793 set dummy gcc; ac_word=$2
1794 echo "$as_me:$LINENO: checking for $ac_word" >&5
1795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1796 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1797 echo $ECHO_N "(cached) $ECHO_C" >&6
1798 else
1799 if test -n "$ac_ct_CC"; then
1800 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1801 else
1802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1803 for as_dir in $PATH
1804 do
1805 IFS=$as_save_IFS
1806 test -z "$as_dir" && as_dir=.
1807 for ac_exec_ext in '' $ac_executable_extensions; do
1808 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1809 ac_cv_prog_ac_ct_CC="gcc"
1810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1811 break 2
1812 fi
1813 done
1814 done
1815
1816 fi
1817 fi
1818 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1819 if test -n "$ac_ct_CC"; then
1820 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1821 echo "${ECHO_T}$ac_ct_CC" >&6
1822 else
1823 echo "$as_me:$LINENO: result: no" >&5
1824 echo "${ECHO_T}no" >&6
1825 fi
1826
1827 CC=$ac_ct_CC
1828 else
1829 CC="$ac_cv_prog_CC"
1830 fi
1831
1832 if test -z "$CC"; then
1833 if test -n "$ac_tool_prefix"; then
1834 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1835 set dummy ${ac_tool_prefix}cc; ac_word=$2
1836 echo "$as_me:$LINENO: checking for $ac_word" >&5
1837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1838 if test "${ac_cv_prog_CC+set}" = set; then
1839 echo $ECHO_N "(cached) $ECHO_C" >&6
1840 else
1841 if test -n "$CC"; then
1842 ac_cv_prog_CC="$CC" # Let the user override the test.
1843 else
1844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1845 for as_dir in $PATH
1846 do
1847 IFS=$as_save_IFS
1848 test -z "$as_dir" && as_dir=.
1849 for ac_exec_ext in '' $ac_executable_extensions; do
1850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1851 ac_cv_prog_CC="${ac_tool_prefix}cc"
1852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1853 break 2
1854 fi
1855 done
1856 done
1857
1858 fi
1859 fi
1860 CC=$ac_cv_prog_CC
1861 if test -n "$CC"; then
1862 echo "$as_me:$LINENO: result: $CC" >&5
1863 echo "${ECHO_T}$CC" >&6
1864 else
1865 echo "$as_me:$LINENO: result: no" >&5
1866 echo "${ECHO_T}no" >&6
1867 fi
1868
1869 fi
1870 if test -z "$ac_cv_prog_CC"; then
1871 ac_ct_CC=$CC
1872 # Extract the first word of "cc", so it can be a program name with args.
1873 set dummy cc; ac_word=$2
1874 echo "$as_me:$LINENO: checking for $ac_word" >&5
1875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1876 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1877 echo $ECHO_N "(cached) $ECHO_C" >&6
1878 else
1879 if test -n "$ac_ct_CC"; then
1880 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1881 else
1882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1883 for as_dir in $PATH
1884 do
1885 IFS=$as_save_IFS
1886 test -z "$as_dir" && as_dir=.
1887 for ac_exec_ext in '' $ac_executable_extensions; do
1888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1889 ac_cv_prog_ac_ct_CC="cc"
1890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1891 break 2
1892 fi
1893 done
1894 done
1895
1896 fi
1897 fi
1898 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1899 if test -n "$ac_ct_CC"; then
1900 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1901 echo "${ECHO_T}$ac_ct_CC" >&6
1902 else
1903 echo "$as_me:$LINENO: result: no" >&5
1904 echo "${ECHO_T}no" >&6
1905 fi
1906
1907 CC=$ac_ct_CC
1908 else
1909 CC="$ac_cv_prog_CC"
1910 fi
1911
1912 fi
1913 if test -z "$CC"; then
1914 # Extract the first word of "cc", so it can be a program name with args.
1915 set dummy cc; ac_word=$2
1916 echo "$as_me:$LINENO: checking for $ac_word" >&5
1917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1918 if test "${ac_cv_prog_CC+set}" = set; then
1919 echo $ECHO_N "(cached) $ECHO_C" >&6
1920 else
1921 if test -n "$CC"; then
1922 ac_cv_prog_CC="$CC" # Let the user override the test.
1923 else
1924 ac_prog_rejected=no
1925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1926 for as_dir in $PATH
1927 do
1928 IFS=$as_save_IFS
1929 test -z "$as_dir" && as_dir=.
1930 for ac_exec_ext in '' $ac_executable_extensions; do
1931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1932 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1933 ac_prog_rejected=yes
1934 continue
1935 fi
1936 ac_cv_prog_CC="cc"
1937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1938 break 2
1939 fi
1940 done
1941 done
1942
1943 if test $ac_prog_rejected = yes; then
1944 # We found a bogon in the path, so make sure we never use it.
1945 set dummy $ac_cv_prog_CC
1946 shift
1947 if test $# != 0; then
1948 # We chose a different compiler from the bogus one.
1949 # However, it has the same basename, so the bogon will be chosen
1950 # first if we set CC to just the basename; use the full file name.
1951 shift
1952 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1953 fi
1954 fi
1955 fi
1956 fi
1957 CC=$ac_cv_prog_CC
1958 if test -n "$CC"; then
1959 echo "$as_me:$LINENO: result: $CC" >&5
1960 echo "${ECHO_T}$CC" >&6
1961 else
1962 echo "$as_me:$LINENO: result: no" >&5
1963 echo "${ECHO_T}no" >&6
1964 fi
1965
1966 fi
1967 if test -z "$CC"; then
1968 if test -n "$ac_tool_prefix"; then
1969 for ac_prog in cl
1970 do
1971 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1972 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1973 echo "$as_me:$LINENO: checking for $ac_word" >&5
1974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1975 if test "${ac_cv_prog_CC+set}" = set; then
1976 echo $ECHO_N "(cached) $ECHO_C" >&6
1977 else
1978 if test -n "$CC"; then
1979 ac_cv_prog_CC="$CC" # Let the user override the test.
1980 else
1981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1982 for as_dir in $PATH
1983 do
1984 IFS=$as_save_IFS
1985 test -z "$as_dir" && as_dir=.
1986 for ac_exec_ext in '' $ac_executable_extensions; do
1987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1988 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1990 break 2
1991 fi
1992 done
1993 done
1994
1995 fi
1996 fi
1997 CC=$ac_cv_prog_CC
1998 if test -n "$CC"; then
1999 echo "$as_me:$LINENO: result: $CC" >&5
2000 echo "${ECHO_T}$CC" >&6
2001 else
2002 echo "$as_me:$LINENO: result: no" >&5
2003 echo "${ECHO_T}no" >&6
2004 fi
2005
2006 test -n "$CC" && break
2007 done
2008 fi
2009 if test -z "$CC"; then
2010 ac_ct_CC=$CC
2011 for ac_prog in cl
2012 do
2013 # Extract the first word of "$ac_prog", so it can be a program name with args.
2014 set dummy $ac_prog; ac_word=$2
2015 echo "$as_me:$LINENO: checking for $ac_word" >&5
2016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2017 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2018 echo $ECHO_N "(cached) $ECHO_C" >&6
2019 else
2020 if test -n "$ac_ct_CC"; then
2021 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2022 else
2023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2024 for as_dir in $PATH
2025 do
2026 IFS=$as_save_IFS
2027 test -z "$as_dir" && as_dir=.
2028 for ac_exec_ext in '' $ac_executable_extensions; do
2029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2030 ac_cv_prog_ac_ct_CC="$ac_prog"
2031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2032 break 2
2033 fi
2034 done
2035 done
2036
2037 fi
2038 fi
2039 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2040 if test -n "$ac_ct_CC"; then
2041 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2042 echo "${ECHO_T}$ac_ct_CC" >&6
2043 else
2044 echo "$as_me:$LINENO: result: no" >&5
2045 echo "${ECHO_T}no" >&6
2046 fi
2047
2048 test -n "$ac_ct_CC" && break
2049 done
2050
2051 CC=$ac_ct_CC
2052 fi
2053
2054 fi
2055
2056
2057 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2058 See \`config.log' for more details." >&5
2059 echo "$as_me: error: no acceptable C compiler found in \$PATH
2060 See \`config.log' for more details." >&2;}
2061 { (exit 1); exit 1; }; }
2062
2063 # Provide some information about the compiler.
2064 echo "$as_me:$LINENO:" \
2065 "checking for C compiler version" >&5
2066 ac_compiler=`set X $ac_compile; echo $2`
2067 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2068 (eval $ac_compiler --version </dev/null >&5) 2>&5
2069 ac_status=$?
2070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071 (exit $ac_status); }
2072 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2073 (eval $ac_compiler -v </dev/null >&5) 2>&5
2074 ac_status=$?
2075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2076 (exit $ac_status); }
2077 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2078 (eval $ac_compiler -V </dev/null >&5) 2>&5
2079 ac_status=$?
2080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2081 (exit $ac_status); }
2082
2083 cat >conftest.$ac_ext <<_ACEOF
2084 /* confdefs.h. */
2085 _ACEOF
2086 cat confdefs.h >>conftest.$ac_ext
2087 cat >>conftest.$ac_ext <<_ACEOF
2088 /* end confdefs.h. */
2089
2090 int
2091 main ()
2092 {
2093
2094 ;
2095 return 0;
2096 }
2097 _ACEOF
2098 ac_clean_files_save=$ac_clean_files
2099 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2100 # Try to create an executable without -o first, disregard a.out.
2101 # It will help us diagnose broken compilers, and finding out an intuition
2102 # of exeext.
2103 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2104 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2105 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2106 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2107 (eval $ac_link_default) 2>&5
2108 ac_status=$?
2109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110 (exit $ac_status); }; then
2111 # Find the output, starting from the most likely. This scheme is
2112 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2113 # resort.
2114
2115 # Be careful to initialize this variable, since it used to be cached.
2116 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2117 ac_cv_exeext=
2118 # b.out is created by i960 compilers.
2119 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2120 do
2121 test -f "$ac_file" || continue
2122 case $ac_file in
2123 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2124 ;;
2125 conftest.$ac_ext )
2126 # This is the source file.
2127 ;;
2128 [ab].out )
2129 # We found the default executable, but exeext='' is most
2130 # certainly right.
2131 break;;
2132 *.* )
2133 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2134 # FIXME: I believe we export ac_cv_exeext for Libtool,
2135 # but it would be cool to find out if it's true. Does anybody
2136 # maintain Libtool? --akim.
2137 export ac_cv_exeext
2138 break;;
2139 * )
2140 break;;
2141 esac
2142 done
2143 else
2144 echo "$as_me: failed program was:" >&5
2145 sed 's/^/| /' conftest.$ac_ext >&5
2146
2147 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2148 See \`config.log' for more details." >&5
2149 echo "$as_me: error: C compiler cannot create executables
2150 See \`config.log' for more details." >&2;}
2151 { (exit 77); exit 77; }; }
2152 fi
2153
2154 ac_exeext=$ac_cv_exeext
2155 echo "$as_me:$LINENO: result: $ac_file" >&5
2156 echo "${ECHO_T}$ac_file" >&6
2157
2158 # Check the compiler produces executables we can run. If not, either
2159 # the compiler is broken, or we cross compile.
2160 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2161 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2162 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2163 # If not cross compiling, check that we can run a simple program.
2164 if test "$cross_compiling" != yes; then
2165 if { ac_try='./$ac_file'
2166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2167 (eval $ac_try) 2>&5
2168 ac_status=$?
2169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2170 (exit $ac_status); }; }; then
2171 cross_compiling=no
2172 else
2173 if test "$cross_compiling" = maybe; then
2174 cross_compiling=yes
2175 else
2176 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2177 If you meant to cross compile, use \`--host'.
2178 See \`config.log' for more details." >&5
2179 echo "$as_me: error: cannot run C compiled programs.
2180 If you meant to cross compile, use \`--host'.
2181 See \`config.log' for more details." >&2;}
2182 { (exit 1); exit 1; }; }
2183 fi
2184 fi
2185 fi
2186 echo "$as_me:$LINENO: result: yes" >&5
2187 echo "${ECHO_T}yes" >&6
2188
2189 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2190 ac_clean_files=$ac_clean_files_save
2191 # Check the compiler produces executables we can run. If not, either
2192 # the compiler is broken, or we cross compile.
2193 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2194 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2195 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2196 echo "${ECHO_T}$cross_compiling" >&6
2197
2198 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2199 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2201 (eval $ac_link) 2>&5
2202 ac_status=$?
2203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2204 (exit $ac_status); }; then
2205 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2206 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2207 # work properly (i.e., refer to `conftest.exe'), while it won't with
2208 # `rm'.
2209 for ac_file in conftest.exe conftest conftest.*; do
2210 test -f "$ac_file" || continue
2211 case $ac_file in
2212 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2213 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2214 export ac_cv_exeext
2215 break;;
2216 * ) break;;
2217 esac
2218 done
2219 else
2220 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2221 See \`config.log' for more details." >&5
2222 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2223 See \`config.log' for more details." >&2;}
2224 { (exit 1); exit 1; }; }
2225 fi
2226
2227 rm -f conftest$ac_cv_exeext
2228 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2229 echo "${ECHO_T}$ac_cv_exeext" >&6
2230
2231 rm -f conftest.$ac_ext
2232 EXEEXT=$ac_cv_exeext
2233 ac_exeext=$EXEEXT
2234 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2235 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2236 if test "${ac_cv_objext+set}" = set; then
2237 echo $ECHO_N "(cached) $ECHO_C" >&6
2238 else
2239 cat >conftest.$ac_ext <<_ACEOF
2240 /* confdefs.h. */
2241 _ACEOF
2242 cat confdefs.h >>conftest.$ac_ext
2243 cat >>conftest.$ac_ext <<_ACEOF
2244 /* end confdefs.h. */
2245
2246 int
2247 main ()
2248 {
2249
2250 ;
2251 return 0;
2252 }
2253 _ACEOF
2254 rm -f conftest.o conftest.obj
2255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2256 (eval $ac_compile) 2>&5
2257 ac_status=$?
2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259 (exit $ac_status); }; then
2260 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2261 case $ac_file in
2262 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2263 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2264 break;;
2265 esac
2266 done
2267 else
2268 echo "$as_me: failed program was:" >&5
2269 sed 's/^/| /' conftest.$ac_ext >&5
2270
2271 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2272 See \`config.log' for more details." >&5
2273 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2274 See \`config.log' for more details." >&2;}
2275 { (exit 1); exit 1; }; }
2276 fi
2277
2278 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2279 fi
2280 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2281 echo "${ECHO_T}$ac_cv_objext" >&6
2282 OBJEXT=$ac_cv_objext
2283 ac_objext=$OBJEXT
2284 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2285 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2286 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2287 echo $ECHO_N "(cached) $ECHO_C" >&6
2288 else
2289 cat >conftest.$ac_ext <<_ACEOF
2290 /* confdefs.h. */
2291 _ACEOF
2292 cat confdefs.h >>conftest.$ac_ext
2293 cat >>conftest.$ac_ext <<_ACEOF
2294 /* end confdefs.h. */
2295
2296 int
2297 main ()
2298 {
2299 #ifndef __GNUC__
2300 choke me
2301 #endif
2302
2303 ;
2304 return 0;
2305 }
2306 _ACEOF
2307 rm -f conftest.$ac_objext
2308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2309 (eval $ac_compile) 2>conftest.er1
2310 ac_status=$?
2311 grep -v '^ *+' conftest.er1 >conftest.err
2312 rm -f conftest.er1
2313 cat conftest.err >&5
2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315 (exit $ac_status); } &&
2316 { ac_try='test -z "$ac_c_werror_flag"
2317 || test ! -s conftest.err'
2318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2319 (eval $ac_try) 2>&5
2320 ac_status=$?
2321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2322 (exit $ac_status); }; } &&
2323 { ac_try='test -s conftest.$ac_objext'
2324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2325 (eval $ac_try) 2>&5
2326 ac_status=$?
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); }; }; then
2329 ac_compiler_gnu=yes
2330 else
2331 echo "$as_me: failed program was:" >&5
2332 sed 's/^/| /' conftest.$ac_ext >&5
2333
2334 ac_compiler_gnu=no
2335 fi
2336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2337 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2338
2339 fi
2340 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2341 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2342 GCC=`test $ac_compiler_gnu = yes && echo yes`
2343 ac_test_CFLAGS=${CFLAGS+set}
2344 ac_save_CFLAGS=$CFLAGS
2345 CFLAGS="-g"
2346 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2347 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2348 if test "${ac_cv_prog_cc_g+set}" = set; then
2349 echo $ECHO_N "(cached) $ECHO_C" >&6
2350 else
2351 cat >conftest.$ac_ext <<_ACEOF
2352 /* confdefs.h. */
2353 _ACEOF
2354 cat confdefs.h >>conftest.$ac_ext
2355 cat >>conftest.$ac_ext <<_ACEOF
2356 /* end confdefs.h. */
2357
2358 int
2359 main ()
2360 {
2361
2362 ;
2363 return 0;
2364 }
2365 _ACEOF
2366 rm -f conftest.$ac_objext
2367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2368 (eval $ac_compile) 2>conftest.er1
2369 ac_status=$?
2370 grep -v '^ *+' conftest.er1 >conftest.err
2371 rm -f conftest.er1
2372 cat conftest.err >&5
2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); } &&
2375 { ac_try='test -z "$ac_c_werror_flag"
2376 || test ! -s conftest.err'
2377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2378 (eval $ac_try) 2>&5
2379 ac_status=$?
2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381 (exit $ac_status); }; } &&
2382 { ac_try='test -s conftest.$ac_objext'
2383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2384 (eval $ac_try) 2>&5
2385 ac_status=$?
2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); }; }; then
2388 ac_cv_prog_cc_g=yes
2389 else
2390 echo "$as_me: failed program was:" >&5
2391 sed 's/^/| /' conftest.$ac_ext >&5
2392
2393 ac_cv_prog_cc_g=no
2394 fi
2395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2396 fi
2397 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2398 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2399 if test "$ac_test_CFLAGS" = set; then
2400 CFLAGS=$ac_save_CFLAGS
2401 elif test $ac_cv_prog_cc_g = yes; then
2402 if test "$GCC" = yes; then
2403 CFLAGS="-g -O2"
2404 else
2405 CFLAGS="-g"
2406 fi
2407 else
2408 if test "$GCC" = yes; then
2409 CFLAGS="-O2"
2410 else
2411 CFLAGS=
2412 fi
2413 fi
2414 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2415 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2416 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2417 echo $ECHO_N "(cached) $ECHO_C" >&6
2418 else
2419 ac_cv_prog_cc_stdc=no
2420 ac_save_CC=$CC
2421 cat >conftest.$ac_ext <<_ACEOF
2422 /* confdefs.h. */
2423 _ACEOF
2424 cat confdefs.h >>conftest.$ac_ext
2425 cat >>conftest.$ac_ext <<_ACEOF
2426 /* end confdefs.h. */
2427 #include <stdarg.h>
2428 #include <stdio.h>
2429 #include <sys/types.h>
2430 #include <sys/stat.h>
2431 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2432 struct buf { int x; };
2433 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2434 static char *e (p, i)
2435 char **p;
2436 int i;
2437 {
2438 return p[i];
2439 }
2440 static char *f (char * (*g) (char **, int), char **p, ...)
2441 {
2442 char *s;
2443 va_list v;
2444 va_start (v,p);
2445 s = g (p, va_arg (v,int));
2446 va_end (v);
2447 return s;
2448 }
2449
2450 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2451 function prototypes and stuff, but not '\xHH' hex character constants.
2452 These don't provoke an error unfortunately, instead are silently treated
2453 as 'x'. The following induces an error, until -std1 is added to get
2454 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2455 array size at least. It's necessary to write '\x00'==0 to get something
2456 that's true only with -std1. */
2457 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2458
2459 int test (int i, double x);
2460 struct s1 {int (*f) (int a);};
2461 struct s2 {int (*f) (double a);};
2462 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2463 int argc;
2464 char **argv;
2465 int
2466 main ()
2467 {
2468 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2469 ;
2470 return 0;
2471 }
2472 _ACEOF
2473 # Don't try gcc -ansi; that turns off useful extensions and
2474 # breaks some systems' header files.
2475 # AIX -qlanglvl=ansi
2476 # Ultrix and OSF/1 -std1
2477 # HP-UX 10.20 and later -Ae
2478 # HP-UX older versions -Aa -D_HPUX_SOURCE
2479 # SVR4 -Xc -D__EXTENSIONS__
2480 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2481 do
2482 CC="$ac_save_CC $ac_arg"
2483 rm -f conftest.$ac_objext
2484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2485 (eval $ac_compile) 2>conftest.er1
2486 ac_status=$?
2487 grep -v '^ *+' conftest.er1 >conftest.err
2488 rm -f conftest.er1
2489 cat conftest.err >&5
2490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491 (exit $ac_status); } &&
2492 { ac_try='test -z "$ac_c_werror_flag"
2493 || test ! -s conftest.err'
2494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2495 (eval $ac_try) 2>&5
2496 ac_status=$?
2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2498 (exit $ac_status); }; } &&
2499 { ac_try='test -s conftest.$ac_objext'
2500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2501 (eval $ac_try) 2>&5
2502 ac_status=$?
2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504 (exit $ac_status); }; }; then
2505 ac_cv_prog_cc_stdc=$ac_arg
2506 break
2507 else
2508 echo "$as_me: failed program was:" >&5
2509 sed 's/^/| /' conftest.$ac_ext >&5
2510
2511 fi
2512 rm -f conftest.err conftest.$ac_objext
2513 done
2514 rm -f conftest.$ac_ext conftest.$ac_objext
2515 CC=$ac_save_CC
2516
2517 fi
2518
2519 case "x$ac_cv_prog_cc_stdc" in
2520 x|xno)
2521 echo "$as_me:$LINENO: result: none needed" >&5
2522 echo "${ECHO_T}none needed" >&6 ;;
2523 *)
2524 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2525 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2526 CC="$CC $ac_cv_prog_cc_stdc" ;;
2527 esac
2528
2529 # Some people use a C++ compiler to compile C. Since we use `exit',
2530 # in C++ we need to declare it. In case someone uses the same compiler
2531 # for both compiling C and C++ we need to have the C++ compiler decide
2532 # the declaration of exit, since it's the most demanding environment.
2533 cat >conftest.$ac_ext <<_ACEOF
2534 #ifndef __cplusplus
2535 choke me
2536 #endif
2537 _ACEOF
2538 rm -f conftest.$ac_objext
2539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2540 (eval $ac_compile) 2>conftest.er1
2541 ac_status=$?
2542 grep -v '^ *+' conftest.er1 >conftest.err
2543 rm -f conftest.er1
2544 cat conftest.err >&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); } &&
2547 { ac_try='test -z "$ac_c_werror_flag"
2548 || test ! -s conftest.err'
2549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2550 (eval $ac_try) 2>&5
2551 ac_status=$?
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); }; } &&
2554 { ac_try='test -s conftest.$ac_objext'
2555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2556 (eval $ac_try) 2>&5
2557 ac_status=$?
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }; }; then
2560 for ac_declaration in \
2561 '' \
2562 'extern "C" void std::exit (int) throw (); using std::exit;' \
2563 'extern "C" void std::exit (int); using std::exit;' \
2564 'extern "C" void exit (int) throw ();' \
2565 'extern "C" void exit (int);' \
2566 'void exit (int);'
2567 do
2568 cat >conftest.$ac_ext <<_ACEOF
2569 /* confdefs.h. */
2570 _ACEOF
2571 cat confdefs.h >>conftest.$ac_ext
2572 cat >>conftest.$ac_ext <<_ACEOF
2573 /* end confdefs.h. */
2574 $ac_declaration
2575 #include <stdlib.h>
2576 int
2577 main ()
2578 {
2579 exit (42);
2580 ;
2581 return 0;
2582 }
2583 _ACEOF
2584 rm -f conftest.$ac_objext
2585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2586 (eval $ac_compile) 2>conftest.er1
2587 ac_status=$?
2588 grep -v '^ *+' conftest.er1 >conftest.err
2589 rm -f conftest.er1
2590 cat conftest.err >&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); } &&
2593 { ac_try='test -z "$ac_c_werror_flag"
2594 || test ! -s conftest.err'
2595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596 (eval $ac_try) 2>&5
2597 ac_status=$?
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }; } &&
2600 { ac_try='test -s conftest.$ac_objext'
2601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2602 (eval $ac_try) 2>&5
2603 ac_status=$?
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); }; }; then
2606 :
2607 else
2608 echo "$as_me: failed program was:" >&5
2609 sed 's/^/| /' conftest.$ac_ext >&5
2610
2611 continue
2612 fi
2613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2614 cat >conftest.$ac_ext <<_ACEOF
2615 /* confdefs.h. */
2616 _ACEOF
2617 cat confdefs.h >>conftest.$ac_ext
2618 cat >>conftest.$ac_ext <<_ACEOF
2619 /* end confdefs.h. */
2620 $ac_declaration
2621 int
2622 main ()
2623 {
2624 exit (42);
2625 ;
2626 return 0;
2627 }
2628 _ACEOF
2629 rm -f conftest.$ac_objext
2630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2631 (eval $ac_compile) 2>conftest.er1
2632 ac_status=$?
2633 grep -v '^ *+' conftest.er1 >conftest.err
2634 rm -f conftest.er1
2635 cat conftest.err >&5
2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); } &&
2638 { ac_try='test -z "$ac_c_werror_flag"
2639 || test ! -s conftest.err'
2640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2641 (eval $ac_try) 2>&5
2642 ac_status=$?
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); }; } &&
2645 { ac_try='test -s conftest.$ac_objext'
2646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2647 (eval $ac_try) 2>&5
2648 ac_status=$?
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); }; }; then
2651 break
2652 else
2653 echo "$as_me: failed program was:" >&5
2654 sed 's/^/| /' conftest.$ac_ext >&5
2655
2656 fi
2657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2658 done
2659 rm -f conftest*
2660 if test -n "$ac_declaration"; then
2661 echo '#ifdef __cplusplus' >>confdefs.h
2662 echo $ac_declaration >>confdefs.h
2663 echo '#endif' >>confdefs.h
2664 fi
2665
2666 else
2667 echo "$as_me: failed program was:" >&5
2668 sed 's/^/| /' conftest.$ac_ext >&5
2669
2670 fi
2671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2672 ac_ext=c
2673 ac_cpp='$CPP $CPPFLAGS'
2674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2677 DEPDIR="${am__leading_dot}deps"
2678
2679 ac_config_commands="$ac_config_commands depfiles"
2680
2681
2682 am_make=${MAKE-make}
2683 cat > confinc << 'END'
2684 am__doit:
2685 @echo done
2686 .PHONY: am__doit
2687 END
2688 # If we don't find an include directive, just comment out the code.
2689 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2690 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2691 am__include="#"
2692 am__quote=
2693 _am_result=none
2694 # First try GNU make style include.
2695 echo "include confinc" > confmf
2696 # We grep out `Entering directory' and `Leaving directory'
2697 # messages which can occur if `w' ends up in MAKEFLAGS.
2698 # In particular we don't look at `^make:' because GNU make might
2699 # be invoked under some other name (usually "gmake"), in which
2700 # case it prints its new name instead of `make'.
2701 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2702 am__include=include
2703 am__quote=
2704 _am_result=GNU
2705 fi
2706 # Now try BSD make style include.
2707 if test "$am__include" = "#"; then
2708 echo '.include "confinc"' > confmf
2709 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2710 am__include=.include
2711 am__quote="\""
2712 _am_result=BSD
2713 fi
2714 fi
2715
2716
2717 echo "$as_me:$LINENO: result: $_am_result" >&5
2718 echo "${ECHO_T}$_am_result" >&6
2719 rm -f confinc confmf
2720
2721 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2722 if test "${enable_dependency_tracking+set}" = set; then
2723 enableval="$enable_dependency_tracking"
2724
2725 fi;
2726 if test "x$enable_dependency_tracking" != xno; then
2727 am_depcomp="$ac_aux_dir/depcomp"
2728 AMDEPBACKSLASH='\'
2729 fi
2730
2731
2732 if test "x$enable_dependency_tracking" != xno; then
2733 AMDEP_TRUE=
2734 AMDEP_FALSE='#'
2735 else
2736 AMDEP_TRUE='#'
2737 AMDEP_FALSE=
2738 fi
2739
2740
2741
2742
2743 depcc="$CC" am_compiler_list=
2744
2745 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2746 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2747 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2748 echo $ECHO_N "(cached) $ECHO_C" >&6
2749 else
2750 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2751 # We make a subdir and do the tests there. Otherwise we can end up
2752 # making bogus files that we don't know about and never remove. For
2753 # instance it was reported that on HP-UX the gcc test will end up
2754 # making a dummy file named `D' -- because `-MD' means `put the output
2755 # in D'.
2756 mkdir conftest.dir
2757 # Copy depcomp to subdir because otherwise we won't find it if we're
2758 # using a relative directory.
2759 cp "$am_depcomp" conftest.dir
2760 cd conftest.dir
2761 # We will build objects and dependencies in a subdirectory because
2762 # it helps to detect inapplicable dependency modes. For instance
2763 # both Tru64's cc and ICC support -MD to output dependencies as a
2764 # side effect of compilation, but ICC will put the dependencies in
2765 # the current directory while Tru64 will put them in the object
2766 # directory.
2767 mkdir sub
2768
2769 am_cv_CC_dependencies_compiler_type=none
2770 if test "$am_compiler_list" = ""; then
2771 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2772 fi
2773 for depmode in $am_compiler_list; do
2774 # Setup a source with many dependencies, because some compilers
2775 # like to wrap large dependency lists on column 80 (with \), and
2776 # we should not choose a depcomp mode which is confused by this.
2777 #
2778 # We need to recreate these files for each test, as the compiler may
2779 # overwrite some of them when testing with obscure command lines.
2780 # This happens at least with the AIX C compiler.
2781 : > sub/conftest.c
2782 for i in 1 2 3 4 5 6; do
2783 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2784 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2785 # Solaris 8's {/usr,}/bin/sh.
2786 touch sub/conftst$i.h
2787 done
2788 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2789
2790 case $depmode in
2791 nosideeffect)
2792 # after this tag, mechanisms are not by side-effect, so they'll
2793 # only be used when explicitly requested
2794 if test "x$enable_dependency_tracking" = xyes; then
2795 continue
2796 else
2797 break
2798 fi
2799 ;;
2800 none) break ;;
2801 esac
2802 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2803 # mode. It turns out that the SunPro C++ compiler does not properly
2804 # handle `-M -o', and we need to detect this.
2805 if depmode=$depmode \
2806 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2807 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2808 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2809 >/dev/null 2>conftest.err &&
2810 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2811 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2812 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2813 # icc doesn't choke on unknown options, it will just issue warnings
2814 # or remarks (even with -Werror). So we grep stderr for any message
2815 # that says an option was ignored or not supported.
2816 # When given -MP, icc 7.0 and 7.1 complain thusly:
2817 # icc: Command line warning: ignoring option '-M'; no argument required
2818 # The diagnosis changed in icc 8.0:
2819 # icc: Command line remark: option '-MP' not supported
2820 if (grep 'ignoring option' conftest.err ||
2821 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2822 am_cv_CC_dependencies_compiler_type=$depmode
2823 break
2824 fi
2825 fi
2826 done
2827
2828 cd ..
2829 rm -rf conftest.dir
2830 else
2831 am_cv_CC_dependencies_compiler_type=none
2832 fi
2833
2834 fi
2835 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2836 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2837 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2838
2839
2840
2841 if
2842 test "x$enable_dependency_tracking" != xno \
2843 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2844 am__fastdepCC_TRUE=
2845 am__fastdepCC_FALSE='#'
2846 else
2847 am__fastdepCC_TRUE='#'
2848 am__fastdepCC_FALSE=
2849 fi
2850
2851
2852 # Find a good install program. We prefer a C program (faster),
2853 # so one script is as good as another. But avoid the broken or
2854 # incompatible versions:
2855 # SysV /etc/install, /usr/sbin/install
2856 # SunOS /usr/etc/install
2857 # IRIX /sbin/install
2858 # AIX /bin/install
2859 # AmigaOS /C/install, which installs bootblocks on floppy discs
2860 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2861 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2862 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2863 # OS/2's system install, which has a completely different semantic
2864 # ./install, which can be erroneously created by make from ./install.sh.
2865 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2866 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2867 if test -z "$INSTALL"; then
2868 if test "${ac_cv_path_install+set}" = set; then
2869 echo $ECHO_N "(cached) $ECHO_C" >&6
2870 else
2871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2872 for as_dir in $PATH
2873 do
2874 IFS=$as_save_IFS
2875 test -z "$as_dir" && as_dir=.
2876 # Account for people who put trailing slashes in PATH elements.
2877 case $as_dir/ in
2878 ./ | .// | /cC/* | \
2879 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2880 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2881 /usr/ucb/* ) ;;
2882 *)
2883 # OSF1 and SCO ODT 3.0 have their own names for install.
2884 # Don't use installbsd from OSF since it installs stuff as root
2885 # by default.
2886 for ac_prog in ginstall scoinst install; do
2887 for ac_exec_ext in '' $ac_executable_extensions; do
2888 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2889 if test $ac_prog = install &&
2890 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2891 # AIX install. It has an incompatible calling convention.
2892 :
2893 elif test $ac_prog = install &&
2894 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2895 # program-specific install script used by HP pwplus--don't use.
2896 :
2897 else
2898 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2899 break 3
2900 fi
2901 fi
2902 done
2903 done
2904 ;;
2905 esac
2906 done
2907
2908
2909 fi
2910 if test "${ac_cv_path_install+set}" = set; then
2911 INSTALL=$ac_cv_path_install
2912 else
2913 # As a last resort, use the slow shell script. We don't cache a
2914 # path for INSTALL within a source directory, because that will
2915 # break other packages using the cache if that directory is
2916 # removed, or if the path is relative.
2917 INSTALL=$ac_install_sh
2918 fi
2919 fi
2920 echo "$as_me:$LINENO: result: $INSTALL" >&5
2921 echo "${ECHO_T}$INSTALL" >&6
2922
2923 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2924 # It thinks the first close brace ends the variable substitution.
2925 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2926
2927 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2928
2929 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2930
2931
2932
2933
2934 DEFAULT_MAPDIR=${libdir}/X11/fonts/util
2935
2936 # Check whether --with-mapdir or --without-mapdir was given.
2937 if test "${with_mapdir+set}" = set; then
2938 withval="$with_mapdir"
2939 MAPDIR="$withval"
2940 else
2941 MAPDIR="$DEFAULT_MAPDIR"
2942 fi;
2943
2944
2945 # Make sure we can run config.sub.
2946 $ac_config_sub sun4 >/dev/null 2>&1 ||
2947 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2948 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2949 { (exit 1); exit 1; }; }
2950
2951 echo "$as_me:$LINENO: checking build system type" >&5
2952 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2953 if test "${ac_cv_build+set}" = set; then
2954 echo $ECHO_N "(cached) $ECHO_C" >&6
2955 else
2956 ac_cv_build_alias=$build_alias
2957 test -z "$ac_cv_build_alias" &&
2958 ac_cv_build_alias=`$ac_config_guess`
2959 test -z "$ac_cv_build_alias" &&
2960 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2961 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2962 { (exit 1); exit 1; }; }
2963 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2964 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2965 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2966 { (exit 1); exit 1; }; }
2967
2968 fi
2969 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2970 echo "${ECHO_T}$ac_cv_build" >&6
2971 build=$ac_cv_build
2972 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2973 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2974 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2975
2976
2977 echo "$as_me:$LINENO: checking host system type" >&5
2978 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2979 if test "${ac_cv_host+set}" = set; then
2980 echo $ECHO_N "(cached) $ECHO_C" >&6
2981 else
2982 ac_cv_host_alias=$host_alias
2983 test -z "$ac_cv_host_alias" &&
2984 ac_cv_host_alias=$ac_cv_build_alias
2985 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2986 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2987 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2988 { (exit 1); exit 1; }; }
2989
2990 fi
2991 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2992 echo "${ECHO_T}$ac_cv_host" >&6
2993 host=$ac_cv_host
2994 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2995 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2996 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2997
2998
2999
3000
3001
3002 if test x$APP_MAN_SUFFIX = x ; then
3003 case $host_os in
3004 linux*) APP_MAN_SUFFIX=1x ;;
3005 *) APP_MAN_SUFFIX=1 ;;
3006 esac
3007 fi
3008 if test x$APP_MAN_DIR = x ; then
3009 case $host_os in
3010 linux*) APP_MAN_DIR='$(mandir)/man1' ;;
3011 *) APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' ;;
3012 esac
3013 fi
3014
3015 if test x$LIB_MAN_SUFFIX = x ; then
3016 case $host_os in
3017 linux*) LIB_MAN_SUFFIX=3x ;;
3018 *) LIB_MAN_SUFFIX=3 ;;
3019 esac
3020 fi
3021 if test x$LIB_MAN_DIR = x ; then
3022 case $host_os in
3023 linux*) LIB_MAN_DIR='$(mandir)/man3' ;;
3024 *) LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' ;;
3025 esac
3026 fi
3027
3028 if test x$FILE_MAN_SUFFIX = x ; then
3029 case $host_os in
3030 linux*) FILE_MAN_SUFFIX=5x ;;
3031 solaris*) FILE_MAN_SUFFIX=4 ;;
3032 *) FILE_MAN_SUFFIX=5 ;;
3033 esac
3034 fi
3035 if test x$FILE_MAN_DIR = x ; then
3036 case $host_os in
3037 linux*) FILE_MAN_DIR='$(mandir)/man5' ;;
3038 *) FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' ;;
3039 esac
3040 fi
3041
3042 # In Imake's linux.cf, the misc man suffix & dir was only changed for
3043 # LinuxDebian, not other Linuxes, so we leave it unchanged here
3044 if test x$MISC_MAN_SUFFIX = x ; then
3045 case $host_os in
3046 # linux*) MISC_MAN_SUFFIX=7x ;;
3047 solaris*) MISC_MAN_SUFFIX=5 ;;
3048 *) MISC_MAN_SUFFIX=7 ;;
3049 esac
3050 fi
3051 if test x$MISC_MAN_DIR = x ; then
3052 case $host_os in
3053 # linux*) MISC_MAN_DIR='$(mandir)/man7' ;;
3054 *) MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' ;;
3055 esac
3056 fi
3057
3058 # In Imake's linux.cf, the driver man suffix & dir was only changed for
3059 # LinuxDebian, not other Linuxes, so we leave it unchanged here
3060 if test x$DRIVER_MAN_SUFFIX = x ; then
3061 case $host_os in
3062 # linux*) DRIVER_MAN_SUFFIX=4x ;;
3063 solaris*) DRIVER_MAN_SUFFIX=7 ;;
3064 *) DRIVER_MAN_SUFFIX=4 ;;
3065 esac
3066 fi
3067 if test x$DRIVER_MAN_DIR = x ; then
3068 case $host_os in
3069 # linux*) DRIVER_MAN_DIR='$(mandir)/man4' ;;
3070 *) DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' ;;
3071 esac
3072 fi
3073
3074 if test x$ADMIN_MAN_SUFFIX = x ; then
3075 case $host_os in
3076 solaris*) ADMIN_MAN_SUFFIX=1m ;;
3077 *) ADMIN_MAN_SUFFIX=8 ;;
3078 esac
3079 fi
3080 if test x$ADMIN_MAN_DIR = x ; then
3081 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
3082 fi
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100 # Check whether --with-release-version or --without-release-version was given.
3101 if test "${with_release_version+set}" = set; then
3102 withval="$with_release_version"
3103 RELEASE_VERSION="$withval"
3104 else
3105 RELEASE_VERSION=""
3106 fi;
3107 if test "x$RELEASE_VERSION" != "x"; then
3108 PACKAGE="$PACKAGE-$RELEASE_VERSION"
3109 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
3110 { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
3111 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
3112 fi
3113
3114
3115 ac_config_files="$ac_config_files Makefile fontutil.pc"
3116 cat >confcache <<\_ACEOF
3117 # This file is a shell script that caches the results of configure
3118 # tests run on this system so they can be shared between configure
3119 # scripts and configure runs, see configure's option --config-cache.
3120 # It is not useful on other systems. If it contains results you don't
3121 # want to keep, you may remove or edit it.
3122 #
3123 # config.status only pays attention to the cache file if you give it
3124 # the --recheck option to rerun configure.
3125 #
3126 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3127 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3128 # following values.
3129
3130 _ACEOF
3131
3132 # The following way of writing the cache mishandles newlines in values,
3133 # but we know of no workaround that is simple, portable, and efficient.
3134 # So, don't put newlines in cache variables' values.
3135 # Ultrix sh set writes to stderr and can't be redirected directly,
3136 # and sets the high bit in the cache file unless we assign to the vars.
3137 {
3138 (set) 2>&1 |
3139 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3140 *ac_space=\ *)
3141 # `set' does not quote correctly, so add quotes (double-quote
3142 # substitution turns \\\\ into \\, and sed turns \\ into \).
3143 sed -n \
3144 "s/'/'\\\\''/g;
3145 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3146 ;;
3147 *)
3148 # `set' quotes correctly as required by POSIX, so do not add quotes.
3149 sed -n \
3150 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3151 ;;
3152 esac;
3153 } |
3154 sed '
3155 t clear
3156 : clear
3157 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3158 t end
3159 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3160 : end' >>confcache
3161 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3162 if test -w $cache_file; then
3163 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3164 cat confcache >$cache_file
3165 else
3166 echo "not updating unwritable cache $cache_file"
3167 fi
3168 fi
3169 rm -f confcache
3170
3171 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3172 # Let make expand exec_prefix.
3173 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3174
3175 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3176 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3177 # trailing colons and then remove the whole line if VPATH becomes empty
3178 # (actually we leave an empty line to preserve line numbers).
3179 if test "x$srcdir" = x.; then
3180 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3181 s/:*\$(srcdir):*/:/;
3182 s/:*\${srcdir}:*/:/;
3183 s/:*@srcdir@:*/:/;
3184 s/^\([^=]*=[ ]*\):*/\1/;
3185 s/:*$//;
3186 s/^[^=]*=[ ]*$//;
3187 }'
3188 fi
3189
3190 DEFS=-DHAVE_CONFIG_H
3191
3192 ac_libobjs=
3193 ac_ltlibobjs=
3194 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3195 # 1. Remove the extension, and $U if already installed.
3196 ac_i=`echo "$ac_i" |
3197 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3198 # 2. Add them.
3199 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3200 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3201 done
3202 LIBOBJS=$ac_libobjs
3203
3204 LTLIBOBJS=$ac_ltlibobjs
3205
3206
3207 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3208 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3209 Usually this means the macro was only invoked conditionally." >&5
3210 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3211 Usually this means the macro was only invoked conditionally." >&2;}
3212 { (exit 1); exit 1; }; }
3213 fi
3214 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3215 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3216 Usually this means the macro was only invoked conditionally." >&5
3217 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3218 Usually this means the macro was only invoked conditionally." >&2;}
3219 { (exit 1); exit 1; }; }
3220 fi
3221 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3222 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3223 Usually this means the macro was only invoked conditionally." >&5
3224 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3225 Usually this means the macro was only invoked conditionally." >&2;}
3226 { (exit 1); exit 1; }; }
3227 fi
3228
3229 : ${CONFIG_STATUS=./config.status}
3230 ac_clean_files_save=$ac_clean_files
3231 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3232 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3233 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3234 cat >$CONFIG_STATUS <<_ACEOF
3235 #! $SHELL
3236 # Generated by $as_me.
3237 # Run this file to recreate the current configuration.
3238 # Compiler output produced by configure, useful for debugging
3239 # configure, is in config.log if it exists.
3240
3241 debug=false
3242 ac_cs_recheck=false
3243 ac_cs_silent=false
3244 SHELL=\${CONFIG_SHELL-$SHELL}
3245 _ACEOF
3246
3247 cat >>$CONFIG_STATUS <<\_ACEOF
3248 ## --------------------- ##
3249 ## M4sh Initialization. ##
3250 ## --------------------- ##
3251
3252 # Be Bourne compatible
3253 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3254 emulate sh
3255 NULLCMD=:
3256 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3257 # is contrary to our usage. Disable this feature.
3258 alias -g '${1+"$@"}'='"$@"'
3259 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3260 set -o posix
3261 fi
3262 DUALCASE=1; export DUALCASE # for MKS sh
3263
3264 # Support unset when possible.
3265 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3266 as_unset=unset
3267 else
3268 as_unset=false
3269 fi
3270
3271
3272 # Work around bugs in pre-3.0 UWIN ksh.
3273 $as_unset ENV MAIL MAILPATH
3274 PS1='$ '
3275 PS2='> '
3276 PS4='+ '
3277
3278 # NLS nuisances.
3279 for as_var in \
3280 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3281 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3282 LC_TELEPHONE LC_TIME
3283 do
3284 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3285 eval $as_var=C; export $as_var
3286 else
3287 $as_unset $as_var
3288 fi
3289 done
3290
3291 # Required to use basename.
3292 if expr a : '\(a\)' >/dev/null 2>&1; then
3293 as_expr=expr
3294 else
3295 as_expr=false
3296 fi
3297
3298 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3299 as_basename=basename
3300 else
3301 as_basename=false
3302 fi
3303
3304
3305 # Name of the executable.
3306 as_me=`$as_basename "$0" ||
3307 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3308 X"$0" : 'X\(//\)$' \| \
3309 X"$0" : 'X\(/\)$' \| \
3310 . : '\(.\)' 2>/dev/null ||
3311 echo X/"$0" |
3312 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3313 /^X\/\(\/\/\)$/{ s//\1/; q; }
3314 /^X\/\(\/\).*/{ s//\1/; q; }
3315 s/.*/./; q'`
3316
3317
3318 # PATH needs CR, and LINENO needs CR and PATH.
3319 # Avoid depending upon Character Ranges.
3320 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3321 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3322 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3323 as_cr_digits='0123456789'
3324 as_cr_alnum=$as_cr_Letters$as_cr_digits
3325
3326 # The user is always right.
3327 if test "${PATH_SEPARATOR+set}" != set; then
3328 echo "#! /bin/sh" >conf$$.sh
3329 echo "exit 0" >>conf$$.sh
3330 chmod +x conf$$.sh
3331 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3332 PATH_SEPARATOR=';'
3333 else
3334 PATH_SEPARATOR=:
3335 fi
3336 rm -f conf$$.sh
3337 fi
3338
3339
3340 as_lineno_1=$LINENO
3341 as_lineno_2=$LINENO
3342 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3343 test "x$as_lineno_1" != "x$as_lineno_2" &&
3344 test "x$as_lineno_3" = "x$as_lineno_2" || {
3345 # Find who we are. Look in the path if we contain no path at all
3346 # relative or not.
3347 case $0 in
3348 *[\\/]* ) as_myself=$0 ;;
3349 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3350 for as_dir in $PATH
3351 do
3352 IFS=$as_save_IFS
3353 test -z "$as_dir" && as_dir=.
3354 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3355 done
3356
3357 ;;
3358 esac
3359 # We did not find ourselves, most probably we were run as `sh COMMAND'
3360 # in which case we are not to be found in the path.
3361 if test "x$as_myself" = x; then
3362 as_myself=$0
3363 fi
3364 if test ! -f "$as_myself"; then
3365 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3366 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3367 { (exit 1); exit 1; }; }
3368 fi
3369 case $CONFIG_SHELL in
3370 '')
3371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3372 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3373 do
3374 IFS=$as_save_IFS
3375 test -z "$as_dir" && as_dir=.
3376 for as_base in sh bash ksh sh5; do
3377 case $as_dir in
3378 /*)
3379 if ("$as_dir/$as_base" -c '
3380 as_lineno_1=$LINENO
3381 as_lineno_2=$LINENO
3382 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3383 test "x$as_lineno_1" != "x$as_lineno_2" &&
3384 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3385 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3386 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3387 CONFIG_SHELL=$as_dir/$as_base
3388 export CONFIG_SHELL
3389 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3390 fi;;
3391 esac
3392 done
3393 done
3394 ;;
3395 esac
3396
3397 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3398 # uniformly replaced by the line number. The first 'sed' inserts a
3399 # line-number line before each line; the second 'sed' does the real
3400 # work. The second script uses 'N' to pair each line-number line
3401 # with the numbered line, and appends trailing '-' during
3402 # substitution so that $LINENO is not a special case at line end.
3403 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3404 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3405 sed '=' <$as_myself |
3406 sed '
3407 N
3408 s,$,-,
3409 : loop
3410 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3411 t loop
3412 s,-$,,
3413 s,^['$as_cr_digits']*\n,,
3414 ' >$as_me.lineno &&
3415 chmod +x $as_me.lineno ||
3416 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3417 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3418 { (exit 1); exit 1; }; }
3419
3420 # Don't try to exec as it changes $[0], causing all sort of problems
3421 # (the dirname of $[0] is not the place where we might find the
3422 # original and so on. Autoconf is especially sensible to this).
3423 . ./$as_me.lineno
3424 # Exit status is that of the last command.
3425 exit
3426 }
3427
3428
3429 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3430 *c*,-n*) ECHO_N= ECHO_C='
3431 ' ECHO_T=' ' ;;
3432 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3433 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3434 esac
3435
3436 if expr a : '\(a\)' >/dev/null 2>&1; then
3437 as_expr=expr
3438 else
3439 as_expr=false
3440 fi
3441
3442 rm -f conf$$ conf$$.exe conf$$.file
3443 echo >conf$$.file
3444 if ln -s conf$$.file conf$$ 2>/dev/null; then
3445 # We could just check for DJGPP; but this test a) works b) is more generic
3446 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3447 if test -f conf$$.exe; then
3448 # Don't use ln at all; we don't have any links
3449 as_ln_s='cp -p'
3450 else
3451 as_ln_s='ln -s'
3452 fi
3453 elif ln conf$$.file conf$$ 2>/dev/null; then
3454 as_ln_s=ln
3455 else
3456 as_ln_s='cp -p'
3457 fi
3458 rm -f conf$$ conf$$.exe conf$$.file
3459
3460 if mkdir -p . 2>/dev/null; then
3461 as_mkdir_p=:
3462 else
3463 test -d ./-p && rmdir ./-p
3464 as_mkdir_p=false
3465 fi
3466
3467 as_executable_p="test -f"
3468
3469 # Sed expression to map a string onto a valid CPP name.
3470 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3471
3472 # Sed expression to map a string onto a valid variable name.
3473 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3474
3475
3476 # IFS
3477 # We need space, tab and new line, in precisely that order.
3478 as_nl='
3479 '
3480 IFS=" $as_nl"
3481
3482 # CDPATH.
3483 $as_unset CDPATH
3484
3485 exec 6>&1
3486
3487 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3488 # report actual input values of CONFIG_FILES etc. instead of their
3489 # values after options handling. Logging --version etc. is OK.
3490 exec 5>>config.log
3491 {
3492 echo
3493 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3494 ## Running $as_me. ##
3495 _ASBOX
3496 } >&5
3497 cat >&5 <<_CSEOF
3498
3499 This file was extended by font-util $as_me 1.0.1, which was
3500 generated by GNU Autoconf 2.59. Invocation command line was
3501
3502 CONFIG_FILES = $CONFIG_FILES
3503 CONFIG_HEADERS = $CONFIG_HEADERS
3504 CONFIG_LINKS = $CONFIG_LINKS
3505 CONFIG_COMMANDS = $CONFIG_COMMANDS
3506 $ $0 $@
3507
3508 _CSEOF
3509 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3510 echo >&5
3511 _ACEOF
3512
3513 # Files that config.status was made for.
3514 if test -n "$ac_config_files"; then
3515 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3516 fi
3517
3518 if test -n "$ac_config_headers"; then
3519 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3520 fi
3521
3522 if test -n "$ac_config_links"; then
3523 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3524 fi
3525
3526 if test -n "$ac_config_commands"; then
3527 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3528 fi
3529
3530 cat >>$CONFIG_STATUS <<\_ACEOF
3531
3532 ac_cs_usage="\
3533 \`$as_me' instantiates files from templates according to the
3534 current configuration.
3535
3536 Usage: $0 [OPTIONS] [FILE]...
3537
3538 -h, --help print this help, then exit
3539 -V, --version print version number, then exit
3540 -q, --quiet do not print progress messages
3541 -d, --debug don't remove temporary files
3542 --recheck update $as_me by reconfiguring in the same conditions
3543 --file=FILE[:TEMPLATE]
3544 instantiate the configuration file FILE
3545 --header=FILE[:TEMPLATE]
3546 instantiate the configuration header FILE
3547
3548 Configuration files:
3549 $config_files
3550
3551 Configuration headers:
3552 $config_headers
3553
3554 Configuration commands:
3555 $config_commands
3556
3557 Report bugs to <bug-autoconf@gnu.org>."
3558 _ACEOF
3559
3560 cat >>$CONFIG_STATUS <<_ACEOF
3561 ac_cs_version="\\
3562 font-util config.status 1.0.1
3563 configured by $0, generated by GNU Autoconf 2.59,
3564 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3565
3566 Copyright (C) 2003 Free Software Foundation, Inc.
3567 This config.status script is free software; the Free Software Foundation
3568 gives unlimited permission to copy, distribute and modify it."
3569 srcdir=$srcdir
3570 INSTALL="$INSTALL"
3571 _ACEOF
3572
3573 cat >>$CONFIG_STATUS <<\_ACEOF
3574 # If no file are specified by the user, then we need to provide default
3575 # value. By we need to know if files were specified by the user.
3576 ac_need_defaults=:
3577 while test $# != 0
3578 do
3579 case $1 in
3580 --*=*)
3581 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3582 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3583 ac_shift=:
3584 ;;
3585 -*)
3586 ac_option=$1
3587 ac_optarg=$2
3588 ac_shift=shift
3589 ;;
3590 *) # This is not an option, so the user has probably given explicit
3591 # arguments.
3592 ac_option=$1
3593 ac_need_defaults=false;;
3594 esac
3595
3596 case $ac_option in
3597 # Handling of the options.
3598 _ACEOF
3599 cat >>$CONFIG_STATUS <<\_ACEOF
3600 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3601 ac_cs_recheck=: ;;
3602 --version | --vers* | -V )
3603 echo "$ac_cs_version"; exit 0 ;;
3604 --he | --h)
3605 # Conflict between --help and --header
3606 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3607 Try \`$0 --help' for more information." >&5
3608 echo "$as_me: error: ambiguous option: $1
3609 Try \`$0 --help' for more information." >&2;}
3610 { (exit 1); exit 1; }; };;
3611 --help | --hel | -h )
3612 echo "$ac_cs_usage"; exit 0 ;;
3613 --debug | --d* | -d )
3614 debug=: ;;
3615 --file | --fil | --fi | --f )
3616 $ac_shift
3617 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3618 ac_need_defaults=false;;
3619 --header | --heade | --head | --hea )
3620 $ac_shift
3621 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3622 ac_need_defaults=false;;
3623 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3624 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3625 ac_cs_silent=: ;;
3626
3627 # This is an error.
3628 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3629 Try \`$0 --help' for more information." >&5
3630 echo "$as_me: error: unrecognized option: $1
3631 Try \`$0 --help' for more information." >&2;}
3632 { (exit 1); exit 1; }; } ;;
3633
3634 *) ac_config_targets="$ac_config_targets $1" ;;
3635
3636 esac
3637 shift
3638 done
3639
3640 ac_configure_extra_args=
3641
3642 if $ac_cs_silent; then
3643 exec 6>/dev/null
3644 ac_configure_extra_args="$ac_configure_extra_args --silent"
3645 fi
3646
3647 _ACEOF
3648 cat >>$CONFIG_STATUS <<_ACEOF
3649 if \$ac_cs_recheck; then
3650 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3651 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3652 fi
3653
3654 _ACEOF
3655
3656 cat >>$CONFIG_STATUS <<_ACEOF
3657 #
3658 # INIT-COMMANDS section.
3659 #
3660
3661 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3662
3663 _ACEOF
3664
3665
3666
3667 cat >>$CONFIG_STATUS <<\_ACEOF
3668 for ac_config_target in $ac_config_targets
3669 do
3670 case "$ac_config_target" in
3671 # Handling of arguments.
3672 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3673 "fontutil.pc" ) CONFIG_FILES="$CONFIG_FILES fontutil.pc" ;;
3674 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3675 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3676 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3677 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3678 { (exit 1); exit 1; }; };;
3679 esac
3680 done
3681
3682 # If the user did not use the arguments to specify the items to instantiate,
3683 # then the envvar interface is used. Set only those that are not.
3684 # We use the long form for the default assignment because of an extremely
3685 # bizarre bug on SunOS 4.1.3.
3686 if $ac_need_defaults; then
3687 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3688 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3689 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3690 fi
3691
3692 # Have a temporary directory for convenience. Make it in the build tree
3693 # simply because there is no reason to put it here, and in addition,
3694 # creating and moving files from /tmp can sometimes cause problems.
3695 # Create a temporary directory, and hook for its removal unless debugging.
3696 $debug ||
3697 {
3698 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3699 trap '{ (exit 1); exit 1; }' 1 2 13 15
3700 }
3701
3702 # Create a (secure) tmp directory for tmp files.
3703
3704 {
3705 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3706 test -n "$tmp" && test -d "$tmp"
3707 } ||
3708 {
3709 tmp=./confstat$$-$RANDOM
3710 (umask 077 && mkdir $tmp)
3711 } ||
3712 {
3713 echo "$me: cannot create a temporary directory in ." >&2
3714 { (exit 1); exit 1; }
3715 }
3716
3717 _ACEOF
3718
3719 cat >>$CONFIG_STATUS <<_ACEOF
3720
3721 #
3722 # CONFIG_FILES section.
3723 #
3724
3725 # No need to generate the scripts if there are no CONFIG_FILES.
3726 # This happens for instance when ./config.status config.h
3727 if test -n "\$CONFIG_FILES"; then
3728 # Protect against being on the right side of a sed subst in config.status.
3729 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3730 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3731 s,@SHELL@,$SHELL,;t t
3732 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3733 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3734 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3735 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3736 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3737 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3738 s,@exec_prefix@,$exec_prefix,;t t
3739 s,@prefix@,$prefix,;t t
3740 s,@program_transform_name@,$program_transform_name,;t t
3741 s,@bindir@,$bindir,;t t
3742 s,@sbindir@,$sbindir,;t t
3743 s,@libexecdir@,$libexecdir,;t t
3744 s,@datadir@,$datadir,;t t
3745 s,@sysconfdir@,$sysconfdir,;t t
3746 s,@sharedstatedir@,$sharedstatedir,;t t
3747 s,@localstatedir@,$localstatedir,;t t
3748 s,@libdir@,$libdir,;t t
3749 s,@includedir@,$includedir,;t t
3750 s,@oldincludedir@,$oldincludedir,;t t
3751 s,@infodir@,$infodir,;t t
3752 s,@mandir@,$mandir,;t t
3753 s,@build_alias@,$build_alias,;t t
3754 s,@host_alias@,$host_alias,;t t
3755 s,@target_alias@,$target_alias,;t t
3756 s,@DEFS@,$DEFS,;t t
3757 s,@ECHO_C@,$ECHO_C,;t t
3758 s,@ECHO_N@,$ECHO_N,;t t
3759 s,@ECHO_T@,$ECHO_T,;t t
3760 s,@LIBS@,$LIBS,;t t
3761 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3762 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3763 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3764 s,@CYGPATH_W@,$CYGPATH_W,;t t
3765 s,@PACKAGE@,$PACKAGE,;t t
3766 s,@VERSION@,$VERSION,;t t
3767 s,@ACLOCAL@,$ACLOCAL,;t t
3768 s,@AUTOCONF@,$AUTOCONF,;t t
3769 s,@AUTOMAKE@,$AUTOMAKE,;t t
3770 s,@AUTOHEADER@,$AUTOHEADER,;t t
3771 s,@MAKEINFO@,$MAKEINFO,;t t
3772 s,@install_sh@,$install_sh,;t t
3773 s,@STRIP@,$STRIP,;t t
3774 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3775 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3776 s,@mkdir_p@,$mkdir_p,;t t
3777 s,@AWK@,$AWK,;t t
3778 s,@SET_MAKE@,$SET_MAKE,;t t
3779 s,@am__leading_dot@,$am__leading_dot,;t t
3780 s,@AMTAR@,$AMTAR,;t t
3781 s,@am__tar@,$am__tar,;t t
3782 s,@am__untar@,$am__untar,;t t
3783 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
3784 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
3785 s,@MAINT@,$MAINT,;t t
3786 s,@CC@,$CC,;t t
3787 s,@CFLAGS@,$CFLAGS,;t t
3788 s,@LDFLAGS@,$LDFLAGS,;t t
3789 s,@CPPFLAGS@,$CPPFLAGS,;t t
3790 s,@ac_ct_CC@,$ac_ct_CC,;t t
3791 s,@EXEEXT@,$EXEEXT,;t t
3792 s,@OBJEXT@,$OBJEXT,;t t
3793 s,@DEPDIR@,$DEPDIR,;t t
3794 s,@am__include@,$am__include,;t t
3795 s,@am__quote@,$am__quote,;t t
3796 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3797 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3798 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3799 s,@CCDEPMODE@,$CCDEPMODE,;t t
3800 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
3801 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
3802 s,@MAPDIR@,$MAPDIR,;t t
3803 s,@build@,$build,;t t
3804 s,@build_cpu@,$build_cpu,;t t
3805 s,@build_vendor@,$build_vendor,;t t
3806 s,@build_os@,$build_os,;t t
3807 s,@host@,$host,;t t
3808 s,@host_cpu@,$host_cpu,;t t
3809 s,@host_vendor@,$host_vendor,;t t
3810 s,@host_os@,$host_os,;t t
3811 s,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t
3812 s,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t
3813 s,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t
3814 s,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t
3815 s,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t
3816 s,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t
3817 s,@APP_MAN_DIR@,$APP_MAN_DIR,;t t
3818 s,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t
3819 s,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t
3820 s,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t
3821 s,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t
3822 s,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t
3823 s,@LIBOBJS@,$LIBOBJS,;t t
3824 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3825 CEOF
3826
3827 _ACEOF
3828
3829 cat >>$CONFIG_STATUS <<\_ACEOF
3830 # Split the substitutions into bite-sized pieces for seds with
3831 # small command number limits, like on Digital OSF/1 and HP-UX.
3832 ac_max_sed_lines=48
3833 ac_sed_frag=1 # Number of current file.
3834 ac_beg=1 # First line for current file.
3835 ac_end=$ac_max_sed_lines # Line after last line for current file.
3836 ac_more_lines=:
3837 ac_sed_cmds=
3838 while $ac_more_lines; do
3839 if test $ac_beg -gt 1; then
3840 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3841 else
3842 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3843 fi
3844 if test ! -s $tmp/subs.frag; then
3845 ac_more_lines=false
3846 else
3847 # The purpose of the label and of the branching condition is to
3848 # speed up the sed processing (if there are no `@' at all, there
3849 # is no need to browse any of the substitutions).
3850 # These are the two extra sed commands mentioned above.
3851 (echo ':t
3852 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3853 if test -z "$ac_sed_cmds"; then
3854 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3855 else
3856 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3857 fi
3858 ac_sed_frag=`expr $ac_sed_frag + 1`
3859 ac_beg=$ac_end
3860 ac_end=`expr $ac_end + $ac_max_sed_lines`
3861 fi
3862 done
3863 if test -z "$ac_sed_cmds"; then
3864 ac_sed_cmds=cat
3865 fi
3866 fi # test -n "$CONFIG_FILES"
3867
3868 _ACEOF
3869 cat >>$CONFIG_STATUS <<\_ACEOF
3870 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3871 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3872 case $ac_file in
3873 - | *:- | *:-:* ) # input from stdin
3874 cat >$tmp/stdin
3875 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3876 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3877 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3878 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3879 * ) ac_file_in=$ac_file.in ;;
3880 esac
3881
3882 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3883 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3884 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3885 X"$ac_file" : 'X\(//\)[^/]' \| \
3886 X"$ac_file" : 'X\(//\)$' \| \
3887 X"$ac_file" : 'X\(/\)' \| \
3888 . : '\(.\)' 2>/dev/null ||
3889 echo X"$ac_file" |
3890 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3891 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3892 /^X\(\/\/\)$/{ s//\1/; q; }
3893 /^X\(\/\).*/{ s//\1/; q; }
3894 s/.*/./; q'`
3895 { if $as_mkdir_p; then
3896 mkdir -p "$ac_dir"
3897 else
3898 as_dir="$ac_dir"
3899 as_dirs=
3900 while test ! -d "$as_dir"; do
3901 as_dirs="$as_dir $as_dirs"
3902 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3903 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3904 X"$as_dir" : 'X\(//\)[^/]' \| \
3905 X"$as_dir" : 'X\(//\)$' \| \
3906 X"$as_dir" : 'X\(/\)' \| \
3907 . : '\(.\)' 2>/dev/null ||
3908 echo X"$as_dir" |
3909 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3910 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3911 /^X\(\/\/\)$/{ s//\1/; q; }
3912 /^X\(\/\).*/{ s//\1/; q; }
3913 s/.*/./; q'`
3914 done
3915 test ! -n "$as_dirs" || mkdir $as_dirs
3916 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3917 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3918 { (exit 1); exit 1; }; }; }
3919
3920 ac_builddir=.
3921
3922 if test "$ac_dir" != .; then
3923 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3924 # A "../" for each directory in $ac_dir_suffix.
3925 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3926 else
3927 ac_dir_suffix= ac_top_builddir=
3928 fi
3929
3930 case $srcdir in
3931 .) # No --srcdir option. We are building in place.
3932 ac_srcdir=.
3933 if test -z "$ac_top_builddir"; then
3934 ac_top_srcdir=.
3935 else
3936 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3937 fi ;;
3938 [\\/]* | ?:[\\/]* ) # Absolute path.
3939 ac_srcdir=$srcdir$ac_dir_suffix;
3940 ac_top_srcdir=$srcdir ;;
3941 *) # Relative path.
3942 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3943 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3944 esac
3945
3946 # Do not use `cd foo && pwd` to compute absolute paths, because
3947 # the directories may not exist.
3948 case `pwd` in
3949 .) ac_abs_builddir="$ac_dir";;
3950 *)
3951 case "$ac_dir" in
3952 .) ac_abs_builddir=`pwd`;;
3953 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3954 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3955 esac;;
3956 esac
3957 case $ac_abs_builddir in
3958 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3959 *)
3960 case ${ac_top_builddir}. in
3961 .) ac_abs_top_builddir=$ac_abs_builddir;;
3962 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3963 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3964 esac;;
3965 esac
3966 case $ac_abs_builddir in
3967 .) ac_abs_srcdir=$ac_srcdir;;
3968 *)
3969 case $ac_srcdir in
3970 .) ac_abs_srcdir=$ac_abs_builddir;;
3971 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3972 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3973 esac;;
3974 esac
3975 case $ac_abs_builddir in
3976 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3977 *)
3978 case $ac_top_srcdir in
3979 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3980 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3981 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3982 esac;;
3983 esac
3984
3985
3986 case $INSTALL in
3987 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3988 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3989 esac
3990
3991 if test x"$ac_file" != x-; then
3992 { echo "$as_me:$LINENO: creating $ac_file" >&5
3993 echo "$as_me: creating $ac_file" >&6;}
3994 rm -f "$ac_file"
3995 fi
3996 # Let's still pretend it is `configure' which instantiates (i.e., don't
3997 # use $as_me), people would be surprised to read:
3998 # /* config.h. Generated by config.status. */
3999 if test x"$ac_file" = x-; then
4000 configure_input=
4001 else
4002 configure_input="$ac_file. "
4003 fi
4004 configure_input=$configure_input"Generated from `echo $ac_file_in |
4005 sed 's,.*/,,'` by configure."
4006
4007 # First look for the input files in the build tree, otherwise in the
4008 # src tree.
4009 ac_file_inputs=`IFS=:
4010 for f in $ac_file_in; do
4011 case $f in
4012 -) echo $tmp/stdin ;;
4013 [\\/$]*)
4014 # Absolute (can't be DOS-style, as IFS=:)
4015 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4016 echo "$as_me: error: cannot find input file: $f" >&2;}
4017 { (exit 1); exit 1; }; }
4018 echo "$f";;
4019 *) # Relative
4020 if test -f "$f"; then
4021 # Build tree
4022 echo "$f"
4023 elif test -f "$srcdir/$f"; then
4024 # Source tree
4025 echo "$srcdir/$f"
4026 else
4027 # /dev/null tree
4028 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4029 echo "$as_me: error: cannot find input file: $f" >&2;}
4030 { (exit 1); exit 1; }; }
4031 fi;;
4032 esac
4033 done` || { (exit 1); exit 1; }
4034 _ACEOF
4035 cat >>$CONFIG_STATUS <<_ACEOF
4036 sed "$ac_vpsub
4037 $extrasub
4038 _ACEOF
4039 cat >>$CONFIG_STATUS <<\_ACEOF
4040 :t
4041 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4042 s,@configure_input@,$configure_input,;t t
4043 s,@srcdir@,$ac_srcdir,;t t
4044 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4045 s,@top_srcdir@,$ac_top_srcdir,;t t
4046 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4047 s,@builddir@,$ac_builddir,;t t
4048 s,@abs_builddir@,$ac_abs_builddir,;t t
4049 s,@top_builddir@,$ac_top_builddir,;t t
4050 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4051 s,@INSTALL@,$ac_INSTALL,;t t
4052 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4053 rm -f $tmp/stdin
4054 if test x"$ac_file" != x-; then
4055 mv $tmp/out $ac_file
4056 else
4057 cat $tmp/out
4058 rm -f $tmp/out
4059 fi
4060
4061 done
4062 _ACEOF
4063 cat >>$CONFIG_STATUS <<\_ACEOF
4064
4065 #
4066 # CONFIG_HEADER section.
4067 #
4068
4069 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4070 # NAME is the cpp macro being defined and VALUE is the value it is being given.
4071 #
4072 # ac_d sets the value in "#define NAME VALUE" lines.
4073 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4074 ac_dB='[ ].*$,\1#\2'
4075 ac_dC=' '
4076 ac_dD=',;t'
4077 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4078 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4079 ac_uB='$,\1#\2define\3'
4080 ac_uC=' '
4081 ac_uD=',;t'
4082
4083 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4084 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4085 case $ac_file in
4086 - | *:- | *:-:* ) # input from stdin
4087 cat >$tmp/stdin
4088 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4089 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4090 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4091 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4092 * ) ac_file_in=$ac_file.in ;;
4093 esac
4094
4095 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4096 echo "$as_me: creating $ac_file" >&6;}
4097
4098 # First look for the input files in the build tree, otherwise in the
4099 # src tree.
4100 ac_file_inputs=`IFS=:
4101 for f in $ac_file_in; do
4102 case $f in
4103 -) echo $tmp/stdin ;;
4104 [\\/$]*)
4105 # Absolute (can't be DOS-style, as IFS=:)
4106 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4107 echo "$as_me: error: cannot find input file: $f" >&2;}
4108 { (exit 1); exit 1; }; }
4109 # Do quote $f, to prevent DOS paths from being IFS'd.
4110 echo "$f";;
4111 *) # Relative
4112 if test -f "$f"; then
4113 # Build tree
4114 echo "$f"
4115 elif test -f "$srcdir/$f"; then
4116 # Source tree
4117 echo "$srcdir/$f"
4118 else
4119 # /dev/null tree
4120 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4121 echo "$as_me: error: cannot find input file: $f" >&2;}
4122 { (exit 1); exit 1; }; }
4123 fi;;
4124 esac
4125 done` || { (exit 1); exit 1; }
4126 # Remove the trailing spaces.
4127 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4128
4129 _ACEOF
4130
4131 # Transform confdefs.h into two sed scripts, `conftest.defines' and
4132 # `conftest.undefs', that substitutes the proper values into
4133 # config.h.in to produce config.h. The first handles `#define'
4134 # templates, and the second `#undef' templates.
4135 # And first: Protect against being on the right side of a sed subst in
4136 # config.status. Protect against being in an unquoted here document
4137 # in config.status.
4138 rm -f conftest.defines conftest.undefs
4139 # Using a here document instead of a string reduces the quoting nightmare.
4140 # Putting comments in sed scripts is not portable.
4141 #
4142 # `end' is used to avoid that the second main sed command (meant for
4143 # 0-ary CPP macros) applies to n-ary macro definitions.
4144 # See the Autoconf documentation for `clear'.
4145 cat >confdef2sed.sed <<\_ACEOF
4146 s/[\\&,]/\\&/g
4147 s,[\\$`],\\&,g
4148 t clear
4149 : clear
4150 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4151 t end
4152 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4153 : end
4154 _ACEOF
4155 # If some macros were called several times there might be several times
4156 # the same #defines, which is useless. Nevertheless, we may not want to
4157 # sort them, since we want the *last* AC-DEFINE to be honored.
4158 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4159 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4160 rm -f confdef2sed.sed
4161
4162 # This sed command replaces #undef with comments. This is necessary, for
4163 # example, in the case of _POSIX_SOURCE, which is predefined and required
4164 # on some systems where configure will not decide to define it.
4165 cat >>conftest.undefs <<\_ACEOF
4166 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4167 _ACEOF
4168
4169 # Break up conftest.defines because some shells have a limit on the size
4170 # of here documents, and old seds have small limits too (100 cmds).
4171 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4172 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4173 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4174 echo ' :' >>$CONFIG_STATUS
4175 rm -f conftest.tail
4176 while grep . conftest.defines >/dev/null
4177 do
4178 # Write a limited-size here document to $tmp/defines.sed.
4179 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4180 # Speed up: don't consider the non `#define' lines.
4181 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4182 # Work around the forget-to-reset-the-flag bug.
4183 echo 't clr' >>$CONFIG_STATUS
4184 echo ': clr' >>$CONFIG_STATUS
4185 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4186 echo 'CEOF
4187 sed -f $tmp/defines.sed $tmp/in >$tmp/out
4188 rm -f $tmp/in
4189 mv $tmp/out $tmp/in
4190 ' >>$CONFIG_STATUS
4191 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4192 rm -f conftest.defines
4193 mv conftest.tail conftest.defines
4194 done
4195 rm -f conftest.defines
4196 echo ' fi # grep' >>$CONFIG_STATUS
4197 echo >>$CONFIG_STATUS
4198
4199 # Break up conftest.undefs because some shells have a limit on the size
4200 # of here documents, and old seds have small limits too (100 cmds).
4201 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4202 rm -f conftest.tail
4203 while grep . conftest.undefs >/dev/null
4204 do
4205 # Write a limited-size here document to $tmp/undefs.sed.
4206 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4207 # Speed up: don't consider the non `#undef'
4208 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4209 # Work around the forget-to-reset-the-flag bug.
4210 echo 't clr' >>$CONFIG_STATUS
4211 echo ': clr' >>$CONFIG_STATUS
4212 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4213 echo 'CEOF
4214 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4215 rm -f $tmp/in
4216 mv $tmp/out $tmp/in
4217 ' >>$CONFIG_STATUS
4218 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4219 rm -f conftest.undefs
4220 mv conftest.tail conftest.undefs
4221 done
4222 rm -f conftest.undefs
4223
4224 cat >>$CONFIG_STATUS <<\_ACEOF
4225 # Let's still pretend it is `configure' which instantiates (i.e., don't
4226 # use $as_me), people would be surprised to read:
4227 # /* config.h. Generated by config.status. */
4228 if test x"$ac_file" = x-; then
4229 echo "/* Generated by configure. */" >$tmp/config.h
4230 else
4231 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4232 fi
4233 cat $tmp/in >>$tmp/config.h
4234 rm -f $tmp/in
4235 if test x"$ac_file" != x-; then
4236 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
4237 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4238 echo "$as_me: $ac_file is unchanged" >&6;}
4239 else
4240 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4241 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4242 X"$ac_file" : 'X\(//\)[^/]' \| \
4243 X"$ac_file" : 'X\(//\)$' \| \
4244 X"$ac_file" : 'X\(/\)' \| \
4245 . : '\(.\)' 2>/dev/null ||
4246 echo X"$ac_file" |
4247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4248 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4249 /^X\(\/\/\)$/{ s//\1/; q; }
4250 /^X\(\/\).*/{ s//\1/; q; }
4251 s/.*/./; q'`
4252 { if $as_mkdir_p; then
4253 mkdir -p "$ac_dir"
4254 else
4255 as_dir="$ac_dir"
4256 as_dirs=
4257 while test ! -d "$as_dir"; do
4258 as_dirs="$as_dir $as_dirs"
4259 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4260 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4261 X"$as_dir" : 'X\(//\)[^/]' \| \
4262 X"$as_dir" : 'X\(//\)$' \| \
4263 X"$as_dir" : 'X\(/\)' \| \
4264 . : '\(.\)' 2>/dev/null ||
4265 echo X"$as_dir" |
4266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4267 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4268 /^X\(\/\/\)$/{ s//\1/; q; }
4269 /^X\(\/\).*/{ s//\1/; q; }
4270 s/.*/./; q'`
4271 done
4272 test ! -n "$as_dirs" || mkdir $as_dirs
4273 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4274 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4275 { (exit 1); exit 1; }; }; }
4276
4277 rm -f $ac_file
4278 mv $tmp/config.h $ac_file
4279 fi
4280 else
4281 cat $tmp/config.h
4282 rm -f $tmp/config.h
4283 fi
4284 # Compute $ac_file's index in $config_headers.
4285 _am_stamp_count=1
4286 for _am_header in $config_headers :; do
4287 case $_am_header in
4288 $ac_file | $ac_file:* )
4289 break ;;
4290 * )
4291 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4292 esac
4293 done
4294 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4295 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4296 X$ac_file : 'X\(//\)[^/]' \| \
4297 X$ac_file : 'X\(//\)$' \| \
4298 X$ac_file : 'X\(/\)' \| \
4299 . : '\(.\)' 2>/dev/null ||
4300 echo X$ac_file |
4301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4302 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4303 /^X\(\/\/\)$/{ s//\1/; q; }
4304 /^X\(\/\).*/{ s//\1/; q; }
4305 s/.*/./; q'`/stamp-h$_am_stamp_count
4306 done
4307 _ACEOF
4308 cat >>$CONFIG_STATUS <<\_ACEOF
4309
4310 #
4311 # CONFIG_COMMANDS section.
4312 #
4313 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4314 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4315 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4316 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4317 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4318 X"$ac_dest" : 'X\(//\)[^/]' \| \
4319 X"$ac_dest" : 'X\(//\)$' \| \
4320 X"$ac_dest" : 'X\(/\)' \| \
4321 . : '\(.\)' 2>/dev/null ||
4322 echo X"$ac_dest" |
4323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4324 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4325 /^X\(\/\/\)$/{ s//\1/; q; }
4326 /^X\(\/\).*/{ s//\1/; q; }
4327 s/.*/./; q'`
4328 { if $as_mkdir_p; then
4329 mkdir -p "$ac_dir"
4330 else
4331 as_dir="$ac_dir"
4332 as_dirs=
4333 while test ! -d "$as_dir"; do
4334 as_dirs="$as_dir $as_dirs"
4335 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4336 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4337 X"$as_dir" : 'X\(//\)[^/]' \| \
4338 X"$as_dir" : 'X\(//\)$' \| \
4339 X"$as_dir" : 'X\(/\)' \| \
4340 . : '\(.\)' 2>/dev/null ||
4341 echo X"$as_dir" |
4342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4343 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4344 /^X\(\/\/\)$/{ s//\1/; q; }
4345 /^X\(\/\).*/{ s//\1/; q; }
4346 s/.*/./; q'`
4347 done
4348 test ! -n "$as_dirs" || mkdir $as_dirs
4349 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4350 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4351 { (exit 1); exit 1; }; }; }
4352
4353 ac_builddir=.
4354
4355 if test "$ac_dir" != .; then
4356 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4357 # A "../" for each directory in $ac_dir_suffix.
4358 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4359 else
4360 ac_dir_suffix= ac_top_builddir=
4361 fi
4362
4363 case $srcdir in
4364 .) # No --srcdir option. We are building in place.
4365 ac_srcdir=.
4366 if test -z "$ac_top_builddir"; then
4367 ac_top_srcdir=.
4368 else
4369 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4370 fi ;;
4371 [\\/]* | ?:[\\/]* ) # Absolute path.
4372 ac_srcdir=$srcdir$ac_dir_suffix;
4373 ac_top_srcdir=$srcdir ;;
4374 *) # Relative path.
4375 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4376 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4377 esac
4378
4379 # Do not use `cd foo && pwd` to compute absolute paths, because
4380 # the directories may not exist.
4381 case `pwd` in
4382 .) ac_abs_builddir="$ac_dir";;
4383 *)
4384 case "$ac_dir" in
4385 .) ac_abs_builddir=`pwd`;;
4386 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4387 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4388 esac;;
4389 esac
4390 case $ac_abs_builddir in
4391 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4392 *)
4393 case ${ac_top_builddir}. in
4394 .) ac_abs_top_builddir=$ac_abs_builddir;;
4395 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4396 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4397 esac;;
4398 esac
4399 case $ac_abs_builddir in
4400 .) ac_abs_srcdir=$ac_srcdir;;
4401 *)
4402 case $ac_srcdir in
4403 .) ac_abs_srcdir=$ac_abs_builddir;;
4404 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4405 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4406 esac;;
4407 esac
4408 case $ac_abs_builddir in
4409 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4410 *)
4411 case $ac_top_srcdir in
4412 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4413 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4414 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4415 esac;;
4416 esac
4417
4418
4419 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4420 echo "$as_me: executing $ac_dest commands" >&6;}
4421 case $ac_dest in
4422 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4423 # Strip MF so we end up with the name of the file.
4424 mf=`echo "$mf" | sed -e 's/:.*$//'`
4425 # Check whether this is an Automake generated Makefile or not.
4426 # We used to match only the files named `Makefile.in', but
4427 # some people rename them; so instead we look at the file content.
4428 # Grep'ing the first line is not enough: some people post-process
4429 # each Makefile.in and add a new line on top of each file to say so.
4430 # So let's grep whole file.
4431 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4432 dirpart=`(dirname "$mf") 2>/dev/null ||
4433 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4434 X"$mf" : 'X\(//\)[^/]' \| \
4435 X"$mf" : 'X\(//\)$' \| \
4436 X"$mf" : 'X\(/\)' \| \
4437 . : '\(.\)' 2>/dev/null ||
4438 echo X"$mf" |
4439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4440 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4441 /^X\(\/\/\)$/{ s//\1/; q; }
4442 /^X\(\/\).*/{ s//\1/; q; }
4443 s/.*/./; q'`
4444 else
4445 continue
4446 fi
4447 # Extract the definition of DEPDIR, am__include, and am__quote
4448 # from the Makefile without running `make'.
4449 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4450 test -z "$DEPDIR" && continue
4451 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4452 test -z "am__include" && continue
4453 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4454 # When using ansi2knr, U may be empty or an underscore; expand it
4455 U=`sed -n 's/^U = //p' < "$mf"`
4456 # Find all dependency output files, they are included files with
4457 # $(DEPDIR) in their names. We invoke sed twice because it is the
4458 # simplest approach to changing $(DEPDIR) to its actual value in the
4459 # expansion.
4460 for file in `sed -n "
4461 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4462 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4463 # Make sure the directory exists.
4464 test -f "$dirpart/$file" && continue
4465 fdir=`(dirname "$file") 2>/dev/null ||
4466 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4467 X"$file" : 'X\(//\)[^/]' \| \
4468 X"$file" : 'X\(//\)$' \| \
4469 X"$file" : 'X\(/\)' \| \
4470 . : '\(.\)' 2>/dev/null ||
4471 echo X"$file" |
4472 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4473 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4474 /^X\(\/\/\)$/{ s//\1/; q; }
4475 /^X\(\/\).*/{ s//\1/; q; }
4476 s/.*/./; q'`
4477 { if $as_mkdir_p; then
4478 mkdir -p $dirpart/$fdir
4479 else
4480 as_dir=$dirpart/$fdir
4481 as_dirs=
4482 while test ! -d "$as_dir"; do
4483 as_dirs="$as_dir $as_dirs"
4484 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4485 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4486 X"$as_dir" : 'X\(//\)[^/]' \| \
4487 X"$as_dir" : 'X\(//\)$' \| \
4488 X"$as_dir" : 'X\(/\)' \| \
4489 . : '\(.\)' 2>/dev/null ||
4490 echo X"$as_dir" |
4491 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4492 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4493 /^X\(\/\/\)$/{ s//\1/; q; }
4494 /^X\(\/\).*/{ s//\1/; q; }
4495 s/.*/./; q'`
4496 done
4497 test ! -n "$as_dirs" || mkdir $as_dirs
4498 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4499 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4500 { (exit 1); exit 1; }; }; }
4501
4502 # echo "creating $dirpart/$file"
4503 echo '# dummy' > "$dirpart/$file"
4504 done
4505 done
4506 ;;
4507 esac
4508 done
4509 _ACEOF
4510
4511 cat >>$CONFIG_STATUS <<\_ACEOF
4512
4513 { (exit 0); exit 0; }
4514 _ACEOF
4515 chmod +x $CONFIG_STATUS
4516 ac_clean_files=$ac_clean_files_save
4517
4518
4519 # configure is writing to config.log, and then calls config.status.
4520 # config.status does its own redirection, appending to config.log.
4521 # Unfortunately, on DOS this fails, as config.log is still kept open
4522 # by configure, so config.status won't be able to write to it; its
4523 # output is simply discarded. So we exec the FD to /dev/null,
4524 # effectively closing config.log, so it can be properly (re)opened and
4525 # appended to by config.status. When coming back to configure, we
4526 # need to make the FD available again.
4527 if test "$no_create" != yes; then
4528 ac_cs_success=:
4529 ac_config_status_args=
4530 test "$silent" = yes &&
4531 ac_config_status_args="$ac_config_status_args --quiet"
4532 exec 5>/dev/null
4533 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4534 exec 5>>config.log
4535 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4536 # would make configure fail if this is the last instruction.
4537 $ac_cs_success || { (exit 1); exit 1; }
4538 fi
4539
4540