2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.52 for glabels 1.89.0.
5 # Report bugs to <http://sourceforge.net/tracker/?func=add&group_id=46122&atid=445116>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
12 # Avoid depending upon Character Ranges.
13 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16 as_cr_digits='0123456789'
17 as_cr_alnum=$as_cr_Letters$as_cr_digits
19 # Sed expression to map a string onto a valid variable name.
20 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
22 # Sed expression to map a string onto a valid CPP name.
23 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
25 # Be Bourne compatible
26 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
29 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
33 # Name of the executable.
34 as_me=`echo "$0" |sed 's,.*[\\/],,'`
36 if expr a : '\(a\)' >/dev/null 2>&1; then
42 rm -f conf$$ conf$$.exe conf$$.file
44 if ln -s conf$$.file conf$$ 2>/dev/null; then
45 # We could just check for DJGPP; but this test a) works b) is more generic
46 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
47 if test -f conf$$.exe; then
48 # Don't use ln at all; we don't have any links
53 elif ln conf$$.file conf$$ 2>/dev/null; then
58 rm -f conf$$ conf$$.exe conf$$.file
60 as_executable_p="test -f"
62 # Support unset when possible.
63 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
70 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
71 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
72 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
73 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
74 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
75 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
76 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
77 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
80 # We need space, tab and new line, in precisely that order.
86 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
89 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
90 # so uname gets run too.
91 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
98 ac_default_prefix=/usr/local
102 SHELL=${CONFIG_SHELL-/bin/sh}
104 # Maximum number of lines to put in a shell here document.
105 # This variable seems obsolete. It should probably be removed, and
106 # only ac_max_sed_lines should be used.
107 : ${ac_max_here_lines=38}
109 ac_unique_file="src/glabels.c"
110 # Factoring default headers for most tests.
111 ac_includes_default="\
114 # include <sys/types.h>
117 # include <sys/stat.h>
128 # if !STDC_HEADERS && HAVE_MEMORY_H
134 # include <strings.h>
137 # include <inttypes.h>
147 ac_subdirs_all="$ac_subdirs_all barcode-0.98"
149 # Initialize some variables set by options.
151 ac_init_version=false
152 # The variables have the same names as the options, with
153 # dashes changed to underlines.
161 program_transform_name=s,x,x,
169 # Installation directory options.
170 # These are left unexpanded so users can "make install exec_prefix=/foo"
171 # and all the variables that are supposed to be based on exec_prefix
172 # by default will actually change.
173 # Use braces instead of parens because sh, perl, etc. also accept them.
174 bindir='${exec_prefix}/bin'
175 sbindir='${exec_prefix}/sbin'
176 libexecdir='${exec_prefix}/libexec'
177 datadir='${prefix}/share'
178 sysconfdir='${prefix}/etc'
179 sharedstatedir='${prefix}/com'
180 localstatedir='${prefix}/var'
181 libdir='${exec_prefix}/lib'
182 includedir='${prefix}/include'
183 oldincludedir='/usr/include'
184 infodir='${prefix}/info'
185 mandir='${prefix}/man'
187 # Identity of this package.
188 PACKAGE_NAME='glabels'
189 PACKAGE_TARNAME='glabels'
190 PACKAGE_VERSION='1.89.0'
191 PACKAGE_STRING='glabels 1.89.0'
192 PACKAGE_BUGREPORT='http://sourceforge.net/tracker/?func=add&group_id=46122&atid=445116'
197 # If the previous option needs an argument, assign it.
198 if test -n "$ac_prev"; then
199 eval "$ac_prev=\$ac_option"
204 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
206 # Accept the important Cygnus configure options, so we can diagnose typos.
210 -bindir | --bindir | --bindi | --bind | --bin | --bi)
212 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
215 -build | --build | --buil | --bui | --bu)
216 ac_prev=build_alias ;;
217 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
218 build_alias=$ac_optarg ;;
220 -cache-file | --cache-file | --cache-fil | --cache-fi \
221 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
222 ac_prev=cache_file ;;
223 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
224 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
225 cache_file=$ac_optarg ;;
228 cache_file=config.cache ;;
230 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
232 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
234 datadir=$ac_optarg ;;
236 -disable-* | --disable-*)
237 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
238 # Reject names that are not valid shell variable names.
239 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
240 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
241 { (exit 1); exit 1; }; }
242 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
243 eval "enable_$ac_feature=no" ;;
245 -enable-* | --enable-*)
246 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
247 # Reject names that are not valid shell variable names.
248 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
249 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
250 { (exit 1); exit 1; }; }
251 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
253 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
256 eval "enable_$ac_feature='$ac_optarg'" ;;
258 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
259 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
260 | --exec | --exe | --ex)
261 ac_prev=exec_prefix ;;
262 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
263 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
264 | --exec=* | --exe=* | --ex=*)
265 exec_prefix=$ac_optarg ;;
267 -gas | --gas | --ga | --g)
268 # Obsolete; use --with-gas.
271 -help | --help | --hel | --he | -h)
273 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
274 ac_init_help=recursive ;;
275 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
276 ac_init_help=short ;;
278 -host | --host | --hos | --ho)
279 ac_prev=host_alias ;;
280 -host=* | --host=* | --hos=* | --ho=*)
281 host_alias=$ac_optarg ;;
283 -includedir | --includedir | --includedi | --included | --include \
284 | --includ | --inclu | --incl | --inc)
285 ac_prev=includedir ;;
286 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
287 | --includ=* | --inclu=* | --incl=* | --inc=*)
288 includedir=$ac_optarg ;;
290 -infodir | --infodir | --infodi | --infod | --info | --inf)
292 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
293 infodir=$ac_optarg ;;
295 -libdir | --libdir | --libdi | --libd)
297 -libdir=* | --libdir=* | --libdi=* | --libd=*)
300 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
301 | --libexe | --libex | --libe)
302 ac_prev=libexecdir ;;
303 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
304 | --libexe=* | --libex=* | --libe=*)
305 libexecdir=$ac_optarg ;;
307 -localstatedir | --localstatedir | --localstatedi | --localstated \
308 | --localstate | --localstat | --localsta | --localst \
309 | --locals | --local | --loca | --loc | --lo)
310 ac_prev=localstatedir ;;
311 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
312 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
313 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
314 localstatedir=$ac_optarg ;;
316 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
318 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
322 # Obsolete; use --without-fp.
325 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
329 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
330 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
333 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
334 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
335 | --oldin | --oldi | --old | --ol | --o)
336 ac_prev=oldincludedir ;;
337 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
338 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
339 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
340 oldincludedir=$ac_optarg ;;
342 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
344 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
347 -program-prefix | --program-prefix | --program-prefi | --program-pref \
348 | --program-pre | --program-pr | --program-p)
349 ac_prev=program_prefix ;;
350 -program-prefix=* | --program-prefix=* | --program-prefi=* \
351 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
352 program_prefix=$ac_optarg ;;
354 -program-suffix | --program-suffix | --program-suffi | --program-suff \
355 | --program-suf | --program-su | --program-s)
356 ac_prev=program_suffix ;;
357 -program-suffix=* | --program-suffix=* | --program-suffi=* \
358 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
359 program_suffix=$ac_optarg ;;
361 -program-transform-name | --program-transform-name \
362 | --program-transform-nam | --program-transform-na \
363 | --program-transform-n | --program-transform- \
364 | --program-transform | --program-transfor \
365 | --program-transfo | --program-transf \
366 | --program-trans | --program-tran \
367 | --progr-tra | --program-tr | --program-t)
368 ac_prev=program_transform_name ;;
369 -program-transform-name=* | --program-transform-name=* \
370 | --program-transform-nam=* | --program-transform-na=* \
371 | --program-transform-n=* | --program-transform-=* \
372 | --program-transform=* | --program-transfor=* \
373 | --program-transfo=* | --program-transf=* \
374 | --program-trans=* | --program-tran=* \
375 | --progr-tra=* | --program-tr=* | --program-t=*)
376 program_transform_name=$ac_optarg ;;
378 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
379 | -silent | --silent | --silen | --sile | --sil)
382 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
384 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
386 sbindir=$ac_optarg ;;
388 -sharedstatedir | --sharedstatedir | --sharedstatedi \
389 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
390 | --sharedst | --shareds | --shared | --share | --shar \
392 ac_prev=sharedstatedir ;;
393 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
394 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
395 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
397 sharedstatedir=$ac_optarg ;;
399 -site | --site | --sit)
401 -site=* | --site=* | --sit=*)
404 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
406 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
409 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
410 | --syscon | --sysco | --sysc | --sys | --sy)
411 ac_prev=sysconfdir ;;
412 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
413 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
414 sysconfdir=$ac_optarg ;;
416 -target | --target | --targe | --targ | --tar | --ta | --t)
417 ac_prev=target_alias ;;
418 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
419 target_alias=$ac_optarg ;;
421 -v | -verbose | --verbose | --verbos | --verbo | --verb)
424 -version | --version | --versio | --versi | --vers | -V)
428 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
429 # Reject names that are not valid shell variable names.
430 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
431 { echo "$as_me: error: invalid package name: $ac_package" >&2
432 { (exit 1); exit 1; }; }
433 ac_package=`echo $ac_package| sed 's/-/_/g'`
435 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
438 eval "with_$ac_package='$ac_optarg'" ;;
440 -without-* | --without-*)
441 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
442 # Reject names that are not valid shell variable names.
443 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
444 { echo "$as_me: error: invalid package name: $ac_package" >&2
445 { (exit 1); exit 1; }; }
446 ac_package=`echo $ac_package | sed 's/-/_/g'`
447 eval "with_$ac_package=no" ;;
450 # Obsolete; use --with-x.
453 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
454 | --x-incl | --x-inc | --x-in | --x-i)
455 ac_prev=x_includes ;;
456 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
457 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
458 x_includes=$ac_optarg ;;
460 -x-libraries | --x-libraries | --x-librarie | --x-librari \
461 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
462 ac_prev=x_libraries ;;
463 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
464 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
465 x_libraries=$ac_optarg ;;
467 -*) { echo "$as_me: error: unrecognized option: $ac_option
468 Try \`$0 --help' for more information." >&2
469 { (exit 1); exit 1; }; }
473 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
474 # Reject names that are not valid shell variable names.
475 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
476 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
477 { (exit 1); exit 1; }; }
478 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
479 eval "$ac_envvar='$ac_optarg'"
483 # FIXME: should be removed in autoconf 3.0.
484 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
485 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
486 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
487 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
493 if test -n "$ac_prev"; then
494 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
495 { echo "$as_me: error: missing argument to $ac_option" >&2
496 { (exit 1); exit 1; }; }
499 # Be sure to have absolute paths.
500 for ac_var in exec_prefix prefix
502 eval ac_val=$`echo $ac_var`
504 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
505 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
506 { (exit 1); exit 1; }; };;
510 # Be sure to have absolute paths.
511 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
512 localstatedir libdir includedir oldincludedir infodir mandir
514 eval ac_val=$`echo $ac_var`
516 [\\/$]* | ?:[\\/]* ) ;;
517 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
518 { (exit 1); exit 1; }; };;
522 # There might be people who depend on the old broken behavior: `$host'
523 # used to hold the argument of --host etc.
528 # FIXME: should be removed in autoconf 3.0.
529 if test "x$host_alias" != x; then
530 if test "x$build_alias" = x; then
531 cross_compiling=maybe
532 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
533 If a cross compiler is detected then cross compile mode will be used." >&2
534 elif test "x$build_alias" != "x$host_alias"; then
540 test -n "$host_alias" && ac_tool_prefix=$host_alias-
542 test "$silent" = yes && exec 6>/dev/null
544 # Find the source files, if location was not specified.
545 if test -z "$srcdir"; then
546 ac_srcdir_defaulted=yes
547 # Try the directory containing this script, then its parent.
549 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
550 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
552 if test ! -r $srcdir/$ac_unique_file; then
556 ac_srcdir_defaulted=no
558 if test ! -r $srcdir/$ac_unique_file; then
559 if test "$ac_srcdir_defaulted" = yes; then
560 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
561 { (exit 1); exit 1; }; }
563 { echo "$as_me: error: cannot find sources in $srcdir" >&2
564 { (exit 1); exit 1; }; }
567 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
568 ac_env_build_alias_set=${build_alias+set}
569 ac_env_build_alias_value=$build_alias
570 ac_cv_env_build_alias_set=${build_alias+set}
571 ac_cv_env_build_alias_value=$build_alias
572 ac_env_host_alias_set=${host_alias+set}
573 ac_env_host_alias_value=$host_alias
574 ac_cv_env_host_alias_set=${host_alias+set}
575 ac_cv_env_host_alias_value=$host_alias
576 ac_env_target_alias_set=${target_alias+set}
577 ac_env_target_alias_value=$target_alias
578 ac_cv_env_target_alias_set=${target_alias+set}
579 ac_cv_env_target_alias_value=$target_alias
580 ac_env_CC_set=${CC+set}
582 ac_cv_env_CC_set=${CC+set}
583 ac_cv_env_CC_value=$CC
584 ac_env_CFLAGS_set=${CFLAGS+set}
585 ac_env_CFLAGS_value=$CFLAGS
586 ac_cv_env_CFLAGS_set=${CFLAGS+set}
587 ac_cv_env_CFLAGS_value=$CFLAGS
588 ac_env_LDFLAGS_set=${LDFLAGS+set}
589 ac_env_LDFLAGS_value=$LDFLAGS
590 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
591 ac_cv_env_LDFLAGS_value=$LDFLAGS
592 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
593 ac_env_CPPFLAGS_value=$CPPFLAGS
594 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
595 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
596 ac_env_CPP_set=${CPP+set}
597 ac_env_CPP_value=$CPP
598 ac_cv_env_CPP_set=${CPP+set}
599 ac_cv_env_CPP_value=$CPP
602 # Report the --help message.
604 if test "$ac_init_help" = "long"; then
605 # Omit some internal or obsolete options to make the list less imposing.
606 # This message is too long to be a string in the A/UX 3.1 sh.
608 \`configure' configures glabels 1.89.0 to adapt to many kinds of systems.
610 Usage: $0 [OPTION]... [VAR=VALUE]...
612 To assign environment variables (e.g., CC, CFLAGS...), specify them as
613 VAR=VALUE. See below for descriptions of some of the useful variables.
615 Defaults for the options are specified in brackets.
618 -h, --help display this help and exit
619 --help=short display options specific to this package
620 --help=recursive display the short help of all the included packages
621 -V, --version display version information and exit
622 -q, --quiet, --silent do not print \`checking...' messages
623 --cache-file=FILE cache test results in FILE [disabled]
624 -C, --config-cache alias for \`--cache-file=config.cache'
625 -n, --no-create do not create output files
626 --srcdir=DIR find the sources in DIR [configure dir or \`..']
631 Installation directories:
632 --prefix=PREFIX install architecture-independent files in PREFIX
634 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
637 By default, \`make install' will install all the files in
638 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
639 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
640 for instance \`--prefix=\$HOME'.
642 For better control, use the options below.
644 Fine tuning of the installation directories:
645 --bindir=DIR user executables [EPREFIX/bin]
646 --sbindir=DIR system admin executables [EPREFIX/sbin]
647 --libexecdir=DIR program executables [EPREFIX/libexec]
648 --datadir=DIR read-only architecture-independent data [PREFIX/share]
649 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
650 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
651 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
652 --libdir=DIR object code libraries [EPREFIX/lib]
653 --includedir=DIR C header files [PREFIX/include]
654 --oldincludedir=DIR C header files for non-gcc [/usr/include]
655 --infodir=DIR info documentation [PREFIX/info]
656 --mandir=DIR man documentation [PREFIX/man]
662 --program-prefix=PREFIX prepend PREFIX to installed program names
663 --program-suffix=SUFFIX append SUFFIX to installed program names
664 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
668 if test -n "$ac_init_help"; then
669 case $ac_init_help in
670 short | recursive ) echo "Configuration of glabels 1.89.0:";;
675 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
676 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
677 --enable-maintainer-mode enable make rules and dependencies not useful
678 (and sometimes confusing) to the casual installer
679 --enable-platform-gnome-2 enable GNOME 2.x platform default=no
680 --enable-compile-warnings=no/minimum/yes/maximum/error Turn on compiler warnings.
681 --enable-iso-c Try to warn if code is not ISO C
683 Some influential environment variables:
684 CC C compiler command
685 CFLAGS C compiler flags
686 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
687 nonstandard directory <lib dir>
688 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
689 headers in a nonstandard directory <include dir>
692 Use these variables to override the choices made by `configure' or to help
693 it to find libraries and programs with nonstandard names/locations.
695 Report bugs to <http://sourceforge.net/tracker/?func=add&group_id=46122&atid=445116>.
699 if test "$ac_init_help" = "recursive"; then
700 # If there are subdirs, report their specific --help.
702 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
704 # A "../" for each directory in /$ac_subdir.
705 ac_dots=`echo $ac_subdir |
706 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
709 .) # No --srcdir option. We are building in place.
710 ac_sub_srcdir=$srcdir ;;
711 [\\/]* | ?:[\\/]* ) # Absolute path.
712 ac_sub_srcdir=$srcdir/$ac_subdir ;;
714 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
717 # Check for guested configure; otherwise get Cygnus style configure.
718 if test -f $ac_sub_srcdir/configure.gnu; then
720 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
721 elif test -f $ac_sub_srcdir/configure; then
723 $SHELL $ac_sub_srcdir/configure --help=recursive
724 elif test -f $ac_sub_srcdir/configure.ac ||
725 test -f $ac_sub_srcdir/configure.in; then
729 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
735 test -n "$ac_init_help" && exit 0
736 if $ac_init_version; then
738 glabels configure 1.89.0
739 generated by GNU Autoconf 2.52
741 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
742 Free Software Foundation, Inc.
743 This configure script is free software; the Free Software Foundation
744 gives unlimited permission to copy, distribute and modify it.
750 This file contains any messages produced by compilers while
751 running configure, to aid debugging if configure makes a mistake.
753 It was created by glabels $as_me 1.89.0, which was
754 generated by GNU Autoconf 2.52. Invocation command line was
765 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
766 uname -m = `(uname -m) 2>/dev/null || echo unknown`
767 uname -r = `(uname -r) 2>/dev/null || echo unknown`
768 uname -s = `(uname -s) 2>/dev/null || echo unknown`
769 uname -v = `(uname -v) 2>/dev/null || echo unknown`
771 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
772 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
774 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
775 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
776 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
777 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
778 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
779 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
780 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
794 # Keep a trace of the command line.
795 # Strip out --no-create and --no-recursion so they do not pile up.
796 # Also quote any args containing shell meta-characters.
802 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
803 | --no-cr | --no-c) ;;
804 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
805 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
806 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
807 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
808 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
810 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
813 # Get rid of the leading space.
816 # When interrupted or exit'd, cleanup temporary files, and complete
817 # config.log. We remove comments because anyway the quotes in there
818 # would cause problems or look ugly.
820 # Save into config.log some information that might help in debugging.
822 echo "## ----------------- ##" >&5
823 echo "## Cache variables. ##" >&5
824 echo "## ----------------- ##" >&5
826 # The following way of writing the cache mishandles newlines in values,
829 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
832 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
833 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
837 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
841 sed "/^$/d" confdefs.h >conftest.log
842 if test -s conftest.log; then
844 echo "## ------------ ##" >&5
845 echo "## confdefs.h. ##" >&5
846 echo "## ------------ ##" >&5
851 test "$ac_signal" != 0 &&
852 echo "$as_me: caught signal $ac_signal" >&5
853 echo "$as_me: exit $exit_status" >&5
854 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
857 for ac_signal in 1 2 13 15; do
858 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
862 # confdefs.h avoids OS command line length limits that DEFS can exceed.
863 rm -rf conftest* confdefs.h
864 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
867 # Let the site file select an alternate cache file if it wants to.
868 # Prefer explicitly selected file to automatically selected ones.
869 if test -z "$CONFIG_SITE"; then
870 if test "x$prefix" != xNONE; then
871 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
873 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
876 for ac_site_file in $CONFIG_SITE; do
877 if test -r "$ac_site_file"; then
878 { echo "$as_me:878: loading site script $ac_site_file" >&5
879 echo "$as_me: loading site script $ac_site_file" >&6;}
880 cat "$ac_site_file" >&5
885 if test -r "$cache_file"; then
886 # Some versions of bash will fail to source /dev/null (special
887 # files actually), so we avoid doing that.
888 if test -f "$cache_file"; then
889 { echo "$as_me:889: loading cache $cache_file" >&5
890 echo "$as_me: loading cache $cache_file" >&6;}
892 [\\/]* | ?:[\\/]* ) . $cache_file;;
897 { echo "$as_me:897: creating cache $cache_file" >&5
898 echo "$as_me: creating cache $cache_file" >&6;}
902 # Check that the precious variables saved in the cache have kept the same
904 ac_cache_corrupted=false
905 for ac_var in `(set) 2>&1 |
906 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
907 eval ac_old_set=\$ac_cv_env_${ac_var}_set
908 eval ac_new_set=\$ac_env_${ac_var}_set
909 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
910 eval ac_new_val="\$ac_env_${ac_var}_value"
911 case $ac_old_set,$ac_new_set in
913 { echo "$as_me:913: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
914 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
915 ac_cache_corrupted=: ;;
917 { echo "$as_me:917: error: \`$ac_var' was not set in the previous run" >&5
918 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
919 ac_cache_corrupted=: ;;
922 if test "x$ac_old_val" != "x$ac_new_val"; then
923 { echo "$as_me:923: error: \`$ac_var' has changed since the previous run:" >&5
924 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
925 { echo "$as_me:925: former value: $ac_old_val" >&5
926 echo "$as_me: former value: $ac_old_val" >&2;}
927 { echo "$as_me:927: current value: $ac_new_val" >&5
928 echo "$as_me: current value: $ac_new_val" >&2;}
932 # Pass precious variables to config.status. It doesn't matter if
933 # we pass some twice (in addition to the command line arguments).
934 if test "$ac_new_set" = set; then
936 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
937 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
938 ac_configure_args="$ac_configure_args '$ac_arg'"
940 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
945 if $ac_cache_corrupted; then
946 { echo "$as_me:946: error: changes in the environment can compromise the build" >&5
947 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
948 { { echo "$as_me:948: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
949 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
950 { (exit 1); exit 1; }; }
954 ac_cpp='$CPP $CPPFLAGS'
955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
959 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
960 *c*,-n*) ECHO_N= ECHO_C='
962 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
963 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
965 echo "#! $SHELL" >conftest.sh
966 echo "exit 0" >>conftest.sh
968 if { (echo "$as_me:968: PATH=\".;.\"; conftest.sh") >&5
969 (PATH=".;."; conftest.sh) 2>&5
971 echo "$as_me:971: \$? = $ac_status" >&5
972 (exit $ac_status); }; then
973 ac_path_separator=';'
977 PATH_SEPARATOR="$ac_path_separator"
981 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
982 if test -f $ac_dir/install-sh; then
984 ac_install_sh="$ac_aux_dir/install-sh -c"
986 elif test -f $ac_dir/install.sh; then
988 ac_install_sh="$ac_aux_dir/install.sh -c"
990 elif test -f $ac_dir/shtool; then
992 ac_install_sh="$ac_aux_dir/shtool install -c"
996 if test -z "$ac_aux_dir"; then
997 { { echo "$as_me:997: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
998 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
999 { (exit 1); exit 1; }; }
1001 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1002 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1003 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1005 # Find a good install program. We prefer a C program (faster),
1006 # so one script is as good as another. But avoid the broken or
1007 # incompatible versions:
1008 # SysV /etc/install, /usr/sbin/install
1009 # SunOS /usr/etc/install
1010 # IRIX /sbin/install
1012 # AmigaOS /C/install, which installs bootblocks on floppy discs
1013 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1014 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1015 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1016 # ./install, which can be erroneously created by make from ./install.sh.
1017 echo "$as_me:1017: checking for a BSD compatible install" >&5
1018 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1019 if test -z "$INSTALL"; then
1020 if test "${ac_cv_path_install+set}" = set; then
1021 echo $ECHO_N "(cached) $ECHO_C" >&6
1023 ac_save_IFS=$IFS; IFS=$ac_path_separator
1024 for ac_dir in $PATH; do
1026 # Account for people who put trailing slashes in PATH elements.
1028 / | ./ | .// | /cC/* \
1029 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
1032 # OSF1 and SCO ODT 3.0 have their own names for install.
1033 # Don't use installbsd from OSF since it installs stuff as root
1035 for ac_prog in ginstall scoinst install; do
1036 if $as_executable_p "$ac_dir/$ac_prog"; then
1037 if test $ac_prog = install &&
1038 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1039 # AIX install. It has an incompatible calling convention.
1041 elif test $ac_prog = install &&
1042 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1043 # program-specific install script used by HP pwplus--don't use.
1046 ac_cv_path_install="$ac_dir/$ac_prog -c"
1056 if test "${ac_cv_path_install+set}" = set; then
1057 INSTALL=$ac_cv_path_install
1059 # As a last resort, use the slow shell script. We don't cache a
1060 # path for INSTALL within a source directory, because that will
1061 # break other packages using the cache if that directory is
1062 # removed, or if the path is relative.
1063 INSTALL=$ac_install_sh
1066 echo "$as_me:1066: result: $INSTALL" >&5
1067 echo "${ECHO_T}$INSTALL" >&6
1069 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1070 # It thinks the first close brace ends the variable substitution.
1071 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1073 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1075 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1077 echo "$as_me:1077: checking whether build environment is sane" >&5
1078 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1081 echo timestamp > conftestfile
1082 # Do `set' in a subshell so we don't clobber the current shell's
1083 # arguments. Must try -L first in case configure is actually a
1084 # symlink; some systems play weird games with the mod time of symlinks
1085 # (eg FreeBSD returns the mod time of the symlink's containing
1088 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1089 if test "$*" = "X"; then
1091 set X `ls -t $srcdir/configure conftestfile`
1093 if test "$*" != "X $srcdir/configure conftestfile" \
1094 && test "$*" != "X conftestfile $srcdir/configure"; then
1096 # If neither matched, then we have a broken ls. This can happen
1097 # if, for instance, CONFIG_SHELL is bash and it inherits a
1098 # broken ls alias from the environment. This has actually
1099 # happened. Such a system could not be considered "sane".
1100 { { echo "$as_me:1100: error: ls -t appears to fail. Make sure there is not a broken
1101 alias in your environment" >&5
1102 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1103 alias in your environment" >&2;}
1104 { (exit 1); exit 1; }; }
1107 test "$2" = conftestfile
1113 { { echo "$as_me:1113: error: newly created file is older than distributed files!
1114 Check your system clock" >&5
1115 echo "$as_me: error: newly created file is older than distributed files!
1116 Check your system clock" >&2;}
1117 { (exit 1); exit 1; }; }
1120 echo "$as_me:1120: result: yes" >&5
1121 echo "${ECHO_T}yes" >&6
1122 test "$program_prefix" != NONE &&
1123 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1124 # Use a double $ so make ignores it.
1125 test "$program_suffix" != NONE &&
1126 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1127 # Double any \ or $. echo might interpret backslashes.
1128 # By default was `s,x,x', remove it if useless.
1129 cat <<\_ACEOF >conftest.sed
1130 s/[\\$]/&&/g;s/;s,x,x,$//
1132 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1135 echo "$as_me:1135: checking whether ${MAKE-make} sets \${MAKE}" >&5
1136 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1137 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1138 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1139 echo $ECHO_N "(cached) $ECHO_C" >&6
1141 cat >conftest.make <<\EOF
1143 @echo 'ac_maketemp="${MAKE}"'
1145 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1146 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1147 if test -n "$ac_maketemp"; then
1148 eval ac_cv_prog_make_${ac_make}_set=yes
1150 eval ac_cv_prog_make_${ac_make}_set=no
1154 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1155 echo "$as_me:1155: result: yes" >&5
1156 echo "${ECHO_T}yes" >&6
1159 echo "$as_me:1159: result: no" >&5
1160 echo "${ECHO_T}no" >&6
1161 SET_MAKE="MAKE=${MAKE-make}"
1168 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1169 { { echo "$as_me:1169: error: source directory already configured; run \"make distclean\" there first" >&5
1170 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1171 { (exit 1); exit 1; }; }
1174 cat >>confdefs.h <<EOF
1175 #define PACKAGE "$PACKAGE"
1178 cat >>confdefs.h <<EOF
1179 #define VERSION "$VERSION"
1182 missing_dir=`cd $ac_aux_dir && pwd`
1183 echo "$as_me:1183: checking for working aclocal" >&5
1184 echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6
1185 # Run test in a subshell; some versions of sh will print an error if
1186 # an executable is not found, even if stderr is redirected.
1187 # Redirect stdin to placate older versions of autoconf. Sigh.
1188 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1190 echo "$as_me:1190: result: found" >&5
1191 echo "${ECHO_T}found" >&6
1193 ACLOCAL="$missing_dir/missing aclocal"
1194 echo "$as_me:1194: result: missing" >&5
1195 echo "${ECHO_T}missing" >&6
1198 echo "$as_me:1198: checking for working autoconf" >&5
1199 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1200 # Run test in a subshell; some versions of sh will print an error if
1201 # an executable is not found, even if stderr is redirected.
1202 # Redirect stdin to placate older versions of autoconf. Sigh.
1203 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1205 echo "$as_me:1205: result: found" >&5
1206 echo "${ECHO_T}found" >&6
1208 AUTOCONF="$missing_dir/missing autoconf"
1209 echo "$as_me:1209: result: missing" >&5
1210 echo "${ECHO_T}missing" >&6
1213 echo "$as_me:1213: checking for working automake" >&5
1214 echo $ECHO_N "checking for working automake... $ECHO_C" >&6
1215 # Run test in a subshell; some versions of sh will print an error if
1216 # an executable is not found, even if stderr is redirected.
1217 # Redirect stdin to placate older versions of autoconf. Sigh.
1218 if (automake --version) < /dev/null > /dev/null 2>&1; then
1220 echo "$as_me:1220: result: found" >&5
1221 echo "${ECHO_T}found" >&6
1223 AUTOMAKE="$missing_dir/missing automake"
1224 echo "$as_me:1224: result: missing" >&5
1225 echo "${ECHO_T}missing" >&6
1228 echo "$as_me:1228: checking for working autoheader" >&5
1229 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1230 # Run test in a subshell; some versions of sh will print an error if
1231 # an executable is not found, even if stderr is redirected.
1232 # Redirect stdin to placate older versions of autoconf. Sigh.
1233 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1234 AUTOHEADER=autoheader
1235 echo "$as_me:1235: result: found" >&5
1236 echo "${ECHO_T}found" >&6
1238 AUTOHEADER="$missing_dir/missing autoheader"
1239 echo "$as_me:1239: result: missing" >&5
1240 echo "${ECHO_T}missing" >&6
1243 echo "$as_me:1243: checking for working makeinfo" >&5
1244 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1245 # Run test in a subshell; some versions of sh will print an error if
1246 # an executable is not found, even if stderr is redirected.
1247 # Redirect stdin to placate older versions of autoconf. Sigh.
1248 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1250 echo "$as_me:1250: result: found" >&5
1251 echo "${ECHO_T}found" >&6
1253 MAKEINFO="$missing_dir/missing makeinfo"
1254 echo "$as_me:1254: result: missing" >&5
1255 echo "${ECHO_T}missing" >&6
1258 echo "$as_me:1258: checking whether to enable maintainer-specific portions of Makefiles" >&5
1259 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1260 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1261 if test "${enable_maintainer_mode+set}" = set; then
1262 enableval="$enable_maintainer_mode"
1263 USE_MAINTAINER_MODE=$enableval
1265 USE_MAINTAINER_MODE=no
1267 echo "$as_me:1267: result: $USE_MAINTAINER_MODE" >&5
1268 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1270 if test $USE_MAINTAINER_MODE = yes; then
1271 MAINTAINER_MODE_TRUE=
1272 MAINTAINER_MODE_FALSE='#'
1274 MAINTAINER_MODE_TRUE='#'
1275 MAINTAINER_MODE_FALSE=
1277 MAINT=$MAINTAINER_MODE_TRUE
1279 ac_config_headers="$ac_config_headers config.h"
1281 ac_config_commands="$ac_config_commands default-1"
1283 # Extract the first word of "pkg-config", so it can be a program name with args.
1284 set dummy pkg-config; ac_word=$2
1285 echo "$as_me:1285: checking for $ac_word" >&5
1286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1287 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
1288 echo $ECHO_N "(cached) $ECHO_C" >&6
1292 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
1295 ac_save_IFS=$IFS; IFS=$ac_path_separator
1297 for ac_dir in $ac_dummy; do
1299 test -z "$ac_dir" && ac_dir=.
1300 if $as_executable_p "$ac_dir/$ac_word"; then
1301 ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
1302 echo "$as_me:1302: found $ac_dir/$ac_word" >&5
1310 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
1312 if test -n "$PKG_CONFIG"; then
1313 echo "$as_me:1313: result: $PKG_CONFIG" >&5
1314 echo "${ECHO_T}$PKG_CONFIG" >&6
1316 echo "$as_me:1316: result: no" >&5
1317 echo "${ECHO_T}no" >&6
1321 if test -x "$PKG_CONFIG" ; then
1326 echo "$as_me:1326: checking for pkg-config" >&5
1327 echo $ECHO_N "checking for pkg-config... $ECHO_C" >&6
1328 pkgconfig_required_version=0.8.0
1329 if test x$have_pkgconfig = xyes ; then
1330 $PKG_CONFIG --atleast-pkgconfig-version $pkgconfig_required_version
1331 if test $? -ne 0; then
1332 echo "*** Your version of pkg-config is too old. You need version $pkgconfig_required_version or newer."
1333 echo "*** See http://www.freedesktop.org/software/pkgconfig"
1337 if test x$have_pkgconfig = xyes ; then
1338 echo "$as_me:1338: result: yes" >&5
1339 echo "${ECHO_T}yes" >&6
1342 echo "$as_me:1342: result: not found" >&5
1343 echo "${ECHO_T}not found" >&6
1344 if test xfail = xfail; then
1345 { { echo "$as_me:1345: error:
1346 *** You need the latest pkg-config (at least $pkgconfig_required_version).
1347 *** Get the latest version of pkg-config from
1348 *** http://www.freedesktop.org/software/pkgconfig." >&5
1349 echo "$as_me: error:
1350 *** You need the latest pkg-config (at least $pkgconfig_required_version).
1351 *** Get the latest version of pkg-config from
1352 *** http://www.freedesktop.org/software/pkgconfig." >&2;}
1353 { (exit 1); exit 1; }; }
1357 if test xyes = xyes ; then
1358 platform_gnome_2_default=yes
1360 platform_gnome_2_default=no
1362 if test xforce = xforce ; then
1363 platform_gnome_2="$platform_gnome_2_default";
1365 # Check whether --enable-platform-gnome-2 or --disable-platform-gnome-2 was given.
1366 if test "${enable_platform_gnome_2+set}" = set; then
1367 enableval="$enable_platform_gnome_2"
1368 platform_gnome_2="$enableval"
1370 platform_gnome_2="$platform_gnome_2_default"
1374 if test $platform_gnome_2 = yes; then
1375 PLATFORM_GNOME_2_TRUE=
1376 PLATFORM_GNOME_2_FALSE='#'
1378 PLATFORM_GNOME_2_TRUE='#'
1379 PLATFORM_GNOME_2_FALSE=
1382 echo "$as_me:1382: checking for GNOME Platform" >&5
1383 echo $ECHO_N "checking for GNOME Platform... $ECHO_C" >&6
1384 if test $platform_gnome_2 = yes; then
1385 echo "$as_me:1385: result: GNOME 2.x" >&5
1386 echo "${ECHO_T}GNOME 2.x" >&6
1387 GNOME_INTERFACE_VERSION=2
1389 # Extract the first word of "pkg-config", so it can be a program name with args.
1390 set dummy pkg-config; ac_word=$2
1391 echo "$as_me:1391: checking for $ac_word" >&5
1392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1393 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
1394 echo $ECHO_N "(cached) $ECHO_C" >&6
1398 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
1401 ac_save_IFS=$IFS; IFS=$ac_path_separator
1403 for ac_dir in $ac_dummy; do
1405 test -z "$ac_dir" && ac_dir=.
1406 if $as_executable_p "$ac_dir/$ac_word"; then
1407 ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
1408 echo "$as_me:1408: found $ac_dir/$ac_word" >&5
1416 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
1418 if test -n "$PKG_CONFIG"; then
1419 echo "$as_me:1419: result: $PKG_CONFIG" >&5
1420 echo "${ECHO_T}$PKG_CONFIG" >&6
1422 echo "$as_me:1422: result: no" >&5
1423 echo "${ECHO_T}no" >&6
1427 if test -x "$PKG_CONFIG" ; then
1432 echo "$as_me:1432: checking for pkg-config" >&5
1433 echo $ECHO_N "checking for pkg-config... $ECHO_C" >&6
1434 pkgconfig_required_version=0.8.0
1435 if test x$have_pkgconfig = xyes ; then
1436 $PKG_CONFIG --atleast-pkgconfig-version $pkgconfig_required_version
1437 if test $? -ne 0; then
1438 echo "*** Your version of pkg-config is too old. You need version $pkgconfig_required_version or newer."
1439 echo "*** See http://www.freedesktop.org/software/pkgconfig"
1443 if test x$have_pkgconfig = xyes ; then
1444 echo "$as_me:1444: result: yes" >&5
1445 echo "${ECHO_T}yes" >&6
1448 echo "$as_me:1448: result: not found" >&5
1449 echo "${ECHO_T}not found" >&6
1450 if test xfail = xfail; then
1451 { { echo "$as_me:1451: error:
1452 *** You need the latest pkg-config (at least $pkgconfig_required_version).
1453 *** Get the latest version of pkg-config from
1454 *** http://www.freedesktop.org/software/pkgconfig." >&5
1455 echo "$as_me: error:
1456 *** You need the latest pkg-config (at least $pkgconfig_required_version).
1457 *** Get the latest version of pkg-config from
1458 *** http://www.freedesktop.org/software/pkgconfig." >&2;}
1459 { (exit 1); exit 1; }; }
1464 echo "$as_me:1464: result: GNOME 1.x" >&5
1465 echo "${ECHO_T}GNOME 1.x" >&6
1466 GNOME_INTERFACE_VERSION=1
1470 ac_cpp='$CPP $CPPFLAGS'
1471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1474 if test -n "$ac_tool_prefix"; then
1475 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1476 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1477 echo "$as_me:1477: checking for $ac_word" >&5
1478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1479 if test "${ac_cv_prog_CC+set}" = set; then
1480 echo $ECHO_N "(cached) $ECHO_C" >&6
1482 if test -n "$CC"; then
1483 ac_cv_prog_CC="$CC" # Let the user override the test.
1485 ac_save_IFS=$IFS; IFS=$ac_path_separator
1487 for ac_dir in $ac_dummy; do
1489 test -z "$ac_dir" && ac_dir=.
1490 $as_executable_p "$ac_dir/$ac_word" || continue
1491 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1492 echo "$as_me:1492: found $ac_dir/$ac_word" >&5
1499 if test -n "$CC"; then
1500 echo "$as_me:1500: result: $CC" >&5
1501 echo "${ECHO_T}$CC" >&6
1503 echo "$as_me:1503: result: no" >&5
1504 echo "${ECHO_T}no" >&6
1508 if test -z "$ac_cv_prog_CC"; then
1510 # Extract the first word of "gcc", so it can be a program name with args.
1511 set dummy gcc; ac_word=$2
1512 echo "$as_me:1512: checking for $ac_word" >&5
1513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1514 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1515 echo $ECHO_N "(cached) $ECHO_C" >&6
1517 if test -n "$ac_ct_CC"; then
1518 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1520 ac_save_IFS=$IFS; IFS=$ac_path_separator
1522 for ac_dir in $ac_dummy; do
1524 test -z "$ac_dir" && ac_dir=.
1525 $as_executable_p "$ac_dir/$ac_word" || continue
1526 ac_cv_prog_ac_ct_CC="gcc"
1527 echo "$as_me:1527: found $ac_dir/$ac_word" >&5
1533 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1534 if test -n "$ac_ct_CC"; then
1535 echo "$as_me:1535: result: $ac_ct_CC" >&5
1536 echo "${ECHO_T}$ac_ct_CC" >&6
1538 echo "$as_me:1538: result: no" >&5
1539 echo "${ECHO_T}no" >&6
1547 if test -z "$CC"; then
1548 if test -n "$ac_tool_prefix"; then
1549 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1550 set dummy ${ac_tool_prefix}cc; ac_word=$2
1551 echo "$as_me:1551: checking for $ac_word" >&5
1552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1553 if test "${ac_cv_prog_CC+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1556 if test -n "$CC"; then
1557 ac_cv_prog_CC="$CC" # Let the user override the test.
1559 ac_save_IFS=$IFS; IFS=$ac_path_separator
1561 for ac_dir in $ac_dummy; do
1563 test -z "$ac_dir" && ac_dir=.
1564 $as_executable_p "$ac_dir/$ac_word" || continue
1565 ac_cv_prog_CC="${ac_tool_prefix}cc"
1566 echo "$as_me:1566: found $ac_dir/$ac_word" >&5
1573 if test -n "$CC"; then
1574 echo "$as_me:1574: result: $CC" >&5
1575 echo "${ECHO_T}$CC" >&6
1577 echo "$as_me:1577: result: no" >&5
1578 echo "${ECHO_T}no" >&6
1582 if test -z "$ac_cv_prog_CC"; then
1584 # Extract the first word of "cc", so it can be a program name with args.
1585 set dummy cc; ac_word=$2
1586 echo "$as_me:1586: checking for $ac_word" >&5
1587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1588 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1589 echo $ECHO_N "(cached) $ECHO_C" >&6
1591 if test -n "$ac_ct_CC"; then
1592 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1594 ac_save_IFS=$IFS; IFS=$ac_path_separator
1596 for ac_dir in $ac_dummy; do
1598 test -z "$ac_dir" && ac_dir=.
1599 $as_executable_p "$ac_dir/$ac_word" || continue
1600 ac_cv_prog_ac_ct_CC="cc"
1601 echo "$as_me:1601: found $ac_dir/$ac_word" >&5
1607 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1608 if test -n "$ac_ct_CC"; then
1609 echo "$as_me:1609: result: $ac_ct_CC" >&5
1610 echo "${ECHO_T}$ac_ct_CC" >&6
1612 echo "$as_me:1612: result: no" >&5
1613 echo "${ECHO_T}no" >&6
1622 if test -z "$CC"; then
1623 # Extract the first word of "cc", so it can be a program name with args.
1624 set dummy cc; ac_word=$2
1625 echo "$as_me:1625: checking for $ac_word" >&5
1626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1627 if test "${ac_cv_prog_CC+set}" = set; then
1628 echo $ECHO_N "(cached) $ECHO_C" >&6
1630 if test -n "$CC"; then
1631 ac_cv_prog_CC="$CC" # Let the user override the test.
1634 ac_save_IFS=$IFS; IFS=$ac_path_separator
1636 for ac_dir in $ac_dummy; do
1638 test -z "$ac_dir" && ac_dir=.
1639 $as_executable_p "$ac_dir/$ac_word" || continue
1640 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1641 ac_prog_rejected=yes
1645 echo "$as_me:1645: found $ac_dir/$ac_word" >&5
1649 if test $ac_prog_rejected = yes; then
1650 # We found a bogon in the path, so make sure we never use it.
1651 set dummy $ac_cv_prog_CC
1653 if test $# != 0; then
1654 # We chose a different compiler from the bogus one.
1655 # However, it has the same basename, so the bogon will be chosen
1656 # first if we set CC to just the basename; use the full file name.
1658 set dummy "$ac_dir/$ac_word" ${1+"$@"}
1666 if test -n "$CC"; then
1667 echo "$as_me:1667: result: $CC" >&5
1668 echo "${ECHO_T}$CC" >&6
1670 echo "$as_me:1670: result: no" >&5
1671 echo "${ECHO_T}no" >&6
1675 if test -z "$CC"; then
1676 if test -n "$ac_tool_prefix"; then
1679 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1680 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1681 echo "$as_me:1681: checking for $ac_word" >&5
1682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1683 if test "${ac_cv_prog_CC+set}" = set; then
1684 echo $ECHO_N "(cached) $ECHO_C" >&6
1686 if test -n "$CC"; then
1687 ac_cv_prog_CC="$CC" # Let the user override the test.
1689 ac_save_IFS=$IFS; IFS=$ac_path_separator
1691 for ac_dir in $ac_dummy; do
1693 test -z "$ac_dir" && ac_dir=.
1694 $as_executable_p "$ac_dir/$ac_word" || continue
1695 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1696 echo "$as_me:1696: found $ac_dir/$ac_word" >&5
1703 if test -n "$CC"; then
1704 echo "$as_me:1704: result: $CC" >&5
1705 echo "${ECHO_T}$CC" >&6
1707 echo "$as_me:1707: result: no" >&5
1708 echo "${ECHO_T}no" >&6
1711 test -n "$CC" && break
1714 if test -z "$CC"; then
1718 # Extract the first word of "$ac_prog", so it can be a program name with args.
1719 set dummy $ac_prog; ac_word=$2
1720 echo "$as_me:1720: checking for $ac_word" >&5
1721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1722 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1723 echo $ECHO_N "(cached) $ECHO_C" >&6
1725 if test -n "$ac_ct_CC"; then
1726 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1728 ac_save_IFS=$IFS; IFS=$ac_path_separator
1730 for ac_dir in $ac_dummy; do
1732 test -z "$ac_dir" && ac_dir=.
1733 $as_executable_p "$ac_dir/$ac_word" || continue
1734 ac_cv_prog_ac_ct_CC="$ac_prog"
1735 echo "$as_me:1735: found $ac_dir/$ac_word" >&5
1741 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1742 if test -n "$ac_ct_CC"; then
1743 echo "$as_me:1743: result: $ac_ct_CC" >&5
1744 echo "${ECHO_T}$ac_ct_CC" >&6
1746 echo "$as_me:1746: result: no" >&5
1747 echo "${ECHO_T}no" >&6
1750 test -n "$ac_ct_CC" && break
1758 test -z "$CC" && { { echo "$as_me:1758: error: no acceptable cc found in \$PATH" >&5
1759 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1760 { (exit 1); exit 1; }; }
1762 # Provide some information about the compiler.
1763 echo "$as_me:1763:" \
1764 "checking for C compiler version" >&5
1765 ac_compiler=`set X $ac_compile; echo $2`
1766 { (eval echo "$as_me:1766: \"$ac_compiler --version </dev/null >&5\"") >&5
1767 (eval $ac_compiler --version </dev/null >&5) 2>&5
1769 echo "$as_me:1769: \$? = $ac_status" >&5
1770 (exit $ac_status); }
1771 { (eval echo "$as_me:1771: \"$ac_compiler -v </dev/null >&5\"") >&5
1772 (eval $ac_compiler -v </dev/null >&5) 2>&5
1774 echo "$as_me:1774: \$? = $ac_status" >&5
1775 (exit $ac_status); }
1776 { (eval echo "$as_me:1776: \"$ac_compiler -V </dev/null >&5\"") >&5
1777 (eval $ac_compiler -V </dev/null >&5) 2>&5
1779 echo "$as_me:1779: \$? = $ac_status" >&5
1780 (exit $ac_status); }
1782 cat >conftest.$ac_ext <<_ACEOF
1783 #line 1783 "configure"
1784 #include "confdefs.h"
1794 ac_clean_files_save=$ac_clean_files
1795 ac_clean_files="$ac_clean_files a.out a.exe"
1796 # Try to create an executable without -o first, disregard a.out.
1797 # It will help us diagnose broken compilers, and finding out an intuition
1799 echo "$as_me:1799: checking for C compiler default output" >&5
1800 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1801 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1802 if { (eval echo "$as_me:1802: \"$ac_link_default\"") >&5
1803 (eval $ac_link_default) 2>&5
1805 echo "$as_me:1805: \$? = $ac_status" >&5
1806 (exit $ac_status); }; then
1807 # Find the output, starting from the most likely. This scheme is
1808 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1810 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1811 ls a.out conftest 2>/dev/null;
1812 ls a.* conftest.* 2>/dev/null`; do
1814 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1815 a.out ) # We found the default executable, but exeext='' is most
1818 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1819 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1826 echo "$as_me: failed program was:" >&5
1827 cat conftest.$ac_ext >&5
1828 { { echo "$as_me:1828: error: C compiler cannot create executables" >&5
1829 echo "$as_me: error: C compiler cannot create executables" >&2;}
1830 { (exit 77); exit 77; }; }
1833 ac_exeext=$ac_cv_exeext
1834 echo "$as_me:1834: result: $ac_file" >&5
1835 echo "${ECHO_T}$ac_file" >&6
1837 # Check the compiler produces executables we can run. If not, either
1838 # the compiler is broken, or we cross compile.
1839 echo "$as_me:1839: checking whether the C compiler works" >&5
1840 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1841 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1842 # If not cross compiling, check that we can run a simple program.
1843 if test "$cross_compiling" != yes; then
1844 if { ac_try='./$ac_file'
1845 { (eval echo "$as_me:1845: \"$ac_try\"") >&5
1848 echo "$as_me:1848: \$? = $ac_status" >&5
1849 (exit $ac_status); }; }; then
1852 if test "$cross_compiling" = maybe; then
1855 { { echo "$as_me:1855: error: cannot run C compiled programs.
1856 If you meant to cross compile, use \`--host'." >&5
1857 echo "$as_me: error: cannot run C compiled programs.
1858 If you meant to cross compile, use \`--host'." >&2;}
1859 { (exit 1); exit 1; }; }
1863 echo "$as_me:1863: result: yes" >&5
1864 echo "${ECHO_T}yes" >&6
1866 rm -f a.out a.exe conftest$ac_cv_exeext
1867 ac_clean_files=$ac_clean_files_save
1868 # Check the compiler produces executables we can run. If not, either
1869 # the compiler is broken, or we cross compile.
1870 echo "$as_me:1870: checking whether we are cross compiling" >&5
1871 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1872 echo "$as_me:1872: result: $cross_compiling" >&5
1873 echo "${ECHO_T}$cross_compiling" >&6
1875 echo "$as_me:1875: checking for executable suffix" >&5
1876 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1877 if { (eval echo "$as_me:1877: \"$ac_link\"") >&5
1878 (eval $ac_link) 2>&5
1880 echo "$as_me:1880: \$? = $ac_status" >&5
1881 (exit $ac_status); }; then
1882 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1883 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1884 # work properly (i.e., refer to `conftest.exe'), while it won't with
1886 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1888 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1889 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1896 { { echo "$as_me:1896: error: cannot compute EXEEXT: cannot compile and link" >&5
1897 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1898 { (exit 1); exit 1; }; }
1901 rm -f conftest$ac_cv_exeext
1902 echo "$as_me:1902: result: $ac_cv_exeext" >&5
1903 echo "${ECHO_T}$ac_cv_exeext" >&6
1905 rm -f conftest.$ac_ext
1906 EXEEXT=$ac_cv_exeext
1908 echo "$as_me:1908: checking for object suffix" >&5
1909 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1910 if test "${ac_cv_objext+set}" = set; then
1911 echo $ECHO_N "(cached) $ECHO_C" >&6
1913 cat >conftest.$ac_ext <<_ACEOF
1914 #line 1914 "configure"
1915 #include "confdefs.h"
1925 rm -f conftest.o conftest.obj
1926 if { (eval echo "$as_me:1926: \"$ac_compile\"") >&5
1927 (eval $ac_compile) 2>&5
1929 echo "$as_me:1929: \$? = $ac_status" >&5
1930 (exit $ac_status); }; then
1931 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1933 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1934 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1939 echo "$as_me: failed program was:" >&5
1940 cat conftest.$ac_ext >&5
1941 { { echo "$as_me:1941: error: cannot compute OBJEXT: cannot compile" >&5
1942 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1943 { (exit 1); exit 1; }; }
1946 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1948 echo "$as_me:1948: result: $ac_cv_objext" >&5
1949 echo "${ECHO_T}$ac_cv_objext" >&6
1950 OBJEXT=$ac_cv_objext
1952 echo "$as_me:1952: checking whether we are using the GNU C compiler" >&5
1953 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1954 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1955 echo $ECHO_N "(cached) $ECHO_C" >&6
1957 cat >conftest.$ac_ext <<_ACEOF
1958 #line 1958 "configure"
1959 #include "confdefs.h"
1972 rm -f conftest.$ac_objext
1973 if { (eval echo "$as_me:1973: \"$ac_compile\"") >&5
1974 (eval $ac_compile) 2>&5
1976 echo "$as_me:1976: \$? = $ac_status" >&5
1977 (exit $ac_status); } &&
1978 { ac_try='test -s conftest.$ac_objext'
1979 { (eval echo "$as_me:1979: \"$ac_try\"") >&5
1982 echo "$as_me:1982: \$? = $ac_status" >&5
1983 (exit $ac_status); }; }; then
1986 echo "$as_me: failed program was:" >&5
1987 cat conftest.$ac_ext >&5
1990 rm -f conftest.$ac_objext conftest.$ac_ext
1991 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1994 echo "$as_me:1994: result: $ac_cv_c_compiler_gnu" >&5
1995 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1996 GCC=`test $ac_compiler_gnu = yes && echo yes`
1997 ac_test_CFLAGS=${CFLAGS+set}
1998 ac_save_CFLAGS=$CFLAGS
2000 echo "$as_me:2000: checking whether $CC accepts -g" >&5
2001 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2002 if test "${ac_cv_prog_cc_g+set}" = set; then
2003 echo $ECHO_N "(cached) $ECHO_C" >&6
2005 cat >conftest.$ac_ext <<_ACEOF
2006 #line 2006 "configure"
2007 #include "confdefs.h"
2017 rm -f conftest.$ac_objext
2018 if { (eval echo "$as_me:2018: \"$ac_compile\"") >&5
2019 (eval $ac_compile) 2>&5
2021 echo "$as_me:2021: \$? = $ac_status" >&5
2022 (exit $ac_status); } &&
2023 { ac_try='test -s conftest.$ac_objext'
2024 { (eval echo "$as_me:2024: \"$ac_try\"") >&5
2027 echo "$as_me:2027: \$? = $ac_status" >&5
2028 (exit $ac_status); }; }; then
2031 echo "$as_me: failed program was:" >&5
2032 cat conftest.$ac_ext >&5
2035 rm -f conftest.$ac_objext conftest.$ac_ext
2037 echo "$as_me:2037: result: $ac_cv_prog_cc_g" >&5
2038 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2039 if test "$ac_test_CFLAGS" = set; then
2040 CFLAGS=$ac_save_CFLAGS
2041 elif test $ac_cv_prog_cc_g = yes; then
2042 if test "$GCC" = yes; then
2048 if test "$GCC" = yes; then
2054 # Some people use a C++ compiler to compile C. Since we use `exit',
2055 # in C++ we need to declare it. In case someone uses the same compiler
2056 # for both compiling C and C++ we need to have the C++ compiler decide
2057 # the declaration of exit, since it's the most demanding environment.
2058 cat >conftest.$ac_ext <<_ACEOF
2063 rm -f conftest.$ac_objext
2064 if { (eval echo "$as_me:2064: \"$ac_compile\"") >&5
2065 (eval $ac_compile) 2>&5
2067 echo "$as_me:2067: \$? = $ac_status" >&5
2068 (exit $ac_status); } &&
2069 { ac_try='test -s conftest.$ac_objext'
2070 { (eval echo "$as_me:2070: \"$ac_try\"") >&5
2073 echo "$as_me:2073: \$? = $ac_status" >&5
2074 (exit $ac_status); }; }; then
2075 for ac_declaration in \
2077 '#include <stdlib.h>' \
2078 'extern "C" void std::exit (int) throw (); using std::exit;' \
2079 'extern "C" void std::exit (int); using std::exit;' \
2080 'extern "C" void exit (int) throw ();' \
2081 'extern "C" void exit (int);' \
2084 cat >conftest.$ac_ext <<_ACEOF
2085 #line 2085 "configure"
2086 #include "confdefs.h"
2097 rm -f conftest.$ac_objext
2098 if { (eval echo "$as_me:2098: \"$ac_compile\"") >&5
2099 (eval $ac_compile) 2>&5
2101 echo "$as_me:2101: \$? = $ac_status" >&5
2102 (exit $ac_status); } &&
2103 { ac_try='test -s conftest.$ac_objext'
2104 { (eval echo "$as_me:2104: \"$ac_try\"") >&5
2107 echo "$as_me:2107: \$? = $ac_status" >&5
2108 (exit $ac_status); }; }; then
2111 echo "$as_me: failed program was:" >&5
2112 cat conftest.$ac_ext >&5
2115 rm -f conftest.$ac_objext conftest.$ac_ext
2116 cat >conftest.$ac_ext <<_ACEOF
2117 #line 2117 "configure"
2118 #include "confdefs.h"
2128 rm -f conftest.$ac_objext
2129 if { (eval echo "$as_me:2129: \"$ac_compile\"") >&5
2130 (eval $ac_compile) 2>&5
2132 echo "$as_me:2132: \$? = $ac_status" >&5
2133 (exit $ac_status); } &&
2134 { ac_try='test -s conftest.$ac_objext'
2135 { (eval echo "$as_me:2135: \"$ac_try\"") >&5
2138 echo "$as_me:2138: \$? = $ac_status" >&5
2139 (exit $ac_status); }; }; then
2142 echo "$as_me: failed program was:" >&5
2143 cat conftest.$ac_ext >&5
2145 rm -f conftest.$ac_objext conftest.$ac_ext
2148 if test -n "$ac_declaration"; then
2149 echo '#ifdef __cplusplus' >>confdefs.h
2150 echo $ac_declaration >>confdefs.h
2151 echo '#endif' >>confdefs.h
2155 echo "$as_me: failed program was:" >&5
2156 cat conftest.$ac_ext >&5
2158 rm -f conftest.$ac_objext conftest.$ac_ext
2160 ac_cpp='$CPP $CPPFLAGS'
2161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2165 echo "$as_me:2165: checking for strerror in -lcposix" >&5
2166 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2167 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2168 echo $ECHO_N "(cached) $ECHO_C" >&6
2170 ac_check_lib_save_LIBS=$LIBS
2171 LIBS="-lcposix $LIBS"
2172 cat >conftest.$ac_ext <<_ACEOF
2173 #line 2173 "configure"
2174 #include "confdefs.h"
2176 /* Override any gcc2 internal prototype to avoid an error. */
2180 /* We use char because int might match the return type of a gcc2
2181 builtin and then its argument prototype would still apply. */
2191 rm -f conftest.$ac_objext conftest$ac_exeext
2192 if { (eval echo "$as_me:2192: \"$ac_link\"") >&5
2193 (eval $ac_link) 2>&5
2195 echo "$as_me:2195: \$? = $ac_status" >&5
2196 (exit $ac_status); } &&
2197 { ac_try='test -s conftest$ac_exeext'
2198 { (eval echo "$as_me:2198: \"$ac_try\"") >&5
2201 echo "$as_me:2201: \$? = $ac_status" >&5
2202 (exit $ac_status); }; }; then
2203 ac_cv_lib_cposix_strerror=yes
2205 echo "$as_me: failed program was:" >&5
2206 cat conftest.$ac_ext >&5
2207 ac_cv_lib_cposix_strerror=no
2209 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2210 LIBS=$ac_check_lib_save_LIBS
2212 echo "$as_me:2212: result: $ac_cv_lib_cposix_strerror" >&5
2213 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2214 if test $ac_cv_lib_cposix_strerror = yes; then
2215 LIBS="$LIBS -lcposix"
2219 ac_cpp='$CPP $CPPFLAGS'
2220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2223 if test -n "$ac_tool_prefix"; then
2224 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2225 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2226 echo "$as_me:2226: checking for $ac_word" >&5
2227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2228 if test "${ac_cv_prog_CC+set}" = set; then
2229 echo $ECHO_N "(cached) $ECHO_C" >&6
2231 if test -n "$CC"; then
2232 ac_cv_prog_CC="$CC" # Let the user override the test.
2234 ac_save_IFS=$IFS; IFS=$ac_path_separator
2236 for ac_dir in $ac_dummy; do
2238 test -z "$ac_dir" && ac_dir=.
2239 $as_executable_p "$ac_dir/$ac_word" || continue
2240 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2241 echo "$as_me:2241: found $ac_dir/$ac_word" >&5
2248 if test -n "$CC"; then
2249 echo "$as_me:2249: result: $CC" >&5
2250 echo "${ECHO_T}$CC" >&6
2252 echo "$as_me:2252: result: no" >&5
2253 echo "${ECHO_T}no" >&6
2257 if test -z "$ac_cv_prog_CC"; then
2259 # Extract the first word of "gcc", so it can be a program name with args.
2260 set dummy gcc; ac_word=$2
2261 echo "$as_me:2261: checking for $ac_word" >&5
2262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2263 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2264 echo $ECHO_N "(cached) $ECHO_C" >&6
2266 if test -n "$ac_ct_CC"; then
2267 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2269 ac_save_IFS=$IFS; IFS=$ac_path_separator
2271 for ac_dir in $ac_dummy; do
2273 test -z "$ac_dir" && ac_dir=.
2274 $as_executable_p "$ac_dir/$ac_word" || continue
2275 ac_cv_prog_ac_ct_CC="gcc"
2276 echo "$as_me:2276: found $ac_dir/$ac_word" >&5
2282 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2283 if test -n "$ac_ct_CC"; then
2284 echo "$as_me:2284: result: $ac_ct_CC" >&5
2285 echo "${ECHO_T}$ac_ct_CC" >&6
2287 echo "$as_me:2287: result: no" >&5
2288 echo "${ECHO_T}no" >&6
2296 if test -z "$CC"; then
2297 if test -n "$ac_tool_prefix"; then
2298 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2299 set dummy ${ac_tool_prefix}cc; ac_word=$2
2300 echo "$as_me:2300: checking for $ac_word" >&5
2301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2302 if test "${ac_cv_prog_CC+set}" = set; then
2303 echo $ECHO_N "(cached) $ECHO_C" >&6
2305 if test -n "$CC"; then
2306 ac_cv_prog_CC="$CC" # Let the user override the test.
2308 ac_save_IFS=$IFS; IFS=$ac_path_separator
2310 for ac_dir in $ac_dummy; do
2312 test -z "$ac_dir" && ac_dir=.
2313 $as_executable_p "$ac_dir/$ac_word" || continue
2314 ac_cv_prog_CC="${ac_tool_prefix}cc"
2315 echo "$as_me:2315: found $ac_dir/$ac_word" >&5
2322 if test -n "$CC"; then
2323 echo "$as_me:2323: result: $CC" >&5
2324 echo "${ECHO_T}$CC" >&6
2326 echo "$as_me:2326: result: no" >&5
2327 echo "${ECHO_T}no" >&6
2331 if test -z "$ac_cv_prog_CC"; then
2333 # Extract the first word of "cc", so it can be a program name with args.
2334 set dummy cc; ac_word=$2
2335 echo "$as_me:2335: checking for $ac_word" >&5
2336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2337 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2338 echo $ECHO_N "(cached) $ECHO_C" >&6
2340 if test -n "$ac_ct_CC"; then
2341 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2343 ac_save_IFS=$IFS; IFS=$ac_path_separator
2345 for ac_dir in $ac_dummy; do
2347 test -z "$ac_dir" && ac_dir=.
2348 $as_executable_p "$ac_dir/$ac_word" || continue
2349 ac_cv_prog_ac_ct_CC="cc"
2350 echo "$as_me:2350: found $ac_dir/$ac_word" >&5
2356 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2357 if test -n "$ac_ct_CC"; then
2358 echo "$as_me:2358: result: $ac_ct_CC" >&5
2359 echo "${ECHO_T}$ac_ct_CC" >&6
2361 echo "$as_me:2361: result: no" >&5
2362 echo "${ECHO_T}no" >&6
2371 if test -z "$CC"; then
2372 # Extract the first word of "cc", so it can be a program name with args.
2373 set dummy cc; ac_word=$2
2374 echo "$as_me:2374: checking for $ac_word" >&5
2375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2376 if test "${ac_cv_prog_CC+set}" = set; then
2377 echo $ECHO_N "(cached) $ECHO_C" >&6
2379 if test -n "$CC"; then
2380 ac_cv_prog_CC="$CC" # Let the user override the test.
2383 ac_save_IFS=$IFS; IFS=$ac_path_separator
2385 for ac_dir in $ac_dummy; do
2387 test -z "$ac_dir" && ac_dir=.
2388 $as_executable_p "$ac_dir/$ac_word" || continue
2389 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
2390 ac_prog_rejected=yes
2394 echo "$as_me:2394: found $ac_dir/$ac_word" >&5
2398 if test $ac_prog_rejected = yes; then
2399 # We found a bogon in the path, so make sure we never use it.
2400 set dummy $ac_cv_prog_CC
2402 if test $# != 0; then
2403 # We chose a different compiler from the bogus one.
2404 # However, it has the same basename, so the bogon will be chosen
2405 # first if we set CC to just the basename; use the full file name.
2407 set dummy "$ac_dir/$ac_word" ${1+"$@"}
2415 if test -n "$CC"; then
2416 echo "$as_me:2416: result: $CC" >&5
2417 echo "${ECHO_T}$CC" >&6
2419 echo "$as_me:2419: result: no" >&5
2420 echo "${ECHO_T}no" >&6
2424 if test -z "$CC"; then
2425 if test -n "$ac_tool_prefix"; then
2428 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2429 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2430 echo "$as_me:2430: checking for $ac_word" >&5
2431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2432 if test "${ac_cv_prog_CC+set}" = set; then
2433 echo $ECHO_N "(cached) $ECHO_C" >&6
2435 if test -n "$CC"; then
2436 ac_cv_prog_CC="$CC" # Let the user override the test.
2438 ac_save_IFS=$IFS; IFS=$ac_path_separator
2440 for ac_dir in $ac_dummy; do
2442 test -z "$ac_dir" && ac_dir=.
2443 $as_executable_p "$ac_dir/$ac_word" || continue
2444 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2445 echo "$as_me:2445: found $ac_dir/$ac_word" >&5
2452 if test -n "$CC"; then
2453 echo "$as_me:2453: result: $CC" >&5
2454 echo "${ECHO_T}$CC" >&6
2456 echo "$as_me:2456: result: no" >&5
2457 echo "${ECHO_T}no" >&6
2460 test -n "$CC" && break
2463 if test -z "$CC"; then
2467 # Extract the first word of "$ac_prog", so it can be a program name with args.
2468 set dummy $ac_prog; ac_word=$2
2469 echo "$as_me:2469: checking for $ac_word" >&5
2470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2471 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2472 echo $ECHO_N "(cached) $ECHO_C" >&6
2474 if test -n "$ac_ct_CC"; then
2475 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2477 ac_save_IFS=$IFS; IFS=$ac_path_separator
2479 for ac_dir in $ac_dummy; do
2481 test -z "$ac_dir" && ac_dir=.
2482 $as_executable_p "$ac_dir/$ac_word" || continue
2483 ac_cv_prog_ac_ct_CC="$ac_prog"
2484 echo "$as_me:2484: found $ac_dir/$ac_word" >&5
2490 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2491 if test -n "$ac_ct_CC"; then
2492 echo "$as_me:2492: result: $ac_ct_CC" >&5
2493 echo "${ECHO_T}$ac_ct_CC" >&6
2495 echo "$as_me:2495: result: no" >&5
2496 echo "${ECHO_T}no" >&6
2499 test -n "$ac_ct_CC" && break
2507 test -z "$CC" && { { echo "$as_me:2507: error: no acceptable cc found in \$PATH" >&5
2508 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2509 { (exit 1); exit 1; }; }
2511 # Provide some information about the compiler.
2512 echo "$as_me:2512:" \
2513 "checking for C compiler version" >&5
2514 ac_compiler=`set X $ac_compile; echo $2`
2515 { (eval echo "$as_me:2515: \"$ac_compiler --version </dev/null >&5\"") >&5
2516 (eval $ac_compiler --version </dev/null >&5) 2>&5
2518 echo "$as_me:2518: \$? = $ac_status" >&5
2519 (exit $ac_status); }
2520 { (eval echo "$as_me:2520: \"$ac_compiler -v </dev/null >&5\"") >&5
2521 (eval $ac_compiler -v </dev/null >&5) 2>&5
2523 echo "$as_me:2523: \$? = $ac_status" >&5
2524 (exit $ac_status); }
2525 { (eval echo "$as_me:2525: \"$ac_compiler -V </dev/null >&5\"") >&5
2526 (eval $ac_compiler -V </dev/null >&5) 2>&5
2528 echo "$as_me:2528: \$? = $ac_status" >&5
2529 (exit $ac_status); }
2531 echo "$as_me:2531: checking whether we are using the GNU C compiler" >&5
2532 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2533 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2534 echo $ECHO_N "(cached) $ECHO_C" >&6
2536 cat >conftest.$ac_ext <<_ACEOF
2537 #line 2537 "configure"
2538 #include "confdefs.h"
2551 rm -f conftest.$ac_objext
2552 if { (eval echo "$as_me:2552: \"$ac_compile\"") >&5
2553 (eval $ac_compile) 2>&5
2555 echo "$as_me:2555: \$? = $ac_status" >&5
2556 (exit $ac_status); } &&
2557 { ac_try='test -s conftest.$ac_objext'
2558 { (eval echo "$as_me:2558: \"$ac_try\"") >&5
2561 echo "$as_me:2561: \$? = $ac_status" >&5
2562 (exit $ac_status); }; }; then
2565 echo "$as_me: failed program was:" >&5
2566 cat conftest.$ac_ext >&5
2569 rm -f conftest.$ac_objext conftest.$ac_ext
2570 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2573 echo "$as_me:2573: result: $ac_cv_c_compiler_gnu" >&5
2574 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2575 GCC=`test $ac_compiler_gnu = yes && echo yes`
2576 ac_test_CFLAGS=${CFLAGS+set}
2577 ac_save_CFLAGS=$CFLAGS
2579 echo "$as_me:2579: checking whether $CC accepts -g" >&5
2580 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2581 if test "${ac_cv_prog_cc_g+set}" = set; then
2582 echo $ECHO_N "(cached) $ECHO_C" >&6
2584 cat >conftest.$ac_ext <<_ACEOF
2585 #line 2585 "configure"
2586 #include "confdefs.h"
2596 rm -f conftest.$ac_objext
2597 if { (eval echo "$as_me:2597: \"$ac_compile\"") >&5
2598 (eval $ac_compile) 2>&5
2600 echo "$as_me:2600: \$? = $ac_status" >&5
2601 (exit $ac_status); } &&
2602 { ac_try='test -s conftest.$ac_objext'
2603 { (eval echo "$as_me:2603: \"$ac_try\"") >&5
2606 echo "$as_me:2606: \$? = $ac_status" >&5
2607 (exit $ac_status); }; }; then
2610 echo "$as_me: failed program was:" >&5
2611 cat conftest.$ac_ext >&5
2614 rm -f conftest.$ac_objext conftest.$ac_ext
2616 echo "$as_me:2616: result: $ac_cv_prog_cc_g" >&5
2617 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2618 if test "$ac_test_CFLAGS" = set; then
2619 CFLAGS=$ac_save_CFLAGS
2620 elif test $ac_cv_prog_cc_g = yes; then
2621 if test "$GCC" = yes; then
2627 if test "$GCC" = yes; then
2633 # Some people use a C++ compiler to compile C. Since we use `exit',
2634 # in C++ we need to declare it. In case someone uses the same compiler
2635 # for both compiling C and C++ we need to have the C++ compiler decide
2636 # the declaration of exit, since it's the most demanding environment.
2637 cat >conftest.$ac_ext <<_ACEOF
2642 rm -f conftest.$ac_objext
2643 if { (eval echo "$as_me:2643: \"$ac_compile\"") >&5
2644 (eval $ac_compile) 2>&5
2646 echo "$as_me:2646: \$? = $ac_status" >&5
2647 (exit $ac_status); } &&
2648 { ac_try='test -s conftest.$ac_objext'
2649 { (eval echo "$as_me:2649: \"$ac_try\"") >&5
2652 echo "$as_me:2652: \$? = $ac_status" >&5
2653 (exit $ac_status); }; }; then
2654 for ac_declaration in \
2656 '#include <stdlib.h>' \
2657 'extern "C" void std::exit (int) throw (); using std::exit;' \
2658 'extern "C" void std::exit (int); using std::exit;' \
2659 'extern "C" void exit (int) throw ();' \
2660 'extern "C" void exit (int);' \
2663 cat >conftest.$ac_ext <<_ACEOF
2664 #line 2664 "configure"
2665 #include "confdefs.h"
2676 rm -f conftest.$ac_objext
2677 if { (eval echo "$as_me:2677: \"$ac_compile\"") >&5
2678 (eval $ac_compile) 2>&5
2680 echo "$as_me:2680: \$? = $ac_status" >&5
2681 (exit $ac_status); } &&
2682 { ac_try='test -s conftest.$ac_objext'
2683 { (eval echo "$as_me:2683: \"$ac_try\"") >&5
2686 echo "$as_me:2686: \$? = $ac_status" >&5
2687 (exit $ac_status); }; }; then
2690 echo "$as_me: failed program was:" >&5
2691 cat conftest.$ac_ext >&5
2694 rm -f conftest.$ac_objext conftest.$ac_ext
2695 cat >conftest.$ac_ext <<_ACEOF
2696 #line 2696 "configure"
2697 #include "confdefs.h"
2707 rm -f conftest.$ac_objext
2708 if { (eval echo "$as_me:2708: \"$ac_compile\"") >&5
2709 (eval $ac_compile) 2>&5
2711 echo "$as_me:2711: \$? = $ac_status" >&5
2712 (exit $ac_status); } &&
2713 { ac_try='test -s conftest.$ac_objext'
2714 { (eval echo "$as_me:2714: \"$ac_try\"") >&5
2717 echo "$as_me:2717: \$? = $ac_status" >&5
2718 (exit $ac_status); }; }; then
2721 echo "$as_me: failed program was:" >&5
2722 cat conftest.$ac_ext >&5
2724 rm -f conftest.$ac_objext conftest.$ac_ext
2727 if test -n "$ac_declaration"; then
2728 echo '#ifdef __cplusplus' >>confdefs.h
2729 echo $ac_declaration >>confdefs.h
2730 echo '#endif' >>confdefs.h
2734 echo "$as_me: failed program was:" >&5
2735 cat conftest.$ac_ext >&5
2737 rm -f conftest.$ac_objext conftest.$ac_ext
2739 ac_cpp='$CPP $CPPFLAGS'
2740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2744 echo "$as_me:2744: checking for ${CC-cc} option to accept ANSI C" >&5
2745 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2746 if test "${am_cv_prog_cc_stdc+set}" = set; then
2747 echo $ECHO_N "(cached) $ECHO_C" >&6
2749 am_cv_prog_cc_stdc=no
2751 # Don't try gcc -ansi; that turns off useful extensions and
2752 # breaks some systems' header files.
2753 # AIX -qlanglvl=ansi
2754 # Ultrix and OSF/1 -std1
2755 # HP-UX -Aa -D_HPUX_SOURCE
2756 # SVR4 -Xc -D__EXTENSIONS__
2757 for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2759 CC="$ac_save_CC $ac_arg"
2760 cat >conftest.$ac_ext <<_ACEOF
2761 #line 2761 "configure"
2762 #include "confdefs.h"
2765 #include <sys/types.h>
2766 #include <sys/stat.h>
2767 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2768 struct buf { int x; };
2769 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2770 static char *e (p, i)
2776 static char *f (char * (*g) (char **, int), char **p, ...)
2781 s = g (p, va_arg (v,int));
2785 int test (int i, double x);
2786 struct s1 {int (*f) (int a);};
2787 struct s2 {int (*f) (double a);};
2788 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2796 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2802 rm -f conftest.$ac_objext
2803 if { (eval echo "$as_me:2803: \"$ac_compile\"") >&5
2804 (eval $ac_compile) 2>&5
2806 echo "$as_me:2806: \$? = $ac_status" >&5
2807 (exit $ac_status); } &&
2808 { ac_try='test -s conftest.$ac_objext'
2809 { (eval echo "$as_me:2809: \"$ac_try\"") >&5
2812 echo "$as_me:2812: \$? = $ac_status" >&5
2813 (exit $ac_status); }; }; then
2814 am_cv_prog_cc_stdc="$ac_arg"; break
2816 echo "$as_me: failed program was:" >&5
2817 cat conftest.$ac_ext >&5
2819 rm -f conftest.$ac_objext conftest.$ac_ext
2825 if test -z "$am_cv_prog_cc_stdc"; then
2826 echo "$as_me:2826: result: none needed" >&5
2827 echo "${ECHO_T}none needed" >&6
2829 echo "$as_me:2829: result: $am_cv_prog_cc_stdc" >&5
2830 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2832 case "x$am_cv_prog_cc_stdc" in
2834 *) CC="$CC $am_cv_prog_cc_stdc" ;;
2838 ac_cpp='$CPP $CPPFLAGS'
2839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2842 echo "$as_me:2842: checking how to run the C preprocessor" >&5
2843 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2844 # On Suns, sometimes $CPP names a directory.
2845 if test -n "$CPP" && test -d "$CPP"; then
2848 if test -z "$CPP"; then
2849 if test "${ac_cv_prog_CPP+set}" = set; then
2850 echo $ECHO_N "(cached) $ECHO_C" >&6
2852 # Double quotes because CPP needs to be expanded
2853 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2856 for ac_c_preproc_warn_flag in '' yes
2858 # Use a header file that comes with gcc, so configuring glibc
2859 # with a fresh cross-compiler works.
2860 # On the NeXT, cc -E runs the code through the compiler's parser,
2861 # not just through cpp. "Syntax error" is here to catch this case.
2862 cat >conftest.$ac_ext <<_ACEOF
2863 #line 2863 "configure"
2864 #include "confdefs.h"
2868 if { (eval echo "$as_me:2868: \"$ac_cpp conftest.$ac_ext\"") >&5
2869 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2871 egrep -v '^ *\+' conftest.er1 >conftest.err
2873 cat conftest.err >&5
2874 echo "$as_me:2874: \$? = $ac_status" >&5
2875 (exit $ac_status); } >/dev/null; then
2876 if test -s conftest.err; then
2877 ac_cpp_err=$ac_c_preproc_warn_flag
2884 if test -z "$ac_cpp_err"; then
2887 echo "$as_me: failed program was:" >&5
2888 cat conftest.$ac_ext >&5
2889 # Broken: fails on valid input.
2892 rm -f conftest.err conftest.$ac_ext
2894 # OK, works on sane cases. Now check whether non-existent headers
2895 # can be detected and how.
2896 cat >conftest.$ac_ext <<_ACEOF
2897 #line 2897 "configure"
2898 #include "confdefs.h"
2899 #include <ac_nonexistent.h>
2901 if { (eval echo "$as_me:2901: \"$ac_cpp conftest.$ac_ext\"") >&5
2902 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2904 egrep -v '^ *\+' conftest.er1 >conftest.err
2906 cat conftest.err >&5
2907 echo "$as_me:2907: \$? = $ac_status" >&5
2908 (exit $ac_status); } >/dev/null; then
2909 if test -s conftest.err; then
2910 ac_cpp_err=$ac_c_preproc_warn_flag
2917 if test -z "$ac_cpp_err"; then
2918 # Broken: success on invalid input.
2921 echo "$as_me: failed program was:" >&5
2922 cat conftest.$ac_ext >&5
2923 # Passes both tests.
2927 rm -f conftest.err conftest.$ac_ext
2930 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2931 rm -f conftest.err conftest.$ac_ext
2932 if $ac_preproc_ok; then
2944 echo "$as_me:2944: result: $CPP" >&5
2945 echo "${ECHO_T}$CPP" >&6
2947 for ac_c_preproc_warn_flag in '' yes
2949 # Use a header file that comes with gcc, so configuring glibc
2950 # with a fresh cross-compiler works.
2951 # On the NeXT, cc -E runs the code through the compiler's parser,
2952 # not just through cpp. "Syntax error" is here to catch this case.
2953 cat >conftest.$ac_ext <<_ACEOF
2954 #line 2954 "configure"
2955 #include "confdefs.h"
2959 if { (eval echo "$as_me:2959: \"$ac_cpp conftest.$ac_ext\"") >&5
2960 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2962 egrep -v '^ *\+' conftest.er1 >conftest.err
2964 cat conftest.err >&5
2965 echo "$as_me:2965: \$? = $ac_status" >&5
2966 (exit $ac_status); } >/dev/null; then
2967 if test -s conftest.err; then
2968 ac_cpp_err=$ac_c_preproc_warn_flag
2975 if test -z "$ac_cpp_err"; then
2978 echo "$as_me: failed program was:" >&5
2979 cat conftest.$ac_ext >&5
2980 # Broken: fails on valid input.
2983 rm -f conftest.err conftest.$ac_ext
2985 # OK, works on sane cases. Now check whether non-existent headers
2986 # can be detected and how.
2987 cat >conftest.$ac_ext <<_ACEOF
2988 #line 2988 "configure"
2989 #include "confdefs.h"
2990 #include <ac_nonexistent.h>
2992 if { (eval echo "$as_me:2992: \"$ac_cpp conftest.$ac_ext\"") >&5
2993 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2995 egrep -v '^ *\+' conftest.er1 >conftest.err
2997 cat conftest.err >&5
2998 echo "$as_me:2998: \$? = $ac_status" >&5
2999 (exit $ac_status); } >/dev/null; then
3000 if test -s conftest.err; then
3001 ac_cpp_err=$ac_c_preproc_warn_flag
3008 if test -z "$ac_cpp_err"; then
3009 # Broken: success on invalid input.
3012 echo "$as_me: failed program was:" >&5
3013 cat conftest.$ac_ext >&5
3014 # Passes both tests.
3018 rm -f conftest.err conftest.$ac_ext
3021 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3022 rm -f conftest.err conftest.$ac_ext
3023 if $ac_preproc_ok; then
3026 { { echo "$as_me:3026: error: C preprocessor \"$CPP\" fails sanity check" >&5
3027 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3028 { (exit 1); exit 1; }; }
3032 ac_cpp='$CPP $CPPFLAGS'
3033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3037 echo "$as_me:3037: checking for ANSI C header files" >&5
3038 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3039 if test "${ac_cv_header_stdc+set}" = set; then
3040 echo $ECHO_N "(cached) $ECHO_C" >&6
3042 cat >conftest.$ac_ext <<_ACEOF
3043 #line 3043 "configure"
3044 #include "confdefs.h"
3051 if { (eval echo "$as_me:3051: \"$ac_cpp conftest.$ac_ext\"") >&5
3052 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3054 egrep -v '^ *\+' conftest.er1 >conftest.err
3056 cat conftest.err >&5
3057 echo "$as_me:3057: \$? = $ac_status" >&5
3058 (exit $ac_status); } >/dev/null; then
3059 if test -s conftest.err; then
3060 ac_cpp_err=$ac_c_preproc_warn_flag
3067 if test -z "$ac_cpp_err"; then
3068 ac_cv_header_stdc=yes
3070 echo "$as_me: failed program was:" >&5
3071 cat conftest.$ac_ext >&5
3072 ac_cv_header_stdc=no
3074 rm -f conftest.err conftest.$ac_ext
3076 if test $ac_cv_header_stdc = yes; then
3077 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3078 cat >conftest.$ac_ext <<_ACEOF
3079 #line 3079 "configure"
3080 #include "confdefs.h"
3084 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3085 egrep "memchr" >/dev/null 2>&1; then
3088 ac_cv_header_stdc=no
3094 if test $ac_cv_header_stdc = yes; then
3095 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3096 cat >conftest.$ac_ext <<_ACEOF
3097 #line 3097 "configure"
3098 #include "confdefs.h"
3102 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3103 egrep "free" >/dev/null 2>&1; then
3106 ac_cv_header_stdc=no
3112 if test $ac_cv_header_stdc = yes; then
3113 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3114 if test "$cross_compiling" = yes; then
3117 cat >conftest.$ac_ext <<_ACEOF
3118 #line 3118 "configure"
3119 #include "confdefs.h"
3121 #if ((' ' & 0x0FF) == 0x020)
3122 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3123 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3125 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3126 || ('j' <= (c) && (c) <= 'r') \
3127 || ('s' <= (c) && (c) <= 'z'))
3128 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3131 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3136 for (i = 0; i < 256; i++)
3137 if (XOR (islower (i), ISLOWER (i))
3138 || toupper (i) != TOUPPER (i))
3143 rm -f conftest$ac_exeext
3144 if { (eval echo "$as_me:3144: \"$ac_link\"") >&5
3145 (eval $ac_link) 2>&5
3147 echo "$as_me:3147: \$? = $ac_status" >&5
3148 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3149 { (eval echo "$as_me:3149: \"$ac_try\"") >&5
3152 echo "$as_me:3152: \$? = $ac_status" >&5
3153 (exit $ac_status); }; }; then
3156 echo "$as_me: program exited with status $ac_status" >&5
3157 echo "$as_me: failed program was:" >&5
3158 cat conftest.$ac_ext >&5
3159 ac_cv_header_stdc=no
3161 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3165 echo "$as_me:3165: result: $ac_cv_header_stdc" >&5
3166 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3167 if test $ac_cv_header_stdc = yes; then
3169 cat >>confdefs.h <<\EOF
3170 #define STDC_HEADERS 1
3175 if test -z "" ; then
3176 default_compile_warnings=no
3178 default_compile_warnings=""
3181 # Check whether --enable-compile-warnings or --disable-compile-warnings was given.
3182 if test "${enable_compile_warnings+set}" = set; then
3183 enableval="$enable_compile_warnings"
3184 enable_compile_warnings="$enableval"
3186 enable_compile_warnings="$default_compile_warnings"
3190 if test "x$GCC" != xyes; then
3191 enable_compile_warnings=no
3195 realsave_CFLAGS="$CFLAGS"
3197 case "$enable_compile_warnings" in
3202 warning_flags="-Wall -Wunused"
3205 warning_flags="-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations"
3208 warning_flags="-Wall -Wunused -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
3209 CFLAGS="$warning_flags $CFLAGS"
3210 for option in -Wsign-promo -Wno-sign-compare; do
3211 SAVE_CFLAGS="$CFLAGS"
3212 CFLAGS="$CFLAGS $option"
3213 echo "$as_me:3213: checking whether gcc understands $option" >&5
3214 echo $ECHO_N "checking whether gcc understands $option... $ECHO_C" >&6
3215 cat >conftest.$ac_ext <<_ACEOF
3216 #line 3216 "configure"
3217 #include "confdefs.h"
3227 rm -f conftest.$ac_objext
3228 if { (eval echo "$as_me:3228: \"$ac_compile\"") >&5
3229 (eval $ac_compile) 2>&5
3231 echo "$as_me:3231: \$? = $ac_status" >&5
3232 (exit $ac_status); } &&
3233 { ac_try='test -s conftest.$ac_objext'
3234 { (eval echo "$as_me:3234: \"$ac_try\"") >&5
3237 echo "$as_me:3237: \$? = $ac_status" >&5
3238 (exit $ac_status); }; }; then
3241 echo "$as_me: failed program was:" >&5
3242 cat conftest.$ac_ext >&5
3245 rm -f conftest.$ac_objext conftest.$ac_ext
3246 CFLAGS="$SAVE_CFLAGS"
3247 echo "$as_me:3247: result: $has_option" >&5
3248 echo "${ECHO_T}$has_option" >&6
3249 if test $has_option = yes; then
3250 warning_flags="$warning_flags $option"
3256 if test "$enable_compile_warnings" = "error" ; then
3257 warning_flags="$warning_flags -Werror"
3261 { { echo "$as_me:3261: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&5
3262 echo "$as_me: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&2;}
3263 { (exit 1); exit 1; }; }
3266 CFLAGS="$realsave_CFLAGS"
3267 echo "$as_me:3267: checking what warning flags to pass to the C compiler" >&5
3268 echo $ECHO_N "checking what warning flags to pass to the C compiler... $ECHO_C" >&6
3269 echo "$as_me:3269: result: $warning_flags" >&5
3270 echo "${ECHO_T}$warning_flags" >&6
3272 # Check whether --enable-iso-c or --disable-iso-c was given.
3273 if test "${enable_iso_c+set}" = set; then
3274 enableval="$enable_iso_c"
3280 echo "$as_me:3280: checking what language compliance flags to pass to the C compiler" >&5
3281 echo $ECHO_N "checking what language compliance flags to pass to the C compiler... $ECHO_C" >&6
3283 if test "x$enable_iso_c" != "xno"; then
3284 if test "x$GCC" = "xyes"; then
3287 *) complCFLAGS="$complCFLAGS -ansi" ;;
3290 *\ \ -pedantic\ \ *) ;;
3291 *) complCFLAGS="$complCFLAGS -pedantic" ;;
3295 echo "$as_me:3295: result: $complCFLAGS" >&5
3296 echo "${ECHO_T}$complCFLAGS" >&6
3298 WARN_CFLAGS="$warning_flags $complCFLAGS"
3302 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
3303 set dummy glib-genmarshal; ac_word=$2
3304 echo "$as_me:3304: checking for $ac_word" >&5
3305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3306 if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then
3307 echo $ECHO_N "(cached) $ECHO_C" >&6
3309 case $GLIB_GENMARSHAL in
3311 ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
3314 ac_save_IFS=$IFS; IFS=$ac_path_separator
3316 for ac_dir in $ac_dummy; do
3318 test -z "$ac_dir" && ac_dir=.
3319 if $as_executable_p "$ac_dir/$ac_word"; then
3320 ac_cv_path_GLIB_GENMARSHAL="$ac_dir/$ac_word"
3321 echo "$as_me:3321: found $ac_dir/$ac_word" >&5
3329 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
3331 if test -n "$GLIB_GENMARSHAL"; then
3332 echo "$as_me:3332: result: $GLIB_GENMARSHAL" >&5
3333 echo "${ECHO_T}$GLIB_GENMARSHAL" >&6
3335 echo "$as_me:3335: result: no" >&5
3336 echo "${ECHO_T}no" >&6
3340 LIBGNOMEUI_REQUIRED=2.0.1
3341 LIBXML_REQUIRED=2.4.23
3342 LIBGNOMEPRINT_REQUIRED=1.115.0
3343 LIBGNOMEPRINTUI_REQUIRED=1.115.0
3344 LIBGNOMECANVAS_REQUIRED=2.0.1
3345 GDKPIXBUF_REQUIRED=2.0.5
3349 if test -z "$PKG_CONFIG"; then
3350 # Extract the first word of "pkg-config", so it can be a program name with args.
3351 set dummy pkg-config; ac_word=$2
3352 echo "$as_me:3352: checking for $ac_word" >&5
3353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3354 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3355 echo $ECHO_N "(cached) $ECHO_C" >&6
3359 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3362 ac_save_IFS=$IFS; IFS=$ac_path_separator
3364 for ac_dir in $ac_dummy; do
3366 test -z "$ac_dir" && ac_dir=.
3367 if $as_executable_p "$ac_dir/$ac_word"; then
3368 ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
3369 echo "$as_me:3369: found $ac_dir/$ac_word" >&5
3374 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
3378 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3380 if test -n "$PKG_CONFIG"; then
3381 echo "$as_me:3381: result: $PKG_CONFIG" >&5
3382 echo "${ECHO_T}$PKG_CONFIG" >&6
3384 echo "$as_me:3384: result: no" >&5
3385 echo "${ECHO_T}no" >&6
3390 if test "$PKG_CONFIG" = "no" ; then
3391 echo "*** The pkg-config script could not be found. Make sure it is"
3392 echo "*** in your path, or set the PKG_CONFIG environment variable"
3393 echo "*** to the full path to pkg-config."
3394 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
3396 PKG_CONFIG_MIN_VERSION=0.9.0
3397 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
3398 echo "$as_me:3398: checking for gtk+-2.0 >= $GTK_REQUIRED
3399 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
3400 libxml-2.0 >= $LIBXML_REQUIRED
3401 libgnomeprint-2.0 >= $LIBGNOMEPRINT_REQUIRED
3402 libgnomeprintui-2.0 >= $LIBGNOMEPRINTUI_REQUIRED
3403 libgnomecanvas-2.0 >= $LIBGNOMECANVAS_REQUIRED
3404 gdk-pixbuf-2.0 >= $GDKPIXBUF_REQUIRED" >&5
3405 echo $ECHO_N "checking for gtk+-2.0 >= $GTK_REQUIRED
3406 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
3407 libxml-2.0 >= $LIBXML_REQUIRED
3408 libgnomeprint-2.0 >= $LIBGNOMEPRINT_REQUIRED
3409 libgnomeprintui-2.0 >= $LIBGNOMEPRINTUI_REQUIRED
3410 libgnomecanvas-2.0 >= $LIBGNOMECANVAS_REQUIRED
3411 gdk-pixbuf-2.0 >= $GDKPIXBUF_REQUIRED... $ECHO_C" >&6
3413 if $PKG_CONFIG --exists "gtk+-2.0 >= $GTK_REQUIRED
3414 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
3415 libxml-2.0 >= $LIBXML_REQUIRED
3416 libgnomeprint-2.0 >= $LIBGNOMEPRINT_REQUIRED
3417 libgnomeprintui-2.0 >= $LIBGNOMEPRINTUI_REQUIRED
3418 libgnomecanvas-2.0 >= $LIBGNOMECANVAS_REQUIRED
3419 gdk-pixbuf-2.0 >= $GDKPIXBUF_REQUIRED" ; then
3420 echo "$as_me:3420: result: yes" >&5
3421 echo "${ECHO_T}yes" >&6
3424 echo "$as_me:3424: checking GLABELS_CFLAGS" >&5
3425 echo $ECHO_N "checking GLABELS_CFLAGS... $ECHO_C" >&6
3426 GLABELS_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_REQUIRED
3427 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
3428 libxml-2.0 >= $LIBXML_REQUIRED
3429 libgnomeprint-2.0 >= $LIBGNOMEPRINT_REQUIRED
3430 libgnomeprintui-2.0 >= $LIBGNOMEPRINTUI_REQUIRED
3431 libgnomecanvas-2.0 >= $LIBGNOMECANVAS_REQUIRED
3432 gdk-pixbuf-2.0 >= $GDKPIXBUF_REQUIRED"`
3433 echo "$as_me:3433: result: $GLABELS_CFLAGS" >&5
3434 echo "${ECHO_T}$GLABELS_CFLAGS" >&6
3436 echo "$as_me:3436: checking GLABELS_LIBS" >&5
3437 echo $ECHO_N "checking GLABELS_LIBS... $ECHO_C" >&6
3438 GLABELS_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_REQUIRED
3439 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
3440 libxml-2.0 >= $LIBXML_REQUIRED
3441 libgnomeprint-2.0 >= $LIBGNOMEPRINT_REQUIRED
3442 libgnomeprintui-2.0 >= $LIBGNOMEPRINTUI_REQUIRED
3443 libgnomecanvas-2.0 >= $LIBGNOMECANVAS_REQUIRED
3444 gdk-pixbuf-2.0 >= $GDKPIXBUF_REQUIRED"`
3445 echo "$as_me:3445: result: $GLABELS_LIBS" >&5
3446 echo "${ECHO_T}$GLABELS_LIBS" >&6
3450 ## If we have a custom action on failure, don't print errors, but
3451 ## do set a variable so people can do so.
3452 GLABELS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= $GTK_REQUIRED
3453 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
3454 libxml-2.0 >= $LIBXML_REQUIRED
3455 libgnomeprint-2.0 >= $LIBGNOMEPRINT_REQUIRED
3456 libgnomeprintui-2.0 >= $LIBGNOMEPRINTUI_REQUIRED
3457 libgnomecanvas-2.0 >= $LIBGNOMECANVAS_REQUIRED
3458 gdk-pixbuf-2.0 >= $GDKPIXBUF_REQUIRED"`
3459 echo $GLABELS_PKG_ERRORS
3463 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
3464 echo "*** See http://www.freedesktop.org/software/pkgconfig"
3468 if test $succeeded = yes; then
3471 { { echo "$as_me:3471: error: Library requirements (gtk+-2.0 >= $GTK_REQUIRED
3472 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
3473 libxml-2.0 >= $LIBXML_REQUIRED
3474 libgnomeprint-2.0 >= $LIBGNOMEPRINT_REQUIRED
3475 libgnomeprintui-2.0 >= $LIBGNOMEPRINTUI_REQUIRED
3476 libgnomecanvas-2.0 >= $LIBGNOMECANVAS_REQUIRED
3477 gdk-pixbuf-2.0 >= $GDKPIXBUF_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
3478 echo "$as_me: error: Library requirements (gtk+-2.0 >= $GTK_REQUIRED
3479 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
3480 libxml-2.0 >= $LIBXML_REQUIRED
3481 libgnomeprint-2.0 >= $LIBGNOMEPRINT_REQUIRED
3482 libgnomeprintui-2.0 >= $LIBGNOMEPRINTUI_REQUIRED
3483 libgnomecanvas-2.0 >= $LIBGNOMECANVAS_REQUIRED
3484 gdk-pixbuf-2.0 >= $GDKPIXBUF_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
3485 { (exit 1); exit 1; }; }
3488 GETTEXT_PACKAGE=glabels
3490 cat >>confdefs.h <<EOF
3491 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
3494 ALL_LINGUAS="fr de ja pt_BR"
3495 if test -n "$ac_tool_prefix"; then
3496 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3497 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3498 echo "$as_me:3498: checking for $ac_word" >&5
3499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3500 if test "${ac_cv_prog_RANLIB+set}" = set; then
3501 echo $ECHO_N "(cached) $ECHO_C" >&6
3503 if test -n "$RANLIB"; then
3504 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3506 ac_save_IFS=$IFS; IFS=$ac_path_separator
3508 for ac_dir in $ac_dummy; do
3510 test -z "$ac_dir" && ac_dir=.
3511 $as_executable_p "$ac_dir/$ac_word" || continue
3512 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3513 echo "$as_me:3513: found $ac_dir/$ac_word" >&5
3519 RANLIB=$ac_cv_prog_RANLIB
3520 if test -n "$RANLIB"; then
3521 echo "$as_me:3521: result: $RANLIB" >&5
3522 echo "${ECHO_T}$RANLIB" >&6
3524 echo "$as_me:3524: result: no" >&5
3525 echo "${ECHO_T}no" >&6
3529 if test -z "$ac_cv_prog_RANLIB"; then
3530 ac_ct_RANLIB=$RANLIB
3531 # Extract the first word of "ranlib", so it can be a program name with args.
3532 set dummy ranlib; ac_word=$2
3533 echo "$as_me:3533: checking for $ac_word" >&5
3534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3535 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3536 echo $ECHO_N "(cached) $ECHO_C" >&6
3538 if test -n "$ac_ct_RANLIB"; then
3539 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3541 ac_save_IFS=$IFS; IFS=$ac_path_separator
3543 for ac_dir in $ac_dummy; do
3545 test -z "$ac_dir" && ac_dir=.
3546 $as_executable_p "$ac_dir/$ac_word" || continue
3547 ac_cv_prog_ac_ct_RANLIB="ranlib"
3548 echo "$as_me:3548: found $ac_dir/$ac_word" >&5
3552 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3555 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3556 if test -n "$ac_ct_RANLIB"; then
3557 echo "$as_me:3557: result: $ac_ct_RANLIB" >&5
3558 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3560 echo "$as_me:3560: result: no" >&5
3561 echo "${ECHO_T}no" >&6
3564 RANLIB=$ac_ct_RANLIB
3566 RANLIB="$ac_cv_prog_RANLIB"
3569 echo "$as_me:3569: checking for $CC option to accept ANSI C" >&5
3570 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3571 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3572 echo $ECHO_N "(cached) $ECHO_C" >&6
3574 ac_cv_prog_cc_stdc=no
3576 cat >conftest.$ac_ext <<_ACEOF
3577 #line 3577 "configure"
3578 #include "confdefs.h"
3581 #include <sys/types.h>
3582 #include <sys/stat.h>
3583 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3584 struct buf { int x; };
3585 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3586 static char *e (p, i)
3592 static char *f (char * (*g) (char **, int), char **p, ...)
3597 s = g (p, va_arg (v,int));
3601 int test (int i, double x);
3602 struct s1 {int (*f) (int a);};
3603 struct s2 {int (*f) (double a);};
3604 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3610 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3615 # Don't try gcc -ansi; that turns off useful extensions and
3616 # breaks some systems' header files.
3617 # AIX -qlanglvl=ansi
3618 # Ultrix and OSF/1 -std1
3619 # HP-UX 10.20 and later -Ae
3620 # HP-UX older versions -Aa -D_HPUX_SOURCE
3621 # SVR4 -Xc -D__EXTENSIONS__
3622 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3624 CC="$ac_save_CC $ac_arg"
3625 rm -f conftest.$ac_objext
3626 if { (eval echo "$as_me:3626: \"$ac_compile\"") >&5
3627 (eval $ac_compile) 2>&5
3629 echo "$as_me:3629: \$? = $ac_status" >&5
3630 (exit $ac_status); } &&
3631 { ac_try='test -s conftest.$ac_objext'
3632 { (eval echo "$as_me:3632: \"$ac_try\"") >&5
3635 echo "$as_me:3635: \$? = $ac_status" >&5
3636 (exit $ac_status); }; }; then
3637 ac_cv_prog_cc_stdc=$ac_arg
3640 echo "$as_me: failed program was:" >&5
3641 cat conftest.$ac_ext >&5
3643 rm -f conftest.$ac_objext
3645 rm -f conftest.$ac_ext conftest.$ac_objext
3650 case "x$ac_cv_prog_cc_stdc" in
3652 echo "$as_me:3652: result: none needed" >&5
3653 echo "${ECHO_T}none needed" >&6 ;;
3655 echo "$as_me:3655: result: $ac_cv_prog_cc_stdc" >&5
3656 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3657 CC="$CC $ac_cv_prog_cc_stdc" ;;
3660 echo "$as_me:3660: checking for an ANSI C-conforming const" >&5
3661 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3662 if test "${ac_cv_c_const+set}" = set; then
3663 echo $ECHO_N "(cached) $ECHO_C" >&6
3665 cat >conftest.$ac_ext <<_ACEOF
3666 #line 3666 "configure"
3667 #include "confdefs.h"
3672 /* FIXME: Include the comments suggested by Paul. */
3674 /* Ultrix mips cc rejects this. */
3675 typedef int charset[2];
3677 /* SunOS 4.1.1 cc rejects this. */
3678 char const *const *ccp;
3680 /* NEC SVR4.0.2 mips cc rejects this. */
3681 struct point {int x, y;};
3682 static struct point const zero = {0,0};
3683 /* AIX XL C 1.02.0.0 rejects this.
3684 It does not let you subtract one const X* pointer from another in
3685 an arm of an if-expression whose if-part is not a constant
3687 const char *g = "string";
3688 ccp = &g + (g ? g-g : 0);
3689 /* HPUX 7.0 cc rejects these. */
3692 ccp = (char const *const *) p;
3693 { /* SCO 3.2v4 cc rejects this. */
3695 char const *s = 0 ? (char *) 0 : (char const *) 0;
3699 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3701 const int *foo = &x[0];
3704 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3705 typedef const int *iptr;
3709 { /* AIX XL C 1.02.0.0 rejects this saying
3710 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3711 struct s { int j; const int *ap[3]; };
3712 struct s *b; b->j = 5;
3714 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3723 rm -f conftest.$ac_objext
3724 if { (eval echo "$as_me:3724: \"$ac_compile\"") >&5
3725 (eval $ac_compile) 2>&5
3727 echo "$as_me:3727: \$? = $ac_status" >&5
3728 (exit $ac_status); } &&
3729 { ac_try='test -s conftest.$ac_objext'
3730 { (eval echo "$as_me:3730: \"$ac_try\"") >&5
3733 echo "$as_me:3733: \$? = $ac_status" >&5
3734 (exit $ac_status); }; }; then
3737 echo "$as_me: failed program was:" >&5
3738 cat conftest.$ac_ext >&5
3741 rm -f conftest.$ac_objext conftest.$ac_ext
3743 echo "$as_me:3743: result: $ac_cv_c_const" >&5
3744 echo "${ECHO_T}$ac_cv_c_const" >&6
3745 if test $ac_cv_c_const = no; then
3747 cat >>confdefs.h <<\EOF
3753 echo "$as_me:3753: checking for inline" >&5
3754 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3755 if test "${ac_cv_c_inline+set}" = set; then
3756 echo $ECHO_N "(cached) $ECHO_C" >&6
3759 for ac_kw in inline __inline__ __inline; do
3760 cat >conftest.$ac_ext <<_ACEOF
3761 #line 3761 "configure"
3762 #include "confdefs.h"
3764 static $ac_kw int static_foo () {return 0; }
3765 $ac_kw int foo () {return 0; }
3769 rm -f conftest.$ac_objext
3770 if { (eval echo "$as_me:3770: \"$ac_compile\"") >&5
3771 (eval $ac_compile) 2>&5
3773 echo "$as_me:3773: \$? = $ac_status" >&5
3774 (exit $ac_status); } &&
3775 { ac_try='test -s conftest.$ac_objext'
3776 { (eval echo "$as_me:3776: \"$ac_try\"") >&5
3779 echo "$as_me:3779: \$? = $ac_status" >&5
3780 (exit $ac_status); }; }; then
3781 ac_cv_c_inline=$ac_kw; break
3783 echo "$as_me: failed program was:" >&5
3784 cat conftest.$ac_ext >&5
3786 rm -f conftest.$ac_objext conftest.$ac_ext
3790 echo "$as_me:3790: result: $ac_cv_c_inline" >&5
3791 echo "${ECHO_T}$ac_cv_c_inline" >&6
3792 case $ac_cv_c_inline in
3795 cat >>confdefs.h <<\EOF
3799 *) cat >>confdefs.h <<EOF
3800 #define inline $ac_cv_c_inline
3805 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3807 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3808 inttypes.h stdint.h unistd.h
3810 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3811 echo "$as_me:3811: checking for $ac_header" >&5
3812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3814 echo $ECHO_N "(cached) $ECHO_C" >&6
3816 cat >conftest.$ac_ext <<_ACEOF
3817 #line 3817 "configure"
3818 #include "confdefs.h"
3819 $ac_includes_default
3820 #include <$ac_header>
3822 rm -f conftest.$ac_objext
3823 if { (eval echo "$as_me:3823: \"$ac_compile\"") >&5
3824 (eval $ac_compile) 2>&5
3826 echo "$as_me:3826: \$? = $ac_status" >&5
3827 (exit $ac_status); } &&
3828 { ac_try='test -s conftest.$ac_objext'
3829 { (eval echo "$as_me:3829: \"$ac_try\"") >&5
3832 echo "$as_me:3832: \$? = $ac_status" >&5
3833 (exit $ac_status); }; }; then
3834 eval "$as_ac_Header=yes"
3836 echo "$as_me: failed program was:" >&5
3837 cat conftest.$ac_ext >&5
3838 eval "$as_ac_Header=no"
3840 rm -f conftest.$ac_objext conftest.$ac_ext
3842 echo "$as_me:3842: result: `eval echo '${'$as_ac_Header'}'`" >&5
3843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3844 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3845 cat >>confdefs.h <<EOF
3846 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3852 echo "$as_me:3852: checking for off_t" >&5
3853 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3854 if test "${ac_cv_type_off_t+set}" = set; then
3855 echo $ECHO_N "(cached) $ECHO_C" >&6
3857 cat >conftest.$ac_ext <<_ACEOF
3858 #line 3858 "configure"
3859 #include "confdefs.h"
3860 $ac_includes_default
3872 rm -f conftest.$ac_objext
3873 if { (eval echo "$as_me:3873: \"$ac_compile\"") >&5
3874 (eval $ac_compile) 2>&5
3876 echo "$as_me:3876: \$? = $ac_status" >&5
3877 (exit $ac_status); } &&
3878 { ac_try='test -s conftest.$ac_objext'
3879 { (eval echo "$as_me:3879: \"$ac_try\"") >&5
3882 echo "$as_me:3882: \$? = $ac_status" >&5
3883 (exit $ac_status); }; }; then
3884 ac_cv_type_off_t=yes
3886 echo "$as_me: failed program was:" >&5
3887 cat conftest.$ac_ext >&5
3890 rm -f conftest.$ac_objext conftest.$ac_ext
3892 echo "$as_me:3892: result: $ac_cv_type_off_t" >&5
3893 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3894 if test $ac_cv_type_off_t = yes; then
3898 cat >>confdefs.h <<EOF
3904 echo "$as_me:3904: checking for size_t" >&5
3905 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3906 if test "${ac_cv_type_size_t+set}" = set; then
3907 echo $ECHO_N "(cached) $ECHO_C" >&6
3909 cat >conftest.$ac_ext <<_ACEOF
3910 #line 3910 "configure"
3911 #include "confdefs.h"
3912 $ac_includes_default
3918 if (sizeof (size_t))
3924 rm -f conftest.$ac_objext
3925 if { (eval echo "$as_me:3925: \"$ac_compile\"") >&5
3926 (eval $ac_compile) 2>&5
3928 echo "$as_me:3928: \$? = $ac_status" >&5
3929 (exit $ac_status); } &&
3930 { ac_try='test -s conftest.$ac_objext'
3931 { (eval echo "$as_me:3931: \"$ac_try\"") >&5
3934 echo "$as_me:3934: \$? = $ac_status" >&5
3935 (exit $ac_status); }; }; then
3936 ac_cv_type_size_t=yes
3938 echo "$as_me: failed program was:" >&5
3939 cat conftest.$ac_ext >&5
3940 ac_cv_type_size_t=no
3942 rm -f conftest.$ac_objext conftest.$ac_ext
3944 echo "$as_me:3944: result: $ac_cv_type_size_t" >&5
3945 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3946 if test $ac_cv_type_size_t = yes; then
3950 cat >>confdefs.h <<EOF
3951 #define size_t unsigned
3956 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3957 # for constant arguments. Useless!
3958 echo "$as_me:3958: checking for working alloca.h" >&5
3959 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3960 if test "${ac_cv_working_alloca_h+set}" = set; then
3961 echo $ECHO_N "(cached) $ECHO_C" >&6
3963 cat >conftest.$ac_ext <<_ACEOF
3964 #line 3964 "configure"
3965 #include "confdefs.h"
3970 char *p = (char *) alloca (2 * sizeof (int));
3975 rm -f conftest.$ac_objext conftest$ac_exeext
3976 if { (eval echo "$as_me:3976: \"$ac_link\"") >&5
3977 (eval $ac_link) 2>&5
3979 echo "$as_me:3979: \$? = $ac_status" >&5
3980 (exit $ac_status); } &&
3981 { ac_try='test -s conftest$ac_exeext'
3982 { (eval echo "$as_me:3982: \"$ac_try\"") >&5
3985 echo "$as_me:3985: \$? = $ac_status" >&5
3986 (exit $ac_status); }; }; then
3987 ac_cv_working_alloca_h=yes
3989 echo "$as_me: failed program was:" >&5
3990 cat conftest.$ac_ext >&5
3991 ac_cv_working_alloca_h=no
3993 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3995 echo "$as_me:3995: result: $ac_cv_working_alloca_h" >&5
3996 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3997 if test $ac_cv_working_alloca_h = yes; then
3999 cat >>confdefs.h <<\EOF
4000 #define HAVE_ALLOCA_H 1
4005 echo "$as_me:4005: checking for alloca" >&5
4006 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
4007 if test "${ac_cv_func_alloca_works+set}" = set; then
4008 echo $ECHO_N "(cached) $ECHO_C" >&6
4010 cat >conftest.$ac_ext <<_ACEOF
4011 #line 4011 "configure"
4012 #include "confdefs.h"
4014 # define alloca __builtin_alloca
4017 # include <malloc.h>
4018 # define alloca _alloca
4021 # include <alloca.h>
4026 # ifndef alloca /* predefined by HP cc +Olibcalls */
4037 char *p = (char *) alloca (1);
4042 rm -f conftest.$ac_objext conftest$ac_exeext
4043 if { (eval echo "$as_me:4043: \"$ac_link\"") >&5
4044 (eval $ac_link) 2>&5
4046 echo "$as_me:4046: \$? = $ac_status" >&5
4047 (exit $ac_status); } &&
4048 { ac_try='test -s conftest$ac_exeext'
4049 { (eval echo "$as_me:4049: \"$ac_try\"") >&5
4052 echo "$as_me:4052: \$? = $ac_status" >&5
4053 (exit $ac_status); }; }; then
4054 ac_cv_func_alloca_works=yes
4056 echo "$as_me: failed program was:" >&5
4057 cat conftest.$ac_ext >&5
4058 ac_cv_func_alloca_works=no
4060 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4062 echo "$as_me:4062: result: $ac_cv_func_alloca_works" >&5
4063 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
4065 if test $ac_cv_func_alloca_works = yes; then
4067 cat >>confdefs.h <<\EOF
4068 #define HAVE_ALLOCA 1
4072 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4073 # that cause trouble. Some versions do not even contain alloca or
4074 # contain a buggy version. If you still want to use their alloca,
4075 # use ar to extract alloca.o from them instead of compiling alloca.c.
4077 ALLOCA=alloca.$ac_objext
4079 cat >>confdefs.h <<\EOF
4083 echo "$as_me:4083: checking whether \`alloca.c' needs Cray hooks" >&5
4084 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
4085 if test "${ac_cv_os_cray+set}" = set; then
4086 echo $ECHO_N "(cached) $ECHO_C" >&6
4088 cat >conftest.$ac_ext <<_ACEOF
4089 #line 4089 "configure"
4090 #include "confdefs.h"
4091 #if defined(CRAY) && ! defined(CRAY2)
4098 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4099 egrep "webecray" >/dev/null 2>&1; then
4107 echo "$as_me:4107: result: $ac_cv_os_cray" >&5
4108 echo "${ECHO_T}$ac_cv_os_cray" >&6
4109 if test $ac_cv_os_cray = yes; then
4110 for ac_func in _getb67 GETB67 getb67; do
4111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4112 echo "$as_me:4112: checking for $ac_func" >&5
4113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4114 if eval "test \"\${$as_ac_var+set}\" = set"; then
4115 echo $ECHO_N "(cached) $ECHO_C" >&6
4117 cat >conftest.$ac_ext <<_ACEOF
4118 #line 4118 "configure"
4119 #include "confdefs.h"
4120 /* System header to define __stub macros and hopefully few prototypes,
4121 which can conflict with char $ac_func (); below. */
4123 /* Override any gcc2 internal prototype to avoid an error. */
4127 /* We use char because int might match the return type of a gcc2
4128 builtin and then its argument prototype would still apply. */
4135 /* The GNU C library defines this for functions which it implements
4136 to always fail with ENOSYS. Some functions are actually named
4137 something starting with __ and the normal name is an alias. */
4138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4148 rm -f conftest.$ac_objext conftest$ac_exeext
4149 if { (eval echo "$as_me:4149: \"$ac_link\"") >&5
4150 (eval $ac_link) 2>&5
4152 echo "$as_me:4152: \$? = $ac_status" >&5
4153 (exit $ac_status); } &&
4154 { ac_try='test -s conftest$ac_exeext'
4155 { (eval echo "$as_me:4155: \"$ac_try\"") >&5
4158 echo "$as_me:4158: \$? = $ac_status" >&5
4159 (exit $ac_status); }; }; then
4160 eval "$as_ac_var=yes"
4162 echo "$as_me: failed program was:" >&5
4163 cat conftest.$ac_ext >&5
4164 eval "$as_ac_var=no"
4166 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4168 echo "$as_me:4168: result: `eval echo '${'$as_ac_var'}'`" >&5
4169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4170 if test `eval echo '${'$as_ac_var'}'` = yes; then
4172 cat >>confdefs.h <<EOF
4173 #define CRAY_STACKSEG_END $ac_func
4182 echo "$as_me:4182: checking stack direction for C alloca" >&5
4183 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
4184 if test "${ac_cv_c_stack_direction+set}" = set; then
4185 echo $ECHO_N "(cached) $ECHO_C" >&6
4187 if test "$cross_compiling" = yes; then
4188 ac_cv_c_stack_direction=0
4190 cat >conftest.$ac_ext <<_ACEOF
4191 #line 4191 "configure"
4192 #include "confdefs.h"
4194 find_stack_direction ()
4196 static char *addr = 0;
4201 return find_stack_direction ();
4204 return (&dummy > addr) ? 1 : -1;
4210 exit (find_stack_direction () < 0);
4213 rm -f conftest$ac_exeext
4214 if { (eval echo "$as_me:4214: \"$ac_link\"") >&5
4215 (eval $ac_link) 2>&5
4217 echo "$as_me:4217: \$? = $ac_status" >&5
4218 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4219 { (eval echo "$as_me:4219: \"$ac_try\"") >&5
4222 echo "$as_me:4222: \$? = $ac_status" >&5
4223 (exit $ac_status); }; }; then
4224 ac_cv_c_stack_direction=1
4226 echo "$as_me: program exited with status $ac_status" >&5
4227 echo "$as_me: failed program was:" >&5
4228 cat conftest.$ac_ext >&5
4229 ac_cv_c_stack_direction=-1
4231 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4234 echo "$as_me:4234: result: $ac_cv_c_stack_direction" >&5
4235 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
4237 cat >>confdefs.h <<EOF
4238 #define STACK_DIRECTION $ac_cv_c_stack_direction
4243 for ac_header in stdlib.h unistd.h
4245 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4246 echo "$as_me:4246: checking for $ac_header" >&5
4247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4249 echo $ECHO_N "(cached) $ECHO_C" >&6
4251 cat >conftest.$ac_ext <<_ACEOF
4252 #line 4252 "configure"
4253 #include "confdefs.h"
4254 #include <$ac_header>
4256 if { (eval echo "$as_me:4256: \"$ac_cpp conftest.$ac_ext\"") >&5
4257 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4259 egrep -v '^ *\+' conftest.er1 >conftest.err
4261 cat conftest.err >&5
4262 echo "$as_me:4262: \$? = $ac_status" >&5
4263 (exit $ac_status); } >/dev/null; then
4264 if test -s conftest.err; then
4265 ac_cpp_err=$ac_c_preproc_warn_flag
4272 if test -z "$ac_cpp_err"; then
4273 eval "$as_ac_Header=yes"
4275 echo "$as_me: failed program was:" >&5
4276 cat conftest.$ac_ext >&5
4277 eval "$as_ac_Header=no"
4279 rm -f conftest.err conftest.$ac_ext
4281 echo "$as_me:4281: result: `eval echo '${'$as_ac_Header'}'`" >&5
4282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4283 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4284 cat >>confdefs.h <<EOF
4285 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4291 for ac_func in getpagesize
4293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4294 echo "$as_me:4294: checking for $ac_func" >&5
4295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4296 if eval "test \"\${$as_ac_var+set}\" = set"; then
4297 echo $ECHO_N "(cached) $ECHO_C" >&6
4299 cat >conftest.$ac_ext <<_ACEOF
4300 #line 4300 "configure"
4301 #include "confdefs.h"
4302 /* System header to define __stub macros and hopefully few prototypes,
4303 which can conflict with char $ac_func (); below. */
4305 /* Override any gcc2 internal prototype to avoid an error. */
4309 /* We use char because int might match the return type of a gcc2
4310 builtin and then its argument prototype would still apply. */
4317 /* The GNU C library defines this for functions which it implements
4318 to always fail with ENOSYS. Some functions are actually named
4319 something starting with __ and the normal name is an alias. */
4320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4330 rm -f conftest.$ac_objext conftest$ac_exeext
4331 if { (eval echo "$as_me:4331: \"$ac_link\"") >&5
4332 (eval $ac_link) 2>&5
4334 echo "$as_me:4334: \$? = $ac_status" >&5
4335 (exit $ac_status); } &&
4336 { ac_try='test -s conftest$ac_exeext'
4337 { (eval echo "$as_me:4337: \"$ac_try\"") >&5
4340 echo "$as_me:4340: \$? = $ac_status" >&5
4341 (exit $ac_status); }; }; then
4342 eval "$as_ac_var=yes"
4344 echo "$as_me: failed program was:" >&5
4345 cat conftest.$ac_ext >&5
4346 eval "$as_ac_var=no"
4348 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4350 echo "$as_me:4350: result: `eval echo '${'$as_ac_var'}'`" >&5
4351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4352 if test `eval echo '${'$as_ac_var'}'` = yes; then
4353 cat >>confdefs.h <<EOF
4354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4360 echo "$as_me:4360: checking for working mmap" >&5
4361 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
4362 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4363 echo $ECHO_N "(cached) $ECHO_C" >&6
4365 if test "$cross_compiling" = yes; then
4366 ac_cv_func_mmap_fixed_mapped=no
4368 cat >conftest.$ac_ext <<_ACEOF
4369 #line 4369 "configure"
4370 #include "confdefs.h"
4371 $ac_includes_default
4372 /* Thanks to Mike Haertel and Jim Avera for this test.
4373 Here is a matrix of mmap possibilities:
4374 mmap private not fixed
4375 mmap private fixed at somewhere currently unmapped
4376 mmap private fixed at somewhere already mapped
4377 mmap shared not fixed
4378 mmap shared fixed at somewhere currently unmapped
4379 mmap shared fixed at somewhere already mapped
4380 For private mappings, we should verify that changes cannot be read()
4381 back from the file, nor mmap's back from the file at a different
4382 address. (There have been systems where private was not correctly
4383 implemented like the infamous i386 svr4.0, and systems where the
4384 VM page cache was not coherent with the file system buffer cache
4385 like early versions of FreeBSD and possibly contemporary NetBSD.)
4386 For shared mappings, we should conversely verify that changes get
4387 propogated back to all the places they're supposed to be.
4389 Grep wants private fixed already mapped.
4390 The main things grep needs to know about mmap are:
4391 * does it exist and is it safe to write into the mmap'd area
4392 * how to use it (BSD variants) */
4395 #include <sys/mman.h>
4397 #if !STDC_HEADERS && !HAVE_STDLIB_H
4401 /* This mess was copied from the GNU getpagesize.h. */
4402 #if !HAVE_GETPAGESIZE
4403 /* Assume that all systems that can run configure have sys/param.h. */
4404 # if !HAVE_SYS_PARAM_H
4405 # define HAVE_SYS_PARAM_H 1
4408 # ifdef _SC_PAGESIZE
4409 # define getpagesize() sysconf(_SC_PAGESIZE)
4410 # else /* no _SC_PAGESIZE */
4411 # if HAVE_SYS_PARAM_H
4412 # include <sys/param.h>
4413 # ifdef EXEC_PAGESIZE
4414 # define getpagesize() EXEC_PAGESIZE
4415 # else /* no EXEC_PAGESIZE */
4417 # define getpagesize() NBPG * CLSIZE
4420 # endif /* no CLSIZE */
4421 # else /* no NBPG */
4423 # define getpagesize() NBPC
4424 # else /* no NBPC */
4426 # define getpagesize() PAGESIZE
4427 # endif /* PAGESIZE */
4428 # endif /* no NBPC */
4429 # endif /* no NBPG */
4430 # endif /* no EXEC_PAGESIZE */
4431 # else /* no HAVE_SYS_PARAM_H */
4432 # define getpagesize() 8192 /* punt totally */
4433 # endif /* no HAVE_SYS_PARAM_H */
4434 # endif /* no _SC_PAGESIZE */
4436 #endif /* no HAVE_GETPAGESIZE */
4441 char *data, *data2, *data3;
4445 pagesize = getpagesize ();
4447 /* First, make a file with some known garbage in it. */
4448 data = (char *) malloc (pagesize);
4451 for (i = 0; i < pagesize; ++i)
4452 *(data + i) = rand ();
4454 fd = creat ("conftest.mmap", 0600);
4457 if (write (fd, data, pagesize) != pagesize)
4461 /* Next, try to mmap the file at a fixed address which already has
4462 something else allocated at it. If we can, also make sure that
4463 we see the same garbage. */
4464 fd = open ("conftest.mmap", O_RDWR);
4467 data2 = (char *) malloc (2 * pagesize);
4470 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
4471 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4472 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4474 for (i = 0; i < pagesize; ++i)
4475 if (*(data + i) != *(data2 + i))
4478 /* Finally, make sure that changes to the mapped area do not
4479 percolate back to the file as seen by read(). (This is a bug on
4480 some variants of i386 svr4.0.) */
4481 for (i = 0; i < pagesize; ++i)
4482 *(data2 + i) = *(data2 + i) + 1;
4483 data3 = (char *) malloc (pagesize);
4486 if (read (fd, data3, pagesize) != pagesize)
4488 for (i = 0; i < pagesize; ++i)
4489 if (*(data + i) != *(data3 + i))
4495 rm -f conftest$ac_exeext
4496 if { (eval echo "$as_me:4496: \"$ac_link\"") >&5
4497 (eval $ac_link) 2>&5
4499 echo "$as_me:4499: \$? = $ac_status" >&5
4500 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4501 { (eval echo "$as_me:4501: \"$ac_try\"") >&5
4504 echo "$as_me:4504: \$? = $ac_status" >&5
4505 (exit $ac_status); }; }; then
4506 ac_cv_func_mmap_fixed_mapped=yes
4508 echo "$as_me: program exited with status $ac_status" >&5
4509 echo "$as_me: failed program was:" >&5
4510 cat conftest.$ac_ext >&5
4511 ac_cv_func_mmap_fixed_mapped=no
4513 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4516 echo "$as_me:4516: result: $ac_cv_func_mmap_fixed_mapped" >&5
4517 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4518 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4520 cat >>confdefs.h <<\EOF
4527 for ac_header in argz.h limits.h locale.h nl_types.h malloc.h string.h \
4528 unistd.h sys/param.h
4530 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4531 echo "$as_me:4531: checking for $ac_header" >&5
4532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4534 echo $ECHO_N "(cached) $ECHO_C" >&6
4536 cat >conftest.$ac_ext <<_ACEOF
4537 #line 4537 "configure"
4538 #include "confdefs.h"
4539 #include <$ac_header>
4541 if { (eval echo "$as_me:4541: \"$ac_cpp conftest.$ac_ext\"") >&5
4542 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4544 egrep -v '^ *\+' conftest.er1 >conftest.err
4546 cat conftest.err >&5
4547 echo "$as_me:4547: \$? = $ac_status" >&5
4548 (exit $ac_status); } >/dev/null; then
4549 if test -s conftest.err; then
4550 ac_cpp_err=$ac_c_preproc_warn_flag
4557 if test -z "$ac_cpp_err"; then
4558 eval "$as_ac_Header=yes"
4560 echo "$as_me: failed program was:" >&5
4561 cat conftest.$ac_ext >&5
4562 eval "$as_ac_Header=no"
4564 rm -f conftest.err conftest.$ac_ext
4566 echo "$as_me:4566: result: `eval echo '${'$as_ac_Header'}'`" >&5
4567 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4568 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4569 cat >>confdefs.h <<EOF
4570 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4576 for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \
4577 strdup __argz_count __argz_stringify __argz_next
4579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4580 echo "$as_me:4580: checking for $ac_func" >&5
4581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4582 if eval "test \"\${$as_ac_var+set}\" = set"; then
4583 echo $ECHO_N "(cached) $ECHO_C" >&6
4585 cat >conftest.$ac_ext <<_ACEOF
4586 #line 4586 "configure"
4587 #include "confdefs.h"
4588 /* System header to define __stub macros and hopefully few prototypes,
4589 which can conflict with char $ac_func (); below. */
4591 /* Override any gcc2 internal prototype to avoid an error. */
4595 /* We use char because int might match the return type of a gcc2
4596 builtin and then its argument prototype would still apply. */
4603 /* The GNU C library defines this for functions which it implements
4604 to always fail with ENOSYS. Some functions are actually named
4605 something starting with __ and the normal name is an alias. */
4606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4616 rm -f conftest.$ac_objext conftest$ac_exeext
4617 if { (eval echo "$as_me:4617: \"$ac_link\"") >&5
4618 (eval $ac_link) 2>&5
4620 echo "$as_me:4620: \$? = $ac_status" >&5
4621 (exit $ac_status); } &&
4622 { ac_try='test -s conftest$ac_exeext'
4623 { (eval echo "$as_me:4623: \"$ac_try\"") >&5
4626 echo "$as_me:4626: \$? = $ac_status" >&5
4627 (exit $ac_status); }; }; then
4628 eval "$as_ac_var=yes"
4630 echo "$as_me: failed program was:" >&5
4631 cat conftest.$ac_ext >&5
4632 eval "$as_ac_var=no"
4634 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4636 echo "$as_me:4636: result: `eval echo '${'$as_ac_var'}'`" >&5
4637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4638 if test `eval echo '${'$as_ac_var'}'` = yes; then
4639 cat >>confdefs.h <<EOF
4640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4646 if test $ac_cv_header_locale_h = yes; then
4647 echo "$as_me:4647: checking for LC_MESSAGES" >&5
4648 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
4649 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4650 echo $ECHO_N "(cached) $ECHO_C" >&6
4652 cat >conftest.$ac_ext <<_ACEOF
4653 #line 4653 "configure"
4654 #include "confdefs.h"
4664 rm -f conftest.$ac_objext conftest$ac_exeext
4665 if { (eval echo "$as_me:4665: \"$ac_link\"") >&5
4666 (eval $ac_link) 2>&5
4668 echo "$as_me:4668: \$? = $ac_status" >&5
4669 (exit $ac_status); } &&
4670 { ac_try='test -s conftest$ac_exeext'
4671 { (eval echo "$as_me:4671: \"$ac_try\"") >&5
4674 echo "$as_me:4674: \$? = $ac_status" >&5
4675 (exit $ac_status); }; }; then
4676 am_cv_val_LC_MESSAGES=yes
4678 echo "$as_me: failed program was:" >&5
4679 cat conftest.$ac_ext >&5
4680 am_cv_val_LC_MESSAGES=no
4682 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4684 echo "$as_me:4684: result: $am_cv_val_LC_MESSAGES" >&5
4685 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
4686 if test $am_cv_val_LC_MESSAGES = yes; then
4688 cat >>confdefs.h <<\EOF
4689 #define HAVE_LC_MESSAGES 1
4696 nls_cv_force_use_gnu_gettext="no"
4698 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
4699 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
4701 nls_cv_header_libgt=
4704 echo "$as_me:4704: checking for libintl.h" >&5
4705 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4706 if test "${ac_cv_header_libintl_h+set}" = set; then
4707 echo $ECHO_N "(cached) $ECHO_C" >&6
4709 cat >conftest.$ac_ext <<_ACEOF
4710 #line 4710 "configure"
4711 #include "confdefs.h"
4712 #include <libintl.h>
4714 if { (eval echo "$as_me:4714: \"$ac_cpp conftest.$ac_ext\"") >&5
4715 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4717 egrep -v '^ *\+' conftest.er1 >conftest.err
4719 cat conftest.err >&5
4720 echo "$as_me:4720: \$? = $ac_status" >&5
4721 (exit $ac_status); } >/dev/null; then
4722 if test -s conftest.err; then
4723 ac_cpp_err=$ac_c_preproc_warn_flag
4730 if test -z "$ac_cpp_err"; then
4731 ac_cv_header_libintl_h=yes
4733 echo "$as_me: failed program was:" >&5
4734 cat conftest.$ac_ext >&5
4735 ac_cv_header_libintl_h=no
4737 rm -f conftest.err conftest.$ac_ext
4739 echo "$as_me:4739: result: $ac_cv_header_libintl_h" >&5
4740 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4741 if test $ac_cv_header_libintl_h = yes; then
4742 echo "$as_me:4742: checking for dgettext in libc" >&5
4743 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6
4744 if test "${gt_cv_func_dgettext_libc+set}" = set; then
4745 echo $ECHO_N "(cached) $ECHO_C" >&6
4747 cat >conftest.$ac_ext <<_ACEOF
4748 #line 4748 "configure"
4749 #include "confdefs.h"
4750 #include <libintl.h>
4754 return (int) dgettext ("","")
4759 rm -f conftest.$ac_objext conftest$ac_exeext
4760 if { (eval echo "$as_me:4760: \"$ac_link\"") >&5
4761 (eval $ac_link) 2>&5
4763 echo "$as_me:4763: \$? = $ac_status" >&5
4764 (exit $ac_status); } &&
4765 { ac_try='test -s conftest$ac_exeext'
4766 { (eval echo "$as_me:4766: \"$ac_try\"") >&5
4769 echo "$as_me:4769: \$? = $ac_status" >&5
4770 (exit $ac_status); }; }; then
4771 gt_cv_func_dgettext_libc=yes
4773 echo "$as_me: failed program was:" >&5
4774 cat conftest.$ac_ext >&5
4775 gt_cv_func_dgettext_libc=no
4777 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4779 echo "$as_me:4779: result: $gt_cv_func_dgettext_libc" >&5
4780 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6
4782 if test "$gt_cv_func_dgettext_libc" != "yes"; then
4783 echo "$as_me:4783: checking for bindtextdomain in -lintl" >&5
4784 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
4785 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
4786 echo $ECHO_N "(cached) $ECHO_C" >&6
4788 ac_check_lib_save_LIBS=$LIBS
4790 cat >conftest.$ac_ext <<_ACEOF
4791 #line 4791 "configure"
4792 #include "confdefs.h"
4794 /* Override any gcc2 internal prototype to avoid an error. */
4798 /* We use char because int might match the return type of a gcc2
4799 builtin and then its argument prototype would still apply. */
4800 char bindtextdomain ();
4809 rm -f conftest.$ac_objext conftest$ac_exeext
4810 if { (eval echo "$as_me:4810: \"$ac_link\"") >&5
4811 (eval $ac_link) 2>&5
4813 echo "$as_me:4813: \$? = $ac_status" >&5
4814 (exit $ac_status); } &&
4815 { ac_try='test -s conftest$ac_exeext'
4816 { (eval echo "$as_me:4816: \"$ac_try\"") >&5
4819 echo "$as_me:4819: \$? = $ac_status" >&5
4820 (exit $ac_status); }; }; then
4821 ac_cv_lib_intl_bindtextdomain=yes
4823 echo "$as_me: failed program was:" >&5
4824 cat conftest.$ac_ext >&5
4825 ac_cv_lib_intl_bindtextdomain=no
4827 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4828 LIBS=$ac_check_lib_save_LIBS
4830 echo "$as_me:4830: result: $ac_cv_lib_intl_bindtextdomain" >&5
4831 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
4832 if test $ac_cv_lib_intl_bindtextdomain = yes; then
4833 echo "$as_me:4833: checking for dgettext in libintl" >&5
4834 echo $ECHO_N "checking for dgettext in libintl... $ECHO_C" >&6
4835 if test "${gt_cv_func_dgettext_libintl+set}" = set; then
4836 echo $ECHO_N "(cached) $ECHO_C" >&6
4838 echo "$as_me:4838: checking for dgettext in -lintl" >&5
4839 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
4840 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
4841 echo $ECHO_N "(cached) $ECHO_C" >&6
4843 ac_check_lib_save_LIBS=$LIBS
4845 cat >conftest.$ac_ext <<_ACEOF
4846 #line 4846 "configure"
4847 #include "confdefs.h"
4849 /* Override any gcc2 internal prototype to avoid an error. */
4853 /* We use char because int might match the return type of a gcc2
4854 builtin and then its argument prototype would still apply. */
4864 rm -f conftest.$ac_objext conftest$ac_exeext
4865 if { (eval echo "$as_me:4865: \"$ac_link\"") >&5
4866 (eval $ac_link) 2>&5
4868 echo "$as_me:4868: \$? = $ac_status" >&5
4869 (exit $ac_status); } &&
4870 { ac_try='test -s conftest$ac_exeext'
4871 { (eval echo "$as_me:4871: \"$ac_try\"") >&5
4874 echo "$as_me:4874: \$? = $ac_status" >&5
4875 (exit $ac_status); }; }; then
4876 ac_cv_lib_intl_dgettext=yes
4878 echo "$as_me: failed program was:" >&5
4879 cat conftest.$ac_ext >&5
4880 ac_cv_lib_intl_dgettext=no
4882 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4883 LIBS=$ac_check_lib_save_LIBS
4885 echo "$as_me:4885: result: $ac_cv_lib_intl_dgettext" >&5
4886 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
4887 if test $ac_cv_lib_intl_dgettext = yes; then
4888 gt_cv_func_dgettext_libintl=yes
4890 gt_cv_func_dgettext_libintl=no
4894 echo "$as_me:4894: result: $gt_cv_func_dgettext_libintl" >&5
4895 echo "${ECHO_T}$gt_cv_func_dgettext_libintl" >&6
4900 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
4901 LIBS="$LIBS -lintl";
4904 if test "$gt_cv_func_dgettext_libc" = "yes" \
4905 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
4907 cat >>confdefs.h <<\EOF
4908 #define HAVE_GETTEXT 1
4911 # Extract the first word of "msgfmt", so it can be a program name with args.
4912 set dummy msgfmt; ac_word=$2
4913 echo "$as_me:4913: checking for $ac_word" >&5
4914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4915 if test "${ac_cv_path_MSGFMT+set}" = set; then
4916 echo $ECHO_N "(cached) $ECHO_C" >&6
4920 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4923 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
4924 for ac_dir in $PATH; do
4925 test -z "$ac_dir" && ac_dir=.
4926 if test -f $ac_dir/$ac_word; then
4927 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
4928 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
4934 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
4938 MSGFMT="$ac_cv_path_MSGFMT"
4939 if test -n "$MSGFMT"; then
4940 echo "$as_me:4940: result: $MSGFMT" >&5
4941 echo "${ECHO_T}$MSGFMT" >&6
4943 echo "$as_me:4943: result: no" >&5
4944 echo "${ECHO_T}no" >&6
4946 if test "$MSGFMT" != "no"; then
4948 for ac_func in dcgettext
4950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4951 echo "$as_me:4951: checking for $ac_func" >&5
4952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4953 if eval "test \"\${$as_ac_var+set}\" = set"; then
4954 echo $ECHO_N "(cached) $ECHO_C" >&6
4956 cat >conftest.$ac_ext <<_ACEOF
4957 #line 4957 "configure"
4958 #include "confdefs.h"
4959 /* System header to define __stub macros and hopefully few prototypes,
4960 which can conflict with char $ac_func (); below. */
4962 /* Override any gcc2 internal prototype to avoid an error. */
4966 /* We use char because int might match the return type of a gcc2
4967 builtin and then its argument prototype would still apply. */
4974 /* The GNU C library defines this for functions which it implements
4975 to always fail with ENOSYS. Some functions are actually named
4976 something starting with __ and the normal name is an alias. */
4977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4987 rm -f conftest.$ac_objext conftest$ac_exeext
4988 if { (eval echo "$as_me:4988: \"$ac_link\"") >&5
4989 (eval $ac_link) 2>&5
4991 echo "$as_me:4991: \$? = $ac_status" >&5
4992 (exit $ac_status); } &&
4993 { ac_try='test -s conftest$ac_exeext'
4994 { (eval echo "$as_me:4994: \"$ac_try\"") >&5
4997 echo "$as_me:4997: \$? = $ac_status" >&5
4998 (exit $ac_status); }; }; then
4999 eval "$as_ac_var=yes"
5001 echo "$as_me: failed program was:" >&5
5002 cat conftest.$ac_ext >&5
5003 eval "$as_ac_var=no"
5005 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5007 echo "$as_me:5007: result: `eval echo '${'$as_ac_var'}'`" >&5
5008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5009 if test `eval echo '${'$as_ac_var'}'` = yes; then
5010 cat >>confdefs.h <<EOF
5011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5017 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5018 set dummy gmsgfmt; ac_word=$2
5019 echo "$as_me:5019: checking for $ac_word" >&5
5020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5021 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5022 echo $ECHO_N "(cached) $ECHO_C" >&6
5026 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5029 ac_save_IFS=$IFS; IFS=$ac_path_separator
5031 for ac_dir in $ac_dummy; do
5033 test -z "$ac_dir" && ac_dir=.
5034 if $as_executable_p "$ac_dir/$ac_word"; then
5035 ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
5036 echo "$as_me:5036: found $ac_dir/$ac_word" >&5
5041 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5045 GMSGFMT=$ac_cv_path_GMSGFMT
5047 if test -n "$GMSGFMT"; then
5048 echo "$as_me:5048: result: $GMSGFMT" >&5
5049 echo "${ECHO_T}$GMSGFMT" >&6
5051 echo "$as_me:5051: result: no" >&5
5052 echo "${ECHO_T}no" >&6
5055 # Extract the first word of "xgettext", so it can be a program name with args.
5056 set dummy xgettext; ac_word=$2
5057 echo "$as_me:5057: checking for $ac_word" >&5
5058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5059 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5060 echo $ECHO_N "(cached) $ECHO_C" >&6
5064 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5067 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5068 for ac_dir in $PATH; do
5069 test -z "$ac_dir" && ac_dir=.
5070 if test -f $ac_dir/$ac_word; then
5071 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5072 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
5078 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5082 XGETTEXT="$ac_cv_path_XGETTEXT"
5083 if test -n "$XGETTEXT"; then
5084 echo "$as_me:5084: result: $XGETTEXT" >&5
5085 echo "${ECHO_T}$XGETTEXT" >&6
5087 echo "$as_me:5087: result: no" >&5
5088 echo "${ECHO_T}no" >&6
5091 cat >conftest.$ac_ext <<_ACEOF
5092 #line 5092 "configure"
5093 #include "confdefs.h"
5098 extern int _nl_msg_cat_cntr;
5099 return _nl_msg_cat_cntr
5104 rm -f conftest.$ac_objext conftest$ac_exeext
5105 if { (eval echo "$as_me:5105: \"$ac_link\"") >&5
5106 (eval $ac_link) 2>&5
5108 echo "$as_me:5108: \$? = $ac_status" >&5
5109 (exit $ac_status); } &&
5110 { ac_try='test -s conftest$ac_exeext'
5111 { (eval echo "$as_me:5111: \"$ac_try\"") >&5
5114 echo "$as_me:5114: \$? = $ac_status" >&5
5115 (exit $ac_status); }; }; then
5119 echo "$as_me: failed program was:" >&5
5120 cat conftest.$ac_ext >&5
5124 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5129 # Added by Martin Baulig 12/15/98 for libc5 systems
5130 if test "$gt_cv_func_dgettext_libc" != "yes" \
5131 && test "$gt_cv_func_dgettext_libintl" = "yes"; then
5133 LIBS=`echo $LIBS | sed -e 's/-lintl//'`
5138 if test "$CATOBJEXT" = "NONE"; then
5139 nls_cv_use_gnu_gettext=yes
5143 if test "$nls_cv_use_gnu_gettext" != "yes"; then
5145 cat >>confdefs.h <<\EOF
5146 #define ENABLE_NLS 1
5153 if test "$XGETTEXT" != ":"; then
5154 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
5157 echo "$as_me:5157: result: found xgettext program is not GNU xgettext; ignore it" >&5
5158 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
5163 # We need to process the po/ directory.
5166 ac_config_commands="$ac_config_commands default-2"
5168 for lang in $ALL_LINGUAS; do
5169 GMOFILES="$GMOFILES $lang.gmo"
5170 POFILES="$POFILES $lang.po"
5173 if test "x$CATOBJEXT" != "x"; then
5174 if test "x$ALL_LINGUAS" = "x"; then
5177 echo "$as_me:5177: checking for catalogs to be installed" >&5
5178 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5180 for lang in ${LINGUAS=$ALL_LINGUAS}; do
5181 case "$ALL_LINGUAS" in
5182 *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;;
5185 LINGUAS=$NEW_LINGUAS
5186 echo "$as_me:5186: result: $LINGUAS" >&5
5187 echo "${ECHO_T}$LINGUAS" >&6
5190 if test -n "$LINGUAS"; then
5191 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
5195 test -d po || mkdir po
5196 if test "$CATOBJEXT" = ".cat"; then
5197 echo "$as_me:5197: checking for linux/version.h" >&5
5198 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5199 if test "${ac_cv_header_linux_version_h+set}" = set; then
5200 echo $ECHO_N "(cached) $ECHO_C" >&6
5202 cat >conftest.$ac_ext <<_ACEOF
5203 #line 5203 "configure"
5204 #include "confdefs.h"
5205 #include <linux/version.h>
5207 if { (eval echo "$as_me:5207: \"$ac_cpp conftest.$ac_ext\"") >&5
5208 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5210 egrep -v '^ *\+' conftest.er1 >conftest.err
5212 cat conftest.err >&5
5213 echo "$as_me:5213: \$? = $ac_status" >&5
5214 (exit $ac_status); } >/dev/null; then
5215 if test -s conftest.err; then
5216 ac_cpp_err=$ac_c_preproc_warn_flag
5223 if test -z "$ac_cpp_err"; then
5224 ac_cv_header_linux_version_h=yes
5226 echo "$as_me: failed program was:" >&5
5227 cat conftest.$ac_ext >&5
5228 ac_cv_header_linux_version_h=no
5230 rm -f conftest.err conftest.$ac_ext
5232 echo "$as_me:5232: result: $ac_cv_header_linux_version_h" >&5
5233 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5234 if test $ac_cv_header_linux_version_h = yes; then
5240 sed -e '/^#/d' $srcdir/po/$msgformat-msg.sed > po/po2msg.sed
5244 if test -n "$ac_aux_dir"; then
5245 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
5247 if test -z "$MKINSTALLDIRS"; then
5248 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5251 test -d po || mkdir po
5252 if test "x$srcdir" != "x."; then
5253 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5254 posrcprefix="$srcdir/"
5256 posrcprefix="../$srcdir/"
5262 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5263 < $srcdir/po/POTFILES.in > po/POTFILES
5265 if test "x${prefix}" = "xNONE"; then
5266 cat >>confdefs.h <<EOF
5267 #define PACKAGE_LOCALE_DIR "${ac_default_prefix}/${DATADIRNAME}/locale"
5270 cat >>confdefs.h <<EOF
5271 #define PACKAGE_DATA_DIR "${ac_default_prefix}/${DATADIRNAME}"
5275 cat >>confdefs.h <<EOF
5276 #define PACKAGE_LOCALE_DIR "${prefix}/${DATADIRNAME}/locale"
5279 cat >>confdefs.h <<EOF
5280 #define PACKAGE_DATA_DIR "${prefix}/${DATADIRNAME}"
5285 subdirs="$subdirs barcode-0.98"
5287 ac_config_files="$ac_config_files Makefile src/Makefile src/pixmaps/Makefile src/stock-pixmaps/Makefile po/Makefile.in doc/Makefile doc/C/Makefile glabels.spec"
5288 cat >confcache <<\_ACEOF
5289 # This file is a shell script that caches the results of configure
5290 # tests run on this system so they can be shared between configure
5291 # scripts and configure runs, see configure's option --config-cache.
5292 # It is not useful on other systems. If it contains results you don't
5293 # want to keep, you may remove or edit it.
5295 # config.status only pays attention to the cache file if you give it
5296 # the --recheck option to rerun configure.
5298 # `ac_cv_env_foo' variables (set or unset) will be overriden when
5299 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5304 # The following way of writing the cache mishandles newlines in values,
5305 # but we know of no workaround that is simple, portable, and efficient.
5306 # So, don't put newlines in cache variables' values.
5307 # Ultrix sh set writes to stderr and can't be redirected directly,
5308 # and sets the high bit in the cache file unless we assign to the vars.
5311 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5313 # `set' does not quote correctly, so add quotes (double-quote
5314 # substitution turns \\\\ into \\, and sed turns \\ into \).
5317 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5320 # `set' quotes correctly as required by POSIX, so do not add quotes.
5322 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5329 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5331 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5333 if cmp -s $cache_file confcache; then :; else
5334 if test -w $cache_file; then
5335 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5336 cat confcache >$cache_file
5338 echo "not updating unwritable cache $cache_file"
5343 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5344 # Let make expand exec_prefix.
5345 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5347 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5348 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5349 # trailing colons and then remove the whole line if VPATH becomes empty
5350 # (actually we leave an empty line to preserve line numbers).
5351 if test "x$srcdir" = x.; then
5352 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5353 s/:*\$(srcdir):*/:/;
5354 s/:*\${srcdir}:*/:/;
5356 s/^\([^=]*=[ ]*\):*/\1/;
5362 DEFS=-DHAVE_CONFIG_H
5364 : ${CONFIG_STATUS=./config.status}
5365 ac_clean_files_save=$ac_clean_files
5366 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5367 { echo "$as_me:5367: creating $CONFIG_STATUS" >&5
5368 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5369 cat >$CONFIG_STATUS <<_ACEOF
5371 # Generated automatically by configure.
5372 # Run this file to recreate the current configuration.
5373 # Compiler output produced by configure, useful for debugging
5374 # configure, is in config.log if it exists.
5377 SHELL=\${CONFIG_SHELL-$SHELL}
5378 ac_cs_invocation="\$0 \$@"
5382 cat >>$CONFIG_STATUS <<\_ACEOF
5383 # Be Bourne compatible
5384 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5387 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5391 # Name of the executable.
5392 as_me=`echo "$0" |sed 's,.*[\\/],,'`
5394 if expr a : '\(a\)' >/dev/null 2>&1; then
5400 rm -f conf$$ conf$$.exe conf$$.file
5402 if ln -s conf$$.file conf$$ 2>/dev/null; then
5403 # We could just check for DJGPP; but this test a) works b) is more generic
5404 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5405 if test -f conf$$.exe; then
5406 # Don't use ln at all; we don't have any links
5411 elif ln conf$$.file conf$$ 2>/dev/null; then
5416 rm -f conf$$ conf$$.exe conf$$.file
5418 as_executable_p="test -f"
5420 # Support unset when possible.
5421 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
5428 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
5429 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
5430 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
5431 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
5432 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
5433 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
5434 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
5435 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
5438 # We need space, tab and new line, in precisely that order.
5444 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
5450 # Files that config.status was made for.
5451 if test -n "$ac_config_files"; then
5452 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5455 if test -n "$ac_config_headers"; then
5456 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5459 if test -n "$ac_config_links"; then
5460 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5463 if test -n "$ac_config_commands"; then
5464 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5467 cat >>$CONFIG_STATUS <<\EOF
5470 \`$as_me' instantiates files from templates according to the
5471 current configuration.
5473 Usage: $0 [OPTIONS] [FILE]...
5475 -h, --help print this help, then exit
5476 -V, --version print version number, then exit
5477 -d, --debug don't remove temporary files
5478 --recheck update $as_me by reconfiguring in the same conditions
5479 --file=FILE[:TEMPLATE]
5480 instantiate the configuration file FILE
5481 --header=FILE[:TEMPLATE]
5482 instantiate the configuration header FILE
5484 Configuration files:
5487 Configuration headers:
5490 Configuration commands:
5493 Report bugs to <bug-autoconf@gnu.org>."
5496 cat >>$CONFIG_STATUS <<EOF
5498 glabels config.status 1.89.0
5499 configured by $0, generated by GNU Autoconf 2.52,
5500 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5502 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5503 Free Software Foundation, Inc.
5504 This config.status script is free software; the Free Software Foundation
5505 gives unlimited permission to copy, distribute and modify it."
5510 cat >>$CONFIG_STATUS <<\EOF
5511 # If no file are specified by the user, then we need to provide default
5512 # value. By we need to know if files were specified by the user.
5518 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5519 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5521 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
5525 *) # This is not an option, so the user has probably given explicit
5527 ac_need_defaults=false;;
5531 # Handling of the options.
5533 cat >>$CONFIG_STATUS <<EOF
5534 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5535 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
5536 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
5538 cat >>$CONFIG_STATUS <<\EOF
5539 --version | --vers* | -V )
5540 echo "$ac_cs_version"; exit 0 ;;
5542 # Conflict between --help and --header
5543 { { echo "$as_me:5543: error: ambiguous option: $1
5544 Try \`$0 --help' for more information." >&5
5545 echo "$as_me: error: ambiguous option: $1
5546 Try \`$0 --help' for more information." >&2;}
5547 { (exit 1); exit 1; }; };;
5548 --help | --hel | -h )
5549 echo "$ac_cs_usage"; exit 0 ;;
5550 --debug | --d* | -d )
5552 --file | --fil | --fi | --f )
5554 CONFIG_FILES="$CONFIG_FILES $1"
5555 ac_need_defaults=false;;
5556 --header | --heade | --head | --hea )
5558 CONFIG_HEADERS="$CONFIG_HEADERS $1"
5559 ac_need_defaults=false;;
5562 -*) { { echo "$as_me:5562: error: unrecognized option: $1
5563 Try \`$0 --help' for more information." >&5
5564 echo "$as_me: error: unrecognized option: $1
5565 Try \`$0 --help' for more information." >&2;}
5566 { (exit 1); exit 1; }; } ;;
5568 *) ac_config_targets="$ac_config_targets $1" ;;
5577 ## ----------------------- ##
5578 ## Running config.status. ##
5579 ## ----------------------- ##
5581 This file was extended by $as_me (glabels 1.89.0) 2.52, executed with
5582 CONFIG_FILES = $CONFIG_FILES
5583 CONFIG_HEADERS = $CONFIG_HEADERS
5584 CONFIG_LINKS = $CONFIG_LINKS
5585 CONFIG_COMMANDS = $CONFIG_COMMANDS
5587 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5592 cat >>$CONFIG_STATUS <<EOF
5594 # INIT-COMMANDS section.
5599 cat >>$CONFIG_STATUS <<\EOF
5600 for ac_config_target in $ac_config_targets
5602 case "$ac_config_target" in
5603 # Handling of arguments.
5604 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5605 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5606 "src/pixmaps/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/pixmaps/Makefile" ;;
5607 "src/stock-pixmaps/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/stock-pixmaps/Makefile" ;;
5608 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
5609 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
5610 "doc/C/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/C/Makefile" ;;
5611 "glabels.spec" ) CONFIG_FILES="$CONFIG_FILES glabels.spec" ;;
5612 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
5613 "default-2" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
5614 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5615 *) { { echo "$as_me:5615: error: invalid argument: $ac_config_target" >&5
5616 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5617 { (exit 1); exit 1; }; };;
5621 # If the user did not use the arguments to specify the items to instantiate,
5622 # then the envvar interface is used. Set only those that are not.
5623 # We use the long form for the default assignment because of an extremely
5624 # bizarre bug on SunOS 4.1.3.
5625 if $ac_need_defaults; then
5626 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5627 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5628 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5631 # Create a temporary directory, and hook for its removal unless debugging.
5634 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5635 trap '{ (exit 1); exit 1; }' 1 2 13 15
5638 # Create a (secure) tmp directory for tmp files.
5641 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
5642 test -n "$tmp" && test -d "$tmp"
5645 tmp=$TMPDIR/cs$$-$RANDOM
5646 (umask 077 && mkdir $tmp)
5649 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
5650 { (exit 1); exit 1; }
5655 cat >>$CONFIG_STATUS <<EOF
5658 # CONFIG_FILES section.
5661 # No need to generate the scripts if there are no CONFIG_FILES.
5662 # This happens for instance when ./config.status config.h
5663 if test -n "\$CONFIG_FILES"; then
5664 # Protect against being on the right side of a sed subst in config.status.
5665 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5666 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5667 s,@SHELL@,$SHELL,;t t
5668 s,@exec_prefix@,$exec_prefix,;t t
5669 s,@prefix@,$prefix,;t t
5670 s,@program_transform_name@,$program_transform_name,;t t
5671 s,@bindir@,$bindir,;t t
5672 s,@sbindir@,$sbindir,;t t
5673 s,@libexecdir@,$libexecdir,;t t
5674 s,@datadir@,$datadir,;t t
5675 s,@sysconfdir@,$sysconfdir,;t t
5676 s,@sharedstatedir@,$sharedstatedir,;t t
5677 s,@localstatedir@,$localstatedir,;t t
5678 s,@libdir@,$libdir,;t t
5679 s,@includedir@,$includedir,;t t
5680 s,@oldincludedir@,$oldincludedir,;t t
5681 s,@infodir@,$infodir,;t t
5682 s,@mandir@,$mandir,;t t
5683 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5684 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5685 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5686 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5687 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5688 s,@build_alias@,$build_alias,;t t
5689 s,@host_alias@,$host_alias,;t t
5690 s,@target_alias@,$target_alias,;t t
5691 s,@ECHO_C@,$ECHO_C,;t t
5692 s,@ECHO_N@,$ECHO_N,;t t
5693 s,@ECHO_T@,$ECHO_T,;t t
5694 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5697 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5698 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5699 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5700 s,@PACKAGE@,$PACKAGE,;t t
5701 s,@VERSION@,$VERSION,;t t
5702 s,@ACLOCAL@,$ACLOCAL,;t t
5703 s,@AUTOCONF@,$AUTOCONF,;t t
5704 s,@AUTOMAKE@,$AUTOMAKE,;t t
5705 s,@AUTOHEADER@,$AUTOHEADER,;t t
5706 s,@MAKEINFO@,$MAKEINFO,;t t
5707 s,@SET_MAKE@,$SET_MAKE,;t t
5708 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5709 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5710 s,@MAINT@,$MAINT,;t t
5711 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
5712 s,@PLATFORM_GNOME_2_TRUE@,$PLATFORM_GNOME_2_TRUE,;t t
5713 s,@PLATFORM_GNOME_2_FALSE@,$PLATFORM_GNOME_2_FALSE,;t t
5714 s,@GNOME_INTERFACE_VERSION@,$GNOME_INTERFACE_VERSION,;t t
5716 s,@CFLAGS@,$CFLAGS,;t t
5717 s,@LDFLAGS@,$LDFLAGS,;t t
5718 s,@CPPFLAGS@,$CPPFLAGS,;t t
5719 s,@ac_ct_CC@,$ac_ct_CC,;t t
5720 s,@EXEEXT@,$EXEEXT,;t t
5721 s,@OBJEXT@,$OBJEXT,;t t
5723 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
5724 s,@GLIB_GENMARSHAL@,$GLIB_GENMARSHAL,;t t
5725 s,@GLABELS_CFLAGS@,$GLABELS_CFLAGS,;t t
5726 s,@GLABELS_LIBS@,$GLABELS_LIBS,;t t
5727 s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
5728 s,@RANLIB@,$RANLIB,;t t
5729 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5730 s,@ALLOCA@,$ALLOCA,;t t
5731 s,@USE_NLS@,$USE_NLS,;t t
5732 s,@MSGFMT@,$MSGFMT,;t t
5733 s,@GMSGFMT@,$GMSGFMT,;t t
5734 s,@XGETTEXT@,$XGETTEXT,;t t
5735 s,@CATALOGS@,$CATALOGS,;t t
5736 s,@CATOBJEXT@,$CATOBJEXT,;t t
5737 s,@DATADIRNAME@,$DATADIRNAME,;t t
5738 s,@GMOFILES@,$GMOFILES,;t t
5739 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
5740 s,@INTLDEPS@,$INTLDEPS,;t t
5741 s,@INTLLIBS@,$INTLLIBS,;t t
5742 s,@INTLOBJS@,$INTLOBJS,;t t
5743 s,@POFILES@,$POFILES,;t t
5744 s,@POSUB@,$POSUB,;t t
5745 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
5746 s,@subdirs@,$subdirs,;t t
5751 cat >>$CONFIG_STATUS <<\EOF
5752 # Split the substitutions into bite-sized pieces for seds with
5753 # small command number limits, like on Digital OSF/1 and HP-UX.
5755 ac_sed_frag=1 # Number of current file.
5756 ac_beg=1 # First line for current file.
5757 ac_end=$ac_max_sed_lines # Line after last line for current file.
5760 while $ac_more_lines; do
5761 if test $ac_beg -gt 1; then
5762 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5764 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5766 if test ! -s $tmp/subs.frag; then
5769 # The purpose of the label and of the branching condition is to
5770 # speed up the sed processing (if there are no `@' at all, there
5771 # is no need to browse any of the substitutions).
5772 # These are the two extra sed commands mentioned above.
5774 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5775 if test -z "$ac_sed_cmds"; then
5776 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5778 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5780 ac_sed_frag=`expr $ac_sed_frag + 1`
5782 ac_end=`expr $ac_end + $ac_max_sed_lines`
5785 if test -z "$ac_sed_cmds"; then
5788 fi # test -n "$CONFIG_FILES"
5791 cat >>$CONFIG_STATUS <<\EOF
5792 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5793 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5795 - | *:- | *:-:* ) # input from stdin
5797 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5798 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5799 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5800 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5801 * ) ac_file_in=$ac_file.in ;;
5804 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5805 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5806 X"$ac_file" : 'X\(//\)[^/]' \| \
5807 X"$ac_file" : 'X\(//\)$' \| \
5808 X"$ac_file" : 'X\(/\)' \| \
5809 . : '\(.\)' 2>/dev/null ||
5811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5812 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5813 /^X\(\/\/\)$/{ s//\1/; q; }
5814 /^X\(\/\).*/{ s//\1/; q; }
5816 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
5818 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
5822 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5823 case $as_mkdir_dir in
5824 # Skip DOS drivespec
5825 ?:) as_incr_dir=$as_mkdir_dir ;;
5827 as_incr_dir=$as_incr_dir/$as_mkdir_dir
5828 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
5833 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
5834 # A "../" for each directory in $ac_dir_suffix.
5835 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
5837 ac_dir_suffix= ac_dots=
5842 if test -z "$ac_dots"; then
5845 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
5848 ac_srcdir=$srcdir$ac_dir_suffix;
5849 ac_top_srcdir=$srcdir ;;
5851 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
5852 ac_top_srcdir=$ac_dots$srcdir ;;
5856 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5857 *) ac_INSTALL=$ac_dots$INSTALL ;;
5860 if test x"$ac_file" != x-; then
5861 { echo "$as_me:5861: creating $ac_file" >&5
5862 echo "$as_me: creating $ac_file" >&6;}
5865 # Let's still pretend it is `configure' which instantiates (i.e., don't
5866 # use $as_me), people would be surprised to read:
5867 # /* config.h. Generated automatically by config.status. */
5868 configure_input="Generated automatically from `echo $ac_file_in |
5869 sed 's,.*/,,'` by configure."
5871 # First look for the input files in the build tree, otherwise in the
5873 ac_file_inputs=`IFS=:
5874 for f in $ac_file_in; do
5876 -) echo $tmp/stdin ;;
5878 # Absolute (can't be DOS-style, as IFS=:)
5879 test -f "$f" || { { echo "$as_me:5879: error: cannot find input file: $f" >&5
5880 echo "$as_me: error: cannot find input file: $f" >&2;}
5881 { (exit 1); exit 1; }; }
5884 if test -f "$f"; then
5887 elif test -f "$srcdir/$f"; then
5892 { { echo "$as_me:5892: error: cannot find input file: $f" >&5
5893 echo "$as_me: error: cannot find input file: $f" >&2;}
5894 { (exit 1); exit 1; }; }
5897 done` || { (exit 1); exit 1; }
5899 cat >>$CONFIG_STATUS <<EOF
5903 cat >>$CONFIG_STATUS <<\EOF
5905 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5906 s,@configure_input@,$configure_input,;t t
5907 s,@srcdir@,$ac_srcdir,;t t
5908 s,@top_srcdir@,$ac_top_srcdir,;t t
5909 s,@INSTALL@,$ac_INSTALL,;t t
5910 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5912 if test x"$ac_file" != x-; then
5913 mv $tmp/out $ac_file
5921 cat >>$CONFIG_STATUS <<\EOF
5924 # CONFIG_HEADER section.
5927 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5928 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5930 # ac_d sets the value in "#define NAME VALUE" lines.
5931 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5932 ac_dB='[ ].*$,\1#\2'
5935 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5936 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5937 ac_uB='$,\1#\2define\3'
5941 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5942 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5944 - | *:- | *:-:* ) # input from stdin
5946 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5947 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5948 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5949 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5950 * ) ac_file_in=$ac_file.in ;;
5953 test x"$ac_file" != x- && { echo "$as_me:5953: creating $ac_file" >&5
5954 echo "$as_me: creating $ac_file" >&6;}
5956 # First look for the input files in the build tree, otherwise in the
5958 ac_file_inputs=`IFS=:
5959 for f in $ac_file_in; do
5961 -) echo $tmp/stdin ;;
5963 # Absolute (can't be DOS-style, as IFS=:)
5964 test -f "$f" || { { echo "$as_me:5964: error: cannot find input file: $f" >&5
5965 echo "$as_me: error: cannot find input file: $f" >&2;}
5966 { (exit 1); exit 1; }; }
5969 if test -f "$f"; then
5972 elif test -f "$srcdir/$f"; then
5977 { { echo "$as_me:5977: error: cannot find input file: $f" >&5
5978 echo "$as_me: error: cannot find input file: $f" >&2;}
5979 { (exit 1); exit 1; }; }
5982 done` || { (exit 1); exit 1; }
5983 # Remove the trailing spaces.
5984 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5988 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5989 # `conftest.undefs', that substitutes the proper values into
5990 # config.h.in to produce config.h. The first handles `#define'
5991 # templates, and the second `#undef' templates.
5992 # And first: Protect against being on the right side of a sed subst in
5993 # config.status. Protect against being in an unquoted here document
5995 rm -f conftest.defines conftest.undefs
5996 # Using a here document instead of a string reduces the quoting nightmare.
5997 # Putting comments in sed scripts is not portable.
5999 # `end' is used to avoid that the second main sed command (meant for
6000 # 0-ary CPP macros) applies to n-ary macro definitions.
6001 # See the Autoconf documentation for `clear'.
6002 cat >confdef2sed.sed <<\EOF
6007 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
6009 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6012 # If some macros were called several times there might be several times
6013 # the same #defines, which is useless. Nevertheless, we may not want to
6014 # sort them, since we want the *last* AC-DEFINE to be honored.
6015 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6016 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6017 rm -f confdef2sed.sed
6019 # This sed command replaces #undef with comments. This is necessary, for
6020 # example, in the case of _POSIX_SOURCE, which is predefined and required
6021 # on some systems where configure will not decide to define it.
6022 cat >>conftest.undefs <<\EOF
6023 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6026 # Break up conftest.defines because some shells have a limit on the size
6027 # of here documents, and old seds have small limits too (100 cmds).
6028 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6029 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6030 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6031 echo ' :' >>$CONFIG_STATUS
6033 while grep . conftest.defines >/dev/null
6035 # Write a limited-size here document to $tmp/defines.sed.
6036 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6037 # Speed up: don't consider the non `#define' lines.
6038 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6039 # Work around the forget-to-reset-the-flag bug.
6040 echo 't clr' >>$CONFIG_STATUS
6041 echo ': clr' >>$CONFIG_STATUS
6042 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6044 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6048 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6049 rm -f conftest.defines
6050 mv conftest.tail conftest.defines
6052 rm -f conftest.defines
6053 echo ' fi # egrep' >>$CONFIG_STATUS
6054 echo >>$CONFIG_STATUS
6056 # Break up conftest.undefs because some shells have a limit on the size
6057 # of here documents, and old seds have small limits too (100 cmds).
6058 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6060 while grep . conftest.undefs >/dev/null
6062 # Write a limited-size here document to $tmp/undefs.sed.
6063 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6064 # Speed up: don't consider the non `#undef'
6065 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6066 # Work around the forget-to-reset-the-flag bug.
6067 echo 't clr' >>$CONFIG_STATUS
6068 echo ': clr' >>$CONFIG_STATUS
6069 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6071 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6075 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6076 rm -f conftest.undefs
6077 mv conftest.tail conftest.undefs
6079 rm -f conftest.undefs
6081 cat >>$CONFIG_STATUS <<\EOF
6082 # Let's still pretend it is `configure' which instantiates (i.e., don't
6083 # use $as_me), people would be surprised to read:
6084 # /* config.h. Generated automatically by config.status. */
6085 if test x"$ac_file" = x-; then
6086 echo "/* Generated automatically by configure. */" >$tmp/config.h
6088 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
6090 cat $tmp/in >>$tmp/config.h
6092 if test x"$ac_file" != x-; then
6093 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
6094 { echo "$as_me:6094: $ac_file is unchanged" >&5
6095 echo "$as_me: $ac_file is unchanged" >&6;}
6097 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6098 X"$ac_file" : 'X\(//\)[^/]' \| \
6099 X"$ac_file" : 'X\(//\)$' \| \
6100 X"$ac_file" : 'X\(/\)' \| \
6101 . : '\(.\)' 2>/dev/null ||
6103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6104 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6105 /^X\(\/\/\)$/{ s//\1/; q; }
6106 /^X\(\/\).*/{ s//\1/; q; }
6108 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
6110 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
6114 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6115 case $as_mkdir_dir in
6116 # Skip DOS drivespec
6117 ?:) as_incr_dir=$as_mkdir_dir ;;
6119 as_incr_dir=$as_incr_dir/$as_mkdir_dir
6120 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
6127 mv $tmp/config.h $ac_file
6135 cat >>$CONFIG_STATUS <<\EOF
6138 # CONFIG_COMMANDS section.
6140 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6141 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6142 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6145 default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
6146 default-2 ) case "$CONFIG_FILES" in *po/Makefile.in*)
6147 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
6153 cat >>$CONFIG_STATUS <<\EOF
6155 { (exit 0); exit 0; }
6157 chmod +x $CONFIG_STATUS
6158 ac_clean_files=$ac_clean_files_save
6160 # configure is writing to config.log, and then calls config.status.
6161 # config.status does its own redirection, appending to config.log.
6162 # Unfortunately, on DOS this fails, as config.log is still kept open
6163 # by configure, so config.status won't be able to write to it; its
6164 # output is simply discarded. So we exec the FD to /dev/null,
6165 # effectively closing config.log, so it can be properly (re)opened and
6166 # appended to by config.status. When coming back to configure, we
6167 # need to make the FD available again.
6168 if test "$no_create" != yes; then
6171 $SHELL $CONFIG_STATUS || ac_cs_success=false
6173 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6174 # would make configure fail if this is the last instruction.
6175 $ac_cs_success || { (exit 1); exit 1; }
6179 # CONFIG_SUBDIRS section.
6181 if test "$no_recursion" != yes; then
6183 # Remove --cache-file and --srcdir arguments so they do not pile up.
6184 ac_sub_configure_args=
6186 for ac_arg in $ac_configure_args; do
6187 if test -n "$ac_prev"; then
6192 -cache-file | --cache-file | --cache-fil | --cache-fi \
6193 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6194 ac_prev=cache_file ;;
6195 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
6196 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
6199 --config-cache | -C)
6201 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
6203 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6205 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
6209 for ac_subdir in : $subdirs; do test "x$ac_subdir" = x: && continue
6211 # Do not complain, so a configure script can configure whichever
6212 # parts of a large source tree are present.
6213 test -d $srcdir/$ac_subdir || continue
6215 { echo "$as_me:6215: configuring in $ac_subdir" >&5
6216 echo "$as_me: configuring in $ac_subdir" >&6;}
6219 *) { case "./$ac_subdir" in
6220 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
6223 as_dummy="./$ac_subdir"
6224 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6225 case $as_mkdir_dir in
6226 # Skip DOS drivespec
6227 ?:) as_incr_dir=$as_mkdir_dir ;;
6229 as_incr_dir=$as_incr_dir/$as_mkdir_dir
6230 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
6235 if test -d ./$ac_subdir; then :;
6237 { { echo "$as_me:6237: error: cannot create \`pwd\`/$ac_subdir" >&5
6238 echo "$as_me: error: cannot create \`pwd\`/$ac_subdir" >&2;}
6239 { (exit 1); exit 1; }; }
6247 # A "../" for each directory in /$ac_subdir.
6248 ac_dots=`echo $ac_subdir |
6249 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
6252 .) # No --srcdir option. We are building in place.
6253 ac_sub_srcdir=$srcdir ;;
6254 [\\/]* | ?:[\\/]* ) # Absolute path.
6255 ac_sub_srcdir=$srcdir/$ac_subdir ;;
6257 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
6260 # Check for guested configure; otherwise get Cygnus style configure.
6261 if test -f $ac_sub_srcdir/configure.gnu; then
6262 ac_sub_configure="$SHELL '$ac_sub_srcdir/configure.gnu'"
6263 elif test -f $ac_sub_srcdir/configure; then
6264 ac_sub_configure="$SHELL '$ac_sub_srcdir/configure'"
6265 elif test -f $ac_sub_srcdir/configure.in; then
6266 ac_sub_configure=$ac_configure
6268 { echo "$as_me:6268: WARNING: no configuration information is in $ac_subdir" >&5
6269 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2;}
6273 # The recursion is here.
6274 if test -n "$ac_sub_configure"; then
6275 # Make the cache file name correct relative to the subdirectory.
6277 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
6279 ac_sub_cache_file=$ac_dots$cache_file ;;
6282 { echo "$as_me:6282: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&5
6283 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&6;}
6284 # The eval makes quoting arguments work.
6285 eval $ac_sub_configure $ac_sub_configure_args \
6286 --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir ||
6287 { { echo "$as_me:6287: error: $ac_sub_configure failed for $ac_subdir" >&5
6288 echo "$as_me: error: $ac_sub_configure failed for $ac_subdir" >&2;}
6289 { (exit 1); exit 1; }; }
6300 Source code location: ${srcdir}