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