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