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