3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --with-gnome-includes Specify location of GNOME headers"
17 --with-gnome-libs Specify location of GNOME libs"
19 --with-gnome Specify prefix for GNOME files"
21 --enable-compile-warnings=[no/minimum/yes] Turn on compiler warnings."
23 --enable-iso-c Try to warn if code is not ISO C "
25 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
27 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
29 --disable-gtktest Do not try to compile and run a test GTK program"
31 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
33 --disable-nls do not use Native Language Support"
35 --with-included-gettext use the GNU gettext library included here"
37 --enable-img-width=WIDTH maximum image width to \
38 be used (default SVGA)"
40 --enable-img-height=HEIGHT maximum image height to \
41 be used (default SVGA)"
43 --enable-debug debug version (more verbose)"
45 # Initialize some variables set by options.
46 # The variables have the same names as the options, with
47 # dashes changed to underlines.
49 cache_file
=.
/config.cache
58 program_transform_name
=s
,x
,x
,
66 bindir
='${exec_prefix}/bin'
67 sbindir
='${exec_prefix}/sbin'
68 libexecdir
='${exec_prefix}/libexec'
69 datadir
='${prefix}/share'
70 sysconfdir
='${prefix}/etc'
71 sharedstatedir
='${prefix}/com'
72 localstatedir
='${prefix}/var'
73 libdir
='${exec_prefix}/lib'
74 includedir
='${prefix}/include'
75 oldincludedir
='/usr/include'
76 infodir
='${prefix}/info'
77 mandir
='${prefix}/man'
79 # Initialize some other variables.
82 SHELL
=${CONFIG_SHELL-/bin/sh}
83 # Maximum number of lines to put in a shell here document.
90 # If the previous option needs an argument, assign it.
91 if test -n "$ac_prev"; then
92 eval "$ac_prev=\$ac_option"
98 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
102 # Accept the important Cygnus configure options, so we can diagnose typos.
106 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
108 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
109 bindir
="$ac_optarg" ;;
111 -build |
--build |
--buil |
--bui |
--bu)
113 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
114 build
="$ac_optarg" ;;
116 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
117 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
118 ac_prev
=cache_file
;;
119 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
120 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
121 cache_file
="$ac_optarg" ;;
123 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
125 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
127 datadir
="$ac_optarg" ;;
129 -disable-* |
--disable-*)
130 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
131 # Reject names that are not valid shell variable names.
132 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
133 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
135 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
136 eval "enable_${ac_feature}=no" ;;
138 -enable-* |
--enable-*)
139 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
140 # Reject names that are not valid shell variable names.
141 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
142 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
144 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
149 eval "enable_${ac_feature}='$ac_optarg'" ;;
151 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
152 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
153 |
--exec |
--exe |
--ex)
154 ac_prev
=exec_prefix
;;
155 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
156 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
157 |
--exec=* |
--exe=* |
--ex=*)
158 exec_prefix
="$ac_optarg" ;;
160 -gas |
--gas |
--ga |
--g)
161 # Obsolete; use --with-gas.
164 -help |
--help |
--hel |
--he)
165 # Omit some internal or obsolete options to make the list less imposing.
166 # This message is too long to be a string in the A/UX 3.1 sh.
168 Usage: configure [options] [host]
169 Options: [defaults in brackets after descriptions]
171 --cache-file=FILE cache test results in FILE
172 --help print this message
173 --no-create do not create output files
174 --quiet, --silent do not print \`checking...' messages
175 --version print the version of autoconf that created configure
176 Directory and file names:
177 --prefix=PREFIX install architecture-independent files in PREFIX
179 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
181 --bindir=DIR user executables in DIR [EPREFIX/bin]
182 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
183 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
184 --datadir=DIR read-only architecture-independent data in DIR
186 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
187 --sharedstatedir=DIR modifiable architecture-independent data in DIR
189 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
190 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
191 --includedir=DIR C header files in DIR [PREFIX/include]
192 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
193 --infodir=DIR info documentation in DIR [PREFIX/info]
194 --mandir=DIR man documentation in DIR [PREFIX/man]
195 --srcdir=DIR find the sources in DIR [configure dir or ..]
196 --program-prefix=PREFIX prepend PREFIX to installed program names
197 --program-suffix=SUFFIX append SUFFIX to installed program names
198 --program-transform-name=PROGRAM
199 run sed PROGRAM on installed program names
203 --build=BUILD configure for building on BUILD [BUILD=HOST]
204 --host=HOST configure for HOST [guessed]
205 --target=TARGET configure for TARGET [TARGET=HOST]
206 Features and packages:
207 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
208 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
209 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
210 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
211 --x-includes=DIR X include files are in DIR
212 --x-libraries=DIR X library files are in DIR
214 if test -n "$ac_help"; then
215 echo "--enable and --with options recognized:$ac_help"
219 -host |
--host |
--hos |
--ho)
221 -host=* |
--host=* |
--hos=* |
--ho=*)
224 -includedir |
--includedir |
--includedi |
--included |
--include \
225 |
--includ |
--inclu |
--incl |
--inc)
226 ac_prev
=includedir
;;
227 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
228 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
229 includedir
="$ac_optarg" ;;
231 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
233 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
234 infodir
="$ac_optarg" ;;
236 -libdir |
--libdir |
--libdi |
--libd)
238 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
239 libdir
="$ac_optarg" ;;
241 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
242 |
--libexe |
--libex |
--libe)
243 ac_prev
=libexecdir
;;
244 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
245 |
--libexe=* |
--libex=* |
--libe=*)
246 libexecdir
="$ac_optarg" ;;
248 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
249 |
--localstate |
--localstat |
--localsta |
--localst \
250 |
--locals |
--local |
--loca |
--loc |
--lo)
251 ac_prev
=localstatedir
;;
252 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
253 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
254 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
255 localstatedir
="$ac_optarg" ;;
257 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
259 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
260 mandir
="$ac_optarg" ;;
263 # Obsolete; use --without-fp.
266 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
270 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
271 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
274 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
275 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
276 |
--oldin |
--oldi |
--old |
--ol |
--o)
277 ac_prev
=oldincludedir
;;
278 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
279 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
280 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
281 oldincludedir
="$ac_optarg" ;;
283 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
285 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
286 prefix
="$ac_optarg" ;;
288 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
289 |
--program-pre |
--program-pr |
--program-p)
290 ac_prev
=program_prefix
;;
291 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
292 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
293 program_prefix
="$ac_optarg" ;;
295 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
296 |
--program-suf |
--program-su |
--program-s)
297 ac_prev
=program_suffix
;;
298 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
299 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
300 program_suffix
="$ac_optarg" ;;
302 -program-transform-name |
--program-transform-name \
303 |
--program-transform-nam |
--program-transform-na \
304 |
--program-transform-n |
--program-transform- \
305 |
--program-transform |
--program-transfor \
306 |
--program-transfo |
--program-transf \
307 |
--program-trans |
--program-tran \
308 |
--progr-tra |
--program-tr |
--program-t)
309 ac_prev
=program_transform_name
;;
310 -program-transform-name=* |
--program-transform-name=* \
311 |
--program-transform-nam=* |
--program-transform-na=* \
312 |
--program-transform-n=* |
--program-transform-=* \
313 |
--program-transform=* |
--program-transfor=* \
314 |
--program-transfo=* |
--program-transf=* \
315 |
--program-trans=* |
--program-tran=* \
316 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
317 program_transform_name
="$ac_optarg" ;;
319 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
320 |
-silent |
--silent |
--silen |
--sile |
--sil)
323 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
325 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
327 sbindir
="$ac_optarg" ;;
329 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
330 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
331 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
333 ac_prev
=sharedstatedir
;;
334 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
335 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
336 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
338 sharedstatedir
="$ac_optarg" ;;
340 -site |
--site |
--sit)
342 -site=* |
--site=* |
--sit=*)
345 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
347 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
348 srcdir
="$ac_optarg" ;;
350 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
351 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
352 ac_prev
=sysconfdir
;;
353 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
354 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
355 sysconfdir
="$ac_optarg" ;;
357 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
359 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
360 target
="$ac_optarg" ;;
362 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
365 -version |
--version |
--versio |
--versi |
--vers)
366 echo "configure generated by autoconf version 2.13"
370 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
371 # Reject names that are not valid shell variable names.
372 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
373 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
375 ac_package
=`echo $ac_package| sed 's/-/_/g'`
380 eval "with_${ac_package}='$ac_optarg'" ;;
382 -without-* |
--without-*)
383 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
384 # Reject names that are not valid shell variable names.
385 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
386 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
388 ac_package
=`echo $ac_package| sed 's/-/_/g'`
389 eval "with_${ac_package}=no" ;;
392 # Obsolete; use --with-x.
395 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
396 |
--x-incl |
--x-inc |
--x-in |
--x-i)
397 ac_prev
=x_includes
;;
398 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
399 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
400 x_includes
="$ac_optarg" ;;
402 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
403 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
404 ac_prev
=x_libraries
;;
405 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
406 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
407 x_libraries
="$ac_optarg" ;;
409 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
413 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
414 echo "configure: warning: $ac_option: invalid host type" 1>&2
416 if test "x$nonopt" != xNONE
; then
417 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
425 if test -n "$ac_prev"; then
426 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
429 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
431 # File descriptor usage:
434 # 2 errors and warnings
435 # 3 some systems may open it to /dev/tty
436 # 4 used on the Kubota Titan
437 # 6 checking for... messages and results
438 # 5 compiler messages saved in config.log
439 if test "$silent" = yes; then
447 This file contains any messages produced by compilers while
448 running configure, to aid debugging if configure makes a mistake.
451 # Strip out --no-create and --no-recursion so they do not pile up.
452 # Also quote any args containing shell metacharacters.
457 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
458 |
--no-cr |
--no-c) ;;
459 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
460 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
461 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
462 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
463 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
468 # Only set these to C if already set. These must not be set unconditionally
469 # because not all systems understand e.g. LANG=C (notably SCO).
470 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
471 # Non-C LC_CTYPE values break the ctype check.
472 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
473 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
474 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
475 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
477 # confdefs.h avoids OS command line length limits that DEFS can exceed.
478 rm -rf conftest
* confdefs.h
479 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
482 # A filename unique to this package, relative to the directory that
483 # configure is in, which we can look for to find out if srcdir is correct.
484 ac_unique_file
=configure.
in
486 # Find the source files, if location was not specified.
487 if test -z "$srcdir"; then
488 ac_srcdir_defaulted
=yes
489 # Try the directory containing this script, then its parent.
491 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
492 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
494 if test ! -r $srcdir/$ac_unique_file; then
498 ac_srcdir_defaulted
=no
500 if test ! -r $srcdir/$ac_unique_file; then
501 if test "$ac_srcdir_defaulted" = yes; then
502 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
504 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
507 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
509 # Prefer explicitly selected file to automatically selected ones.
510 if test -z "$CONFIG_SITE"; then
511 if test "x$prefix" != xNONE
; then
512 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
514 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
517 for ac_site_file
in $CONFIG_SITE; do
518 if test -r "$ac_site_file"; then
519 echo "loading site script $ac_site_file"
524 if test -r "$cache_file"; then
525 echo "loading cache $cache_file"
528 echo "creating cache $cache_file"
533 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
534 ac_cpp
='$CPP $CPPFLAGS'
535 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
536 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
537 cross_compiling
=$ac_cv_prog_cc_cross
541 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
542 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
543 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
550 ac_n
= ac_c
='\c' ac_t
=
555 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
556 if test -f $ac_dir/install-sh
; then
558 ac_install_sh
="$ac_aux_dir/install-sh -c"
560 elif test -f $ac_dir/install.sh
; then
562 ac_install_sh
="$ac_aux_dir/install.sh -c"
566 if test -z "$ac_aux_dir"; then
567 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
569 ac_config_guess
=$ac_aux_dir/config.guess
570 ac_config_sub
=$ac_aux_dir/config.sub
571 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
573 # Find a good install program. We prefer a C program (faster),
574 # so one script is as good as another. But avoid the broken or
575 # incompatible versions:
576 # SysV /etc/install, /usr/sbin/install
577 # SunOS /usr/etc/install
580 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
581 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
582 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
583 # ./install, which can be erroneously created by make from ./install.sh.
584 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
585 echo "configure:586: checking for a BSD compatible install" >&5
586 if test -z "$INSTALL"; then
587 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
588 echo $ac_n "(cached) $ac_c" 1>&6
590 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
591 for ac_dir
in $PATH; do
592 # Account for people who put trailing slashes in PATH elements.
594 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
596 # OSF1 and SCO ODT 3.0 have their own names for install.
597 # Don't use installbsd from OSF since it installs stuff as root
599 for ac_prog
in ginstall scoinst
install; do
600 if test -f $ac_dir/$ac_prog; then
601 if test $ac_prog = install &&
602 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
603 # AIX install. It has an incompatible calling convention.
606 ac_cv_path_install
="$ac_dir/$ac_prog -c"
617 if test "${ac_cv_path_install+set}" = set; then
618 INSTALL
="$ac_cv_path_install"
620 # As a last resort, use the slow shell script. We don't cache a
621 # path for INSTALL within a source directory, because that will
622 # break other packages using the cache if that directory is
623 # removed, or if the path is relative.
624 INSTALL
="$ac_install_sh"
627 echo "$ac_t""$INSTALL" 1>&6
629 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
630 # It thinks the first close brace ends the variable substitution.
631 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
633 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
635 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
637 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
638 echo "configure:639: checking whether build environment is sane" >&5
641 echo timestamp
> conftestfile
642 # Do `set' in a subshell so we don't clobber the current shell's
643 # arguments. Must try -L first in case configure is actually a
644 # symlink; some systems play weird games with the mod time of symlinks
645 # (eg FreeBSD returns the mod time of the symlink's containing
648 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
649 if test "$*" = "X"; then
651 set X
`ls -t $srcdir/configure conftestfile`
653 if test "$*" != "X $srcdir/configure conftestfile" \
654 && test "$*" != "X conftestfile $srcdir/configure"; then
656 # If neither matched, then we have a broken ls. This can happen
657 # if, for instance, CONFIG_SHELL is bash and it inherits a
658 # broken ls alias from the environment. This has actually
659 # happened. Such a system could not be considered "sane".
660 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
661 alias in your environment" 1>&2; exit 1; }
664 test "$2" = conftestfile
670 { echo "configure: error: newly created file is older than distributed files!
671 Check your system clock" 1>&2; exit 1; }
674 echo "$ac_t""yes" 1>&6
675 if test "$program_transform_name" = s
,x
,x
,; then
676 program_transform_name
=
678 # Double any \ or $. echo might interpret backslashes.
679 cat <<\EOF_SED
> conftestsed
680 s
,\\,\\\\,g
; s
,\$
,$$
,g
682 program_transform_name
="`echo $program_transform_name|sed -f conftestsed`"
685 test "$program_prefix" != NONE
&&
686 program_transform_name
="s,^,${program_prefix},; $program_transform_name"
687 # Use a double $ so make ignores it.
688 test "$program_suffix" != NONE
&&
689 program_transform_name
="s,\$\$,${program_suffix},; $program_transform_name"
691 # sed with no file args requires a program.
692 test "$program_transform_name" = "" && program_transform_name
="s,x,x,"
694 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
695 echo "configure:696: checking whether ${MAKE-make} sets \${MAKE}" >&5
696 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
697 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
698 echo $ac_n "(cached) $ac_c" 1>&6
700 cat > conftestmake
<<\EOF
702 @
echo 'ac_maketemp="${MAKE}"'
704 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
705 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
706 if test -n "$ac_maketemp"; then
707 eval ac_cv_prog_make_
${ac_make}_set
=yes
709 eval ac_cv_prog_make_
${ac_make}_set
=no
713 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
714 echo "$ac_t""yes" 1>&6
717 echo "$ac_t""no" 1>&6
718 SET_MAKE
="MAKE=${MAKE-make}"
726 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
727 { echo "configure: error: source directory already configured; run "make distclean
" there first" 1>&2; exit 1; }
729 cat >> confdefs.h
<<EOF
730 #define PACKAGE "$PACKAGE"
733 cat >> confdefs.h
<<EOF
734 #define VERSION "$VERSION"
739 missing_dir
=`cd $ac_aux_dir && pwd`
740 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
741 echo "configure:742: checking for working aclocal" >&5
742 # Run test in a subshell; some versions of sh will print an error if
743 # an executable is not found, even if stderr is redirected.
744 # Redirect stdin to placate older versions of autoconf. Sigh.
745 if (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
747 echo "$ac_t""found" 1>&6
749 ACLOCAL
="$missing_dir/missing aclocal"
750 echo "$ac_t""missing" 1>&6
753 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
754 echo "configure:755: checking for working autoconf" >&5
755 # Run test in a subshell; some versions of sh will print an error if
756 # an executable is not found, even if stderr is redirected.
757 # Redirect stdin to placate older versions of autoconf. Sigh.
758 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
760 echo "$ac_t""found" 1>&6
762 AUTOCONF
="$missing_dir/missing autoconf"
763 echo "$ac_t""missing" 1>&6
766 echo $ac_n "checking for working automake""... $ac_c" 1>&6
767 echo "configure:768: checking for working automake" >&5
768 # Run test in a subshell; some versions of sh will print an error if
769 # an executable is not found, even if stderr is redirected.
770 # Redirect stdin to placate older versions of autoconf. Sigh.
771 if (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
773 echo "$ac_t""found" 1>&6
775 AUTOMAKE
="$missing_dir/missing automake"
776 echo "$ac_t""missing" 1>&6
779 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
780 echo "configure:781: checking for working autoheader" >&5
781 # Run test in a subshell; some versions of sh will print an error if
782 # an executable is not found, even if stderr is redirected.
783 # Redirect stdin to placate older versions of autoconf. Sigh.
784 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
785 AUTOHEADER
=autoheader
786 echo "$ac_t""found" 1>&6
788 AUTOHEADER
="$missing_dir/missing autoheader"
789 echo "$ac_t""missing" 1>&6
792 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
793 echo "configure:794: checking for working makeinfo" >&5
794 # Run test in a subshell; some versions of sh will print an error if
795 # an executable is not found, even if stderr is redirected.
796 # Redirect stdin to placate older versions of autoconf. Sigh.
797 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
799 echo "$ac_t""found" 1>&6
801 MAKEINFO
="$missing_dir/missing makeinfo"
802 echo "$ac_t""missing" 1>&6
814 INSIDE_GNOME_COMMON_TRUE
=
815 INSIDE_GNOME_COMMON_FALSE
='#'
817 INSIDE_GNOME_COMMON_TRUE
='#'
818 INSIDE_GNOME_COMMON_FALSE
=
821 test -n "$ACLOCAL_FLAGS" && ACLOCAL
="$ACLOCAL $ACLOCAL_FLAGS"
823 for k
in macros
; do ACLOCAL
="$ACLOCAL -I $k" ; done
836 # Check whether --with-gnome-includes or --without-gnome-includes was given.
837 if test "${with_gnome_includes+set}" = set; then
838 withval
="$with_gnome_includes"
840 CFLAGS
="$CFLAGS -I$withval"
845 # Check whether --with-gnome-libs or --without-gnome-libs was given.
846 if test "${with_gnome_libs+set}" = set; then
847 withval
="$with_gnome_libs"
849 LDFLAGS
="$LDFLAGS -L$withval"
850 gnome_prefix
=$withval
855 # Check whether --with-gnome or --without-gnome was given.
856 if test "${with_gnome+set}" = set; then
857 withval
="$with_gnome"
858 if test x
$withval = xyes
; then
862 if test "x$withval" = xno
; then
866 LDFLAGS
="$LDFLAGS -L$withval/lib"
867 CFLAGS
="$CFLAGS -I$withval/include"
868 gnome_prefix
=$withval/lib
876 if test "x$want_gnome" = xyes
; then
878 # Extract the first word of "gnome-config", so it can be a program name with args.
879 set dummy gnome-config
; ac_word
=$2
880 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
881 echo "configure:882: checking for $ac_word" >&5
882 if eval "test \"`echo '$''{'ac_cv_path_GNOME_CONFIG'+set}'`\" = set"; then
883 echo $ac_n "(cached) $ac_c" 1>&6
885 case "$GNOME_CONFIG" in
887 ac_cv_path_GNOME_CONFIG
="$GNOME_CONFIG" # Let the user override the test with a path.
890 ac_cv_path_GNOME_CONFIG
="$GNOME_CONFIG" # Let the user override the test with a dos path.
893 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
895 for ac_dir
in $ac_dummy; do
896 test -z "$ac_dir" && ac_dir
=.
897 if test -f $ac_dir/$ac_word; then
898 ac_cv_path_GNOME_CONFIG
="$ac_dir/$ac_word"
903 test -z "$ac_cv_path_GNOME_CONFIG" && ac_cv_path_GNOME_CONFIG
="no"
907 GNOME_CONFIG
="$ac_cv_path_GNOME_CONFIG"
908 if test -n "$GNOME_CONFIG"; then
909 echo "$ac_t""$GNOME_CONFIG" 1>&6
911 echo "$ac_t""no" 1>&6
914 if test "$GNOME_CONFIG" = "no"; then
915 no_gnome_config
="yes"
917 echo $ac_n "checking if $GNOME_CONFIG works""... $ac_c" 1>&6
918 echo "configure:919: checking if $GNOME_CONFIG works" >&5
919 if $GNOME_CONFIG --libs-only-l gnome
>/dev
/null
2>&1; then
920 echo "$ac_t""yes" 1>&6
923 # Extract the first word of "orbit-config", so it can be a program name with args.
924 set dummy orbit-config
; ac_word
=$2
925 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
926 echo "configure:927: checking for $ac_word" >&5
927 if eval "test \"`echo '$''{'ac_cv_path_ORBIT_CONFIG'+set}'`\" = set"; then
928 echo $ac_n "(cached) $ac_c" 1>&6
930 case "$ORBIT_CONFIG" in
932 ac_cv_path_ORBIT_CONFIG
="$ORBIT_CONFIG" # Let the user override the test with a path.
935 ac_cv_path_ORBIT_CONFIG
="$ORBIT_CONFIG" # Let the user override the test with a dos path.
938 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
940 for ac_dir
in $ac_dummy; do
941 test -z "$ac_dir" && ac_dir
=.
942 if test -f $ac_dir/$ac_word; then
943 ac_cv_path_ORBIT_CONFIG
="$ac_dir/$ac_word"
948 test -z "$ac_cv_path_ORBIT_CONFIG" && ac_cv_path_ORBIT_CONFIG
="no"
952 ORBIT_CONFIG
="$ac_cv_path_ORBIT_CONFIG"
953 if test -n "$ORBIT_CONFIG"; then
954 echo "$ac_t""$ORBIT_CONFIG" 1>&6
956 echo "$ac_t""no" 1>&6
959 # Extract the first word of "orbit-idl", so it can be a program name with args.
960 set dummy orbit-idl
; ac_word
=$2
961 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
962 echo "configure:963: checking for $ac_word" >&5
963 if eval "test \"`echo '$''{'ac_cv_path_ORBIT_IDL'+set}'`\" = set"; then
964 echo $ac_n "(cached) $ac_c" 1>&6
968 ac_cv_path_ORBIT_IDL
="$ORBIT_IDL" # Let the user override the test with a path.
971 ac_cv_path_ORBIT_IDL
="$ORBIT_IDL" # Let the user override the test with a dos path.
974 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
976 for ac_dir
in $ac_dummy; do
977 test -z "$ac_dir" && ac_dir
=.
978 if test -f $ac_dir/$ac_word; then
979 ac_cv_path_ORBIT_IDL
="$ac_dir/$ac_word"
984 test -z "$ac_cv_path_ORBIT_IDL" && ac_cv_path_ORBIT_IDL
="no"
988 ORBIT_IDL
="$ac_cv_path_ORBIT_IDL"
989 if test -n "$ORBIT_IDL"; then
990 echo "$ac_t""$ORBIT_IDL" 1>&6
992 echo "$ac_t""no" 1>&6
995 echo $ac_n "checking for working ORBit environment""... $ac_c" 1>&6
996 echo "configure:997: checking for working ORBit environment" >&5
997 if eval "test \"`echo '$''{'gnome_cv_orbit_found'+set}'`\" = set"; then
998 echo $ac_n "(cached) $ac_c" 1>&6
1001 if test x
$ORBIT_CONFIG = xno
-o x
$ORBIT_IDL = xno
; then
1002 gnome_cv_orbit_found
=no
1004 gnome_cv_orbit_found
=yes
1009 echo "$ac_t""$gnome_cv_orbit_found" 1>&6
1012 if test x
$gnome_cv_orbit_found = xyes
; then
1014 HAVE_ORBIT_FALSE
='#'
1019 if test x
$gnome_cv_orbit_found = xyes
; then
1021 ORBIT_CFLAGS
=`orbit-config --cflags client server`
1022 ORBIT_LIBS
=`orbit-config --use-service=name --libs client server`
1026 if test xfail
= xfailure
; then
1027 { echo "configure: error: ORBit not installed or installation problem" 1>&2; exit 1; }
1031 echo $ac_n "checking for gnorba libraries""... $ac_c" 1>&6
1032 echo "configure:1033: checking for gnorba libraries" >&5
1033 if eval "test \"`echo '$''{'gnome_cv_gnorba_found'+set}'`\" = set"; then
1034 echo $ac_n "(cached) $ac_c" 1>&6
1037 gnome_cv_gnorba_found
=no
1038 if test x
$gnome_cv_orbit_found = xyes
; then
1039 GNORBA_CFLAGS
="`gnome-config --cflags gnorba gnomeui`"
1040 GNORBA_LIBS
="`gnome-config --libs gnorba gnomeui`"
1041 if test -n "$GNORBA_LIBS"; then
1042 gnome_cv_gnorba_found
=yes
1048 echo "$ac_t""$gnome_cv_gnorba_found" 1>&6
1051 if test x
$gnome_cv_gnorba_found = xyes
; then
1053 HAVE_GNORBA_FALSE
='#'
1055 HAVE_GNORBA_TRUE
='#'
1058 if test x
$gnome_cv_orbit_found = xyes
; then
1060 GNORBA_CFLAGS
="`gnome-config --cflags gnorba gnomeui`"
1061 GNORBA_LIBS
="`gnome-config --libs gnorba gnomeui`"
1065 if test xfail
= xfailure
; then
1066 { echo "configure: error: gnorba library not installed or installation problem" 1>&2; exit 1; }
1070 GNOME_LIBS
="`$GNOME_CONFIG --libs-only-l gnome`"
1071 GNOMEUI_LIBS
="`$GNOME_CONFIG --libs-only-l gnomeui`"
1072 GNOMEGNORBA_LIBS
="`$GNOME_CONFIG --libs-only-l gnorba gnomeui`"
1073 GTKXMHTML_LIBS
="`$GNOME_CONFIG --libs-only-l gtkxmhtml`"
1074 ZVT_LIBS
="`$GNOME_CONFIG --libs-only-l zvt`"
1075 GNOME_LIBDIR
="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`"
1076 GNOME_INCLUDEDIR
="`$GNOME_CONFIG --cflags gnorba gnomeui`"
1079 echo "$ac_t""no" 1>&6
1080 no_gnome_config
="yes"
1084 if test x
$exec_prefix = xNONE
; then
1085 if test x
$prefix = xNONE
; then
1086 gnome_prefix
=$ac_default_prefix/lib
1088 gnome_prefix
=$prefix/lib
1091 gnome_prefix
=`eval echo \`echo $libdir\
``
1094 if test "$no_gnome_config" = "yes"; then
1095 echo $ac_n "checking for gnomeConf.sh file in $gnome_prefix""... $ac_c" 1>&6
1096 echo "configure:1097: checking for gnomeConf.sh file in $gnome_prefix" >&5
1097 if test -f $gnome_prefix/gnomeConf.sh
; then
1098 echo "$ac_t""found" 1>&6
1099 echo "loading gnome configuration from" \
1100 "$gnome_prefix/gnomeConf.sh"
1101 .
$gnome_prefix/gnomeConf.sh
1104 echo "$ac_t""not found" 1>&6
1105 if test xfail
= xfail
; then
1106 { echo "configure: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" 1>&2; exit 1; }
1115 echo $ac_n "checking extra library \"$i\"""... $ac_c" 1>&6
1116 echo "configure:1117: checking extra library \"$i\"" >&5
1120 GNOME_APPLETS_LIBS
=`$GNOME_CONFIG --libs-only-l applets`
1121 echo "$ac_t""$GNOME_APPLETS_LIBS" 1>&6;;
1124 GNOME_DOCKLETS_LIBS
=`$GNOME_CONFIG --libs-only-l docklets`
1125 echo "$ac_t""$GNOME_DOCKLETS_LIBS" 1>&6;;
1128 GNOME_CAPPLET_LIBS
=`$GNOME_CONFIG --libs-only-l capplet`
1129 echo "$ac_t""$GNOME_CAPPLET_LIBS" 1>&6;;
1131 echo "$ac_t""unknown library" 1>&6
1138 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1139 echo "configure:1140: checking for strerror in -lcposix" >&5
1140 ac_lib_var
=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1141 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1142 echo $ac_n "(cached) $ac_c" 1>&6
1144 ac_save_LIBS
="$LIBS"
1145 LIBS
="-lcposix $LIBS"
1146 cat > conftest.
$ac_ext <<EOF
1147 #line 1148 "configure"
1148 #include "confdefs.h"
1149 /* Override any gcc2 internal prototype to avoid an error. */
1150 /* We use char because int might match the return type of a gcc2
1151 builtin and then its argument prototype would still apply. */
1158 if { (eval echo configure
:1159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1160 eval "ac_cv_lib_$ac_lib_var=yes"
1162 echo "configure: failed program was:" >&5
1163 cat conftest.
$ac_ext >&5
1165 eval "ac_cv_lib_$ac_lib_var=no"
1168 LIBS
="$ac_save_LIBS"
1171 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1172 echo "$ac_t""yes" 1>&6
1173 LIBS
="$LIBS -lcposix"
1175 echo "$ac_t""no" 1>&6
1180 # Extract the first word of "gcc", so it can be a program name with args.
1181 set dummy gcc
; ac_word
=$2
1182 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1183 echo "configure:1184: checking for $ac_word" >&5
1184 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1185 echo $ac_n "(cached) $ac_c" 1>&6
1187 if test -n "$CC"; then
1188 ac_cv_prog_CC
="$CC" # Let the user override the test.
1190 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1192 for ac_dir
in $ac_dummy; do
1193 test -z "$ac_dir" && ac_dir
=.
1194 if test -f $ac_dir/$ac_word; then
1203 if test -n "$CC"; then
1204 echo "$ac_t""$CC" 1>&6
1206 echo "$ac_t""no" 1>&6
1209 if test -z "$CC"; then
1210 # Extract the first word of "cc", so it can be a program name with args.
1211 set dummy cc
; ac_word
=$2
1212 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1213 echo "configure:1214: checking for $ac_word" >&5
1214 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1215 echo $ac_n "(cached) $ac_c" 1>&6
1217 if test -n "$CC"; then
1218 ac_cv_prog_CC
="$CC" # Let the user override the test.
1220 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1223 for ac_dir
in $ac_dummy; do
1224 test -z "$ac_dir" && ac_dir
=.
1225 if test -f $ac_dir/$ac_word; then
1226 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1227 ac_prog_rejected
=yes
1235 if test $ac_prog_rejected = yes; then
1236 # We found a bogon in the path, so make sure we never use it.
1237 set dummy
$ac_cv_prog_CC
1239 if test $# -gt 0; then
1240 # We chose a different compiler from the bogus one.
1241 # However, it has the same basename, so the bogon will be chosen
1242 # first if we set CC to just the basename; use the full file name.
1244 set dummy
"$ac_dir/$ac_word" "$@"
1252 if test -n "$CC"; then
1253 echo "$ac_t""$CC" 1>&6
1255 echo "$ac_t""no" 1>&6
1258 if test -z "$CC"; then
1259 case "`uname -s`" in
1261 # Extract the first word of "cl", so it can be a program name with args.
1262 set dummy cl
; ac_word
=$2
1263 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1264 echo "configure:1265: checking for $ac_word" >&5
1265 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1266 echo $ac_n "(cached) $ac_c" 1>&6
1268 if test -n "$CC"; then
1269 ac_cv_prog_CC
="$CC" # Let the user override the test.
1271 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1273 for ac_dir
in $ac_dummy; do
1274 test -z "$ac_dir" && ac_dir
=.
1275 if test -f $ac_dir/$ac_word; then
1284 if test -n "$CC"; then
1285 echo "$ac_t""$CC" 1>&6
1287 echo "$ac_t""no" 1>&6
1292 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1295 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1296 echo "configure:1297: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1299 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1300 ac_cpp
='$CPP $CPPFLAGS'
1301 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1302 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1303 cross_compiling
=$ac_cv_prog_cc_cross
1305 cat > conftest.
$ac_ext << EOF
1307 #line 1308 "configure"
1308 #include "confdefs.h"
1312 if { (eval echo configure
:1313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1313 ac_cv_prog_cc_works
=yes
1314 # If we can't run a trivial program, we are probably using a cross compiler.
1315 if (.
/conftest
; exit) 2>/dev
/null
; then
1316 ac_cv_prog_cc_cross
=no
1318 ac_cv_prog_cc_cross
=yes
1321 echo "configure: failed program was:" >&5
1322 cat conftest.
$ac_ext >&5
1323 ac_cv_prog_cc_works
=no
1327 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1328 ac_cpp
='$CPP $CPPFLAGS'
1329 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1330 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1331 cross_compiling
=$ac_cv_prog_cc_cross
1333 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1334 if test $ac_cv_prog_cc_works = no
; then
1335 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1337 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1338 echo "configure:1339: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1339 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1340 cross_compiling
=$ac_cv_prog_cc_cross
1342 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1343 echo "configure:1344: checking whether we are using GNU C" >&5
1344 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1345 echo $ac_n "(cached) $ac_c" 1>&6
1347 cat > conftest.c
<<EOF
1352 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1359 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1361 if test $ac_cv_prog_gcc = yes; then
1367 ac_test_CFLAGS
="${CFLAGS+set}"
1368 ac_save_CFLAGS
="$CFLAGS"
1370 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1371 echo "configure:1372: checking whether ${CC-cc} accepts -g" >&5
1372 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1373 echo $ac_n "(cached) $ac_c" 1>&6
1375 echo 'void f(){}' > conftest.c
1376 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1385 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1386 if test "$ac_test_CFLAGS" = set; then
1387 CFLAGS
="$ac_save_CFLAGS"
1388 elif test $ac_cv_prog_cc_g = yes; then
1389 if test "$GCC" = yes; then
1395 if test "$GCC" = yes; then
1405 echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6
1406 echo "configure:1407: checking for ${CC-cc} option to accept ANSI C" >&5
1407 if eval "test \"`echo '$''{'am_cv_prog_cc_stdc'+set}'`\" = set"; then
1408 echo $ac_n "(cached) $ac_c" 1>&6
1410 am_cv_prog_cc_stdc
=no
1412 # Don't try gcc -ansi; that turns off useful extensions and
1413 # breaks some systems' header files.
1414 # AIX -qlanglvl=ansi
1415 # Ultrix and OSF/1 -std1
1416 # HP-UX -Aa -D_HPUX_SOURCE
1417 # SVR4 -Xc -D__EXTENSIONS__
1418 for ac_arg
in "" -qlanglvl=ansi
-std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1420 CC
="$ac_save_CC $ac_arg"
1421 cat > conftest.
$ac_ext <<EOF
1422 #line 1423 "configure"
1423 #include "confdefs.h"
1426 #include <sys/types.h>
1427 #include <sys/stat.h>
1428 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1429 struct buf { int x; };
1430 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1431 static char *e (p, i)
1437 static char *f (char * (*g) (char **, int), char **p, ...)
1442 s = g (p, va_arg (v,int));
1446 int test (int i, double x);
1447 struct s1 {int (*f) (int a);};
1448 struct s2 {int (*f) (double a);};
1449 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1455 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1459 if { (eval echo configure
:1460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1461 am_cv_prog_cc_stdc
="$ac_arg"; break
1463 echo "configure: failed program was:" >&5
1464 cat conftest.
$ac_ext >&5
1472 if test -z "$am_cv_prog_cc_stdc"; then
1473 echo "$ac_t""none needed" 1>&6
1475 echo "$ac_t""$am_cv_prog_cc_stdc" 1>&6
1477 case "x$am_cv_prog_cc_stdc" in
1479 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
1482 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1483 echo "configure:1484: checking how to run the C preprocessor" >&5
1484 # On Suns, sometimes $CPP names a directory.
1485 if test -n "$CPP" && test -d "$CPP"; then
1488 if test -z "$CPP"; then
1489 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1490 echo $ac_n "(cached) $ac_c" 1>&6
1492 # This must be in double quotes, not single quotes, because CPP may get
1493 # substituted into the Makefile and "${CC-cc}" will confuse make.
1495 # On the NeXT, cc -E runs the code through the compiler's parser,
1496 # not just through cpp.
1497 cat > conftest.
$ac_ext <<EOF
1498 #line 1499 "configure"
1499 #include "confdefs.h"
1503 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1504 { (eval echo configure
:1505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1505 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1506 if test -z "$ac_err"; then
1510 echo "configure: failed program was:" >&5
1511 cat conftest.
$ac_ext >&5
1513 CPP
="${CC-cc} -E -traditional-cpp"
1514 cat > conftest.
$ac_ext <<EOF
1515 #line 1516 "configure"
1516 #include "confdefs.h"
1520 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1521 { (eval echo configure
:1522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1522 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1523 if test -z "$ac_err"; then
1527 echo "configure: failed program was:" >&5
1528 cat conftest.
$ac_ext >&5
1530 CPP
="${CC-cc} -nologo -E"
1531 cat > conftest.
$ac_ext <<EOF
1532 #line 1533 "configure"
1533 #include "confdefs.h"
1537 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1538 { (eval echo configure
:1539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1539 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1540 if test -z "$ac_err"; then
1544 echo "configure: failed program was:" >&5
1545 cat conftest.
$ac_ext >&5
1554 ac_cv_prog_CPP
="$CPP"
1556 CPP
="$ac_cv_prog_CPP"
1558 ac_cv_prog_CPP
="$CPP"
1560 echo "$ac_t""$CPP" 1>&6
1562 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1563 echo "configure:1564: checking for ANSI C header files" >&5
1564 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1565 echo $ac_n "(cached) $ac_c" 1>&6
1567 cat > conftest.
$ac_ext <<EOF
1568 #line 1569 "configure"
1569 #include "confdefs.h"
1575 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1576 { (eval echo configure
:1577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1577 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1578 if test -z "$ac_err"; then
1580 ac_cv_header_stdc
=yes
1583 echo "configure: failed program was:" >&5
1584 cat conftest.
$ac_ext >&5
1586 ac_cv_header_stdc
=no
1590 if test $ac_cv_header_stdc = yes; then
1591 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1592 cat > conftest.
$ac_ext <<EOF
1593 #line 1594 "configure"
1594 #include "confdefs.h"
1597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1598 egrep "memchr" >/dev
/null
2>&1; then
1602 ac_cv_header_stdc
=no
1608 if test $ac_cv_header_stdc = yes; then
1609 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1610 cat > conftest.
$ac_ext <<EOF
1611 #line 1612 "configure"
1612 #include "confdefs.h"
1615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1616 egrep "free" >/dev
/null
2>&1; then
1620 ac_cv_header_stdc
=no
1626 if test $ac_cv_header_stdc = yes; then
1627 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1628 if test "$cross_compiling" = yes; then
1631 cat > conftest.
$ac_ext <<EOF
1632 #line 1633 "configure"
1633 #include "confdefs.h"
1635 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1636 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1637 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1638 int main () { int i; for (i = 0; i < 256; i++)
1639 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1643 if { (eval echo configure
:1644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
1647 echo "configure: failed program was:" >&5
1648 cat conftest.
$ac_ext >&5
1650 ac_cv_header_stdc
=no
1658 echo "$ac_t""$ac_cv_header_stdc" 1>&6
1659 if test $ac_cv_header_stdc = yes; then
1660 cat >> confdefs.h
<<\EOF
1661 #define STDC_HEADERS 1
1668 # Check whether --enable-compile-warnings or --disable-compile-warnings was given.
1669 if test "${enable_compile_warnings+set}" = set; then
1670 enableval
="$enable_compile_warnings"
1673 enable_compile_warnings
=minimum
1677 echo $ac_n "checking what warning flags to pass to the C compiler""... $ac_c" 1>&6
1678 echo "configure:1679: checking what warning flags to pass to the C compiler" >&5
1680 if test "x$GCC" != xyes
; then
1681 enable_compile_warnings
=no
1684 if test "x$enable_compile_warnings" != "xno"; then
1685 if test "x$GCC" = "xyes"; then
1688 *) warnCFLAGS
="-Wall -Wunused" ;;
1691 ## -W is not all that useful. And it cannot be controlled
1692 ## with individual -Wno-xxx flags, unlike -Wall
1693 if test "x$enable_compile_warnings" = "xyes"; then
1694 warnCFLAGS
="$warnCFLAGS -Wmissing-prototypes -Wmissing-declarations"
1698 echo "$ac_t""$warnCFLAGS" 1>&6
1700 # Check whether --enable-iso-c or --disable-iso-c was given.
1701 if test "${enable_iso_c+set}" = set; then
1702 enableval
="$enable_iso_c"
1709 echo $ac_n "checking what language compliance flags to pass to the C compiler""... $ac_c" 1>&6
1710 echo "configure:1711: checking what language compliance flags to pass to the C compiler" >&5
1712 if test "x$enable_iso_c" != "xno"; then
1713 if test "x$GCC" = "xyes"; then
1716 *) complCFLAGS
="$complCFLAGS -ansi" ;;
1720 *\ \
-pedantic\ \
*) ;;
1721 *) complCFLAGS
="$complCFLAGS -pedantic" ;;
1725 echo "$ac_t""$complCFLAGS" 1>&6
1726 if test "x$cflags_set" != "xyes"; then
1727 CFLAGS
="$CFLAGS $warnCFLAGS $complCFLAGS"
1734 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
1735 echo "configure:1736: checking for pthread_create in -lpthread" >&5
1736 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
1737 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1738 echo $ac_n "(cached) $ac_c" 1>&6
1740 ac_save_LIBS
="$LIBS"
1741 LIBS
="-lpthread $LIBS"
1742 cat > conftest.
$ac_ext <<EOF
1743 #line 1744 "configure"
1744 #include "confdefs.h"
1745 /* Override any gcc2 internal prototype to avoid an error. */
1746 /* We use char because int might match the return type of a gcc2
1747 builtin and then its argument prototype would still apply. */
1748 char pthread_create();
1754 if { (eval echo configure
:1755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1756 eval "ac_cv_lib_$ac_lib_var=yes"
1758 echo "configure: failed program was:" >&5
1759 cat conftest.
$ac_ext >&5
1761 eval "ac_cv_lib_$ac_lib_var=no"
1764 LIBS
="$ac_save_LIBS"
1767 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1768 echo "$ac_t""yes" 1>&6
1769 PTHREAD_LIB
="-lpthread"
1771 echo "$ac_t""no" 1>&6
1772 echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6
1773 echo "configure:1774: checking for pthread_create in -lpthreads" >&5
1774 ac_lib_var
=`echo pthreads'_'pthread_create | sed 'y%./+-%__p_%'`
1775 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1776 echo $ac_n "(cached) $ac_c" 1>&6
1778 ac_save_LIBS
="$LIBS"
1779 LIBS
="-lpthreads $LIBS"
1780 cat > conftest.
$ac_ext <<EOF
1781 #line 1782 "configure"
1782 #include "confdefs.h"
1783 /* Override any gcc2 internal prototype to avoid an error. */
1784 /* We use char because int might match the return type of a gcc2
1785 builtin and then its argument prototype would still apply. */
1786 char pthread_create();
1792 if { (eval echo configure
:1793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1794 eval "ac_cv_lib_$ac_lib_var=yes"
1796 echo "configure: failed program was:" >&5
1797 cat conftest.
$ac_ext >&5
1799 eval "ac_cv_lib_$ac_lib_var=no"
1802 LIBS
="$ac_save_LIBS"
1805 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1806 echo "$ac_t""yes" 1>&6
1807 PTHREAD_LIB
="-lpthreads"
1809 echo "$ac_t""no" 1>&6
1810 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
1811 echo "configure:1812: checking for pthread_create in -lc_r" >&5
1812 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
1813 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1814 echo $ac_n "(cached) $ac_c" 1>&6
1816 ac_save_LIBS
="$LIBS"
1818 cat > conftest.
$ac_ext <<EOF
1819 #line 1820 "configure"
1820 #include "confdefs.h"
1821 /* Override any gcc2 internal prototype to avoid an error. */
1822 /* We use char because int might match the return type of a gcc2
1823 builtin and then its argument prototype would still apply. */
1824 char pthread_create();
1830 if { (eval echo configure
:1831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1832 eval "ac_cv_lib_$ac_lib_var=yes"
1834 echo "configure: failed program was:" >&5
1835 cat conftest.
$ac_ext >&5
1837 eval "ac_cv_lib_$ac_lib_var=no"
1840 LIBS
="$ac_save_LIBS"
1843 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1844 echo "$ac_t""yes" 1>&6
1847 echo "$ac_t""no" 1>&6
1848 echo $ac_n "checking for pthread_create""... $ac_c" 1>&6
1849 echo "configure:1850: checking for pthread_create" >&5
1850 if eval "test \"`echo '$''{'ac_cv_func_pthread_create'+set}'`\" = set"; then
1851 echo $ac_n "(cached) $ac_c" 1>&6
1853 cat > conftest.
$ac_ext <<EOF
1854 #line 1855 "configure"
1855 #include "confdefs.h"
1856 /* System header to define __stub macros and hopefully few prototypes,
1857 which can conflict with char pthread_create(); below. */
1859 /* Override any gcc2 internal prototype to avoid an error. */
1860 /* We use char because int might match the return type of a gcc2
1861 builtin and then its argument prototype would still apply. */
1862 char pthread_create();
1866 /* The GNU C library defines this for functions which it implements
1867 to always fail with ENOSYS. Some functions are actually named
1868 something starting with __ and the normal name is an alias. */
1869 #if defined (__stub_pthread_create) || defined (__stub___pthread_create)
1877 if { (eval echo configure
:1878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1879 eval "ac_cv_func_pthread_create=yes"
1881 echo "configure: failed program was:" >&5
1882 cat conftest.
$ac_ext >&5
1884 eval "ac_cv_func_pthread_create=no"
1889 if eval "test \"`echo '$ac_cv_func_'pthread_create`\" = yes"; then
1890 echo "$ac_t""yes" 1>&6
1893 echo "$ac_t""no" 1>&6
1909 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1910 if test "${with_gtk_prefix+set}" = set; then
1911 withval
="$with_gtk_prefix"
1912 gtk_config_prefix
="$withval"
1914 gtk_config_prefix
=""
1917 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1918 if test "${with_gtk_exec_prefix+set}" = set; then
1919 withval
="$with_gtk_exec_prefix"
1920 gtk_config_exec_prefix
="$withval"
1922 gtk_config_exec_prefix
=""
1925 # Check whether --enable-gtktest or --disable-gtktest was given.
1926 if test "${enable_gtktest+set}" = set; then
1927 enableval
="$enable_gtktest"
1938 gtk_config_args
="$gtk_config_args gthread"
1943 if test x
$gtk_config_exec_prefix != x
; then
1944 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
1945 if test x
${GTK_CONFIG+set} != xset
; then
1946 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk-config
1949 if test x
$gtk_config_prefix != x
; then
1950 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
1951 if test x
${GTK_CONFIG+set} != xset
; then
1952 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk-config
1956 # Extract the first word of "gtk-config", so it can be a program name with args.
1957 set dummy gtk-config
; ac_word
=$2
1958 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1959 echo "configure:1960: checking for $ac_word" >&5
1960 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
1961 echo $ac_n "(cached) $ac_c" 1>&6
1963 case "$GTK_CONFIG" in
1965 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
1968 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
1971 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1973 for ac_dir
in $ac_dummy; do
1974 test -z "$ac_dir" && ac_dir
=.
1975 if test -f $ac_dir/$ac_word; then
1976 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
1981 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
1985 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
1986 if test -n "$GTK_CONFIG"; then
1987 echo "$ac_t""$GTK_CONFIG" 1>&6
1989 echo "$ac_t""no" 1>&6
1992 min_gtk_version
=1.2.0
1993 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
1994 echo "configure:1995: checking for GTK - version >= $min_gtk_version" >&5
1996 if test "$GTK_CONFIG" = "no" ; then
1999 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
2000 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
2001 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
2002 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
2003 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
2004 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
2005 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
2006 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
2007 if test "x$enable_gtktest" = "xyes" ; then
2008 ac_save_CFLAGS
="$CFLAGS"
2009 ac_save_LIBS
="$LIBS"
2010 CFLAGS
="$CFLAGS $GTK_CFLAGS"
2011 LIBS
="$GTK_LIBS $LIBS"
2013 if test "$cross_compiling" = yes; then
2014 echo $ac_n "cross compiling; assumed OK... $ac_c"
2016 cat > conftest.
$ac_ext <<EOF
2017 #line 2018 "configure"
2018 #include "confdefs.h"
2020 #include <gtk/gtk.h>
2027 int major, minor, micro;
2030 system ("touch conf.gtktest");
2032 /* HP/UX 9 (%@#!) writes to sscanf strings */
2033 tmp_version = g_strdup("$min_gtk_version");
2034 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
2035 printf("%s, bad version string\n", "$min_gtk_version");
2039 if ((gtk_major_version != $gtk_config_major_version) ||
2040 (gtk_minor_version != $gtk_config_minor_version) ||
2041 (gtk_micro_version != $gtk_config_micro_version))
2043 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
2044 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
2045 gtk_major_version, gtk_minor_version, gtk_micro_version);
2046 printf ("*** was found! If gtk-config was correct, then it is best\n");
2047 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
2048 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
2049 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
2050 printf("*** required on your system.\n");
2051 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
2052 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
2053 printf("*** before re-running configure\n");
2055 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
2056 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
2057 (gtk_minor_version != GTK_MINOR_VERSION) ||
2058 (gtk_micro_version != GTK_MICRO_VERSION))
2060 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
2061 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
2062 printf("*** library (version %d.%d.%d)\n",
2063 gtk_major_version, gtk_minor_version, gtk_micro_version);
2065 #endif /* defined (GTK_MAJOR_VERSION) ... */
2068 if ((gtk_major_version > major) ||
2069 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
2070 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
2076 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
2077 gtk_major_version, gtk_minor_version, gtk_micro_version);
2078 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
2079 major, minor, micro);
2080 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
2082 printf("*** If you have already installed a sufficiently new version, this error\n");
2083 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
2084 printf("*** being found. The easiest way to fix this is to remove the old version\n");
2085 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
2086 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
2087 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
2088 printf("*** so that the correct libraries are found at run-time))\n");
2095 if { (eval echo configure
:2096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
2099 echo "configure: failed program was:" >&5
2100 cat conftest.
$ac_ext >&5
2107 CFLAGS
="$ac_save_CFLAGS"
2108 LIBS
="$ac_save_LIBS"
2111 if test "x$no_gtk" = x
; then
2112 echo "$ac_t""yes" 1>&6
2115 echo "$ac_t""no" 1>&6
2116 if test "$GTK_CONFIG" = "no" ; then
2117 echo "*** The gtk-config script installed by GTK could not be found"
2118 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
2119 echo "*** your path, or set the GTK_CONFIG environment variable to the"
2120 echo "*** full path to gtk-config."
2122 if test -f conf.gtktest
; then
2125 echo "*** Could not run GTK test program, checking why..."
2126 CFLAGS
="$CFLAGS $GTK_CFLAGS"
2127 LIBS
="$LIBS $GTK_LIBS"
2128 cat > conftest.
$ac_ext <<EOF
2129 #line 2130 "configure"
2130 #include "confdefs.h"
2132 #include <gtk/gtk.h>
2136 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
2139 if { (eval echo configure
:2140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2141 echo "*** The test program compiled, but did not run. This usually means"
2142 echo "*** that the run-time linker is not finding GTK or finding the wrong"
2143 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
2144 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
2145 echo "*** to the installed location Also, make sure you have run ldconfig if that"
2146 echo "*** is required on your system"
2148 echo "*** If you have an old version installed, it is best to remove it, although"
2149 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
2151 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
2152 echo "*** came with the system with the command"
2154 echo "*** rpm --erase --nodeps gtk gtk-devel"
2156 echo "configure: failed program was:" >&5
2157 cat conftest.
$ac_ext >&5
2159 echo "*** The test program failed to compile or link. See the file config.log for the"
2160 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
2161 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
2162 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
2165 CFLAGS
="$ac_save_CFLAGS"
2166 LIBS
="$ac_save_LIBS"
2171 { echo "configure: error: GTK not installed" 1>&2; exit 1; }
2177 CPPFLAGS
="$CPPFLAGS $GTK_CFLAGS"
2179 saved_ldflags
="$LDFLAGS"
2180 LDFLAGS
="$LDFLAGS $GTK_LIBS"
2182 gnome_cv_passdown_x_libs
="$GTK_LIBS"
2183 gnome_cv_passdown_X_LIBS
="$GTK_LIBS"
2184 gnome_cv_passdown_X_CFLAGS
="$GTK_CFLAGS"
2185 gnome_cv_passdown_GTK_LIBS
="$GTK_LIBS"
2187 LDFLAGS
="$saved_ldflags $GTK_LIBS"
2197 echo $ac_n "checking for SmcSaveYourselfDone in -lSM""... $ac_c" 1>&6
2198 echo "configure:2199: checking for SmcSaveYourselfDone in -lSM" >&5
2199 ac_lib_var
=`echo SM'_'SmcSaveYourselfDone | sed 'y%./+-%__p_%'`
2200 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2201 echo $ac_n "(cached) $ac_c" 1>&6
2203 ac_save_LIBS
="$LIBS"
2204 LIBS
="-lSM $x_libs -lICE $LIBS"
2205 cat > conftest.
$ac_ext <<EOF
2206 #line 2207 "configure"
2207 #include "confdefs.h"
2208 /* Override any gcc2 internal prototype to avoid an error. */
2209 /* We use char because int might match the return type of a gcc2
2210 builtin and then its argument prototype would still apply. */
2211 char SmcSaveYourselfDone();
2214 SmcSaveYourselfDone()
2217 if { (eval echo configure
:2218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2219 eval "ac_cv_lib_$ac_lib_var=yes"
2221 echo "configure: failed program was:" >&5
2222 cat conftest.
$ac_ext >&5
2224 eval "ac_cv_lib_$ac_lib_var=no"
2227 LIBS
="$ac_save_LIBS"
2230 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2231 echo "$ac_t""yes" 1>&6
2232 GTK_LIBS
="-lSM -lICE $GTK_LIBS"
2234 echo "$ac_t""no" 1>&6
2241 if test "$GNOME_HAVE_SM" = true
; then
2242 for ac_hdr
in X11
/SM
/SMlib.h
2244 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2245 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2246 echo "configure:2247: checking for $ac_hdr" >&5
2247 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2248 echo $ac_n "(cached) $ac_c" 1>&6
2250 cat > conftest.
$ac_ext <<EOF
2251 #line 2252 "configure"
2252 #include "confdefs.h"
2255 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2256 { (eval echo configure
:2257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2257 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2258 if test -z "$ac_err"; then
2260 eval "ac_cv_header_$ac_safe=yes"
2263 echo "configure: failed program was:" >&5
2264 cat conftest.
$ac_ext >&5
2266 eval "ac_cv_header_$ac_safe=no"
2270 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2271 echo "$ac_t""yes" 1>&6
2272 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2273 cat >> confdefs.h
<<EOF
2274 #define $ac_tr_hdr 1
2278 echo "$ac_t""no" 1>&6
2285 if test "$GNOME_HAVE_SM" = true
; then
2286 cat >> confdefs.h
<<\EOF
2287 #define HAVE_LIBSM 1
2293 echo $ac_n "checking for XpmFreeXpmImage in -lXpm""... $ac_c" 1>&6
2294 echo "configure:2295: checking for XpmFreeXpmImage in -lXpm" >&5
2295 ac_lib_var
=`echo Xpm'_'XpmFreeXpmImage | sed 'y%./+-%__p_%'`
2296 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2297 echo $ac_n "(cached) $ac_c" 1>&6
2299 ac_save_LIBS
="$LIBS"
2300 LIBS
="-lXpm $x_libs $LIBS"
2301 cat > conftest.
$ac_ext <<EOF
2302 #line 2303 "configure"
2303 #include "confdefs.h"
2304 /* Override any gcc2 internal prototype to avoid an error. */
2305 /* We use char because int might match the return type of a gcc2
2306 builtin and then its argument prototype would still apply. */
2307 char XpmFreeXpmImage();
2313 if { (eval echo configure
:2314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2315 eval "ac_cv_lib_$ac_lib_var=yes"
2317 echo "configure: failed program was:" >&5
2318 cat conftest.
$ac_ext >&5
2320 eval "ac_cv_lib_$ac_lib_var=no"
2323 LIBS
="$ac_save_LIBS"
2326 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2327 echo "$ac_t""yes" 1>&6
2330 echo "$ac_t""no" 1>&6
2336 LDFLAGS
="$saved_ldflags"
2341 ALL_LINGUAS
="ca de nl"
2344 # Make sure we can run config.sub.
2345 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
2346 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
2349 echo $ac_n "checking host system type""... $ac_c" 1>&6
2350 echo "configure:2351: checking host system type" >&5
2353 case "$host_alias" in
2357 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
2358 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
2360 *) host_alias
=$nonopt ;;
2364 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
2365 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2366 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2367 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2368 echo "$ac_t""$host" 1>&6
2370 # Extract the first word of "ranlib", so it can be a program name with args.
2371 set dummy ranlib
; ac_word
=$2
2372 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2373 echo "configure:2374: checking for $ac_word" >&5
2374 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2375 echo $ac_n "(cached) $ac_c" 1>&6
2377 if test -n "$RANLIB"; then
2378 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2380 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2382 for ac_dir
in $ac_dummy; do
2383 test -z "$ac_dir" && ac_dir
=.
2384 if test -f $ac_dir/$ac_word; then
2385 ac_cv_prog_RANLIB
="ranlib"
2390 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
2393 RANLIB
="$ac_cv_prog_RANLIB"
2394 if test -n "$RANLIB"; then
2395 echo "$ac_t""$RANLIB" 1>&6
2397 echo "$ac_t""no" 1>&6
2400 echo $ac_n "checking for working const""... $ac_c" 1>&6
2401 echo "configure:2402: checking for working const" >&5
2402 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
2403 echo $ac_n "(cached) $ac_c" 1>&6
2405 cat > conftest.
$ac_ext <<EOF
2406 #line 2407 "configure"
2407 #include "confdefs.h"
2411 /* Ultrix mips cc rejects this. */
2412 typedef int charset[2]; const charset x;
2413 /* SunOS 4.1.1 cc rejects this. */
2414 char const *const *ccp;
2416 /* NEC SVR4.0.2 mips cc rejects this. */
2417 struct point {int x, y;};
2418 static struct point const zero = {0,0};
2419 /* AIX XL C 1.02.0.0 rejects this.
2420 It does not let you subtract one const X* pointer from another in an arm
2421 of an if-expression whose if-part is not a constant expression */
2422 const char *g = "string";
2423 ccp = &g + (g ? g-g : 0);
2424 /* HPUX 7.0 cc rejects these. */
2427 ccp = (char const *const *) p;
2428 { /* SCO 3.2v4 cc rejects this. */
2430 char const *s = 0 ? (char *) 0 : (char const *) 0;
2434 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
2436 const int *foo = &x[0];
2439 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
2440 typedef const int *iptr;
2444 { /* AIX XL C 1.02.0.0 rejects this saying
2445 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
2446 struct s { int j; const int *ap[3]; };
2447 struct s *b; b->j = 5;
2449 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2455 if { (eval echo configure
:2456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2459 echo "configure: failed program was:" >&5
2460 cat conftest.
$ac_ext >&5
2467 echo "$ac_t""$ac_cv_c_const" 1>&6
2468 if test $ac_cv_c_const = no
; then
2469 cat >> confdefs.h
<<\EOF
2475 echo $ac_n "checking for inline""... $ac_c" 1>&6
2476 echo "configure:2477: checking for inline" >&5
2477 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
2478 echo $ac_n "(cached) $ac_c" 1>&6
2481 for ac_kw
in inline __inline__ __inline
; do
2482 cat > conftest.
$ac_ext <<EOF
2483 #line 2484 "configure"
2484 #include "confdefs.h"
2490 if { (eval echo configure
:2491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2492 ac_cv_c_inline
=$ac_kw; break
2494 echo "configure: failed program was:" >&5
2495 cat conftest.
$ac_ext >&5
2502 echo "$ac_t""$ac_cv_c_inline" 1>&6
2503 case "$ac_cv_c_inline" in
2505 no
) cat >> confdefs.h
<<\EOF
2509 *) cat >> confdefs.h
<<EOF
2510 #define inline $ac_cv_c_inline
2515 echo $ac_n "checking for off_t""... $ac_c" 1>&6
2516 echo "configure:2517: checking for off_t" >&5
2517 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
2518 echo $ac_n "(cached) $ac_c" 1>&6
2520 cat > conftest.
$ac_ext <<EOF
2521 #line 2522 "configure"
2522 #include "confdefs.h"
2523 #include <sys/types.h>
2529 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2530 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2532 ac_cv_type_off_t
=yes
2540 echo "$ac_t""$ac_cv_type_off_t" 1>&6
2541 if test $ac_cv_type_off_t = no
; then
2542 cat >> confdefs.h
<<\EOF
2548 echo $ac_n "checking for size_t""... $ac_c" 1>&6
2549 echo "configure:2550: checking for size_t" >&5
2550 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
2551 echo $ac_n "(cached) $ac_c" 1>&6
2553 cat > conftest.
$ac_ext <<EOF
2554 #line 2555 "configure"
2555 #include "confdefs.h"
2556 #include <sys/types.h>
2562 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2563 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2565 ac_cv_type_size_t
=yes
2568 ac_cv_type_size_t
=no
2573 echo "$ac_t""$ac_cv_type_size_t" 1>&6
2574 if test $ac_cv_type_size_t = no
; then
2575 cat >> confdefs.h
<<\EOF
2576 #define size_t unsigned
2581 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
2582 # for constant arguments. Useless!
2583 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
2584 echo "configure:2585: checking for working alloca.h" >&5
2585 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
2586 echo $ac_n "(cached) $ac_c" 1>&6
2588 cat > conftest.
$ac_ext <<EOF
2589 #line 2590 "configure"
2590 #include "confdefs.h"
2593 char *p = alloca(2 * sizeof(int));
2596 if { (eval echo configure
:2597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2598 ac_cv_header_alloca_h
=yes
2600 echo "configure: failed program was:" >&5
2601 cat conftest.
$ac_ext >&5
2603 ac_cv_header_alloca_h
=no
2608 echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
2609 if test $ac_cv_header_alloca_h = yes; then
2610 cat >> confdefs.h
<<\EOF
2611 #define HAVE_ALLOCA_H 1
2616 echo $ac_n "checking for alloca""... $ac_c" 1>&6
2617 echo "configure:2618: checking for alloca" >&5
2618 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
2619 echo $ac_n "(cached) $ac_c" 1>&6
2621 cat > conftest.
$ac_ext <<EOF
2622 #line 2623 "configure"
2623 #include "confdefs.h"
2626 # define alloca __builtin_alloca
2629 # include <malloc.h>
2630 # define alloca _alloca
2633 # include <alloca.h>
2638 # ifndef alloca /* predefined by HP cc +Olibcalls */
2647 char *p = (char *) alloca(1);
2650 if { (eval echo configure
:2651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2652 ac_cv_func_alloca_works
=yes
2654 echo "configure: failed program was:" >&5
2655 cat conftest.
$ac_ext >&5
2657 ac_cv_func_alloca_works
=no
2662 echo "$ac_t""$ac_cv_func_alloca_works" 1>&6
2663 if test $ac_cv_func_alloca_works = yes; then
2664 cat >> confdefs.h
<<\EOF
2665 #define HAVE_ALLOCA 1
2670 if test $ac_cv_func_alloca_works = no
; then
2671 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
2672 # that cause trouble. Some versions do not even contain alloca or
2673 # contain a buggy version. If you still want to use their alloca,
2674 # use ar to extract alloca.o from them instead of compiling alloca.c.
2675 ALLOCA
=alloca.
${ac_objext}
2676 cat >> confdefs.h
<<\EOF
2681 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
2682 echo "configure:2683: checking whether alloca needs Cray hooks" >&5
2683 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
2684 echo $ac_n "(cached) $ac_c" 1>&6
2686 cat > conftest.
$ac_ext <<EOF
2687 #line 2688 "configure"
2688 #include "confdefs.h"
2689 #if defined(CRAY) && ! defined(CRAY2)
2696 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2697 egrep "webecray" >/dev
/null
2>&1; then
2708 echo "$ac_t""$ac_cv_os_cray" 1>&6
2709 if test $ac_cv_os_cray = yes; then
2710 for ac_func
in _getb67 GETB67 getb67
; do
2711 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2712 echo "configure:2713: checking for $ac_func" >&5
2713 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2714 echo $ac_n "(cached) $ac_c" 1>&6
2716 cat > conftest.
$ac_ext <<EOF
2717 #line 2718 "configure"
2718 #include "confdefs.h"
2719 /* System header to define __stub macros and hopefully few prototypes,
2720 which can conflict with char $ac_func(); below. */
2722 /* Override any gcc2 internal prototype to avoid an error. */
2723 /* We use char because int might match the return type of a gcc2
2724 builtin and then its argument prototype would still apply. */
2729 /* The GNU C library defines this for functions which it implements
2730 to always fail with ENOSYS. Some functions are actually named
2731 something starting with __ and the normal name is an alias. */
2732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2740 if { (eval echo configure
:2741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2742 eval "ac_cv_func_$ac_func=yes"
2744 echo "configure: failed program was:" >&5
2745 cat conftest.
$ac_ext >&5
2747 eval "ac_cv_func_$ac_func=no"
2752 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2753 echo "$ac_t""yes" 1>&6
2754 cat >> confdefs.h
<<EOF
2755 #define CRAY_STACKSEG_END $ac_func
2760 echo "$ac_t""no" 1>&6
2766 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
2767 echo "configure:2768: checking stack direction for C alloca" >&5
2768 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
2769 echo $ac_n "(cached) $ac_c" 1>&6
2771 if test "$cross_compiling" = yes; then
2772 ac_cv_c_stack_direction
=0
2774 cat > conftest.
$ac_ext <<EOF
2775 #line 2776 "configure"
2776 #include "confdefs.h"
2777 find_stack_direction ()
2779 static char *addr = 0;
2784 return find_stack_direction ();
2787 return (&dummy > addr) ? 1 : -1;
2791 exit (find_stack_direction() < 0);
2794 if { (eval echo configure
:2795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
2796 ac_cv_c_stack_direction
=1
2798 echo "configure: failed program was:" >&5
2799 cat conftest.
$ac_ext >&5
2801 ac_cv_c_stack_direction
=-1
2808 echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
2809 cat >> confdefs.h
<<EOF
2810 #define STACK_DIRECTION $ac_cv_c_stack_direction
2815 for ac_hdr
in unistd.h
2817 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2818 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2819 echo "configure:2820: checking for $ac_hdr" >&5
2820 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2821 echo $ac_n "(cached) $ac_c" 1>&6
2823 cat > conftest.
$ac_ext <<EOF
2824 #line 2825 "configure"
2825 #include "confdefs.h"
2828 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2829 { (eval echo configure
:2830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2830 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2831 if test -z "$ac_err"; then
2833 eval "ac_cv_header_$ac_safe=yes"
2836 echo "configure: failed program was:" >&5
2837 cat conftest.
$ac_ext >&5
2839 eval "ac_cv_header_$ac_safe=no"
2843 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2844 echo "$ac_t""yes" 1>&6
2845 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2846 cat >> confdefs.h
<<EOF
2847 #define $ac_tr_hdr 1
2851 echo "$ac_t""no" 1>&6
2855 for ac_func
in getpagesize
2857 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2858 echo "configure:2859: checking for $ac_func" >&5
2859 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2860 echo $ac_n "(cached) $ac_c" 1>&6
2862 cat > conftest.
$ac_ext <<EOF
2863 #line 2864 "configure"
2864 #include "confdefs.h"
2865 /* System header to define __stub macros and hopefully few prototypes,
2866 which can conflict with char $ac_func(); below. */
2868 /* Override any gcc2 internal prototype to avoid an error. */
2869 /* We use char because int might match the return type of a gcc2
2870 builtin and then its argument prototype would still apply. */
2875 /* The GNU C library defines this for functions which it implements
2876 to always fail with ENOSYS. Some functions are actually named
2877 something starting with __ and the normal name is an alias. */
2878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2886 if { (eval echo configure
:2887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2888 eval "ac_cv_func_$ac_func=yes"
2890 echo "configure: failed program was:" >&5
2891 cat conftest.
$ac_ext >&5
2893 eval "ac_cv_func_$ac_func=no"
2898 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2899 echo "$ac_t""yes" 1>&6
2900 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2901 cat >> confdefs.h
<<EOF
2902 #define $ac_tr_func 1
2906 echo "$ac_t""no" 1>&6
2910 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
2911 echo "configure:2912: checking for working mmap" >&5
2912 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
2913 echo $ac_n "(cached) $ac_c" 1>&6
2915 if test "$cross_compiling" = yes; then
2916 ac_cv_func_mmap_fixed_mapped
=no
2918 cat > conftest.
$ac_ext <<EOF
2919 #line 2920 "configure"
2920 #include "confdefs.h"
2922 /* Thanks to Mike Haertel and Jim Avera for this test.
2923 Here is a matrix of mmap possibilities:
2924 mmap private not fixed
2925 mmap private fixed at somewhere currently unmapped
2926 mmap private fixed at somewhere already mapped
2927 mmap shared not fixed
2928 mmap shared fixed at somewhere currently unmapped
2929 mmap shared fixed at somewhere already mapped
2930 For private mappings, we should verify that changes cannot be read()
2931 back from the file, nor mmap's back from the file at a different
2932 address. (There have been systems where private was not correctly
2933 implemented like the infamous i386 svr4.0, and systems where the
2934 VM page cache was not coherent with the filesystem buffer cache
2935 like early versions of FreeBSD and possibly contemporary NetBSD.)
2936 For shared mappings, we should conversely verify that changes get
2937 propogated back to all the places they're supposed to be.
2939 Grep wants private fixed already mapped.
2940 The main things grep needs to know about mmap are:
2941 * does it exist and is it safe to write into the mmap'd area
2942 * how to use it (BSD variants) */
2943 #include <sys/types.h>
2945 #include <sys/mman.h>
2947 /* This mess was copied from the GNU getpagesize.h. */
2948 #ifndef HAVE_GETPAGESIZE
2949 # ifdef HAVE_UNISTD_H
2950 # include <unistd.h>
2953 /* Assume that all systems that can run configure have sys/param.h. */
2954 # ifndef HAVE_SYS_PARAM_H
2955 # define HAVE_SYS_PARAM_H 1
2958 # ifdef _SC_PAGESIZE
2959 # define getpagesize() sysconf(_SC_PAGESIZE)
2960 # else /* no _SC_PAGESIZE */
2961 # ifdef HAVE_SYS_PARAM_H
2962 # include <sys/param.h>
2963 # ifdef EXEC_PAGESIZE
2964 # define getpagesize() EXEC_PAGESIZE
2965 # else /* no EXEC_PAGESIZE */
2967 # define getpagesize() NBPG * CLSIZE
2970 # endif /* no CLSIZE */
2971 # else /* no NBPG */
2973 # define getpagesize() NBPC
2974 # else /* no NBPC */
2976 # define getpagesize() PAGESIZE
2977 # endif /* PAGESIZE */
2978 # endif /* no NBPC */
2979 # endif /* no NBPG */
2980 # endif /* no EXEC_PAGESIZE */
2981 # else /* no HAVE_SYS_PARAM_H */
2982 # define getpagesize() 8192 /* punt totally */
2983 # endif /* no HAVE_SYS_PARAM_H */
2984 # endif /* no _SC_PAGESIZE */
2986 #endif /* no HAVE_GETPAGESIZE */
2989 extern "C" { void *malloc(unsigned); }
2997 char *data, *data2, *data3;
3001 pagesize = getpagesize();
3004 * First, make a file with some known garbage in it.
3006 data = malloc(pagesize);
3009 for (i = 0; i < pagesize; ++i)
3010 *(data + i) = rand();
3012 fd = creat("conftestmmap", 0600);
3015 if (write(fd, data, pagesize) != pagesize)
3020 * Next, try to mmap the file at a fixed address which
3021 * already has something else allocated at it. If we can,
3022 * also make sure that we see the same garbage.
3024 fd = open("conftestmmap", O_RDWR);
3027 data2 = malloc(2 * pagesize);
3030 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
3031 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
3032 MAP_PRIVATE | MAP_FIXED, fd, 0L))
3034 for (i = 0; i < pagesize; ++i)
3035 if (*(data + i) != *(data2 + i))
3039 * Finally, make sure that changes to the mapped area
3040 * do not percolate back to the file as seen by read().
3041 * (This is a bug on some variants of i386 svr4.0.)
3043 for (i = 0; i < pagesize; ++i)
3044 *(data2 + i) = *(data2 + i) + 1;
3045 data3 = malloc(pagesize);
3048 if (read(fd, data3, pagesize) != pagesize)
3050 for (i = 0; i < pagesize; ++i)
3051 if (*(data + i) != *(data3 + i))
3054 unlink("conftestmmap");
3059 if { (eval echo configure
:3060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
3061 ac_cv_func_mmap_fixed_mapped
=yes
3063 echo "configure: failed program was:" >&5
3064 cat conftest.
$ac_ext >&5
3066 ac_cv_func_mmap_fixed_mapped
=no
3073 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
3074 if test $ac_cv_func_mmap_fixed_mapped = yes; then
3075 cat >> confdefs.h
<<\EOF
3082 echo $ac_n "checking whether we are using the GNU C Library 2.1 or newer""... $ac_c" 1>&6
3083 echo "configure:3084: checking whether we are using the GNU C Library 2.1 or newer" >&5
3084 if eval "test \"`echo '$''{'ac_cv_gnu_library_2_1'+set}'`\" = set"; then
3085 echo $ac_n "(cached) $ac_c" 1>&6
3087 cat > conftest.
$ac_ext <<EOF
3088 #line 3089 "configure"
3089 #include "confdefs.h"
3091 #include <features.h>
3092 #ifdef __GNU_LIBRARY__
3093 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
3099 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3100 egrep "Lucky GNU user" >/dev
/null
2>&1; then
3102 ac_cv_gnu_library_2_1
=yes
3105 ac_cv_gnu_library_2_1
=no
3113 echo "$ac_t""$ac_cv_gnu_library_2_1" 1>&6
3115 GLIBC21
="$ac_cv_gnu_library_2_1"
3119 for ac_hdr
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
3120 stdlib.h string.h unistd.h sys
/param.h
3122 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3123 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3124 echo "configure:3125: checking for $ac_hdr" >&5
3125 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3126 echo $ac_n "(cached) $ac_c" 1>&6
3128 cat > conftest.
$ac_ext <<EOF
3129 #line 3130 "configure"
3130 #include "confdefs.h"
3133 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3134 { (eval echo configure
:3135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3135 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3136 if test -z "$ac_err"; then
3138 eval "ac_cv_header_$ac_safe=yes"
3141 echo "configure: failed program was:" >&5
3142 cat conftest.
$ac_ext >&5
3144 eval "ac_cv_header_$ac_safe=no"
3148 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3149 echo "$ac_t""yes" 1>&6
3150 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3151 cat >> confdefs.h
<<EOF
3152 #define $ac_tr_hdr 1
3156 echo "$ac_t""no" 1>&6
3160 for ac_func
in feof_unlocked fgets_unlocked getcwd getegid geteuid \
3161 getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \
3162 strdup strtoul tsearch __argz_count __argz_stringify __argz_next
3164 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3165 echo "configure:3166: checking for $ac_func" >&5
3166 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3167 echo $ac_n "(cached) $ac_c" 1>&6
3169 cat > conftest.
$ac_ext <<EOF
3170 #line 3171 "configure"
3171 #include "confdefs.h"
3172 /* System header to define __stub macros and hopefully few prototypes,
3173 which can conflict with char $ac_func(); below. */
3175 /* Override any gcc2 internal prototype to avoid an error. */
3176 /* We use char because int might match the return type of a gcc2
3177 builtin and then its argument prototype would still apply. */
3182 /* The GNU C library defines this for functions which it implements
3183 to always fail with ENOSYS. Some functions are actually named
3184 something starting with __ and the normal name is an alias. */
3185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3193 if { (eval echo configure
:3194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3195 eval "ac_cv_func_$ac_func=yes"
3197 echo "configure: failed program was:" >&5
3198 cat conftest.
$ac_ext >&5
3200 eval "ac_cv_func_$ac_func=no"
3205 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3206 echo "$ac_t""yes" 1>&6
3207 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3208 cat >> confdefs.h
<<EOF
3209 #define $ac_tr_func 1
3213 echo "$ac_t""no" 1>&6
3220 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
3221 if test "${with_libiconv_prefix+set}" = set; then
3222 withval
="$with_libiconv_prefix"
3224 for dir
in `echo "$withval" | tr : ' '`; do
3225 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
3226 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
3232 echo $ac_n "checking for iconv""... $ac_c" 1>&6
3233 echo "configure:3234: checking for iconv" >&5
3234 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
3235 echo $ac_n "(cached) $ac_c" 1>&6
3238 am_cv_func_iconv
="no, consider installing GNU libiconv"
3240 cat > conftest.
$ac_ext <<EOF
3241 #line 3242 "configure"
3242 #include "confdefs.h"
3246 iconv_t cd = iconv_open("","");
3247 iconv(cd,NULL,NULL,NULL,NULL);
3251 if { (eval echo configure
:3252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3253 am_cv_func_iconv
=yes
3255 echo "configure: failed program was:" >&5
3256 cat conftest.
$ac_ext >&5
3259 if test "$am_cv_func_iconv" != yes; then
3260 am_save_LIBS
="$LIBS"
3261 LIBS
="$LIBS -liconv"
3262 cat > conftest.
$ac_ext <<EOF
3263 #line 3264 "configure"
3264 #include "confdefs.h"
3268 iconv_t cd = iconv_open("","");
3269 iconv(cd,NULL,NULL,NULL,NULL);
3273 if { (eval echo configure
:3274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3276 am_cv_func_iconv
=yes
3278 echo "configure: failed program was:" >&5
3279 cat conftest.
$ac_ext >&5
3282 LIBS
="$am_save_LIBS"
3287 echo "$ac_t""$am_cv_func_iconv" 1>&6
3288 if test "$am_cv_func_iconv" = yes; then
3289 cat >> confdefs.h
<<\EOF
3290 #define HAVE_ICONV 1
3293 echo $ac_n "checking for iconv declaration""... $ac_c" 1>&6
3294 echo "configure:3295: checking for iconv declaration" >&5
3295 if eval "test \"`echo '$''{'am_cv_proto_iconv'+set}'`\" = set"; then
3296 echo $ac_n "(cached) $ac_c" 1>&6
3299 cat > conftest.
$ac_ext <<EOF
3300 #line 3301 "configure"
3301 #include "confdefs.h"
3309 #if defined(__STDC__) || defined(__cplusplus)
3310 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
3319 if { (eval echo configure
:3320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3321 am_cv_proto_iconv_arg1
=""
3323 echo "configure: failed program was:" >&5
3324 cat conftest.
$ac_ext >&5
3326 am_cv_proto_iconv_arg1
="const"
3329 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
3332 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
3333 echo "$ac_t""${ac_t:-
3334 }$am_cv_proto_iconv" 1>&6
3335 cat >> confdefs.h
<<EOF
3336 #define ICONV_CONST $am_cv_proto_iconv_arg1
3341 if test "$am_cv_lib_iconv" = yes; then
3347 echo $ac_n "checking for nl_langinfo and CODESET""... $ac_c" 1>&6
3348 echo "configure:3349: checking for nl_langinfo and CODESET" >&5
3349 if eval "test \"`echo '$''{'am_cv_langinfo_codeset'+set}'`\" = set"; then
3350 echo $ac_n "(cached) $ac_c" 1>&6
3352 cat > conftest.
$ac_ext <<EOF
3353 #line 3354 "configure"
3354 #include "confdefs.h"
3355 #include <langinfo.h>
3357 char* cs = nl_langinfo(CODESET);
3360 if { (eval echo configure
:3361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3362 am_cv_langinfo_codeset
=yes
3364 echo "configure: failed program was:" >&5
3365 cat conftest.
$ac_ext >&5
3367 am_cv_langinfo_codeset
=no
3373 echo "$ac_t""$am_cv_langinfo_codeset" 1>&6
3374 if test $am_cv_langinfo_codeset = yes; then
3375 cat >> confdefs.h
<<\EOF
3376 #define HAVE_LANGINFO_CODESET 1
3381 if test $ac_cv_header_locale_h = yes; then
3382 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
3383 echo "configure:3384: checking for LC_MESSAGES" >&5
3384 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
3385 echo $ac_n "(cached) $ac_c" 1>&6
3387 cat > conftest.
$ac_ext <<EOF
3388 #line 3389 "configure"
3389 #include "confdefs.h"
3395 if { (eval echo configure
:3396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3397 am_cv_val_LC_MESSAGES
=yes
3399 echo "configure: failed program was:" >&5
3400 cat conftest.
$ac_ext >&5
3402 am_cv_val_LC_MESSAGES
=no
3407 echo "$ac_t""$am_cv_val_LC_MESSAGES" 1>&6
3408 if test $am_cv_val_LC_MESSAGES = yes; then
3409 cat >> confdefs.h
<<\EOF
3410 #define HAVE_LC_MESSAGES 1
3415 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
3416 echo "configure:3417: checking whether NLS is requested" >&5
3417 # Check whether --enable-nls or --disable-nls was given.
3418 if test "${enable_nls+set}" = set; then
3419 enableval
="$enable_nls"
3425 echo "$ac_t""$USE_NLS" 1>&6
3428 BUILD_INCLUDED_LIBINTL
=no
3429 USE_INCLUDED_LIBINTL
=no
3432 if test "$USE_NLS" = "yes"; then
3433 cat >> confdefs.h
<<\EOF
3434 #define ENABLE_NLS 1
3437 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
3438 echo "configure:3439: checking whether included gettext is requested" >&5
3439 # Check whether --with-included-gettext or --without-included-gettext was given.
3440 if test "${with_included_gettext+set}" = set; then
3441 withval
="$with_included_gettext"
3442 nls_cv_force_use_gnu_gettext
=$withval
3444 nls_cv_force_use_gnu_gettext
=no
3447 echo "$ac_t""$nls_cv_force_use_gnu_gettext" 1>&6
3449 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
3450 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
3456 ac_safe
=`echo "libintl.h" | sed 'y%./+-%__p_%'`
3457 echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
3458 echo "configure:3459: checking for libintl.h" >&5
3459 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3460 echo $ac_n "(cached) $ac_c" 1>&6
3462 cat > conftest.
$ac_ext <<EOF
3463 #line 3464 "configure"
3464 #include "confdefs.h"
3465 #include <libintl.h>
3467 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3468 { (eval echo configure
:3469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3469 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3470 if test -z "$ac_err"; then
3472 eval "ac_cv_header_$ac_safe=yes"
3475 echo "configure: failed program was:" >&5
3476 cat conftest.
$ac_ext >&5
3478 eval "ac_cv_header_$ac_safe=no"
3482 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3483 echo "$ac_t""yes" 1>&6
3484 echo $ac_n "checking for GNU gettext in libc""... $ac_c" 1>&6
3485 echo "configure:3486: checking for GNU gettext in libc" >&5
3486 if eval "test \"`echo '$''{'gt_cv_func_gnugettext1_libc'+set}'`\" = set"; then
3487 echo $ac_n "(cached) $ac_c" 1>&6
3489 cat > conftest.
$ac_ext <<EOF
3490 #line 3491 "configure"
3491 #include "confdefs.h"
3492 #include <libintl.h>
3493 extern int _nl_msg_cat_cntr;
3495 bindtextdomain ("", "");
3496 return (int) gettext ("") + _nl_msg_cat_cntr
3499 if { (eval echo configure
:3500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3501 gt_cv_func_gnugettext1_libc
=yes
3503 echo "configure: failed program was:" >&5
3504 cat conftest.
$ac_ext >&5
3506 gt_cv_func_gnugettext1_libc
=no
3511 echo "$ac_t""$gt_cv_func_gnugettext1_libc" 1>&6
3513 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
3514 echo $ac_n "checking for GNU gettext in libintl""... $ac_c" 1>&6
3515 echo "configure:3516: checking for GNU gettext in libintl" >&5
3516 if eval "test \"`echo '$''{'gt_cv_func_gnugettext1_libintl'+set}'`\" = set"; then
3517 echo $ac_n "(cached) $ac_c" 1>&6
3519 gt_save_LIBS
="$LIBS"
3520 LIBS
="$LIBS -lintl $LIBICONV"
3521 cat > conftest.
$ac_ext <<EOF
3522 #line 3523 "configure"
3523 #include "confdefs.h"
3524 #include <libintl.h>
3525 extern int _nl_msg_cat_cntr;
3527 bindtextdomain ("", "");
3528 return (int) gettext ("") + _nl_msg_cat_cntr
3531 if { (eval echo configure
:3532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3533 gt_cv_func_gnugettext1_libintl
=yes
3535 echo "configure: failed program was:" >&5
3536 cat conftest.
$ac_ext >&5
3538 gt_cv_func_gnugettext1_libintl
=no
3541 LIBS
="$gt_save_LIBS"
3544 echo "$ac_t""$gt_cv_func_gnugettext1_libintl" 1>&6
3547 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
3548 ||
{ test "$gt_cv_func_gnugettext1_libintl" = "yes" \
3549 && test "$PACKAGE" != gettext; }; then
3550 cat >> confdefs.h
<<\EOF
3551 #define HAVE_GETTEXT 1
3555 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
3556 INTLLIBS
="-lintl $LIBICONV"
3559 gt_save_LIBS
="$LIBS"
3560 LIBS
="$LIBS $INTLLIBS"
3561 for ac_func
in dcgettext
3563 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3564 echo "configure:3565: checking for $ac_func" >&5
3565 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3566 echo $ac_n "(cached) $ac_c" 1>&6
3568 cat > conftest.
$ac_ext <<EOF
3569 #line 3570 "configure"
3570 #include "confdefs.h"
3571 /* System header to define __stub macros and hopefully few prototypes,
3572 which can conflict with char $ac_func(); below. */
3574 /* Override any gcc2 internal prototype to avoid an error. */
3575 /* We use char because int might match the return type of a gcc2
3576 builtin and then its argument prototype would still apply. */
3581 /* The GNU C library defines this for functions which it implements
3582 to always fail with ENOSYS. Some functions are actually named
3583 something starting with __ and the normal name is an alias. */
3584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3592 if { (eval echo configure
:3593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3594 eval "ac_cv_func_$ac_func=yes"
3596 echo "configure: failed program was:" >&5
3597 cat conftest.
$ac_ext >&5
3599 eval "ac_cv_func_$ac_func=no"
3604 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3605 echo "$ac_t""yes" 1>&6
3606 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3607 cat >> confdefs.h
<<EOF
3608 #define $ac_tr_func 1
3612 echo "$ac_t""no" 1>&6
3616 LIBS
="$gt_save_LIBS"
3618 # Extract the first word of "msgfmt", so it can be a program name with args.
3619 set dummy msgfmt
; ac_word
=$2
3620 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3621 echo "configure:3622: checking for $ac_word" >&5
3622 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
3623 echo $ac_n "(cached) $ac_c" 1>&6
3627 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
3630 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
3631 for ac_dir
in $PATH; do
3632 test -z "$ac_dir" && ac_dir
=.
3633 if test -f $ac_dir/$ac_word; then
3634 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1; then
3635 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
3641 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
3645 MSGFMT
="$ac_cv_path_MSGFMT"
3646 if test "$MSGFMT" != ":"; then
3647 echo "$ac_t""$MSGFMT" 1>&6
3649 echo "$ac_t""no" 1>&6
3652 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3653 set dummy gmsgfmt
; ac_word
=$2
3654 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3655 echo "configure:3656: checking for $ac_word" >&5
3656 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
3657 echo $ac_n "(cached) $ac_c" 1>&6
3661 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
3664 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a dos path.
3667 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3669 for ac_dir
in $ac_dummy; do
3670 test -z "$ac_dir" && ac_dir
=.
3671 if test -f $ac_dir/$ac_word; then
3672 ac_cv_path_GMSGFMT
="$ac_dir/$ac_word"
3677 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
3681 GMSGFMT
="$ac_cv_path_GMSGFMT"
3682 if test -n "$GMSGFMT"; then
3683 echo "$ac_t""$GMSGFMT" 1>&6
3685 echo "$ac_t""no" 1>&6
3689 # Extract the first word of "xgettext", so it can be a program name with args.
3690 set dummy xgettext
; ac_word
=$2
3691 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3692 echo "configure:3693: checking for $ac_word" >&5
3693 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
3694 echo $ac_n "(cached) $ac_c" 1>&6
3698 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
3701 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
3702 for ac_dir
in $PATH; do
3703 test -z "$ac_dir" && ac_dir
=.
3704 if test -f $ac_dir/$ac_word; then
3705 if $ac_dir/$ac_word --omit-header /dev
/null
>/dev
/null
2>&1; then
3706 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
3712 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
3716 XGETTEXT
="$ac_cv_path_XGETTEXT"
3717 if test "$XGETTEXT" != ":"; then
3718 echo "$ac_t""$XGETTEXT" 1>&6
3720 echo "$ac_t""no" 1>&6
3728 echo "$ac_t""no" 1>&6
3732 if test "$CATOBJEXT" = "NONE"; then
3733 nls_cv_use_gnu_gettext
=yes
3737 if test "$nls_cv_use_gnu_gettext" = "yes"; then
3738 INTLOBJS
="\$(GETTOBJS)"
3739 # Extract the first word of "msgfmt", so it can be a program name with args.
3740 set dummy msgfmt
; ac_word
=$2
3741 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3742 echo "configure:3743: checking for $ac_word" >&5
3743 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
3744 echo $ac_n "(cached) $ac_c" 1>&6
3748 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
3751 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
3752 for ac_dir
in $PATH; do
3753 test -z "$ac_dir" && ac_dir
=.
3754 if test -f $ac_dir/$ac_word; then
3755 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1; then
3756 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
3762 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
3766 MSGFMT
="$ac_cv_path_MSGFMT"
3767 if test "$MSGFMT" != ":"; then
3768 echo "$ac_t""$MSGFMT" 1>&6
3770 echo "$ac_t""no" 1>&6
3773 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3774 set dummy gmsgfmt
; ac_word
=$2
3775 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3776 echo "configure:3777: checking for $ac_word" >&5
3777 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
3778 echo $ac_n "(cached) $ac_c" 1>&6
3782 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
3785 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a dos path.
3788 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3790 for ac_dir
in $ac_dummy; do
3791 test -z "$ac_dir" && ac_dir
=.
3792 if test -f $ac_dir/$ac_word; then
3793 ac_cv_path_GMSGFMT
="$ac_dir/$ac_word"
3798 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
3802 GMSGFMT
="$ac_cv_path_GMSGFMT"
3803 if test -n "$GMSGFMT"; then
3804 echo "$ac_t""$GMSGFMT" 1>&6
3806 echo "$ac_t""no" 1>&6
3809 # Extract the first word of "xgettext", so it can be a program name with args.
3810 set dummy xgettext
; ac_word
=$2
3811 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3812 echo "configure:3813: checking for $ac_word" >&5
3813 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
3814 echo $ac_n "(cached) $ac_c" 1>&6
3818 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
3821 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
3822 for ac_dir
in $PATH; do
3823 test -z "$ac_dir" && ac_dir
=.
3824 if test -f $ac_dir/$ac_word; then
3825 if $ac_dir/$ac_word --omit-header /dev
/null
>/dev
/null
2>&1; then
3826 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
3832 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
3836 XGETTEXT
="$ac_cv_path_XGETTEXT"
3837 if test "$XGETTEXT" != ":"; then
3838 echo "$ac_t""$XGETTEXT" 1>&6
3840 echo "$ac_t""no" 1>&6
3844 BUILD_INCLUDED_LIBINTL
=yes
3845 USE_INCLUDED_LIBINTL
=yes
3847 INTLLIBS
="\$(top_builddir)/intl/libintl.a $LIBICONV"
3848 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
3851 if test "$GMSGFMT" != ":"; then
3852 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1; then
3855 echo "$ac_t""found msgfmt program is not GNU msgfmt; ignore it" 1>&6
3860 if test "$XGETTEXT" != ":"; then
3861 if $XGETTEXT --omit-header /dev
/null
>/dev
/null
2>&1; then
3864 echo "$ac_t""found xgettext program is not GNU xgettext; ignore it" 1>&6
3874 if test "$PACKAGE" = gettext; then
3875 BUILD_INCLUDED_LIBINTL
=yes
3878 for ac_prog
in bison
3880 # Extract the first word of "$ac_prog", so it can be a program name with args.
3881 set dummy
$ac_prog; ac_word
=$2
3882 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3883 echo "configure:3884: checking for $ac_word" >&5
3884 if eval "test \"`echo '$''{'ac_cv_prog_INTLBISON'+set}'`\" = set"; then
3885 echo $ac_n "(cached) $ac_c" 1>&6
3887 if test -n "$INTLBISON"; then
3888 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
3890 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3892 for ac_dir
in $ac_dummy; do
3893 test -z "$ac_dir" && ac_dir
=.
3894 if test -f $ac_dir/$ac_word; then
3895 ac_cv_prog_INTLBISON
="$ac_prog"
3902 INTLBISON
="$ac_cv_prog_INTLBISON"
3903 if test -n "$INTLBISON"; then
3904 echo "$ac_t""$INTLBISON" 1>&6
3906 echo "$ac_t""no" 1>&6
3909 test -n "$INTLBISON" && break
3912 if test -z "$INTLBISON"; then
3915 echo $ac_n "checking version of bison""... $ac_c" 1>&6
3916 echo "configure:3917: checking version of bison" >&5
3917 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
3918 case $ac_prog_version in
3919 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
3920 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
3921 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
3922 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
3924 echo "$ac_t""$ac_prog_version" 1>&6
3926 if test $ac_verc_fail = yes; then
3930 for lang
in $ALL_LINGUAS; do
3931 GMOFILES
="$GMOFILES $lang.gmo"
3932 POFILES
="$POFILES $lang.po"
3946 nls_cv_header_libgt
=
3958 if test "x$CATOBJEXT" != "x"; then
3959 if test "x$ALL_LINGUAS" = "x"; then
3962 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
3963 echo "configure:3964: checking for catalogs to be installed" >&5
3965 for presentlang
in $ALL_LINGUAS; do
3967 for desiredlang
in ${LINGUAS-$ALL_LINGUAS}; do
3968 # Use the presentlang catalog if desiredlang is
3969 # a. equal to presentlang, or
3970 # b. a variant of presentlang (because in this case,
3971 # presentlang can be used as a fallback for messages
3972 # which are not translated in the desiredlang catalog).
3973 case "$desiredlang" in
3974 "$presentlang"*) useit
=yes;;
3977 if test $useit = yes; then
3978 NEW_LINGUAS
="$NEW_LINGUAS $presentlang"
3981 LINGUAS
=$NEW_LINGUAS
3982 echo "$ac_t""$LINGUAS" 1>&6
3985 if test -n "$LINGUAS"; then
3986 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
3991 if test -n "$ac_aux_dir"; then
3992 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
3994 if test -z "$MKINSTALLDIRS"; then
3995 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
3999 INTL_LIBTOOL_SUFFIX_PREFIX
=
4003 if test "x${prefix}" = "xNONE"; then
4004 cat >> confdefs.h
<<EOF
4005 #define PACKAGE_LOCALE_DIR "${ac_default_prefix}/${DATADIRNAME}/locale"
4009 cat >> confdefs.h
<<EOF
4010 #define PACKAGE_LOCALE_DIR "${prefix}/${DATADIRNAME}/locale"
4015 PACKAGE_PIXMAPS_DIR
="`gnome-config --datadir`/pixmaps/${PACKAGE}"
4018 echo $ac_n "checking for H5Fcreate in -lhdf5""... $ac_c" 1>&6
4019 echo "configure:4020: checking for H5Fcreate in -lhdf5" >&5
4020 ac_lib_var
=`echo hdf5'_'H5Fcreate | sed 'y%./+-%__p_%'`
4021 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4022 echo $ac_n "(cached) $ac_c" 1>&6
4024 ac_save_LIBS
="$LIBS"
4026 cat > conftest.
$ac_ext <<EOF
4027 #line 4028 "configure"
4028 #include "confdefs.h"
4029 /* Override any gcc2 internal prototype to avoid an error. */
4030 /* We use char because int might match the return type of a gcc2
4031 builtin and then its argument prototype would still apply. */
4038 if { (eval echo configure
:4039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4040 eval "ac_cv_lib_$ac_lib_var=yes"
4042 echo "configure: failed program was:" >&5
4043 cat conftest.
$ac_ext >&5
4045 eval "ac_cv_lib_$ac_lib_var=no"
4048 LIBS
="$ac_save_LIBS"
4051 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4052 echo "$ac_t""yes" 1>&6
4053 ac_tr_lib
=HAVE_LIB
`echo hdf5 | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4054 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4055 cat >> confdefs.h
<<EOF
4056 #define $ac_tr_lib 1
4062 echo "$ac_t""no" 1>&6
4063 { echo "configure: error: "libhdf5 not installed
"" 1>&2; exit 1; }
4066 echo $ac_n "checking for gpiv_vector in -lgpiv""... $ac_c" 1>&6
4067 echo "configure:4068: checking for gpiv_vector in -lgpiv" >&5
4068 ac_lib_var
=`echo gpiv'_'gpiv_vector | sed 'y%./+-%__p_%'`
4069 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4070 echo $ac_n "(cached) $ac_c" 1>&6
4072 ac_save_LIBS
="$LIBS"
4074 cat > conftest.
$ac_ext <<EOF
4075 #line 4076 "configure"
4076 #include "confdefs.h"
4077 /* Override any gcc2 internal prototype to avoid an error. */
4078 /* We use char because int might match the return type of a gcc2
4079 builtin and then its argument prototype would still apply. */
4086 if { (eval echo configure
:4087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4088 eval "ac_cv_lib_$ac_lib_var=yes"
4090 echo "configure: failed program was:" >&5
4091 cat conftest.
$ac_ext >&5
4093 eval "ac_cv_lib_$ac_lib_var=no"
4096 LIBS
="$ac_save_LIBS"
4099 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4100 echo "$ac_t""yes" 1>&6
4101 ac_tr_lib
=HAVE_LIB
`echo gpiv | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4102 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4103 cat >> confdefs.h
<<EOF
4104 #define $ac_tr_lib 1
4110 echo "$ac_t""no" 1>&6
4111 { echo "configure: error: "libgpiv has not been installed
"" 1>&2; exit 1; }
4114 echo $ac_n "checking for rfftw2d_create_plan in -lrfftw""... $ac_c" 1>&6
4115 echo "configure:4116: checking for rfftw2d_create_plan in -lrfftw" >&5
4116 ac_lib_var
=`echo rfftw'_'rfftw2d_create_plan | sed 'y%./+-%__p_%'`
4117 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4118 echo $ac_n "(cached) $ac_c" 1>&6
4120 ac_save_LIBS
="$LIBS"
4121 LIBS
="-lrfftw $LIBS"
4122 cat > conftest.
$ac_ext <<EOF
4123 #line 4124 "configure"
4124 #include "confdefs.h"
4125 /* Override any gcc2 internal prototype to avoid an error. */
4126 /* We use char because int might match the return type of a gcc2
4127 builtin and then its argument prototype would still apply. */
4128 char rfftw2d_create_plan();
4131 rfftw2d_create_plan()
4134 if { (eval echo configure
:4135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4136 eval "ac_cv_lib_$ac_lib_var=yes"
4138 echo "configure: failed program was:" >&5
4139 cat conftest.
$ac_ext >&5
4141 eval "ac_cv_lib_$ac_lib_var=no"
4144 LIBS
="$ac_save_LIBS"
4147 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4148 echo "$ac_t""yes" 1>&6
4149 ac_tr_lib
=HAVE_LIB
`echo rfftw | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4150 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4151 cat >> confdefs.h
<<EOF
4152 #define $ac_tr_lib 1
4155 LIBS
="-lrfftw $LIBS"
4158 echo "$ac_t""no" 1>&6
4159 { echo "configure: error: "librfftw not installed
"" 1>&2; exit 1; }
4162 echo $ac_n "checking for fftw_import_wisdom_from_string in -lfftw""... $ac_c" 1>&6
4163 echo "configure:4164: checking for fftw_import_wisdom_from_string in -lfftw" >&5
4164 ac_lib_var
=`echo fftw'_'fftw_import_wisdom_from_string | sed 'y%./+-%__p_%'`
4165 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4166 echo $ac_n "(cached) $ac_c" 1>&6
4168 ac_save_LIBS
="$LIBS"
4170 cat > conftest.
$ac_ext <<EOF
4171 #line 4172 "configure"
4172 #include "confdefs.h"
4173 /* Override any gcc2 internal prototype to avoid an error. */
4174 /* We use char because int might match the return type of a gcc2
4175 builtin and then its argument prototype would still apply. */
4176 char fftw_import_wisdom_from_string();
4179 fftw_import_wisdom_from_string()
4182 if { (eval echo configure
:4183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4184 eval "ac_cv_lib_$ac_lib_var=yes"
4186 echo "configure: failed program was:" >&5
4187 cat conftest.
$ac_ext >&5
4189 eval "ac_cv_lib_$ac_lib_var=no"
4192 LIBS
="$ac_save_LIBS"
4195 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4196 echo "$ac_t""yes" 1>&6
4197 ac_tr_lib
=HAVE_LIB
`echo fftw | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4198 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4199 cat >> confdefs.h
<<EOF
4200 #define $ac_tr_lib 1
4206 echo "$ac_t""no" 1>&6
4207 { echo "configure: error: "libfftw not installed
"" 1>&2; exit 1; }
4212 ac_safe
=`echo "gpiv.h" | sed 'y%./+-%__p_%'`
4213 echo $ac_n "checking for gpiv.h""... $ac_c" 1>&6
4214 echo "configure:4215: checking for gpiv.h" >&5
4215 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4216 echo $ac_n "(cached) $ac_c" 1>&6
4218 cat > conftest.
$ac_ext <<EOF
4219 #line 4220 "configure"
4220 #include "confdefs.h"
4223 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4224 { (eval echo configure
:4225: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4225 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4226 if test -z "$ac_err"; then
4228 eval "ac_cv_header_$ac_safe=yes"
4231 echo "configure: failed program was:" >&5
4232 cat conftest.
$ac_ext >&5
4234 eval "ac_cv_header_$ac_safe=no"
4238 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4239 echo "$ac_t""yes" 1>&6
4242 echo "$ac_t""no" 1>&6
4243 { echo "configure: error: "giv.h is not installed
"" 1>&2; exit 1; }
4246 for ac_hdr
in stdlib.h string.h unistd.h hdf5.h
4248 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4249 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4250 echo "configure:4251: checking for $ac_hdr" >&5
4251 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4252 echo $ac_n "(cached) $ac_c" 1>&6
4254 cat > conftest.
$ac_ext <<EOF
4255 #line 4256 "configure"
4256 #include "confdefs.h"
4259 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4260 { (eval echo configure
:4261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4261 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4262 if test -z "$ac_err"; then
4264 eval "ac_cv_header_$ac_safe=yes"
4267 echo "configure: failed program was:" >&5
4268 cat conftest.
$ac_ext >&5
4270 eval "ac_cv_header_$ac_safe=no"
4274 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4275 echo "$ac_t""yes" 1>&6
4276 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4277 cat >> confdefs.h
<<EOF
4278 #define $ac_tr_hdr 1
4282 echo "$ac_t""no" 1>&6
4289 # Check whether --enable-img-width or --disable-img-width was given.
4290 if test "${enable_img_width+set}" = set; then
4291 enableval
="$enable_img_width"
4292 OVERRIDE_IMAGE_WIDTH_MAX
="-DIMAGE_WIDTH_MAX=$enableval"
4299 # Check whether --enable-img-height or --disable-img-height was given.
4300 if test "${enable_img_height+set}" = set; then
4301 enableval
="$enable_img_height"
4302 OVERRIDE_IMAGE_HEIGHT_MAX
="-DIMAGE_HEIGHT_MAX=$enableval"
4309 # Check whether --enable-debug or --disable-debug was given.
4310 if test "${enable_debug+set}" = set; then
4311 enableval
="$enable_debug"
4320 cat > confcache
<<\EOF
4321 # This file is a shell script that caches the results of configure
4322 # tests run on this system so they can be shared between configure
4323 # scripts and configure runs. It is not useful on other systems.
4324 # If it contains results you don't want to keep, you may remove or edit it.
4326 # By default, configure uses ./config.cache as the cache file,
4327 # creating it if it does not exist already. You can give configure
4328 # the --cache-file=FILE option to use a different cache file; that is
4329 # what configure does when it calls configure scripts in
4330 # subdirectories, so they share the cache.
4331 # Giving --cache-file=/dev/null disables caching, for debugging configure.
4332 # config.status only pays attention to the cache file if you give it the
4333 # --recheck option to rerun configure.
4336 # The following way of writing the cache mishandles newlines in values,
4337 # but we know of no workaround that is simple, portable, and efficient.
4338 # So, don't put newlines in cache variables' values.
4339 # Ultrix sh set writes to stderr and can't be redirected directly,
4340 # and sets the high bit in the cache file unless we assign to the vars.
4342 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4344 # `set' does not quote correctly, so add quotes (double-quote substitution
4345 # turns \\\\ into \\, and sed turns \\ into \).
4347 -e "s/'/'\\\\''/g" \
4348 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
4351 # `set' quotes correctly as required by POSIX, so do not add quotes.
4352 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
4355 if cmp -s $cache_file confcache
; then
4358 if test -w $cache_file; then
4359 echo "updating cache $cache_file"
4360 cat confcache
> $cache_file
4362 echo "not updating unwritable cache $cache_file"
4367 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
4369 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4370 # Let make expand exec_prefix.
4371 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4373 # Any assignment to VPATH causes Sun make to only execute
4374 # the first set of double-colon rules, so remove it if not needed.
4375 # If there is a colon in the path, we need to keep it.
4376 if test "x$srcdir" = x.
; then
4377 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
4380 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
4382 DEFS
=-DHAVE_CONFIG_H
4384 # Without the "./", some shells look in PATH for config.status.
4385 : ${CONFIG_STATUS=./config.status}
4387 echo creating
$CONFIG_STATUS
4388 rm -f $CONFIG_STATUS
4389 cat > $CONFIG_STATUS <<EOF
4391 # Generated automatically by configure.
4392 # Run this file to recreate the current configuration.
4393 # This directory was configured as follows,
4394 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
4396 # $0 $ac_configure_args
4398 # Compiler output produced by configure, useful for debugging
4399 # configure, is in ./config.log if it exists.
4401 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
4404 case "\$ac_option" in
4405 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4406 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
4407 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
4408 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
4409 echo "$CONFIG_STATUS generated by autoconf version 2.13"
4411 -help | --help | --hel | --he | --h)
4412 echo "\$ac_cs_usage"; exit 0 ;;
4413 *) echo "\$ac_cs_usage"; exit 1 ;;
4417 ac_given_srcdir=$srcdir
4418 ac_given_INSTALL="$INSTALL"
4420 trap 'rm -fr `echo "
4425 doc/C/figures/Makefile
4431 config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
4433 cat >> $CONFIG_STATUS <<EOF
4435 # Protect against being on the right side of a sed subst in config.status.
4436 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
4437 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
4441 s%@CFLAGS@%$CFLAGS%g
4442 s%@CPPFLAGS@%$CPPFLAGS%g
4443 s%@CXXFLAGS@%$CXXFLAGS%g
4444 s%@FFLAGS@%$FFLAGS%g
4446 s%@LDFLAGS@%$LDFLAGS%g
4448 s%@exec_prefix@%$exec_prefix%g
4449 s%@prefix@%$prefix%g
4450 s%@program_transform_name@%$program_transform_name%g
4451 s%@bindir@%$bindir%g
4452 s%@sbindir@%$sbindir%g
4453 s%@libexecdir@%$libexecdir%g
4454 s%@datadir@%$datadir%g
4455 s%@sysconfdir@%$sysconfdir%g
4456 s%@sharedstatedir@%$sharedstatedir%g
4457 s%@localstatedir@%$localstatedir%g
4458 s%@libdir@%$libdir%g
4459 s%@includedir@%$includedir%g
4460 s%@oldincludedir@%$oldincludedir%g
4461 s%@infodir@%$infodir%g
4462 s%@mandir@%$mandir%g
4463 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
4464 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
4465 s%@INSTALL_DATA@%$INSTALL_DATA%g
4466 s%@PACKAGE@%$PACKAGE%g
4467 s%@VERSION@%$VERSION%g
4468 s%@ACLOCAL@%$ACLOCAL%g
4469 s%@AUTOCONF@%$AUTOCONF%g
4470 s%@AUTOMAKE@%$AUTOMAKE%g
4471 s%@AUTOHEADER@%$AUTOHEADER%g
4472 s%@MAKEINFO@%$MAKEINFO%g
4473 s%@SET_MAKE@%$SET_MAKE%g
4474 s%@INSIDE_GNOME_COMMON_TRUE@%$INSIDE_GNOME_COMMON_TRUE%g
4475 s%@INSIDE_GNOME_COMMON_FALSE@%$INSIDE_GNOME_COMMON_FALSE%g
4476 s%@GNOME_LIBS@%$GNOME_LIBS%g
4477 s%@GNOMEUI_LIBS@%$GNOMEUI_LIBS%g
4478 s%@GNOMEGNORBA_LIBS@%$GNOMEGNORBA_LIBS%g
4479 s%@GTKXMHTML_LIBS@%$GTKXMHTML_LIBS%g
4480 s%@ZVT_LIBS@%$ZVT_LIBS%g
4481 s%@GNOME_LIBDIR@%$GNOME_LIBDIR%g
4482 s%@GNOME_INCLUDEDIR@%$GNOME_INCLUDEDIR%g
4483 s%@GNOME_CONFIG@%$GNOME_CONFIG%g
4484 s%@ORBIT_CONFIG@%$ORBIT_CONFIG%g
4485 s%@ORBIT_IDL@%$ORBIT_IDL%g
4486 s%@HAVE_ORBIT_TRUE@%$HAVE_ORBIT_TRUE%g
4487 s%@HAVE_ORBIT_FALSE@%$HAVE_ORBIT_FALSE%g
4488 s%@ORBIT_CFLAGS@%$ORBIT_CFLAGS%g
4489 s%@ORBIT_LIBS@%$ORBIT_LIBS%g
4490 s%@HAVE_GNORBA_TRUE@%$HAVE_GNORBA_TRUE%g
4491 s%@HAVE_GNORBA_FALSE@%$HAVE_GNORBA_FALSE%g
4492 s%@GNORBA_CFLAGS@%$GNORBA_CFLAGS%g
4493 s%@GNORBA_LIBS@%$GNORBA_LIBS%g
4494 s%@GNOME_APPLETS_LIBS@%$GNOME_APPLETS_LIBS%g
4495 s%@GNOME_DOCKLETS_LIBS@%$GNOME_DOCKLETS_LIBS%g
4496 s%@GNOME_CAPPLET_LIBS@%$GNOME_CAPPLET_LIBS%g
4499 s%@cflags_set@%$cflags_set%g
4500 s%@GTK_CONFIG@%$GTK_CONFIG%g
4501 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
4502 s%@GTK_LIBS@%$GTK_LIBS%g
4503 s%@XPM_LIBS@%$XPM_LIBS%g
4504 s%@PTHREAD_LIB@%$PTHREAD_LIB%g
4506 s%@host_alias@%$host_alias%g
4507 s%@host_cpu@%$host_cpu%g
4508 s%@host_vendor@%$host_vendor%g
4509 s%@host_os@%$host_os%g
4510 s%@RANLIB@%$RANLIB%g
4511 s%@ALLOCA@%$ALLOCA%g
4512 s%@GLIBC21@%$GLIBC21%g
4513 s%@LIBICONV@%$LIBICONV%g
4514 s%@USE_NLS@%$USE_NLS%g
4515 s%@MSGFMT@%$MSGFMT%g
4516 s%@GMSGFMT@%$GMSGFMT%g
4517 s%@XGETTEXT@%$XGETTEXT%g
4518 s%@INTLBISON@%$INTLBISON%g
4519 s%@BUILD_INCLUDED_LIBINTL@%$BUILD_INCLUDED_LIBINTL%g
4520 s%@USE_INCLUDED_LIBINTL@%$USE_INCLUDED_LIBINTL%g
4521 s%@CATALOGS@%$CATALOGS%g
4522 s%@CATOBJEXT@%$CATOBJEXT%g
4523 s%@GMOFILES@%$GMOFILES%g
4524 s%@INTLLIBS@%$INTLLIBS%g
4525 s%@INTLOBJS@%$INTLOBJS%g
4526 s%@POFILES@%$POFILES%g
4528 s%@DATADIRNAME@%$DATADIRNAME%g
4529 s%@INSTOBJEXT@%$INSTOBJEXT%g
4530 s%@GENCAT@%$GENCAT%g
4531 s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g
4532 s%@INTL_LIBTOOL_SUFFIX_PREFIX@%$INTL_LIBTOOL_SUFFIX_PREFIX%g
4533 s%@PACKAGE_PIXMAPS_DIR@%$PACKAGE_PIXMAPS_DIR%g
4534 s%@OVERRIDE_IMAGE_WIDTH_MAX@%$OVERRIDE_IMAGE_WIDTH_MAX%g
4535 s%@OVERRIDE_IMAGE_HEIGHT_MAX@%$OVERRIDE_IMAGE_HEIGHT_MAX%g
4541 cat >> $CONFIG_STATUS <<\EOF
4543 # Split the substitutions into bite-sized pieces for seds with
4544 # small command number limits, like on Digital OSF/1 and HP-UX.
4545 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
4546 ac_file
=1 # Number of current file.
4547 ac_beg
=1 # First line for current file.
4548 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
4551 while $ac_more_lines; do
4552 if test $ac_beg -gt 1; then
4553 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
4555 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
4557 if test ! -s conftest.s
$ac_file; then
4559 rm -f conftest.s
$ac_file
4561 if test -z "$ac_sed_cmds"; then
4562 ac_sed_cmds
="sed -f conftest.s$ac_file"
4564 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
4566 ac_file
=`expr $ac_file + 1`
4568 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
4571 if test -z "$ac_sed_cmds"; then
4576 cat >> $CONFIG_STATUS <<EOF
4578 CONFIG_FILES=\${CONFIG_FILES-"Makefile
4582 doc/C/figures/Makefile
4590 cat >> $CONFIG_STATUS <<\EOF
4591 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
4592 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4594 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
4595 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
4596 *) ac_file_in
="${ac_file}.in" ;;
4599 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
4601 # Remove last slash and all that follows it. Not all systems have dirname.
4602 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
4603 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
4604 # The file is in a subdirectory.
4605 test ! -d "$ac_dir" && mkdir
"$ac_dir"
4606 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
4607 # A "../" for each directory in $ac_dir_suffix.
4608 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
4610 ac_dir_suffix
= ac_dots
=
4613 case "$ac_given_srcdir" in
4615 if test -z "$ac_dots"; then top_srcdir
=.
4616 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
4617 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
4619 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
4620 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
4623 case "$ac_given_INSTALL" in
4624 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
4625 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
4628 echo creating
"$ac_file"
4630 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
4632 *Makefile
*) ac_comsub
="1i\\
4633 # $configure_input" ;;
4637 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
4639 s%@configure_input@%$configure_input%g
4640 s%@srcdir@%$srcdir%g
4641 s%@top_srcdir@%$top_srcdir%g
4642 s%@INSTALL@%$INSTALL%g
4643 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
4647 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4648 # NAME is the cpp macro being defined and VALUE is the value it is being given.
4650 # ac_d sets the value in "#define NAME VALUE" lines.
4651 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4652 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
4655 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
4656 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4657 ac_uB
='\([ ]\)%\1#\2define\3'
4660 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4661 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4662 ac_eB
='$%\1#\2define\3'
4666 if test "${CONFIG_HEADERS+set}" != set; then
4668 cat >> $CONFIG_STATUS <<EOF
4669 CONFIG_HEADERS="config.h"
4671 cat >> $CONFIG_STATUS <<\EOF
4673 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
4674 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4676 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
4677 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
4678 *) ac_file_in
="${ac_file}.in" ;;
4681 echo creating
$ac_file
4683 rm -f conftest.frag conftest.
in conftest.out
4684 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
4685 cat $ac_file_inputs > conftest.
in
4689 # Transform confdefs.h into a sed script conftest.vals that substitutes
4690 # the proper values into config.h.in to produce config.h. And first:
4691 # Protect against being on the right side of a sed subst in config.status.
4692 # Protect against being in an unquoted here document in config.status.
4694 cat > conftest.hdr
<<\EOF
4697 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
4701 sed -n -f conftest.hdr confdefs.h > conftest.vals
4704 # This sed command replaces #undef with comments. This is necessary, for
4705 # example, in the case of _POSIX_SOURCE, which is predefined and required
4706 # on some systems where configure will not decide to define it.
4707 cat >> conftest.vals <<\EOF
4708 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
4711 # Break up conftest.vals because some shells have a limit on
4712 # the size of here documents, and old seds have small limits too.
4717 ac_lines=`grep -c . conftest.vals
`
4718 # grep -c gives empty output for an empty file on some AIX systems.
4719 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
4720 # Write a limited-size here document to conftest.frag.
4721 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
4722 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
4724 sed -f conftest.frag conftest.in > conftest.out
4726 mv conftest.out conftest.in
4728 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
4730 mv conftest.tail conftest.vals
4734 cat >> $CONFIG_STATUS <<\EOF
4735 rm -f conftest.frag conftest.h
4736 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
4737 cat conftest.in >> conftest.h
4739 if cmp -s $ac_file conftest.h 2>/dev/null; then
4740 echo "$ac_file is unchanged"
4743 # Remove last slash and all that follows it. Not all systems have dirname.
4744 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
4745 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
4746 # The file is in a subdirectory.
4747 test ! -d "$ac_dir" && mkdir "$ac_dir"
4750 mv conftest.h $ac_file
4755 cat >> $CONFIG_STATUS <<EOF
4760 cat >> $CONFIG_STATUS <<\EOF
4761 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
4762 for ac_file in $CONFIG_FILES; do
4763 # Support "outfile[:infile[:infile...]]"
4765 *:*) ac_file=`echo "$ac_file"|
sed 's%:.*%%'` ;;
4767 # PO directories have a Makefile.in generated from Makefile.in.in.
4768 case "$ac_file" in */Makefile.in)
4769 # Adjust a relative srcdir.
4770 ac_dir=`echo "$ac_file"|
sed 's%/[^/][^/]*$%%'`
4771 ac_dir_suffix="/`echo "$ac_dir"|
sed 's%^\./%%'`"
4772 ac_dots=`echo "$ac_dir_suffix"|
sed 's%/[^/]*%../%g'`
4773 # In autoconf-2.13 it is called $ac_given_srcdir.
4774 # In autoconf-2.50 it is called $srcdir.
4775 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
4776 case "$ac_given_srcdir" in
4777 .) top_srcdir=`echo $ac_dots|
sed 's%/$%%'` ;;
4778 /*) top_srcdir="$ac_given_srcdir" ;;
4779 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
4781 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
4782 rm -f "$ac_dir/POTFILES"
4783 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
4784 sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES"
4785 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
4786 sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
4794 chmod +x $CONFIG_STATUS
4795 rm -fr confdefs* $ac_clean_files
4796 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1