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
--enable-maintainer-mode enable make rules and dependencies not useful
16
(and sometimes confusing) to the casual installer"
18
--enable-shared[=PKGS] build shared libraries [default=yes]"
20
--enable-static[=PKGS] build static libraries [default=yes]"
22
--enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
24
--with-gnu-ld assume the C compiler uses GNU ld [default=no]"
26
--disable-libtool-lock avoid locking (might break parallel builds)"
28
--with-gnome-includes Specify location of GNOME headers"
30
--with-gnome-libs Specify location of GNOME libs"
32
--with-gnome Specify prefix for GNOME files"
34
--enable-compile-warnings=[no/minimum/yes] Turn on compiler warnings."
36
--enable-iso-c Try to warn if code is not ISO C "
38
--with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
40
--with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
42
--disable-gtktest Do not try to compile and run a test GTK program"
44
--disable-nls do not use Native Language Support"
46
--with-catgets use catgets functions if available"
48
--with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
50
--with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
52
--disable-gtktest Do not try to compile and run a test GTK program"
54
# Initialize some variables set by options.
55
# The variables have the same names as the options, with
56
# dashes changed to underlines.
58
cache_file=./config.cache
67
program_transform_name=s,x,x,
75
bindir='${exec_prefix}/bin'
76
sbindir='${exec_prefix}/sbin'
77
libexecdir='${exec_prefix}/libexec'
78
datadir='${prefix}/share'
79
sysconfdir='${prefix}/etc'
80
sharedstatedir='${prefix}/com'
81
localstatedir='${prefix}/var'
82
libdir='${exec_prefix}/lib'
83
includedir='${prefix}/include'
84
oldincludedir='/usr/include'
85
infodir='${prefix}/info'
86
mandir='${prefix}/man'
88
# Initialize some other variables.
91
SHELL=${CONFIG_SHELL-/bin/sh}
92
# Maximum number of lines to put in a shell here document.
99
# If the previous option needs an argument, assign it.
100
if test -n "$ac_prev"; then
101
eval "$ac_prev=\$ac_option"
107
-*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
111
# Accept the important Cygnus configure options, so we can diagnose typos.
115
-bindir | --bindir | --bindi | --bind | --bin | --bi)
117
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
118
bindir="$ac_optarg" ;;
120
-build | --build | --buil | --bui | --bu)
122
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
123
build="$ac_optarg" ;;
125
-cache-file | --cache-file | --cache-fil | --cache-fi \
126
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
127
ac_prev=cache_file ;;
128
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
129
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
130
cache_file="$ac_optarg" ;;
132
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
134
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
136
datadir="$ac_optarg" ;;
138
-disable-* | --disable-*)
139
ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
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'`
145
eval "enable_${ac_feature}=no" ;;
147
-enable-* | --enable-*)
148
ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
149
# Reject names that are not valid shell variable names.
150
if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
151
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
153
ac_feature=`echo $ac_feature| sed 's/-/_/g'`
158
eval "enable_${ac_feature}='$ac_optarg'" ;;
160
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
161
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
162
| --exec | --exe | --ex)
163
ac_prev=exec_prefix ;;
164
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
165
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
166
| --exec=* | --exe=* | --ex=*)
167
exec_prefix="$ac_optarg" ;;
169
-gas | --gas | --ga | --g)
170
# Obsolete; use --with-gas.
173
-help | --help | --hel | --he)
174
# Omit some internal or obsolete options to make the list less imposing.
175
# This message is too long to be a string in the A/UX 3.1 sh.
177
Usage: configure [options] [host]
178
Options: [defaults in brackets after descriptions]
180
--cache-file=FILE cache test results in FILE
181
--help print this message
182
--no-create do not create output files
183
--quiet, --silent do not print \`checking...' messages
184
--version print the version of autoconf that created configure
185
Directory and file names:
186
--prefix=PREFIX install architecture-independent files in PREFIX
188
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
190
--bindir=DIR user executables in DIR [EPREFIX/bin]
191
--sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
192
--libexecdir=DIR program executables in DIR [EPREFIX/libexec]
193
--datadir=DIR read-only architecture-independent data in DIR
195
--sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
196
--sharedstatedir=DIR modifiable architecture-independent data in DIR
198
--localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
199
--libdir=DIR object code libraries in DIR [EPREFIX/lib]
200
--includedir=DIR C header files in DIR [PREFIX/include]
201
--oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
202
--infodir=DIR info documentation in DIR [PREFIX/info]
203
--mandir=DIR man documentation in DIR [PREFIX/man]
204
--srcdir=DIR find the sources in DIR [configure dir or ..]
205
--program-prefix=PREFIX prepend PREFIX to installed program names
206
--program-suffix=SUFFIX append SUFFIX to installed program names
207
--program-transform-name=PROGRAM
208
run sed PROGRAM on installed program names
212
--build=BUILD configure for building on BUILD [BUILD=HOST]
213
--host=HOST configure for HOST [guessed]
214
--target=TARGET configure for TARGET [TARGET=HOST]
215
Features and packages:
216
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
217
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
218
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
219
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
220
--x-includes=DIR X include files are in DIR
221
--x-libraries=DIR X library files are in DIR
223
if test -n "$ac_help"; then
224
echo "--enable and --with options recognized:$ac_help"
228
-host | --host | --hos | --ho)
230
-host=* | --host=* | --hos=* | --ho=*)
233
-includedir | --includedir | --includedi | --included | --include \
234
| --includ | --inclu | --incl | --inc)
235
ac_prev=includedir ;;
236
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
237
| --includ=* | --inclu=* | --incl=* | --inc=*)
238
includedir="$ac_optarg" ;;
240
-infodir | --infodir | --infodi | --infod | --info | --inf)
242
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
243
infodir="$ac_optarg" ;;
245
-libdir | --libdir | --libdi | --libd)
247
-libdir=* | --libdir=* | --libdi=* | --libd=*)
248
libdir="$ac_optarg" ;;
250
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
251
| --libexe | --libex | --libe)
252
ac_prev=libexecdir ;;
253
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
254
| --libexe=* | --libex=* | --libe=*)
255
libexecdir="$ac_optarg" ;;
257
-localstatedir | --localstatedir | --localstatedi | --localstated \
258
| --localstate | --localstat | --localsta | --localst \
259
| --locals | --local | --loca | --loc | --lo)
260
ac_prev=localstatedir ;;
261
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
262
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
263
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
264
localstatedir="$ac_optarg" ;;
266
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
268
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
269
mandir="$ac_optarg" ;;
272
# Obsolete; use --without-fp.
275
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
279
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
280
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
283
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
284
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
285
| --oldin | --oldi | --old | --ol | --o)
286
ac_prev=oldincludedir ;;
287
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
288
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
289
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
290
oldincludedir="$ac_optarg" ;;
292
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
294
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
295
prefix="$ac_optarg" ;;
297
-program-prefix | --program-prefix | --program-prefi | --program-pref \
298
| --program-pre | --program-pr | --program-p)
299
ac_prev=program_prefix ;;
300
-program-prefix=* | --program-prefix=* | --program-prefi=* \
301
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
302
program_prefix="$ac_optarg" ;;
304
-program-suffix | --program-suffix | --program-suffi | --program-suff \
305
| --program-suf | --program-su | --program-s)
306
ac_prev=program_suffix ;;
307
-program-suffix=* | --program-suffix=* | --program-suffi=* \
308
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
309
program_suffix="$ac_optarg" ;;
311
-program-transform-name | --program-transform-name \
312
| --program-transform-nam | --program-transform-na \
313
| --program-transform-n | --program-transform- \
314
| --program-transform | --program-transfor \
315
| --program-transfo | --program-transf \
316
| --program-trans | --program-tran \
317
| --progr-tra | --program-tr | --program-t)
318
ac_prev=program_transform_name ;;
319
-program-transform-name=* | --program-transform-name=* \
320
| --program-transform-nam=* | --program-transform-na=* \
321
| --program-transform-n=* | --program-transform-=* \
322
| --program-transform=* | --program-transfor=* \
323
| --program-transfo=* | --program-transf=* \
324
| --program-trans=* | --program-tran=* \
325
| --progr-tra=* | --program-tr=* | --program-t=*)
326
program_transform_name="$ac_optarg" ;;
328
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
329
| -silent | --silent | --silen | --sile | --sil)
332
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
334
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
336
sbindir="$ac_optarg" ;;
338
-sharedstatedir | --sharedstatedir | --sharedstatedi \
339
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
340
| --sharedst | --shareds | --shared | --share | --shar \
342
ac_prev=sharedstatedir ;;
343
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
344
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
345
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
347
sharedstatedir="$ac_optarg" ;;
349
-site | --site | --sit)
351
-site=* | --site=* | --sit=*)
354
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
356
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
357
srcdir="$ac_optarg" ;;
359
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
360
| --syscon | --sysco | --sysc | --sys | --sy)
361
ac_prev=sysconfdir ;;
362
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
363
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
364
sysconfdir="$ac_optarg" ;;
366
-target | --target | --targe | --targ | --tar | --ta | --t)
368
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
369
target="$ac_optarg" ;;
371
-v | -verbose | --verbose | --verbos | --verbo | --verb)
374
-version | --version | --versio | --versi | --vers)
375
echo "configure generated by autoconf version 2.13"
379
ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
380
# Reject names that are not valid shell variable names.
381
if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
382
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
384
ac_package=`echo $ac_package| sed 's/-/_/g'`
389
eval "with_${ac_package}='$ac_optarg'" ;;
391
-without-* | --without-*)
392
ac_package=`echo $ac_option|sed -e 's/-*without-//'`
393
# Reject names that are not valid shell variable names.
394
if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
395
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
397
ac_package=`echo $ac_package| sed 's/-/_/g'`
398
eval "with_${ac_package}=no" ;;
401
# Obsolete; use --with-x.
404
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
405
| --x-incl | --x-inc | --x-in | --x-i)
406
ac_prev=x_includes ;;
407
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
408
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
409
x_includes="$ac_optarg" ;;
411
-x-libraries | --x-libraries | --x-librarie | --x-librari \
412
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
413
ac_prev=x_libraries ;;
414
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
415
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
416
x_libraries="$ac_optarg" ;;
418
-*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
422
if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
423
echo "configure: warning: $ac_option: invalid host type" 1>&2
425
if test "x$nonopt" != xNONE; then
426
{ echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
434
if test -n "$ac_prev"; then
435
{ echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
438
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
440
# File descriptor usage:
443
# 2 errors and warnings
444
# 3 some systems may open it to /dev/tty
445
# 4 used on the Kubota Titan
446
# 6 checking for... messages and results
447
# 5 compiler messages saved in config.log
448
if test "$silent" = yes; then
456
This file contains any messages produced by compilers while
457
running configure, to aid debugging if configure makes a mistake.
460
# Strip out --no-create and --no-recursion so they do not pile up.
461
# Also quote any args containing shell metacharacters.
466
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
467
| --no-cr | --no-c) ;;
468
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
469
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
470
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
471
ac_configure_args="$ac_configure_args '$ac_arg'" ;;
472
*) ac_configure_args="$ac_configure_args $ac_arg" ;;
477
# Only set these to C if already set. These must not be set unconditionally
478
# because not all systems understand e.g. LANG=C (notably SCO).
479
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
480
# Non-C LC_CTYPE values break the ctype check.
481
if test "${LANG+set}" = set; then LANG=C; export LANG; fi
482
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
483
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
484
if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
486
# confdefs.h avoids OS command line length limits that DEFS can exceed.
487
rm -rf conftest* confdefs.h
488
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
491
# A filename unique to this package, relative to the directory that
492
# configure is in, which we can look for to find out if srcdir is correct.
493
ac_unique_file=src/gedit.c
495
# Find the source files, if location was not specified.
496
if test -z "$srcdir"; then
497
ac_srcdir_defaulted=yes
498
# Try the directory containing this script, then its parent.
500
ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
501
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
503
if test ! -r $srcdir/$ac_unique_file; then
507
ac_srcdir_defaulted=no
509
if test ! -r $srcdir/$ac_unique_file; then
510
if test "$ac_srcdir_defaulted" = yes; then
511
{ echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
513
{ echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
516
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
518
# Prefer explicitly selected file to automatically selected ones.
519
if test -z "$CONFIG_SITE"; then
520
if test "x$prefix" != xNONE; then
521
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
523
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
526
for ac_site_file in $CONFIG_SITE; do
527
if test -r "$ac_site_file"; then
528
echo "loading site script $ac_site_file"
533
if test -r "$cache_file"; then
534
echo "loading cache $cache_file"
537
echo "creating cache $cache_file"
542
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
543
ac_cpp='$CPP $CPPFLAGS'
544
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
545
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
546
cross_compiling=$ac_cv_prog_cc_cross
550
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
551
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
552
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
559
ac_n= ac_c='\c' ac_t=
568
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
569
if test -f $ac_dir/install-sh; then
571
ac_install_sh="$ac_aux_dir/install-sh -c"
573
elif test -f $ac_dir/install.sh; then
575
ac_install_sh="$ac_aux_dir/install.sh -c"
579
if test -z "$ac_aux_dir"; then
580
{ echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
582
ac_config_guess=$ac_aux_dir/config.guess
583
ac_config_sub=$ac_aux_dir/config.sub
584
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
586
# Find a good install program. We prefer a C program (faster),
587
# so one script is as good as another. But avoid the broken or
588
# incompatible versions:
589
# SysV /etc/install, /usr/sbin/install
590
# SunOS /usr/etc/install
593
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
594
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
595
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
596
# ./install, which can be erroneously created by make from ./install.sh.
597
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
598
echo "configure:599: checking for a BSD compatible install" >&5
599
if test -z "$INSTALL"; then
600
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
601
echo $ac_n "(cached) $ac_c" 1>&6
603
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
604
for ac_dir in $PATH; do
605
# Account for people who put trailing slashes in PATH elements.
607
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
609
# OSF1 and SCO ODT 3.0 have their own names for install.
610
# Don't use installbsd from OSF since it installs stuff as root
612
for ac_prog in ginstall scoinst install; do
613
if test -f $ac_dir/$ac_prog; then
614
if test $ac_prog = install &&
615
grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
616
# AIX install. It has an incompatible calling convention.
619
ac_cv_path_install="$ac_dir/$ac_prog -c"
630
if test "${ac_cv_path_install+set}" = set; then
631
INSTALL="$ac_cv_path_install"
633
# As a last resort, use the slow shell script. We don't cache a
634
# path for INSTALL within a source directory, because that will
635
# break other packages using the cache if that directory is
636
# removed, or if the path is relative.
637
INSTALL="$ac_install_sh"
640
echo "$ac_t""$INSTALL" 1>&6
642
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
643
# It thinks the first close brace ends the variable substitution.
644
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
646
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
648
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
650
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
651
echo "configure:652: checking whether build environment is sane" >&5
654
echo timestamp > conftestfile
655
# Do `set' in a subshell so we don't clobber the current shell's
656
# arguments. Must try -L first in case configure is actually a
657
# symlink; some systems play weird games with the mod time of symlinks
658
# (eg FreeBSD returns the mod time of the symlink's containing
661
set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
662
if test "$*" = "X"; then
664
set X `ls -t $srcdir/configure conftestfile`
666
if test "$*" != "X $srcdir/configure conftestfile" \
667
&& test "$*" != "X conftestfile $srcdir/configure"; then
669
# If neither matched, then we have a broken ls. This can happen
670
# if, for instance, CONFIG_SHELL is bash and it inherits a
671
# broken ls alias from the environment. This has actually
672
# happened. Such a system could not be considered "sane".
673
{ echo "configure: error: ls -t appears to fail. Make sure there is not a broken
674
alias in your environment" 1>&2; exit 1; }
677
test "$2" = conftestfile
683
{ echo "configure: error: newly created file is older than distributed files!
684
Check your system clock" 1>&2; exit 1; }
687
echo "$ac_t""yes" 1>&6
688
if test "$program_transform_name" = s,x,x,; then
689
program_transform_name=
691
# Double any \ or $. echo might interpret backslashes.
692
cat <<\EOF_SED > conftestsed
693
s,\\,\\\\,g; s,\$,$$,g
695
program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
698
test "$program_prefix" != NONE &&
699
program_transform_name="s,^,${program_prefix},; $program_transform_name"
700
# Use a double $ so make ignores it.
701
test "$program_suffix" != NONE &&
702
program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
704
# sed with no file args requires a program.
705
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
707
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
708
echo "configure:709: checking whether ${MAKE-make} sets \${MAKE}" >&5
709
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
710
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
711
echo $ac_n "(cached) $ac_c" 1>&6
713
cat > conftestmake <<\EOF
715
@echo 'ac_maketemp="${MAKE}"'
717
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
718
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
719
if test -n "$ac_maketemp"; then
720
eval ac_cv_prog_make_${ac_make}_set=yes
722
eval ac_cv_prog_make_${ac_make}_set=no
726
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
727
echo "$ac_t""yes" 1>&6
730
echo "$ac_t""no" 1>&6
731
SET_MAKE="MAKE=${MAKE-make}"
739
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
740
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
742
cat >> confdefs.h <<EOF
743
#define PACKAGE "$PACKAGE"
746
cat >> confdefs.h <<EOF
747
#define VERSION "$VERSION"
752
missing_dir=`cd $ac_aux_dir && pwd`
753
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
754
echo "configure:755: checking for working aclocal" >&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 (aclocal --version) < /dev/null > /dev/null 2>&1; then
760
echo "$ac_t""found" 1>&6
762
ACLOCAL="$missing_dir/missing aclocal"
763
echo "$ac_t""missing" 1>&6
766
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
767
echo "configure:768: checking for working autoconf" >&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 (autoconf --version) < /dev/null > /dev/null 2>&1; then
773
echo "$ac_t""found" 1>&6
775
AUTOCONF="$missing_dir/missing autoconf"
776
echo "$ac_t""missing" 1>&6
779
echo $ac_n "checking for working automake""... $ac_c" 1>&6
780
echo "configure:781: checking for working automake" >&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 (automake --version) < /dev/null > /dev/null 2>&1; then
786
echo "$ac_t""found" 1>&6
788
AUTOMAKE="$missing_dir/missing automake"
789
echo "$ac_t""missing" 1>&6
792
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
793
echo "configure:794: checking for working autoheader" >&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 (autoheader --version) < /dev/null > /dev/null 2>&1; then
798
AUTOHEADER=autoheader
799
echo "$ac_t""found" 1>&6
801
AUTOHEADER="$missing_dir/missing autoheader"
802
echo "$ac_t""missing" 1>&6
805
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
806
echo "configure:807: checking for working makeinfo" >&5
807
# Run test in a subshell; some versions of sh will print an error if
808
# an executable is not found, even if stderr is redirected.
809
# Redirect stdin to placate older versions of autoconf. Sigh.
810
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
812
echo "$ac_t""found" 1>&6
814
MAKEINFO="$missing_dir/missing makeinfo"
815
echo "$ac_t""missing" 1>&6
820
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
821
echo "configure:822: checking whether to enable maintainer-specific portions of Makefiles" >&5
822
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
823
if test "${enable_maintainer_mode+set}" = set; then
824
enableval="$enable_maintainer_mode"
825
USE_MAINTAINER_MODE=$enableval
827
USE_MAINTAINER_MODE=no
830
echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
833
if test $USE_MAINTAINER_MODE = yes; then
834
MAINTAINER_MODE_TRUE=
835
MAINTAINER_MODE_FALSE='#'
837
MAINTAINER_MODE_TRUE='#'
838
MAINTAINER_MODE_FALSE=
840
MAINT=$MAINTAINER_MODE_TRUE
847
INSIDE_GNOME_COMMON_TRUE=
848
INSIDE_GNOME_COMMON_FALSE='#'
850
INSIDE_GNOME_COMMON_TRUE='#'
851
INSIDE_GNOME_COMMON_FALSE=
854
test -n "$ACLOCAL_FLAGS" && ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
856
for k in macros ; do ACLOCAL="$ACLOCAL -I $k" ; done
859
# Extract the first word of "gcc", so it can be a program name with args.
860
set dummy gcc; ac_word=$2
861
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
862
echo "configure:863: checking for $ac_word" >&5
863
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
864
echo $ac_n "(cached) $ac_c" 1>&6
866
if test -n "$CC"; then
867
ac_cv_prog_CC="$CC" # Let the user override the test.
869
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
871
for ac_dir in $ac_dummy; do
872
test -z "$ac_dir" && ac_dir=.
873
if test -f $ac_dir/$ac_word; then
882
if test -n "$CC"; then
883
echo "$ac_t""$CC" 1>&6
885
echo "$ac_t""no" 1>&6
888
if test -z "$CC"; then
889
# Extract the first word of "cc", so it can be a program name with args.
890
set dummy cc; ac_word=$2
891
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
892
echo "configure:893: checking for $ac_word" >&5
893
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
894
echo $ac_n "(cached) $ac_c" 1>&6
896
if test -n "$CC"; then
897
ac_cv_prog_CC="$CC" # Let the user override the test.
899
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
902
for ac_dir in $ac_dummy; do
903
test -z "$ac_dir" && ac_dir=.
904
if test -f $ac_dir/$ac_word; then
905
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
914
if test $ac_prog_rejected = yes; then
915
# We found a bogon in the path, so make sure we never use it.
916
set dummy $ac_cv_prog_CC
918
if test $# -gt 0; then
919
# We chose a different compiler from the bogus one.
920
# However, it has the same basename, so the bogon will be chosen
921
# first if we set CC to just the basename; use the full file name.
923
set dummy "$ac_dir/$ac_word" "$@"
931
if test -n "$CC"; then
932
echo "$ac_t""$CC" 1>&6
934
echo "$ac_t""no" 1>&6
937
if test -z "$CC"; then
940
# Extract the first word of "cl", so it can be a program name with args.
941
set dummy cl; ac_word=$2
942
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
943
echo "configure:944: checking for $ac_word" >&5
944
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
945
echo $ac_n "(cached) $ac_c" 1>&6
947
if test -n "$CC"; then
948
ac_cv_prog_CC="$CC" # Let the user override the test.
950
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
952
for ac_dir in $ac_dummy; do
953
test -z "$ac_dir" && ac_dir=.
954
if test -f $ac_dir/$ac_word; then
963
if test -n "$CC"; then
964
echo "$ac_t""$CC" 1>&6
966
echo "$ac_t""no" 1>&6
971
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
974
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
975
echo "configure:976: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
978
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
979
ac_cpp='$CPP $CPPFLAGS'
980
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
981
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
982
cross_compiling=$ac_cv_prog_cc_cross
984
cat > conftest.$ac_ext << EOF
986
#line 987 "configure"
987
#include "confdefs.h"
991
if { (eval echo configure:992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
992
ac_cv_prog_cc_works=yes
993
# If we can't run a trivial program, we are probably using a cross compiler.
994
if (./conftest; exit) 2>/dev/null; then
995
ac_cv_prog_cc_cross=no
997
ac_cv_prog_cc_cross=yes
1000
echo "configure: failed program was:" >&5
1001
cat conftest.$ac_ext >&5
1002
ac_cv_prog_cc_works=no
1006
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1007
ac_cpp='$CPP $CPPFLAGS'
1008
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1009
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1010
cross_compiling=$ac_cv_prog_cc_cross
1012
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1013
if test $ac_cv_prog_cc_works = no; then
1014
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1016
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1017
echo "configure:1018: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1018
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1019
cross_compiling=$ac_cv_prog_cc_cross
1021
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1022
echo "configure:1023: checking whether we are using GNU C" >&5
1023
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1024
echo $ac_n "(cached) $ac_c" 1>&6
1026
cat > conftest.c <<EOF
1031
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1038
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1040
if test $ac_cv_prog_gcc = yes; then
1046
ac_test_CFLAGS="${CFLAGS+set}"
1047
ac_save_CFLAGS="$CFLAGS"
1049
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1050
echo "configure:1051: checking whether ${CC-cc} accepts -g" >&5
1051
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1052
echo $ac_n "(cached) $ac_c" 1>&6
1054
echo 'void f(){}' > conftest.c
1055
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1064
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1065
if test "$ac_test_CFLAGS" = set; then
1066
CFLAGS="$ac_save_CFLAGS"
1067
elif test $ac_cv_prog_cc_g = yes; then
1068
if test "$GCC" = yes; then
1074
if test "$GCC" = yes; then
1081
echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
1082
echo "configure:1083: checking for POSIXized ISC" >&5
1083
if test -d /etc/conf/kconfig.d &&
1084
grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
1086
echo "$ac_t""yes" 1>&6
1087
ISC=yes # If later tests want to check for ISC.
1088
cat >> confdefs.h <<\EOF
1089
#define _POSIX_SOURCE 1
1092
if test "$GCC" = yes; then
1098
echo "$ac_t""no" 1>&6
1102
# Extract the first word of "gcc", so it can be a program name with args.
1103
set dummy gcc; ac_word=$2
1104
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1105
echo "configure:1106: checking for $ac_word" >&5
1106
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1107
echo $ac_n "(cached) $ac_c" 1>&6
1109
if test -n "$CC"; then
1110
ac_cv_prog_CC="$CC" # Let the user override the test.
1112
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1114
for ac_dir in $ac_dummy; do
1115
test -z "$ac_dir" && ac_dir=.
1116
if test -f $ac_dir/$ac_word; then
1125
if test -n "$CC"; then
1126
echo "$ac_t""$CC" 1>&6
1128
echo "$ac_t""no" 1>&6
1131
if test -z "$CC"; then
1132
# Extract the first word of "cc", so it can be a program name with args.
1133
set dummy cc; ac_word=$2
1134
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1135
echo "configure:1136: checking for $ac_word" >&5
1136
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1137
echo $ac_n "(cached) $ac_c" 1>&6
1139
if test -n "$CC"; then
1140
ac_cv_prog_CC="$CC" # Let the user override the test.
1142
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1145
for ac_dir in $ac_dummy; do
1146
test -z "$ac_dir" && ac_dir=.
1147
if test -f $ac_dir/$ac_word; then
1148
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1149
ac_prog_rejected=yes
1157
if test $ac_prog_rejected = yes; then
1158
# We found a bogon in the path, so make sure we never use it.
1159
set dummy $ac_cv_prog_CC
1161
if test $# -gt 0; then
1162
# We chose a different compiler from the bogus one.
1163
# However, it has the same basename, so the bogon will be chosen
1164
# first if we set CC to just the basename; use the full file name.
1166
set dummy "$ac_dir/$ac_word" "$@"
1174
if test -n "$CC"; then
1175
echo "$ac_t""$CC" 1>&6
1177
echo "$ac_t""no" 1>&6
1180
if test -z "$CC"; then
1181
case "`uname -s`" in
1183
# Extract the first word of "cl", so it can be a program name with args.
1184
set dummy cl; ac_word=$2
1185
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1186
echo "configure:1187: checking for $ac_word" >&5
1187
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1188
echo $ac_n "(cached) $ac_c" 1>&6
1190
if test -n "$CC"; then
1191
ac_cv_prog_CC="$CC" # Let the user override the test.
1193
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1195
for ac_dir in $ac_dummy; do
1196
test -z "$ac_dir" && ac_dir=.
1197
if test -f $ac_dir/$ac_word; then
1206
if test -n "$CC"; then
1207
echo "$ac_t""$CC" 1>&6
1209
echo "$ac_t""no" 1>&6
1214
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1217
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1218
echo "configure:1219: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1221
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1222
ac_cpp='$CPP $CPPFLAGS'
1223
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1224
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1225
cross_compiling=$ac_cv_prog_cc_cross
1227
cat > conftest.$ac_ext << EOF
1229
#line 1230 "configure"
1230
#include "confdefs.h"
1234
if { (eval echo configure:1235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1235
ac_cv_prog_cc_works=yes
1236
# If we can't run a trivial program, we are probably using a cross compiler.
1237
if (./conftest; exit) 2>/dev/null; then
1238
ac_cv_prog_cc_cross=no
1240
ac_cv_prog_cc_cross=yes
1243
echo "configure: failed program was:" >&5
1244
cat conftest.$ac_ext >&5
1245
ac_cv_prog_cc_works=no
1249
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1250
ac_cpp='$CPP $CPPFLAGS'
1251
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1252
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1253
cross_compiling=$ac_cv_prog_cc_cross
1255
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1256
if test $ac_cv_prog_cc_works = no; then
1257
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1259
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1260
echo "configure:1261: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1261
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1262
cross_compiling=$ac_cv_prog_cc_cross
1264
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1265
echo "configure:1266: checking whether we are using GNU C" >&5
1266
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1267
echo $ac_n "(cached) $ac_c" 1>&6
1269
cat > conftest.c <<EOF
1274
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1281
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1283
if test $ac_cv_prog_gcc = yes; then
1289
ac_test_CFLAGS="${CFLAGS+set}"
1290
ac_save_CFLAGS="$CFLAGS"
1292
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1293
echo "configure:1294: checking whether ${CC-cc} accepts -g" >&5
1294
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1295
echo $ac_n "(cached) $ac_c" 1>&6
1297
echo 'void f(){}' > conftest.c
1298
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1307
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1308
if test "$ac_test_CFLAGS" = set; then
1309
CFLAGS="$ac_save_CFLAGS"
1310
elif test $ac_cv_prog_cc_g = yes; then
1311
if test "$GCC" = yes; then
1317
if test "$GCC" = yes; then
1324
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1325
echo "configure:1326: checking how to run the C preprocessor" >&5
1326
# On Suns, sometimes $CPP names a directory.
1327
if test -n "$CPP" && test -d "$CPP"; then
1330
if test -z "$CPP"; then
1331
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1332
echo $ac_n "(cached) $ac_c" 1>&6
1334
# This must be in double quotes, not single quotes, because CPP may get
1335
# substituted into the Makefile and "${CC-cc}" will confuse make.
1337
# On the NeXT, cc -E runs the code through the compiler's parser,
1338
# not just through cpp.
1339
cat > conftest.$ac_ext <<EOF
1340
#line 1341 "configure"
1341
#include "confdefs.h"
1345
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1346
{ (eval echo configure:1347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1347
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1348
if test -z "$ac_err"; then
1352
echo "configure: failed program was:" >&5
1353
cat conftest.$ac_ext >&5
1355
CPP="${CC-cc} -E -traditional-cpp"
1356
cat > conftest.$ac_ext <<EOF
1357
#line 1358 "configure"
1358
#include "confdefs.h"
1362
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1363
{ (eval echo configure:1364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1364
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1365
if test -z "$ac_err"; then
1369
echo "configure: failed program was:" >&5
1370
cat conftest.$ac_ext >&5
1372
CPP="${CC-cc} -nologo -E"
1373
cat > conftest.$ac_ext <<EOF
1374
#line 1375 "configure"
1375
#include "confdefs.h"
1379
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1380
{ (eval echo configure:1381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1381
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1382
if test -z "$ac_err"; then
1386
echo "configure: failed program was:" >&5
1387
cat conftest.$ac_ext >&5
1396
ac_cv_prog_CPP="$CPP"
1398
CPP="$ac_cv_prog_CPP"
1400
ac_cv_prog_CPP="$CPP"
1402
echo "$ac_t""$CPP" 1>&6
1404
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1405
echo "configure:1406: checking for ANSI C header files" >&5
1406
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1407
echo $ac_n "(cached) $ac_c" 1>&6
1409
cat > conftest.$ac_ext <<EOF
1410
#line 1411 "configure"
1411
#include "confdefs.h"
1417
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1418
{ (eval echo configure:1419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1419
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1420
if test -z "$ac_err"; then
1422
ac_cv_header_stdc=yes
1425
echo "configure: failed program was:" >&5
1426
cat conftest.$ac_ext >&5
1428
ac_cv_header_stdc=no
1432
if test $ac_cv_header_stdc = yes; then
1433
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1434
cat > conftest.$ac_ext <<EOF
1435
#line 1436 "configure"
1436
#include "confdefs.h"
1439
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1440
egrep "memchr" >/dev/null 2>&1; then
1444
ac_cv_header_stdc=no
1450
if test $ac_cv_header_stdc = yes; then
1451
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1452
cat > conftest.$ac_ext <<EOF
1453
#line 1454 "configure"
1454
#include "confdefs.h"
1457
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1458
egrep "free" >/dev/null 2>&1; then
1462
ac_cv_header_stdc=no
1468
if test $ac_cv_header_stdc = yes; then
1469
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1470
if test "$cross_compiling" = yes; then
1473
cat > conftest.$ac_ext <<EOF
1474
#line 1475 "configure"
1475
#include "confdefs.h"
1477
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1478
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1479
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1480
int main () { int i; for (i = 0; i < 256; i++)
1481
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1485
if { (eval echo configure:1486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1489
echo "configure: failed program was:" >&5
1490
cat conftest.$ac_ext >&5
1492
ac_cv_header_stdc=no
1500
echo "$ac_t""$ac_cv_header_stdc" 1>&6
1501
if test $ac_cv_header_stdc = yes; then
1502
cat >> confdefs.h <<\EOF
1503
#define STDC_HEADERS 1
1508
if test "$program_transform_name" = s,x,x,; then
1509
program_transform_name=
1511
# Double any \ or $. echo might interpret backslashes.
1512
cat <<\EOF_SED > conftestsed
1513
s,\\,\\\\,g; s,\$,$$,g
1515
program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1518
test "$program_prefix" != NONE &&
1519
program_transform_name="s,^,${program_prefix},; $program_transform_name"
1520
# Use a double $ so make ignores it.
1521
test "$program_suffix" != NONE &&
1522
program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
1524
# sed with no file args requires a program.
1525
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
1527
# Check whether --enable-shared or --disable-shared was given.
1528
if test "${enable_shared+set}" = set; then
1529
enableval="$enable_shared"
1530
p=${PACKAGE-default}
1531
case "$enableval" in
1532
yes) enable_shared=yes ;;
1533
no) enable_shared=no ;;
1536
# Look at the argument we got. We use all the common list separators.
1537
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1538
for pkg in $enableval; do
1539
if test "X$pkg" = "X$p"; then
1550
# Check whether --enable-static or --disable-static was given.
1551
if test "${enable_static+set}" = set; then
1552
enableval="$enable_static"
1553
p=${PACKAGE-default}
1554
case "$enableval" in
1555
yes) enable_static=yes ;;
1556
no) enable_static=no ;;
1559
# Look at the argument we got. We use all the common list separators.
1560
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1561
for pkg in $enableval; do
1562
if test "X$pkg" = "X$p"; then
1573
# Check whether --enable-fast-install or --disable-fast-install was given.
1574
if test "${enable_fast_install+set}" = set; then
1575
enableval="$enable_fast_install"
1576
p=${PACKAGE-default}
1577
case "$enableval" in
1578
yes) enable_fast_install=yes ;;
1579
no) enable_fast_install=no ;;
1581
enable_fast_install=no
1582
# Look at the argument we got. We use all the common list separators.
1583
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1584
for pkg in $enableval; do
1585
if test "X$pkg" = "X$p"; then
1586
enable_fast_install=yes
1593
enable_fast_install=yes
1597
# Make sure we can run config.sub.
1598
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
1599
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1602
echo $ac_n "checking host system type""... $ac_c" 1>&6
1603
echo "configure:1604: checking host system type" >&5
1606
case "$host_alias" in
1610
if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1611
else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1613
*) host_alias=$nonopt ;;
1617
host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1618
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1619
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1620
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1621
echo "$ac_t""$host" 1>&6
1623
echo $ac_n "checking build system type""... $ac_c" 1>&6
1624
echo "configure:1625: checking build system type" >&5
1627
case "$build_alias" in
1630
NONE) build_alias=$host_alias ;;
1631
*) build_alias=$nonopt ;;
1635
build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1636
build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1637
build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1638
build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1639
echo "$ac_t""$build" 1>&6
1641
# Extract the first word of "ranlib", so it can be a program name with args.
1642
set dummy ranlib; ac_word=$2
1643
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1644
echo "configure:1645: checking for $ac_word" >&5
1645
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1646
echo $ac_n "(cached) $ac_c" 1>&6
1648
if test -n "$RANLIB"; then
1649
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1651
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1653
for ac_dir in $ac_dummy; do
1654
test -z "$ac_dir" && ac_dir=.
1655
if test -f $ac_dir/$ac_word; then
1656
ac_cv_prog_RANLIB="ranlib"
1661
test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1664
RANLIB="$ac_cv_prog_RANLIB"
1665
if test -n "$RANLIB"; then
1666
echo "$ac_t""$RANLIB" 1>&6
1668
echo "$ac_t""no" 1>&6
1671
# Check whether --with-gnu-ld or --without-gnu-ld was given.
1672
if test "${with_gnu_ld+set}" = set; then
1673
withval="$with_gnu_ld"
1674
test "$withval" = no || with_gnu_ld=yes
1680
if test "$ac_cv_prog_gcc" = yes; then
1681
# Check if gcc -print-prog-name=ld gives a path.
1682
echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1683
echo "configure:1684: checking for ld used by GCC" >&5
1684
ac_prog=`($CC -print-prog-name=ld) 2>&5`
1686
# Accept absolute paths.
1687
[\\/]* | [A-Za-z]:[\\/]*)
1688
re_direlt='/[^/][^/]*/\.\./'
1689
# Canonicalize the path of ld
1690
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1691
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1692
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1694
test -z "$LD" && LD="$ac_prog"
1697
# If it fails, then pretend we aren't using GCC.
1701
# If it is relative, then search for the first ld in PATH.
1705
elif test "$with_gnu_ld" = yes; then
1706
echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1707
echo "configure:1708: checking for GNU ld" >&5
1709
echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1710
echo "configure:1711: checking for non-GNU ld" >&5
1712
if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1713
echo $ac_n "(cached) $ac_c" 1>&6
1715
if test -z "$LD"; then
1716
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1717
for ac_dir in $PATH; do
1718
test -z "$ac_dir" && ac_dir=.
1719
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1720
ac_cv_path_LD="$ac_dir/$ac_prog"
1721
# Check to see if the program is GNU ld. I'd rather use --version,
1722
# but apparently some GNU ld's only accept -v.
1723
# Break only if it was the GNU/non-GNU ld that we prefer.
1724
if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1725
test "$with_gnu_ld" != no && break
1727
test "$with_gnu_ld" != yes && break
1733
ac_cv_path_LD="$LD" # Let the user override the test with a path.
1738
if test -n "$LD"; then
1739
echo "$ac_t""$LD" 1>&6
1741
echo "$ac_t""no" 1>&6
1743
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1744
echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1745
echo "configure:1746: checking if the linker ($LD) is GNU ld" >&5
1746
if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1747
echo $ac_n "(cached) $ac_c" 1>&6
1749
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
1750
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1751
ac_cv_prog_gnu_ld=yes
1753
ac_cv_prog_gnu_ld=no
1757
echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1760
echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1761
echo "configure:1762: checking for BSD-compatible nm" >&5
1762
if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1763
echo $ac_n "(cached) $ac_c" 1>&6
1765
if test -n "$NM"; then
1766
# Let the user override the test.
1769
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1770
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1771
test -z "$ac_dir" && ac_dir=.
1772
if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
1773
# Check to see if the nm accepts a BSD-compat flag.
1774
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
1775
# nm: unknown option "B" ignored
1776
if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1777
ac_cv_path_NM="$ac_dir/nm -B"
1779
elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1780
ac_cv_path_NM="$ac_dir/nm -p"
1783
ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
1784
continue # so that we can try to find one that supports BSD flags
1789
test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
1794
echo "$ac_t""$NM" 1>&6
1796
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1797
echo "configure:1798: checking whether ln -s works" >&5
1798
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1799
echo $ac_n "(cached) $ac_c" 1>&6
1802
if ln -s X conftestdata 2>/dev/null
1805
ac_cv_prog_LN_S="ln -s"
1810
LN_S="$ac_cv_prog_LN_S"
1811
if test "$ac_cv_prog_LN_S" = "ln -s"; then
1812
echo "$ac_t""yes" 1>&6
1814
echo "$ac_t""no" 1>&6
1819
NONE) lt_target="$host" ;;
1820
*) lt_target="$target" ;;
1823
# Check for any special flags to pass to ltconfig.
1825
# the following will cause an existing older ltconfig to fail, so
1826
# we ignore this at the expense of the cache file... Checking this
1827
# will just take longer ... bummer!
1828
#libtool_flags="--cache-file=$cache_file"
1830
test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
1831
test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
1832
test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
1833
test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
1834
test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
1837
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
1838
if test "${enable_libtool_lock+set}" = set; then
1839
enableval="$enable_libtool_lock"
1843
test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
1844
test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
1846
# Some flags need to be propagated to the compiler or linker for good
1848
case "$lt_target" in
1850
# Find out which ABI we are using.
1851
echo '#line 1852 "configure"' > conftest.$ac_ext
1852
if { (eval echo configure:1853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1853
case "`/usr/bin/file conftest.o`" in
1869
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
1870
SAVE_CFLAGS="$CFLAGS"
1871
CFLAGS="$CFLAGS -belf"
1872
echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
1873
echo "configure:1874: checking whether the C compiler needs -belf" >&5
1874
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
1875
echo $ac_n "(cached) $ac_c" 1>&6
1877
cat > conftest.$ac_ext <<EOF
1878
#line 1879 "configure"
1879
#include "confdefs.h"
1885
if { (eval echo configure:1886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1887
lt_cv_cc_needs_belf=yes
1889
echo "configure: failed program was:" >&5
1890
cat conftest.$ac_ext >&5
1892
lt_cv_cc_needs_belf=no
1897
echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
1898
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
1899
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1900
CFLAGS="$SAVE_CFLAGS"
1908
# Save cache, so that ltconfig can load it
1909
cat > confcache <<\EOF
1910
# This file is a shell script that caches the results of configure
1911
# tests run on this system so they can be shared between configure
1912
# scripts and configure runs. It is not useful on other systems.
1913
# If it contains results you don't want to keep, you may remove or edit it.
1915
# By default, configure uses ./config.cache as the cache file,
1916
# creating it if it does not exist already. You can give configure
1917
# the --cache-file=FILE option to use a different cache file; that is
1918
# what configure does when it calls configure scripts in
1919
# subdirectories, so they share the cache.
1920
# Giving --cache-file=/dev/null disables caching, for debugging configure.
1921
# config.status only pays attention to the cache file if you give it the
1922
# --recheck option to rerun configure.
1925
# The following way of writing the cache mishandles newlines in values,
1926
# but we know of no workaround that is simple, portable, and efficient.
1927
# So, don't put newlines in cache variables' values.
1928
# Ultrix sh set writes to stderr and can't be redirected directly,
1929
# and sets the high bit in the cache file unless we assign to the vars.
1931
case `(ac_space=' '; set | grep ac_space) 2>&1` in
1933
# `set' does not quote correctly, so add quotes (double-quote substitution
1934
# turns \\\\ into \\, and sed turns \\ into \).
1936
-e "s/'/'\\\\''/g" \
1937
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1940
# `set' quotes correctly as required by POSIX, so do not add quotes.
1941
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1944
if cmp -s $cache_file confcache; then
1947
if test -w $cache_file; then
1948
echo "updating cache $cache_file"
1949
cat confcache > $cache_file
1951
echo "not updating unwritable cache $cache_file"
1957
# Actually configure libtool. ac_aux_dir is where install-sh is found.
1958
CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
1959
LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
1960
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
1961
DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
1962
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
1963
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
1964
|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
1966
# Reload cache, that may have been modified by ltconfig
1967
if test -r "$cache_file"; then
1968
echo "loading cache $cache_file"
1971
echo "creating cache $cache_file"
1976
# This can be used to rebuild libtool when needed
1977
LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
1979
# Always use our own libtool.
1980
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1982
# Redirect the config.log output again, so that the ltconfig log is not
1983
# clobbered by the next message.
1984
exec 5>>./config.log
1997
# Check whether --with-gnome-includes or --without-gnome-includes was given.
1998
if test "${with_gnome_includes+set}" = set; then
1999
withval="$with_gnome_includes"
2001
CFLAGS="$CFLAGS -I$withval"
2006
# Check whether --with-gnome-libs or --without-gnome-libs was given.
2007
if test "${with_gnome_libs+set}" = set; then
2008
withval="$with_gnome_libs"
2010
LDFLAGS="$LDFLAGS -L$withval"
2011
gnome_prefix=$withval
2016
# Check whether --with-gnome or --without-gnome was given.
2017
if test "${with_gnome+set}" = set; then
2018
withval="$with_gnome"
2019
if test x$withval = xyes; then
2023
if test "x$withval" = xno; then
2027
LDFLAGS="$LDFLAGS -L$withval/lib"
2028
CFLAGS="$CFLAGS -I$withval/include"
2029
gnome_prefix=$withval/lib
2037
if test "x$want_gnome" = xyes; then
2039
# Extract the first word of "gnome-config", so it can be a program name with args.
2040
set dummy gnome-config; ac_word=$2
2041
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2042
echo "configure:2043: checking for $ac_word" >&5
2043
if eval "test \"`echo '$''{'ac_cv_path_GNOME_CONFIG'+set}'`\" = set"; then
2044
echo $ac_n "(cached) $ac_c" 1>&6
2046
case "$GNOME_CONFIG" in
2048
ac_cv_path_GNOME_CONFIG="$GNOME_CONFIG" # Let the user override the test with a path.
2051
ac_cv_path_GNOME_CONFIG="$GNOME_CONFIG" # Let the user override the test with a dos path.
2054
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2056
for ac_dir in $ac_dummy; do
2057
test -z "$ac_dir" && ac_dir=.
2058
if test -f $ac_dir/$ac_word; then
2059
ac_cv_path_GNOME_CONFIG="$ac_dir/$ac_word"
2064
test -z "$ac_cv_path_GNOME_CONFIG" && ac_cv_path_GNOME_CONFIG="no"
2068
GNOME_CONFIG="$ac_cv_path_GNOME_CONFIG"
2069
if test -n "$GNOME_CONFIG"; then
2070
echo "$ac_t""$GNOME_CONFIG" 1>&6
2072
echo "$ac_t""no" 1>&6
2075
if test "$GNOME_CONFIG" = "no"; then
2076
no_gnome_config="yes"
2078
echo $ac_n "checking if $GNOME_CONFIG works""... $ac_c" 1>&6
2079
echo "configure:2080: checking if $GNOME_CONFIG works" >&5
2080
if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then
2081
echo "$ac_t""yes" 1>&6
2084
# Extract the first word of "orbit-config", so it can be a program name with args.
2085
set dummy orbit-config; ac_word=$2
2086
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2087
echo "configure:2088: checking for $ac_word" >&5
2088
if eval "test \"`echo '$''{'ac_cv_path_ORBIT_CONFIG'+set}'`\" = set"; then
2089
echo $ac_n "(cached) $ac_c" 1>&6
2091
case "$ORBIT_CONFIG" in
2093
ac_cv_path_ORBIT_CONFIG="$ORBIT_CONFIG" # Let the user override the test with a path.
2096
ac_cv_path_ORBIT_CONFIG="$ORBIT_CONFIG" # Let the user override the test with a dos path.
2099
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2101
for ac_dir in $ac_dummy; do
2102
test -z "$ac_dir" && ac_dir=.
2103
if test -f $ac_dir/$ac_word; then
2104
ac_cv_path_ORBIT_CONFIG="$ac_dir/$ac_word"
2109
test -z "$ac_cv_path_ORBIT_CONFIG" && ac_cv_path_ORBIT_CONFIG="no"
2113
ORBIT_CONFIG="$ac_cv_path_ORBIT_CONFIG"
2114
if test -n "$ORBIT_CONFIG"; then
2115
echo "$ac_t""$ORBIT_CONFIG" 1>&6
2117
echo "$ac_t""no" 1>&6
2120
# Extract the first word of "orbit-idl", so it can be a program name with args.
2121
set dummy orbit-idl; ac_word=$2
2122
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2123
echo "configure:2124: checking for $ac_word" >&5
2124
if eval "test \"`echo '$''{'ac_cv_path_ORBIT_IDL'+set}'`\" = set"; then
2125
echo $ac_n "(cached) $ac_c" 1>&6
2127
case "$ORBIT_IDL" in
2129
ac_cv_path_ORBIT_IDL="$ORBIT_IDL" # Let the user override the test with a path.
2132
ac_cv_path_ORBIT_IDL="$ORBIT_IDL" # Let the user override the test with a dos path.
2135
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2137
for ac_dir in $ac_dummy; do
2138
test -z "$ac_dir" && ac_dir=.
2139
if test -f $ac_dir/$ac_word; then
2140
ac_cv_path_ORBIT_IDL="$ac_dir/$ac_word"
2145
test -z "$ac_cv_path_ORBIT_IDL" && ac_cv_path_ORBIT_IDL="no"
2149
ORBIT_IDL="$ac_cv_path_ORBIT_IDL"
2150
if test -n "$ORBIT_IDL"; then
2151
echo "$ac_t""$ORBIT_IDL" 1>&6
2153
echo "$ac_t""no" 1>&6
2156
echo $ac_n "checking for working ORBit environment""... $ac_c" 1>&6
2157
echo "configure:2158: checking for working ORBit environment" >&5
2158
if eval "test \"`echo '$''{'gnome_cv_orbit_found'+set}'`\" = set"; then
2159
echo $ac_n "(cached) $ac_c" 1>&6
2162
if test x$ORBIT_CONFIG = xno -o x$ORBIT_IDL = xno; then
2163
gnome_cv_orbit_found=no
2165
gnome_cv_orbit_found=yes
2170
echo "$ac_t""$gnome_cv_orbit_found" 1>&6
2173
if test x$gnome_cv_orbit_found = xyes; then
2175
HAVE_ORBIT_FALSE='#'
2180
if test x$gnome_cv_orbit_found = xyes; then
2182
ORBIT_CFLAGS=`orbit-config --cflags client server`
2183
ORBIT_LIBS=`orbit-config --use-service=name --libs client server`
2187
if test xfail = xfailure; then
2188
{ echo "configure: error: ORBit not installed or installation problem" 1>&2; exit 1; }
2192
echo $ac_n "checking for gnorba libraries""... $ac_c" 1>&6
2193
echo "configure:2194: checking for gnorba libraries" >&5
2194
if eval "test \"`echo '$''{'gnome_cv_gnorba_found'+set}'`\" = set"; then
2195
echo $ac_n "(cached) $ac_c" 1>&6
2198
gnome_cv_gnorba_found=no
2199
if test x$gnome_cv_orbit_found = xyes; then
2200
GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`"
2201
GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`"
2202
if test -n "$GNORBA_LIBS"; then
2203
gnome_cv_gnorba_found=yes
2209
echo "$ac_t""$gnome_cv_gnorba_found" 1>&6
2212
if test x$gnome_cv_gnorba_found = xyes; then
2214
HAVE_GNORBA_FALSE='#'
2216
HAVE_GNORBA_TRUE='#'
2219
if test x$gnome_cv_orbit_found = xyes; then
2221
GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`"
2222
GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`"
2226
if test xfail = xfailure; then
2227
{ echo "configure: error: gnorba library not installed or installation problem" 1>&2; exit 1; }
2231
GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome`"
2232
GNOMEUI_LIBS="`$GNOME_CONFIG --libs-only-l gnomeui`"
2233
GNOMEGNORBA_LIBS="`$GNOME_CONFIG --libs-only-l gnorba gnomeui`"
2234
GTKXMHTML_LIBS="`$GNOME_CONFIG --libs-only-l gtkxmhtml`"
2235
ZVT_LIBS="`$GNOME_CONFIG --libs-only-l zvt`"
2236
GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`"
2237
GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`"
2240
echo "$ac_t""no" 1>&6
2241
no_gnome_config="yes"
2245
if test x$exec_prefix = xNONE; then
2246
if test x$prefix = xNONE; then
2247
gnome_prefix=$ac_default_prefix/lib
2249
gnome_prefix=$prefix/lib
2252
gnome_prefix=`eval echo \`echo $libdir\``
2255
if test "$no_gnome_config" = "yes"; then
2256
echo $ac_n "checking for gnomeConf.sh file in $gnome_prefix""... $ac_c" 1>&6
2257
echo "configure:2258: checking for gnomeConf.sh file in $gnome_prefix" >&5
2258
if test -f $gnome_prefix/gnomeConf.sh; then
2259
echo "$ac_t""found" 1>&6
2260
echo "loading gnome configuration from" \
2261
"$gnome_prefix/gnomeConf.sh"
2262
. $gnome_prefix/gnomeConf.sh
2265
echo "$ac_t""not found" 1>&6
2266
if test xfail = xfail; then
2267
{ echo "configure: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" 1>&2; exit 1; }
2276
echo $ac_n "checking extra library \"$i\"""... $ac_c" 1>&6
2277
echo "configure:2278: checking extra library \"$i\"" >&5
2281
GNOME_APPLETS_LIBS=`$GNOME_CONFIG --libs-only-l applets`
2282
echo "$ac_t""$GNOME_APPLETS_LIBS" 1>&6;;
2285
GNOME_DOCKLETS_LIBS=`$GNOME_CONFIG --libs-only-l docklets`
2286
echo "$ac_t""$GNOME_DOCKLETS_LIBS" 1>&6;;
2289
GNOME_CAPPLET_LIBS=`$GNOME_CONFIG --libs-only-l capplet`
2290
echo "$ac_t""$GNOME_CAPPLET_LIBS" 1>&6;;
2292
echo "$ac_t""unknown library" 1>&6
2300
# Check whether --enable-compile-warnings or --disable-compile-warnings was given.
2301
if test "${enable_compile_warnings+set}" = set; then
2302
enableval="$enable_compile_warnings"
2305
enable_compile_warnings=minimum
2309
echo $ac_n "checking what warning flags to pass to the C compiler""... $ac_c" 1>&6
2310
echo "configure:2311: checking what warning flags to pass to the C compiler" >&5
2312
if test "x$GCC" != xyes; then
2313
enable_compile_warnings=no
2316
if test "x$enable_compile_warnings" != "xno"; then
2317
if test "x$GCC" = "xyes"; then
2320
*) warnCFLAGS="-Wall -Wunused" ;;
2323
## -W is not all that useful. And it cannot be controlled
2324
## with individual -Wno-xxx flags, unlike -Wall
2325
if test "x$enable_compile_warnings" = "xyes"; then
2326
warnCFLAGS="$warnCFLAGS -Wmissing-prototypes -Wmissing-declarations"
2330
echo "$ac_t""$warnCFLAGS" 1>&6
2332
# Check whether --enable-iso-c or --disable-iso-c was given.
2333
if test "${enable_iso_c+set}" = set; then
2334
enableval="$enable_iso_c"
2341
echo $ac_n "checking what language compliance flags to pass to the C compiler""... $ac_c" 1>&6
2342
echo "configure:2343: checking what language compliance flags to pass to the C compiler" >&5
2344
if test "x$enable_iso_c" != "xno"; then
2345
if test "x$GCC" = "xyes"; then
2348
*) complCFLAGS="$complCFLAGS -ansi" ;;
2352
*\ \ -pedantic\ \ *) ;;
2353
*) complCFLAGS="$complCFLAGS -pedantic" ;;
2357
echo "$ac_t""$complCFLAGS" 1>&6
2358
if test "x$cflags_set" != "xyes"; then
2359
CFLAGS="$CFLAGS $warnCFLAGS $complCFLAGS"
2366
echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
2367
echo "configure:2368: checking for pthread_create in -lpthread" >&5
2368
ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
2369
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2370
echo $ac_n "(cached) $ac_c" 1>&6
2372
ac_save_LIBS="$LIBS"
2373
LIBS="-lpthread $LIBS"
2374
cat > conftest.$ac_ext <<EOF
2375
#line 2376 "configure"
2376
#include "confdefs.h"
2377
/* Override any gcc2 internal prototype to avoid an error. */
2378
/* We use char because int might match the return type of a gcc2
2379
builtin and then its argument prototype would still apply. */
2380
char pthread_create();
2386
if { (eval echo configure:2387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2388
eval "ac_cv_lib_$ac_lib_var=yes"
2390
echo "configure: failed program was:" >&5
2391
cat conftest.$ac_ext >&5
2393
eval "ac_cv_lib_$ac_lib_var=no"
2396
LIBS="$ac_save_LIBS"
2399
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2400
echo "$ac_t""yes" 1>&6
2401
PTHREAD_LIB="-lpthread"
2403
echo "$ac_t""no" 1>&6
2404
echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6
2405
echo "configure:2406: checking for pthread_create in -lpthreads" >&5
2406
ac_lib_var=`echo pthreads'_'pthread_create | sed 'y%./+-%__p_%'`
2407
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2408
echo $ac_n "(cached) $ac_c" 1>&6
2410
ac_save_LIBS="$LIBS"
2411
LIBS="-lpthreads $LIBS"
2412
cat > conftest.$ac_ext <<EOF
2413
#line 2414 "configure"
2414
#include "confdefs.h"
2415
/* Override any gcc2 internal prototype to avoid an error. */
2416
/* We use char because int might match the return type of a gcc2
2417
builtin and then its argument prototype would still apply. */
2418
char pthread_create();
2424
if { (eval echo configure:2425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2426
eval "ac_cv_lib_$ac_lib_var=yes"
2428
echo "configure: failed program was:" >&5
2429
cat conftest.$ac_ext >&5
2431
eval "ac_cv_lib_$ac_lib_var=no"
2434
LIBS="$ac_save_LIBS"
2437
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2438
echo "$ac_t""yes" 1>&6
2439
PTHREAD_LIB="-lpthreads"
2441
echo "$ac_t""no" 1>&6
2442
echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
2443
echo "configure:2444: checking for pthread_create in -lc_r" >&5
2444
ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
2445
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2446
echo $ac_n "(cached) $ac_c" 1>&6
2448
ac_save_LIBS="$LIBS"
2450
cat > conftest.$ac_ext <<EOF
2451
#line 2452 "configure"
2452
#include "confdefs.h"
2453
/* Override any gcc2 internal prototype to avoid an error. */
2454
/* We use char because int might match the return type of a gcc2
2455
builtin and then its argument prototype would still apply. */
2456
char pthread_create();
2462
if { (eval echo configure:2463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2464
eval "ac_cv_lib_$ac_lib_var=yes"
2466
echo "configure: failed program was:" >&5
2467
cat conftest.$ac_ext >&5
2469
eval "ac_cv_lib_$ac_lib_var=no"
2472
LIBS="$ac_save_LIBS"
2475
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2476
echo "$ac_t""yes" 1>&6
2479
echo "$ac_t""no" 1>&6
2480
echo $ac_n "checking for pthread_create""... $ac_c" 1>&6
2481
echo "configure:2482: checking for pthread_create" >&5
2482
if eval "test \"`echo '$''{'ac_cv_func_pthread_create'+set}'`\" = set"; then
2483
echo $ac_n "(cached) $ac_c" 1>&6
2485
cat > conftest.$ac_ext <<EOF
2486
#line 2487 "configure"
2487
#include "confdefs.h"
2488
/* System header to define __stub macros and hopefully few prototypes,
2489
which can conflict with char pthread_create(); below. */
2491
/* Override any gcc2 internal prototype to avoid an error. */
2492
/* We use char because int might match the return type of a gcc2
2493
builtin and then its argument prototype would still apply. */
2494
char pthread_create();
2498
/* The GNU C library defines this for functions which it implements
2499
to always fail with ENOSYS. Some functions are actually named
2500
something starting with __ and the normal name is an alias. */
2501
#if defined (__stub_pthread_create) || defined (__stub___pthread_create)
2509
if { (eval echo configure:2510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2511
eval "ac_cv_func_pthread_create=yes"
2513
echo "configure: failed program was:" >&5
2514
cat conftest.$ac_ext >&5
2516
eval "ac_cv_func_pthread_create=no"
2521
if eval "test \"`echo '$ac_cv_func_'pthread_create`\" = yes"; then
2522
echo "$ac_t""yes" 1>&6
2525
echo "$ac_t""no" 1>&6
2541
# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
2542
if test "${with_gtk_prefix+set}" = set; then
2543
withval="$with_gtk_prefix"
2544
gtk_config_prefix="$withval"
2546
gtk_config_prefix=""
2549
# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
2550
if test "${with_gtk_exec_prefix+set}" = set; then
2551
withval="$with_gtk_exec_prefix"
2552
gtk_config_exec_prefix="$withval"
2554
gtk_config_exec_prefix=""
2557
# Check whether --enable-gtktest or --disable-gtktest was given.
2558
if test "${enable_gtktest+set}" = set; then
2559
enableval="$enable_gtktest"
2570
gtk_config_args="$gtk_config_args gthread"
2575
if test x$gtk_config_exec_prefix != x ; then
2576
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
2577
if test x${GTK_CONFIG+set} != xset ; then
2578
GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
2581
if test x$gtk_config_prefix != x ; then
2582
gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
2583
if test x${GTK_CONFIG+set} != xset ; then
2584
GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
2588
# Extract the first word of "gtk-config", so it can be a program name with args.
2589
set dummy gtk-config; ac_word=$2
2590
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2591
echo "configure:2592: checking for $ac_word" >&5
2592
if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
2593
echo $ac_n "(cached) $ac_c" 1>&6
2595
case "$GTK_CONFIG" in
2597
ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
2600
ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
2603
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2605
for ac_dir in $ac_dummy; do
2606
test -z "$ac_dir" && ac_dir=.
2607
if test -f $ac_dir/$ac_word; then
2608
ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
2613
test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
2617
GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
2618
if test -n "$GTK_CONFIG"; then
2619
echo "$ac_t""$GTK_CONFIG" 1>&6
2621
echo "$ac_t""no" 1>&6
2624
min_gtk_version=1.2.0
2625
echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
2626
echo "configure:2627: checking for GTK - version >= $min_gtk_version" >&5
2628
if test "$GTK_CONFIG" = "no" ; then
2631
GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
2632
GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
2633
gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
2634
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
2635
gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
2636
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
2637
gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
2638
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
2639
if test "x$enable_gtktest" = "xyes" ; then
2640
ac_save_CFLAGS="$CFLAGS"
2641
ac_save_LIBS="$LIBS"
2642
CFLAGS="$CFLAGS $GTK_CFLAGS"
2643
LIBS="$GTK_LIBS $LIBS"
2645
if test "$cross_compiling" = yes; then
2646
echo $ac_n "cross compiling; assumed OK... $ac_c"
2648
cat > conftest.$ac_ext <<EOF
2649
#line 2650 "configure"
2650
#include "confdefs.h"
2652
#include <gtk/gtk.h>
2659
int major, minor, micro;
2662
system ("touch conf.gtktest");
2664
/* HP/UX 9 (%@#!) writes to sscanf strings */
2665
tmp_version = g_strdup("$min_gtk_version");
2666
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
2667
printf("%s, bad version string\n", "$min_gtk_version");
2671
if ((gtk_major_version != $gtk_config_major_version) ||
2672
(gtk_minor_version != $gtk_config_minor_version) ||
2673
(gtk_micro_version != $gtk_config_micro_version))
2675
printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
2676
$gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
2677
gtk_major_version, gtk_minor_version, gtk_micro_version);
2678
printf ("*** was found! If gtk-config was correct, then it is best\n");
2679
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
2680
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
2681
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
2682
printf("*** required on your system.\n");
2683
printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
2684
printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
2685
printf("*** before re-running configure\n");
2687
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
2688
else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
2689
(gtk_minor_version != GTK_MINOR_VERSION) ||
2690
(gtk_micro_version != GTK_MICRO_VERSION))
2692
printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
2693
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
2694
printf("*** library (version %d.%d.%d)\n",
2695
gtk_major_version, gtk_minor_version, gtk_micro_version);
2697
#endif /* defined (GTK_MAJOR_VERSION) ... */
2700
if ((gtk_major_version > major) ||
2701
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
2702
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
2708
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
2709
gtk_major_version, gtk_minor_version, gtk_micro_version);
2710
printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
2711
major, minor, micro);
2712
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
2714
printf("*** If you have already installed a sufficiently new version, this error\n");
2715
printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
2716
printf("*** being found. The easiest way to fix this is to remove the old version\n");
2717
printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
2718
printf("*** correct copy of gtk-config. (In this case, you will have to\n");
2719
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
2720
printf("*** so that the correct libraries are found at run-time))\n");
2727
if { (eval echo configure:2728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2731
echo "configure: failed program was:" >&5
2732
cat conftest.$ac_ext >&5
2739
CFLAGS="$ac_save_CFLAGS"
2740
LIBS="$ac_save_LIBS"
2743
if test "x$no_gtk" = x ; then
2744
echo "$ac_t""yes" 1>&6
2747
echo "$ac_t""no" 1>&6
2748
if test "$GTK_CONFIG" = "no" ; then
2749
echo "*** The gtk-config script installed by GTK could not be found"
2750
echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
2751
echo "*** your path, or set the GTK_CONFIG environment variable to the"
2752
echo "*** full path to gtk-config."
2754
if test -f conf.gtktest ; then
2757
echo "*** Could not run GTK test program, checking why..."
2758
CFLAGS="$CFLAGS $GTK_CFLAGS"
2759
LIBS="$LIBS $GTK_LIBS"
2760
cat > conftest.$ac_ext <<EOF
2761
#line 2762 "configure"
2762
#include "confdefs.h"
2764
#include <gtk/gtk.h>
2768
return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
2771
if { (eval echo configure:2772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2773
echo "*** The test program compiled, but did not run. This usually means"
2774
echo "*** that the run-time linker is not finding GTK or finding the wrong"
2775
echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
2776
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
2777
echo "*** to the installed location Also, make sure you have run ldconfig if that"
2778
echo "*** is required on your system"
2780
echo "*** If you have an old version installed, it is best to remove it, although"
2781
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
2783
echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
2784
echo "*** came with the system with the command"
2786
echo "*** rpm --erase --nodeps gtk gtk-devel"
2788
echo "configure: failed program was:" >&5
2789
cat conftest.$ac_ext >&5
2791
echo "*** The test program failed to compile or link. See the file config.log for the"
2792
echo "*** exact error that occured. This usually means GTK was incorrectly installed"
2793
echo "*** or that you have moved GTK since it was installed. In the latter case, you"
2794
echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
2797
CFLAGS="$ac_save_CFLAGS"
2798
LIBS="$ac_save_LIBS"
2803
{ echo "configure: error: GTK not installed" 1>&2; exit 1; }
2809
CPPFLAGS="$CPPFLAGS $GTK_CFLAGS"
2811
saved_ldflags="$LDFLAGS"
2812
LDFLAGS="$LDFLAGS $GTK_LIBS"
2814
gnome_cv_passdown_x_libs="$GTK_LIBS"
2815
gnome_cv_passdown_X_LIBS="$GTK_LIBS"
2816
gnome_cv_passdown_X_CFLAGS="$GTK_CFLAGS"
2817
gnome_cv_passdown_GTK_LIBS="$GTK_LIBS"
2819
LDFLAGS="$saved_ldflags $GTK_LIBS"
2829
echo $ac_n "checking for SmcSaveYourselfDone in -lSM""... $ac_c" 1>&6
2830
echo "configure:2831: checking for SmcSaveYourselfDone in -lSM" >&5
2831
ac_lib_var=`echo SM'_'SmcSaveYourselfDone | sed 'y%./+-%__p_%'`
2832
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2833
echo $ac_n "(cached) $ac_c" 1>&6
2835
ac_save_LIBS="$LIBS"
2836
LIBS="-lSM $x_libs -lICE $LIBS"
2837
cat > conftest.$ac_ext <<EOF
2838
#line 2839 "configure"
2839
#include "confdefs.h"
2840
/* Override any gcc2 internal prototype to avoid an error. */
2841
/* We use char because int might match the return type of a gcc2
2842
builtin and then its argument prototype would still apply. */
2843
char SmcSaveYourselfDone();
2846
SmcSaveYourselfDone()
2849
if { (eval echo configure:2850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2851
eval "ac_cv_lib_$ac_lib_var=yes"
2853
echo "configure: failed program was:" >&5
2854
cat conftest.$ac_ext >&5
2856
eval "ac_cv_lib_$ac_lib_var=no"
2859
LIBS="$ac_save_LIBS"
2862
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2863
echo "$ac_t""yes" 1>&6
2864
GTK_LIBS="-lSM -lICE $GTK_LIBS"
2866
echo "$ac_t""no" 1>&6
2873
if test "$GNOME_HAVE_SM" = true; then
2874
for ac_hdr in X11/SM/SMlib.h
2876
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2877
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2878
echo "configure:2879: checking for $ac_hdr" >&5
2879
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2880
echo $ac_n "(cached) $ac_c" 1>&6
2882
cat > conftest.$ac_ext <<EOF
2883
#line 2884 "configure"
2884
#include "confdefs.h"
2887
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2888
{ (eval echo configure:2889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2889
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2890
if test -z "$ac_err"; then
2892
eval "ac_cv_header_$ac_safe=yes"
2895
echo "configure: failed program was:" >&5
2896
cat conftest.$ac_ext >&5
2898
eval "ac_cv_header_$ac_safe=no"
2902
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2903
echo "$ac_t""yes" 1>&6
2904
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2905
cat >> confdefs.h <<EOF
2906
#define $ac_tr_hdr 1
2910
echo "$ac_t""no" 1>&6
2917
if test "$GNOME_HAVE_SM" = true; then
2918
cat >> confdefs.h <<\EOF
2919
#define HAVE_LIBSM 1
2925
echo $ac_n "checking for XpmFreeXpmImage in -lXpm""... $ac_c" 1>&6
2926
echo "configure:2927: checking for XpmFreeXpmImage in -lXpm" >&5
2927
ac_lib_var=`echo Xpm'_'XpmFreeXpmImage | sed 'y%./+-%__p_%'`
2928
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2929
echo $ac_n "(cached) $ac_c" 1>&6
2931
ac_save_LIBS="$LIBS"
2932
LIBS="-lXpm $x_libs $LIBS"
2933
cat > conftest.$ac_ext <<EOF
2934
#line 2935 "configure"
2935
#include "confdefs.h"
2936
/* Override any gcc2 internal prototype to avoid an error. */
2937
/* We use char because int might match the return type of a gcc2
2938
builtin and then its argument prototype would still apply. */
2939
char XpmFreeXpmImage();
2945
if { (eval echo configure:2946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2947
eval "ac_cv_lib_$ac_lib_var=yes"
2949
echo "configure: failed program was:" >&5
2950
cat conftest.$ac_ext >&5
2952
eval "ac_cv_lib_$ac_lib_var=no"
2955
LIBS="$ac_save_LIBS"
2958
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2959
echo "$ac_t""yes" 1>&6
2962
echo "$ac_t""no" 1>&6
2968
LDFLAGS="$saved_ldflags"
2976
if test x$have_orbit = xyes; then
2978
HAVE_ORBIT_FALSE='#'
2986
if test x$have_libgnorba = xyes; then
2987
HAVE_LIBGNORBA_TRUE=
2988
HAVE_LIBGNORBA_FALSE='#'
2990
HAVE_LIBGNORBA_TRUE='#'
2991
HAVE_LIBGNORBA_FALSE=
2996
if test x$have_libzvt = xyes; then
2998
HAVE_LIBZVT_FALSE='#'
3000
HAVE_LIBZVT_TRUE='#'
3004
ALL_LINGUAS="az ca cs da de el es fi fr ga gl hu it ja ko lt nl no pl pt pt_BR ru sv sk sl tr uk wa zh_TW.Big5 zh_CN.GB2312"
3005
echo $ac_n "checking for working const""... $ac_c" 1>&6
3006
echo "configure:3007: checking for working const" >&5
3007
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
3008
echo $ac_n "(cached) $ac_c" 1>&6
3010
cat > conftest.$ac_ext <<EOF
3011
#line 3012 "configure"
3012
#include "confdefs.h"
3016
/* Ultrix mips cc rejects this. */
3017
typedef int charset[2]; const charset x;
3018
/* SunOS 4.1.1 cc rejects this. */
3019
char const *const *ccp;
3021
/* NEC SVR4.0.2 mips cc rejects this. */
3022
struct point {int x, y;};
3023
static struct point const zero = {0,0};
3024
/* AIX XL C 1.02.0.0 rejects this.
3025
It does not let you subtract one const X* pointer from another in an arm
3026
of an if-expression whose if-part is not a constant expression */
3027
const char *g = "string";
3028
ccp = &g + (g ? g-g : 0);
3029
/* HPUX 7.0 cc rejects these. */
3032
ccp = (char const *const *) p;
3033
{ /* SCO 3.2v4 cc rejects this. */
3035
char const *s = 0 ? (char *) 0 : (char const *) 0;
3039
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3041
const int *foo = &x[0];
3044
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3045
typedef const int *iptr;
3049
{ /* AIX XL C 1.02.0.0 rejects this saying
3050
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3051
struct s { int j; const int *ap[3]; };
3052
struct s *b; b->j = 5;
3054
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3060
if { (eval echo configure:3061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3064
echo "configure: failed program was:" >&5
3065
cat conftest.$ac_ext >&5
3072
echo "$ac_t""$ac_cv_c_const" 1>&6
3073
if test $ac_cv_c_const = no; then
3074
cat >> confdefs.h <<\EOF
3080
echo $ac_n "checking for inline""... $ac_c" 1>&6
3081
echo "configure:3082: checking for inline" >&5
3082
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
3083
echo $ac_n "(cached) $ac_c" 1>&6
3086
for ac_kw in inline __inline__ __inline; do
3087
cat > conftest.$ac_ext <<EOF
3088
#line 3089 "configure"
3089
#include "confdefs.h"
3095
if { (eval echo configure:3096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3097
ac_cv_c_inline=$ac_kw; break
3099
echo "configure: failed program was:" >&5
3100
cat conftest.$ac_ext >&5
3107
echo "$ac_t""$ac_cv_c_inline" 1>&6
3108
case "$ac_cv_c_inline" in
3110
no) cat >> confdefs.h <<\EOF
3114
*) cat >> confdefs.h <<EOF
3115
#define inline $ac_cv_c_inline
3120
echo $ac_n "checking for off_t""... $ac_c" 1>&6
3121
echo "configure:3122: checking for off_t" >&5
3122
if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
3123
echo $ac_n "(cached) $ac_c" 1>&6
3125
cat > conftest.$ac_ext <<EOF
3126
#line 3127 "configure"
3127
#include "confdefs.h"
3128
#include <sys/types.h>
3134
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3135
egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
3137
ac_cv_type_off_t=yes
3145
echo "$ac_t""$ac_cv_type_off_t" 1>&6
3146
if test $ac_cv_type_off_t = no; then
3147
cat >> confdefs.h <<\EOF
3153
echo $ac_n "checking for size_t""... $ac_c" 1>&6
3154
echo "configure:3155: checking for size_t" >&5
3155
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
3156
echo $ac_n "(cached) $ac_c" 1>&6
3158
cat > conftest.$ac_ext <<EOF
3159
#line 3160 "configure"
3160
#include "confdefs.h"
3161
#include <sys/types.h>
3167
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3168
egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
3170
ac_cv_type_size_t=yes
3173
ac_cv_type_size_t=no
3178
echo "$ac_t""$ac_cv_type_size_t" 1>&6
3179
if test $ac_cv_type_size_t = no; then
3180
cat >> confdefs.h <<\EOF
3181
#define size_t unsigned
3186
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3187
# for constant arguments. Useless!
3188
echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
3189
echo "configure:3190: checking for working alloca.h" >&5
3190
if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
3191
echo $ac_n "(cached) $ac_c" 1>&6
3193
cat > conftest.$ac_ext <<EOF
3194
#line 3195 "configure"
3195
#include "confdefs.h"
3198
char *p = alloca(2 * sizeof(int));
3201
if { (eval echo configure:3202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3203
ac_cv_header_alloca_h=yes
3205
echo "configure: failed program was:" >&5
3206
cat conftest.$ac_ext >&5
3208
ac_cv_header_alloca_h=no
3213
echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
3214
if test $ac_cv_header_alloca_h = yes; then
3215
cat >> confdefs.h <<\EOF
3216
#define HAVE_ALLOCA_H 1
3221
echo $ac_n "checking for alloca""... $ac_c" 1>&6
3222
echo "configure:3223: checking for alloca" >&5
3223
if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
3224
echo $ac_n "(cached) $ac_c" 1>&6
3226
cat > conftest.$ac_ext <<EOF
3227
#line 3228 "configure"
3228
#include "confdefs.h"
3231
# define alloca __builtin_alloca
3234
# include <malloc.h>
3235
# define alloca _alloca
3238
# include <alloca.h>
3243
# ifndef alloca /* predefined by HP cc +Olibcalls */
3252
char *p = (char *) alloca(1);
3255
if { (eval echo configure:3256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3257
ac_cv_func_alloca_works=yes
3259
echo "configure: failed program was:" >&5
3260
cat conftest.$ac_ext >&5
3262
ac_cv_func_alloca_works=no
3267
echo "$ac_t""$ac_cv_func_alloca_works" 1>&6
3268
if test $ac_cv_func_alloca_works = yes; then
3269
cat >> confdefs.h <<\EOF
3270
#define HAVE_ALLOCA 1
3275
if test $ac_cv_func_alloca_works = no; then
3276
# The SVR3 libPW and SVR4 libucb both contain incompatible functions
3277
# that cause trouble. Some versions do not even contain alloca or
3278
# contain a buggy version. If you still want to use their alloca,
3279
# use ar to extract alloca.o from them instead of compiling alloca.c.
3280
ALLOCA=alloca.${ac_objext}
3281
cat >> confdefs.h <<\EOF
3286
echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
3287
echo "configure:3288: checking whether alloca needs Cray hooks" >&5
3288
if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
3289
echo $ac_n "(cached) $ac_c" 1>&6
3291
cat > conftest.$ac_ext <<EOF
3292
#line 3293 "configure"
3293
#include "confdefs.h"
3294
#if defined(CRAY) && ! defined(CRAY2)
3301
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3302
egrep "webecray" >/dev/null 2>&1; then
3313
echo "$ac_t""$ac_cv_os_cray" 1>&6
3314
if test $ac_cv_os_cray = yes; then
3315
for ac_func in _getb67 GETB67 getb67; do
3316
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3317
echo "configure:3318: checking for $ac_func" >&5
3318
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3319
echo $ac_n "(cached) $ac_c" 1>&6
3321
cat > conftest.$ac_ext <<EOF
3322
#line 3323 "configure"
3323
#include "confdefs.h"
3324
/* System header to define __stub macros and hopefully few prototypes,
3325
which can conflict with char $ac_func(); below. */
3327
/* Override any gcc2 internal prototype to avoid an error. */
3328
/* We use char because int might match the return type of a gcc2
3329
builtin and then its argument prototype would still apply. */
3334
/* The GNU C library defines this for functions which it implements
3335
to always fail with ENOSYS. Some functions are actually named
3336
something starting with __ and the normal name is an alias. */
3337
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3345
if { (eval echo configure:3346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3347
eval "ac_cv_func_$ac_func=yes"
3349
echo "configure: failed program was:" >&5
3350
cat conftest.$ac_ext >&5
3352
eval "ac_cv_func_$ac_func=no"
3357
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3358
echo "$ac_t""yes" 1>&6
3359
cat >> confdefs.h <<EOF
3360
#define CRAY_STACKSEG_END $ac_func
3365
echo "$ac_t""no" 1>&6
3371
echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
3372
echo "configure:3373: checking stack direction for C alloca" >&5
3373
if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
3374
echo $ac_n "(cached) $ac_c" 1>&6
3376
if test "$cross_compiling" = yes; then
3377
ac_cv_c_stack_direction=0
3379
cat > conftest.$ac_ext <<EOF
3380
#line 3381 "configure"
3381
#include "confdefs.h"
3382
find_stack_direction ()
3384
static char *addr = 0;
3389
return find_stack_direction ();
3392
return (&dummy > addr) ? 1 : -1;
3396
exit (find_stack_direction() < 0);
3399
if { (eval echo configure:3400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3401
ac_cv_c_stack_direction=1
3403
echo "configure: failed program was:" >&5
3404
cat conftest.$ac_ext >&5
3406
ac_cv_c_stack_direction=-1
3413
echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
3414
cat >> confdefs.h <<EOF
3415
#define STACK_DIRECTION $ac_cv_c_stack_direction
3420
for ac_hdr in unistd.h
3422
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3423
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3424
echo "configure:3425: checking for $ac_hdr" >&5
3425
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3426
echo $ac_n "(cached) $ac_c" 1>&6
3428
cat > conftest.$ac_ext <<EOF
3429
#line 3430 "configure"
3430
#include "confdefs.h"
3433
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3434
{ (eval echo configure:3435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3435
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3436
if test -z "$ac_err"; then
3438
eval "ac_cv_header_$ac_safe=yes"
3441
echo "configure: failed program was:" >&5
3442
cat conftest.$ac_ext >&5
3444
eval "ac_cv_header_$ac_safe=no"
3448
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3449
echo "$ac_t""yes" 1>&6
3450
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3451
cat >> confdefs.h <<EOF
3452
#define $ac_tr_hdr 1
3456
echo "$ac_t""no" 1>&6
3460
for ac_func in getpagesize
3462
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3463
echo "configure:3464: checking for $ac_func" >&5
3464
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3465
echo $ac_n "(cached) $ac_c" 1>&6
3467
cat > conftest.$ac_ext <<EOF
3468
#line 3469 "configure"
3469
#include "confdefs.h"
3470
/* System header to define __stub macros and hopefully few prototypes,
3471
which can conflict with char $ac_func(); below. */
3473
/* Override any gcc2 internal prototype to avoid an error. */
3474
/* We use char because int might match the return type of a gcc2
3475
builtin and then its argument prototype would still apply. */
3480
/* The GNU C library defines this for functions which it implements
3481
to always fail with ENOSYS. Some functions are actually named
3482
something starting with __ and the normal name is an alias. */
3483
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3491
if { (eval echo configure:3492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3493
eval "ac_cv_func_$ac_func=yes"
3495
echo "configure: failed program was:" >&5
3496
cat conftest.$ac_ext >&5
3498
eval "ac_cv_func_$ac_func=no"
3503
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3504
echo "$ac_t""yes" 1>&6
3505
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3506
cat >> confdefs.h <<EOF
3507
#define $ac_tr_func 1
3511
echo "$ac_t""no" 1>&6
3515
echo $ac_n "checking for working mmap""... $ac_c" 1>&6
3516
echo "configure:3517: checking for working mmap" >&5
3517
if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
3518
echo $ac_n "(cached) $ac_c" 1>&6
3520
if test "$cross_compiling" = yes; then
3521
ac_cv_func_mmap_fixed_mapped=no
3523
cat > conftest.$ac_ext <<EOF
3524
#line 3525 "configure"
3525
#include "confdefs.h"
3527
/* Thanks to Mike Haertel and Jim Avera for this test.
3528
Here is a matrix of mmap possibilities:
3529
mmap private not fixed
3530
mmap private fixed at somewhere currently unmapped
3531
mmap private fixed at somewhere already mapped
3532
mmap shared not fixed
3533
mmap shared fixed at somewhere currently unmapped
3534
mmap shared fixed at somewhere already mapped
3535
For private mappings, we should verify that changes cannot be read()
3536
back from the file, nor mmap's back from the file at a different
3537
address. (There have been systems where private was not correctly
3538
implemented like the infamous i386 svr4.0, and systems where the
3539
VM page cache was not coherent with the filesystem buffer cache
3540
like early versions of FreeBSD and possibly contemporary NetBSD.)
3541
For shared mappings, we should conversely verify that changes get
3542
propogated back to all the places they're supposed to be.
3544
Grep wants private fixed already mapped.
3545
The main things grep needs to know about mmap are:
3546
* does it exist and is it safe to write into the mmap'd area
3547
* how to use it (BSD variants) */
3548
#include <sys/types.h>
3550
#include <sys/mman.h>
3552
/* This mess was copied from the GNU getpagesize.h. */
3553
#ifndef HAVE_GETPAGESIZE
3554
# ifdef HAVE_UNISTD_H
3555
# include <unistd.h>
3558
/* Assume that all systems that can run configure have sys/param.h. */
3559
# ifndef HAVE_SYS_PARAM_H
3560
# define HAVE_SYS_PARAM_H 1
3563
# ifdef _SC_PAGESIZE
3564
# define getpagesize() sysconf(_SC_PAGESIZE)
3565
# else /* no _SC_PAGESIZE */
3566
# ifdef HAVE_SYS_PARAM_H
3567
# include <sys/param.h>
3568
# ifdef EXEC_PAGESIZE
3569
# define getpagesize() EXEC_PAGESIZE
3570
# else /* no EXEC_PAGESIZE */
3572
# define getpagesize() NBPG * CLSIZE
3575
# endif /* no CLSIZE */
3576
# else /* no NBPG */
3578
# define getpagesize() NBPC
3579
# else /* no NBPC */
3581
# define getpagesize() PAGESIZE
3582
# endif /* PAGESIZE */
3583
# endif /* no NBPC */
3584
# endif /* no NBPG */
3585
# endif /* no EXEC_PAGESIZE */
3586
# else /* no HAVE_SYS_PARAM_H */
3587
# define getpagesize() 8192 /* punt totally */
3588
# endif /* no HAVE_SYS_PARAM_H */
3589
# endif /* no _SC_PAGESIZE */
3591
#endif /* no HAVE_GETPAGESIZE */
3594
extern "C" { void *malloc(unsigned); }
3602
char *data, *data2, *data3;
3606
pagesize = getpagesize();
3609
* First, make a file with some known garbage in it.
3611
data = malloc(pagesize);
3614
for (i = 0; i < pagesize; ++i)
3615
*(data + i) = rand();
3617
fd = creat("conftestmmap", 0600);
3620
if (write(fd, data, pagesize) != pagesize)
3625
* Next, try to mmap the file at a fixed address which
3626
* already has something else allocated at it. If we can,
3627
* also make sure that we see the same garbage.
3629
fd = open("conftestmmap", O_RDWR);
3632
data2 = malloc(2 * pagesize);
3635
data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
3636
if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
3637
MAP_PRIVATE | MAP_FIXED, fd, 0L))
3639
for (i = 0; i < pagesize; ++i)
3640
if (*(data + i) != *(data2 + i))
3644
* Finally, make sure that changes to the mapped area
3645
* do not percolate back to the file as seen by read().
3646
* (This is a bug on some variants of i386 svr4.0.)
3648
for (i = 0; i < pagesize; ++i)
3649
*(data2 + i) = *(data2 + i) + 1;
3650
data3 = malloc(pagesize);
3653
if (read(fd, data3, pagesize) != pagesize)
3655
for (i = 0; i < pagesize; ++i)
3656
if (*(data + i) != *(data3 + i))
3659
unlink("conftestmmap");
3664
if { (eval echo configure:3665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3666
ac_cv_func_mmap_fixed_mapped=yes
3668
echo "configure: failed program was:" >&5
3669
cat conftest.$ac_ext >&5
3671
ac_cv_func_mmap_fixed_mapped=no
3678
echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
3679
if test $ac_cv_func_mmap_fixed_mapped = yes; then
3680
cat >> confdefs.h <<\EOF
3687
for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h string.h \
3688
unistd.h sys/param.h
3690
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3691
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3692
echo "configure:3693: checking for $ac_hdr" >&5
3693
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3694
echo $ac_n "(cached) $ac_c" 1>&6
3696
cat > conftest.$ac_ext <<EOF
3697
#line 3698 "configure"
3698
#include "confdefs.h"
3701
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3702
{ (eval echo configure:3703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3703
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3704
if test -z "$ac_err"; then
3706
eval "ac_cv_header_$ac_safe=yes"
3709
echo "configure: failed program was:" >&5
3710
cat conftest.$ac_ext >&5
3712
eval "ac_cv_header_$ac_safe=no"
3716
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3717
echo "$ac_t""yes" 1>&6
3718
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3719
cat >> confdefs.h <<EOF
3720
#define $ac_tr_hdr 1
3724
echo "$ac_t""no" 1>&6
3728
for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \
3729
strdup __argz_count __argz_stringify __argz_next
3731
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3732
echo "configure:3733: checking for $ac_func" >&5
3733
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3734
echo $ac_n "(cached) $ac_c" 1>&6
3736
cat > conftest.$ac_ext <<EOF
3737
#line 3738 "configure"
3738
#include "confdefs.h"
3739
/* System header to define __stub macros and hopefully few prototypes,
3740
which can conflict with char $ac_func(); below. */
3742
/* Override any gcc2 internal prototype to avoid an error. */
3743
/* We use char because int might match the return type of a gcc2
3744
builtin and then its argument prototype would still apply. */
3749
/* The GNU C library defines this for functions which it implements
3750
to always fail with ENOSYS. Some functions are actually named
3751
something starting with __ and the normal name is an alias. */
3752
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3760
if { (eval echo configure:3761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3762
eval "ac_cv_func_$ac_func=yes"
3764
echo "configure: failed program was:" >&5
3765
cat conftest.$ac_ext >&5
3767
eval "ac_cv_func_$ac_func=no"
3772
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3773
echo "$ac_t""yes" 1>&6
3774
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3775
cat >> confdefs.h <<EOF
3776
#define $ac_tr_func 1
3780
echo "$ac_t""no" 1>&6
3785
if test "${ac_cv_func_stpcpy+set}" != "set"; then
3786
for ac_func in stpcpy
3788
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3789
echo "configure:3790: checking for $ac_func" >&5
3790
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3791
echo $ac_n "(cached) $ac_c" 1>&6
3793
cat > conftest.$ac_ext <<EOF
3794
#line 3795 "configure"
3795
#include "confdefs.h"
3796
/* System header to define __stub macros and hopefully few prototypes,
3797
which can conflict with char $ac_func(); below. */
3799
/* Override any gcc2 internal prototype to avoid an error. */
3800
/* We use char because int might match the return type of a gcc2
3801
builtin and then its argument prototype would still apply. */
3806
/* The GNU C library defines this for functions which it implements
3807
to always fail with ENOSYS. Some functions are actually named
3808
something starting with __ and the normal name is an alias. */
3809
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3817
if { (eval echo configure:3818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3819
eval "ac_cv_func_$ac_func=yes"
3821
echo "configure: failed program was:" >&5
3822
cat conftest.$ac_ext >&5
3824
eval "ac_cv_func_$ac_func=no"
3829
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3830
echo "$ac_t""yes" 1>&6
3831
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3832
cat >> confdefs.h <<EOF
3833
#define $ac_tr_func 1
3837
echo "$ac_t""no" 1>&6
3842
if test "${ac_cv_func_stpcpy}" = "yes"; then
3843
cat >> confdefs.h <<\EOF
3844
#define HAVE_STPCPY 1
3849
if test $ac_cv_header_locale_h = yes; then
3850
echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
3851
echo "configure:3852: checking for LC_MESSAGES" >&5
3852
if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
3853
echo $ac_n "(cached) $ac_c" 1>&6
3855
cat > conftest.$ac_ext <<EOF
3856
#line 3857 "configure"
3857
#include "confdefs.h"
3863
if { (eval echo configure:3864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3865
am_cv_val_LC_MESSAGES=yes
3867
echo "configure: failed program was:" >&5
3868
cat conftest.$ac_ext >&5
3870
am_cv_val_LC_MESSAGES=no
3875
echo "$ac_t""$am_cv_val_LC_MESSAGES" 1>&6
3876
if test $am_cv_val_LC_MESSAGES = yes; then
3877
cat >> confdefs.h <<\EOF
3878
#define HAVE_LC_MESSAGES 1
3883
echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
3884
echo "configure:3885: checking whether NLS is requested" >&5
3885
# Check whether --enable-nls or --disable-nls was given.
3886
if test "${enable_nls+set}" = set; then
3887
enableval="$enable_nls"
3893
echo "$ac_t""$USE_NLS" 1>&6
3896
USE_INCLUDED_LIBINTL=no
3898
if test "$USE_NLS" = "yes"; then
3899
# AC_DEFINE(ENABLE_NLS)
3900
# AC_MSG_CHECKING([whether included gettext is requested])
3901
# AC_ARG_WITH(included-gettext,
3902
# [ --with-included-gettext use the GNU gettext library included here],
3903
# nls_cv_force_use_gnu_gettext=$withval,
3904
# nls_cv_force_use_gnu_gettext=no)
3905
# AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)
3906
nls_cv_force_use_gnu_gettext="no"
3908
nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
3909
if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
3911
nls_cv_header_libgt=
3914
ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
3915
echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
3916
echo "configure:3917: checking for libintl.h" >&5
3917
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3918
echo $ac_n "(cached) $ac_c" 1>&6
3920
cat > conftest.$ac_ext <<EOF
3921
#line 3922 "configure"
3922
#include "confdefs.h"
3923
#include <libintl.h>
3925
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3926
{ (eval echo configure:3927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3927
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3928
if test -z "$ac_err"; then
3930
eval "ac_cv_header_$ac_safe=yes"
3933
echo "configure: failed program was:" >&5
3934
cat conftest.$ac_ext >&5
3936
eval "ac_cv_header_$ac_safe=no"
3940
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3941
echo "$ac_t""yes" 1>&6
3942
echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6
3943
echo "configure:3944: checking for gettext in libc" >&5
3944
if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then
3945
echo $ac_n "(cached) $ac_c" 1>&6
3947
cat > conftest.$ac_ext <<EOF
3948
#line 3949 "configure"
3949
#include "confdefs.h"
3950
#include <libintl.h>
3952
return (int) gettext ("")
3955
if { (eval echo configure:3956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3957
gt_cv_func_gettext_libc=yes
3959
echo "configure: failed program was:" >&5
3960
cat conftest.$ac_ext >&5
3962
gt_cv_func_gettext_libc=no
3967
echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6
3969
if test "$gt_cv_func_gettext_libc" != "yes"; then
3970
echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6
3971
echo "configure:3972: checking for bindtextdomain in -lintl" >&5
3972
ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'`
3973
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3974
echo $ac_n "(cached) $ac_c" 1>&6
3976
ac_save_LIBS="$LIBS"
3978
cat > conftest.$ac_ext <<EOF
3979
#line 3980 "configure"
3980
#include "confdefs.h"
3981
/* Override any gcc2 internal prototype to avoid an error. */
3982
/* We use char because int might match the return type of a gcc2
3983
builtin and then its argument prototype would still apply. */
3984
char bindtextdomain();
3990
if { (eval echo configure:3991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3992
eval "ac_cv_lib_$ac_lib_var=yes"
3994
echo "configure: failed program was:" >&5
3995
cat conftest.$ac_ext >&5
3997
eval "ac_cv_lib_$ac_lib_var=no"
4000
LIBS="$ac_save_LIBS"
4003
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4004
echo "$ac_t""yes" 1>&6
4005
echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6
4006
echo "configure:4007: checking for gettext in libintl" >&5
4007
if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then
4008
echo $ac_n "(cached) $ac_c" 1>&6
4010
echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
4011
echo "configure:4012: checking for gettext in -lintl" >&5
4012
ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
4013
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4014
echo $ac_n "(cached) $ac_c" 1>&6
4016
ac_save_LIBS="$LIBS"
4018
cat > conftest.$ac_ext <<EOF
4019
#line 4020 "configure"
4020
#include "confdefs.h"
4021
/* Override any gcc2 internal prototype to avoid an error. */
4022
/* We use char because int might match the return type of a gcc2
4023
builtin and then its argument prototype would still apply. */
4030
if { (eval echo configure:4031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4032
eval "ac_cv_lib_$ac_lib_var=yes"
4034
echo "configure: failed program was:" >&5
4035
cat conftest.$ac_ext >&5
4037
eval "ac_cv_lib_$ac_lib_var=no"
4040
LIBS="$ac_save_LIBS"
4043
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4044
echo "$ac_t""yes" 1>&6
4045
gt_cv_func_gettext_libintl=yes
4047
echo "$ac_t""no" 1>&6
4048
gt_cv_func_gettext_libintl=no
4053
echo "$ac_t""$gt_cv_func_gettext_libintl" 1>&6
4055
echo "$ac_t""no" 1>&6
4060
if test "$gt_cv_func_gettext_libc" = "yes" \
4061
|| test "$gt_cv_func_gettext_libintl" = "yes"; then
4062
cat >> confdefs.h <<\EOF
4063
#define HAVE_GETTEXT 1
4066
# Extract the first word of "msgfmt", so it can be a program name with args.
4067
set dummy msgfmt; ac_word=$2
4068
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4069
echo "configure:4070: checking for $ac_word" >&5
4070
if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
4071
echo $ac_n "(cached) $ac_c" 1>&6
4075
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4078
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
4079
for ac_dir in $PATH; do
4080
test -z "$ac_dir" && ac_dir=.
4081
if test -f $ac_dir/$ac_word; then
4082
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
4083
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
4089
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
4093
MSGFMT="$ac_cv_path_MSGFMT"
4094
if test -n "$MSGFMT"; then
4095
echo "$ac_t""$MSGFMT" 1>&6
4097
echo "$ac_t""no" 1>&6
4099
if test "$MSGFMT" != "no"; then
4100
for ac_func in dcgettext
4102
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4103
echo "configure:4104: checking for $ac_func" >&5
4104
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4105
echo $ac_n "(cached) $ac_c" 1>&6
4107
cat > conftest.$ac_ext <<EOF
4108
#line 4109 "configure"
4109
#include "confdefs.h"
4110
/* System header to define __stub macros and hopefully few prototypes,
4111
which can conflict with char $ac_func(); below. */
4113
/* Override any gcc2 internal prototype to avoid an error. */
4114
/* We use char because int might match the return type of a gcc2
4115
builtin and then its argument prototype would still apply. */
4120
/* The GNU C library defines this for functions which it implements
4121
to always fail with ENOSYS. Some functions are actually named
4122
something starting with __ and the normal name is an alias. */
4123
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4131
if { (eval echo configure:4132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4133
eval "ac_cv_func_$ac_func=yes"
4135
echo "configure: failed program was:" >&5
4136
cat conftest.$ac_ext >&5
4138
eval "ac_cv_func_$ac_func=no"
4143
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4144
echo "$ac_t""yes" 1>&6
4145
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4146
cat >> confdefs.h <<EOF
4147
#define $ac_tr_func 1
4151
echo "$ac_t""no" 1>&6
4155
# Extract the first word of "gmsgfmt", so it can be a program name with args.
4156
set dummy gmsgfmt; ac_word=$2
4157
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4158
echo "configure:4159: checking for $ac_word" >&5
4159
if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
4160
echo $ac_n "(cached) $ac_c" 1>&6
4164
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4167
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path.
4170
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4172
for ac_dir in $ac_dummy; do
4173
test -z "$ac_dir" && ac_dir=.
4174
if test -f $ac_dir/$ac_word; then
4175
ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
4180
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4184
GMSGFMT="$ac_cv_path_GMSGFMT"
4185
if test -n "$GMSGFMT"; then
4186
echo "$ac_t""$GMSGFMT" 1>&6
4188
echo "$ac_t""no" 1>&6
4191
# Extract the first word of "xgettext", so it can be a program name with args.
4192
set dummy xgettext; ac_word=$2
4193
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4194
echo "configure:4195: checking for $ac_word" >&5
4195
if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
4196
echo $ac_n "(cached) $ac_c" 1>&6
4200
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4203
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
4204
for ac_dir in $PATH; do
4205
test -z "$ac_dir" && ac_dir=.
4206
if test -f $ac_dir/$ac_word; then
4207
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
4208
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
4214
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4218
XGETTEXT="$ac_cv_path_XGETTEXT"
4219
if test -n "$XGETTEXT"; then
4220
echo "$ac_t""$XGETTEXT" 1>&6
4222
echo "$ac_t""no" 1>&6
4225
cat > conftest.$ac_ext <<EOF
4226
#line 4227 "configure"
4227
#include "confdefs.h"
4230
extern int _nl_msg_cat_cntr;
4231
return _nl_msg_cat_cntr
4234
if { (eval echo configure:4235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4239
echo "configure: failed program was:" >&5
4240
cat conftest.$ac_ext >&5
4250
# Added by Martin Baulig 12/15/98 for libc5 systems
4251
if test "$gt_cv_func_gettext_libc" != "yes" \
4252
&& test "$gt_cv_func_gettext_libintl" = "yes"; then
4254
LIBS=`echo $LIBS | sed -e 's/-lintl//'`
4258
echo "$ac_t""no" 1>&6
4262
if test "$CATOBJEXT" = "NONE"; then
4263
echo $ac_n "checking whether catgets can be used""... $ac_c" 1>&6
4264
echo "configure:4265: checking whether catgets can be used" >&5
4265
# Check whether --with-catgets or --without-catgets was given.
4266
if test "${with_catgets+set}" = set; then
4267
withval="$with_catgets"
4268
nls_cv_use_catgets=$withval
4270
nls_cv_use_catgets=no
4273
echo "$ac_t""$nls_cv_use_catgets" 1>&6
4275
if test "$nls_cv_use_catgets" = "yes"; then
4276
echo $ac_n "checking for main in -li""... $ac_c" 1>&6
4277
echo "configure:4278: checking for main in -li" >&5
4278
ac_lib_var=`echo i'_'main | sed 'y%./+-%__p_%'`
4279
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4280
echo $ac_n "(cached) $ac_c" 1>&6
4282
ac_save_LIBS="$LIBS"
4284
cat > conftest.$ac_ext <<EOF
4285
#line 4286 "configure"
4286
#include "confdefs.h"
4292
if { (eval echo configure:4293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4294
eval "ac_cv_lib_$ac_lib_var=yes"
4296
echo "configure: failed program was:" >&5
4297
cat conftest.$ac_ext >&5
4299
eval "ac_cv_lib_$ac_lib_var=no"
4302
LIBS="$ac_save_LIBS"
4305
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4306
echo "$ac_t""yes" 1>&6
4307
ac_tr_lib=HAVE_LIB`echo i | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4308
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4309
cat >> confdefs.h <<EOF
4310
#define $ac_tr_lib 1
4316
echo "$ac_t""no" 1>&6
4319
echo $ac_n "checking for catgets""... $ac_c" 1>&6
4320
echo "configure:4321: checking for catgets" >&5
4321
if eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then
4322
echo $ac_n "(cached) $ac_c" 1>&6
4324
cat > conftest.$ac_ext <<EOF
4325
#line 4326 "configure"
4326
#include "confdefs.h"
4327
/* System header to define __stub macros and hopefully few prototypes,
4328
which can conflict with char catgets(); below. */
4330
/* Override any gcc2 internal prototype to avoid an error. */
4331
/* We use char because int might match the return type of a gcc2
4332
builtin and then its argument prototype would still apply. */
4337
/* The GNU C library defines this for functions which it implements
4338
to always fail with ENOSYS. Some functions are actually named
4339
something starting with __ and the normal name is an alias. */
4340
#if defined (__stub_catgets) || defined (__stub___catgets)
4348
if { (eval echo configure:4349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4350
eval "ac_cv_func_catgets=yes"
4352
echo "configure: failed program was:" >&5
4353
cat conftest.$ac_ext >&5
4355
eval "ac_cv_func_catgets=no"
4360
if eval "test \"`echo '$ac_cv_func_'catgets`\" = yes"; then
4361
echo "$ac_t""yes" 1>&6
4362
cat >> confdefs.h <<\EOF
4363
#define HAVE_CATGETS 1
4366
INTLOBJS="\$(CATOBJS)"
4367
# Extract the first word of "gencat", so it can be a program name with args.
4368
set dummy gencat; ac_word=$2
4369
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4370
echo "configure:4371: checking for $ac_word" >&5
4371
if eval "test \"`echo '$''{'ac_cv_path_GENCAT'+set}'`\" = set"; then
4372
echo $ac_n "(cached) $ac_c" 1>&6
4376
ac_cv_path_GENCAT="$GENCAT" # Let the user override the test with a path.
4379
ac_cv_path_GENCAT="$GENCAT" # Let the user override the test with a dos path.
4382
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4384
for ac_dir in $ac_dummy; do
4385
test -z "$ac_dir" && ac_dir=.
4386
if test -f $ac_dir/$ac_word; then
4387
ac_cv_path_GENCAT="$ac_dir/$ac_word"
4392
test -z "$ac_cv_path_GENCAT" && ac_cv_path_GENCAT="no"
4396
GENCAT="$ac_cv_path_GENCAT"
4397
if test -n "$GENCAT"; then
4398
echo "$ac_t""$GENCAT" 1>&6
4400
echo "$ac_t""no" 1>&6
4402
# if test "$GENCAT" != "no"; then
4403
# AC_PATH_PROG(GMSGFMT, gmsgfmt, no)
4404
# if test "$GMSGFMT" = "no"; then
4405
# AM_PATH_PROG_WITH_TEST(GMSGFMT, msgfmt,
4406
# [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)
4408
# AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
4409
# [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
4410
# USE_INCLUDED_LIBINTL=yes
4414
# INTLDEPS='$(top_builddir)/intl/libintl.a'
4415
# INTLLIBS=$INTLDEPS
4416
# LIBS=`echo $LIBS | sed -e 's/-lintl//'`
4417
# nls_cv_header_intl=intl/libintl.h
4418
# nls_cv_header_libgt=intl/libgettext.h
4422
echo "$ac_t""no" 1>&6
4428
if test "$CATOBJEXT" = "NONE"; then
4429
nls_cv_use_gnu_gettext=yes
4433
if test "$nls_cv_use_gnu_gettext" != "yes"; then
4434
cat >> confdefs.h <<\EOF
4435
#define ENABLE_NLS 1
4439
# Unset this variable since we use the non-zero value as a flag.
4441
# dnl Mark actions used to generate GNU NLS library.
4442
# INTLOBJS="\$(GETTOBJS)"
4443
# AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
4444
# [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], msgfmt)
4445
# AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
4446
# AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
4447
# [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
4449
# USE_INCLUDED_LIBINTL=yes
4453
# INTLDEPS='$(top_builddir)/intl/libintl.a'
4454
# INTLLIBS=$INTLDEPS
4455
# LIBS=`echo $LIBS | sed -e 's/-lintl//'`
4456
# nls_cv_header_intl=intl/libintl.h
4457
# nls_cv_header_libgt=intl/libgettext.h
4460
if test "$XGETTEXT" != ":"; then
4461
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
4464
echo "$ac_t""found xgettext program is not GNU xgettext; ignore it" 1>&6
4469
# We need to process the po/ directory.
4473
nls_cv_header_intl=intl/libintl.h
4474
nls_cv_header_libgt=intl/libgettext.h
4480
# # If this is used in GNU gettext we have to set USE_NLS to `yes'
4481
# # because some of the sources are only built for this goal.
4482
# if test "$PACKAGE" = gettext; then
4484
# USE_INCLUDED_LIBINTL=yes
4487
for lang in $ALL_LINGUAS; do
4488
GMOFILES="$GMOFILES $lang.gmo"
4489
POFILES="$POFILES $lang.po"
4505
if test "x$CATOBJEXT" != "x"; then
4506
if test "x$ALL_LINGUAS" = "x"; then
4509
echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
4510
echo "configure:4511: checking for catalogs to be installed" >&5
4512
if test "x$LINGUAS" = "x"; then
4513
LINGUAS=$ALL_LINGUAS
4515
for lang in $LINGUAS; do
4516
case "$ALL_LINGUAS" in
4517
*\ $lang\ *|$lang\ *|*\ $lang) NEW_LINGUAS="$NEW_LINGUAS $lang" ;;
4520
LINGUAS=$NEW_LINGUAS
4521
echo "$ac_t""$LINGUAS" 1>&6
4524
if test -n "$LINGUAS"; then
4525
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
4529
if test $ac_cv_header_locale_h = yes; then
4530
INCLUDE_LOCALE_H="#include <locale.h>"
4533
/* The system does not provide the header <locale.h>. Take care yourself. */"
4537
test -d intl || mkdir intl
4538
if test "$CATOBJEXT" = ".cat"; then
4539
ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'`
4540
echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6
4541
echo "configure:4542: checking for linux/version.h" >&5
4542
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4543
echo $ac_n "(cached) $ac_c" 1>&6
4545
cat > conftest.$ac_ext <<EOF
4546
#line 4547 "configure"
4547
#include "confdefs.h"
4548
#include <linux/version.h>
4550
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4551
{ (eval echo configure:4552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4552
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4553
if test -z "$ac_err"; then
4555
eval "ac_cv_header_$ac_safe=yes"
4558
echo "configure: failed program was:" >&5
4559
cat conftest.$ac_ext >&5
4561
eval "ac_cv_header_$ac_safe=no"
4565
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4566
echo "$ac_t""yes" 1>&6
4569
echo "$ac_t""no" 1>&6
4574
sed -e '/^#/d' $srcdir/intl/$msgformat-msg.sed > intl/po2msg.sed
4576
sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
4577
$srcdir/intl/po2tbl.sed.in > intl/po2tbl.sed
4579
if test "$PACKAGE" = "gettext"; then
4590
if test -n "$ac_aux_dir"; then
4591
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
4593
if test -z "$MKINSTALLDIRS"; then
4594
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
4601
test -d po || mkdir po
4602
if test "x$srcdir" != "x."; then
4603
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
4604
posrcprefix="$srcdir/"
4606
posrcprefix="../$srcdir/"
4612
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
4613
< $srcdir/po/POTFILES.in > po/POTFILES
4616
# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
4617
if test "${with_gtk_prefix+set}" = set; then
4618
withval="$with_gtk_prefix"
4619
gtk_config_prefix="$withval"
4621
gtk_config_prefix=""
4624
# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
4625
if test "${with_gtk_exec_prefix+set}" = set; then
4626
withval="$with_gtk_exec_prefix"
4627
gtk_config_exec_prefix="$withval"
4629
gtk_config_exec_prefix=""
4632
# Check whether --enable-gtktest or --disable-gtktest was given.
4633
if test "${enable_gtktest+set}" = set; then
4634
enableval="$enable_gtktest"
4645
gtk_config_args="$gtk_config_args gthread"
4650
if test x$gtk_config_exec_prefix != x ; then
4651
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
4652
if test x${GTK_CONFIG+set} != xset ; then
4653
GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
4656
if test x$gtk_config_prefix != x ; then
4657
gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
4658
if test x${GTK_CONFIG+set} != xset ; then
4659
GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
4663
# Extract the first word of "gtk-config", so it can be a program name with args.
4664
set dummy gtk-config; ac_word=$2
4665
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4666
echo "configure:4667: checking for $ac_word" >&5
4667
if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
4668
echo $ac_n "(cached) $ac_c" 1>&6
4670
case "$GTK_CONFIG" in
4672
ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
4675
ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
4678
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4680
for ac_dir in $ac_dummy; do
4681
test -z "$ac_dir" && ac_dir=.
4682
if test -f $ac_dir/$ac_word; then
4683
ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
4688
test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
4692
GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
4693
if test -n "$GTK_CONFIG"; then
4694
echo "$ac_t""$GTK_CONFIG" 1>&6
4696
echo "$ac_t""no" 1>&6
4699
min_gtk_version=1.2.7
4700
echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
4701
echo "configure:4702: checking for GTK - version >= $min_gtk_version" >&5
4703
if test "$GTK_CONFIG" = "no" ; then
4706
GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
4707
GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
4708
gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
4709
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4710
gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
4711
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4712
gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
4713
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4714
if test "x$enable_gtktest" = "xyes" ; then
4715
ac_save_CFLAGS="$CFLAGS"
4716
ac_save_LIBS="$LIBS"
4717
CFLAGS="$CFLAGS $GTK_CFLAGS"
4718
LIBS="$GTK_LIBS $LIBS"
4720
if test "$cross_compiling" = yes; then
4721
echo $ac_n "cross compiling; assumed OK... $ac_c"
4723
cat > conftest.$ac_ext <<EOF
4724
#line 4725 "configure"
4725
#include "confdefs.h"
4727
#include <gtk/gtk.h>
4734
int major, minor, micro;
4737
system ("touch conf.gtktest");
4739
/* HP/UX 9 (%@#!) writes to sscanf strings */
4740
tmp_version = g_strdup("$min_gtk_version");
4741
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
4742
printf("%s, bad version string\n", "$min_gtk_version");
4746
if ((gtk_major_version != $gtk_config_major_version) ||
4747
(gtk_minor_version != $gtk_config_minor_version) ||
4748
(gtk_micro_version != $gtk_config_micro_version))
4750
printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
4751
$gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
4752
gtk_major_version, gtk_minor_version, gtk_micro_version);
4753
printf ("*** was found! If gtk-config was correct, then it is best\n");
4754
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
4755
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
4756
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
4757
printf("*** required on your system.\n");
4758
printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
4759
printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
4760
printf("*** before re-running configure\n");
4762
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
4763
else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
4764
(gtk_minor_version != GTK_MINOR_VERSION) ||
4765
(gtk_micro_version != GTK_MICRO_VERSION))
4767
printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
4768
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
4769
printf("*** library (version %d.%d.%d)\n",
4770
gtk_major_version, gtk_minor_version, gtk_micro_version);
4772
#endif /* defined (GTK_MAJOR_VERSION) ... */
4775
if ((gtk_major_version > major) ||
4776
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
4777
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
4783
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
4784
gtk_major_version, gtk_minor_version, gtk_micro_version);
4785
printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
4786
major, minor, micro);
4787
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
4789
printf("*** If you have already installed a sufficiently new version, this error\n");
4790
printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
4791
printf("*** being found. The easiest way to fix this is to remove the old version\n");
4792
printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
4793
printf("*** correct copy of gtk-config. (In this case, you will have to\n");
4794
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
4795
printf("*** so that the correct libraries are found at run-time))\n");
4802
if { (eval echo configure:4803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4806
echo "configure: failed program was:" >&5
4807
cat conftest.$ac_ext >&5
4814
CFLAGS="$ac_save_CFLAGS"
4815
LIBS="$ac_save_LIBS"
4818
if test "x$no_gtk" = x ; then
4819
echo "$ac_t""yes" 1>&6
4822
echo "$ac_t""no" 1>&6
4823
if test "$GTK_CONFIG" = "no" ; then
4824
echo "*** The gtk-config script installed by GTK could not be found"
4825
echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
4826
echo "*** your path, or set the GTK_CONFIG environment variable to the"
4827
echo "*** full path to gtk-config."
4829
if test -f conf.gtktest ; then
4832
echo "*** Could not run GTK test program, checking why..."
4833
CFLAGS="$CFLAGS $GTK_CFLAGS"
4834
LIBS="$LIBS $GTK_LIBS"
4835
cat > conftest.$ac_ext <<EOF
4836
#line 4837 "configure"
4837
#include "confdefs.h"
4839
#include <gtk/gtk.h>
4843
return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
4846
if { (eval echo configure:4847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4848
echo "*** The test program compiled, but did not run. This usually means"
4849
echo "*** that the run-time linker is not finding GTK or finding the wrong"
4850
echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
4851
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
4852
echo "*** to the installed location Also, make sure you have run ldconfig if that"
4853
echo "*** is required on your system"
4855
echo "*** If you have an old version installed, it is best to remove it, although"
4856
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
4858
echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
4859
echo "*** came with the system with the command"
4861
echo "*** rpm --erase --nodeps gtk gtk-devel"
4863
echo "configure: failed program was:" >&5
4864
cat conftest.$ac_ext >&5
4866
echo "*** The test program failed to compile or link. See the file config.log for the"
4867
echo "*** exact error that occured. This usually means GTK was incorrectly installed"
4868
echo "*** or that you have moved GTK since it was installed. In the latter case, you"
4869
echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
4872
CFLAGS="$ac_save_CFLAGS"
4873
LIBS="$ac_save_LIBS"
4878
{ echo "configure: error:
4879
*** GTK+ 1.2.7 or better is required. The latest version of GTK+
4880
*** is always available from ftp://ftp.gtk.org/." 1>&2; exit 1; }
4888
echo $ac_n "checking for GnomePrint libraries >= 0.25""... $ac_c" 1>&6
4889
echo "configure:4890: checking for GnomePrint libraries >= 0.25" >&5
4890
if gnome-config --libs print > /dev/null 2>&1; then
4891
vers=`gnome-config --modversion print | sed -e "s/gnome-print-//" | \
4892
awk 'BEGIN { FS = "."; } { print $1 * 1000 + $2;}'`
4893
if test "$vers" -ge 25; then
4894
echo "$ac_t""found" 1>&6
4896
{ echo "configure: error: You need at least GNOME print 0.25 for this version of gedit" 1>&2; exit 1; }
4899
{ echo "configure: error: Did not find GnomePrint installed" 1>&2; exit 1; }
4903
echo $ac_n "checking for Glade libraries >= 0.11""... $ac_c" 1>&6
4904
echo "configure:4905: checking for Glade libraries >= 0.11" >&5
4905
if gnome-config --libs libglade > /dev/null 2>&1; then
4906
vers=`gnome-config --modversion libglade | awk 'BEGIN { FS = "."; } { print $1 * 1000 + $2;}'`
4907
if test "$vers" -ge 11; then
4908
echo "$ac_t""found" 1>&6
4910
{ echo "configure: error: You need at least libglade 0.11 for this version of gedit" 1>&2; exit 1; }
4913
{ echo "configure: error: Did not find libGlade installed" 1>&2; exit 1; }
4917
echo $ac_n "checking for gnome-libs >= 1.0.55""... $ac_c" 1>&6
4918
echo "configure:4919: checking for gnome-libs >= 1.0.55" >&5
4919
if gnome-config --version > /dev/null 2>&1; then
4920
vers=`gnome-config --version | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
4921
if test "$vers" -ge 55; then
4922
echo "$ac_t""found" 1>&6
4924
{ echo "configure: error: You need at least gnome-libs 1.0.55 for this version of gedit" 1>&2; exit 1; }
4927
{ echo "configure: error: Did not find gnome-libs installed" 1>&2; exit 1; }
4931
echo $ac_n "checking for gnome-vfs >= 0.1""... $ac_c" 1>&6
4932
echo "configure:4933: checking for gnome-vfs >= 0.1" >&5
4933
if gnome-config --libs vfs > /dev/null 2>&1; then
4934
vers=`gnome-config --modversion vfs | sed -e "s/gnome-vfs-//" | awk -F. '{printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
4935
if test "$vers" -ge 1000000; then
4936
echo "$ac_t""found" 1>&6
4938
{ echo "configure: error: You need at least gnome-vfs 1.0 for this version of gedit." 1>&2; exit 1; }
4941
{ echo "configure: error: Did not find gnome-vfs installed" 1>&2; exit 1; }
4944
EXTRA_GNOME_LIBS=`gnome-config --libs print libglade vfs`
4945
EXTRA_GNOME_CFLAGS=`gnome-config --cflags print libglade vfs`
4957
cat > confcache <<\EOF
4958
# This file is a shell script that caches the results of configure
4959
# tests run on this system so they can be shared between configure
4960
# scripts and configure runs. It is not useful on other systems.
4961
# If it contains results you don't want to keep, you may remove or edit it.
4963
# By default, configure uses ./config.cache as the cache file,
4964
# creating it if it does not exist already. You can give configure
4965
# the --cache-file=FILE option to use a different cache file; that is
4966
# what configure does when it calls configure scripts in
4967
# subdirectories, so they share the cache.
4968
# Giving --cache-file=/dev/null disables caching, for debugging configure.
4969
# config.status only pays attention to the cache file if you give it the
4970
# --recheck option to rerun configure.
4973
# The following way of writing the cache mishandles newlines in values,
4974
# but we know of no workaround that is simple, portable, and efficient.
4975
# So, don't put newlines in cache variables' values.
4976
# Ultrix sh set writes to stderr and can't be redirected directly,
4977
# and sets the high bit in the cache file unless we assign to the vars.
4979
case `(ac_space=' '; set | grep ac_space) 2>&1` in
4981
# `set' does not quote correctly, so add quotes (double-quote substitution
4982
# turns \\\\ into \\, and sed turns \\ into \).
4984
-e "s/'/'\\\\''/g" \
4985
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
4988
# `set' quotes correctly as required by POSIX, so do not add quotes.
4989
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
4992
if cmp -s $cache_file confcache; then
4995
if test -w $cache_file; then
4996
echo "updating cache $cache_file"
4997
cat confcache > $cache_file
4999
echo "not updating unwritable cache $cache_file"
5004
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
5006
test "x$prefix" = xNONE && prefix=$ac_default_prefix
5007
# Let make expand exec_prefix.
5008
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5010
# Any assignment to VPATH causes Sun make to only execute
5011
# the first set of double-colon rules, so remove it if not needed.
5012
# If there is a colon in the path, we need to keep it.
5013
if test "x$srcdir" = x.; then
5014
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
5017
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
5019
DEFS=-DHAVE_CONFIG_H
5021
# Without the "./", some shells look in PATH for config.status.
5022
: ${CONFIG_STATUS=./config.status}
5024
echo creating $CONFIG_STATUS
5025
rm -f $CONFIG_STATUS
5026
cat > $CONFIG_STATUS <<EOF
5028
# Generated automatically by configure.
5029
# Run this file to recreate the current configuration.
5030
# This directory was configured as follows,
5031
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
5033
# $0 $ac_configure_args
5035
# Compiler output produced by configure, useful for debugging
5036
# configure, is in ./config.log if it exists.
5038
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
5041
case "\$ac_option" in
5042
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5043
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
5044
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
5045
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
5046
echo "$CONFIG_STATUS generated by autoconf version 2.13"
5048
-help | --help | --hel | --he | --h)
5049
echo "\$ac_cs_usage"; exit 0 ;;
5050
*) echo "\$ac_cs_usage"; exit 1 ;;
5054
ac_given_srcdir=$srcdir
5055
ac_given_INSTALL="$INSTALL"
5057
trap 'rm -fr `echo "
5068
plugins/browse/Makefile
5069
plugins/convert/Makefile
5070
plugins/diff/Makefile
5071
plugins/email/Makefile
5072
plugins/sample/Makefile
5073
plugins/time/Makefile
5074
plugins/reverse/Makefile
5075
plugins/shell_output/Makefile
5077
src/dialogs/Makefile
5078
config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
5080
cat >> $CONFIG_STATUS <<EOF
5082
# Protect against being on the right side of a sed subst in config.status.
5083
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
5084
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
5088
s%@CFLAGS@%$CFLAGS%g
5089
s%@CPPFLAGS@%$CPPFLAGS%g
5090
s%@CXXFLAGS@%$CXXFLAGS%g
5091
s%@FFLAGS@%$FFLAGS%g
5093
s%@LDFLAGS@%$LDFLAGS%g
5095
s%@exec_prefix@%$exec_prefix%g
5096
s%@prefix@%$prefix%g
5097
s%@program_transform_name@%$program_transform_name%g
5098
s%@bindir@%$bindir%g
5099
s%@sbindir@%$sbindir%g
5100
s%@libexecdir@%$libexecdir%g
5101
s%@datadir@%$datadir%g
5102
s%@sysconfdir@%$sysconfdir%g
5103
s%@sharedstatedir@%$sharedstatedir%g
5104
s%@localstatedir@%$localstatedir%g
5105
s%@libdir@%$libdir%g
5106
s%@includedir@%$includedir%g
5107
s%@oldincludedir@%$oldincludedir%g
5108
s%@infodir@%$infodir%g
5109
s%@mandir@%$mandir%g
5110
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
5111
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
5112
s%@INSTALL_DATA@%$INSTALL_DATA%g
5113
s%@PACKAGE@%$PACKAGE%g
5114
s%@VERSION@%$VERSION%g
5115
s%@ACLOCAL@%$ACLOCAL%g
5116
s%@AUTOCONF@%$AUTOCONF%g
5117
s%@AUTOMAKE@%$AUTOMAKE%g
5118
s%@AUTOHEADER@%$AUTOHEADER%g
5119
s%@MAKEINFO@%$MAKEINFO%g
5120
s%@SET_MAKE@%$SET_MAKE%g
5121
s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
5122
s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
5124
s%@INSIDE_GNOME_COMMON_TRUE@%$INSIDE_GNOME_COMMON_TRUE%g
5125
s%@INSIDE_GNOME_COMMON_FALSE@%$INSIDE_GNOME_COMMON_FALSE%g
5129
s%@host_alias@%$host_alias%g
5130
s%@host_cpu@%$host_cpu%g
5131
s%@host_vendor@%$host_vendor%g
5132
s%@host_os@%$host_os%g
5134
s%@build_alias@%$build_alias%g
5135
s%@build_cpu@%$build_cpu%g
5136
s%@build_vendor@%$build_vendor%g
5137
s%@build_os@%$build_os%g
5138
s%@RANLIB@%$RANLIB%g
5140
s%@LIBTOOL@%$LIBTOOL%g
5141
s%@GNOME_LIBS@%$GNOME_LIBS%g
5142
s%@GNOMEUI_LIBS@%$GNOMEUI_LIBS%g
5143
s%@GNOMEGNORBA_LIBS@%$GNOMEGNORBA_LIBS%g
5144
s%@GTKXMHTML_LIBS@%$GTKXMHTML_LIBS%g
5145
s%@ZVT_LIBS@%$ZVT_LIBS%g
5146
s%@GNOME_LIBDIR@%$GNOME_LIBDIR%g
5147
s%@GNOME_INCLUDEDIR@%$GNOME_INCLUDEDIR%g
5148
s%@GNOME_CONFIG@%$GNOME_CONFIG%g
5149
s%@ORBIT_CONFIG@%$ORBIT_CONFIG%g
5150
s%@ORBIT_IDL@%$ORBIT_IDL%g
5151
s%@HAVE_ORBIT_TRUE@%$HAVE_ORBIT_TRUE%g
5152
s%@HAVE_ORBIT_FALSE@%$HAVE_ORBIT_FALSE%g
5153
s%@ORBIT_CFLAGS@%$ORBIT_CFLAGS%g
5154
s%@ORBIT_LIBS@%$ORBIT_LIBS%g
5155
s%@HAVE_GNORBA_TRUE@%$HAVE_GNORBA_TRUE%g
5156
s%@HAVE_GNORBA_FALSE@%$HAVE_GNORBA_FALSE%g
5157
s%@GNORBA_CFLAGS@%$GNORBA_CFLAGS%g
5158
s%@GNORBA_LIBS@%$GNORBA_LIBS%g
5159
s%@GNOME_APPLETS_LIBS@%$GNOME_APPLETS_LIBS%g
5160
s%@GNOME_DOCKLETS_LIBS@%$GNOME_DOCKLETS_LIBS%g
5161
s%@GNOME_CAPPLET_LIBS@%$GNOME_CAPPLET_LIBS%g
5162
s%@cflags_set@%$cflags_set%g
5163
s%@GTK_CONFIG@%$GTK_CONFIG%g
5164
s%@GTK_CFLAGS@%$GTK_CFLAGS%g
5165
s%@GTK_LIBS@%$GTK_LIBS%g
5166
s%@XPM_LIBS@%$XPM_LIBS%g
5167
s%@PTHREAD_LIB@%$PTHREAD_LIB%g
5168
s%@HAVE_LIBGNORBA_TRUE@%$HAVE_LIBGNORBA_TRUE%g
5169
s%@HAVE_LIBGNORBA_FALSE@%$HAVE_LIBGNORBA_FALSE%g
5170
s%@HAVE_LIBZVT_TRUE@%$HAVE_LIBZVT_TRUE%g
5171
s%@HAVE_LIBZVT_FALSE@%$HAVE_LIBZVT_FALSE%g
5172
s%@ALLOCA@%$ALLOCA%g
5173
s%@USE_NLS@%$USE_NLS%g
5174
s%@MSGFMT@%$MSGFMT%g
5175
s%@GMSGFMT@%$GMSGFMT%g
5176
s%@XGETTEXT@%$XGETTEXT%g
5177
s%@GENCAT@%$GENCAT%g
5178
s%@USE_INCLUDED_LIBINTL@%$USE_INCLUDED_LIBINTL%g
5179
s%@CATALOGS@%$CATALOGS%g
5180
s%@CATOBJEXT@%$CATOBJEXT%g
5181
s%@DATADIRNAME@%$DATADIRNAME%g
5182
s%@GMOFILES@%$GMOFILES%g
5183
s%@INSTOBJEXT@%$INSTOBJEXT%g
5184
s%@INTLDEPS@%$INTLDEPS%g
5185
s%@INTLLIBS@%$INTLLIBS%g
5186
s%@INTLOBJS@%$INTLOBJS%g
5187
s%@POFILES@%$POFILES%g
5189
s%@INCLUDE_LOCALE_H@%$INCLUDE_LOCALE_H%g
5191
s%@GT_YES@%$GT_YES%g
5192
s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g
5194
s%@EXTRA_GNOME_LIBS@%$EXTRA_GNOME_LIBS%g
5195
s%@EXTRA_GNOME_CFLAGS@%$EXTRA_GNOME_CFLAGS%g
5200
cat >> $CONFIG_STATUS <<\EOF
5202
# Split the substitutions into bite-sized pieces for seds with
5203
# small command number limits, like on Digital OSF/1 and HP-UX.
5204
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
5205
ac_file=1 # Number of current file.
5206
ac_beg=1 # First line for current file.
5207
ac_end=$ac_max_sed_cmds # Line after last line for current file.
5210
while $ac_more_lines; do
5211
if test $ac_beg -gt 1; then
5212
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
5214
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
5216
if test ! -s conftest.s$ac_file; then
5218
rm -f conftest.s$ac_file
5220
if test -z "$ac_sed_cmds"; then
5221
ac_sed_cmds="sed -f conftest.s$ac_file"
5223
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
5225
ac_file=`expr $ac_file + 1`
5227
ac_end=`expr $ac_end + $ac_max_sed_cmds`
5230
if test -z "$ac_sed_cmds"; then
5235
cat >> $CONFIG_STATUS <<EOF
5237
CONFIG_FILES=\${CONFIG_FILES-"gedit.spec
5247
plugins/browse/Makefile
5248
plugins/convert/Makefile
5249
plugins/diff/Makefile
5250
plugins/email/Makefile
5251
plugins/sample/Makefile
5252
plugins/time/Makefile
5253
plugins/reverse/Makefile
5254
plugins/shell_output/Makefile
5256
src/dialogs/Makefile
5259
cat >> $CONFIG_STATUS <<\EOF
5260
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
5261
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5263
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
5264
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
5265
*) ac_file_in="${ac_file}.in" ;;
5268
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
5270
# Remove last slash and all that follows it. Not all systems have dirname.
5271
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
5272
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
5273
# The file is in a subdirectory.
5274
test ! -d "$ac_dir" && mkdir "$ac_dir"
5275
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
5276
# A "../" for each directory in $ac_dir_suffix.
5277
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
5279
ac_dir_suffix= ac_dots=
5282
case "$ac_given_srcdir" in
5284
if test -z "$ac_dots"; then top_srcdir=.
5285
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
5286
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
5288
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
5289
top_srcdir="$ac_dots$ac_given_srcdir" ;;
5292
case "$ac_given_INSTALL" in
5293
[/$]*) INSTALL="$ac_given_INSTALL" ;;
5294
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
5297
echo creating "$ac_file"
5299
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
5301
*Makefile*) ac_comsub="1i\\
5302
# $configure_input" ;;
5306
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
5308
s%@configure_input@%$configure_input%g
5309
s%@srcdir@%$srcdir%g
5310
s%@top_srcdir@%$top_srcdir%g
5311
s%@INSTALL@%$INSTALL%g
5312
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
5316
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5317
# NAME is the cpp macro being defined and VALUE is the value it is being given.
5319
# ac_d sets the value in "#define NAME VALUE" lines.
5320
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5321
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
5324
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
5325
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5326
ac_uB='\([ ]\)%\1#\2define\3'
5329
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5330
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5331
ac_eB='$%\1#\2define\3'
5335
if test "${CONFIG_HEADERS+set}" != set; then
5337
cat >> $CONFIG_STATUS <<EOF
5338
CONFIG_HEADERS="config.h"
5340
cat >> $CONFIG_STATUS <<\EOF
5342
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
5343
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5345
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
5346
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
5347
*) ac_file_in="${ac_file}.in" ;;
5350
echo creating $ac_file
5352
rm -f conftest.frag conftest.in conftest.out
5353
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
5354
cat $ac_file_inputs > conftest.in
5358
# Transform confdefs.h into a sed script conftest.vals that substitutes
5359
# the proper values into config.h.in to produce config.h. And first:
5360
# Protect against being on the right side of a sed subst in config.status.
5361
# Protect against being in an unquoted here document in config.status.
5363
cat > conftest.hdr <<\EOF
5366
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
5370
sed -n -f conftest.hdr confdefs.h > conftest.vals
5373
# This sed command replaces #undef with comments. This is necessary, for
5374
# example, in the case of _POSIX_SOURCE, which is predefined and required
5375
# on some systems where configure will not decide to define it.
5376
cat >> conftest.vals <<\EOF
5377
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
5380
# Break up conftest.vals because some shells have a limit on
5381
# the size of here documents, and old seds have small limits too.
5386
ac_lines=`grep -c . conftest.vals`
5387
# grep -c gives empty output for an empty file on some AIX systems.
5388
if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
5389
# Write a limited-size here document to conftest.frag.
5390
echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
5391
sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
5393
sed -f conftest.frag conftest.in > conftest.out
5395
mv conftest.out conftest.in
5397
sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
5399
mv conftest.tail conftest.vals
5403
cat >> $CONFIG_STATUS <<\EOF
5404
rm -f conftest.frag conftest.h
5405
echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
5406
cat conftest.in >> conftest.h
5408
if cmp -s $ac_file conftest.h 2>/dev/null; then
5409
echo "$ac_file is unchanged"
5412
# Remove last slash and all that follows it. Not all systems have dirname.
5413
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
5414
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
5415
# The file is in a subdirectory.
5416
test ! -d "$ac_dir" && mkdir "$ac_dir"
5419
mv conftest.h $ac_file
5425
cat >> $CONFIG_STATUS <<EOF
5426
ac_sources="$nls_cv_header_libgt"
5427
ac_dests="$nls_cv_header_intl"
5430
cat >> $CONFIG_STATUS <<\EOF
5431
srcdir=$ac_given_srcdir
5432
while test -n "$ac_sources"; do
5433
set $ac_dests; ac_dest=$1; shift; ac_dests=$*
5434
set $ac_sources; ac_source=$1; shift; ac_sources=$*
5436
echo "linking $srcdir/$ac_source to $ac_dest"
5438
if test ! -r $srcdir/$ac_source; then
5439
{ echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
5443
# Make relative symlinks.
5444
# Remove last slash and all that follows it. Not all systems have dirname.
5445
ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
5446
if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
5447
# The dest file is in a subdirectory.
5448
test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
5449
ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
5450
# A "../" for each directory in $ac_dest_dir_suffix.
5451
ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
5453
ac_dest_dir_suffix= ac_dots=
5457
[/$]*) ac_rel_source="$srcdir/$ac_source" ;;
5458
*) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
5461
# Make a symlink if possible; otherwise try a hard link.
5462
if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
5463
ln $srcdir/$ac_source $ac_dest; then :
5465
{ echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
5469
cat >> $CONFIG_STATUS <<EOF
5474
cat >> $CONFIG_STATUS <<\EOF
5475
test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
5476
case "$CONFIG_FILES" in *po/Makefile.in*)
5477
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
5479
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
5482
chmod +x $CONFIG_STATUS
5483
rm -fr confdefs* $ac_clean_files
5484
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
5491
Source code location: ${srcdir}