~ubuntu-branches/debian/sid/link-monitor-applet/sid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Adriaan Peeters
  • Date: 2008-03-30 22:26:13 UTC
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20080330222613-5aubcuo9mgg2n7st
Tags: upstream-3.0
ImportĀ upstreamĀ versionĀ 3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.59 for link-monitor-applet 2.1.
4
 
#
5
 
# Report bugs to <jylefort@brutele.be>.
6
 
#
7
 
# Copyright (C) 2003 Free Software Foundation, Inc.
8
 
# This configure script is free software; the Free Software Foundation
9
 
# gives unlimited permission to copy, distribute and modify it.
10
 
## --------------------- ##
11
 
## M4sh Initialization.  ##
12
 
## --------------------- ##
13
 
 
14
 
# Be Bourne compatible
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
 
  emulate sh
17
 
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
 
  # is contrary to our usage.  Disable this feature.
20
 
  alias -g '${1+"$@"}'='"$@"'
21
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
 
  set -o posix
23
 
fi
24
 
DUALCASE=1; export DUALCASE # for MKS sh
25
 
 
26
 
# Support unset when possible.
27
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28
 
  as_unset=unset
29
 
else
30
 
  as_unset=false
31
 
fi
32
 
 
33
 
 
34
 
# Work around bugs in pre-3.0 UWIN ksh.
35
 
$as_unset ENV MAIL MAILPATH
36
 
PS1='$ '
37
 
PS2='> '
38
 
PS4='+ '
39
 
 
40
 
# NLS nuisances.
41
 
for as_var in \
42
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44
 
  LC_TELEPHONE LC_TIME
45
 
do
46
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
 
    eval $as_var=C; export $as_var
48
 
  else
49
 
    $as_unset $as_var
50
 
  fi
51
 
done
52
 
 
53
 
# Required to use basename.
54
 
if expr a : '\(a\)' >/dev/null 2>&1; then
55
 
  as_expr=expr
56
 
else
57
 
  as_expr=false
58
 
fi
59
 
 
60
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61
 
  as_basename=basename
62
 
else
63
 
  as_basename=false
64
 
fi
65
 
 
66
 
 
67
 
# Name of the executable.
68
 
as_me=`$as_basename "$0" ||
69
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
 
         X"$0" : 'X\(//\)$' \| \
71
 
         X"$0" : 'X\(/\)$' \| \
72
 
         .     : '\(.\)' 2>/dev/null ||
73
 
echo X/"$0" |
74
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
76
 
          /^X\/\(\/\).*/{ s//\1/; q; }
77
 
          s/.*/./; q'`
78
 
 
79
 
 
80
 
# PATH needs CR, and LINENO needs CR and PATH.
81
 
# Avoid depending upon Character Ranges.
82
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
 
as_cr_digits='0123456789'
86
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
87
 
 
88
 
# The user is always right.
89
 
if test "${PATH_SEPARATOR+set}" != set; then
90
 
  echo "#! /bin/sh" >conf$$.sh
91
 
  echo  "exit 0"   >>conf$$.sh
92
 
  chmod +x conf$$.sh
93
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94
 
    PATH_SEPARATOR=';'
95
 
  else
96
 
    PATH_SEPARATOR=:
97
 
  fi
98
 
  rm -f conf$$.sh
99
 
fi
100
 
 
101
 
 
102
 
  as_lineno_1=$LINENO
103
 
  as_lineno_2=$LINENO
104
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
106
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107
 
  # Find who we are.  Look in the path if we contain no path at all
108
 
  # relative or not.
109
 
  case $0 in
110
 
    *[\\/]* ) as_myself=$0 ;;
111
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112
 
for as_dir in $PATH
113
 
do
114
 
  IFS=$as_save_IFS
115
 
  test -z "$as_dir" && as_dir=.
116
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117
 
done
118
 
 
119
 
       ;;
120
 
  esac
121
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
122
 
  # in which case we are not to be found in the path.
123
 
  if test "x$as_myself" = x; then
124
 
    as_myself=$0
125
 
  fi
126
 
  if test ! -f "$as_myself"; then
127
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
 
   { (exit 1); exit 1; }; }
129
 
  fi
130
 
  case $CONFIG_SHELL in
131
 
  '')
132
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
 
do
135
 
  IFS=$as_save_IFS
136
 
  test -z "$as_dir" && as_dir=.
137
 
  for as_base in sh bash ksh sh5; do
138
 
         case $as_dir in
139
 
         /*)
140
 
           if ("$as_dir/$as_base" -c '
141
 
  as_lineno_1=$LINENO
142
 
  as_lineno_2=$LINENO
143
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
145
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
 
             CONFIG_SHELL=$as_dir/$as_base
149
 
             export CONFIG_SHELL
150
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151
 
           fi;;
152
 
         esac
153
 
       done
154
 
done
155
 
;;
156
 
  esac
157
 
 
158
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
160
 
  # line-number line before each line; the second 'sed' does the real
161
 
  # work.  The second script uses 'N' to pair each line-number line
162
 
  # with the numbered line, and appends trailing '-' during
163
 
  # substitution so that $LINENO is not a special case at line end.
164
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166
 
  sed '=' <$as_myself |
167
 
    sed '
168
 
      N
169
 
      s,$,-,
170
 
      : loop
171
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172
 
      t loop
173
 
      s,-$,,
174
 
      s,^['$as_cr_digits']*\n,,
175
 
    ' >$as_me.lineno &&
176
 
  chmod +x $as_me.lineno ||
177
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
 
   { (exit 1); exit 1; }; }
179
 
 
180
 
  # Don't try to exec as it changes $[0], causing all sort of problems
181
 
  # (the dirname of $[0] is not the place where we might find the
182
 
  # original and so on.  Autoconf is especially sensible to this).
183
 
  . ./$as_me.lineno
184
 
  # Exit status is that of the last command.
185
 
  exit
186
 
}
187
 
 
188
 
 
189
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
 
  *c*,-n*) ECHO_N= ECHO_C='
191
 
' ECHO_T='      ' ;;
192
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
194
 
esac
195
 
 
196
 
if expr a : '\(a\)' >/dev/null 2>&1; then
197
 
  as_expr=expr
198
 
else
199
 
  as_expr=false
200
 
fi
201
 
 
202
 
rm -f conf$$ conf$$.exe conf$$.file
203
 
echo >conf$$.file
204
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
 
  # We could just check for DJGPP; but this test a) works b) is more generic
206
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
 
  if test -f conf$$.exe; then
208
 
    # Don't use ln at all; we don't have any links
209
 
    as_ln_s='cp -p'
210
 
  else
211
 
    as_ln_s='ln -s'
212
 
  fi
213
 
elif ln conf$$.file conf$$ 2>/dev/null; then
214
 
  as_ln_s=ln
215
 
else
216
 
  as_ln_s='cp -p'
217
 
fi
218
 
rm -f conf$$ conf$$.exe conf$$.file
219
 
 
220
 
if mkdir -p . 2>/dev/null; then
221
 
  as_mkdir_p=:
222
 
else
223
 
  test -d ./-p && rmdir ./-p
224
 
  as_mkdir_p=false
225
 
fi
226
 
 
227
 
as_executable_p="test -f"
228
 
 
229
 
# Sed expression to map a string onto a valid CPP name.
230
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
 
 
232
 
# Sed expression to map a string onto a valid variable name.
233
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
 
 
235
 
 
236
 
# IFS
237
 
# We need space, tab and new line, in precisely that order.
238
 
as_nl='
239
 
'
240
 
IFS="   $as_nl"
241
 
 
242
 
# CDPATH.
243
 
$as_unset CDPATH
244
 
 
245
 
 
246
 
# Name of the host.
247
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248
 
# so uname gets run too.
249
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
 
 
251
 
exec 6>&1
252
 
 
253
 
#
254
 
# Initializations.
255
 
#
256
 
ac_default_prefix=/usr/local
257
 
ac_config_libobj_dir=.
258
 
cross_compiling=no
259
 
subdirs=
260
 
MFLAGS=
261
 
MAKEFLAGS=
262
 
SHELL=${CONFIG_SHELL-/bin/sh}
263
 
 
264
 
# Maximum number of lines to put in a shell here document.
265
 
# This variable seems obsolete.  It should probably be removed, and
266
 
# only ac_max_sed_lines should be used.
267
 
: ${ac_max_here_lines=38}
268
 
 
269
 
# Identity of this package.
270
 
PACKAGE_NAME='link-monitor-applet'
271
 
PACKAGE_TARNAME='link-monitor-applet'
272
 
PACKAGE_VERSION='2.1'
273
 
PACKAGE_STRING='link-monitor-applet 2.1'
274
 
PACKAGE_BUGREPORT='jylefort@brutele.be'
275
 
 
276
 
ac_unique_file="src/lm-main.c"
277
 
# Factoring default headers for most tests.
278
 
ac_includes_default="\
279
 
#include <stdio.h>
280
 
#if HAVE_SYS_TYPES_H
281
 
# include <sys/types.h>
282
 
#endif
283
 
#if HAVE_SYS_STAT_H
284
 
# include <sys/stat.h>
285
 
#endif
286
 
#if STDC_HEADERS
287
 
# include <stdlib.h>
288
 
# include <stddef.h>
289
 
#else
290
 
# if HAVE_STDLIB_H
291
 
#  include <stdlib.h>
292
 
# endif
293
 
#endif
294
 
#if HAVE_STRING_H
295
 
# if !STDC_HEADERS && HAVE_MEMORY_H
296
 
#  include <memory.h>
297
 
# endif
298
 
# include <string.h>
299
 
#endif
300
 
#if HAVE_STRINGS_H
301
 
# include <strings.h>
302
 
#endif
303
 
#if HAVE_INTTYPES_H
304
 
# include <inttypes.h>
305
 
#else
306
 
# if HAVE_STDINT_H
307
 
#  include <stdint.h>
308
 
# endif
309
 
#endif
310
 
#if HAVE_UNISTD_H
311
 
# include <unistd.h>
312
 
#endif"
313
 
 
314
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS ac_prefix_program WARN_CFLAGS DEBUG_CFLAGS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GETTEXT_PACKAGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS INTLTOOL_DESKTOP_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_KEYS_RULE INTLTOOL_PROP_RULE INTLTOOL_OAF_RULE INTLTOOL_PONG_RULE INTLTOOL_SERVER_RULE INTLTOOL_SHEET_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_UI_RULE INTLTOOL_XAM_RULE INTLTOOL_KBD_RULE INTLTOOL_XML_RULE INTLTOOL_XML_NOMERGE_RULE INTLTOOL_CAVES_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_THEME_RULE INTLTOOL_SERVICE_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL INTLTOOL_ICONV INTLTOOL_MSGFMT INTLTOOL_MSGMERGE INTLTOOL_XGETTEXT PKG_CONFIG GTK_CFLAGS GTK_LIBS ac_pt_PKG_CONFIG GNOME_CFLAGS GNOME_LIBS GCONF_SCHEMA_CONFIG_SOURCE GCONF_SCHEMA_FILE_DIR GCONF_SCHEMAS_INSTALL_TRUE GCONF_SCHEMAS_INSTALL_FALSE gnome_prefix GCONFTOOL AML GOB2 GEOIP_CFLAGS GEOIP_LIBS GDK_PIXBUF_CFLAGS GDK_PIXBUF_LIBS WITH_GEOIP_TRUE WITH_GEOIP_FALSE LIBOBJS LTLIBOBJS'
315
 
ac_subst_files=''
316
 
 
317
 
# Initialize some variables set by options.
318
 
ac_init_help=
319
 
ac_init_version=false
320
 
# The variables have the same names as the options, with
321
 
# dashes changed to underlines.
322
 
cache_file=/dev/null
323
 
exec_prefix=NONE
324
 
no_create=
325
 
no_recursion=
326
 
prefix=NONE
327
 
program_prefix=NONE
328
 
program_suffix=NONE
329
 
program_transform_name=s,x,x,
330
 
silent=
331
 
site=
332
 
srcdir=
333
 
verbose=
334
 
x_includes=NONE
335
 
x_libraries=NONE
336
 
 
337
 
# Installation directory options.
338
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
339
 
# and all the variables that are supposed to be based on exec_prefix
340
 
# by default will actually change.
341
 
# Use braces instead of parens because sh, perl, etc. also accept them.
342
 
bindir='${exec_prefix}/bin'
343
 
sbindir='${exec_prefix}/sbin'
344
 
libexecdir='${exec_prefix}/libexec'
345
 
datadir='${prefix}/share'
346
 
sysconfdir='${prefix}/etc'
347
 
sharedstatedir='${prefix}/com'
348
 
localstatedir='${prefix}/var'
349
 
libdir='${exec_prefix}/lib'
350
 
includedir='${prefix}/include'
351
 
oldincludedir='/usr/include'
352
 
infodir='${prefix}/info'
353
 
mandir='${prefix}/man'
354
 
 
355
 
ac_prev=
356
 
for ac_option
357
 
do
358
 
  # If the previous option needs an argument, assign it.
359
 
  if test -n "$ac_prev"; then
360
 
    eval "$ac_prev=\$ac_option"
361
 
    ac_prev=
362
 
    continue
363
 
  fi
364
 
 
365
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366
 
 
367
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
368
 
 
369
 
  case $ac_option in
370
 
 
371
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
372
 
    ac_prev=bindir ;;
373
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374
 
    bindir=$ac_optarg ;;
375
 
 
376
 
  -build | --build | --buil | --bui | --bu)
377
 
    ac_prev=build_alias ;;
378
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379
 
    build_alias=$ac_optarg ;;
380
 
 
381
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
382
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383
 
    ac_prev=cache_file ;;
384
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386
 
    cache_file=$ac_optarg ;;
387
 
 
388
 
  --config-cache | -C)
389
 
    cache_file=config.cache ;;
390
 
 
391
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392
 
    ac_prev=datadir ;;
393
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394
 
  | --da=*)
395
 
    datadir=$ac_optarg ;;
396
 
 
397
 
  -disable-* | --disable-*)
398
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399
 
    # Reject names that are not valid shell variable names.
400
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402
 
   { (exit 1); exit 1; }; }
403
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404
 
    eval "enable_$ac_feature=no" ;;
405
 
 
406
 
  -enable-* | --enable-*)
407
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408
 
    # Reject names that are not valid shell variable names.
409
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411
 
   { (exit 1); exit 1; }; }
412
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413
 
    case $ac_option in
414
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415
 
      *) ac_optarg=yes ;;
416
 
    esac
417
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
418
 
 
419
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421
 
  | --exec | --exe | --ex)
422
 
    ac_prev=exec_prefix ;;
423
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425
 
  | --exec=* | --exe=* | --ex=*)
426
 
    exec_prefix=$ac_optarg ;;
427
 
 
428
 
  -gas | --gas | --ga | --g)
429
 
    # Obsolete; use --with-gas.
430
 
    with_gas=yes ;;
431
 
 
432
 
  -help | --help | --hel | --he | -h)
433
 
    ac_init_help=long ;;
434
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
435
 
    ac_init_help=recursive ;;
436
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
437
 
    ac_init_help=short ;;
438
 
 
439
 
  -host | --host | --hos | --ho)
440
 
    ac_prev=host_alias ;;
441
 
  -host=* | --host=* | --hos=* | --ho=*)
442
 
    host_alias=$ac_optarg ;;
443
 
 
444
 
  -includedir | --includedir | --includedi | --included | --include \
445
 
  | --includ | --inclu | --incl | --inc)
446
 
    ac_prev=includedir ;;
447
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
449
 
    includedir=$ac_optarg ;;
450
 
 
451
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
452
 
    ac_prev=infodir ;;
453
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454
 
    infodir=$ac_optarg ;;
455
 
 
456
 
  -libdir | --libdir | --libdi | --libd)
457
 
    ac_prev=libdir ;;
458
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
459
 
    libdir=$ac_optarg ;;
460
 
 
461
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462
 
  | --libexe | --libex | --libe)
463
 
    ac_prev=libexecdir ;;
464
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465
 
  | --libexe=* | --libex=* | --libe=*)
466
 
    libexecdir=$ac_optarg ;;
467
 
 
468
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
469
 
  | --localstate | --localstat | --localsta | --localst \
470
 
  | --locals | --local | --loca | --loc | --lo)
471
 
    ac_prev=localstatedir ;;
472
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475
 
    localstatedir=$ac_optarg ;;
476
 
 
477
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478
 
    ac_prev=mandir ;;
479
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480
 
    mandir=$ac_optarg ;;
481
 
 
482
 
  -nfp | --nfp | --nf)
483
 
    # Obsolete; use --without-fp.
484
 
    with_fp=no ;;
485
 
 
486
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487
 
  | --no-cr | --no-c | -n)
488
 
    no_create=yes ;;
489
 
 
490
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492
 
    no_recursion=yes ;;
493
 
 
494
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496
 
  | --oldin | --oldi | --old | --ol | --o)
497
 
    ac_prev=oldincludedir ;;
498
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501
 
    oldincludedir=$ac_optarg ;;
502
 
 
503
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504
 
    ac_prev=prefix ;;
505
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506
 
    prefix=$ac_optarg ;;
507
 
 
508
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
509
 
  | --program-pre | --program-pr | --program-p)
510
 
    ac_prev=program_prefix ;;
511
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
512
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513
 
    program_prefix=$ac_optarg ;;
514
 
 
515
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
516
 
  | --program-suf | --program-su | --program-s)
517
 
    ac_prev=program_suffix ;;
518
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
519
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520
 
    program_suffix=$ac_optarg ;;
521
 
 
522
 
  -program-transform-name | --program-transform-name \
523
 
  | --program-transform-nam | --program-transform-na \
524
 
  | --program-transform-n | --program-transform- \
525
 
  | --program-transform | --program-transfor \
526
 
  | --program-transfo | --program-transf \
527
 
  | --program-trans | --program-tran \
528
 
  | --progr-tra | --program-tr | --program-t)
529
 
    ac_prev=program_transform_name ;;
530
 
  -program-transform-name=* | --program-transform-name=* \
531
 
  | --program-transform-nam=* | --program-transform-na=* \
532
 
  | --program-transform-n=* | --program-transform-=* \
533
 
  | --program-transform=* | --program-transfor=* \
534
 
  | --program-transfo=* | --program-transf=* \
535
 
  | --program-trans=* | --program-tran=* \
536
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
537
 
    program_transform_name=$ac_optarg ;;
538
 
 
539
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540
 
  | -silent | --silent | --silen | --sile | --sil)
541
 
    silent=yes ;;
542
 
 
543
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544
 
    ac_prev=sbindir ;;
545
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546
 
  | --sbi=* | --sb=*)
547
 
    sbindir=$ac_optarg ;;
548
 
 
549
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
550
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551
 
  | --sharedst | --shareds | --shared | --share | --shar \
552
 
  | --sha | --sh)
553
 
    ac_prev=sharedstatedir ;;
554
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557
 
  | --sha=* | --sh=*)
558
 
    sharedstatedir=$ac_optarg ;;
559
 
 
560
 
  -site | --site | --sit)
561
 
    ac_prev=site ;;
562
 
  -site=* | --site=* | --sit=*)
563
 
    site=$ac_optarg ;;
564
 
 
565
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566
 
    ac_prev=srcdir ;;
567
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568
 
    srcdir=$ac_optarg ;;
569
 
 
570
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571
 
  | --syscon | --sysco | --sysc | --sys | --sy)
572
 
    ac_prev=sysconfdir ;;
573
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575
 
    sysconfdir=$ac_optarg ;;
576
 
 
577
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
578
 
    ac_prev=target_alias ;;
579
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580
 
    target_alias=$ac_optarg ;;
581
 
 
582
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
583
 
    verbose=yes ;;
584
 
 
585
 
  -version | --version | --versio | --versi | --vers | -V)
586
 
    ac_init_version=: ;;
587
 
 
588
 
  -with-* | --with-*)
589
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590
 
    # Reject names that are not valid shell variable names.
591
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
593
 
   { (exit 1); exit 1; }; }
594
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
595
 
    case $ac_option in
596
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597
 
      *) ac_optarg=yes ;;
598
 
    esac
599
 
    eval "with_$ac_package='$ac_optarg'" ;;
600
 
 
601
 
  -without-* | --without-*)
602
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603
 
    # Reject names that are not valid shell variable names.
604
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
606
 
   { (exit 1); exit 1; }; }
607
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
608
 
    eval "with_$ac_package=no" ;;
609
 
 
610
 
  --x)
611
 
    # Obsolete; use --with-x.
612
 
    with_x=yes ;;
613
 
 
614
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615
 
  | --x-incl | --x-inc | --x-in | --x-i)
616
 
    ac_prev=x_includes ;;
617
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619
 
    x_includes=$ac_optarg ;;
620
 
 
621
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
622
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623
 
    ac_prev=x_libraries ;;
624
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626
 
    x_libraries=$ac_optarg ;;
627
 
 
628
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
629
 
Try \`$0 --help' for more information." >&2
630
 
   { (exit 1); exit 1; }; }
631
 
    ;;
632
 
 
633
 
  *=*)
634
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635
 
    # Reject names that are not valid shell variable names.
636
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638
 
   { (exit 1); exit 1; }; }
639
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640
 
    eval "$ac_envvar='$ac_optarg'"
641
 
    export $ac_envvar ;;
642
 
 
643
 
  *)
644
 
    # FIXME: should be removed in autoconf 3.0.
645
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649
 
    ;;
650
 
 
651
 
  esac
652
 
done
653
 
 
654
 
if test -n "$ac_prev"; then
655
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
657
 
   { (exit 1); exit 1; }; }
658
 
fi
659
 
 
660
 
# Be sure to have absolute paths.
661
 
for ac_var in exec_prefix prefix
662
 
do
663
 
  eval ac_val=$`echo $ac_var`
664
 
  case $ac_val in
665
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667
 
   { (exit 1); exit 1; }; };;
668
 
  esac
669
 
done
670
 
 
671
 
# Be sure to have absolute paths.
672
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673
 
              localstatedir libdir includedir oldincludedir infodir mandir
674
 
do
675
 
  eval ac_val=$`echo $ac_var`
676
 
  case $ac_val in
677
 
    [\\/$]* | ?:[\\/]* ) ;;
678
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679
 
   { (exit 1); exit 1; }; };;
680
 
  esac
681
 
done
682
 
 
683
 
# There might be people who depend on the old broken behavior: `$host'
684
 
# used to hold the argument of --host etc.
685
 
# FIXME: To remove some day.
686
 
build=$build_alias
687
 
host=$host_alias
688
 
target=$target_alias
689
 
 
690
 
# FIXME: To remove some day.
691
 
if test "x$host_alias" != x; then
692
 
  if test "x$build_alias" = x; then
693
 
    cross_compiling=maybe
694
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695
 
    If a cross compiler is detected then cross compile mode will be used." >&2
696
 
  elif test "x$build_alias" != "x$host_alias"; then
697
 
    cross_compiling=yes
698
 
  fi
699
 
fi
700
 
 
701
 
ac_tool_prefix=
702
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
703
 
 
704
 
test "$silent" = yes && exec 6>/dev/null
705
 
 
706
 
 
707
 
# Find the source files, if location was not specified.
708
 
if test -z "$srcdir"; then
709
 
  ac_srcdir_defaulted=yes
710
 
  # Try the directory containing this script, then its parent.
711
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
712
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713
 
         X"$0" : 'X\(//\)[^/]' \| \
714
 
         X"$0" : 'X\(//\)$' \| \
715
 
         X"$0" : 'X\(/\)' \| \
716
 
         .     : '\(.\)' 2>/dev/null ||
717
 
echo X"$0" |
718
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720
 
          /^X\(\/\/\)$/{ s//\1/; q; }
721
 
          /^X\(\/\).*/{ s//\1/; q; }
722
 
          s/.*/./; q'`
723
 
  srcdir=$ac_confdir
724
 
  if test ! -r $srcdir/$ac_unique_file; then
725
 
    srcdir=..
726
 
  fi
727
 
else
728
 
  ac_srcdir_defaulted=no
729
 
fi
730
 
if test ! -r $srcdir/$ac_unique_file; then
731
 
  if test "$ac_srcdir_defaulted" = yes; then
732
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733
 
   { (exit 1); exit 1; }; }
734
 
  else
735
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736
 
   { (exit 1); exit 1; }; }
737
 
  fi
738
 
fi
739
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741
 
   { (exit 1); exit 1; }; }
742
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743
 
ac_env_build_alias_set=${build_alias+set}
744
 
ac_env_build_alias_value=$build_alias
745
 
ac_cv_env_build_alias_set=${build_alias+set}
746
 
ac_cv_env_build_alias_value=$build_alias
747
 
ac_env_host_alias_set=${host_alias+set}
748
 
ac_env_host_alias_value=$host_alias
749
 
ac_cv_env_host_alias_set=${host_alias+set}
750
 
ac_cv_env_host_alias_value=$host_alias
751
 
ac_env_target_alias_set=${target_alias+set}
752
 
ac_env_target_alias_value=$target_alias
753
 
ac_cv_env_target_alias_set=${target_alias+set}
754
 
ac_cv_env_target_alias_value=$target_alias
755
 
ac_env_CC_set=${CC+set}
756
 
ac_env_CC_value=$CC
757
 
ac_cv_env_CC_set=${CC+set}
758
 
ac_cv_env_CC_value=$CC
759
 
ac_env_CFLAGS_set=${CFLAGS+set}
760
 
ac_env_CFLAGS_value=$CFLAGS
761
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
762
 
ac_cv_env_CFLAGS_value=$CFLAGS
763
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
764
 
ac_env_LDFLAGS_value=$LDFLAGS
765
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
767
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768
 
ac_env_CPPFLAGS_value=$CPPFLAGS
769
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771
 
ac_env_CPP_set=${CPP+set}
772
 
ac_env_CPP_value=$CPP
773
 
ac_cv_env_CPP_set=${CPP+set}
774
 
ac_cv_env_CPP_value=$CPP
775
 
ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
776
 
ac_env_PKG_CONFIG_value=$PKG_CONFIG
777
 
ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
778
 
ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
779
 
ac_env_GNOME_CFLAGS_set=${GNOME_CFLAGS+set}
780
 
ac_env_GNOME_CFLAGS_value=$GNOME_CFLAGS
781
 
ac_cv_env_GNOME_CFLAGS_set=${GNOME_CFLAGS+set}
782
 
ac_cv_env_GNOME_CFLAGS_value=$GNOME_CFLAGS
783
 
ac_env_GNOME_LIBS_set=${GNOME_LIBS+set}
784
 
ac_env_GNOME_LIBS_value=$GNOME_LIBS
785
 
ac_cv_env_GNOME_LIBS_set=${GNOME_LIBS+set}
786
 
ac_cv_env_GNOME_LIBS_value=$GNOME_LIBS
787
 
ac_env_GDK_PIXBUF_CFLAGS_set=${GDK_PIXBUF_CFLAGS+set}
788
 
ac_env_GDK_PIXBUF_CFLAGS_value=$GDK_PIXBUF_CFLAGS
789
 
ac_cv_env_GDK_PIXBUF_CFLAGS_set=${GDK_PIXBUF_CFLAGS+set}
790
 
ac_cv_env_GDK_PIXBUF_CFLAGS_value=$GDK_PIXBUF_CFLAGS
791
 
ac_env_GDK_PIXBUF_LIBS_set=${GDK_PIXBUF_LIBS+set}
792
 
ac_env_GDK_PIXBUF_LIBS_value=$GDK_PIXBUF_LIBS
793
 
ac_cv_env_GDK_PIXBUF_LIBS_set=${GDK_PIXBUF_LIBS+set}
794
 
ac_cv_env_GDK_PIXBUF_LIBS_value=$GDK_PIXBUF_LIBS
795
 
 
796
 
#
797
 
# Report the --help message.
798
 
#
799
 
if test "$ac_init_help" = "long"; then
800
 
  # Omit some internal or obsolete options to make the list less imposing.
801
 
  # This message is too long to be a string in the A/UX 3.1 sh.
802
 
  cat <<_ACEOF
803
 
\`configure' configures link-monitor-applet 2.1 to adapt to many kinds of systems.
804
 
 
805
 
Usage: $0 [OPTION]... [VAR=VALUE]...
806
 
 
807
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
808
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
809
 
 
810
 
Defaults for the options are specified in brackets.
811
 
 
812
 
Configuration:
813
 
  -h, --help              display this help and exit
814
 
      --help=short        display options specific to this package
815
 
      --help=recursive    display the short help of all the included packages
816
 
  -V, --version           display version information and exit
817
 
  -q, --quiet, --silent   do not print \`checking...' messages
818
 
      --cache-file=FILE   cache test results in FILE [disabled]
819
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
820
 
  -n, --no-create         do not create output files
821
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
822
 
 
823
 
_ACEOF
824
 
 
825
 
  cat <<_ACEOF
826
 
Installation directories:
827
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
828
 
                          [$ac_default_prefix]
829
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
830
 
                          [PREFIX]
831
 
 
832
 
By default, \`make install' will install all the files in
833
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
834
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
835
 
for instance \`--prefix=\$HOME'.
836
 
 
837
 
For better control, use the options below.
838
 
 
839
 
Fine tuning of the installation directories:
840
 
  --bindir=DIR           user executables [EPREFIX/bin]
841
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
842
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
843
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
844
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
845
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
846
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
847
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
848
 
  --includedir=DIR       C header files [PREFIX/include]
849
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
850
 
  --infodir=DIR          info documentation [PREFIX/info]
851
 
  --mandir=DIR           man documentation [PREFIX/man]
852
 
_ACEOF
853
 
 
854
 
  cat <<\_ACEOF
855
 
 
856
 
Program names:
857
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
858
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
859
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
860
 
 
861
 
System types:
862
 
  --build=BUILD     configure for building on BUILD [guessed]
863
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
864
 
  --target=TARGET   configure for building compilers for TARGET [HOST]
865
 
_ACEOF
866
 
fi
867
 
 
868
 
if test -n "$ac_init_help"; then
869
 
  case $ac_init_help in
870
 
     short | recursive ) echo "Configuration of link-monitor-applet 2.1:";;
871
 
   esac
872
 
  cat <<\_ACEOF
873
 
 
874
 
Optional Features:
875
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
876
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
877
 
  --disable-ipv6          disable IPv6 support
878
 
  --disable-geoip         do not use GeoIP
879
 
  --enable-compile-warnings=no|yes|error
880
 
                          enable compiler warnings [no]
881
 
  --enable-debug          enable assertions and cast checks
882
 
  --enable-maintainer-mode  enable make rules and dependencies not useful
883
 
                          (and sometimes confusing) to the casual installer
884
 
  --disable-dependency-tracking  speeds up one-time build
885
 
  --enable-dependency-tracking   do not reject slow dependency extractors
886
 
  --disable-largefile     omit support for large files
887
 
  --disable-gtktest       do not try to compile and run a test GTK+ program
888
 
  --disable-schemas-install     Disable the schemas installation
889
 
 
890
 
Optional Packages:
891
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
892
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
893
 
  --with-reentrant-resolver
894
 
                          specify that the system resolver is reentrant
895
 
                          [autodetect]
896
 
  --with-gconf-source=sourceaddress      Config database for installing schema files.
897
 
  --with-gconf-schema-file-dir=dir        Directory for installing schema files.
898
 
 
899
 
Some influential environment variables:
900
 
  CC          C compiler command
901
 
  CFLAGS      C compiler flags
902
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
903
 
              nonstandard directory <lib dir>
904
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
905
 
              headers in a nonstandard directory <include dir>
906
 
  CPP         C preprocessor
907
 
  PKG_CONFIG  path to pkg-config utility
908
 
  GNOME_CFLAGS
909
 
              C compiler flags for GNOME, overriding pkg-config
910
 
  GNOME_LIBS  linker flags for GNOME, overriding pkg-config
911
 
  GDK_PIXBUF_CFLAGS
912
 
              C compiler flags for GDK_PIXBUF, overriding pkg-config
913
 
  GDK_PIXBUF_LIBS
914
 
              linker flags for GDK_PIXBUF, overriding pkg-config
915
 
 
916
 
Use these variables to override the choices made by `configure' or to help
917
 
it to find libraries and programs with nonstandard names/locations.
918
 
 
919
 
Report bugs to <jylefort@brutele.be>.
920
 
_ACEOF
921
 
fi
922
 
 
923
 
if test "$ac_init_help" = "recursive"; then
924
 
  # If there are subdirs, report their specific --help.
925
 
  ac_popdir=`pwd`
926
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
927
 
    test -d $ac_dir || continue
928
 
    ac_builddir=.
929
 
 
930
 
if test "$ac_dir" != .; then
931
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
932
 
  # A "../" for each directory in $ac_dir_suffix.
933
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
934
 
else
935
 
  ac_dir_suffix= ac_top_builddir=
936
 
fi
937
 
 
938
 
case $srcdir in
939
 
  .)  # No --srcdir option.  We are building in place.
940
 
    ac_srcdir=.
941
 
    if test -z "$ac_top_builddir"; then
942
 
       ac_top_srcdir=.
943
 
    else
944
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
945
 
    fi ;;
946
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
947
 
    ac_srcdir=$srcdir$ac_dir_suffix;
948
 
    ac_top_srcdir=$srcdir ;;
949
 
  *) # Relative path.
950
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
951
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
952
 
esac
953
 
 
954
 
# Do not use `cd foo && pwd` to compute absolute paths, because
955
 
# the directories may not exist.
956
 
case `pwd` in
957
 
.) ac_abs_builddir="$ac_dir";;
958
 
*)
959
 
  case "$ac_dir" in
960
 
  .) ac_abs_builddir=`pwd`;;
961
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
962
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
963
 
  esac;;
964
 
esac
965
 
case $ac_abs_builddir in
966
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
967
 
*)
968
 
  case ${ac_top_builddir}. in
969
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
970
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
971
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
972
 
  esac;;
973
 
esac
974
 
case $ac_abs_builddir in
975
 
.) ac_abs_srcdir=$ac_srcdir;;
976
 
*)
977
 
  case $ac_srcdir in
978
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
979
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
980
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
981
 
  esac;;
982
 
esac
983
 
case $ac_abs_builddir in
984
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
985
 
*)
986
 
  case $ac_top_srcdir in
987
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
988
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
989
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
990
 
  esac;;
991
 
esac
992
 
 
993
 
    cd $ac_dir
994
 
    # Check for guested configure; otherwise get Cygnus style configure.
995
 
    if test -f $ac_srcdir/configure.gnu; then
996
 
      echo
997
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
998
 
    elif test -f $ac_srcdir/configure; then
999
 
      echo
1000
 
      $SHELL $ac_srcdir/configure  --help=recursive
1001
 
    elif test -f $ac_srcdir/configure.ac ||
1002
 
           test -f $ac_srcdir/configure.in; then
1003
 
      echo
1004
 
      $ac_configure --help
1005
 
    else
1006
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1007
 
    fi
1008
 
    cd $ac_popdir
1009
 
  done
1010
 
fi
1011
 
 
1012
 
test -n "$ac_init_help" && exit 0
1013
 
if $ac_init_version; then
1014
 
  cat <<\_ACEOF
1015
 
link-monitor-applet configure 2.1
1016
 
generated by GNU Autoconf 2.59
1017
 
 
1018
 
Copyright (C) 2003 Free Software Foundation, Inc.
1019
 
This configure script is free software; the Free Software Foundation
1020
 
gives unlimited permission to copy, distribute and modify it.
1021
 
_ACEOF
1022
 
  exit 0
1023
 
fi
1024
 
exec 5>config.log
1025
 
cat >&5 <<_ACEOF
1026
 
This file contains any messages produced by compilers while
1027
 
running configure, to aid debugging if configure makes a mistake.
1028
 
 
1029
 
It was created by link-monitor-applet $as_me 2.1, which was
1030
 
generated by GNU Autoconf 2.59.  Invocation command line was
1031
 
 
1032
 
  $ $0 $@
1033
 
 
1034
 
_ACEOF
1035
 
{
1036
 
cat <<_ASUNAME
1037
 
## --------- ##
1038
 
## Platform. ##
1039
 
## --------- ##
1040
 
 
1041
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1042
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1043
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1044
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1045
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1046
 
 
1047
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1048
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1049
 
 
1050
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1051
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1052
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1053
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1054
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1055
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1056
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1057
 
 
1058
 
_ASUNAME
1059
 
 
1060
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1061
 
for as_dir in $PATH
1062
 
do
1063
 
  IFS=$as_save_IFS
1064
 
  test -z "$as_dir" && as_dir=.
1065
 
  echo "PATH: $as_dir"
1066
 
done
1067
 
 
1068
 
} >&5
1069
 
 
1070
 
cat >&5 <<_ACEOF
1071
 
 
1072
 
 
1073
 
## ----------- ##
1074
 
## Core tests. ##
1075
 
## ----------- ##
1076
 
 
1077
 
_ACEOF
1078
 
 
1079
 
 
1080
 
# Keep a trace of the command line.
1081
 
# Strip out --no-create and --no-recursion so they do not pile up.
1082
 
# Strip out --silent because we don't want to record it for future runs.
1083
 
# Also quote any args containing shell meta-characters.
1084
 
# Make two passes to allow for proper duplicate-argument suppression.
1085
 
ac_configure_args=
1086
 
ac_configure_args0=
1087
 
ac_configure_args1=
1088
 
ac_sep=
1089
 
ac_must_keep_next=false
1090
 
for ac_pass in 1 2
1091
 
do
1092
 
  for ac_arg
1093
 
  do
1094
 
    case $ac_arg in
1095
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1096
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1097
 
    | -silent | --silent | --silen | --sile | --sil)
1098
 
      continue ;;
1099
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1100
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1101
 
    esac
1102
 
    case $ac_pass in
1103
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1104
 
    2)
1105
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1106
 
      if test $ac_must_keep_next = true; then
1107
 
        ac_must_keep_next=false # Got value, back to normal.
1108
 
      else
1109
 
        case $ac_arg in
1110
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1111
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1112
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1113
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1114
 
            case "$ac_configure_args0 " in
1115
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1116
 
            esac
1117
 
            ;;
1118
 
          -* ) ac_must_keep_next=true ;;
1119
 
        esac
1120
 
      fi
1121
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1122
 
      # Get rid of the leading space.
1123
 
      ac_sep=" "
1124
 
      ;;
1125
 
    esac
1126
 
  done
1127
 
done
1128
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1129
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1130
 
 
1131
 
# When interrupted or exit'd, cleanup temporary files, and complete
1132
 
# config.log.  We remove comments because anyway the quotes in there
1133
 
# would cause problems or look ugly.
1134
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1135
 
# such as our DU 5.0 friend, will then `close' the trap.
1136
 
trap 'exit_status=$?
1137
 
  # Save into config.log some information that might help in debugging.
1138
 
  {
1139
 
    echo
1140
 
 
1141
 
    cat <<\_ASBOX
1142
 
## ---------------- ##
1143
 
## Cache variables. ##
1144
 
## ---------------- ##
1145
 
_ASBOX
1146
 
    echo
1147
 
    # The following way of writing the cache mishandles newlines in values,
1148
 
{
1149
 
  (set) 2>&1 |
1150
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1151
 
    *ac_space=\ *)
1152
 
      sed -n \
1153
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1154
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1155
 
      ;;
1156
 
    *)
1157
 
      sed -n \
1158
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1159
 
      ;;
1160
 
    esac;
1161
 
}
1162
 
    echo
1163
 
 
1164
 
    cat <<\_ASBOX
1165
 
## ----------------- ##
1166
 
## Output variables. ##
1167
 
## ----------------- ##
1168
 
_ASBOX
1169
 
    echo
1170
 
    for ac_var in $ac_subst_vars
1171
 
    do
1172
 
      eval ac_val=$`echo $ac_var`
1173
 
      echo "$ac_var='"'"'$ac_val'"'"'"
1174
 
    done | sort
1175
 
    echo
1176
 
 
1177
 
    if test -n "$ac_subst_files"; then
1178
 
      cat <<\_ASBOX
1179
 
## ------------- ##
1180
 
## Output files. ##
1181
 
## ------------- ##
1182
 
_ASBOX
1183
 
      echo
1184
 
      for ac_var in $ac_subst_files
1185
 
      do
1186
 
        eval ac_val=$`echo $ac_var`
1187
 
        echo "$ac_var='"'"'$ac_val'"'"'"
1188
 
      done | sort
1189
 
      echo
1190
 
    fi
1191
 
 
1192
 
    if test -s confdefs.h; then
1193
 
      cat <<\_ASBOX
1194
 
## ----------- ##
1195
 
## confdefs.h. ##
1196
 
## ----------- ##
1197
 
_ASBOX
1198
 
      echo
1199
 
      sed "/^$/d" confdefs.h | sort
1200
 
      echo
1201
 
    fi
1202
 
    test "$ac_signal" != 0 &&
1203
 
      echo "$as_me: caught signal $ac_signal"
1204
 
    echo "$as_me: exit $exit_status"
1205
 
  } >&5
1206
 
  rm -f core *.core &&
1207
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1208
 
    exit $exit_status
1209
 
     ' 0
1210
 
for ac_signal in 1 2 13 15; do
1211
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1212
 
done
1213
 
ac_signal=0
1214
 
 
1215
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1216
 
rm -rf conftest* confdefs.h
1217
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1218
 
echo >confdefs.h
1219
 
 
1220
 
# Predefined preprocessor variables.
1221
 
 
1222
 
cat >>confdefs.h <<_ACEOF
1223
 
#define PACKAGE_NAME "$PACKAGE_NAME"
1224
 
_ACEOF
1225
 
 
1226
 
 
1227
 
cat >>confdefs.h <<_ACEOF
1228
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1229
 
_ACEOF
1230
 
 
1231
 
 
1232
 
cat >>confdefs.h <<_ACEOF
1233
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1234
 
_ACEOF
1235
 
 
1236
 
 
1237
 
cat >>confdefs.h <<_ACEOF
1238
 
#define PACKAGE_STRING "$PACKAGE_STRING"
1239
 
_ACEOF
1240
 
 
1241
 
 
1242
 
cat >>confdefs.h <<_ACEOF
1243
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1244
 
_ACEOF
1245
 
 
1246
 
 
1247
 
# Let the site file select an alternate cache file if it wants to.
1248
 
# Prefer explicitly selected file to automatically selected ones.
1249
 
if test -z "$CONFIG_SITE"; then
1250
 
  if test "x$prefix" != xNONE; then
1251
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1252
 
  else
1253
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1254
 
  fi
1255
 
fi
1256
 
for ac_site_file in $CONFIG_SITE; do
1257
 
  if test -r "$ac_site_file"; then
1258
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1259
 
echo "$as_me: loading site script $ac_site_file" >&6;}
1260
 
    sed 's/^/| /' "$ac_site_file" >&5
1261
 
    . "$ac_site_file"
1262
 
  fi
1263
 
done
1264
 
 
1265
 
if test -r "$cache_file"; then
1266
 
  # Some versions of bash will fail to source /dev/null (special
1267
 
  # files actually), so we avoid doing that.
1268
 
  if test -f "$cache_file"; then
1269
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1270
 
echo "$as_me: loading cache $cache_file" >&6;}
1271
 
    case $cache_file in
1272
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1273
 
      *)                      . ./$cache_file;;
1274
 
    esac
1275
 
  fi
1276
 
else
1277
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1278
 
echo "$as_me: creating cache $cache_file" >&6;}
1279
 
  >$cache_file
1280
 
fi
1281
 
 
1282
 
# Check that the precious variables saved in the cache have kept the same
1283
 
# value.
1284
 
ac_cache_corrupted=false
1285
 
for ac_var in `(set) 2>&1 |
1286
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1287
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1288
 
  eval ac_new_set=\$ac_env_${ac_var}_set
1289
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1290
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
1291
 
  case $ac_old_set,$ac_new_set in
1292
 
    set,)
1293
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1294
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1295
 
      ac_cache_corrupted=: ;;
1296
 
    ,set)
1297
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1298
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1299
 
      ac_cache_corrupted=: ;;
1300
 
    ,);;
1301
 
    *)
1302
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
1303
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1304
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1305
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1306
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1307
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1308
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1309
 
        ac_cache_corrupted=:
1310
 
      fi;;
1311
 
  esac
1312
 
  # Pass precious variables to config.status.
1313
 
  if test "$ac_new_set" = set; then
1314
 
    case $ac_new_val in
1315
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1316
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1317
 
    *) ac_arg=$ac_var=$ac_new_val ;;
1318
 
    esac
1319
 
    case " $ac_configure_args " in
1320
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1321
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1322
 
    esac
1323
 
  fi
1324
 
done
1325
 
if $ac_cache_corrupted; then
1326
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1327
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1328
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1329
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1330
 
   { (exit 1); exit 1; }; }
1331
 
fi
1332
 
 
1333
 
ac_ext=c
1334
 
ac_cpp='$CPP $CPPFLAGS'
1335
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1336
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1337
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1338
 
 
1339
 
 
1340
 
 
1341
 
 
1342
 
 
1343
 
 
1344
 
 
1345
 
 
1346
 
 
1347
 
 
1348
 
 
1349
 
 
1350
 
 
1351
 
 
1352
 
 
1353
 
 
1354
 
 
1355
 
 
1356
 
 
1357
 
 
1358
 
 
1359
 
 
1360
 
 
1361
 
 
1362
 
 
1363
 
 
1364
 
 
1365
 
 
1366
 
 
1367
 
 
1368
 
 
1369
 
# by default, install in the same prefix as GNOME
1370
 
if test "x$prefix" = xNONE; then
1371
 
  echo $ECHO_N "checking for prefix by $ECHO_C" >&6
1372
 
  # Extract the first word of "gnome-open", so it can be a program name with args.
1373
 
set dummy gnome-open; ac_word=$2
1374
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1375
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1376
 
if test "${ac_cv_path_ac_prefix_program+set}" = set; then
1377
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1378
 
else
1379
 
  case $ac_prefix_program in
1380
 
  [\\/]* | ?:[\\/]*)
1381
 
  ac_cv_path_ac_prefix_program="$ac_prefix_program" # Let the user override the test with a path.
1382
 
  ;;
1383
 
  *)
1384
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1385
 
for as_dir in $PATH
1386
 
do
1387
 
  IFS=$as_save_IFS
1388
 
  test -z "$as_dir" && as_dir=.
1389
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1390
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1391
 
    ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
1392
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1393
 
    break 2
1394
 
  fi
1395
 
done
1396
 
done
1397
 
 
1398
 
  ;;
1399
 
esac
1400
 
fi
1401
 
ac_prefix_program=$ac_cv_path_ac_prefix_program
1402
 
 
1403
 
if test -n "$ac_prefix_program"; then
1404
 
  echo "$as_me:$LINENO: result: $ac_prefix_program" >&5
1405
 
echo "${ECHO_T}$ac_prefix_program" >&6
1406
 
else
1407
 
  echo "$as_me:$LINENO: result: no" >&5
1408
 
echo "${ECHO_T}no" >&6
1409
 
fi
1410
 
 
1411
 
  if test -n "$ac_prefix_program"; then
1412
 
    prefix=`(dirname "$ac_prefix_program") 2>/dev/null ||
1413
 
$as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1414
 
         X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
1415
 
         X"$ac_prefix_program" : 'X\(//\)$' \| \
1416
 
         X"$ac_prefix_program" : 'X\(/\)' \| \
1417
 
         .     : '\(.\)' 2>/dev/null ||
1418
 
echo X"$ac_prefix_program" |
1419
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1420
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1421
 
          /^X\(\/\/\)$/{ s//\1/; q; }
1422
 
          /^X\(\/\).*/{ s//\1/; q; }
1423
 
          s/.*/./; q'`
1424
 
    prefix=`(dirname "$prefix") 2>/dev/null ||
1425
 
$as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1426
 
         X"$prefix" : 'X\(//\)[^/]' \| \
1427
 
         X"$prefix" : 'X\(//\)$' \| \
1428
 
         X"$prefix" : 'X\(/\)' \| \
1429
 
         .     : '\(.\)' 2>/dev/null ||
1430
 
echo X"$prefix" |
1431
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1432
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1433
 
          /^X\(\/\/\)$/{ s//\1/; q; }
1434
 
          /^X\(\/\).*/{ s//\1/; q; }
1435
 
          s/.*/./; q'`
1436
 
  fi
1437
 
fi
1438
 
 
1439
 
 
1440
 
### command line arguments
1441
 
 
1442
 
# Check whether --enable-ipv6 or --disable-ipv6 was given.
1443
 
if test "${enable_ipv6+set}" = set; then
1444
 
  enableval="$enable_ipv6"
1445
 
  case "$enableval" in
1446
 
        yes|no) enable_ipv6=$enableval ;;
1447
 
        *) { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-ipv6" >&5
1448
 
echo "$as_me: error: bad value $enableval for --enable-ipv6" >&2;}
1449
 
   { (exit 1); exit 1; }; } ;;
1450
 
esac
1451
 
else
1452
 
  enable_ipv6=yes
1453
 
fi;
1454
 
# Check whether --enable-geoip or --disable-geoip was given.
1455
 
if test "${enable_geoip+set}" = set; then
1456
 
  enableval="$enable_geoip"
1457
 
  case "$enableval" in
1458
 
        yes|no) enable_geoip=$enableval ;;
1459
 
        *) { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-geoip" >&5
1460
 
echo "$as_me: error: bad value $enableval for --enable-geoip" >&2;}
1461
 
   { (exit 1); exit 1; }; } ;;
1462
 
esac
1463
 
else
1464
 
  enable_geoip=yes
1465
 
fi;
1466
 
 
1467
 
# Check whether --enable-compile-warnings or --disable-compile-warnings was given.
1468
 
if test "${enable_compile_warnings+set}" = set; then
1469
 
  enableval="$enable_compile_warnings"
1470
 
  case "$enableval" in
1471
 
        yes|no|error) enable_compile_warnings=$enableval ;;
1472
 
        *) { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-compile-warnings" >&5
1473
 
echo "$as_me: error: bad value $enableval for --enable-compile-warnings" >&2;}
1474
 
   { (exit 1); exit 1; }; } ;;
1475
 
esac
1476
 
else
1477
 
  enable_compile_warnings=no
1478
 
fi;
1479
 
 
1480
 
if test $enable_compile_warnings = no; then
1481
 
        WARN_CFLAGS=
1482
 
else
1483
 
        # most flags are specific to GCC
1484
 
        WARN_CFLAGS="-Wall \
1485
 
-Wformat-y2k \
1486
 
-Wformat-security \
1487
 
-Wno-unused-parameter \
1488
 
-Wfloat-equal \
1489
 
-Wdeclaration-after-statement \
1490
 
-Wendif-labels \
1491
 
-Wpointer-arith \
1492
 
-Wcast-align \
1493
 
-Waggregate-return \
1494
 
-Wmissing-noreturn \
1495
 
-Wmissing-format-attribute \
1496
 
-Wpacked \
1497
 
-Wredundant-decls \
1498
 
-Wnested-externs \
1499
 
-Winline"
1500
 
        test $enable_compile_warnings = error && WARN_CFLAGS="$WARN_CFLAGS -Werror"
1501
 
fi
1502
 
 
1503
 
 
1504
 
# Check whether --enable-debug or --disable-debug was given.
1505
 
if test "${enable_debug+set}" = set; then
1506
 
  enableval="$enable_debug"
1507
 
  case "$enableval" in
1508
 
        yes|no) enable_debug=$enableval ;;
1509
 
        *) { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-debug" >&5
1510
 
echo "$as_me: error: bad value $enableval for --enable-debug" >&2;}
1511
 
   { (exit 1); exit 1; }; } ;;
1512
 
esac
1513
 
else
1514
 
  enable_debug=no
1515
 
fi;
1516
 
 
1517
 
if test $enable_debug = no; then
1518
 
        DEBUG_CFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS"
1519
 
else
1520
 
        DEBUG_CFLAGS=
1521
 
fi
1522
 
 
1523
 
 
1524
 
 
1525
 
### initialization
1526
 
 
1527
 
# needed by AC_REENTRANT_RESOLVER
1528
 
ac_aux_dir=
1529
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1530
 
  if test -f $ac_dir/install-sh; then
1531
 
    ac_aux_dir=$ac_dir
1532
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
1533
 
    break
1534
 
  elif test -f $ac_dir/install.sh; then
1535
 
    ac_aux_dir=$ac_dir
1536
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
1537
 
    break
1538
 
  elif test -f $ac_dir/shtool; then
1539
 
    ac_aux_dir=$ac_dir
1540
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
1541
 
    break
1542
 
  fi
1543
 
done
1544
 
if test -z "$ac_aux_dir"; then
1545
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1546
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1547
 
   { (exit 1); exit 1; }; }
1548
 
fi
1549
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1550
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1551
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1552
 
 
1553
 
# Make sure we can run config.sub.
1554
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
1555
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1556
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1557
 
   { (exit 1); exit 1; }; }
1558
 
 
1559
 
echo "$as_me:$LINENO: checking build system type" >&5
1560
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
1561
 
if test "${ac_cv_build+set}" = set; then
1562
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1563
 
else
1564
 
  ac_cv_build_alias=$build_alias
1565
 
test -z "$ac_cv_build_alias" &&
1566
 
  ac_cv_build_alias=`$ac_config_guess`
1567
 
test -z "$ac_cv_build_alias" &&
1568
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1569
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1570
 
   { (exit 1); exit 1; }; }
1571
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1572
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1573
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1574
 
   { (exit 1); exit 1; }; }
1575
 
 
1576
 
fi
1577
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1578
 
echo "${ECHO_T}$ac_cv_build" >&6
1579
 
build=$ac_cv_build
1580
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1581
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1582
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1583
 
 
1584
 
 
1585
 
echo "$as_me:$LINENO: checking host system type" >&5
1586
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
1587
 
if test "${ac_cv_host+set}" = set; then
1588
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1589
 
else
1590
 
  ac_cv_host_alias=$host_alias
1591
 
test -z "$ac_cv_host_alias" &&
1592
 
  ac_cv_host_alias=$ac_cv_build_alias
1593
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1594
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1595
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1596
 
   { (exit 1); exit 1; }; }
1597
 
 
1598
 
fi
1599
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1600
 
echo "${ECHO_T}$ac_cv_host" >&6
1601
 
host=$ac_cv_host
1602
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1603
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1604
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1605
 
 
1606
 
 
1607
 
echo "$as_me:$LINENO: checking target system type" >&5
1608
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6
1609
 
if test "${ac_cv_target+set}" = set; then
1610
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1611
 
else
1612
 
  ac_cv_target_alias=$target_alias
1613
 
test "x$ac_cv_target_alias" = "x" &&
1614
 
  ac_cv_target_alias=$ac_cv_host_alias
1615
 
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1616
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1617
 
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1618
 
   { (exit 1); exit 1; }; }
1619
 
 
1620
 
fi
1621
 
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1622
 
echo "${ECHO_T}$ac_cv_target" >&6
1623
 
target=$ac_cv_target
1624
 
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1625
 
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1626
 
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1627
 
 
1628
 
 
1629
 
# The aliases save the names the user supplied, while $host etc.
1630
 
# will get canonicalized.
1631
 
test -n "$target_alias" &&
1632
 
  test "$program_prefix$program_suffix$program_transform_name" = \
1633
 
    NONENONEs,x,x, &&
1634
 
  program_prefix=${target_alias}-
1635
 
 
1636
 
am__api_version="1.9"
1637
 
# Find a good install program.  We prefer a C program (faster),
1638
 
# so one script is as good as another.  But avoid the broken or
1639
 
# incompatible versions:
1640
 
# SysV /etc/install, /usr/sbin/install
1641
 
# SunOS /usr/etc/install
1642
 
# IRIX /sbin/install
1643
 
# AIX /bin/install
1644
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
1645
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1646
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1647
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1648
 
# OS/2's system install, which has a completely different semantic
1649
 
# ./install, which can be erroneously created by make from ./install.sh.
1650
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1651
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1652
 
if test -z "$INSTALL"; then
1653
 
if test "${ac_cv_path_install+set}" = set; then
1654
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1655
 
else
1656
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1657
 
for as_dir in $PATH
1658
 
do
1659
 
  IFS=$as_save_IFS
1660
 
  test -z "$as_dir" && as_dir=.
1661
 
  # Account for people who put trailing slashes in PATH elements.
1662
 
case $as_dir/ in
1663
 
  ./ | .// | /cC/* | \
1664
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1665
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1666
 
  /usr/ucb/* ) ;;
1667
 
  *)
1668
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
1669
 
    # Don't use installbsd from OSF since it installs stuff as root
1670
 
    # by default.
1671
 
    for ac_prog in ginstall scoinst install; do
1672
 
      for ac_exec_ext in '' $ac_executable_extensions; do
1673
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1674
 
          if test $ac_prog = install &&
1675
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1676
 
            # AIX install.  It has an incompatible calling convention.
1677
 
            :
1678
 
          elif test $ac_prog = install &&
1679
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1680
 
            # program-specific install script used by HP pwplus--don't use.
1681
 
            :
1682
 
          else
1683
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1684
 
            break 3
1685
 
          fi
1686
 
        fi
1687
 
      done
1688
 
    done
1689
 
    ;;
1690
 
esac
1691
 
done
1692
 
 
1693
 
 
1694
 
fi
1695
 
  if test "${ac_cv_path_install+set}" = set; then
1696
 
    INSTALL=$ac_cv_path_install
1697
 
  else
1698
 
    # As a last resort, use the slow shell script.  We don't cache a
1699
 
    # path for INSTALL within a source directory, because that will
1700
 
    # break other packages using the cache if that directory is
1701
 
    # removed, or if the path is relative.
1702
 
    INSTALL=$ac_install_sh
1703
 
  fi
1704
 
fi
1705
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1706
 
echo "${ECHO_T}$INSTALL" >&6
1707
 
 
1708
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1709
 
# It thinks the first close brace ends the variable substitution.
1710
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1711
 
 
1712
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1713
 
 
1714
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1715
 
 
1716
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1717
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1718
 
# Just in case
1719
 
sleep 1
1720
 
echo timestamp > conftest.file
1721
 
# Do `set' in a subshell so we don't clobber the current shell's
1722
 
# arguments.  Must try -L first in case configure is actually a
1723
 
# symlink; some systems play weird games with the mod time of symlinks
1724
 
# (eg FreeBSD returns the mod time of the symlink's containing
1725
 
# directory).
1726
 
if (
1727
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1728
 
   if test "$*" = "X"; then
1729
 
      # -L didn't work.
1730
 
      set X `ls -t $srcdir/configure conftest.file`
1731
 
   fi
1732
 
   rm -f conftest.file
1733
 
   if test "$*" != "X $srcdir/configure conftest.file" \
1734
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
1735
 
 
1736
 
      # If neither matched, then we have a broken ls.  This can happen
1737
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1738
 
      # broken ls alias from the environment.  This has actually
1739
 
      # happened.  Such a system could not be considered "sane".
1740
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1741
 
alias in your environment" >&5
1742
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1743
 
alias in your environment" >&2;}
1744
 
   { (exit 1); exit 1; }; }
1745
 
   fi
1746
 
 
1747
 
   test "$2" = conftest.file
1748
 
   )
1749
 
then
1750
 
   # Ok.
1751
 
   :
1752
 
else
1753
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1754
 
Check your system clock" >&5
1755
 
echo "$as_me: error: newly created file is older than distributed files!
1756
 
Check your system clock" >&2;}
1757
 
   { (exit 1); exit 1; }; }
1758
 
fi
1759
 
echo "$as_me:$LINENO: result: yes" >&5
1760
 
echo "${ECHO_T}yes" >&6
1761
 
test "$program_prefix" != NONE &&
1762
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1763
 
# Use a double $ so make ignores it.
1764
 
test "$program_suffix" != NONE &&
1765
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1766
 
# Double any \ or $.  echo might interpret backslashes.
1767
 
# By default was `s,x,x', remove it if useless.
1768
 
cat <<\_ACEOF >conftest.sed
1769
 
s/[\\$]/&&/g;s/;s,x,x,$//
1770
 
_ACEOF
1771
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1772
 
rm conftest.sed
1773
 
 
1774
 
# expand $ac_aux_dir to an absolute path
1775
 
am_aux_dir=`cd $ac_aux_dir && pwd`
1776
 
 
1777
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1778
 
# Use eval to expand $SHELL
1779
 
if eval "$MISSING --run true"; then
1780
 
  am_missing_run="$MISSING --run "
1781
 
else
1782
 
  am_missing_run=
1783
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1784
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1785
 
fi
1786
 
 
1787
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1788
 
  # We used to keeping the `.' as first argument, in order to
1789
 
  # allow $(mkdir_p) to be used without argument.  As in
1790
 
  #   $(mkdir_p) $(somedir)
1791
 
  # where $(somedir) is conditionally defined.  However this is wrong
1792
 
  # for two reasons:
1793
 
  #  1. if the package is installed by a user who cannot write `.'
1794
 
  #     make install will fail,
1795
 
  #  2. the above comment should most certainly read
1796
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
1797
 
  #     so it does not work when $(somedir) is undefined and
1798
 
  #     $(DESTDIR) is not.
1799
 
  #  To support the latter case, we have to write
1800
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1801
 
  #  so the `.' trick is pointless.
1802
 
  mkdir_p='mkdir -p --'
1803
 
else
1804
 
  # On NextStep and OpenStep, the `mkdir' command does not
1805
 
  # recognize any option.  It will interpret all options as
1806
 
  # directories to create, and then abort because `.' already
1807
 
  # exists.
1808
 
  for d in ./-p ./--version;
1809
 
  do
1810
 
    test -d $d && rmdir $d
1811
 
  done
1812
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1813
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
1814
 
    mkdir_p='$(mkinstalldirs)'
1815
 
  else
1816
 
    mkdir_p='$(install_sh) -d'
1817
 
  fi
1818
 
fi
1819
 
 
1820
 
for ac_prog in gawk mawk nawk awk
1821
 
do
1822
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1823
 
set dummy $ac_prog; ac_word=$2
1824
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1825
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1826
 
if test "${ac_cv_prog_AWK+set}" = set; then
1827
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1828
 
else
1829
 
  if test -n "$AWK"; then
1830
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1831
 
else
1832
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1833
 
for as_dir in $PATH
1834
 
do
1835
 
  IFS=$as_save_IFS
1836
 
  test -z "$as_dir" && as_dir=.
1837
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1838
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1839
 
    ac_cv_prog_AWK="$ac_prog"
1840
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1841
 
    break 2
1842
 
  fi
1843
 
done
1844
 
done
1845
 
 
1846
 
fi
1847
 
fi
1848
 
AWK=$ac_cv_prog_AWK
1849
 
if test -n "$AWK"; then
1850
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1851
 
echo "${ECHO_T}$AWK" >&6
1852
 
else
1853
 
  echo "$as_me:$LINENO: result: no" >&5
1854
 
echo "${ECHO_T}no" >&6
1855
 
fi
1856
 
 
1857
 
  test -n "$AWK" && break
1858
 
done
1859
 
 
1860
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1861
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1862
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1863
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1864
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1865
 
else
1866
 
  cat >conftest.make <<\_ACEOF
1867
 
all:
1868
 
        @echo 'ac_maketemp="$(MAKE)"'
1869
 
_ACEOF
1870
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1871
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1872
 
if test -n "$ac_maketemp"; then
1873
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1874
 
else
1875
 
  eval ac_cv_prog_make_${ac_make}_set=no
1876
 
fi
1877
 
rm -f conftest.make
1878
 
fi
1879
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1880
 
  echo "$as_me:$LINENO: result: yes" >&5
1881
 
echo "${ECHO_T}yes" >&6
1882
 
  SET_MAKE=
1883
 
else
1884
 
  echo "$as_me:$LINENO: result: no" >&5
1885
 
echo "${ECHO_T}no" >&6
1886
 
  SET_MAKE="MAKE=${MAKE-make}"
1887
 
fi
1888
 
 
1889
 
rm -rf .tst 2>/dev/null
1890
 
mkdir .tst 2>/dev/null
1891
 
if test -d .tst; then
1892
 
  am__leading_dot=.
1893
 
else
1894
 
  am__leading_dot=_
1895
 
fi
1896
 
rmdir .tst 2>/dev/null
1897
 
 
1898
 
# test to see if srcdir already configured
1899
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1900
 
   test -f $srcdir/config.status; then
1901
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1902
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1903
 
   { (exit 1); exit 1; }; }
1904
 
fi
1905
 
 
1906
 
# test whether we have cygpath
1907
 
if test -z "$CYGPATH_W"; then
1908
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
1909
 
    CYGPATH_W='cygpath -w'
1910
 
  else
1911
 
    CYGPATH_W=echo
1912
 
  fi
1913
 
fi
1914
 
 
1915
 
 
1916
 
# Define the identity of the package.
1917
 
 PACKAGE='link-monitor-applet'
1918
 
 VERSION='2.1'
1919
 
 
1920
 
 
1921
 
cat >>confdefs.h <<_ACEOF
1922
 
#define PACKAGE "$PACKAGE"
1923
 
_ACEOF
1924
 
 
1925
 
 
1926
 
cat >>confdefs.h <<_ACEOF
1927
 
#define VERSION "$VERSION"
1928
 
_ACEOF
1929
 
 
1930
 
# Some tools Automake needs.
1931
 
 
1932
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1933
 
 
1934
 
 
1935
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1936
 
 
1937
 
 
1938
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1939
 
 
1940
 
 
1941
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1942
 
 
1943
 
 
1944
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1945
 
 
1946
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1947
 
 
1948
 
# Installed binaries are usually stripped using `strip' when the user
1949
 
# run `make install-strip'.  However `strip' might not be the right
1950
 
# tool to use in cross-compilation environments, therefore Automake
1951
 
# will honor the `STRIP' environment variable to overrule this program.
1952
 
if test "$cross_compiling" != no; then
1953
 
  if test -n "$ac_tool_prefix"; then
1954
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1955
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
1956
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1957
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1958
 
if test "${ac_cv_prog_STRIP+set}" = set; then
1959
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1960
 
else
1961
 
  if test -n "$STRIP"; then
1962
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1963
 
else
1964
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1965
 
for as_dir in $PATH
1966
 
do
1967
 
  IFS=$as_save_IFS
1968
 
  test -z "$as_dir" && as_dir=.
1969
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1970
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1971
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1972
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1973
 
    break 2
1974
 
  fi
1975
 
done
1976
 
done
1977
 
 
1978
 
fi
1979
 
fi
1980
 
STRIP=$ac_cv_prog_STRIP
1981
 
if test -n "$STRIP"; then
1982
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1983
 
echo "${ECHO_T}$STRIP" >&6
1984
 
else
1985
 
  echo "$as_me:$LINENO: result: no" >&5
1986
 
echo "${ECHO_T}no" >&6
1987
 
fi
1988
 
 
1989
 
fi
1990
 
if test -z "$ac_cv_prog_STRIP"; then
1991
 
  ac_ct_STRIP=$STRIP
1992
 
  # Extract the first word of "strip", so it can be a program name with args.
1993
 
set dummy strip; ac_word=$2
1994
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1995
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1996
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1997
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1998
 
else
1999
 
  if test -n "$ac_ct_STRIP"; then
2000
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2001
 
else
2002
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2003
 
for as_dir in $PATH
2004
 
do
2005
 
  IFS=$as_save_IFS
2006
 
  test -z "$as_dir" && as_dir=.
2007
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2008
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2009
 
    ac_cv_prog_ac_ct_STRIP="strip"
2010
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2011
 
    break 2
2012
 
  fi
2013
 
done
2014
 
done
2015
 
 
2016
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2017
 
fi
2018
 
fi
2019
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2020
 
if test -n "$ac_ct_STRIP"; then
2021
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2022
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
2023
 
else
2024
 
  echo "$as_me:$LINENO: result: no" >&5
2025
 
echo "${ECHO_T}no" >&6
2026
 
fi
2027
 
 
2028
 
  STRIP=$ac_ct_STRIP
2029
 
else
2030
 
  STRIP="$ac_cv_prog_STRIP"
2031
 
fi
2032
 
 
2033
 
fi
2034
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2035
 
 
2036
 
# We need awk for the "check" target.  The system "awk" is bad on
2037
 
# some platforms.
2038
 
# Always define AMTAR for backward compatibility.
2039
 
 
2040
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2041
 
 
2042
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2043
 
 
2044
 
 
2045
 
 
2046
 
 
2047
 
 
2048
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2049
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2050
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2051
 
if test "${enable_maintainer_mode+set}" = set; then
2052
 
  enableval="$enable_maintainer_mode"
2053
 
  USE_MAINTAINER_MODE=$enableval
2054
 
else
2055
 
  USE_MAINTAINER_MODE=no
2056
 
fi;
2057
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2058
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2059
 
 
2060
 
 
2061
 
if test $USE_MAINTAINER_MODE = yes; then
2062
 
  MAINTAINER_MODE_TRUE=
2063
 
  MAINTAINER_MODE_FALSE='#'
2064
 
else
2065
 
  MAINTAINER_MODE_TRUE='#'
2066
 
  MAINTAINER_MODE_FALSE=
2067
 
fi
2068
 
 
2069
 
  MAINT=$MAINTAINER_MODE_TRUE
2070
 
 
2071
 
 
2072
 
          ac_config_headers="$ac_config_headers config.h"
2073
 
 
2074
 
 
2075
 
### i18n
2076
 
 
2077
 
GETTEXT_PACKAGE=link-monitor-applet
2078
 
 
2079
 
cat >>confdefs.h <<_ACEOF
2080
 
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
2081
 
_ACEOF
2082
 
 
2083
 
 
2084
 
 
2085
 
ALL_LINGUAS="fr"
2086
 
DEPDIR="${am__leading_dot}deps"
2087
 
 
2088
 
          ac_config_commands="$ac_config_commands depfiles"
2089
 
 
2090
 
 
2091
 
am_make=${MAKE-make}
2092
 
cat > confinc << 'END'
2093
 
am__doit:
2094
 
        @echo done
2095
 
.PHONY: am__doit
2096
 
END
2097
 
# If we don't find an include directive, just comment out the code.
2098
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2099
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2100
 
am__include="#"
2101
 
am__quote=
2102
 
_am_result=none
2103
 
# First try GNU make style include.
2104
 
echo "include confinc" > confmf
2105
 
# We grep out `Entering directory' and `Leaving directory'
2106
 
# messages which can occur if `w' ends up in MAKEFLAGS.
2107
 
# In particular we don't look at `^make:' because GNU make might
2108
 
# be invoked under some other name (usually "gmake"), in which
2109
 
# case it prints its new name instead of `make'.
2110
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2111
 
   am__include=include
2112
 
   am__quote=
2113
 
   _am_result=GNU
2114
 
fi
2115
 
# Now try BSD make style include.
2116
 
if test "$am__include" = "#"; then
2117
 
   echo '.include "confinc"' > confmf
2118
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2119
 
      am__include=.include
2120
 
      am__quote="\""
2121
 
      _am_result=BSD
2122
 
   fi
2123
 
fi
2124
 
 
2125
 
 
2126
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2127
 
echo "${ECHO_T}$_am_result" >&6
2128
 
rm -f confinc confmf
2129
 
 
2130
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2131
 
if test "${enable_dependency_tracking+set}" = set; then
2132
 
  enableval="$enable_dependency_tracking"
2133
 
 
2134
 
fi;
2135
 
if test "x$enable_dependency_tracking" != xno; then
2136
 
  am_depcomp="$ac_aux_dir/depcomp"
2137
 
  AMDEPBACKSLASH='\'
2138
 
fi
2139
 
 
2140
 
 
2141
 
if test "x$enable_dependency_tracking" != xno; then
2142
 
  AMDEP_TRUE=
2143
 
  AMDEP_FALSE='#'
2144
 
else
2145
 
  AMDEP_TRUE='#'
2146
 
  AMDEP_FALSE=
2147
 
fi
2148
 
 
2149
 
 
2150
 
 
2151
 
ac_ext=c
2152
 
ac_cpp='$CPP $CPPFLAGS'
2153
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2154
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2155
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2156
 
if test -n "$ac_tool_prefix"; then
2157
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2158
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2159
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2160
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2161
 
if test "${ac_cv_prog_CC+set}" = set; then
2162
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2163
 
else
2164
 
  if test -n "$CC"; then
2165
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2166
 
else
2167
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2168
 
for as_dir in $PATH
2169
 
do
2170
 
  IFS=$as_save_IFS
2171
 
  test -z "$as_dir" && as_dir=.
2172
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2173
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2174
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2175
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2176
 
    break 2
2177
 
  fi
2178
 
done
2179
 
done
2180
 
 
2181
 
fi
2182
 
fi
2183
 
CC=$ac_cv_prog_CC
2184
 
if test -n "$CC"; then
2185
 
  echo "$as_me:$LINENO: result: $CC" >&5
2186
 
echo "${ECHO_T}$CC" >&6
2187
 
else
2188
 
  echo "$as_me:$LINENO: result: no" >&5
2189
 
echo "${ECHO_T}no" >&6
2190
 
fi
2191
 
 
2192
 
fi
2193
 
if test -z "$ac_cv_prog_CC"; then
2194
 
  ac_ct_CC=$CC
2195
 
  # Extract the first word of "gcc", so it can be a program name with args.
2196
 
set dummy gcc; ac_word=$2
2197
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2198
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2199
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2200
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2201
 
else
2202
 
  if test -n "$ac_ct_CC"; then
2203
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2204
 
else
2205
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2206
 
for as_dir in $PATH
2207
 
do
2208
 
  IFS=$as_save_IFS
2209
 
  test -z "$as_dir" && as_dir=.
2210
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2211
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2212
 
    ac_cv_prog_ac_ct_CC="gcc"
2213
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2214
 
    break 2
2215
 
  fi
2216
 
done
2217
 
done
2218
 
 
2219
 
fi
2220
 
fi
2221
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2222
 
if test -n "$ac_ct_CC"; then
2223
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2224
 
echo "${ECHO_T}$ac_ct_CC" >&6
2225
 
else
2226
 
  echo "$as_me:$LINENO: result: no" >&5
2227
 
echo "${ECHO_T}no" >&6
2228
 
fi
2229
 
 
2230
 
  CC=$ac_ct_CC
2231
 
else
2232
 
  CC="$ac_cv_prog_CC"
2233
 
fi
2234
 
 
2235
 
if test -z "$CC"; then
2236
 
  if test -n "$ac_tool_prefix"; then
2237
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2238
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
2239
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2240
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2241
 
if test "${ac_cv_prog_CC+set}" = set; then
2242
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2243
 
else
2244
 
  if test -n "$CC"; then
2245
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2246
 
else
2247
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2248
 
for as_dir in $PATH
2249
 
do
2250
 
  IFS=$as_save_IFS
2251
 
  test -z "$as_dir" && as_dir=.
2252
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2253
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2254
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2255
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2256
 
    break 2
2257
 
  fi
2258
 
done
2259
 
done
2260
 
 
2261
 
fi
2262
 
fi
2263
 
CC=$ac_cv_prog_CC
2264
 
if test -n "$CC"; then
2265
 
  echo "$as_me:$LINENO: result: $CC" >&5
2266
 
echo "${ECHO_T}$CC" >&6
2267
 
else
2268
 
  echo "$as_me:$LINENO: result: no" >&5
2269
 
echo "${ECHO_T}no" >&6
2270
 
fi
2271
 
 
2272
 
fi
2273
 
if test -z "$ac_cv_prog_CC"; then
2274
 
  ac_ct_CC=$CC
2275
 
  # Extract the first word of "cc", so it can be a program name with args.
2276
 
set dummy cc; ac_word=$2
2277
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2278
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2279
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2280
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2281
 
else
2282
 
  if test -n "$ac_ct_CC"; then
2283
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2284
 
else
2285
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2286
 
for as_dir in $PATH
2287
 
do
2288
 
  IFS=$as_save_IFS
2289
 
  test -z "$as_dir" && as_dir=.
2290
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2291
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2292
 
    ac_cv_prog_ac_ct_CC="cc"
2293
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2294
 
    break 2
2295
 
  fi
2296
 
done
2297
 
done
2298
 
 
2299
 
fi
2300
 
fi
2301
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2302
 
if test -n "$ac_ct_CC"; then
2303
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2304
 
echo "${ECHO_T}$ac_ct_CC" >&6
2305
 
else
2306
 
  echo "$as_me:$LINENO: result: no" >&5
2307
 
echo "${ECHO_T}no" >&6
2308
 
fi
2309
 
 
2310
 
  CC=$ac_ct_CC
2311
 
else
2312
 
  CC="$ac_cv_prog_CC"
2313
 
fi
2314
 
 
2315
 
fi
2316
 
if test -z "$CC"; then
2317
 
  # Extract the first word of "cc", so it can be a program name with args.
2318
 
set dummy cc; ac_word=$2
2319
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2320
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2321
 
if test "${ac_cv_prog_CC+set}" = set; then
2322
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2323
 
else
2324
 
  if test -n "$CC"; then
2325
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2326
 
else
2327
 
  ac_prog_rejected=no
2328
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2329
 
for as_dir in $PATH
2330
 
do
2331
 
  IFS=$as_save_IFS
2332
 
  test -z "$as_dir" && as_dir=.
2333
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2334
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2335
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2336
 
       ac_prog_rejected=yes
2337
 
       continue
2338
 
     fi
2339
 
    ac_cv_prog_CC="cc"
2340
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2341
 
    break 2
2342
 
  fi
2343
 
done
2344
 
done
2345
 
 
2346
 
if test $ac_prog_rejected = yes; then
2347
 
  # We found a bogon in the path, so make sure we never use it.
2348
 
  set dummy $ac_cv_prog_CC
2349
 
  shift
2350
 
  if test $# != 0; then
2351
 
    # We chose a different compiler from the bogus one.
2352
 
    # However, it has the same basename, so the bogon will be chosen
2353
 
    # first if we set CC to just the basename; use the full file name.
2354
 
    shift
2355
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2356
 
  fi
2357
 
fi
2358
 
fi
2359
 
fi
2360
 
CC=$ac_cv_prog_CC
2361
 
if test -n "$CC"; then
2362
 
  echo "$as_me:$LINENO: result: $CC" >&5
2363
 
echo "${ECHO_T}$CC" >&6
2364
 
else
2365
 
  echo "$as_me:$LINENO: result: no" >&5
2366
 
echo "${ECHO_T}no" >&6
2367
 
fi
2368
 
 
2369
 
fi
2370
 
if test -z "$CC"; then
2371
 
  if test -n "$ac_tool_prefix"; then
2372
 
  for ac_prog in cl
2373
 
  do
2374
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2375
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2376
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2377
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2378
 
if test "${ac_cv_prog_CC+set}" = set; then
2379
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2380
 
else
2381
 
  if test -n "$CC"; then
2382
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2383
 
else
2384
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2385
 
for as_dir in $PATH
2386
 
do
2387
 
  IFS=$as_save_IFS
2388
 
  test -z "$as_dir" && as_dir=.
2389
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2390
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2391
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2392
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2393
 
    break 2
2394
 
  fi
2395
 
done
2396
 
done
2397
 
 
2398
 
fi
2399
 
fi
2400
 
CC=$ac_cv_prog_CC
2401
 
if test -n "$CC"; then
2402
 
  echo "$as_me:$LINENO: result: $CC" >&5
2403
 
echo "${ECHO_T}$CC" >&6
2404
 
else
2405
 
  echo "$as_me:$LINENO: result: no" >&5
2406
 
echo "${ECHO_T}no" >&6
2407
 
fi
2408
 
 
2409
 
    test -n "$CC" && break
2410
 
  done
2411
 
fi
2412
 
if test -z "$CC"; then
2413
 
  ac_ct_CC=$CC
2414
 
  for ac_prog in cl
2415
 
do
2416
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2417
 
set dummy $ac_prog; ac_word=$2
2418
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2419
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2420
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2421
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2422
 
else
2423
 
  if test -n "$ac_ct_CC"; then
2424
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2425
 
else
2426
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2427
 
for as_dir in $PATH
2428
 
do
2429
 
  IFS=$as_save_IFS
2430
 
  test -z "$as_dir" && as_dir=.
2431
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2432
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2433
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
2434
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2435
 
    break 2
2436
 
  fi
2437
 
done
2438
 
done
2439
 
 
2440
 
fi
2441
 
fi
2442
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2443
 
if test -n "$ac_ct_CC"; then
2444
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2445
 
echo "${ECHO_T}$ac_ct_CC" >&6
2446
 
else
2447
 
  echo "$as_me:$LINENO: result: no" >&5
2448
 
echo "${ECHO_T}no" >&6
2449
 
fi
2450
 
 
2451
 
  test -n "$ac_ct_CC" && break
2452
 
done
2453
 
 
2454
 
  CC=$ac_ct_CC
2455
 
fi
2456
 
 
2457
 
fi
2458
 
 
2459
 
 
2460
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2461
 
See \`config.log' for more details." >&5
2462
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
2463
 
See \`config.log' for more details." >&2;}
2464
 
   { (exit 1); exit 1; }; }
2465
 
 
2466
 
# Provide some information about the compiler.
2467
 
echo "$as_me:$LINENO:" \
2468
 
     "checking for C compiler version" >&5
2469
 
ac_compiler=`set X $ac_compile; echo $2`
2470
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2471
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2472
 
  ac_status=$?
2473
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474
 
  (exit $ac_status); }
2475
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2476
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2477
 
  ac_status=$?
2478
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2479
 
  (exit $ac_status); }
2480
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2481
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
2482
 
  ac_status=$?
2483
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484
 
  (exit $ac_status); }
2485
 
 
2486
 
cat >conftest.$ac_ext <<_ACEOF
2487
 
/* confdefs.h.  */
2488
 
_ACEOF
2489
 
cat confdefs.h >>conftest.$ac_ext
2490
 
cat >>conftest.$ac_ext <<_ACEOF
2491
 
/* end confdefs.h.  */
2492
 
 
2493
 
int
2494
 
main ()
2495
 
{
2496
 
 
2497
 
  ;
2498
 
  return 0;
2499
 
}
2500
 
_ACEOF
2501
 
ac_clean_files_save=$ac_clean_files
2502
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2503
 
# Try to create an executable without -o first, disregard a.out.
2504
 
# It will help us diagnose broken compilers, and finding out an intuition
2505
 
# of exeext.
2506
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2507
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2508
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2509
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2510
 
  (eval $ac_link_default) 2>&5
2511
 
  ac_status=$?
2512
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2513
 
  (exit $ac_status); }; then
2514
 
  # Find the output, starting from the most likely.  This scheme is
2515
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2516
 
# resort.
2517
 
 
2518
 
# Be careful to initialize this variable, since it used to be cached.
2519
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2520
 
ac_cv_exeext=
2521
 
# b.out is created by i960 compilers.
2522
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2523
 
do
2524
 
  test -f "$ac_file" || continue
2525
 
  case $ac_file in
2526
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2527
 
        ;;
2528
 
    conftest.$ac_ext )
2529
 
        # This is the source file.
2530
 
        ;;
2531
 
    [ab].out )
2532
 
        # We found the default executable, but exeext='' is most
2533
 
        # certainly right.
2534
 
        break;;
2535
 
    *.* )
2536
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2537
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2538
 
        # but it would be cool to find out if it's true.  Does anybody
2539
 
        # maintain Libtool? --akim.
2540
 
        export ac_cv_exeext
2541
 
        break;;
2542
 
    * )
2543
 
        break;;
2544
 
  esac
2545
 
done
2546
 
else
2547
 
  echo "$as_me: failed program was:" >&5
2548
 
sed 's/^/| /' conftest.$ac_ext >&5
2549
 
 
2550
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2551
 
See \`config.log' for more details." >&5
2552
 
echo "$as_me: error: C compiler cannot create executables
2553
 
See \`config.log' for more details." >&2;}
2554
 
   { (exit 77); exit 77; }; }
2555
 
fi
2556
 
 
2557
 
ac_exeext=$ac_cv_exeext
2558
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2559
 
echo "${ECHO_T}$ac_file" >&6
2560
 
 
2561
 
# Check the compiler produces executables we can run.  If not, either
2562
 
# the compiler is broken, or we cross compile.
2563
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2564
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2565
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2566
 
# If not cross compiling, check that we can run a simple program.
2567
 
if test "$cross_compiling" != yes; then
2568
 
  if { ac_try='./$ac_file'
2569
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2570
 
  (eval $ac_try) 2>&5
2571
 
  ac_status=$?
2572
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573
 
  (exit $ac_status); }; }; then
2574
 
    cross_compiling=no
2575
 
  else
2576
 
    if test "$cross_compiling" = maybe; then
2577
 
        cross_compiling=yes
2578
 
    else
2579
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2580
 
If you meant to cross compile, use \`--host'.
2581
 
See \`config.log' for more details." >&5
2582
 
echo "$as_me: error: cannot run C compiled programs.
2583
 
If you meant to cross compile, use \`--host'.
2584
 
See \`config.log' for more details." >&2;}
2585
 
   { (exit 1); exit 1; }; }
2586
 
    fi
2587
 
  fi
2588
 
fi
2589
 
echo "$as_me:$LINENO: result: yes" >&5
2590
 
echo "${ECHO_T}yes" >&6
2591
 
 
2592
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2593
 
ac_clean_files=$ac_clean_files_save
2594
 
# Check the compiler produces executables we can run.  If not, either
2595
 
# the compiler is broken, or we cross compile.
2596
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2597
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2598
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2599
 
echo "${ECHO_T}$cross_compiling" >&6
2600
 
 
2601
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2602
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2603
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2604
 
  (eval $ac_link) 2>&5
2605
 
  ac_status=$?
2606
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607
 
  (exit $ac_status); }; then
2608
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2609
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2610
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
2611
 
# `rm'.
2612
 
for ac_file in conftest.exe conftest conftest.*; do
2613
 
  test -f "$ac_file" || continue
2614
 
  case $ac_file in
2615
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2616
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2617
 
          export ac_cv_exeext
2618
 
          break;;
2619
 
    * ) break;;
2620
 
  esac
2621
 
done
2622
 
else
2623
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2624
 
See \`config.log' for more details." >&5
2625
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2626
 
See \`config.log' for more details." >&2;}
2627
 
   { (exit 1); exit 1; }; }
2628
 
fi
2629
 
 
2630
 
rm -f conftest$ac_cv_exeext
2631
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2632
 
echo "${ECHO_T}$ac_cv_exeext" >&6
2633
 
 
2634
 
rm -f conftest.$ac_ext
2635
 
EXEEXT=$ac_cv_exeext
2636
 
ac_exeext=$EXEEXT
2637
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2638
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2639
 
if test "${ac_cv_objext+set}" = set; then
2640
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2641
 
else
2642
 
  cat >conftest.$ac_ext <<_ACEOF
2643
 
/* confdefs.h.  */
2644
 
_ACEOF
2645
 
cat confdefs.h >>conftest.$ac_ext
2646
 
cat >>conftest.$ac_ext <<_ACEOF
2647
 
/* end confdefs.h.  */
2648
 
 
2649
 
int
2650
 
main ()
2651
 
{
2652
 
 
2653
 
  ;
2654
 
  return 0;
2655
 
}
2656
 
_ACEOF
2657
 
rm -f conftest.o conftest.obj
2658
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2659
 
  (eval $ac_compile) 2>&5
2660
 
  ac_status=$?
2661
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662
 
  (exit $ac_status); }; then
2663
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2664
 
  case $ac_file in
2665
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2666
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2667
 
       break;;
2668
 
  esac
2669
 
done
2670
 
else
2671
 
  echo "$as_me: failed program was:" >&5
2672
 
sed 's/^/| /' conftest.$ac_ext >&5
2673
 
 
2674
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2675
 
See \`config.log' for more details." >&5
2676
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2677
 
See \`config.log' for more details." >&2;}
2678
 
   { (exit 1); exit 1; }; }
2679
 
fi
2680
 
 
2681
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2682
 
fi
2683
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2684
 
echo "${ECHO_T}$ac_cv_objext" >&6
2685
 
OBJEXT=$ac_cv_objext
2686
 
ac_objext=$OBJEXT
2687
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2688
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2689
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2690
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2691
 
else
2692
 
  cat >conftest.$ac_ext <<_ACEOF
2693
 
/* confdefs.h.  */
2694
 
_ACEOF
2695
 
cat confdefs.h >>conftest.$ac_ext
2696
 
cat >>conftest.$ac_ext <<_ACEOF
2697
 
/* end confdefs.h.  */
2698
 
 
2699
 
int
2700
 
main ()
2701
 
{
2702
 
#ifndef __GNUC__
2703
 
       choke me
2704
 
#endif
2705
 
 
2706
 
  ;
2707
 
  return 0;
2708
 
}
2709
 
_ACEOF
2710
 
rm -f conftest.$ac_objext
2711
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2712
 
  (eval $ac_compile) 2>conftest.er1
2713
 
  ac_status=$?
2714
 
  grep -v '^ *+' conftest.er1 >conftest.err
2715
 
  rm -f conftest.er1
2716
 
  cat conftest.err >&5
2717
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718
 
  (exit $ac_status); } &&
2719
 
         { ac_try='test -z "$ac_c_werror_flag"
2720
 
                         || test ! -s conftest.err'
2721
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2722
 
  (eval $ac_try) 2>&5
2723
 
  ac_status=$?
2724
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725
 
  (exit $ac_status); }; } &&
2726
 
         { ac_try='test -s conftest.$ac_objext'
2727
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2728
 
  (eval $ac_try) 2>&5
2729
 
  ac_status=$?
2730
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731
 
  (exit $ac_status); }; }; then
2732
 
  ac_compiler_gnu=yes
2733
 
else
2734
 
  echo "$as_me: failed program was:" >&5
2735
 
sed 's/^/| /' conftest.$ac_ext >&5
2736
 
 
2737
 
ac_compiler_gnu=no
2738
 
fi
2739
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2740
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2741
 
 
2742
 
fi
2743
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2744
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2745
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
2746
 
ac_test_CFLAGS=${CFLAGS+set}
2747
 
ac_save_CFLAGS=$CFLAGS
2748
 
CFLAGS="-g"
2749
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2750
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2751
 
if test "${ac_cv_prog_cc_g+set}" = set; then
2752
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2753
 
else
2754
 
  cat >conftest.$ac_ext <<_ACEOF
2755
 
/* confdefs.h.  */
2756
 
_ACEOF
2757
 
cat confdefs.h >>conftest.$ac_ext
2758
 
cat >>conftest.$ac_ext <<_ACEOF
2759
 
/* end confdefs.h.  */
2760
 
 
2761
 
int
2762
 
main ()
2763
 
{
2764
 
 
2765
 
  ;
2766
 
  return 0;
2767
 
}
2768
 
_ACEOF
2769
 
rm -f conftest.$ac_objext
2770
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2771
 
  (eval $ac_compile) 2>conftest.er1
2772
 
  ac_status=$?
2773
 
  grep -v '^ *+' conftest.er1 >conftest.err
2774
 
  rm -f conftest.er1
2775
 
  cat conftest.err >&5
2776
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777
 
  (exit $ac_status); } &&
2778
 
         { ac_try='test -z "$ac_c_werror_flag"
2779
 
                         || test ! -s conftest.err'
2780
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2781
 
  (eval $ac_try) 2>&5
2782
 
  ac_status=$?
2783
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784
 
  (exit $ac_status); }; } &&
2785
 
         { ac_try='test -s conftest.$ac_objext'
2786
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2787
 
  (eval $ac_try) 2>&5
2788
 
  ac_status=$?
2789
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790
 
  (exit $ac_status); }; }; then
2791
 
  ac_cv_prog_cc_g=yes
2792
 
else
2793
 
  echo "$as_me: failed program was:" >&5
2794
 
sed 's/^/| /' conftest.$ac_ext >&5
2795
 
 
2796
 
ac_cv_prog_cc_g=no
2797
 
fi
2798
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2799
 
fi
2800
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2801
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2802
 
if test "$ac_test_CFLAGS" = set; then
2803
 
  CFLAGS=$ac_save_CFLAGS
2804
 
elif test $ac_cv_prog_cc_g = yes; then
2805
 
  if test "$GCC" = yes; then
2806
 
    CFLAGS="-g -O2"
2807
 
  else
2808
 
    CFLAGS="-g"
2809
 
  fi
2810
 
else
2811
 
  if test "$GCC" = yes; then
2812
 
    CFLAGS="-O2"
2813
 
  else
2814
 
    CFLAGS=
2815
 
  fi
2816
 
fi
2817
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2818
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2819
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2820
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2821
 
else
2822
 
  ac_cv_prog_cc_stdc=no
2823
 
ac_save_CC=$CC
2824
 
cat >conftest.$ac_ext <<_ACEOF
2825
 
/* confdefs.h.  */
2826
 
_ACEOF
2827
 
cat confdefs.h >>conftest.$ac_ext
2828
 
cat >>conftest.$ac_ext <<_ACEOF
2829
 
/* end confdefs.h.  */
2830
 
#include <stdarg.h>
2831
 
#include <stdio.h>
2832
 
#include <sys/types.h>
2833
 
#include <sys/stat.h>
2834
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2835
 
struct buf { int x; };
2836
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2837
 
static char *e (p, i)
2838
 
     char **p;
2839
 
     int i;
2840
 
{
2841
 
  return p[i];
2842
 
}
2843
 
static char *f (char * (*g) (char **, int), char **p, ...)
2844
 
{
2845
 
  char *s;
2846
 
  va_list v;
2847
 
  va_start (v,p);
2848
 
  s = g (p, va_arg (v,int));
2849
 
  va_end (v);
2850
 
  return s;
2851
 
}
2852
 
 
2853
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2854
 
   function prototypes and stuff, but not '\xHH' hex character constants.
2855
 
   These don't provoke an error unfortunately, instead are silently treated
2856
 
   as 'x'.  The following induces an error, until -std1 is added to get
2857
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2858
 
   array size at least.  It's necessary to write '\x00'==0 to get something
2859
 
   that's true only with -std1.  */
2860
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2861
 
 
2862
 
int test (int i, double x);
2863
 
struct s1 {int (*f) (int a);};
2864
 
struct s2 {int (*f) (double a);};
2865
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2866
 
int argc;
2867
 
char **argv;
2868
 
int
2869
 
main ()
2870
 
{
2871
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2872
 
  ;
2873
 
  return 0;
2874
 
}
2875
 
_ACEOF
2876
 
# Don't try gcc -ansi; that turns off useful extensions and
2877
 
# breaks some systems' header files.
2878
 
# AIX                   -qlanglvl=ansi
2879
 
# Ultrix and OSF/1      -std1
2880
 
# HP-UX 10.20 and later -Ae
2881
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2882
 
# SVR4                  -Xc -D__EXTENSIONS__
2883
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2884
 
do
2885
 
  CC="$ac_save_CC $ac_arg"
2886
 
  rm -f conftest.$ac_objext
2887
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2888
 
  (eval $ac_compile) 2>conftest.er1
2889
 
  ac_status=$?
2890
 
  grep -v '^ *+' conftest.er1 >conftest.err
2891
 
  rm -f conftest.er1
2892
 
  cat conftest.err >&5
2893
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894
 
  (exit $ac_status); } &&
2895
 
         { ac_try='test -z "$ac_c_werror_flag"
2896
 
                         || test ! -s conftest.err'
2897
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2898
 
  (eval $ac_try) 2>&5
2899
 
  ac_status=$?
2900
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901
 
  (exit $ac_status); }; } &&
2902
 
         { ac_try='test -s conftest.$ac_objext'
2903
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2904
 
  (eval $ac_try) 2>&5
2905
 
  ac_status=$?
2906
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907
 
  (exit $ac_status); }; }; then
2908
 
  ac_cv_prog_cc_stdc=$ac_arg
2909
 
break
2910
 
else
2911
 
  echo "$as_me: failed program was:" >&5
2912
 
sed 's/^/| /' conftest.$ac_ext >&5
2913
 
 
2914
 
fi
2915
 
rm -f conftest.err conftest.$ac_objext
2916
 
done
2917
 
rm -f conftest.$ac_ext conftest.$ac_objext
2918
 
CC=$ac_save_CC
2919
 
 
2920
 
fi
2921
 
 
2922
 
case "x$ac_cv_prog_cc_stdc" in
2923
 
  x|xno)
2924
 
    echo "$as_me:$LINENO: result: none needed" >&5
2925
 
echo "${ECHO_T}none needed" >&6 ;;
2926
 
  *)
2927
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2928
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2929
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
2930
 
esac
2931
 
 
2932
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2933
 
# in C++ we need to declare it.  In case someone uses the same compiler
2934
 
# for both compiling C and C++ we need to have the C++ compiler decide
2935
 
# the declaration of exit, since it's the most demanding environment.
2936
 
cat >conftest.$ac_ext <<_ACEOF
2937
 
#ifndef __cplusplus
2938
 
  choke me
2939
 
#endif
2940
 
_ACEOF
2941
 
rm -f conftest.$ac_objext
2942
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2943
 
  (eval $ac_compile) 2>conftest.er1
2944
 
  ac_status=$?
2945
 
  grep -v '^ *+' conftest.er1 >conftest.err
2946
 
  rm -f conftest.er1
2947
 
  cat conftest.err >&5
2948
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949
 
  (exit $ac_status); } &&
2950
 
         { ac_try='test -z "$ac_c_werror_flag"
2951
 
                         || test ! -s conftest.err'
2952
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2953
 
  (eval $ac_try) 2>&5
2954
 
  ac_status=$?
2955
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956
 
  (exit $ac_status); }; } &&
2957
 
         { ac_try='test -s conftest.$ac_objext'
2958
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2959
 
  (eval $ac_try) 2>&5
2960
 
  ac_status=$?
2961
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962
 
  (exit $ac_status); }; }; then
2963
 
  for ac_declaration in \
2964
 
   '' \
2965
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2966
 
   'extern "C" void std::exit (int); using std::exit;' \
2967
 
   'extern "C" void exit (int) throw ();' \
2968
 
   'extern "C" void exit (int);' \
2969
 
   'void exit (int);'
2970
 
do
2971
 
  cat >conftest.$ac_ext <<_ACEOF
2972
 
/* confdefs.h.  */
2973
 
_ACEOF
2974
 
cat confdefs.h >>conftest.$ac_ext
2975
 
cat >>conftest.$ac_ext <<_ACEOF
2976
 
/* end confdefs.h.  */
2977
 
$ac_declaration
2978
 
#include <stdlib.h>
2979
 
int
2980
 
main ()
2981
 
{
2982
 
exit (42);
2983
 
  ;
2984
 
  return 0;
2985
 
}
2986
 
_ACEOF
2987
 
rm -f conftest.$ac_objext
2988
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2989
 
  (eval $ac_compile) 2>conftest.er1
2990
 
  ac_status=$?
2991
 
  grep -v '^ *+' conftest.er1 >conftest.err
2992
 
  rm -f conftest.er1
2993
 
  cat conftest.err >&5
2994
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995
 
  (exit $ac_status); } &&
2996
 
         { ac_try='test -z "$ac_c_werror_flag"
2997
 
                         || test ! -s conftest.err'
2998
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2999
 
  (eval $ac_try) 2>&5
3000
 
  ac_status=$?
3001
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002
 
  (exit $ac_status); }; } &&
3003
 
         { ac_try='test -s conftest.$ac_objext'
3004
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3005
 
  (eval $ac_try) 2>&5
3006
 
  ac_status=$?
3007
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008
 
  (exit $ac_status); }; }; then
3009
 
  :
3010
 
else
3011
 
  echo "$as_me: failed program was:" >&5
3012
 
sed 's/^/| /' conftest.$ac_ext >&5
3013
 
 
3014
 
continue
3015
 
fi
3016
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3017
 
  cat >conftest.$ac_ext <<_ACEOF
3018
 
/* confdefs.h.  */
3019
 
_ACEOF
3020
 
cat confdefs.h >>conftest.$ac_ext
3021
 
cat >>conftest.$ac_ext <<_ACEOF
3022
 
/* end confdefs.h.  */
3023
 
$ac_declaration
3024
 
int
3025
 
main ()
3026
 
{
3027
 
exit (42);
3028
 
  ;
3029
 
  return 0;
3030
 
}
3031
 
_ACEOF
3032
 
rm -f conftest.$ac_objext
3033
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3034
 
  (eval $ac_compile) 2>conftest.er1
3035
 
  ac_status=$?
3036
 
  grep -v '^ *+' conftest.er1 >conftest.err
3037
 
  rm -f conftest.er1
3038
 
  cat conftest.err >&5
3039
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3040
 
  (exit $ac_status); } &&
3041
 
         { ac_try='test -z "$ac_c_werror_flag"
3042
 
                         || test ! -s conftest.err'
3043
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3044
 
  (eval $ac_try) 2>&5
3045
 
  ac_status=$?
3046
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047
 
  (exit $ac_status); }; } &&
3048
 
         { ac_try='test -s conftest.$ac_objext'
3049
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3050
 
  (eval $ac_try) 2>&5
3051
 
  ac_status=$?
3052
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053
 
  (exit $ac_status); }; }; then
3054
 
  break
3055
 
else
3056
 
  echo "$as_me: failed program was:" >&5
3057
 
sed 's/^/| /' conftest.$ac_ext >&5
3058
 
 
3059
 
fi
3060
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3061
 
done
3062
 
rm -f conftest*
3063
 
if test -n "$ac_declaration"; then
3064
 
  echo '#ifdef __cplusplus' >>confdefs.h
3065
 
  echo $ac_declaration      >>confdefs.h
3066
 
  echo '#endif'             >>confdefs.h
3067
 
fi
3068
 
 
3069
 
else
3070
 
  echo "$as_me: failed program was:" >&5
3071
 
sed 's/^/| /' conftest.$ac_ext >&5
3072
 
 
3073
 
fi
3074
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3075
 
ac_ext=c
3076
 
ac_cpp='$CPP $CPPFLAGS'
3077
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3078
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3079
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3080
 
 
3081
 
depcc="$CC"   am_compiler_list=
3082
 
 
3083
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3084
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3085
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3086
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3087
 
else
3088
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3089
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3090
 
  # making bogus files that we don't know about and never remove.  For
3091
 
  # instance it was reported that on HP-UX the gcc test will end up
3092
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3093
 
  # in D'.
3094
 
  mkdir conftest.dir
3095
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3096
 
  # using a relative directory.
3097
 
  cp "$am_depcomp" conftest.dir
3098
 
  cd conftest.dir
3099
 
  # We will build objects and dependencies in a subdirectory because
3100
 
  # it helps to detect inapplicable dependency modes.  For instance
3101
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3102
 
  # side effect of compilation, but ICC will put the dependencies in
3103
 
  # the current directory while Tru64 will put them in the object
3104
 
  # directory.
3105
 
  mkdir sub
3106
 
 
3107
 
  am_cv_CC_dependencies_compiler_type=none
3108
 
  if test "$am_compiler_list" = ""; then
3109
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3110
 
  fi
3111
 
  for depmode in $am_compiler_list; do
3112
 
    # Setup a source with many dependencies, because some compilers
3113
 
    # like to wrap large dependency lists on column 80 (with \), and
3114
 
    # we should not choose a depcomp mode which is confused by this.
3115
 
    #
3116
 
    # We need to recreate these files for each test, as the compiler may
3117
 
    # overwrite some of them when testing with obscure command lines.
3118
 
    # This happens at least with the AIX C compiler.
3119
 
    : > sub/conftest.c
3120
 
    for i in 1 2 3 4 5 6; do
3121
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3122
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3123
 
      # Solaris 8's {/usr,}/bin/sh.
3124
 
      touch sub/conftst$i.h
3125
 
    done
3126
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3127
 
 
3128
 
    case $depmode in
3129
 
    nosideeffect)
3130
 
      # after this tag, mechanisms are not by side-effect, so they'll
3131
 
      # only be used when explicitly requested
3132
 
      if test "x$enable_dependency_tracking" = xyes; then
3133
 
        continue
3134
 
      else
3135
 
        break
3136
 
      fi
3137
 
      ;;
3138
 
    none) break ;;
3139
 
    esac
3140
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3141
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3142
 
    # handle `-M -o', and we need to detect this.
3143
 
    if depmode=$depmode \
3144
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3145
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3146
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3147
 
         >/dev/null 2>conftest.err &&
3148
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3149
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3150
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3151
 
      # icc doesn't choke on unknown options, it will just issue warnings
3152
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3153
 
      # that says an option was ignored or not supported.
3154
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3155
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3156
 
      # The diagnosis changed in icc 8.0:
3157
 
      #   icc: Command line remark: option '-MP' not supported
3158
 
      if (grep 'ignoring option' conftest.err ||
3159
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3160
 
        am_cv_CC_dependencies_compiler_type=$depmode
3161
 
        break
3162
 
      fi
3163
 
    fi
3164
 
  done
3165
 
 
3166
 
  cd ..
3167
 
  rm -rf conftest.dir
3168
 
else
3169
 
  am_cv_CC_dependencies_compiler_type=none
3170
 
fi
3171
 
 
3172
 
fi
3173
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3174
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3175
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3176
 
 
3177
 
 
3178
 
 
3179
 
if
3180
 
  test "x$enable_dependency_tracking" != xno \
3181
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3182
 
  am__fastdepCC_TRUE=
3183
 
  am__fastdepCC_FALSE='#'
3184
 
else
3185
 
  am__fastdepCC_TRUE='#'
3186
 
  am__fastdepCC_FALSE=
3187
 
fi
3188
 
 
3189
 
 
3190
 
 
3191
 
ac_ext=c
3192
 
ac_cpp='$CPP $CPPFLAGS'
3193
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3194
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3195
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3196
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3197
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3198
 
# On Suns, sometimes $CPP names a directory.
3199
 
if test -n "$CPP" && test -d "$CPP"; then
3200
 
  CPP=
3201
 
fi
3202
 
if test -z "$CPP"; then
3203
 
  if test "${ac_cv_prog_CPP+set}" = set; then
3204
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3205
 
else
3206
 
      # Double quotes because CPP needs to be expanded
3207
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3208
 
    do
3209
 
      ac_preproc_ok=false
3210
 
for ac_c_preproc_warn_flag in '' yes
3211
 
do
3212
 
  # Use a header file that comes with gcc, so configuring glibc
3213
 
  # with a fresh cross-compiler works.
3214
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3215
 
  # <limits.h> exists even on freestanding compilers.
3216
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3217
 
  # not just through cpp. "Syntax error" is here to catch this case.
3218
 
  cat >conftest.$ac_ext <<_ACEOF
3219
 
/* confdefs.h.  */
3220
 
_ACEOF
3221
 
cat confdefs.h >>conftest.$ac_ext
3222
 
cat >>conftest.$ac_ext <<_ACEOF
3223
 
/* end confdefs.h.  */
3224
 
#ifdef __STDC__
3225
 
# include <limits.h>
3226
 
#else
3227
 
# include <assert.h>
3228
 
#endif
3229
 
                     Syntax error
3230
 
_ACEOF
3231
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3232
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3233
 
  ac_status=$?
3234
 
  grep -v '^ *+' conftest.er1 >conftest.err
3235
 
  rm -f conftest.er1
3236
 
  cat conftest.err >&5
3237
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238
 
  (exit $ac_status); } >/dev/null; then
3239
 
  if test -s conftest.err; then
3240
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3241
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3242
 
  else
3243
 
    ac_cpp_err=
3244
 
  fi
3245
 
else
3246
 
  ac_cpp_err=yes
3247
 
fi
3248
 
if test -z "$ac_cpp_err"; then
3249
 
  :
3250
 
else
3251
 
  echo "$as_me: failed program was:" >&5
3252
 
sed 's/^/| /' conftest.$ac_ext >&5
3253
 
 
3254
 
  # Broken: fails on valid input.
3255
 
continue
3256
 
fi
3257
 
rm -f conftest.err conftest.$ac_ext
3258
 
 
3259
 
  # OK, works on sane cases.  Now check whether non-existent headers
3260
 
  # can be detected and how.
3261
 
  cat >conftest.$ac_ext <<_ACEOF
3262
 
/* confdefs.h.  */
3263
 
_ACEOF
3264
 
cat confdefs.h >>conftest.$ac_ext
3265
 
cat >>conftest.$ac_ext <<_ACEOF
3266
 
/* end confdefs.h.  */
3267
 
#include <ac_nonexistent.h>
3268
 
_ACEOF
3269
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3270
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3271
 
  ac_status=$?
3272
 
  grep -v '^ *+' conftest.er1 >conftest.err
3273
 
  rm -f conftest.er1
3274
 
  cat conftest.err >&5
3275
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3276
 
  (exit $ac_status); } >/dev/null; then
3277
 
  if test -s conftest.err; then
3278
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3279
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3280
 
  else
3281
 
    ac_cpp_err=
3282
 
  fi
3283
 
else
3284
 
  ac_cpp_err=yes
3285
 
fi
3286
 
if test -z "$ac_cpp_err"; then
3287
 
  # Broken: success on invalid input.
3288
 
continue
3289
 
else
3290
 
  echo "$as_me: failed program was:" >&5
3291
 
sed 's/^/| /' conftest.$ac_ext >&5
3292
 
 
3293
 
  # Passes both tests.
3294
 
ac_preproc_ok=:
3295
 
break
3296
 
fi
3297
 
rm -f conftest.err conftest.$ac_ext
3298
 
 
3299
 
done
3300
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3301
 
rm -f conftest.err conftest.$ac_ext
3302
 
if $ac_preproc_ok; then
3303
 
  break
3304
 
fi
3305
 
 
3306
 
    done
3307
 
    ac_cv_prog_CPP=$CPP
3308
 
 
3309
 
fi
3310
 
  CPP=$ac_cv_prog_CPP
3311
 
else
3312
 
  ac_cv_prog_CPP=$CPP
3313
 
fi
3314
 
echo "$as_me:$LINENO: result: $CPP" >&5
3315
 
echo "${ECHO_T}$CPP" >&6
3316
 
ac_preproc_ok=false
3317
 
for ac_c_preproc_warn_flag in '' yes
3318
 
do
3319
 
  # Use a header file that comes with gcc, so configuring glibc
3320
 
  # with a fresh cross-compiler works.
3321
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3322
 
  # <limits.h> exists even on freestanding compilers.
3323
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3324
 
  # not just through cpp. "Syntax error" is here to catch this case.
3325
 
  cat >conftest.$ac_ext <<_ACEOF
3326
 
/* confdefs.h.  */
3327
 
_ACEOF
3328
 
cat confdefs.h >>conftest.$ac_ext
3329
 
cat >>conftest.$ac_ext <<_ACEOF
3330
 
/* end confdefs.h.  */
3331
 
#ifdef __STDC__
3332
 
# include <limits.h>
3333
 
#else
3334
 
# include <assert.h>
3335
 
#endif
3336
 
                     Syntax error
3337
 
_ACEOF
3338
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3339
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3340
 
  ac_status=$?
3341
 
  grep -v '^ *+' conftest.er1 >conftest.err
3342
 
  rm -f conftest.er1
3343
 
  cat conftest.err >&5
3344
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345
 
  (exit $ac_status); } >/dev/null; then
3346
 
  if test -s conftest.err; then
3347
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3348
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3349
 
  else
3350
 
    ac_cpp_err=
3351
 
  fi
3352
 
else
3353
 
  ac_cpp_err=yes
3354
 
fi
3355
 
if test -z "$ac_cpp_err"; then
3356
 
  :
3357
 
else
3358
 
  echo "$as_me: failed program was:" >&5
3359
 
sed 's/^/| /' conftest.$ac_ext >&5
3360
 
 
3361
 
  # Broken: fails on valid input.
3362
 
continue
3363
 
fi
3364
 
rm -f conftest.err conftest.$ac_ext
3365
 
 
3366
 
  # OK, works on sane cases.  Now check whether non-existent headers
3367
 
  # can be detected and how.
3368
 
  cat >conftest.$ac_ext <<_ACEOF
3369
 
/* confdefs.h.  */
3370
 
_ACEOF
3371
 
cat confdefs.h >>conftest.$ac_ext
3372
 
cat >>conftest.$ac_ext <<_ACEOF
3373
 
/* end confdefs.h.  */
3374
 
#include <ac_nonexistent.h>
3375
 
_ACEOF
3376
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3377
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3378
 
  ac_status=$?
3379
 
  grep -v '^ *+' conftest.er1 >conftest.err
3380
 
  rm -f conftest.er1
3381
 
  cat conftest.err >&5
3382
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383
 
  (exit $ac_status); } >/dev/null; then
3384
 
  if test -s conftest.err; then
3385
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3386
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3387
 
  else
3388
 
    ac_cpp_err=
3389
 
  fi
3390
 
else
3391
 
  ac_cpp_err=yes
3392
 
fi
3393
 
if test -z "$ac_cpp_err"; then
3394
 
  # Broken: success on invalid input.
3395
 
continue
3396
 
else
3397
 
  echo "$as_me: failed program was:" >&5
3398
 
sed 's/^/| /' conftest.$ac_ext >&5
3399
 
 
3400
 
  # Passes both tests.
3401
 
ac_preproc_ok=:
3402
 
break
3403
 
fi
3404
 
rm -f conftest.err conftest.$ac_ext
3405
 
 
3406
 
done
3407
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3408
 
rm -f conftest.err conftest.$ac_ext
3409
 
if $ac_preproc_ok; then
3410
 
  :
3411
 
else
3412
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3413
 
See \`config.log' for more details." >&5
3414
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3415
 
See \`config.log' for more details." >&2;}
3416
 
   { (exit 1); exit 1; }; }
3417
 
fi
3418
 
 
3419
 
ac_ext=c
3420
 
ac_cpp='$CPP $CPPFLAGS'
3421
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3422
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3423
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3424
 
 
3425
 
 
3426
 
echo "$as_me:$LINENO: checking for egrep" >&5
3427
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3428
 
if test "${ac_cv_prog_egrep+set}" = set; then
3429
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3430
 
else
3431
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3432
 
    then ac_cv_prog_egrep='grep -E'
3433
 
    else ac_cv_prog_egrep='egrep'
3434
 
    fi
3435
 
fi
3436
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3437
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3438
 
 EGREP=$ac_cv_prog_egrep
3439
 
 
3440
 
 
3441
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3442
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3443
 
if test "${ac_cv_header_stdc+set}" = set; then
3444
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3445
 
else
3446
 
  cat >conftest.$ac_ext <<_ACEOF
3447
 
/* confdefs.h.  */
3448
 
_ACEOF
3449
 
cat confdefs.h >>conftest.$ac_ext
3450
 
cat >>conftest.$ac_ext <<_ACEOF
3451
 
/* end confdefs.h.  */
3452
 
#include <stdlib.h>
3453
 
#include <stdarg.h>
3454
 
#include <string.h>
3455
 
#include <float.h>
3456
 
 
3457
 
int
3458
 
main ()
3459
 
{
3460
 
 
3461
 
  ;
3462
 
  return 0;
3463
 
}
3464
 
_ACEOF
3465
 
rm -f conftest.$ac_objext
3466
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3467
 
  (eval $ac_compile) 2>conftest.er1
3468
 
  ac_status=$?
3469
 
  grep -v '^ *+' conftest.er1 >conftest.err
3470
 
  rm -f conftest.er1
3471
 
  cat conftest.err >&5
3472
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473
 
  (exit $ac_status); } &&
3474
 
         { ac_try='test -z "$ac_c_werror_flag"
3475
 
                         || test ! -s conftest.err'
3476
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3477
 
  (eval $ac_try) 2>&5
3478
 
  ac_status=$?
3479
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480
 
  (exit $ac_status); }; } &&
3481
 
         { ac_try='test -s conftest.$ac_objext'
3482
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3483
 
  (eval $ac_try) 2>&5
3484
 
  ac_status=$?
3485
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486
 
  (exit $ac_status); }; }; then
3487
 
  ac_cv_header_stdc=yes
3488
 
else
3489
 
  echo "$as_me: failed program was:" >&5
3490
 
sed 's/^/| /' conftest.$ac_ext >&5
3491
 
 
3492
 
ac_cv_header_stdc=no
3493
 
fi
3494
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3495
 
 
3496
 
if test $ac_cv_header_stdc = yes; then
3497
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3498
 
  cat >conftest.$ac_ext <<_ACEOF
3499
 
/* confdefs.h.  */
3500
 
_ACEOF
3501
 
cat confdefs.h >>conftest.$ac_ext
3502
 
cat >>conftest.$ac_ext <<_ACEOF
3503
 
/* end confdefs.h.  */
3504
 
#include <string.h>
3505
 
 
3506
 
_ACEOF
3507
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3508
 
  $EGREP "memchr" >/dev/null 2>&1; then
3509
 
  :
3510
 
else
3511
 
  ac_cv_header_stdc=no
3512
 
fi
3513
 
rm -f conftest*
3514
 
 
3515
 
fi
3516
 
 
3517
 
if test $ac_cv_header_stdc = yes; then
3518
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3519
 
  cat >conftest.$ac_ext <<_ACEOF
3520
 
/* confdefs.h.  */
3521
 
_ACEOF
3522
 
cat confdefs.h >>conftest.$ac_ext
3523
 
cat >>conftest.$ac_ext <<_ACEOF
3524
 
/* end confdefs.h.  */
3525
 
#include <stdlib.h>
3526
 
 
3527
 
_ACEOF
3528
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3529
 
  $EGREP "free" >/dev/null 2>&1; then
3530
 
  :
3531
 
else
3532
 
  ac_cv_header_stdc=no
3533
 
fi
3534
 
rm -f conftest*
3535
 
 
3536
 
fi
3537
 
 
3538
 
if test $ac_cv_header_stdc = yes; then
3539
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3540
 
  if test "$cross_compiling" = yes; then
3541
 
  :
3542
 
else
3543
 
  cat >conftest.$ac_ext <<_ACEOF
3544
 
/* confdefs.h.  */
3545
 
_ACEOF
3546
 
cat confdefs.h >>conftest.$ac_ext
3547
 
cat >>conftest.$ac_ext <<_ACEOF
3548
 
/* end confdefs.h.  */
3549
 
#include <ctype.h>
3550
 
#if ((' ' & 0x0FF) == 0x020)
3551
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3552
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3553
 
#else
3554
 
# define ISLOWER(c) \
3555
 
                   (('a' <= (c) && (c) <= 'i') \
3556
 
                     || ('j' <= (c) && (c) <= 'r') \
3557
 
                     || ('s' <= (c) && (c) <= 'z'))
3558
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3559
 
#endif
3560
 
 
3561
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3562
 
int
3563
 
main ()
3564
 
{
3565
 
  int i;
3566
 
  for (i = 0; i < 256; i++)
3567
 
    if (XOR (islower (i), ISLOWER (i))
3568
 
        || toupper (i) != TOUPPER (i))
3569
 
      exit(2);
3570
 
  exit (0);
3571
 
}
3572
 
_ACEOF
3573
 
rm -f conftest$ac_exeext
3574
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3575
 
  (eval $ac_link) 2>&5
3576
 
  ac_status=$?
3577
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3578
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3579
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3580
 
  (eval $ac_try) 2>&5
3581
 
  ac_status=$?
3582
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583
 
  (exit $ac_status); }; }; then
3584
 
  :
3585
 
else
3586
 
  echo "$as_me: program exited with status $ac_status" >&5
3587
 
echo "$as_me: failed program was:" >&5
3588
 
sed 's/^/| /' conftest.$ac_ext >&5
3589
 
 
3590
 
( exit $ac_status )
3591
 
ac_cv_header_stdc=no
3592
 
fi
3593
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3594
 
fi
3595
 
fi
3596
 
fi
3597
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3598
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
3599
 
if test $ac_cv_header_stdc = yes; then
3600
 
 
3601
 
cat >>confdefs.h <<\_ACEOF
3602
 
#define STDC_HEADERS 1
3603
 
_ACEOF
3604
 
 
3605
 
fi
3606
 
 
3607
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3608
 
 
3609
 
 
3610
 
 
3611
 
 
3612
 
 
3613
 
 
3614
 
 
3615
 
 
3616
 
 
3617
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3618
 
                  inttypes.h stdint.h unistd.h
3619
 
do
3620
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3621
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
3622
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3623
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3624
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3625
 
else
3626
 
  cat >conftest.$ac_ext <<_ACEOF
3627
 
/* confdefs.h.  */
3628
 
_ACEOF
3629
 
cat confdefs.h >>conftest.$ac_ext
3630
 
cat >>conftest.$ac_ext <<_ACEOF
3631
 
/* end confdefs.h.  */
3632
 
$ac_includes_default
3633
 
 
3634
 
#include <$ac_header>
3635
 
_ACEOF
3636
 
rm -f conftest.$ac_objext
3637
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3638
 
  (eval $ac_compile) 2>conftest.er1
3639
 
  ac_status=$?
3640
 
  grep -v '^ *+' conftest.er1 >conftest.err
3641
 
  rm -f conftest.er1
3642
 
  cat conftest.err >&5
3643
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644
 
  (exit $ac_status); } &&
3645
 
         { ac_try='test -z "$ac_c_werror_flag"
3646
 
                         || test ! -s conftest.err'
3647
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3648
 
  (eval $ac_try) 2>&5
3649
 
  ac_status=$?
3650
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651
 
  (exit $ac_status); }; } &&
3652
 
         { ac_try='test -s conftest.$ac_objext'
3653
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3654
 
  (eval $ac_try) 2>&5
3655
 
  ac_status=$?
3656
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3657
 
  (exit $ac_status); }; }; then
3658
 
  eval "$as_ac_Header=yes"
3659
 
else
3660
 
  echo "$as_me: failed program was:" >&5
3661
 
sed 's/^/| /' conftest.$ac_ext >&5
3662
 
 
3663
 
eval "$as_ac_Header=no"
3664
 
fi
3665
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3666
 
fi
3667
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3668
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3669
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3670
 
  cat >>confdefs.h <<_ACEOF
3671
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3672
 
_ACEOF
3673
 
 
3674
 
fi
3675
 
 
3676
 
done
3677
 
 
3678
 
 
3679
 
 
3680
 
 
3681
 
for ac_header in locale.h
3682
 
do
3683
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3684
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3685
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
3686
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3687
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3688
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3689
 
fi
3690
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3691
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3692
 
else
3693
 
  # Is the header compilable?
3694
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3695
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3696
 
cat >conftest.$ac_ext <<_ACEOF
3697
 
/* confdefs.h.  */
3698
 
_ACEOF
3699
 
cat confdefs.h >>conftest.$ac_ext
3700
 
cat >>conftest.$ac_ext <<_ACEOF
3701
 
/* end confdefs.h.  */
3702
 
$ac_includes_default
3703
 
#include <$ac_header>
3704
 
_ACEOF
3705
 
rm -f conftest.$ac_objext
3706
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3707
 
  (eval $ac_compile) 2>conftest.er1
3708
 
  ac_status=$?
3709
 
  grep -v '^ *+' conftest.er1 >conftest.err
3710
 
  rm -f conftest.er1
3711
 
  cat conftest.err >&5
3712
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713
 
  (exit $ac_status); } &&
3714
 
         { ac_try='test -z "$ac_c_werror_flag"
3715
 
                         || test ! -s conftest.err'
3716
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3717
 
  (eval $ac_try) 2>&5
3718
 
  ac_status=$?
3719
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3720
 
  (exit $ac_status); }; } &&
3721
 
         { ac_try='test -s conftest.$ac_objext'
3722
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3723
 
  (eval $ac_try) 2>&5
3724
 
  ac_status=$?
3725
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3726
 
  (exit $ac_status); }; }; then
3727
 
  ac_header_compiler=yes
3728
 
else
3729
 
  echo "$as_me: failed program was:" >&5
3730
 
sed 's/^/| /' conftest.$ac_ext >&5
3731
 
 
3732
 
ac_header_compiler=no
3733
 
fi
3734
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3735
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3736
 
echo "${ECHO_T}$ac_header_compiler" >&6
3737
 
 
3738
 
# Is the header present?
3739
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3740
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3741
 
cat >conftest.$ac_ext <<_ACEOF
3742
 
/* confdefs.h.  */
3743
 
_ACEOF
3744
 
cat confdefs.h >>conftest.$ac_ext
3745
 
cat >>conftest.$ac_ext <<_ACEOF
3746
 
/* end confdefs.h.  */
3747
 
#include <$ac_header>
3748
 
_ACEOF
3749
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3750
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3751
 
  ac_status=$?
3752
 
  grep -v '^ *+' conftest.er1 >conftest.err
3753
 
  rm -f conftest.er1
3754
 
  cat conftest.err >&5
3755
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3756
 
  (exit $ac_status); } >/dev/null; then
3757
 
  if test -s conftest.err; then
3758
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3759
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3760
 
  else
3761
 
    ac_cpp_err=
3762
 
  fi
3763
 
else
3764
 
  ac_cpp_err=yes
3765
 
fi
3766
 
if test -z "$ac_cpp_err"; then
3767
 
  ac_header_preproc=yes
3768
 
else
3769
 
  echo "$as_me: failed program was:" >&5
3770
 
sed 's/^/| /' conftest.$ac_ext >&5
3771
 
 
3772
 
  ac_header_preproc=no
3773
 
fi
3774
 
rm -f conftest.err conftest.$ac_ext
3775
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3776
 
echo "${ECHO_T}$ac_header_preproc" >&6
3777
 
 
3778
 
# So?  What about this header?
3779
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3780
 
  yes:no: )
3781
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3782
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3783
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3784
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3785
 
    ac_header_preproc=yes
3786
 
    ;;
3787
 
  no:yes:* )
3788
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3789
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3790
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
3791
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
3792
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3793
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3794
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
3795
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
3796
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3797
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3798
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3799
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3800
 
    (
3801
 
      cat <<\_ASBOX
3802
 
## ---------------------------------- ##
3803
 
## Report this to jylefort@brutele.be ##
3804
 
## ---------------------------------- ##
3805
 
_ASBOX
3806
 
    ) |
3807
 
      sed "s/^/$as_me: WARNING:     /" >&2
3808
 
    ;;
3809
 
esac
3810
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
3811
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3812
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3813
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3814
 
else
3815
 
  eval "$as_ac_Header=\$ac_header_preproc"
3816
 
fi
3817
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3818
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3819
 
 
3820
 
fi
3821
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3822
 
  cat >>confdefs.h <<_ACEOF
3823
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3824
 
_ACEOF
3825
 
 
3826
 
fi
3827
 
 
3828
 
done
3829
 
 
3830
 
    if test $ac_cv_header_locale_h = yes; then
3831
 
    echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
3832
 
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
3833
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
3834
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3835
 
else
3836
 
  cat >conftest.$ac_ext <<_ACEOF
3837
 
/* confdefs.h.  */
3838
 
_ACEOF
3839
 
cat confdefs.h >>conftest.$ac_ext
3840
 
cat >>conftest.$ac_ext <<_ACEOF
3841
 
/* end confdefs.h.  */
3842
 
#include <locale.h>
3843
 
int
3844
 
main ()
3845
 
{
3846
 
return LC_MESSAGES
3847
 
  ;
3848
 
  return 0;
3849
 
}
3850
 
_ACEOF
3851
 
rm -f conftest.$ac_objext conftest$ac_exeext
3852
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3853
 
  (eval $ac_link) 2>conftest.er1
3854
 
  ac_status=$?
3855
 
  grep -v '^ *+' conftest.er1 >conftest.err
3856
 
  rm -f conftest.er1
3857
 
  cat conftest.err >&5
3858
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859
 
  (exit $ac_status); } &&
3860
 
         { ac_try='test -z "$ac_c_werror_flag"
3861
 
                         || test ! -s conftest.err'
3862
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3863
 
  (eval $ac_try) 2>&5
3864
 
  ac_status=$?
3865
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866
 
  (exit $ac_status); }; } &&
3867
 
         { ac_try='test -s conftest$ac_exeext'
3868
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3869
 
  (eval $ac_try) 2>&5
3870
 
  ac_status=$?
3871
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3872
 
  (exit $ac_status); }; }; then
3873
 
  am_cv_val_LC_MESSAGES=yes
3874
 
else
3875
 
  echo "$as_me: failed program was:" >&5
3876
 
sed 's/^/| /' conftest.$ac_ext >&5
3877
 
 
3878
 
am_cv_val_LC_MESSAGES=no
3879
 
fi
3880
 
rm -f conftest.err conftest.$ac_objext \
3881
 
      conftest$ac_exeext conftest.$ac_ext
3882
 
fi
3883
 
echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
3884
 
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
3885
 
    if test $am_cv_val_LC_MESSAGES = yes; then
3886
 
 
3887
 
cat >>confdefs.h <<\_ACEOF
3888
 
#define HAVE_LC_MESSAGES 1
3889
 
_ACEOF
3890
 
 
3891
 
    fi
3892
 
  fi
3893
 
     USE_NLS=yes
3894
 
 
3895
 
 
3896
 
    gt_cv_have_gettext=no
3897
 
 
3898
 
    CATOBJEXT=NONE
3899
 
    XGETTEXT=:
3900
 
    INTLLIBS=
3901
 
 
3902
 
    if test "${ac_cv_header_libintl_h+set}" = set; then
3903
 
  echo "$as_me:$LINENO: checking for libintl.h" >&5
3904
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
3905
 
if test "${ac_cv_header_libintl_h+set}" = set; then
3906
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3907
 
fi
3908
 
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
3909
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
3910
 
else
3911
 
  # Is the header compilable?
3912
 
echo "$as_me:$LINENO: checking libintl.h usability" >&5
3913
 
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
3914
 
cat >conftest.$ac_ext <<_ACEOF
3915
 
/* confdefs.h.  */
3916
 
_ACEOF
3917
 
cat confdefs.h >>conftest.$ac_ext
3918
 
cat >>conftest.$ac_ext <<_ACEOF
3919
 
/* end confdefs.h.  */
3920
 
$ac_includes_default
3921
 
#include <libintl.h>
3922
 
_ACEOF
3923
 
rm -f conftest.$ac_objext
3924
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3925
 
  (eval $ac_compile) 2>conftest.er1
3926
 
  ac_status=$?
3927
 
  grep -v '^ *+' conftest.er1 >conftest.err
3928
 
  rm -f conftest.er1
3929
 
  cat conftest.err >&5
3930
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931
 
  (exit $ac_status); } &&
3932
 
         { ac_try='test -z "$ac_c_werror_flag"
3933
 
                         || test ! -s conftest.err'
3934
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3935
 
  (eval $ac_try) 2>&5
3936
 
  ac_status=$?
3937
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3938
 
  (exit $ac_status); }; } &&
3939
 
         { ac_try='test -s conftest.$ac_objext'
3940
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3941
 
  (eval $ac_try) 2>&5
3942
 
  ac_status=$?
3943
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944
 
  (exit $ac_status); }; }; then
3945
 
  ac_header_compiler=yes
3946
 
else
3947
 
  echo "$as_me: failed program was:" >&5
3948
 
sed 's/^/| /' conftest.$ac_ext >&5
3949
 
 
3950
 
ac_header_compiler=no
3951
 
fi
3952
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3953
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3954
 
echo "${ECHO_T}$ac_header_compiler" >&6
3955
 
 
3956
 
# Is the header present?
3957
 
echo "$as_me:$LINENO: checking libintl.h presence" >&5
3958
 
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
3959
 
cat >conftest.$ac_ext <<_ACEOF
3960
 
/* confdefs.h.  */
3961
 
_ACEOF
3962
 
cat confdefs.h >>conftest.$ac_ext
3963
 
cat >>conftest.$ac_ext <<_ACEOF
3964
 
/* end confdefs.h.  */
3965
 
#include <libintl.h>
3966
 
_ACEOF
3967
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3968
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3969
 
  ac_status=$?
3970
 
  grep -v '^ *+' conftest.er1 >conftest.err
3971
 
  rm -f conftest.er1
3972
 
  cat conftest.err >&5
3973
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3974
 
  (exit $ac_status); } >/dev/null; then
3975
 
  if test -s conftest.err; then
3976
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3977
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3978
 
  else
3979
 
    ac_cpp_err=
3980
 
  fi
3981
 
else
3982
 
  ac_cpp_err=yes
3983
 
fi
3984
 
if test -z "$ac_cpp_err"; then
3985
 
  ac_header_preproc=yes
3986
 
else
3987
 
  echo "$as_me: failed program was:" >&5
3988
 
sed 's/^/| /' conftest.$ac_ext >&5
3989
 
 
3990
 
  ac_header_preproc=no
3991
 
fi
3992
 
rm -f conftest.err conftest.$ac_ext
3993
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3994
 
echo "${ECHO_T}$ac_header_preproc" >&6
3995
 
 
3996
 
# So?  What about this header?
3997
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3998
 
  yes:no: )
3999
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4000
 
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4001
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
4002
 
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
4003
 
    ac_header_preproc=yes
4004
 
    ;;
4005
 
  no:yes:* )
4006
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4007
 
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4008
 
    { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
4009
 
echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
4010
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
4011
 
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
4012
 
    { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
4013
 
echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
4014
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4015
 
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
4016
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
4017
 
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
4018
 
    (
4019
 
      cat <<\_ASBOX
4020
 
## ---------------------------------- ##
4021
 
## Report this to jylefort@brutele.be ##
4022
 
## ---------------------------------- ##
4023
 
_ASBOX
4024
 
    ) |
4025
 
      sed "s/^/$as_me: WARNING:     /" >&2
4026
 
    ;;
4027
 
esac
4028
 
echo "$as_me:$LINENO: checking for libintl.h" >&5
4029
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4030
 
if test "${ac_cv_header_libintl_h+set}" = set; then
4031
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4032
 
else
4033
 
  ac_cv_header_libintl_h=$ac_header_preproc
4034
 
fi
4035
 
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4036
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4037
 
 
4038
 
fi
4039
 
if test $ac_cv_header_libintl_h = yes; then
4040
 
  gt_cv_func_dgettext_libintl="no"
4041
 
      libintl_extra_libs=""
4042
 
 
4043
 
      #
4044
 
      # First check in libc
4045
 
      #
4046
 
      echo "$as_me:$LINENO: checking for ngettext in libc" >&5
4047
 
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6
4048
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then
4049
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4050
 
else
4051
 
  cat >conftest.$ac_ext <<_ACEOF
4052
 
/* confdefs.h.  */
4053
 
_ACEOF
4054
 
cat confdefs.h >>conftest.$ac_ext
4055
 
cat >>conftest.$ac_ext <<_ACEOF
4056
 
/* end confdefs.h.  */
4057
 
 
4058
 
#include <libintl.h>
4059
 
 
4060
 
int
4061
 
main ()
4062
 
{
4063
 
return !ngettext ("","", 1)
4064
 
  ;
4065
 
  return 0;
4066
 
}
4067
 
_ACEOF
4068
 
rm -f conftest.$ac_objext conftest$ac_exeext
4069
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4070
 
  (eval $ac_link) 2>conftest.er1
4071
 
  ac_status=$?
4072
 
  grep -v '^ *+' conftest.er1 >conftest.err
4073
 
  rm -f conftest.er1
4074
 
  cat conftest.err >&5
4075
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076
 
  (exit $ac_status); } &&
4077
 
         { ac_try='test -z "$ac_c_werror_flag"
4078
 
                         || test ! -s conftest.err'
4079
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4080
 
  (eval $ac_try) 2>&5
4081
 
  ac_status=$?
4082
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083
 
  (exit $ac_status); }; } &&
4084
 
         { ac_try='test -s conftest$ac_exeext'
4085
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4086
 
  (eval $ac_try) 2>&5
4087
 
  ac_status=$?
4088
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089
 
  (exit $ac_status); }; }; then
4090
 
  gt_cv_func_ngettext_libc=yes
4091
 
else
4092
 
  echo "$as_me: failed program was:" >&5
4093
 
sed 's/^/| /' conftest.$ac_ext >&5
4094
 
 
4095
 
gt_cv_func_ngettext_libc=no
4096
 
fi
4097
 
rm -f conftest.err conftest.$ac_objext \
4098
 
      conftest$ac_exeext conftest.$ac_ext
4099
 
 
4100
 
fi
4101
 
echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
4102
 
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6
4103
 
 
4104
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4105
 
              echo "$as_me:$LINENO: checking for dgettext in libc" >&5
4106
 
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6
4107
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then
4108
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4109
 
else
4110
 
  cat >conftest.$ac_ext <<_ACEOF
4111
 
/* confdefs.h.  */
4112
 
_ACEOF
4113
 
cat confdefs.h >>conftest.$ac_ext
4114
 
cat >>conftest.$ac_ext <<_ACEOF
4115
 
/* end confdefs.h.  */
4116
 
 
4117
 
#include <libintl.h>
4118
 
 
4119
 
int
4120
 
main ()
4121
 
{
4122
 
return !dgettext ("","")
4123
 
  ;
4124
 
  return 0;
4125
 
}
4126
 
_ACEOF
4127
 
rm -f conftest.$ac_objext conftest$ac_exeext
4128
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4129
 
  (eval $ac_link) 2>conftest.er1
4130
 
  ac_status=$?
4131
 
  grep -v '^ *+' conftest.er1 >conftest.err
4132
 
  rm -f conftest.er1
4133
 
  cat conftest.err >&5
4134
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135
 
  (exit $ac_status); } &&
4136
 
         { ac_try='test -z "$ac_c_werror_flag"
4137
 
                         || test ! -s conftest.err'
4138
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4139
 
  (eval $ac_try) 2>&5
4140
 
  ac_status=$?
4141
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4142
 
  (exit $ac_status); }; } &&
4143
 
         { ac_try='test -s conftest$ac_exeext'
4144
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4145
 
  (eval $ac_try) 2>&5
4146
 
  ac_status=$?
4147
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4148
 
  (exit $ac_status); }; }; then
4149
 
  gt_cv_func_dgettext_libc=yes
4150
 
else
4151
 
  echo "$as_me: failed program was:" >&5
4152
 
sed 's/^/| /' conftest.$ac_ext >&5
4153
 
 
4154
 
gt_cv_func_dgettext_libc=no
4155
 
fi
4156
 
rm -f conftest.err conftest.$ac_objext \
4157
 
      conftest$ac_exeext conftest.$ac_ext
4158
 
 
4159
 
fi
4160
 
echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
4161
 
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6
4162
 
      fi
4163
 
 
4164
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4165
 
 
4166
 
for ac_func in bind_textdomain_codeset
4167
 
do
4168
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4169
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
4170
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4171
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
4172
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4173
 
else
4174
 
  cat >conftest.$ac_ext <<_ACEOF
4175
 
/* confdefs.h.  */
4176
 
_ACEOF
4177
 
cat confdefs.h >>conftest.$ac_ext
4178
 
cat >>conftest.$ac_ext <<_ACEOF
4179
 
/* end confdefs.h.  */
4180
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4181
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4182
 
#define $ac_func innocuous_$ac_func
4183
 
 
4184
 
/* System header to define __stub macros and hopefully few prototypes,
4185
 
    which can conflict with char $ac_func (); below.
4186
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4187
 
    <limits.h> exists even on freestanding compilers.  */
4188
 
 
4189
 
#ifdef __STDC__
4190
 
# include <limits.h>
4191
 
#else
4192
 
# include <assert.h>
4193
 
#endif
4194
 
 
4195
 
#undef $ac_func
4196
 
 
4197
 
/* Override any gcc2 internal prototype to avoid an error.  */
4198
 
#ifdef __cplusplus
4199
 
extern "C"
4200
 
{
4201
 
#endif
4202
 
/* We use char because int might match the return type of a gcc2
4203
 
   builtin and then its argument prototype would still apply.  */
4204
 
char $ac_func ();
4205
 
/* The GNU C library defines this for functions which it implements
4206
 
    to always fail with ENOSYS.  Some functions are actually named
4207
 
    something starting with __ and the normal name is an alias.  */
4208
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4209
 
choke me
4210
 
#else
4211
 
char (*f) () = $ac_func;
4212
 
#endif
4213
 
#ifdef __cplusplus
4214
 
}
4215
 
#endif
4216
 
 
4217
 
int
4218
 
main ()
4219
 
{
4220
 
return f != $ac_func;
4221
 
  ;
4222
 
  return 0;
4223
 
}
4224
 
_ACEOF
4225
 
rm -f conftest.$ac_objext conftest$ac_exeext
4226
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4227
 
  (eval $ac_link) 2>conftest.er1
4228
 
  ac_status=$?
4229
 
  grep -v '^ *+' conftest.er1 >conftest.err
4230
 
  rm -f conftest.er1
4231
 
  cat conftest.err >&5
4232
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233
 
  (exit $ac_status); } &&
4234
 
         { ac_try='test -z "$ac_c_werror_flag"
4235
 
                         || test ! -s conftest.err'
4236
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4237
 
  (eval $ac_try) 2>&5
4238
 
  ac_status=$?
4239
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4240
 
  (exit $ac_status); }; } &&
4241
 
         { ac_try='test -s conftest$ac_exeext'
4242
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4243
 
  (eval $ac_try) 2>&5
4244
 
  ac_status=$?
4245
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4246
 
  (exit $ac_status); }; }; then
4247
 
  eval "$as_ac_var=yes"
4248
 
else
4249
 
  echo "$as_me: failed program was:" >&5
4250
 
sed 's/^/| /' conftest.$ac_ext >&5
4251
 
 
4252
 
eval "$as_ac_var=no"
4253
 
fi
4254
 
rm -f conftest.err conftest.$ac_objext \
4255
 
      conftest$ac_exeext conftest.$ac_ext
4256
 
fi
4257
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4258
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4259
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
4260
 
  cat >>confdefs.h <<_ACEOF
4261
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4262
 
_ACEOF
4263
 
 
4264
 
fi
4265
 
done
4266
 
 
4267
 
      fi
4268
 
 
4269
 
      #
4270
 
      # If we don't have everything we want, check in libintl
4271
 
      #
4272
 
      if test "$gt_cv_func_dgettext_libc" != "yes" \
4273
 
         || test "$gt_cv_func_ngettext_libc" != "yes" \
4274
 
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
4275
 
 
4276
 
        echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
4277
 
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
4278
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
4279
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4280
 
else
4281
 
  ac_check_lib_save_LIBS=$LIBS
4282
 
LIBS="-lintl  $LIBS"
4283
 
cat >conftest.$ac_ext <<_ACEOF
4284
 
/* confdefs.h.  */
4285
 
_ACEOF
4286
 
cat confdefs.h >>conftest.$ac_ext
4287
 
cat >>conftest.$ac_ext <<_ACEOF
4288
 
/* end confdefs.h.  */
4289
 
 
4290
 
/* Override any gcc2 internal prototype to avoid an error.  */
4291
 
#ifdef __cplusplus
4292
 
extern "C"
4293
 
#endif
4294
 
/* We use char because int might match the return type of a gcc2
4295
 
   builtin and then its argument prototype would still apply.  */
4296
 
char bindtextdomain ();
4297
 
int
4298
 
main ()
4299
 
{
4300
 
bindtextdomain ();
4301
 
  ;
4302
 
  return 0;
4303
 
}
4304
 
_ACEOF
4305
 
rm -f conftest.$ac_objext conftest$ac_exeext
4306
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4307
 
  (eval $ac_link) 2>conftest.er1
4308
 
  ac_status=$?
4309
 
  grep -v '^ *+' conftest.er1 >conftest.err
4310
 
  rm -f conftest.er1
4311
 
  cat conftest.err >&5
4312
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313
 
  (exit $ac_status); } &&
4314
 
         { ac_try='test -z "$ac_c_werror_flag"
4315
 
                         || test ! -s conftest.err'
4316
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4317
 
  (eval $ac_try) 2>&5
4318
 
  ac_status=$?
4319
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4320
 
  (exit $ac_status); }; } &&
4321
 
         { ac_try='test -s conftest$ac_exeext'
4322
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4323
 
  (eval $ac_try) 2>&5
4324
 
  ac_status=$?
4325
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326
 
  (exit $ac_status); }; }; then
4327
 
  ac_cv_lib_intl_bindtextdomain=yes
4328
 
else
4329
 
  echo "$as_me: failed program was:" >&5
4330
 
sed 's/^/| /' conftest.$ac_ext >&5
4331
 
 
4332
 
ac_cv_lib_intl_bindtextdomain=no
4333
 
fi
4334
 
rm -f conftest.err conftest.$ac_objext \
4335
 
      conftest$ac_exeext conftest.$ac_ext
4336
 
LIBS=$ac_check_lib_save_LIBS
4337
 
fi
4338
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
4339
 
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
4340
 
if test $ac_cv_lib_intl_bindtextdomain = yes; then
4341
 
  echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
4342
 
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6
4343
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
4344
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4345
 
else
4346
 
  ac_check_lib_save_LIBS=$LIBS
4347
 
LIBS="-lintl  $LIBS"
4348
 
cat >conftest.$ac_ext <<_ACEOF
4349
 
/* confdefs.h.  */
4350
 
_ACEOF
4351
 
cat confdefs.h >>conftest.$ac_ext
4352
 
cat >>conftest.$ac_ext <<_ACEOF
4353
 
/* end confdefs.h.  */
4354
 
 
4355
 
/* Override any gcc2 internal prototype to avoid an error.  */
4356
 
#ifdef __cplusplus
4357
 
extern "C"
4358
 
#endif
4359
 
/* We use char because int might match the return type of a gcc2
4360
 
   builtin and then its argument prototype would still apply.  */
4361
 
char ngettext ();
4362
 
int
4363
 
main ()
4364
 
{
4365
 
ngettext ();
4366
 
  ;
4367
 
  return 0;
4368
 
}
4369
 
_ACEOF
4370
 
rm -f conftest.$ac_objext conftest$ac_exeext
4371
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4372
 
  (eval $ac_link) 2>conftest.er1
4373
 
  ac_status=$?
4374
 
  grep -v '^ *+' conftest.er1 >conftest.err
4375
 
  rm -f conftest.er1
4376
 
  cat conftest.err >&5
4377
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378
 
  (exit $ac_status); } &&
4379
 
         { ac_try='test -z "$ac_c_werror_flag"
4380
 
                         || test ! -s conftest.err'
4381
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4382
 
  (eval $ac_try) 2>&5
4383
 
  ac_status=$?
4384
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385
 
  (exit $ac_status); }; } &&
4386
 
         { ac_try='test -s conftest$ac_exeext'
4387
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4388
 
  (eval $ac_try) 2>&5
4389
 
  ac_status=$?
4390
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4391
 
  (exit $ac_status); }; }; then
4392
 
  ac_cv_lib_intl_ngettext=yes
4393
 
else
4394
 
  echo "$as_me: failed program was:" >&5
4395
 
sed 's/^/| /' conftest.$ac_ext >&5
4396
 
 
4397
 
ac_cv_lib_intl_ngettext=no
4398
 
fi
4399
 
rm -f conftest.err conftest.$ac_objext \
4400
 
      conftest$ac_exeext conftest.$ac_ext
4401
 
LIBS=$ac_check_lib_save_LIBS
4402
 
fi
4403
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
4404
 
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6
4405
 
if test $ac_cv_lib_intl_ngettext = yes; then
4406
 
  echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
4407
 
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
4408
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
4409
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4410
 
else
4411
 
  ac_check_lib_save_LIBS=$LIBS
4412
 
LIBS="-lintl  $LIBS"
4413
 
cat >conftest.$ac_ext <<_ACEOF
4414
 
/* confdefs.h.  */
4415
 
_ACEOF
4416
 
cat confdefs.h >>conftest.$ac_ext
4417
 
cat >>conftest.$ac_ext <<_ACEOF
4418
 
/* end confdefs.h.  */
4419
 
 
4420
 
/* Override any gcc2 internal prototype to avoid an error.  */
4421
 
#ifdef __cplusplus
4422
 
extern "C"
4423
 
#endif
4424
 
/* We use char because int might match the return type of a gcc2
4425
 
   builtin and then its argument prototype would still apply.  */
4426
 
char dgettext ();
4427
 
int
4428
 
main ()
4429
 
{
4430
 
dgettext ();
4431
 
  ;
4432
 
  return 0;
4433
 
}
4434
 
_ACEOF
4435
 
rm -f conftest.$ac_objext conftest$ac_exeext
4436
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4437
 
  (eval $ac_link) 2>conftest.er1
4438
 
  ac_status=$?
4439
 
  grep -v '^ *+' conftest.er1 >conftest.err
4440
 
  rm -f conftest.er1
4441
 
  cat conftest.err >&5
4442
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4443
 
  (exit $ac_status); } &&
4444
 
         { ac_try='test -z "$ac_c_werror_flag"
4445
 
                         || test ! -s conftest.err'
4446
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4447
 
  (eval $ac_try) 2>&5
4448
 
  ac_status=$?
4449
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4450
 
  (exit $ac_status); }; } &&
4451
 
         { ac_try='test -s conftest$ac_exeext'
4452
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4453
 
  (eval $ac_try) 2>&5
4454
 
  ac_status=$?
4455
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4456
 
  (exit $ac_status); }; }; then
4457
 
  ac_cv_lib_intl_dgettext=yes
4458
 
else
4459
 
  echo "$as_me: failed program was:" >&5
4460
 
sed 's/^/| /' conftest.$ac_ext >&5
4461
 
 
4462
 
ac_cv_lib_intl_dgettext=no
4463
 
fi
4464
 
rm -f conftest.err conftest.$ac_objext \
4465
 
      conftest$ac_exeext conftest.$ac_ext
4466
 
LIBS=$ac_check_lib_save_LIBS
4467
 
fi
4468
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
4469
 
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
4470
 
if test $ac_cv_lib_intl_dgettext = yes; then
4471
 
  gt_cv_func_dgettext_libintl=yes
4472
 
fi
4473
 
 
4474
 
fi
4475
 
 
4476
 
fi
4477
 
 
4478
 
 
4479
 
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
4480
 
          echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
4481
 
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6
4482
 
          echo "$as_me:$LINENO: result: " >&5
4483
 
echo "${ECHO_T}" >&6
4484
 
          echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
4485
 
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6
4486
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
4487
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4488
 
else
4489
 
  ac_check_lib_save_LIBS=$LIBS
4490
 
LIBS="-lintl -liconv $LIBS"
4491
 
cat >conftest.$ac_ext <<_ACEOF
4492
 
/* confdefs.h.  */
4493
 
_ACEOF
4494
 
cat confdefs.h >>conftest.$ac_ext
4495
 
cat >>conftest.$ac_ext <<_ACEOF
4496
 
/* end confdefs.h.  */
4497
 
 
4498
 
/* Override any gcc2 internal prototype to avoid an error.  */
4499
 
#ifdef __cplusplus
4500
 
extern "C"
4501
 
#endif
4502
 
/* We use char because int might match the return type of a gcc2
4503
 
   builtin and then its argument prototype would still apply.  */
4504
 
char ngettext ();
4505
 
int
4506
 
main ()
4507
 
{
4508
 
ngettext ();
4509
 
  ;
4510
 
  return 0;
4511
 
}
4512
 
_ACEOF
4513
 
rm -f conftest.$ac_objext conftest$ac_exeext
4514
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4515
 
  (eval $ac_link) 2>conftest.er1
4516
 
  ac_status=$?
4517
 
  grep -v '^ *+' conftest.er1 >conftest.err
4518
 
  rm -f conftest.er1
4519
 
  cat conftest.err >&5
4520
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521
 
  (exit $ac_status); } &&
4522
 
         { ac_try='test -z "$ac_c_werror_flag"
4523
 
                         || test ! -s conftest.err'
4524
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4525
 
  (eval $ac_try) 2>&5
4526
 
  ac_status=$?
4527
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528
 
  (exit $ac_status); }; } &&
4529
 
         { ac_try='test -s conftest$ac_exeext'
4530
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4531
 
  (eval $ac_try) 2>&5
4532
 
  ac_status=$?
4533
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4534
 
  (exit $ac_status); }; }; then
4535
 
  ac_cv_lib_intl_ngettext=yes
4536
 
else
4537
 
  echo "$as_me: failed program was:" >&5
4538
 
sed 's/^/| /' conftest.$ac_ext >&5
4539
 
 
4540
 
ac_cv_lib_intl_ngettext=no
4541
 
fi
4542
 
rm -f conftest.err conftest.$ac_objext \
4543
 
      conftest$ac_exeext conftest.$ac_ext
4544
 
LIBS=$ac_check_lib_save_LIBS
4545
 
fi
4546
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
4547
 
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6
4548
 
if test $ac_cv_lib_intl_ngettext = yes; then
4549
 
  echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
4550
 
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6
4551
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
4552
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4553
 
else
4554
 
  ac_check_lib_save_LIBS=$LIBS
4555
 
LIBS="-lintl -liconv $LIBS"
4556
 
cat >conftest.$ac_ext <<_ACEOF
4557
 
/* confdefs.h.  */
4558
 
_ACEOF
4559
 
cat confdefs.h >>conftest.$ac_ext
4560
 
cat >>conftest.$ac_ext <<_ACEOF
4561
 
/* end confdefs.h.  */
4562
 
 
4563
 
/* Override any gcc2 internal prototype to avoid an error.  */
4564
 
#ifdef __cplusplus
4565
 
extern "C"
4566
 
#endif
4567
 
/* We use char because int might match the return type of a gcc2
4568
 
   builtin and then its argument prototype would still apply.  */
4569
 
char dcgettext ();
4570
 
int
4571
 
main ()
4572
 
{
4573
 
dcgettext ();
4574
 
  ;
4575
 
  return 0;
4576
 
}
4577
 
_ACEOF
4578
 
rm -f conftest.$ac_objext conftest$ac_exeext
4579
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4580
 
  (eval $ac_link) 2>conftest.er1
4581
 
  ac_status=$?
4582
 
  grep -v '^ *+' conftest.er1 >conftest.err
4583
 
  rm -f conftest.er1
4584
 
  cat conftest.err >&5
4585
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4586
 
  (exit $ac_status); } &&
4587
 
         { ac_try='test -z "$ac_c_werror_flag"
4588
 
                         || test ! -s conftest.err'
4589
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4590
 
  (eval $ac_try) 2>&5
4591
 
  ac_status=$?
4592
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593
 
  (exit $ac_status); }; } &&
4594
 
         { ac_try='test -s conftest$ac_exeext'
4595
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4596
 
  (eval $ac_try) 2>&5
4597
 
  ac_status=$?
4598
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599
 
  (exit $ac_status); }; }; then
4600
 
  ac_cv_lib_intl_dcgettext=yes
4601
 
else
4602
 
  echo "$as_me: failed program was:" >&5
4603
 
sed 's/^/| /' conftest.$ac_ext >&5
4604
 
 
4605
 
ac_cv_lib_intl_dcgettext=no
4606
 
fi
4607
 
rm -f conftest.err conftest.$ac_objext \
4608
 
      conftest$ac_exeext conftest.$ac_ext
4609
 
LIBS=$ac_check_lib_save_LIBS
4610
 
fi
4611
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
4612
 
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6
4613
 
if test $ac_cv_lib_intl_dcgettext = yes; then
4614
 
  gt_cv_func_dgettext_libintl=yes
4615
 
                        libintl_extra_libs=-liconv
4616
 
else
4617
 
  :
4618
 
fi
4619
 
 
4620
 
else
4621
 
  :
4622
 
fi
4623
 
 
4624
 
        fi
4625
 
 
4626
 
        #
4627
 
        # If we found libintl, then check in it for bind_textdomain_codeset();
4628
 
        # we'll prefer libc if neither have bind_textdomain_codeset(),
4629
 
        # and both have dgettext and ngettext
4630
 
        #
4631
 
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
4632
 
          glib_save_LIBS="$LIBS"
4633
 
          LIBS="$LIBS -lintl $libintl_extra_libs"
4634
 
          unset ac_cv_func_bind_textdomain_codeset
4635
 
 
4636
 
for ac_func in bind_textdomain_codeset
4637
 
do
4638
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4639
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
4640
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4641
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
4642
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4643
 
else
4644
 
  cat >conftest.$ac_ext <<_ACEOF
4645
 
/* confdefs.h.  */
4646
 
_ACEOF
4647
 
cat confdefs.h >>conftest.$ac_ext
4648
 
cat >>conftest.$ac_ext <<_ACEOF
4649
 
/* end confdefs.h.  */
4650
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4651
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4652
 
#define $ac_func innocuous_$ac_func
4653
 
 
4654
 
/* System header to define __stub macros and hopefully few prototypes,
4655
 
    which can conflict with char $ac_func (); below.
4656
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4657
 
    <limits.h> exists even on freestanding compilers.  */
4658
 
 
4659
 
#ifdef __STDC__
4660
 
# include <limits.h>
4661
 
#else
4662
 
# include <assert.h>
4663
 
#endif
4664
 
 
4665
 
#undef $ac_func
4666
 
 
4667
 
/* Override any gcc2 internal prototype to avoid an error.  */
4668
 
#ifdef __cplusplus
4669
 
extern "C"
4670
 
{
4671
 
#endif
4672
 
/* We use char because int might match the return type of a gcc2
4673
 
   builtin and then its argument prototype would still apply.  */
4674
 
char $ac_func ();
4675
 
/* The GNU C library defines this for functions which it implements
4676
 
    to always fail with ENOSYS.  Some functions are actually named
4677
 
    something starting with __ and the normal name is an alias.  */
4678
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4679
 
choke me
4680
 
#else
4681
 
char (*f) () = $ac_func;
4682
 
#endif
4683
 
#ifdef __cplusplus
4684
 
}
4685
 
#endif
4686
 
 
4687
 
int
4688
 
main ()
4689
 
{
4690
 
return f != $ac_func;
4691
 
  ;
4692
 
  return 0;
4693
 
}
4694
 
_ACEOF
4695
 
rm -f conftest.$ac_objext conftest$ac_exeext
4696
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4697
 
  (eval $ac_link) 2>conftest.er1
4698
 
  ac_status=$?
4699
 
  grep -v '^ *+' conftest.er1 >conftest.err
4700
 
  rm -f conftest.er1
4701
 
  cat conftest.err >&5
4702
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703
 
  (exit $ac_status); } &&
4704
 
         { ac_try='test -z "$ac_c_werror_flag"
4705
 
                         || test ! -s conftest.err'
4706
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4707
 
  (eval $ac_try) 2>&5
4708
 
  ac_status=$?
4709
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710
 
  (exit $ac_status); }; } &&
4711
 
         { ac_try='test -s conftest$ac_exeext'
4712
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4713
 
  (eval $ac_try) 2>&5
4714
 
  ac_status=$?
4715
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4716
 
  (exit $ac_status); }; }; then
4717
 
  eval "$as_ac_var=yes"
4718
 
else
4719
 
  echo "$as_me: failed program was:" >&5
4720
 
sed 's/^/| /' conftest.$ac_ext >&5
4721
 
 
4722
 
eval "$as_ac_var=no"
4723
 
fi
4724
 
rm -f conftest.err conftest.$ac_objext \
4725
 
      conftest$ac_exeext conftest.$ac_ext
4726
 
fi
4727
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4728
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4729
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
4730
 
  cat >>confdefs.h <<_ACEOF
4731
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4732
 
_ACEOF
4733
 
 
4734
 
fi
4735
 
done
4736
 
 
4737
 
          LIBS="$glib_save_LIBS"
4738
 
 
4739
 
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
4740
 
            gt_cv_func_dgettext_libc=no
4741
 
          else
4742
 
            if test "$gt_cv_func_dgettext_libc" = "yes" \
4743
 
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
4744
 
              gt_cv_func_dgettext_libintl=no
4745
 
            fi
4746
 
          fi
4747
 
        fi
4748
 
      fi
4749
 
 
4750
 
      if test "$gt_cv_func_dgettext_libc" = "yes" \
4751
 
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
4752
 
        gt_cv_have_gettext=yes
4753
 
      fi
4754
 
 
4755
 
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
4756
 
        INTLLIBS="-lintl $libintl_extra_libs"
4757
 
      fi
4758
 
 
4759
 
      if test "$gt_cv_have_gettext" = "yes"; then
4760
 
 
4761
 
cat >>confdefs.h <<\_ACEOF
4762
 
#define HAVE_GETTEXT 1
4763
 
_ACEOF
4764
 
 
4765
 
        # Extract the first word of "msgfmt", so it can be a program name with args.
4766
 
set dummy msgfmt; ac_word=$2
4767
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4768
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4769
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
4770
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4771
 
else
4772
 
  case "$MSGFMT" in
4773
 
  /*)
4774
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4775
 
  ;;
4776
 
  *)
4777
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
4778
 
  for ac_dir in $PATH; do
4779
 
    test -z "$ac_dir" && ac_dir=.
4780
 
    if test -f $ac_dir/$ac_word; then
4781
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
4782
 
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
4783
 
        break
4784
 
      fi
4785
 
    fi
4786
 
  done
4787
 
  IFS="$ac_save_ifs"
4788
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
4789
 
  ;;
4790
 
esac
4791
 
fi
4792
 
MSGFMT="$ac_cv_path_MSGFMT"
4793
 
if test "$MSGFMT" != "no"; then
4794
 
  echo "$as_me:$LINENO: result: $MSGFMT" >&5
4795
 
echo "${ECHO_T}$MSGFMT" >&6
4796
 
else
4797
 
  echo "$as_me:$LINENO: result: no" >&5
4798
 
echo "${ECHO_T}no" >&6
4799
 
fi
4800
 
        if test "$MSGFMT" != "no"; then
4801
 
          glib_save_LIBS="$LIBS"
4802
 
          LIBS="$LIBS $INTLLIBS"
4803
 
 
4804
 
for ac_func in dcgettext
4805
 
do
4806
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4807
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
4808
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4809
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
4810
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4811
 
else
4812
 
  cat >conftest.$ac_ext <<_ACEOF
4813
 
/* confdefs.h.  */
4814
 
_ACEOF
4815
 
cat confdefs.h >>conftest.$ac_ext
4816
 
cat >>conftest.$ac_ext <<_ACEOF
4817
 
/* end confdefs.h.  */
4818
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4819
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4820
 
#define $ac_func innocuous_$ac_func
4821
 
 
4822
 
/* System header to define __stub macros and hopefully few prototypes,
4823
 
    which can conflict with char $ac_func (); below.
4824
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4825
 
    <limits.h> exists even on freestanding compilers.  */
4826
 
 
4827
 
#ifdef __STDC__
4828
 
# include <limits.h>
4829
 
#else
4830
 
# include <assert.h>
4831
 
#endif
4832
 
 
4833
 
#undef $ac_func
4834
 
 
4835
 
/* Override any gcc2 internal prototype to avoid an error.  */
4836
 
#ifdef __cplusplus
4837
 
extern "C"
4838
 
{
4839
 
#endif
4840
 
/* We use char because int might match the return type of a gcc2
4841
 
   builtin and then its argument prototype would still apply.  */
4842
 
char $ac_func ();
4843
 
/* The GNU C library defines this for functions which it implements
4844
 
    to always fail with ENOSYS.  Some functions are actually named
4845
 
    something starting with __ and the normal name is an alias.  */
4846
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4847
 
choke me
4848
 
#else
4849
 
char (*f) () = $ac_func;
4850
 
#endif
4851
 
#ifdef __cplusplus
4852
 
}
4853
 
#endif
4854
 
 
4855
 
int
4856
 
main ()
4857
 
{
4858
 
return f != $ac_func;
4859
 
  ;
4860
 
  return 0;
4861
 
}
4862
 
_ACEOF
4863
 
rm -f conftest.$ac_objext conftest$ac_exeext
4864
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4865
 
  (eval $ac_link) 2>conftest.er1
4866
 
  ac_status=$?
4867
 
  grep -v '^ *+' conftest.er1 >conftest.err
4868
 
  rm -f conftest.er1
4869
 
  cat conftest.err >&5
4870
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871
 
  (exit $ac_status); } &&
4872
 
         { ac_try='test -z "$ac_c_werror_flag"
4873
 
                         || test ! -s conftest.err'
4874
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4875
 
  (eval $ac_try) 2>&5
4876
 
  ac_status=$?
4877
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878
 
  (exit $ac_status); }; } &&
4879
 
         { ac_try='test -s conftest$ac_exeext'
4880
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4881
 
  (eval $ac_try) 2>&5
4882
 
  ac_status=$?
4883
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884
 
  (exit $ac_status); }; }; then
4885
 
  eval "$as_ac_var=yes"
4886
 
else
4887
 
  echo "$as_me: failed program was:" >&5
4888
 
sed 's/^/| /' conftest.$ac_ext >&5
4889
 
 
4890
 
eval "$as_ac_var=no"
4891
 
fi
4892
 
rm -f conftest.err conftest.$ac_objext \
4893
 
      conftest$ac_exeext conftest.$ac_ext
4894
 
fi
4895
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4896
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4897
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
4898
 
  cat >>confdefs.h <<_ACEOF
4899
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4900
 
_ACEOF
4901
 
 
4902
 
fi
4903
 
done
4904
 
 
4905
 
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
4906
 
set dummy gmsgfmt; ac_word=$2
4907
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4908
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4909
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
4910
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4911
 
else
4912
 
  case $GMSGFMT in
4913
 
  [\\/]* | ?:[\\/]*)
4914
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4915
 
  ;;
4916
 
  *)
4917
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4918
 
for as_dir in $PATH
4919
 
do
4920
 
  IFS=$as_save_IFS
4921
 
  test -z "$as_dir" && as_dir=.
4922
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4923
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4924
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4925
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4926
 
    break 2
4927
 
  fi
4928
 
done
4929
 
done
4930
 
 
4931
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4932
 
  ;;
4933
 
esac
4934
 
fi
4935
 
GMSGFMT=$ac_cv_path_GMSGFMT
4936
 
 
4937
 
if test -n "$GMSGFMT"; then
4938
 
  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
4939
 
echo "${ECHO_T}$GMSGFMT" >&6
4940
 
else
4941
 
  echo "$as_me:$LINENO: result: no" >&5
4942
 
echo "${ECHO_T}no" >&6
4943
 
fi
4944
 
 
4945
 
          # Extract the first word of "xgettext", so it can be a program name with args.
4946
 
set dummy xgettext; ac_word=$2
4947
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4948
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4949
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
4950
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4951
 
else
4952
 
  case "$XGETTEXT" in
4953
 
  /*)
4954
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4955
 
  ;;
4956
 
  *)
4957
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
4958
 
  for ac_dir in $PATH; do
4959
 
    test -z "$ac_dir" && ac_dir=.
4960
 
    if test -f $ac_dir/$ac_word; then
4961
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
4962
 
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
4963
 
        break
4964
 
      fi
4965
 
    fi
4966
 
  done
4967
 
  IFS="$ac_save_ifs"
4968
 
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4969
 
  ;;
4970
 
esac
4971
 
fi
4972
 
XGETTEXT="$ac_cv_path_XGETTEXT"
4973
 
if test "$XGETTEXT" != ":"; then
4974
 
  echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4975
 
echo "${ECHO_T}$XGETTEXT" >&6
4976
 
else
4977
 
  echo "$as_me:$LINENO: result: no" >&5
4978
 
echo "${ECHO_T}no" >&6
4979
 
fi
4980
 
 
4981
 
          cat >conftest.$ac_ext <<_ACEOF
4982
 
/* confdefs.h.  */
4983
 
_ACEOF
4984
 
cat confdefs.h >>conftest.$ac_ext
4985
 
cat >>conftest.$ac_ext <<_ACEOF
4986
 
/* end confdefs.h.  */
4987
 
 
4988
 
int
4989
 
main ()
4990
 
{
4991
 
extern int _nl_msg_cat_cntr;
4992
 
                         return _nl_msg_cat_cntr
4993
 
  ;
4994
 
  return 0;
4995
 
}
4996
 
_ACEOF
4997
 
rm -f conftest.$ac_objext conftest$ac_exeext
4998
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4999
 
  (eval $ac_link) 2>conftest.er1
5000
 
  ac_status=$?
5001
 
  grep -v '^ *+' conftest.er1 >conftest.err
5002
 
  rm -f conftest.er1
5003
 
  cat conftest.err >&5
5004
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005
 
  (exit $ac_status); } &&
5006
 
         { ac_try='test -z "$ac_c_werror_flag"
5007
 
                         || test ! -s conftest.err'
5008
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5009
 
  (eval $ac_try) 2>&5
5010
 
  ac_status=$?
5011
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012
 
  (exit $ac_status); }; } &&
5013
 
         { ac_try='test -s conftest$ac_exeext'
5014
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5015
 
  (eval $ac_try) 2>&5
5016
 
  ac_status=$?
5017
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5018
 
  (exit $ac_status); }; }; then
5019
 
  CATOBJEXT=.gmo
5020
 
             DATADIRNAME=share
5021
 
else
5022
 
  echo "$as_me: failed program was:" >&5
5023
 
sed 's/^/| /' conftest.$ac_ext >&5
5024
 
 
5025
 
case $host in
5026
 
            *-*-solaris*)
5027
 
                                                                echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
5028
 
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6
5029
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
5030
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5031
 
else
5032
 
  cat >conftest.$ac_ext <<_ACEOF
5033
 
/* confdefs.h.  */
5034
 
_ACEOF
5035
 
cat confdefs.h >>conftest.$ac_ext
5036
 
cat >>conftest.$ac_ext <<_ACEOF
5037
 
/* end confdefs.h.  */
5038
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
5039
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5040
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
5041
 
 
5042
 
/* System header to define __stub macros and hopefully few prototypes,
5043
 
    which can conflict with char bind_textdomain_codeset (); below.
5044
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5045
 
    <limits.h> exists even on freestanding compilers.  */
5046
 
 
5047
 
#ifdef __STDC__
5048
 
# include <limits.h>
5049
 
#else
5050
 
# include <assert.h>
5051
 
#endif
5052
 
 
5053
 
#undef bind_textdomain_codeset
5054
 
 
5055
 
/* Override any gcc2 internal prototype to avoid an error.  */
5056
 
#ifdef __cplusplus
5057
 
extern "C"
5058
 
{
5059
 
#endif
5060
 
/* We use char because int might match the return type of a gcc2
5061
 
   builtin and then its argument prototype would still apply.  */
5062
 
char bind_textdomain_codeset ();
5063
 
/* The GNU C library defines this for functions which it implements
5064
 
    to always fail with ENOSYS.  Some functions are actually named
5065
 
    something starting with __ and the normal name is an alias.  */
5066
 
#if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset)
5067
 
choke me
5068
 
#else
5069
 
char (*f) () = bind_textdomain_codeset;
5070
 
#endif
5071
 
#ifdef __cplusplus
5072
 
}
5073
 
#endif
5074
 
 
5075
 
int
5076
 
main ()
5077
 
{
5078
 
return f != bind_textdomain_codeset;
5079
 
  ;
5080
 
  return 0;
5081
 
}
5082
 
_ACEOF
5083
 
rm -f conftest.$ac_objext conftest$ac_exeext
5084
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5085
 
  (eval $ac_link) 2>conftest.er1
5086
 
  ac_status=$?
5087
 
  grep -v '^ *+' conftest.er1 >conftest.err
5088
 
  rm -f conftest.er1
5089
 
  cat conftest.err >&5
5090
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5091
 
  (exit $ac_status); } &&
5092
 
         { ac_try='test -z "$ac_c_werror_flag"
5093
 
                         || test ! -s conftest.err'
5094
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5095
 
  (eval $ac_try) 2>&5
5096
 
  ac_status=$?
5097
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5098
 
  (exit $ac_status); }; } &&
5099
 
         { ac_try='test -s conftest$ac_exeext'
5100
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5101
 
  (eval $ac_try) 2>&5
5102
 
  ac_status=$?
5103
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104
 
  (exit $ac_status); }; }; then
5105
 
  ac_cv_func_bind_textdomain_codeset=yes
5106
 
else
5107
 
  echo "$as_me: failed program was:" >&5
5108
 
sed 's/^/| /' conftest.$ac_ext >&5
5109
 
 
5110
 
ac_cv_func_bind_textdomain_codeset=no
5111
 
fi
5112
 
rm -f conftest.err conftest.$ac_objext \
5113
 
      conftest$ac_exeext conftest.$ac_ext
5114
 
fi
5115
 
echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
5116
 
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
5117
 
if test $ac_cv_func_bind_textdomain_codeset = yes; then
5118
 
  CATOBJEXT=.gmo
5119
 
               DATADIRNAME=share
5120
 
else
5121
 
  CATOBJEXT=.mo
5122
 
               DATADIRNAME=lib
5123
 
fi
5124
 
 
5125
 
            ;;
5126
 
            *)
5127
 
            CATOBJEXT=.mo
5128
 
            DATADIRNAME=lib
5129
 
            ;;
5130
 
            esac
5131
 
fi
5132
 
rm -f conftest.err conftest.$ac_objext \
5133
 
      conftest$ac_exeext conftest.$ac_ext
5134
 
          LIBS="$glib_save_LIBS"
5135
 
          INSTOBJEXT=.mo
5136
 
        else
5137
 
          gt_cv_have_gettext=no
5138
 
        fi
5139
 
      fi
5140
 
 
5141
 
fi
5142
 
 
5143
 
 
5144
 
 
5145
 
    if test "$gt_cv_have_gettext" = "yes" ; then
5146
 
 
5147
 
cat >>confdefs.h <<\_ACEOF
5148
 
#define ENABLE_NLS 1
5149
 
_ACEOF
5150
 
 
5151
 
    fi
5152
 
 
5153
 
        if test "$XGETTEXT" != ":"; then
5154
 
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
5155
 
        : ;
5156
 
      else
5157
 
        echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
5158
 
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
5159
 
        XGETTEXT=":"
5160
 
      fi
5161
 
    fi
5162
 
 
5163
 
    # We need to process the po/ directory.
5164
 
    POSUB=po
5165
 
 
5166
 
              ac_config_commands="$ac_config_commands default-1"
5167
 
 
5168
 
 
5169
 
                for lang in $ALL_LINGUAS; do
5170
 
      GMOFILES="$GMOFILES $lang.gmo"
5171
 
      POFILES="$POFILES $lang.po"
5172
 
    done
5173
 
 
5174
 
 
5175
 
 
5176
 
 
5177
 
 
5178
 
 
5179
 
 
5180
 
 
5181
 
 
5182
 
 
5183
 
 
5184
 
 
5185
 
 
5186
 
   if test "$gt_cv_have_gettext" = "yes"; then
5187
 
     if test "x$ALL_LINGUAS" = "x"; then
5188
 
       LINGUAS=
5189
 
     else
5190
 
       echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5191
 
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5192
 
       NEW_LINGUAS=
5193
 
       for presentlang in $ALL_LINGUAS; do
5194
 
         useit=no
5195
 
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
5196
 
           desiredlanguages="$LINGUAS"
5197
 
         else
5198
 
           desiredlanguages="$ALL_LINGUAS"
5199
 
         fi
5200
 
         for desiredlang in $desiredlanguages; do
5201
 
           # Use the presentlang catalog if desiredlang is
5202
 
           #   a. equal to presentlang, or
5203
 
           #   b. a variant of presentlang (because in this case,
5204
 
           #      presentlang can be used as a fallback for messages
5205
 
           #      which are not translated in the desiredlang catalog).
5206
 
           case "$desiredlang" in
5207
 
             "$presentlang"*) useit=yes;;
5208
 
           esac
5209
 
         done
5210
 
         if test $useit = yes; then
5211
 
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
5212
 
         fi
5213
 
       done
5214
 
       LINGUAS=$NEW_LINGUAS
5215
 
       echo "$as_me:$LINENO: result: $LINGUAS" >&5
5216
 
echo "${ECHO_T}$LINGUAS" >&6
5217
 
     fi
5218
 
 
5219
 
          if test -n "$LINGUAS"; then
5220
 
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
5221
 
     fi
5222
 
   fi
5223
 
 
5224
 
            MKINSTALLDIRS=
5225
 
   if test -n "$ac_aux_dir"; then
5226
 
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
5227
 
   fi
5228
 
   if test -z "$MKINSTALLDIRS"; then
5229
 
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5230
 
   fi
5231
 
 
5232
 
 
5233
 
         test -d po || mkdir po
5234
 
   if test "x$srcdir" != "x."; then
5235
 
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5236
 
       posrcprefix="$srcdir/"
5237
 
     else
5238
 
       posrcprefix="../$srcdir/"
5239
 
     fi
5240
 
   else
5241
 
     posrcprefix="../"
5242
 
   fi
5243
 
   rm -f po/POTFILES
5244
 
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5245
 
        < $srcdir/po/POTFILES.in > po/POTFILES
5246
 
 
5247
 
 
5248
 
 
5249
 
case "$am__api_version" in
5250
 
    1.01234)
5251
 
        { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
5252
 
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
5253
 
   { (exit 1); exit 1; }; }
5254
 
    ;;
5255
 
    *)
5256
 
    ;;
5257
 
esac
5258
 
 
5259
 
if test -n ""; then
5260
 
    echo "$as_me:$LINENO: checking for intltool >= " >&5
5261
 
echo $ECHO_N "checking for intltool >= ... $ECHO_C" >&6
5262
 
 
5263
 
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo  | awk -F. '{ print $ 1 * 100 + $ 2; }'`
5264
 
    INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
5265
 
    INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 100 + VERSION[2];}' ${ac_aux_dir}/intltool-update.in`
5266
 
 
5267
 
    echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
5268
 
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6
5269
 
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
5270
 
        { { echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool  or later." >&5
5271
 
echo "$as_me: error: Your intltool is too old.  You need intltool  or later." >&2;}
5272
 
   { (exit 1); exit 1; }; }
5273
 
fi
5274
 
 
5275
 
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5276
 
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5277
 
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5278
 
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5279
 
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
5280
 
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5281
 
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5282
 
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5283
 
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5284
 
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5285
 
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5286
 
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
5287
 
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5288
 
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5289
 
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5290
 
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5291
 
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5292
 
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5293
 
 
5294
 
 
5295
 
 
5296
 
 
5297
 
 
5298
 
 
5299
 
 
5300
 
 
5301
 
 
5302
 
 
5303
 
 
5304
 
 
5305
 
 
5306
 
 
5307
 
 
5308
 
 
5309
 
 
5310
 
 
5311
 
 
5312
 
 
5313
 
# Use the tools built into the package, not the ones that are installed.
5314
 
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
5315
 
 
5316
 
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
5317
 
 
5318
 
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
5319
 
 
5320
 
 
5321
 
# Extract the first word of "perl", so it can be a program name with args.
5322
 
set dummy perl; ac_word=$2
5323
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5324
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5325
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
5326
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5327
 
else
5328
 
  case $INTLTOOL_PERL in
5329
 
  [\\/]* | ?:[\\/]*)
5330
 
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
5331
 
  ;;
5332
 
  *)
5333
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5334
 
for as_dir in $PATH
5335
 
do
5336
 
  IFS=$as_save_IFS
5337
 
  test -z "$as_dir" && as_dir=.
5338
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5339
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5340
 
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
5341
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5342
 
    break 2
5343
 
  fi
5344
 
done
5345
 
done
5346
 
 
5347
 
  ;;
5348
 
esac
5349
 
fi
5350
 
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
5351
 
 
5352
 
if test -n "$INTLTOOL_PERL"; then
5353
 
  echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
5354
 
echo "${ECHO_T}$INTLTOOL_PERL" >&6
5355
 
else
5356
 
  echo "$as_me:$LINENO: result: no" >&5
5357
 
echo "${ECHO_T}no" >&6
5358
 
fi
5359
 
 
5360
 
if test -z "$INTLTOOL_PERL"; then
5361
 
   { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
5362
 
echo "$as_me: error: perl not found; required for intltool" >&2;}
5363
 
   { (exit 1); exit 1; }; }
5364
 
fi
5365
 
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
5366
 
   { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
5367
 
echo "$as_me: error: perl 5.x required for intltool" >&2;}
5368
 
   { (exit 1); exit 1; }; }
5369
 
fi
5370
 
if test "x" != "xno-xml"; then
5371
 
   echo "$as_me:$LINENO: checking for XML::Parser" >&5
5372
 
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6
5373
 
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
5374
 
       echo "$as_me:$LINENO: result: ok" >&5
5375
 
echo "${ECHO_T}ok" >&6
5376
 
   else
5377
 
       { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
5378
 
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
5379
 
   { (exit 1); exit 1; }; }
5380
 
   fi
5381
 
fi
5382
 
 
5383
 
# Extract the first word of "iconv", so it can be a program name with args.
5384
 
set dummy iconv; ac_word=$2
5385
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5386
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5387
 
if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then
5388
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5389
 
else
5390
 
  case $INTLTOOL_ICONV in
5391
 
  [\\/]* | ?:[\\/]*)
5392
 
  ac_cv_path_INTLTOOL_ICONV="$INTLTOOL_ICONV" # Let the user override the test with a path.
5393
 
  ;;
5394
 
  *)
5395
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5396
 
for as_dir in $PATH
5397
 
do
5398
 
  IFS=$as_save_IFS
5399
 
  test -z "$as_dir" && as_dir=.
5400
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5401
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5402
 
    ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext"
5403
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5404
 
    break 2
5405
 
  fi
5406
 
done
5407
 
done
5408
 
 
5409
 
  test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv"
5410
 
  ;;
5411
 
esac
5412
 
fi
5413
 
INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV
5414
 
 
5415
 
if test -n "$INTLTOOL_ICONV"; then
5416
 
  echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5
5417
 
echo "${ECHO_T}$INTLTOOL_ICONV" >&6
5418
 
else
5419
 
  echo "$as_me:$LINENO: result: no" >&5
5420
 
echo "${ECHO_T}no" >&6
5421
 
fi
5422
 
 
5423
 
# Extract the first word of "msgfmt", so it can be a program name with args.
5424
 
set dummy msgfmt; ac_word=$2
5425
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5426
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5427
 
if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then
5428
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5429
 
else
5430
 
  case $INTLTOOL_MSGFMT in
5431
 
  [\\/]* | ?:[\\/]*)
5432
 
  ac_cv_path_INTLTOOL_MSGFMT="$INTLTOOL_MSGFMT" # Let the user override the test with a path.
5433
 
  ;;
5434
 
  *)
5435
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5436
 
for as_dir in $PATH
5437
 
do
5438
 
  IFS=$as_save_IFS
5439
 
  test -z "$as_dir" && as_dir=.
5440
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5441
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5442
 
    ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
5443
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5444
 
    break 2
5445
 
  fi
5446
 
done
5447
 
done
5448
 
 
5449
 
  test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt"
5450
 
  ;;
5451
 
esac
5452
 
fi
5453
 
INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT
5454
 
 
5455
 
if test -n "$INTLTOOL_MSGFMT"; then
5456
 
  echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5
5457
 
echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6
5458
 
else
5459
 
  echo "$as_me:$LINENO: result: no" >&5
5460
 
echo "${ECHO_T}no" >&6
5461
 
fi
5462
 
 
5463
 
# Extract the first word of "msgmerge", so it can be a program name with args.
5464
 
set dummy msgmerge; ac_word=$2
5465
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5466
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5467
 
if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then
5468
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5469
 
else
5470
 
  case $INTLTOOL_MSGMERGE in
5471
 
  [\\/]* | ?:[\\/]*)
5472
 
  ac_cv_path_INTLTOOL_MSGMERGE="$INTLTOOL_MSGMERGE" # Let the user override the test with a path.
5473
 
  ;;
5474
 
  *)
5475
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5476
 
for as_dir in $PATH
5477
 
do
5478
 
  IFS=$as_save_IFS
5479
 
  test -z "$as_dir" && as_dir=.
5480
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5481
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5482
 
    ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
5483
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5484
 
    break 2
5485
 
  fi
5486
 
done
5487
 
done
5488
 
 
5489
 
  test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge"
5490
 
  ;;
5491
 
esac
5492
 
fi
5493
 
INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE
5494
 
 
5495
 
if test -n "$INTLTOOL_MSGMERGE"; then
5496
 
  echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5
5497
 
echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6
5498
 
else
5499
 
  echo "$as_me:$LINENO: result: no" >&5
5500
 
echo "${ECHO_T}no" >&6
5501
 
fi
5502
 
 
5503
 
# Extract the first word of "xgettext", so it can be a program name with args.
5504
 
set dummy xgettext; ac_word=$2
5505
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5506
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5507
 
if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then
5508
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5509
 
else
5510
 
  case $INTLTOOL_XGETTEXT in
5511
 
  [\\/]* | ?:[\\/]*)
5512
 
  ac_cv_path_INTLTOOL_XGETTEXT="$INTLTOOL_XGETTEXT" # Let the user override the test with a path.
5513
 
  ;;
5514
 
  *)
5515
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5516
 
for as_dir in $PATH
5517
 
do
5518
 
  IFS=$as_save_IFS
5519
 
  test -z "$as_dir" && as_dir=.
5520
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5521
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5522
 
    ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
5523
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5524
 
    break 2
5525
 
  fi
5526
 
done
5527
 
done
5528
 
 
5529
 
  test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext"
5530
 
  ;;
5531
 
esac
5532
 
fi
5533
 
INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT
5534
 
 
5535
 
if test -n "$INTLTOOL_XGETTEXT"; then
5536
 
  echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5
5537
 
echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6
5538
 
else
5539
 
  echo "$as_me:$LINENO: result: no" >&5
5540
 
echo "${ECHO_T}no" >&6
5541
 
fi
5542
 
 
5543
 
 
5544
 
 
5545
 
 
5546
 
 
5547
 
          ac_config_commands="$ac_config_commands intltool"
5548
 
 
5549
 
 
5550
 
 
5551
 
 
5552
 
### system features
5553
 
 
5554
 
ac_ext=c
5555
 
ac_cpp='$CPP $CPPFLAGS'
5556
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5557
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5558
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5559
 
if test -n "$ac_tool_prefix"; then
5560
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5561
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
5562
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5563
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5564
 
if test "${ac_cv_prog_CC+set}" = set; then
5565
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5566
 
else
5567
 
  if test -n "$CC"; then
5568
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
5569
 
else
5570
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5571
 
for as_dir in $PATH
5572
 
do
5573
 
  IFS=$as_save_IFS
5574
 
  test -z "$as_dir" && as_dir=.
5575
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5576
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5577
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
5578
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5579
 
    break 2
5580
 
  fi
5581
 
done
5582
 
done
5583
 
 
5584
 
fi
5585
 
fi
5586
 
CC=$ac_cv_prog_CC
5587
 
if test -n "$CC"; then
5588
 
  echo "$as_me:$LINENO: result: $CC" >&5
5589
 
echo "${ECHO_T}$CC" >&6
5590
 
else
5591
 
  echo "$as_me:$LINENO: result: no" >&5
5592
 
echo "${ECHO_T}no" >&6
5593
 
fi
5594
 
 
5595
 
fi
5596
 
if test -z "$ac_cv_prog_CC"; then
5597
 
  ac_ct_CC=$CC
5598
 
  # Extract the first word of "gcc", so it can be a program name with args.
5599
 
set dummy gcc; ac_word=$2
5600
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5601
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5602
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5603
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5604
 
else
5605
 
  if test -n "$ac_ct_CC"; then
5606
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5607
 
else
5608
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5609
 
for as_dir in $PATH
5610
 
do
5611
 
  IFS=$as_save_IFS
5612
 
  test -z "$as_dir" && as_dir=.
5613
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5614
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5615
 
    ac_cv_prog_ac_ct_CC="gcc"
5616
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5617
 
    break 2
5618
 
  fi
5619
 
done
5620
 
done
5621
 
 
5622
 
fi
5623
 
fi
5624
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5625
 
if test -n "$ac_ct_CC"; then
5626
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5627
 
echo "${ECHO_T}$ac_ct_CC" >&6
5628
 
else
5629
 
  echo "$as_me:$LINENO: result: no" >&5
5630
 
echo "${ECHO_T}no" >&6
5631
 
fi
5632
 
 
5633
 
  CC=$ac_ct_CC
5634
 
else
5635
 
  CC="$ac_cv_prog_CC"
5636
 
fi
5637
 
 
5638
 
if test -z "$CC"; then
5639
 
  if test -n "$ac_tool_prefix"; then
5640
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5641
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
5642
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5643
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5644
 
if test "${ac_cv_prog_CC+set}" = set; then
5645
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5646
 
else
5647
 
  if test -n "$CC"; then
5648
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
5649
 
else
5650
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5651
 
for as_dir in $PATH
5652
 
do
5653
 
  IFS=$as_save_IFS
5654
 
  test -z "$as_dir" && as_dir=.
5655
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5656
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5657
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
5658
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5659
 
    break 2
5660
 
  fi
5661
 
done
5662
 
done
5663
 
 
5664
 
fi
5665
 
fi
5666
 
CC=$ac_cv_prog_CC
5667
 
if test -n "$CC"; then
5668
 
  echo "$as_me:$LINENO: result: $CC" >&5
5669
 
echo "${ECHO_T}$CC" >&6
5670
 
else
5671
 
  echo "$as_me:$LINENO: result: no" >&5
5672
 
echo "${ECHO_T}no" >&6
5673
 
fi
5674
 
 
5675
 
fi
5676
 
if test -z "$ac_cv_prog_CC"; then
5677
 
  ac_ct_CC=$CC
5678
 
  # Extract the first word of "cc", so it can be a program name with args.
5679
 
set dummy cc; ac_word=$2
5680
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5681
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5682
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5683
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5684
 
else
5685
 
  if test -n "$ac_ct_CC"; then
5686
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5687
 
else
5688
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5689
 
for as_dir in $PATH
5690
 
do
5691
 
  IFS=$as_save_IFS
5692
 
  test -z "$as_dir" && as_dir=.
5693
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5694
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5695
 
    ac_cv_prog_ac_ct_CC="cc"
5696
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5697
 
    break 2
5698
 
  fi
5699
 
done
5700
 
done
5701
 
 
5702
 
fi
5703
 
fi
5704
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5705
 
if test -n "$ac_ct_CC"; then
5706
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5707
 
echo "${ECHO_T}$ac_ct_CC" >&6
5708
 
else
5709
 
  echo "$as_me:$LINENO: result: no" >&5
5710
 
echo "${ECHO_T}no" >&6
5711
 
fi
5712
 
 
5713
 
  CC=$ac_ct_CC
5714
 
else
5715
 
  CC="$ac_cv_prog_CC"
5716
 
fi
5717
 
 
5718
 
fi
5719
 
if test -z "$CC"; then
5720
 
  # Extract the first word of "cc", so it can be a program name with args.
5721
 
set dummy cc; ac_word=$2
5722
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5723
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5724
 
if test "${ac_cv_prog_CC+set}" = set; then
5725
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5726
 
else
5727
 
  if test -n "$CC"; then
5728
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
5729
 
else
5730
 
  ac_prog_rejected=no
5731
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5732
 
for as_dir in $PATH
5733
 
do
5734
 
  IFS=$as_save_IFS
5735
 
  test -z "$as_dir" && as_dir=.
5736
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5737
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5738
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5739
 
       ac_prog_rejected=yes
5740
 
       continue
5741
 
     fi
5742
 
    ac_cv_prog_CC="cc"
5743
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5744
 
    break 2
5745
 
  fi
5746
 
done
5747
 
done
5748
 
 
5749
 
if test $ac_prog_rejected = yes; then
5750
 
  # We found a bogon in the path, so make sure we never use it.
5751
 
  set dummy $ac_cv_prog_CC
5752
 
  shift
5753
 
  if test $# != 0; then
5754
 
    # We chose a different compiler from the bogus one.
5755
 
    # However, it has the same basename, so the bogon will be chosen
5756
 
    # first if we set CC to just the basename; use the full file name.
5757
 
    shift
5758
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5759
 
  fi
5760
 
fi
5761
 
fi
5762
 
fi
5763
 
CC=$ac_cv_prog_CC
5764
 
if test -n "$CC"; then
5765
 
  echo "$as_me:$LINENO: result: $CC" >&5
5766
 
echo "${ECHO_T}$CC" >&6
5767
 
else
5768
 
  echo "$as_me:$LINENO: result: no" >&5
5769
 
echo "${ECHO_T}no" >&6
5770
 
fi
5771
 
 
5772
 
fi
5773
 
if test -z "$CC"; then
5774
 
  if test -n "$ac_tool_prefix"; then
5775
 
  for ac_prog in cl
5776
 
  do
5777
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5778
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5779
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5780
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5781
 
if test "${ac_cv_prog_CC+set}" = set; then
5782
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5783
 
else
5784
 
  if test -n "$CC"; then
5785
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
5786
 
else
5787
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5788
 
for as_dir in $PATH
5789
 
do
5790
 
  IFS=$as_save_IFS
5791
 
  test -z "$as_dir" && as_dir=.
5792
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5793
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5794
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5795
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5796
 
    break 2
5797
 
  fi
5798
 
done
5799
 
done
5800
 
 
5801
 
fi
5802
 
fi
5803
 
CC=$ac_cv_prog_CC
5804
 
if test -n "$CC"; then
5805
 
  echo "$as_me:$LINENO: result: $CC" >&5
5806
 
echo "${ECHO_T}$CC" >&6
5807
 
else
5808
 
  echo "$as_me:$LINENO: result: no" >&5
5809
 
echo "${ECHO_T}no" >&6
5810
 
fi
5811
 
 
5812
 
    test -n "$CC" && break
5813
 
  done
5814
 
fi
5815
 
if test -z "$CC"; then
5816
 
  ac_ct_CC=$CC
5817
 
  for ac_prog in cl
5818
 
do
5819
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5820
 
set dummy $ac_prog; ac_word=$2
5821
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5822
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5823
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5824
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5825
 
else
5826
 
  if test -n "$ac_ct_CC"; then
5827
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5828
 
else
5829
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5830
 
for as_dir in $PATH
5831
 
do
5832
 
  IFS=$as_save_IFS
5833
 
  test -z "$as_dir" && as_dir=.
5834
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5835
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5836
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
5837
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5838
 
    break 2
5839
 
  fi
5840
 
done
5841
 
done
5842
 
 
5843
 
fi
5844
 
fi
5845
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5846
 
if test -n "$ac_ct_CC"; then
5847
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5848
 
echo "${ECHO_T}$ac_ct_CC" >&6
5849
 
else
5850
 
  echo "$as_me:$LINENO: result: no" >&5
5851
 
echo "${ECHO_T}no" >&6
5852
 
fi
5853
 
 
5854
 
  test -n "$ac_ct_CC" && break
5855
 
done
5856
 
 
5857
 
  CC=$ac_ct_CC
5858
 
fi
5859
 
 
5860
 
fi
5861
 
 
5862
 
 
5863
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5864
 
See \`config.log' for more details." >&5
5865
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
5866
 
See \`config.log' for more details." >&2;}
5867
 
   { (exit 1); exit 1; }; }
5868
 
 
5869
 
# Provide some information about the compiler.
5870
 
echo "$as_me:$LINENO:" \
5871
 
     "checking for C compiler version" >&5
5872
 
ac_compiler=`set X $ac_compile; echo $2`
5873
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5874
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5875
 
  ac_status=$?
5876
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877
 
  (exit $ac_status); }
5878
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5879
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5880
 
  ac_status=$?
5881
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5882
 
  (exit $ac_status); }
5883
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5884
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
5885
 
  ac_status=$?
5886
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5887
 
  (exit $ac_status); }
5888
 
 
5889
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5890
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
5891
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
5892
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5893
 
else
5894
 
  cat >conftest.$ac_ext <<_ACEOF
5895
 
/* confdefs.h.  */
5896
 
_ACEOF
5897
 
cat confdefs.h >>conftest.$ac_ext
5898
 
cat >>conftest.$ac_ext <<_ACEOF
5899
 
/* end confdefs.h.  */
5900
 
 
5901
 
int
5902
 
main ()
5903
 
{
5904
 
#ifndef __GNUC__
5905
 
       choke me
5906
 
#endif
5907
 
 
5908
 
  ;
5909
 
  return 0;
5910
 
}
5911
 
_ACEOF
5912
 
rm -f conftest.$ac_objext
5913
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5914
 
  (eval $ac_compile) 2>conftest.er1
5915
 
  ac_status=$?
5916
 
  grep -v '^ *+' conftest.er1 >conftest.err
5917
 
  rm -f conftest.er1
5918
 
  cat conftest.err >&5
5919
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5920
 
  (exit $ac_status); } &&
5921
 
         { ac_try='test -z "$ac_c_werror_flag"
5922
 
                         || test ! -s conftest.err'
5923
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5924
 
  (eval $ac_try) 2>&5
5925
 
  ac_status=$?
5926
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5927
 
  (exit $ac_status); }; } &&
5928
 
         { ac_try='test -s conftest.$ac_objext'
5929
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5930
 
  (eval $ac_try) 2>&5
5931
 
  ac_status=$?
5932
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5933
 
  (exit $ac_status); }; }; then
5934
 
  ac_compiler_gnu=yes
5935
 
else
5936
 
  echo "$as_me: failed program was:" >&5
5937
 
sed 's/^/| /' conftest.$ac_ext >&5
5938
 
 
5939
 
ac_compiler_gnu=no
5940
 
fi
5941
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5942
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
5943
 
 
5944
 
fi
5945
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5946
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
5947
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
5948
 
ac_test_CFLAGS=${CFLAGS+set}
5949
 
ac_save_CFLAGS=$CFLAGS
5950
 
CFLAGS="-g"
5951
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5952
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
5953
 
if test "${ac_cv_prog_cc_g+set}" = set; then
5954
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5955
 
else
5956
 
  cat >conftest.$ac_ext <<_ACEOF
5957
 
/* confdefs.h.  */
5958
 
_ACEOF
5959
 
cat confdefs.h >>conftest.$ac_ext
5960
 
cat >>conftest.$ac_ext <<_ACEOF
5961
 
/* end confdefs.h.  */
5962
 
 
5963
 
int
5964
 
main ()
5965
 
{
5966
 
 
5967
 
  ;
5968
 
  return 0;
5969
 
}
5970
 
_ACEOF
5971
 
rm -f conftest.$ac_objext
5972
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5973
 
  (eval $ac_compile) 2>conftest.er1
5974
 
  ac_status=$?
5975
 
  grep -v '^ *+' conftest.er1 >conftest.err
5976
 
  rm -f conftest.er1
5977
 
  cat conftest.err >&5
5978
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5979
 
  (exit $ac_status); } &&
5980
 
         { ac_try='test -z "$ac_c_werror_flag"
5981
 
                         || test ! -s conftest.err'
5982
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5983
 
  (eval $ac_try) 2>&5
5984
 
  ac_status=$?
5985
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5986
 
  (exit $ac_status); }; } &&
5987
 
         { ac_try='test -s conftest.$ac_objext'
5988
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5989
 
  (eval $ac_try) 2>&5
5990
 
  ac_status=$?
5991
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992
 
  (exit $ac_status); }; }; then
5993
 
  ac_cv_prog_cc_g=yes
5994
 
else
5995
 
  echo "$as_me: failed program was:" >&5
5996
 
sed 's/^/| /' conftest.$ac_ext >&5
5997
 
 
5998
 
ac_cv_prog_cc_g=no
5999
 
fi
6000
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6001
 
fi
6002
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6003
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
6004
 
if test "$ac_test_CFLAGS" = set; then
6005
 
  CFLAGS=$ac_save_CFLAGS
6006
 
elif test $ac_cv_prog_cc_g = yes; then
6007
 
  if test "$GCC" = yes; then
6008
 
    CFLAGS="-g -O2"
6009
 
  else
6010
 
    CFLAGS="-g"
6011
 
  fi
6012
 
else
6013
 
  if test "$GCC" = yes; then
6014
 
    CFLAGS="-O2"
6015
 
  else
6016
 
    CFLAGS=
6017
 
  fi
6018
 
fi
6019
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
6020
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
6021
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
6022
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6023
 
else
6024
 
  ac_cv_prog_cc_stdc=no
6025
 
ac_save_CC=$CC
6026
 
cat >conftest.$ac_ext <<_ACEOF
6027
 
/* confdefs.h.  */
6028
 
_ACEOF
6029
 
cat confdefs.h >>conftest.$ac_ext
6030
 
cat >>conftest.$ac_ext <<_ACEOF
6031
 
/* end confdefs.h.  */
6032
 
#include <stdarg.h>
6033
 
#include <stdio.h>
6034
 
#include <sys/types.h>
6035
 
#include <sys/stat.h>
6036
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
6037
 
struct buf { int x; };
6038
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
6039
 
static char *e (p, i)
6040
 
     char **p;
6041
 
     int i;
6042
 
{
6043
 
  return p[i];
6044
 
}
6045
 
static char *f (char * (*g) (char **, int), char **p, ...)
6046
 
{
6047
 
  char *s;
6048
 
  va_list v;
6049
 
  va_start (v,p);
6050
 
  s = g (p, va_arg (v,int));
6051
 
  va_end (v);
6052
 
  return s;
6053
 
}
6054
 
 
6055
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
6056
 
   function prototypes and stuff, but not '\xHH' hex character constants.
6057
 
   These don't provoke an error unfortunately, instead are silently treated
6058
 
   as 'x'.  The following induces an error, until -std1 is added to get
6059
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
6060
 
   array size at least.  It's necessary to write '\x00'==0 to get something
6061
 
   that's true only with -std1.  */
6062
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6063
 
 
6064
 
int test (int i, double x);
6065
 
struct s1 {int (*f) (int a);};
6066
 
struct s2 {int (*f) (double a);};
6067
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6068
 
int argc;
6069
 
char **argv;
6070
 
int
6071
 
main ()
6072
 
{
6073
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
6074
 
  ;
6075
 
  return 0;
6076
 
}
6077
 
_ACEOF
6078
 
# Don't try gcc -ansi; that turns off useful extensions and
6079
 
# breaks some systems' header files.
6080
 
# AIX                   -qlanglvl=ansi
6081
 
# Ultrix and OSF/1      -std1
6082
 
# HP-UX 10.20 and later -Ae
6083
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
6084
 
# SVR4                  -Xc -D__EXTENSIONS__
6085
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6086
 
do
6087
 
  CC="$ac_save_CC $ac_arg"
6088
 
  rm -f conftest.$ac_objext
6089
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6090
 
  (eval $ac_compile) 2>conftest.er1
6091
 
  ac_status=$?
6092
 
  grep -v '^ *+' conftest.er1 >conftest.err
6093
 
  rm -f conftest.er1
6094
 
  cat conftest.err >&5
6095
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6096
 
  (exit $ac_status); } &&
6097
 
         { ac_try='test -z "$ac_c_werror_flag"
6098
 
                         || test ! -s conftest.err'
6099
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6100
 
  (eval $ac_try) 2>&5
6101
 
  ac_status=$?
6102
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103
 
  (exit $ac_status); }; } &&
6104
 
         { ac_try='test -s conftest.$ac_objext'
6105
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6106
 
  (eval $ac_try) 2>&5
6107
 
  ac_status=$?
6108
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109
 
  (exit $ac_status); }; }; then
6110
 
  ac_cv_prog_cc_stdc=$ac_arg
6111
 
break
6112
 
else
6113
 
  echo "$as_me: failed program was:" >&5
6114
 
sed 's/^/| /' conftest.$ac_ext >&5
6115
 
 
6116
 
fi
6117
 
rm -f conftest.err conftest.$ac_objext
6118
 
done
6119
 
rm -f conftest.$ac_ext conftest.$ac_objext
6120
 
CC=$ac_save_CC
6121
 
 
6122
 
fi
6123
 
 
6124
 
case "x$ac_cv_prog_cc_stdc" in
6125
 
  x|xno)
6126
 
    echo "$as_me:$LINENO: result: none needed" >&5
6127
 
echo "${ECHO_T}none needed" >&6 ;;
6128
 
  *)
6129
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6130
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6131
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
6132
 
esac
6133
 
 
6134
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
6135
 
# in C++ we need to declare it.  In case someone uses the same compiler
6136
 
# for both compiling C and C++ we need to have the C++ compiler decide
6137
 
# the declaration of exit, since it's the most demanding environment.
6138
 
cat >conftest.$ac_ext <<_ACEOF
6139
 
#ifndef __cplusplus
6140
 
  choke me
6141
 
#endif
6142
 
_ACEOF
6143
 
rm -f conftest.$ac_objext
6144
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6145
 
  (eval $ac_compile) 2>conftest.er1
6146
 
  ac_status=$?
6147
 
  grep -v '^ *+' conftest.er1 >conftest.err
6148
 
  rm -f conftest.er1
6149
 
  cat conftest.err >&5
6150
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151
 
  (exit $ac_status); } &&
6152
 
         { ac_try='test -z "$ac_c_werror_flag"
6153
 
                         || test ! -s conftest.err'
6154
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6155
 
  (eval $ac_try) 2>&5
6156
 
  ac_status=$?
6157
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6158
 
  (exit $ac_status); }; } &&
6159
 
         { ac_try='test -s conftest.$ac_objext'
6160
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6161
 
  (eval $ac_try) 2>&5
6162
 
  ac_status=$?
6163
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6164
 
  (exit $ac_status); }; }; then
6165
 
  for ac_declaration in \
6166
 
   '' \
6167
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
6168
 
   'extern "C" void std::exit (int); using std::exit;' \
6169
 
   'extern "C" void exit (int) throw ();' \
6170
 
   'extern "C" void exit (int);' \
6171
 
   'void exit (int);'
6172
 
do
6173
 
  cat >conftest.$ac_ext <<_ACEOF
6174
 
/* confdefs.h.  */
6175
 
_ACEOF
6176
 
cat confdefs.h >>conftest.$ac_ext
6177
 
cat >>conftest.$ac_ext <<_ACEOF
6178
 
/* end confdefs.h.  */
6179
 
$ac_declaration
6180
 
#include <stdlib.h>
6181
 
int
6182
 
main ()
6183
 
{
6184
 
exit (42);
6185
 
  ;
6186
 
  return 0;
6187
 
}
6188
 
_ACEOF
6189
 
rm -f conftest.$ac_objext
6190
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6191
 
  (eval $ac_compile) 2>conftest.er1
6192
 
  ac_status=$?
6193
 
  grep -v '^ *+' conftest.er1 >conftest.err
6194
 
  rm -f conftest.er1
6195
 
  cat conftest.err >&5
6196
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197
 
  (exit $ac_status); } &&
6198
 
         { ac_try='test -z "$ac_c_werror_flag"
6199
 
                         || test ! -s conftest.err'
6200
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6201
 
  (eval $ac_try) 2>&5
6202
 
  ac_status=$?
6203
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6204
 
  (exit $ac_status); }; } &&
6205
 
         { ac_try='test -s conftest.$ac_objext'
6206
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6207
 
  (eval $ac_try) 2>&5
6208
 
  ac_status=$?
6209
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6210
 
  (exit $ac_status); }; }; then
6211
 
  :
6212
 
else
6213
 
  echo "$as_me: failed program was:" >&5
6214
 
sed 's/^/| /' conftest.$ac_ext >&5
6215
 
 
6216
 
continue
6217
 
fi
6218
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6219
 
  cat >conftest.$ac_ext <<_ACEOF
6220
 
/* confdefs.h.  */
6221
 
_ACEOF
6222
 
cat confdefs.h >>conftest.$ac_ext
6223
 
cat >>conftest.$ac_ext <<_ACEOF
6224
 
/* end confdefs.h.  */
6225
 
$ac_declaration
6226
 
int
6227
 
main ()
6228
 
{
6229
 
exit (42);
6230
 
  ;
6231
 
  return 0;
6232
 
}
6233
 
_ACEOF
6234
 
rm -f conftest.$ac_objext
6235
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6236
 
  (eval $ac_compile) 2>conftest.er1
6237
 
  ac_status=$?
6238
 
  grep -v '^ *+' conftest.er1 >conftest.err
6239
 
  rm -f conftest.er1
6240
 
  cat conftest.err >&5
6241
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242
 
  (exit $ac_status); } &&
6243
 
         { ac_try='test -z "$ac_c_werror_flag"
6244
 
                         || test ! -s conftest.err'
6245
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6246
 
  (eval $ac_try) 2>&5
6247
 
  ac_status=$?
6248
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6249
 
  (exit $ac_status); }; } &&
6250
 
         { ac_try='test -s conftest.$ac_objext'
6251
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6252
 
  (eval $ac_try) 2>&5
6253
 
  ac_status=$?
6254
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6255
 
  (exit $ac_status); }; }; then
6256
 
  break
6257
 
else
6258
 
  echo "$as_me: failed program was:" >&5
6259
 
sed 's/^/| /' conftest.$ac_ext >&5
6260
 
 
6261
 
fi
6262
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6263
 
done
6264
 
rm -f conftest*
6265
 
if test -n "$ac_declaration"; then
6266
 
  echo '#ifdef __cplusplus' >>confdefs.h
6267
 
  echo $ac_declaration      >>confdefs.h
6268
 
  echo '#endif'             >>confdefs.h
6269
 
fi
6270
 
 
6271
 
else
6272
 
  echo "$as_me: failed program was:" >&5
6273
 
sed 's/^/| /' conftest.$ac_ext >&5
6274
 
 
6275
 
fi
6276
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6277
 
ac_ext=c
6278
 
ac_cpp='$CPP $CPPFLAGS'
6279
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6280
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6281
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6282
 
 
6283
 
depcc="$CC"   am_compiler_list=
6284
 
 
6285
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6286
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6287
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6288
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6289
 
else
6290
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6291
 
  # We make a subdir and do the tests there.  Otherwise we can end up
6292
 
  # making bogus files that we don't know about and never remove.  For
6293
 
  # instance it was reported that on HP-UX the gcc test will end up
6294
 
  # making a dummy file named `D' -- because `-MD' means `put the output
6295
 
  # in D'.
6296
 
  mkdir conftest.dir
6297
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
6298
 
  # using a relative directory.
6299
 
  cp "$am_depcomp" conftest.dir
6300
 
  cd conftest.dir
6301
 
  # We will build objects and dependencies in a subdirectory because
6302
 
  # it helps to detect inapplicable dependency modes.  For instance
6303
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
6304
 
  # side effect of compilation, but ICC will put the dependencies in
6305
 
  # the current directory while Tru64 will put them in the object
6306
 
  # directory.
6307
 
  mkdir sub
6308
 
 
6309
 
  am_cv_CC_dependencies_compiler_type=none
6310
 
  if test "$am_compiler_list" = ""; then
6311
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6312
 
  fi
6313
 
  for depmode in $am_compiler_list; do
6314
 
    # Setup a source with many dependencies, because some compilers
6315
 
    # like to wrap large dependency lists on column 80 (with \), and
6316
 
    # we should not choose a depcomp mode which is confused by this.
6317
 
    #
6318
 
    # We need to recreate these files for each test, as the compiler may
6319
 
    # overwrite some of them when testing with obscure command lines.
6320
 
    # This happens at least with the AIX C compiler.
6321
 
    : > sub/conftest.c
6322
 
    for i in 1 2 3 4 5 6; do
6323
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
6324
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6325
 
      # Solaris 8's {/usr,}/bin/sh.
6326
 
      touch sub/conftst$i.h
6327
 
    done
6328
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6329
 
 
6330
 
    case $depmode in
6331
 
    nosideeffect)
6332
 
      # after this tag, mechanisms are not by side-effect, so they'll
6333
 
      # only be used when explicitly requested
6334
 
      if test "x$enable_dependency_tracking" = xyes; then
6335
 
        continue
6336
 
      else
6337
 
        break
6338
 
      fi
6339
 
      ;;
6340
 
    none) break ;;
6341
 
    esac
6342
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
6343
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
6344
 
    # handle `-M -o', and we need to detect this.
6345
 
    if depmode=$depmode \
6346
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6347
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6348
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6349
 
         >/dev/null 2>conftest.err &&
6350
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6351
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6352
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6353
 
      # icc doesn't choke on unknown options, it will just issue warnings
6354
 
      # or remarks (even with -Werror).  So we grep stderr for any message
6355
 
      # that says an option was ignored or not supported.
6356
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
6357
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
6358
 
      # The diagnosis changed in icc 8.0:
6359
 
      #   icc: Command line remark: option '-MP' not supported
6360
 
      if (grep 'ignoring option' conftest.err ||
6361
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6362
 
        am_cv_CC_dependencies_compiler_type=$depmode
6363
 
        break
6364
 
      fi
6365
 
    fi
6366
 
  done
6367
 
 
6368
 
  cd ..
6369
 
  rm -rf conftest.dir
6370
 
else
6371
 
  am_cv_CC_dependencies_compiler_type=none
6372
 
fi
6373
 
 
6374
 
fi
6375
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6376
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6377
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6378
 
 
6379
 
 
6380
 
 
6381
 
if
6382
 
  test "x$enable_dependency_tracking" != xno \
6383
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6384
 
  am__fastdepCC_TRUE=
6385
 
  am__fastdepCC_FALSE='#'
6386
 
else
6387
 
  am__fastdepCC_TRUE='#'
6388
 
  am__fastdepCC_FALSE=
6389
 
fi
6390
 
 
6391
 
 
6392
 
# Check whether --enable-largefile or --disable-largefile was given.
6393
 
if test "${enable_largefile+set}" = set; then
6394
 
  enableval="$enable_largefile"
6395
 
 
6396
 
fi;
6397
 
if test "$enable_largefile" != no; then
6398
 
 
6399
 
  echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
6400
 
echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
6401
 
if test "${ac_cv_sys_largefile_CC+set}" = set; then
6402
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6403
 
else
6404
 
  ac_cv_sys_largefile_CC=no
6405
 
     if test "$GCC" != yes; then
6406
 
       ac_save_CC=$CC
6407
 
       while :; do
6408
 
         # IRIX 6.2 and later do not support large files by default,
6409
 
         # so use the C compiler's -n32 option if that helps.
6410
 
         cat >conftest.$ac_ext <<_ACEOF
6411
 
/* confdefs.h.  */
6412
 
_ACEOF
6413
 
cat confdefs.h >>conftest.$ac_ext
6414
 
cat >>conftest.$ac_ext <<_ACEOF
6415
 
/* end confdefs.h.  */
6416
 
#include <sys/types.h>
6417
 
 /* Check that off_t can represent 2**63 - 1 correctly.
6418
 
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
6419
 
    since some C++ compilers masquerading as C compilers
6420
 
    incorrectly reject 9223372036854775807.  */
6421
 
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6422
 
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6423
 
                       && LARGE_OFF_T % 2147483647 == 1)
6424
 
                      ? 1 : -1];
6425
 
int
6426
 
main ()
6427
 
{
6428
 
 
6429
 
  ;
6430
 
  return 0;
6431
 
}
6432
 
_ACEOF
6433
 
         rm -f conftest.$ac_objext
6434
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6435
 
  (eval $ac_compile) 2>conftest.er1
6436
 
  ac_status=$?
6437
 
  grep -v '^ *+' conftest.er1 >conftest.err
6438
 
  rm -f conftest.er1
6439
 
  cat conftest.err >&5
6440
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441
 
  (exit $ac_status); } &&
6442
 
         { ac_try='test -z "$ac_c_werror_flag"
6443
 
                         || test ! -s conftest.err'
6444
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6445
 
  (eval $ac_try) 2>&5
6446
 
  ac_status=$?
6447
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6448
 
  (exit $ac_status); }; } &&
6449
 
         { ac_try='test -s conftest.$ac_objext'
6450
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6451
 
  (eval $ac_try) 2>&5
6452
 
  ac_status=$?
6453
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6454
 
  (exit $ac_status); }; }; then
6455
 
  break
6456
 
else
6457
 
  echo "$as_me: failed program was:" >&5
6458
 
sed 's/^/| /' conftest.$ac_ext >&5
6459
 
 
6460
 
fi
6461
 
rm -f conftest.err conftest.$ac_objext
6462
 
         CC="$CC -n32"
6463
 
         rm -f conftest.$ac_objext
6464
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6465
 
  (eval $ac_compile) 2>conftest.er1
6466
 
  ac_status=$?
6467
 
  grep -v '^ *+' conftest.er1 >conftest.err
6468
 
  rm -f conftest.er1
6469
 
  cat conftest.err >&5
6470
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6471
 
  (exit $ac_status); } &&
6472
 
         { ac_try='test -z "$ac_c_werror_flag"
6473
 
                         || test ! -s conftest.err'
6474
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6475
 
  (eval $ac_try) 2>&5
6476
 
  ac_status=$?
6477
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6478
 
  (exit $ac_status); }; } &&
6479
 
         { ac_try='test -s conftest.$ac_objext'
6480
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6481
 
  (eval $ac_try) 2>&5
6482
 
  ac_status=$?
6483
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6484
 
  (exit $ac_status); }; }; then
6485
 
  ac_cv_sys_largefile_CC=' -n32'; break
6486
 
else
6487
 
  echo "$as_me: failed program was:" >&5
6488
 
sed 's/^/| /' conftest.$ac_ext >&5
6489
 
 
6490
 
fi
6491
 
rm -f conftest.err conftest.$ac_objext
6492
 
         break
6493
 
       done
6494
 
       CC=$ac_save_CC
6495
 
       rm -f conftest.$ac_ext
6496
 
    fi
6497
 
fi
6498
 
echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
6499
 
echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
6500
 
  if test "$ac_cv_sys_largefile_CC" != no; then
6501
 
    CC=$CC$ac_cv_sys_largefile_CC
6502
 
  fi
6503
 
 
6504
 
  echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6505
 
echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
6506
 
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
6507
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6508
 
else
6509
 
  while :; do
6510
 
  ac_cv_sys_file_offset_bits=no
6511
 
  cat >conftest.$ac_ext <<_ACEOF
6512
 
/* confdefs.h.  */
6513
 
_ACEOF
6514
 
cat confdefs.h >>conftest.$ac_ext
6515
 
cat >>conftest.$ac_ext <<_ACEOF
6516
 
/* end confdefs.h.  */
6517
 
#include <sys/types.h>
6518
 
 /* Check that off_t can represent 2**63 - 1 correctly.
6519
 
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
6520
 
    since some C++ compilers masquerading as C compilers
6521
 
    incorrectly reject 9223372036854775807.  */
6522
 
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6523
 
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6524
 
                       && LARGE_OFF_T % 2147483647 == 1)
6525
 
                      ? 1 : -1];
6526
 
int
6527
 
main ()
6528
 
{
6529
 
 
6530
 
  ;
6531
 
  return 0;
6532
 
}
6533
 
_ACEOF
6534
 
rm -f conftest.$ac_objext
6535
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6536
 
  (eval $ac_compile) 2>conftest.er1
6537
 
  ac_status=$?
6538
 
  grep -v '^ *+' conftest.er1 >conftest.err
6539
 
  rm -f conftest.er1
6540
 
  cat conftest.err >&5
6541
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6542
 
  (exit $ac_status); } &&
6543
 
         { ac_try='test -z "$ac_c_werror_flag"
6544
 
                         || test ! -s conftest.err'
6545
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546
 
  (eval $ac_try) 2>&5
6547
 
  ac_status=$?
6548
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549
 
  (exit $ac_status); }; } &&
6550
 
         { ac_try='test -s conftest.$ac_objext'
6551
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6552
 
  (eval $ac_try) 2>&5
6553
 
  ac_status=$?
6554
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555
 
  (exit $ac_status); }; }; then
6556
 
  break
6557
 
else
6558
 
  echo "$as_me: failed program was:" >&5
6559
 
sed 's/^/| /' conftest.$ac_ext >&5
6560
 
 
6561
 
fi
6562
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6563
 
  cat >conftest.$ac_ext <<_ACEOF
6564
 
/* confdefs.h.  */
6565
 
_ACEOF
6566
 
cat confdefs.h >>conftest.$ac_ext
6567
 
cat >>conftest.$ac_ext <<_ACEOF
6568
 
/* end confdefs.h.  */
6569
 
#define _FILE_OFFSET_BITS 64
6570
 
#include <sys/types.h>
6571
 
 /* Check that off_t can represent 2**63 - 1 correctly.
6572
 
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
6573
 
    since some C++ compilers masquerading as C compilers
6574
 
    incorrectly reject 9223372036854775807.  */
6575
 
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6576
 
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6577
 
                       && LARGE_OFF_T % 2147483647 == 1)
6578
 
                      ? 1 : -1];
6579
 
int
6580
 
main ()
6581
 
{
6582
 
 
6583
 
  ;
6584
 
  return 0;
6585
 
}
6586
 
_ACEOF
6587
 
rm -f conftest.$ac_objext
6588
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6589
 
  (eval $ac_compile) 2>conftest.er1
6590
 
  ac_status=$?
6591
 
  grep -v '^ *+' conftest.er1 >conftest.err
6592
 
  rm -f conftest.er1
6593
 
  cat conftest.err >&5
6594
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6595
 
  (exit $ac_status); } &&
6596
 
         { ac_try='test -z "$ac_c_werror_flag"
6597
 
                         || test ! -s conftest.err'
6598
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6599
 
  (eval $ac_try) 2>&5
6600
 
  ac_status=$?
6601
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6602
 
  (exit $ac_status); }; } &&
6603
 
         { ac_try='test -s conftest.$ac_objext'
6604
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6605
 
  (eval $ac_try) 2>&5
6606
 
  ac_status=$?
6607
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6608
 
  (exit $ac_status); }; }; then
6609
 
  ac_cv_sys_file_offset_bits=64; break
6610
 
else
6611
 
  echo "$as_me: failed program was:" >&5
6612
 
sed 's/^/| /' conftest.$ac_ext >&5
6613
 
 
6614
 
fi
6615
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6616
 
  break
6617
 
done
6618
 
fi
6619
 
echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
6620
 
echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
6621
 
if test "$ac_cv_sys_file_offset_bits" != no; then
6622
 
 
6623
 
cat >>confdefs.h <<_ACEOF
6624
 
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6625
 
_ACEOF
6626
 
 
6627
 
fi
6628
 
rm -f conftest*
6629
 
  echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
6630
 
echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
6631
 
if test "${ac_cv_sys_large_files+set}" = set; then
6632
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6633
 
else
6634
 
  while :; do
6635
 
  ac_cv_sys_large_files=no
6636
 
  cat >conftest.$ac_ext <<_ACEOF
6637
 
/* confdefs.h.  */
6638
 
_ACEOF
6639
 
cat confdefs.h >>conftest.$ac_ext
6640
 
cat >>conftest.$ac_ext <<_ACEOF
6641
 
/* end confdefs.h.  */
6642
 
#include <sys/types.h>
6643
 
 /* Check that off_t can represent 2**63 - 1 correctly.
6644
 
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
6645
 
    since some C++ compilers masquerading as C compilers
6646
 
    incorrectly reject 9223372036854775807.  */
6647
 
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6648
 
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6649
 
                       && LARGE_OFF_T % 2147483647 == 1)
6650
 
                      ? 1 : -1];
6651
 
int
6652
 
main ()
6653
 
{
6654
 
 
6655
 
  ;
6656
 
  return 0;
6657
 
}
6658
 
_ACEOF
6659
 
rm -f conftest.$ac_objext
6660
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6661
 
  (eval $ac_compile) 2>conftest.er1
6662
 
  ac_status=$?
6663
 
  grep -v '^ *+' conftest.er1 >conftest.err
6664
 
  rm -f conftest.er1
6665
 
  cat conftest.err >&5
6666
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6667
 
  (exit $ac_status); } &&
6668
 
         { ac_try='test -z "$ac_c_werror_flag"
6669
 
                         || test ! -s conftest.err'
6670
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6671
 
  (eval $ac_try) 2>&5
6672
 
  ac_status=$?
6673
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6674
 
  (exit $ac_status); }; } &&
6675
 
         { ac_try='test -s conftest.$ac_objext'
6676
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6677
 
  (eval $ac_try) 2>&5
6678
 
  ac_status=$?
6679
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6680
 
  (exit $ac_status); }; }; then
6681
 
  break
6682
 
else
6683
 
  echo "$as_me: failed program was:" >&5
6684
 
sed 's/^/| /' conftest.$ac_ext >&5
6685
 
 
6686
 
fi
6687
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6688
 
  cat >conftest.$ac_ext <<_ACEOF
6689
 
/* confdefs.h.  */
6690
 
_ACEOF
6691
 
cat confdefs.h >>conftest.$ac_ext
6692
 
cat >>conftest.$ac_ext <<_ACEOF
6693
 
/* end confdefs.h.  */
6694
 
#define _LARGE_FILES 1
6695
 
#include <sys/types.h>
6696
 
 /* Check that off_t can represent 2**63 - 1 correctly.
6697
 
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
6698
 
    since some C++ compilers masquerading as C compilers
6699
 
    incorrectly reject 9223372036854775807.  */
6700
 
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6701
 
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6702
 
                       && LARGE_OFF_T % 2147483647 == 1)
6703
 
                      ? 1 : -1];
6704
 
int
6705
 
main ()
6706
 
{
6707
 
 
6708
 
  ;
6709
 
  return 0;
6710
 
}
6711
 
_ACEOF
6712
 
rm -f conftest.$ac_objext
6713
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6714
 
  (eval $ac_compile) 2>conftest.er1
6715
 
  ac_status=$?
6716
 
  grep -v '^ *+' conftest.er1 >conftest.err
6717
 
  rm -f conftest.er1
6718
 
  cat conftest.err >&5
6719
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720
 
  (exit $ac_status); } &&
6721
 
         { ac_try='test -z "$ac_c_werror_flag"
6722
 
                         || test ! -s conftest.err'
6723
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6724
 
  (eval $ac_try) 2>&5
6725
 
  ac_status=$?
6726
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6727
 
  (exit $ac_status); }; } &&
6728
 
         { ac_try='test -s conftest.$ac_objext'
6729
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6730
 
  (eval $ac_try) 2>&5
6731
 
  ac_status=$?
6732
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6733
 
  (exit $ac_status); }; }; then
6734
 
  ac_cv_sys_large_files=1; break
6735
 
else
6736
 
  echo "$as_me: failed program was:" >&5
6737
 
sed 's/^/| /' conftest.$ac_ext >&5
6738
 
 
6739
 
fi
6740
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6741
 
  break
6742
 
done
6743
 
fi
6744
 
echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
6745
 
echo "${ECHO_T}$ac_cv_sys_large_files" >&6
6746
 
if test "$ac_cv_sys_large_files" != no; then
6747
 
 
6748
 
cat >>confdefs.h <<_ACEOF
6749
 
#define _LARGE_FILES $ac_cv_sys_large_files
6750
 
_ACEOF
6751
 
 
6752
 
fi
6753
 
rm -f conftest*
6754
 
fi
6755
 
 
6756
 
 
6757
 
# check for ANSI C headers
6758
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6759
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6760
 
if test "${ac_cv_header_stdc+set}" = set; then
6761
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6762
 
else
6763
 
  cat >conftest.$ac_ext <<_ACEOF
6764
 
/* confdefs.h.  */
6765
 
_ACEOF
6766
 
cat confdefs.h >>conftest.$ac_ext
6767
 
cat >>conftest.$ac_ext <<_ACEOF
6768
 
/* end confdefs.h.  */
6769
 
#include <stdlib.h>
6770
 
#include <stdarg.h>
6771
 
#include <string.h>
6772
 
#include <float.h>
6773
 
 
6774
 
int
6775
 
main ()
6776
 
{
6777
 
 
6778
 
  ;
6779
 
  return 0;
6780
 
}
6781
 
_ACEOF
6782
 
rm -f conftest.$ac_objext
6783
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6784
 
  (eval $ac_compile) 2>conftest.er1
6785
 
  ac_status=$?
6786
 
  grep -v '^ *+' conftest.er1 >conftest.err
6787
 
  rm -f conftest.er1
6788
 
  cat conftest.err >&5
6789
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6790
 
  (exit $ac_status); } &&
6791
 
         { ac_try='test -z "$ac_c_werror_flag"
6792
 
                         || test ! -s conftest.err'
6793
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6794
 
  (eval $ac_try) 2>&5
6795
 
  ac_status=$?
6796
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6797
 
  (exit $ac_status); }; } &&
6798
 
         { ac_try='test -s conftest.$ac_objext'
6799
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6800
 
  (eval $ac_try) 2>&5
6801
 
  ac_status=$?
6802
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6803
 
  (exit $ac_status); }; }; then
6804
 
  ac_cv_header_stdc=yes
6805
 
else
6806
 
  echo "$as_me: failed program was:" >&5
6807
 
sed 's/^/| /' conftest.$ac_ext >&5
6808
 
 
6809
 
ac_cv_header_stdc=no
6810
 
fi
6811
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6812
 
 
6813
 
if test $ac_cv_header_stdc = yes; then
6814
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6815
 
  cat >conftest.$ac_ext <<_ACEOF
6816
 
/* confdefs.h.  */
6817
 
_ACEOF
6818
 
cat confdefs.h >>conftest.$ac_ext
6819
 
cat >>conftest.$ac_ext <<_ACEOF
6820
 
/* end confdefs.h.  */
6821
 
#include <string.h>
6822
 
 
6823
 
_ACEOF
6824
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6825
 
  $EGREP "memchr" >/dev/null 2>&1; then
6826
 
  :
6827
 
else
6828
 
  ac_cv_header_stdc=no
6829
 
fi
6830
 
rm -f conftest*
6831
 
 
6832
 
fi
6833
 
 
6834
 
if test $ac_cv_header_stdc = yes; then
6835
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6836
 
  cat >conftest.$ac_ext <<_ACEOF
6837
 
/* confdefs.h.  */
6838
 
_ACEOF
6839
 
cat confdefs.h >>conftest.$ac_ext
6840
 
cat >>conftest.$ac_ext <<_ACEOF
6841
 
/* end confdefs.h.  */
6842
 
#include <stdlib.h>
6843
 
 
6844
 
_ACEOF
6845
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6846
 
  $EGREP "free" >/dev/null 2>&1; then
6847
 
  :
6848
 
else
6849
 
  ac_cv_header_stdc=no
6850
 
fi
6851
 
rm -f conftest*
6852
 
 
6853
 
fi
6854
 
 
6855
 
if test $ac_cv_header_stdc = yes; then
6856
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6857
 
  if test "$cross_compiling" = yes; then
6858
 
  :
6859
 
else
6860
 
  cat >conftest.$ac_ext <<_ACEOF
6861
 
/* confdefs.h.  */
6862
 
_ACEOF
6863
 
cat confdefs.h >>conftest.$ac_ext
6864
 
cat >>conftest.$ac_ext <<_ACEOF
6865
 
/* end confdefs.h.  */
6866
 
#include <ctype.h>
6867
 
#if ((' ' & 0x0FF) == 0x020)
6868
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6869
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6870
 
#else
6871
 
# define ISLOWER(c) \
6872
 
                   (('a' <= (c) && (c) <= 'i') \
6873
 
                     || ('j' <= (c) && (c) <= 'r') \
6874
 
                     || ('s' <= (c) && (c) <= 'z'))
6875
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6876
 
#endif
6877
 
 
6878
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6879
 
int
6880
 
main ()
6881
 
{
6882
 
  int i;
6883
 
  for (i = 0; i < 256; i++)
6884
 
    if (XOR (islower (i), ISLOWER (i))
6885
 
        || toupper (i) != TOUPPER (i))
6886
 
      exit(2);
6887
 
  exit (0);
6888
 
}
6889
 
_ACEOF
6890
 
rm -f conftest$ac_exeext
6891
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6892
 
  (eval $ac_link) 2>&5
6893
 
  ac_status=$?
6894
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6896
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6897
 
  (eval $ac_try) 2>&5
6898
 
  ac_status=$?
6899
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6900
 
  (exit $ac_status); }; }; then
6901
 
  :
6902
 
else
6903
 
  echo "$as_me: program exited with status $ac_status" >&5
6904
 
echo "$as_me: failed program was:" >&5
6905
 
sed 's/^/| /' conftest.$ac_ext >&5
6906
 
 
6907
 
( exit $ac_status )
6908
 
ac_cv_header_stdc=no
6909
 
fi
6910
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6911
 
fi
6912
 
fi
6913
 
fi
6914
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6915
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
6916
 
if test $ac_cv_header_stdc = yes; then
6917
 
 
6918
 
cat >>confdefs.h <<\_ACEOF
6919
 
#define STDC_HEADERS 1
6920
 
_ACEOF
6921
 
 
6922
 
fi
6923
 
 
6924
 
if test $ac_cv_header_stdc != yes; then
6925
 
        { { echo "$as_me:$LINENO: error: ANSI C headers not present" >&5
6926
 
echo "$as_me: error: ANSI C headers not present" >&2;}
6927
 
   { (exit 1); exit 1; }; }
6928
 
fi
6929
 
 
6930
 
 
6931
 
# Check whether --with-reentrant-resolver or --without-reentrant-resolver was given.
6932
 
if test "${with_reentrant_resolver+set}" = set; then
6933
 
  withval="$with_reentrant_resolver"
6934
 
  case "$withval" in
6935
 
        yes|no|autodetect) reentrant_resolver=$withval ;;
6936
 
        *) { { echo "$as_me:$LINENO: error: bad value $withval for --with-reentrant-resolver" >&5
6937
 
echo "$as_me: error: bad value $withval for --with-reentrant-resolver" >&2;}
6938
 
   { (exit 1); exit 1; }; } ;;
6939
 
esac
6940
 
else
6941
 
  reentrant_resolver=autodetect
6942
 
fi;
6943
 
 
6944
 
if test $reentrant_resolver = autodetect; then
6945
 
        echo "$as_me:$LINENO: checking if the system resolver is reentrant" >&5
6946
 
echo $ECHO_N "checking if the system resolver is reentrant... $ECHO_C" >&6
6947
 
 
6948
 
        case "$target_os" in
6949
 
                # FreeBSD >= 5.3
6950
 
                freebsd5.[3-9]*|freebsd5.[1-9][0-9]*|freebsd[6-9]*|freebsd[1-9][0-9]*)
6951
 
                        reentrant_resolver=yes ;;
6952
 
 
6953
 
                # FreeBSD < 5.3, NetBSD, OpenBSD
6954
 
                freebsd*|netbsd*|openbsd*)
6955
 
                        reentrant_resolver=no ;;
6956
 
 
6957
 
                # Linux
6958
 
                linux*)
6959
 
                        reentrant_resolver=yes ;;
6960
 
 
6961
 
                *)
6962
 
                        reentrant_resolver=unknown ;;
6963
 
        esac
6964
 
 
6965
 
        if test $reentrant_resolver = unknown; then
6966
 
                reentrant_resolver=no
6967
 
                echo "$as_me:$LINENO: result: unknown, assuming it is not (use --with-reentrant-resolver to override)" >&5
6968
 
echo "${ECHO_T}unknown, assuming it is not (use --with-reentrant-resolver to override)" >&6
6969
 
        else
6970
 
                echo "$as_me:$LINENO: result: $reentrant_resolver" >&5
6971
 
echo "${ECHO_T}$reentrant_resolver" >&6
6972
 
        fi
6973
 
fi
6974
 
 
6975
 
if test $reentrant_resolver = yes; then
6976
 
 
6977
 
cat >>confdefs.h <<\_ACEOF
6978
 
#define HAVE_REENTRANT_RESOLVER 1
6979
 
_ACEOF
6980
 
 
6981
 
fi
6982
 
 
6983
 
### mandatory libraries and programs
6984
 
 
6985
 
# Check whether --enable-gtktest or --disable-gtktest was given.
6986
 
if test "${enable_gtktest+set}" = set; then
6987
 
  enableval="$enable_gtktest"
6988
 
 
6989
 
else
6990
 
  enable_gtktest=yes
6991
 
fi;
6992
 
 
6993
 
  pkg_config_args=gtk+-2.0
6994
 
  for module in .
6995
 
  do
6996
 
      case "$module" in
6997
 
         gthread)
6998
 
             pkg_config_args="$pkg_config_args gthread-2.0"
6999
 
         ;;
7000
 
      esac
7001
 
  done
7002
 
 
7003
 
  no_gtk=""
7004
 
 
7005
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
7006
 
set dummy pkg-config; ac_word=$2
7007
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7008
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7009
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7010
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7011
 
else
7012
 
  case $PKG_CONFIG in
7013
 
  [\\/]* | ?:[\\/]*)
7014
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7015
 
  ;;
7016
 
  *)
7017
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7018
 
for as_dir in $PATH
7019
 
do
7020
 
  IFS=$as_save_IFS
7021
 
  test -z "$as_dir" && as_dir=.
7022
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7023
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7024
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7025
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7026
 
    break 2
7027
 
  fi
7028
 
done
7029
 
done
7030
 
 
7031
 
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
7032
 
  ;;
7033
 
esac
7034
 
fi
7035
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7036
 
 
7037
 
if test -n "$PKG_CONFIG"; then
7038
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
7039
 
echo "${ECHO_T}$PKG_CONFIG" >&6
7040
 
else
7041
 
  echo "$as_me:$LINENO: result: no" >&5
7042
 
echo "${ECHO_T}no" >&6
7043
 
fi
7044
 
 
7045
 
 
7046
 
  if test x$PKG_CONFIG != xno ; then
7047
 
    if pkg-config --atleast-pkgconfig-version 0.7 ; then
7048
 
      :
7049
 
    else
7050
 
      echo "*** pkg-config too old; version 0.7 or better required."
7051
 
      no_gtk=yes
7052
 
      PKG_CONFIG=no
7053
 
    fi
7054
 
  else
7055
 
    no_gtk=yes
7056
 
  fi
7057
 
 
7058
 
  min_gtk_version=2.8.0
7059
 
  echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
7060
 
echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
7061
 
 
7062
 
  if test x$PKG_CONFIG != xno ; then
7063
 
    ## don't try to run the test against uninstalled libtool libs
7064
 
    if $PKG_CONFIG --uninstalled $pkg_config_args; then
7065
 
          echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
7066
 
          enable_gtktest=no
7067
 
    fi
7068
 
 
7069
 
    if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
7070
 
          :
7071
 
    else
7072
 
          no_gtk=yes
7073
 
    fi
7074
 
  fi
7075
 
 
7076
 
  if test x"$no_gtk" = x ; then
7077
 
    GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
7078
 
    GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
7079
 
    gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
7080
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7081
 
    gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
7082
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7083
 
    gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
7084
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7085
 
    if test "x$enable_gtktest" = "xyes" ; then
7086
 
      ac_save_CFLAGS="$CFLAGS"
7087
 
      ac_save_LIBS="$LIBS"
7088
 
      CFLAGS="$CFLAGS $GTK_CFLAGS"
7089
 
      LIBS="$GTK_LIBS $LIBS"
7090
 
      rm -f conf.gtktest
7091
 
      if test "$cross_compiling" = yes; then
7092
 
  echo $ac_n "cross compiling; assumed OK... $ac_c"
7093
 
else
7094
 
  cat >conftest.$ac_ext <<_ACEOF
7095
 
/* confdefs.h.  */
7096
 
_ACEOF
7097
 
cat confdefs.h >>conftest.$ac_ext
7098
 
cat >>conftest.$ac_ext <<_ACEOF
7099
 
/* end confdefs.h.  */
7100
 
 
7101
 
#include <gtk/gtk.h>
7102
 
#include <stdio.h>
7103
 
#include <stdlib.h>
7104
 
 
7105
 
int
7106
 
main ()
7107
 
{
7108
 
  int major, minor, micro;
7109
 
  char *tmp_version;
7110
 
 
7111
 
  system ("touch conf.gtktest");
7112
 
 
7113
 
  /* HP/UX 9 (%@#!) writes to sscanf strings */
7114
 
  tmp_version = g_strdup("$min_gtk_version");
7115
 
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
7116
 
     printf("%s, bad version string\n", "$min_gtk_version");
7117
 
     exit(1);
7118
 
   }
7119
 
 
7120
 
  if ((gtk_major_version != $gtk_config_major_version) ||
7121
 
      (gtk_minor_version != $gtk_config_minor_version) ||
7122
 
      (gtk_micro_version != $gtk_config_micro_version))
7123
 
    {
7124
 
      printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
7125
 
             $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
7126
 
             gtk_major_version, gtk_minor_version, gtk_micro_version);
7127
 
      printf ("*** was found! If pkg-config was correct, then it is best\n");
7128
 
      printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
7129
 
      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
7130
 
      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
7131
 
      printf("*** required on your system.\n");
7132
 
      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
7133
 
      printf("*** to point to the correct configuration files\n");
7134
 
    }
7135
 
  else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
7136
 
           (gtk_minor_version != GTK_MINOR_VERSION) ||
7137
 
           (gtk_micro_version != GTK_MICRO_VERSION))
7138
 
    {
7139
 
      printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
7140
 
             GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
7141
 
      printf("*** library (version %d.%d.%d)\n",
7142
 
             gtk_major_version, gtk_minor_version, gtk_micro_version);
7143
 
    }
7144
 
  else
7145
 
    {
7146
 
      if ((gtk_major_version > major) ||
7147
 
        ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7148
 
        ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
7149
 
      {
7150
 
        return 0;
7151
 
       }
7152
 
     else
7153
 
      {
7154
 
        printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
7155
 
               gtk_major_version, gtk_minor_version, gtk_micro_version);
7156
 
        printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
7157
 
               major, minor, micro);
7158
 
        printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
7159
 
        printf("***\n");
7160
 
        printf("*** If you have already installed a sufficiently new version, this error\n");
7161
 
        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
7162
 
        printf("*** being found. The easiest way to fix this is to remove the old version\n");
7163
 
        printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
7164
 
        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
7165
 
        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
7166
 
        printf("*** so that the correct libraries are found at run-time))\n");
7167
 
      }
7168
 
    }
7169
 
  return 1;
7170
 
}
7171
 
 
7172
 
_ACEOF
7173
 
rm -f conftest$ac_exeext
7174
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7175
 
  (eval $ac_link) 2>&5
7176
 
  ac_status=$?
7177
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7178
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7179
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7180
 
  (eval $ac_try) 2>&5
7181
 
  ac_status=$?
7182
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7183
 
  (exit $ac_status); }; }; then
7184
 
  :
7185
 
else
7186
 
  echo "$as_me: program exited with status $ac_status" >&5
7187
 
echo "$as_me: failed program was:" >&5
7188
 
sed 's/^/| /' conftest.$ac_ext >&5
7189
 
 
7190
 
( exit $ac_status )
7191
 
no_gtk=yes
7192
 
fi
7193
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7194
 
fi
7195
 
       CFLAGS="$ac_save_CFLAGS"
7196
 
       LIBS="$ac_save_LIBS"
7197
 
     fi
7198
 
  fi
7199
 
  if test "x$no_gtk" = x ; then
7200
 
     echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
7201
 
echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
7202
 
     :
7203
 
  else
7204
 
     echo "$as_me:$LINENO: result: no" >&5
7205
 
echo "${ECHO_T}no" >&6
7206
 
     if test "$PKG_CONFIG" = "no" ; then
7207
 
       echo "*** A new enough version of pkg-config was not found."
7208
 
       echo "*** See http://pkgconfig.sourceforge.net"
7209
 
     else
7210
 
       if test -f conf.gtktest ; then
7211
 
        :
7212
 
       else
7213
 
          echo "*** Could not run GTK+ test program, checking why..."
7214
 
          ac_save_CFLAGS="$CFLAGS"
7215
 
          ac_save_LIBS="$LIBS"
7216
 
          CFLAGS="$CFLAGS $GTK_CFLAGS"
7217
 
          LIBS="$LIBS $GTK_LIBS"
7218
 
          cat >conftest.$ac_ext <<_ACEOF
7219
 
/* confdefs.h.  */
7220
 
_ACEOF
7221
 
cat confdefs.h >>conftest.$ac_ext
7222
 
cat >>conftest.$ac_ext <<_ACEOF
7223
 
/* end confdefs.h.  */
7224
 
 
7225
 
#include <gtk/gtk.h>
7226
 
#include <stdio.h>
7227
 
 
7228
 
int
7229
 
main ()
7230
 
{
7231
 
 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
7232
 
  ;
7233
 
  return 0;
7234
 
}
7235
 
_ACEOF
7236
 
rm -f conftest.$ac_objext conftest$ac_exeext
7237
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7238
 
  (eval $ac_link) 2>conftest.er1
7239
 
  ac_status=$?
7240
 
  grep -v '^ *+' conftest.er1 >conftest.err
7241
 
  rm -f conftest.er1
7242
 
  cat conftest.err >&5
7243
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7244
 
  (exit $ac_status); } &&
7245
 
         { ac_try='test -z "$ac_c_werror_flag"
7246
 
                         || test ! -s conftest.err'
7247
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7248
 
  (eval $ac_try) 2>&5
7249
 
  ac_status=$?
7250
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7251
 
  (exit $ac_status); }; } &&
7252
 
         { ac_try='test -s conftest$ac_exeext'
7253
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7254
 
  (eval $ac_try) 2>&5
7255
 
  ac_status=$?
7256
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7257
 
  (exit $ac_status); }; }; then
7258
 
   echo "*** The test program compiled, but did not run. This usually means"
7259
 
          echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
7260
 
          echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
7261
 
          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
7262
 
          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
7263
 
          echo "*** is required on your system"
7264
 
          echo "***"
7265
 
          echo "*** If you have an old version installed, it is best to remove it, although"
7266
 
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
7267
 
else
7268
 
  echo "$as_me: failed program was:" >&5
7269
 
sed 's/^/| /' conftest.$ac_ext >&5
7270
 
 
7271
 
 echo "*** The test program failed to compile or link. See the file config.log for the"
7272
 
          echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
7273
 
fi
7274
 
rm -f conftest.err conftest.$ac_objext \
7275
 
      conftest$ac_exeext conftest.$ac_ext
7276
 
          CFLAGS="$ac_save_CFLAGS"
7277
 
          LIBS="$ac_save_LIBS"
7278
 
       fi
7279
 
     fi
7280
 
     GTK_CFLAGS=""
7281
 
     GTK_LIBS=""
7282
 
     { { echo "$as_me:$LINENO: error: unable to find the GTK+ library" >&5
7283
 
echo "$as_me: error: unable to find the GTK+ library" >&2;}
7284
 
   { (exit 1); exit 1; }; }
7285
 
  fi
7286
 
 
7287
 
 
7288
 
  rm -f conf.gtktest
7289
 
 
7290
 
 
7291
 
 
7292
 
 
7293
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7294
 
        if test -n "$ac_tool_prefix"; then
7295
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7296
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7297
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7298
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7299
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7300
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7301
 
else
7302
 
  case $PKG_CONFIG in
7303
 
  [\\/]* | ?:[\\/]*)
7304
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7305
 
  ;;
7306
 
  *)
7307
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7308
 
for as_dir in $PATH
7309
 
do
7310
 
  IFS=$as_save_IFS
7311
 
  test -z "$as_dir" && as_dir=.
7312
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7313
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7314
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7315
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7316
 
    break 2
7317
 
  fi
7318
 
done
7319
 
done
7320
 
 
7321
 
  ;;
7322
 
esac
7323
 
fi
7324
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7325
 
 
7326
 
if test -n "$PKG_CONFIG"; then
7327
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
7328
 
echo "${ECHO_T}$PKG_CONFIG" >&6
7329
 
else
7330
 
  echo "$as_me:$LINENO: result: no" >&5
7331
 
echo "${ECHO_T}no" >&6
7332
 
fi
7333
 
 
7334
 
fi
7335
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
7336
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
7337
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
7338
 
set dummy pkg-config; ac_word=$2
7339
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7340
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7341
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
7342
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7343
 
else
7344
 
  case $ac_pt_PKG_CONFIG in
7345
 
  [\\/]* | ?:[\\/]*)
7346
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7347
 
  ;;
7348
 
  *)
7349
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7350
 
for as_dir in $PATH
7351
 
do
7352
 
  IFS=$as_save_IFS
7353
 
  test -z "$as_dir" && as_dir=.
7354
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7355
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7356
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7357
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7358
 
    break 2
7359
 
  fi
7360
 
done
7361
 
done
7362
 
 
7363
 
  ;;
7364
 
esac
7365
 
fi
7366
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
7367
 
 
7368
 
if test -n "$ac_pt_PKG_CONFIG"; then
7369
 
  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
7370
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
7371
 
else
7372
 
  echo "$as_me:$LINENO: result: no" >&5
7373
 
echo "${ECHO_T}no" >&6
7374
 
fi
7375
 
 
7376
 
  PKG_CONFIG=$ac_pt_PKG_CONFIG
7377
 
else
7378
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
7379
 
fi
7380
 
 
7381
 
fi
7382
 
if test -n "$PKG_CONFIG"; then
7383
 
        _pkg_min_version=0.9.0
7384
 
        echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
7385
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
7386
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7387
 
                echo "$as_me:$LINENO: result: yes" >&5
7388
 
echo "${ECHO_T}yes" >&6
7389
 
        else
7390
 
                echo "$as_me:$LINENO: result: no" >&5
7391
 
echo "${ECHO_T}no" >&6
7392
 
                PKG_CONFIG=""
7393
 
        fi
7394
 
 
7395
 
fi
7396
 
 
7397
 
pkg_failed=no
7398
 
echo "$as_me:$LINENO: checking for GNOME" >&5
7399
 
echo $ECHO_N "checking for GNOME... $ECHO_C" >&6
7400
 
 
7401
 
if test -n "$PKG_CONFIG"; then
7402
 
    if test -n "$GNOME_CFLAGS"; then
7403
 
        pkg_cv_GNOME_CFLAGS="$GNOME_CFLAGS"
7404
 
    else
7405
 
        if test -n "$PKG_CONFIG" && \
7406
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 libgnomeui-2.0 libpanelapplet-2.0 libglade-2.0 eel-2.0\"") >&5
7407
 
  ($PKG_CONFIG --exists --print-errors "gthread-2.0 libgnomeui-2.0 libpanelapplet-2.0 libglade-2.0 eel-2.0") 2>&5
7408
 
  ac_status=$?
7409
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7410
 
  (exit $ac_status); }; then
7411
 
  pkg_cv_GNOME_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0 libgnomeui-2.0 libpanelapplet-2.0 libglade-2.0 eel-2.0" 2>/dev/null`
7412
 
else
7413
 
  pkg_failed=yes
7414
 
fi
7415
 
    fi
7416
 
else
7417
 
        pkg_failed=untried
7418
 
fi
7419
 
if test -n "$PKG_CONFIG"; then
7420
 
    if test -n "$GNOME_LIBS"; then
7421
 
        pkg_cv_GNOME_LIBS="$GNOME_LIBS"
7422
 
    else
7423
 
        if test -n "$PKG_CONFIG" && \
7424
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 libgnomeui-2.0 libpanelapplet-2.0 libglade-2.0 eel-2.0\"") >&5
7425
 
  ($PKG_CONFIG --exists --print-errors "gthread-2.0 libgnomeui-2.0 libpanelapplet-2.0 libglade-2.0 eel-2.0") 2>&5
7426
 
  ac_status=$?
7427
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7428
 
  (exit $ac_status); }; then
7429
 
  pkg_cv_GNOME_LIBS=`$PKG_CONFIG --libs "gthread-2.0 libgnomeui-2.0 libpanelapplet-2.0 libglade-2.0 eel-2.0" 2>/dev/null`
7430
 
else
7431
 
  pkg_failed=yes
7432
 
fi
7433
 
    fi
7434
 
else
7435
 
        pkg_failed=untried
7436
 
fi
7437
 
 
7438
 
 
7439
 
 
7440
 
if test $pkg_failed = yes; then
7441
 
 
7442
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7443
 
        _pkg_short_errors_supported=yes
7444
 
else
7445
 
        _pkg_short_errors_supported=no
7446
 
fi
7447
 
        if test $_pkg_short_errors_supported = yes; then
7448
 
                GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gthread-2.0 libgnomeui-2.0 libpanelapplet-2.0 libglade-2.0 eel-2.0"`
7449
 
        else
7450
 
                GNOME_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gthread-2.0 libgnomeui-2.0 libpanelapplet-2.0 libglade-2.0 eel-2.0"`
7451
 
        fi
7452
 
        # Put the nasty error message in config.log where it belongs
7453
 
        echo "$GNOME_PKG_ERRORS" >&5
7454
 
 
7455
 
        { { echo "$as_me:$LINENO: error: unable to find the GNOME libraries" >&5
7456
 
echo "$as_me: error: unable to find the GNOME libraries" >&2;}
7457
 
   { (exit 1); exit 1; }; }
7458
 
elif test $pkg_failed = untried; then
7459
 
        { { echo "$as_me:$LINENO: error: unable to find the GNOME libraries" >&5
7460
 
echo "$as_me: error: unable to find the GNOME libraries" >&2;}
7461
 
   { (exit 1); exit 1; }; }
7462
 
else
7463
 
        GNOME_CFLAGS=$pkg_cv_GNOME_CFLAGS
7464
 
        GNOME_LIBS=$pkg_cv_GNOME_LIBS
7465
 
        echo "$as_me:$LINENO: result: yes" >&5
7466
 
echo "${ECHO_T}yes" >&6
7467
 
        :
7468
 
fi
7469
 
 
7470
 
  if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
7471
 
    GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
7472
 
  else
7473
 
    GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
7474
 
  fi
7475
 
 
7476
 
 
7477
 
# Check whether --with-gconf-source or --without-gconf-source was given.
7478
 
if test "${with_gconf_source+set}" = set; then
7479
 
  withval="$with_gconf_source"
7480
 
  GCONF_SCHEMA_CONFIG_SOURCE="$withval"
7481
 
fi;
7482
 
 
7483
 
 
7484
 
  echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
7485
 
echo "${ECHO_T}Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6
7486
 
 
7487
 
  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
7488
 
    GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
7489
 
  fi
7490
 
 
7491
 
 
7492
 
# Check whether --with-gconf-schema-file-dir or --without-gconf-schema-file-dir was given.
7493
 
if test "${with_gconf_schema_file_dir+set}" = set; then
7494
 
  withval="$with_gconf_schema_file_dir"
7495
 
  GCONF_SCHEMA_FILE_DIR="$withval"
7496
 
fi;
7497
 
 
7498
 
 
7499
 
  echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
7500
 
echo "${ECHO_T}Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6
7501
 
 
7502
 
  # Check whether --enable-schemas-install or --disable-schemas-install was given.
7503
 
if test "${enable_schemas_install+set}" = set; then
7504
 
  enableval="$enable_schemas_install"
7505
 
  case ${enableval} in
7506
 
       yes|no) ;;
7507
 
       *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-schemas-install" >&5
7508
 
echo "$as_me: error: bad value ${enableval} for --enable-schemas-install" >&2;}
7509
 
   { (exit 1); exit 1; }; } ;;
7510
 
      esac
7511
 
fi;
7512
 
 
7513
 
 
7514
 
if test "$enable_schemas_install" != no; then
7515
 
  GCONF_SCHEMAS_INSTALL_TRUE=
7516
 
  GCONF_SCHEMAS_INSTALL_FALSE='#'
7517
 
else
7518
 
  GCONF_SCHEMAS_INSTALL_TRUE='#'
7519
 
  GCONF_SCHEMAS_INSTALL_FALSE=
7520
 
fi
7521
 
 
7522
 
 
7523
 
 
7524
 
 
7525
 
 
7526
 
echo "$as_me:$LINENO: checking for the GNOME installation prefix" >&5
7527
 
echo $ECHO_N "checking for the GNOME installation prefix... $ECHO_C" >&6
7528
 
 
7529
 
gnome_prefix=""
7530
 
if test -n "$PKG_CONFIG"; then
7531
 
        gnome_prefix=`$PKG_CONFIG --variable prefix libgnome-2.0 2>/dev/null`
7532
 
fi
7533
 
 
7534
 
if test -n "$gnome_prefix"; then
7535
 
        echo "$as_me:$LINENO: result: $gnome_prefix" >&5
7536
 
echo "${ECHO_T}$gnome_prefix" >&6
7537
 
        :
7538
 
else
7539
 
        echo "$as_me:$LINENO: result: not found" >&5
7540
 
echo "${ECHO_T}not found" >&6
7541
 
        :
7542
 
fi
7543
 
 
7544
 
 
7545
 
 
7546
 
# Extract the first word of "gconftool-2", so it can be a program name with args.
7547
 
set dummy gconftool-2; ac_word=$2
7548
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7549
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7550
 
if test "${ac_cv_path_GCONFTOOL+set}" = set; then
7551
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7552
 
else
7553
 
  case $GCONFTOOL in
7554
 
  [\\/]* | ?:[\\/]*)
7555
 
  ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
7556
 
  ;;
7557
 
  *)
7558
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7559
 
for as_dir in $PATH
7560
 
do
7561
 
  IFS=$as_save_IFS
7562
 
  test -z "$as_dir" && as_dir=.
7563
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7564
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7565
 
    ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
7566
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7567
 
    break 2
7568
 
  fi
7569
 
done
7570
 
done
7571
 
 
7572
 
  ;;
7573
 
esac
7574
 
fi
7575
 
GCONFTOOL=$ac_cv_path_GCONFTOOL
7576
 
 
7577
 
if test -n "$GCONFTOOL"; then
7578
 
  echo "$as_me:$LINENO: result: $GCONFTOOL" >&5
7579
 
echo "${ECHO_T}$GCONFTOOL" >&6
7580
 
else
7581
 
  echo "$as_me:$LINENO: result: no" >&5
7582
 
echo "${ECHO_T}no" >&6
7583
 
fi
7584
 
 
7585
 
if test -z "$GCONFTOOL"; then
7586
 
        { { echo "$as_me:$LINENO: error: unable to find the gconftool-2 program" >&5
7587
 
echo "$as_me: error: unable to find the gconftool-2 program" >&2;}
7588
 
   { (exit 1); exit 1; }; }
7589
 
fi
7590
 
 
7591
 
### optional libraries and programs
7592
 
 
7593
 
# not needed by end-users, as generated files are distributed
7594
 
# Extract the first word of "aml", so it can be a program name with args.
7595
 
set dummy aml; ac_word=$2
7596
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7597
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7598
 
if test "${ac_cv_path_AML+set}" = set; then
7599
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7600
 
else
7601
 
  case $AML in
7602
 
  [\\/]* | ?:[\\/]*)
7603
 
  ac_cv_path_AML="$AML" # Let the user override the test with a path.
7604
 
  ;;
7605
 
  *)
7606
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7607
 
for as_dir in $PATH
7608
 
do
7609
 
  IFS=$as_save_IFS
7610
 
  test -z "$as_dir" && as_dir=.
7611
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7612
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7613
 
    ac_cv_path_AML="$as_dir/$ac_word$ac_exec_ext"
7614
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7615
 
    break 2
7616
 
  fi
7617
 
done
7618
 
done
7619
 
 
7620
 
  ;;
7621
 
esac
7622
 
fi
7623
 
AML=$ac_cv_path_AML
7624
 
 
7625
 
if test -n "$AML"; then
7626
 
  echo "$as_me:$LINENO: result: $AML" >&5
7627
 
echo "${ECHO_T}$AML" >&6
7628
 
else
7629
 
  echo "$as_me:$LINENO: result: no" >&5
7630
 
echo "${ECHO_T}no" >&6
7631
 
fi
7632
 
 
7633
 
# Extract the first word of "gob2", so it can be a program name with args.
7634
 
set dummy gob2; ac_word=$2
7635
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7636
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7637
 
if test "${ac_cv_path_GOB2+set}" = set; then
7638
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7639
 
else
7640
 
  case $GOB2 in
7641
 
  [\\/]* | ?:[\\/]*)
7642
 
  ac_cv_path_GOB2="$GOB2" # Let the user override the test with a path.
7643
 
  ;;
7644
 
  *)
7645
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7646
 
for as_dir in $PATH
7647
 
do
7648
 
  IFS=$as_save_IFS
7649
 
  test -z "$as_dir" && as_dir=.
7650
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7651
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7652
 
    ac_cv_path_GOB2="$as_dir/$ac_word$ac_exec_ext"
7653
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7654
 
    break 2
7655
 
  fi
7656
 
done
7657
 
done
7658
 
 
7659
 
  ;;
7660
 
esac
7661
 
fi
7662
 
GOB2=$ac_cv_path_GOB2
7663
 
 
7664
 
if test -n "$GOB2"; then
7665
 
  echo "$as_me:$LINENO: result: $GOB2" >&5
7666
 
echo "${ECHO_T}$GOB2" >&6
7667
 
else
7668
 
  echo "$as_me:$LINENO: result: no" >&5
7669
 
echo "${ECHO_T}no" >&6
7670
 
fi
7671
 
 
7672
 
 
7673
 
if test $enable_geoip = yes; then
7674
 
        GEOIP_CFLAGS=""
7675
 
GEOIP_LIBS=""
7676
 
 
7677
 
echo "$as_me:$LINENO: checking for GeoIP_new in -lGeoIP" >&5
7678
 
echo $ECHO_N "checking for GeoIP_new in -lGeoIP... $ECHO_C" >&6
7679
 
if test "${ac_cv_lib_GeoIP_GeoIP_new+set}" = set; then
7680
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7681
 
else
7682
 
  ac_check_lib_save_LIBS=$LIBS
7683
 
LIBS="-lGeoIP  $LIBS"
7684
 
cat >conftest.$ac_ext <<_ACEOF
7685
 
/* confdefs.h.  */
7686
 
_ACEOF
7687
 
cat confdefs.h >>conftest.$ac_ext
7688
 
cat >>conftest.$ac_ext <<_ACEOF
7689
 
/* end confdefs.h.  */
7690
 
 
7691
 
/* Override any gcc2 internal prototype to avoid an error.  */
7692
 
#ifdef __cplusplus
7693
 
extern "C"
7694
 
#endif
7695
 
/* We use char because int might match the return type of a gcc2
7696
 
   builtin and then its argument prototype would still apply.  */
7697
 
char GeoIP_new ();
7698
 
int
7699
 
main ()
7700
 
{
7701
 
GeoIP_new ();
7702
 
  ;
7703
 
  return 0;
7704
 
}
7705
 
_ACEOF
7706
 
rm -f conftest.$ac_objext conftest$ac_exeext
7707
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7708
 
  (eval $ac_link) 2>conftest.er1
7709
 
  ac_status=$?
7710
 
  grep -v '^ *+' conftest.er1 >conftest.err
7711
 
  rm -f conftest.er1
7712
 
  cat conftest.err >&5
7713
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7714
 
  (exit $ac_status); } &&
7715
 
         { ac_try='test -z "$ac_c_werror_flag"
7716
 
                         || test ! -s conftest.err'
7717
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7718
 
  (eval $ac_try) 2>&5
7719
 
  ac_status=$?
7720
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7721
 
  (exit $ac_status); }; } &&
7722
 
         { ac_try='test -s conftest$ac_exeext'
7723
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7724
 
  (eval $ac_try) 2>&5
7725
 
  ac_status=$?
7726
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7727
 
  (exit $ac_status); }; }; then
7728
 
  ac_cv_lib_GeoIP_GeoIP_new=yes
7729
 
else
7730
 
  echo "$as_me: failed program was:" >&5
7731
 
sed 's/^/| /' conftest.$ac_ext >&5
7732
 
 
7733
 
ac_cv_lib_GeoIP_GeoIP_new=no
7734
 
fi
7735
 
rm -f conftest.err conftest.$ac_objext \
7736
 
      conftest$ac_exeext conftest.$ac_ext
7737
 
LIBS=$ac_check_lib_save_LIBS
7738
 
fi
7739
 
echo "$as_me:$LINENO: result: $ac_cv_lib_GeoIP_GeoIP_new" >&5
7740
 
echo "${ECHO_T}$ac_cv_lib_GeoIP_GeoIP_new" >&6
7741
 
if test $ac_cv_lib_GeoIP_GeoIP_new = yes; then
7742
 
  GEOIP_LIBS="-lGeoIP"; :
7743
 
else
7744
 
  { echo "$as_me:$LINENO: GeoIP not found: forcing --disable-geoip" >&5
7745
 
echo "$as_me: GeoIP not found: forcing --disable-geoip" >&6;}
7746
 
enable_geoip=no
7747
 
disable_geoip_reason="(GeoIP not found)"
7748
 
fi
7749
 
 
7750
 
 
7751
 
 
7752
 
 
7753
 
        if test $enable_geoip = yes; then
7754
 
                success=yes
7755
 
 
7756
 
 
7757
 
pkg_failed=no
7758
 
echo "$as_me:$LINENO: checking for GDK_PIXBUF" >&5
7759
 
echo $ECHO_N "checking for GDK_PIXBUF... $ECHO_C" >&6
7760
 
 
7761
 
if test -n "$PKG_CONFIG"; then
7762
 
    if test -n "$GDK_PIXBUF_CFLAGS"; then
7763
 
        pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS"
7764
 
    else
7765
 
        if test -n "$PKG_CONFIG" && \
7766
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0\"") >&5
7767
 
  ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0") 2>&5
7768
 
  ac_status=$?
7769
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7770
 
  (exit $ac_status); }; then
7771
 
  pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0" 2>/dev/null`
7772
 
else
7773
 
  pkg_failed=yes
7774
 
fi
7775
 
    fi
7776
 
else
7777
 
        pkg_failed=untried
7778
 
fi
7779
 
if test -n "$PKG_CONFIG"; then
7780
 
    if test -n "$GDK_PIXBUF_LIBS"; then
7781
 
        pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS"
7782
 
    else
7783
 
        if test -n "$PKG_CONFIG" && \
7784
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0\"") >&5
7785
 
  ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0") 2>&5
7786
 
  ac_status=$?
7787
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7788
 
  (exit $ac_status); }; then
7789
 
  pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0" 2>/dev/null`
7790
 
else
7791
 
  pkg_failed=yes
7792
 
fi
7793
 
    fi
7794
 
else
7795
 
        pkg_failed=untried
7796
 
fi
7797
 
 
7798
 
 
7799
 
 
7800
 
if test $pkg_failed = yes; then
7801
 
 
7802
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7803
 
        _pkg_short_errors_supported=yes
7804
 
else
7805
 
        _pkg_short_errors_supported=no
7806
 
fi
7807
 
        if test $_pkg_short_errors_supported = yes; then
7808
 
                GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gdk-pixbuf-2.0"`
7809
 
        else
7810
 
                GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-pixbuf-2.0"`
7811
 
        fi
7812
 
        # Put the nasty error message in config.log where it belongs
7813
 
        echo "$GDK_PIXBUF_PKG_ERRORS" >&5
7814
 
 
7815
 
        success=no
7816
 
elif test $pkg_failed = untried; then
7817
 
        success=no
7818
 
else
7819
 
        GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS
7820
 
        GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS
7821
 
        echo "$as_me:$LINENO: result: yes" >&5
7822
 
echo "${ECHO_T}yes" >&6
7823
 
        :
7824
 
fi
7825
 
 
7826
 
if test $success = yes; then
7827
 
        ac_save_CFLAGS="$CFLAGS"
7828
 
        ac_save_LIBS="$LIBS"
7829
 
        CFLAGS="$CFLAGS $GDK_PIXBUF_CFLAGS"
7830
 
        LIBS="$LIBS $GDK_PIXBUF_LIBS"
7831
 
 
7832
 
        echo "$as_me:$LINENO: checking if GTK+ can load image/svg+xml images" >&5
7833
 
echo $ECHO_N "checking if GTK+ can load image/svg+xml images... $ECHO_C" >&6
7834
 
 
7835
 
        if test "$cross_compiling" = yes; then
7836
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7837
 
See \`config.log' for more details." >&5
7838
 
echo "$as_me: error: cannot run test program while cross compiling
7839
 
See \`config.log' for more details." >&2;}
7840
 
   { (exit 1); exit 1; }; }
7841
 
else
7842
 
  cat >conftest.$ac_ext <<_ACEOF
7843
 
 
7844
 
#include <gdk-pixbuf/gdk-pixbuf.h>
7845
 
 
7846
 
int main() {
7847
 
  g_type_init();
7848
 
  if (gdk_pixbuf_new_from_file("art/flags/fr.svg", NULL))
7849
 
    exit(0);
7850
 
  else
7851
 
    exit(1);
7852
 
}
7853
 
 
7854
 
_ACEOF
7855
 
rm -f conftest$ac_exeext
7856
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7857
 
  (eval $ac_link) 2>&5
7858
 
  ac_status=$?
7859
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7860
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7861
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7862
 
  (eval $ac_try) 2>&5
7863
 
  ac_status=$?
7864
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7865
 
  (exit $ac_status); }; }; then
7866
 
  :
7867
 
else
7868
 
  echo "$as_me: program exited with status $ac_status" >&5
7869
 
echo "$as_me: failed program was:" >&5
7870
 
sed 's/^/| /' conftest.$ac_ext >&5
7871
 
 
7872
 
( exit $ac_status )
7873
 
success=no
7874
 
fi
7875
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7876
 
fi
7877
 
 
7878
 
        echo "$as_me:$LINENO: result: $success" >&5
7879
 
echo "${ECHO_T}$success" >&6
7880
 
 
7881
 
        CFLAGS="$ac_save_CFLAGS"
7882
 
        LIBS="$ac_save_LIBS"
7883
 
fi
7884
 
 
7885
 
if test $success = yes; then
7886
 
        :
7887
 
else
7888
 
        { echo "$as_me:$LINENO: WARNING: GTK+ cannot load image/svg+xml images, country flags will not be displayed" >&5
7889
 
echo "$as_me: WARNING: GTK+ cannot load image/svg+xml images, country flags will not be displayed" >&2;}
7890
 
fi
7891
 
        fi
7892
 
fi
7893
 
 
7894
 
### Automake conditionals
7895
 
 
7896
 
 
7897
 
 
7898
 
if test $enable_geoip = yes; then
7899
 
  WITH_GEOIP_TRUE=
7900
 
  WITH_GEOIP_FALSE='#'
7901
 
else
7902
 
  WITH_GEOIP_TRUE='#'
7903
 
  WITH_GEOIP_FALSE=
7904
 
fi
7905
 
 
7906
 
 
7907
 
### config.h definitions
7908
 
 
7909
 
if test $enable_ipv6 = yes; then _value=1; else _value=0; fi
7910
 
 
7911
 
cat >>confdefs.h <<_ACEOF
7912
 
#define WITH_IPV6 $_value
7913
 
_ACEOF
7914
 
 
7915
 
if test $enable_geoip = yes; then _value=1; else _value=0; fi
7916
 
 
7917
 
cat >>confdefs.h <<_ACEOF
7918
 
#define WITH_GEOIP $_value
7919
 
_ACEOF
7920
 
 
7921
 
 
7922
 
 
7923
 
### output
7924
 
 
7925
 
                                                                                          ac_config_files="$ac_config_files Makefile art/Makefile data/Makefile help/Makefile help/C/Makefile m4/Makefile po/Makefile.in src/Makefile ui/Makefile"
7926
 
 
7927
 
cat >confcache <<\_ACEOF
7928
 
# This file is a shell script that caches the results of configure
7929
 
# tests run on this system so they can be shared between configure
7930
 
# scripts and configure runs, see configure's option --config-cache.
7931
 
# It is not useful on other systems.  If it contains results you don't
7932
 
# want to keep, you may remove or edit it.
7933
 
#
7934
 
# config.status only pays attention to the cache file if you give it
7935
 
# the --recheck option to rerun configure.
7936
 
#
7937
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
7938
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
7939
 
# following values.
7940
 
 
7941
 
_ACEOF
7942
 
 
7943
 
# The following way of writing the cache mishandles newlines in values,
7944
 
# but we know of no workaround that is simple, portable, and efficient.
7945
 
# So, don't put newlines in cache variables' values.
7946
 
# Ultrix sh set writes to stderr and can't be redirected directly,
7947
 
# and sets the high bit in the cache file unless we assign to the vars.
7948
 
{
7949
 
  (set) 2>&1 |
7950
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
7951
 
    *ac_space=\ *)
7952
 
      # `set' does not quote correctly, so add quotes (double-quote
7953
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
7954
 
      sed -n \
7955
 
        "s/'/'\\\\''/g;
7956
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7957
 
      ;;
7958
 
    *)
7959
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
7960
 
      sed -n \
7961
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7962
 
      ;;
7963
 
    esac;
7964
 
} |
7965
 
  sed '
7966
 
     t clear
7967
 
     : clear
7968
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7969
 
     t end
7970
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7971
 
     : end' >>confcache
7972
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
7973
 
  if test -w $cache_file; then
7974
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7975
 
    cat confcache >$cache_file
7976
 
  else
7977
 
    echo "not updating unwritable cache $cache_file"
7978
 
  fi
7979
 
fi
7980
 
rm -f confcache
7981
 
 
7982
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
7983
 
# Let make expand exec_prefix.
7984
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7985
 
 
7986
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
7987
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7988
 
# trailing colons and then remove the whole line if VPATH becomes empty
7989
 
# (actually we leave an empty line to preserve line numbers).
7990
 
if test "x$srcdir" = x.; then
7991
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
7992
 
s/:*\$(srcdir):*/:/;
7993
 
s/:*\${srcdir}:*/:/;
7994
 
s/:*@srcdir@:*/:/;
7995
 
s/^\([^=]*=[     ]*\):*/\1/;
7996
 
s/:*$//;
7997
 
s/^[^=]*=[       ]*$//;
7998
 
}'
7999
 
fi
8000
 
 
8001
 
DEFS=-DHAVE_CONFIG_H
8002
 
 
8003
 
ac_libobjs=
8004
 
ac_ltlibobjs=
8005
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8006
 
  # 1. Remove the extension, and $U if already installed.
8007
 
  ac_i=`echo "$ac_i" |
8008
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8009
 
  # 2. Add them.
8010
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
8011
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
8012
 
done
8013
 
LIBOBJS=$ac_libobjs
8014
 
 
8015
 
LTLIBOBJS=$ac_ltlibobjs
8016
 
 
8017
 
 
8018
 
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8019
 
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8020
 
Usually this means the macro was only invoked conditionally." >&5
8021
 
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8022
 
Usually this means the macro was only invoked conditionally." >&2;}
8023
 
   { (exit 1); exit 1; }; }
8024
 
fi
8025
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8026
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8027
 
Usually this means the macro was only invoked conditionally." >&5
8028
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
8029
 
Usually this means the macro was only invoked conditionally." >&2;}
8030
 
   { (exit 1); exit 1; }; }
8031
 
fi
8032
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8033
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8034
 
Usually this means the macro was only invoked conditionally." >&5
8035
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8036
 
Usually this means the macro was only invoked conditionally." >&2;}
8037
 
   { (exit 1); exit 1; }; }
8038
 
fi
8039
 
 
8040
 
            ac_config_commands="$ac_config_commands po/stamp-it"
8041
 
 
8042
 
 
8043
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8044
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8045
 
Usually this means the macro was only invoked conditionally." >&5
8046
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8047
 
Usually this means the macro was only invoked conditionally." >&2;}
8048
 
   { (exit 1); exit 1; }; }
8049
 
fi
8050
 
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
8051
 
  { { echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
8052
 
Usually this means the macro was only invoked conditionally." >&5
8053
 
echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
8054
 
Usually this means the macro was only invoked conditionally." >&2;}
8055
 
   { (exit 1); exit 1; }; }
8056
 
fi
8057
 
if test -z "${WITH_GEOIP_TRUE}" && test -z "${WITH_GEOIP_FALSE}"; then
8058
 
  { { echo "$as_me:$LINENO: error: conditional \"WITH_GEOIP\" was never defined.
8059
 
Usually this means the macro was only invoked conditionally." >&5
8060
 
echo "$as_me: error: conditional \"WITH_GEOIP\" was never defined.
8061
 
Usually this means the macro was only invoked conditionally." >&2;}
8062
 
   { (exit 1); exit 1; }; }
8063
 
fi
8064
 
 
8065
 
: ${CONFIG_STATUS=./config.status}
8066
 
ac_clean_files_save=$ac_clean_files
8067
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8068
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8069
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
8070
 
cat >$CONFIG_STATUS <<_ACEOF
8071
 
#! $SHELL
8072
 
# Generated by $as_me.
8073
 
# Run this file to recreate the current configuration.
8074
 
# Compiler output produced by configure, useful for debugging
8075
 
# configure, is in config.log if it exists.
8076
 
 
8077
 
debug=false
8078
 
ac_cs_recheck=false
8079
 
ac_cs_silent=false
8080
 
SHELL=\${CONFIG_SHELL-$SHELL}
8081
 
_ACEOF
8082
 
 
8083
 
cat >>$CONFIG_STATUS <<\_ACEOF
8084
 
## --------------------- ##
8085
 
## M4sh Initialization.  ##
8086
 
## --------------------- ##
8087
 
 
8088
 
# Be Bourne compatible
8089
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8090
 
  emulate sh
8091
 
  NULLCMD=:
8092
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8093
 
  # is contrary to our usage.  Disable this feature.
8094
 
  alias -g '${1+"$@"}'='"$@"'
8095
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
8096
 
  set -o posix
8097
 
fi
8098
 
DUALCASE=1; export DUALCASE # for MKS sh
8099
 
 
8100
 
# Support unset when possible.
8101
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8102
 
  as_unset=unset
8103
 
else
8104
 
  as_unset=false
8105
 
fi
8106
 
 
8107
 
 
8108
 
# Work around bugs in pre-3.0 UWIN ksh.
8109
 
$as_unset ENV MAIL MAILPATH
8110
 
PS1='$ '
8111
 
PS2='> '
8112
 
PS4='+ '
8113
 
 
8114
 
# NLS nuisances.
8115
 
for as_var in \
8116
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8117
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8118
 
  LC_TELEPHONE LC_TIME
8119
 
do
8120
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8121
 
    eval $as_var=C; export $as_var
8122
 
  else
8123
 
    $as_unset $as_var
8124
 
  fi
8125
 
done
8126
 
 
8127
 
# Required to use basename.
8128
 
if expr a : '\(a\)' >/dev/null 2>&1; then
8129
 
  as_expr=expr
8130
 
else
8131
 
  as_expr=false
8132
 
fi
8133
 
 
8134
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
8135
 
  as_basename=basename
8136
 
else
8137
 
  as_basename=false
8138
 
fi
8139
 
 
8140
 
 
8141
 
# Name of the executable.
8142
 
as_me=`$as_basename "$0" ||
8143
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8144
 
         X"$0" : 'X\(//\)$' \| \
8145
 
         X"$0" : 'X\(/\)$' \| \
8146
 
         .     : '\(.\)' 2>/dev/null ||
8147
 
echo X/"$0" |
8148
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8149
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
8150
 
          /^X\/\(\/\).*/{ s//\1/; q; }
8151
 
          s/.*/./; q'`
8152
 
 
8153
 
 
8154
 
# PATH needs CR, and LINENO needs CR and PATH.
8155
 
# Avoid depending upon Character Ranges.
8156
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8157
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8158
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8159
 
as_cr_digits='0123456789'
8160
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
8161
 
 
8162
 
# The user is always right.
8163
 
if test "${PATH_SEPARATOR+set}" != set; then
8164
 
  echo "#! /bin/sh" >conf$$.sh
8165
 
  echo  "exit 0"   >>conf$$.sh
8166
 
  chmod +x conf$$.sh
8167
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8168
 
    PATH_SEPARATOR=';'
8169
 
  else
8170
 
    PATH_SEPARATOR=:
8171
 
  fi
8172
 
  rm -f conf$$.sh
8173
 
fi
8174
 
 
8175
 
 
8176
 
  as_lineno_1=$LINENO
8177
 
  as_lineno_2=$LINENO
8178
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8179
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
8180
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
8181
 
  # Find who we are.  Look in the path if we contain no path at all
8182
 
  # relative or not.
8183
 
  case $0 in
8184
 
    *[\\/]* ) as_myself=$0 ;;
8185
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8186
 
for as_dir in $PATH
8187
 
do
8188
 
  IFS=$as_save_IFS
8189
 
  test -z "$as_dir" && as_dir=.
8190
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8191
 
done
8192
 
 
8193
 
       ;;
8194
 
  esac
8195
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
8196
 
  # in which case we are not to be found in the path.
8197
 
  if test "x$as_myself" = x; then
8198
 
    as_myself=$0
8199
 
  fi
8200
 
  if test ! -f "$as_myself"; then
8201
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8202
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8203
 
   { (exit 1); exit 1; }; }
8204
 
  fi
8205
 
  case $CONFIG_SHELL in
8206
 
  '')
8207
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8208
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
8209
 
do
8210
 
  IFS=$as_save_IFS
8211
 
  test -z "$as_dir" && as_dir=.
8212
 
  for as_base in sh bash ksh sh5; do
8213
 
         case $as_dir in
8214
 
         /*)
8215
 
           if ("$as_dir/$as_base" -c '
8216
 
  as_lineno_1=$LINENO
8217
 
  as_lineno_2=$LINENO
8218
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8219
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
8220
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
8221
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
8222
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
8223
 
             CONFIG_SHELL=$as_dir/$as_base
8224
 
             export CONFIG_SHELL
8225
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8226
 
           fi;;
8227
 
         esac
8228
 
       done
8229
 
done
8230
 
;;
8231
 
  esac
8232
 
 
8233
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8234
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
8235
 
  # line-number line before each line; the second 'sed' does the real
8236
 
  # work.  The second script uses 'N' to pair each line-number line
8237
 
  # with the numbered line, and appends trailing '-' during
8238
 
  # substitution so that $LINENO is not a special case at line end.
8239
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8240
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
8241
 
  sed '=' <$as_myself |
8242
 
    sed '
8243
 
      N
8244
 
      s,$,-,
8245
 
      : loop
8246
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8247
 
      t loop
8248
 
      s,-$,,
8249
 
      s,^['$as_cr_digits']*\n,,
8250
 
    ' >$as_me.lineno &&
8251
 
  chmod +x $as_me.lineno ||
8252
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8253
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8254
 
   { (exit 1); exit 1; }; }
8255
 
 
8256
 
  # Don't try to exec as it changes $[0], causing all sort of problems
8257
 
  # (the dirname of $[0] is not the place where we might find the
8258
 
  # original and so on.  Autoconf is especially sensible to this).
8259
 
  . ./$as_me.lineno
8260
 
  # Exit status is that of the last command.
8261
 
  exit
8262
 
}
8263
 
 
8264
 
 
8265
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8266
 
  *c*,-n*) ECHO_N= ECHO_C='
8267
 
' ECHO_T='      ' ;;
8268
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
8269
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
8270
 
esac
8271
 
 
8272
 
if expr a : '\(a\)' >/dev/null 2>&1; then
8273
 
  as_expr=expr
8274
 
else
8275
 
  as_expr=false
8276
 
fi
8277
 
 
8278
 
rm -f conf$$ conf$$.exe conf$$.file
8279
 
echo >conf$$.file
8280
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
8281
 
  # We could just check for DJGPP; but this test a) works b) is more generic
8282
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8283
 
  if test -f conf$$.exe; then
8284
 
    # Don't use ln at all; we don't have any links
8285
 
    as_ln_s='cp -p'
8286
 
  else
8287
 
    as_ln_s='ln -s'
8288
 
  fi
8289
 
elif ln conf$$.file conf$$ 2>/dev/null; then
8290
 
  as_ln_s=ln
8291
 
else
8292
 
  as_ln_s='cp -p'
8293
 
fi
8294
 
rm -f conf$$ conf$$.exe conf$$.file
8295
 
 
8296
 
if mkdir -p . 2>/dev/null; then
8297
 
  as_mkdir_p=:
8298
 
else
8299
 
  test -d ./-p && rmdir ./-p
8300
 
  as_mkdir_p=false
8301
 
fi
8302
 
 
8303
 
as_executable_p="test -f"
8304
 
 
8305
 
# Sed expression to map a string onto a valid CPP name.
8306
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8307
 
 
8308
 
# Sed expression to map a string onto a valid variable name.
8309
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8310
 
 
8311
 
 
8312
 
# IFS
8313
 
# We need space, tab and new line, in precisely that order.
8314
 
as_nl='
8315
 
'
8316
 
IFS="   $as_nl"
8317
 
 
8318
 
# CDPATH.
8319
 
$as_unset CDPATH
8320
 
 
8321
 
exec 6>&1
8322
 
 
8323
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
8324
 
# report actual input values of CONFIG_FILES etc. instead of their
8325
 
# values after options handling.  Logging --version etc. is OK.
8326
 
exec 5>>config.log
8327
 
{
8328
 
  echo
8329
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8330
 
## Running $as_me. ##
8331
 
_ASBOX
8332
 
} >&5
8333
 
cat >&5 <<_CSEOF
8334
 
 
8335
 
This file was extended by link-monitor-applet $as_me 2.1, which was
8336
 
generated by GNU Autoconf 2.59.  Invocation command line was
8337
 
 
8338
 
  CONFIG_FILES    = $CONFIG_FILES
8339
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
8340
 
  CONFIG_LINKS    = $CONFIG_LINKS
8341
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
8342
 
  $ $0 $@
8343
 
 
8344
 
_CSEOF
8345
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8346
 
echo >&5
8347
 
_ACEOF
8348
 
 
8349
 
# Files that config.status was made for.
8350
 
if test -n "$ac_config_files"; then
8351
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8352
 
fi
8353
 
 
8354
 
if test -n "$ac_config_headers"; then
8355
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8356
 
fi
8357
 
 
8358
 
if test -n "$ac_config_links"; then
8359
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8360
 
fi
8361
 
 
8362
 
if test -n "$ac_config_commands"; then
8363
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8364
 
fi
8365
 
 
8366
 
cat >>$CONFIG_STATUS <<\_ACEOF
8367
 
 
8368
 
ac_cs_usage="\
8369
 
\`$as_me' instantiates files from templates according to the
8370
 
current configuration.
8371
 
 
8372
 
Usage: $0 [OPTIONS] [FILE]...
8373
 
 
8374
 
  -h, --help       print this help, then exit
8375
 
  -V, --version    print version number, then exit
8376
 
  -q, --quiet      do not print progress messages
8377
 
  -d, --debug      don't remove temporary files
8378
 
      --recheck    update $as_me by reconfiguring in the same conditions
8379
 
  --file=FILE[:TEMPLATE]
8380
 
                   instantiate the configuration file FILE
8381
 
  --header=FILE[:TEMPLATE]
8382
 
                   instantiate the configuration header FILE
8383
 
 
8384
 
Configuration files:
8385
 
$config_files
8386
 
 
8387
 
Configuration headers:
8388
 
$config_headers
8389
 
 
8390
 
Configuration commands:
8391
 
$config_commands
8392
 
 
8393
 
Report bugs to <bug-autoconf@gnu.org>."
8394
 
_ACEOF
8395
 
 
8396
 
cat >>$CONFIG_STATUS <<_ACEOF
8397
 
ac_cs_version="\\
8398
 
link-monitor-applet config.status 2.1
8399
 
configured by $0, generated by GNU Autoconf 2.59,
8400
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8401
 
 
8402
 
Copyright (C) 2003 Free Software Foundation, Inc.
8403
 
This config.status script is free software; the Free Software Foundation
8404
 
gives unlimited permission to copy, distribute and modify it."
8405
 
srcdir=$srcdir
8406
 
INSTALL="$INSTALL"
8407
 
_ACEOF
8408
 
 
8409
 
cat >>$CONFIG_STATUS <<\_ACEOF
8410
 
# If no file are specified by the user, then we need to provide default
8411
 
# value.  By we need to know if files were specified by the user.
8412
 
ac_need_defaults=:
8413
 
while test $# != 0
8414
 
do
8415
 
  case $1 in
8416
 
  --*=*)
8417
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
8418
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
8419
 
    ac_shift=:
8420
 
    ;;
8421
 
  -*)
8422
 
    ac_option=$1
8423
 
    ac_optarg=$2
8424
 
    ac_shift=shift
8425
 
    ;;
8426
 
  *) # This is not an option, so the user has probably given explicit
8427
 
     # arguments.
8428
 
     ac_option=$1
8429
 
     ac_need_defaults=false;;
8430
 
  esac
8431
 
 
8432
 
  case $ac_option in
8433
 
  # Handling of the options.
8434
 
_ACEOF
8435
 
cat >>$CONFIG_STATUS <<\_ACEOF
8436
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8437
 
    ac_cs_recheck=: ;;
8438
 
  --version | --vers* | -V )
8439
 
    echo "$ac_cs_version"; exit 0 ;;
8440
 
  --he | --h)
8441
 
    # Conflict between --help and --header
8442
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
8443
 
Try \`$0 --help' for more information." >&5
8444
 
echo "$as_me: error: ambiguous option: $1
8445
 
Try \`$0 --help' for more information." >&2;}
8446
 
   { (exit 1); exit 1; }; };;
8447
 
  --help | --hel | -h )
8448
 
    echo "$ac_cs_usage"; exit 0 ;;
8449
 
  --debug | --d* | -d )
8450
 
    debug=: ;;
8451
 
  --file | --fil | --fi | --f )
8452
 
    $ac_shift
8453
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8454
 
    ac_need_defaults=false;;
8455
 
  --header | --heade | --head | --hea )
8456
 
    $ac_shift
8457
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8458
 
    ac_need_defaults=false;;
8459
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8460
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
8461
 
    ac_cs_silent=: ;;
8462
 
 
8463
 
  # This is an error.
8464
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8465
 
Try \`$0 --help' for more information." >&5
8466
 
echo "$as_me: error: unrecognized option: $1
8467
 
Try \`$0 --help' for more information." >&2;}
8468
 
   { (exit 1); exit 1; }; } ;;
8469
 
 
8470
 
  *) ac_config_targets="$ac_config_targets $1" ;;
8471
 
 
8472
 
  esac
8473
 
  shift
8474
 
done
8475
 
 
8476
 
ac_configure_extra_args=
8477
 
 
8478
 
if $ac_cs_silent; then
8479
 
  exec 6>/dev/null
8480
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
8481
 
fi
8482
 
 
8483
 
_ACEOF
8484
 
cat >>$CONFIG_STATUS <<_ACEOF
8485
 
if \$ac_cs_recheck; then
8486
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8487
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8488
 
fi
8489
 
 
8490
 
_ACEOF
8491
 
 
8492
 
cat >>$CONFIG_STATUS <<_ACEOF
8493
 
#
8494
 
# INIT-COMMANDS section.
8495
 
#
8496
 
 
8497
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8498
 
 
8499
 
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
8500
 
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
8501
 
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' INTLTOOL_ICONV='${INTLTOOL_ICONV}'
8502
 
INTLTOOL_MSGFMT='${INTLTOOL_MSGFMT}' INTLTOOL_MSGMERGE='${INTLTOOL_MSGMERGE}'
8503
 
INTLTOOL_XGETTEXT='${INTLTOOL_XGETTEXT}'
8504
 
 
8505
 
_ACEOF
8506
 
 
8507
 
 
8508
 
 
8509
 
cat >>$CONFIG_STATUS <<\_ACEOF
8510
 
for ac_config_target in $ac_config_targets
8511
 
do
8512
 
  case "$ac_config_target" in
8513
 
  # Handling of arguments.
8514
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8515
 
  "art/Makefile" ) CONFIG_FILES="$CONFIG_FILES art/Makefile" ;;
8516
 
  "data/Makefile" ) CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
8517
 
  "help/Makefile" ) CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
8518
 
  "help/C/Makefile" ) CONFIG_FILES="$CONFIG_FILES help/C/Makefile" ;;
8519
 
  "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
8520
 
  "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
8521
 
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8522
 
  "ui/Makefile" ) CONFIG_FILES="$CONFIG_FILES ui/Makefile" ;;
8523
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8524
 
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
8525
 
  "intltool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
8526
 
  "po/stamp-it" ) CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
8527
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8528
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8529
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8530
 
   { (exit 1); exit 1; }; };;
8531
 
  esac
8532
 
done
8533
 
 
8534
 
# If the user did not use the arguments to specify the items to instantiate,
8535
 
# then the envvar interface is used.  Set only those that are not.
8536
 
# We use the long form for the default assignment because of an extremely
8537
 
# bizarre bug on SunOS 4.1.3.
8538
 
if $ac_need_defaults; then
8539
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8540
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8541
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8542
 
fi
8543
 
 
8544
 
# Have a temporary directory for convenience.  Make it in the build tree
8545
 
# simply because there is no reason to put it here, and in addition,
8546
 
# creating and moving files from /tmp can sometimes cause problems.
8547
 
# Create a temporary directory, and hook for its removal unless debugging.
8548
 
$debug ||
8549
 
{
8550
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8551
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
8552
 
}
8553
 
 
8554
 
# Create a (secure) tmp directory for tmp files.
8555
 
 
8556
 
{
8557
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8558
 
  test -n "$tmp" && test -d "$tmp"
8559
 
}  ||
8560
 
{
8561
 
  tmp=./confstat$$-$RANDOM
8562
 
  (umask 077 && mkdir $tmp)
8563
 
} ||
8564
 
{
8565
 
   echo "$me: cannot create a temporary directory in ." >&2
8566
 
   { (exit 1); exit 1; }
8567
 
}
8568
 
 
8569
 
_ACEOF
8570
 
 
8571
 
cat >>$CONFIG_STATUS <<_ACEOF
8572
 
 
8573
 
#
8574
 
# CONFIG_FILES section.
8575
 
#
8576
 
 
8577
 
# No need to generate the scripts if there are no CONFIG_FILES.
8578
 
# This happens for instance when ./config.status config.h
8579
 
if test -n "\$CONFIG_FILES"; then
8580
 
  # Protect against being on the right side of a sed subst in config.status.
8581
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8582
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8583
 
s,@SHELL@,$SHELL,;t t
8584
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8585
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8586
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8587
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8588
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8589
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8590
 
s,@exec_prefix@,$exec_prefix,;t t
8591
 
s,@prefix@,$prefix,;t t
8592
 
s,@program_transform_name@,$program_transform_name,;t t
8593
 
s,@bindir@,$bindir,;t t
8594
 
s,@sbindir@,$sbindir,;t t
8595
 
s,@libexecdir@,$libexecdir,;t t
8596
 
s,@datadir@,$datadir,;t t
8597
 
s,@sysconfdir@,$sysconfdir,;t t
8598
 
s,@sharedstatedir@,$sharedstatedir,;t t
8599
 
s,@localstatedir@,$localstatedir,;t t
8600
 
s,@libdir@,$libdir,;t t
8601
 
s,@includedir@,$includedir,;t t
8602
 
s,@oldincludedir@,$oldincludedir,;t t
8603
 
s,@infodir@,$infodir,;t t
8604
 
s,@mandir@,$mandir,;t t
8605
 
s,@build_alias@,$build_alias,;t t
8606
 
s,@host_alias@,$host_alias,;t t
8607
 
s,@target_alias@,$target_alias,;t t
8608
 
s,@DEFS@,$DEFS,;t t
8609
 
s,@ECHO_C@,$ECHO_C,;t t
8610
 
s,@ECHO_N@,$ECHO_N,;t t
8611
 
s,@ECHO_T@,$ECHO_T,;t t
8612
 
s,@LIBS@,$LIBS,;t t
8613
 
s,@ac_prefix_program@,$ac_prefix_program,;t t
8614
 
s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
8615
 
s,@DEBUG_CFLAGS@,$DEBUG_CFLAGS,;t t
8616
 
s,@build@,$build,;t t
8617
 
s,@build_cpu@,$build_cpu,;t t
8618
 
s,@build_vendor@,$build_vendor,;t t
8619
 
s,@build_os@,$build_os,;t t
8620
 
s,@host@,$host,;t t
8621
 
s,@host_cpu@,$host_cpu,;t t
8622
 
s,@host_vendor@,$host_vendor,;t t
8623
 
s,@host_os@,$host_os,;t t
8624
 
s,@target@,$target,;t t
8625
 
s,@target_cpu@,$target_cpu,;t t
8626
 
s,@target_vendor@,$target_vendor,;t t
8627
 
s,@target_os@,$target_os,;t t
8628
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8629
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8630
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8631
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
8632
 
s,@PACKAGE@,$PACKAGE,;t t
8633
 
s,@VERSION@,$VERSION,;t t
8634
 
s,@ACLOCAL@,$ACLOCAL,;t t
8635
 
s,@AUTOCONF@,$AUTOCONF,;t t
8636
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
8637
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
8638
 
s,@MAKEINFO@,$MAKEINFO,;t t
8639
 
s,@install_sh@,$install_sh,;t t
8640
 
s,@STRIP@,$STRIP,;t t
8641
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8642
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8643
 
s,@mkdir_p@,$mkdir_p,;t t
8644
 
s,@AWK@,$AWK,;t t
8645
 
s,@SET_MAKE@,$SET_MAKE,;t t
8646
 
s,@am__leading_dot@,$am__leading_dot,;t t
8647
 
s,@AMTAR@,$AMTAR,;t t
8648
 
s,@am__tar@,$am__tar,;t t
8649
 
s,@am__untar@,$am__untar,;t t
8650
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
8651
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
8652
 
s,@MAINT@,$MAINT,;t t
8653
 
s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
8654
 
s,@CC@,$CC,;t t
8655
 
s,@CFLAGS@,$CFLAGS,;t t
8656
 
s,@LDFLAGS@,$LDFLAGS,;t t
8657
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
8658
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
8659
 
s,@EXEEXT@,$EXEEXT,;t t
8660
 
s,@OBJEXT@,$OBJEXT,;t t
8661
 
s,@DEPDIR@,$DEPDIR,;t t
8662
 
s,@am__include@,$am__include,;t t
8663
 
s,@am__quote@,$am__quote,;t t
8664
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8665
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8666
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
8667
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
8668
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
8669
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
8670
 
s,@CPP@,$CPP,;t t
8671
 
s,@EGREP@,$EGREP,;t t
8672
 
s,@USE_NLS@,$USE_NLS,;t t
8673
 
s,@MSGFMT@,$MSGFMT,;t t
8674
 
s,@GMSGFMT@,$GMSGFMT,;t t
8675
 
s,@XGETTEXT@,$XGETTEXT,;t t
8676
 
s,@CATALOGS@,$CATALOGS,;t t
8677
 
s,@CATOBJEXT@,$CATOBJEXT,;t t
8678
 
s,@DATADIRNAME@,$DATADIRNAME,;t t
8679
 
s,@GMOFILES@,$GMOFILES,;t t
8680
 
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
8681
 
s,@INTLLIBS@,$INTLLIBS,;t t
8682
 
s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t
8683
 
s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t
8684
 
s,@POFILES@,$POFILES,;t t
8685
 
s,@POSUB@,$POSUB,;t t
8686
 
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
8687
 
s,@INTLTOOL_DESKTOP_RULE@,$INTLTOOL_DESKTOP_RULE,;t t
8688
 
s,@INTLTOOL_DIRECTORY_RULE@,$INTLTOOL_DIRECTORY_RULE,;t t
8689
 
s,@INTLTOOL_KEYS_RULE@,$INTLTOOL_KEYS_RULE,;t t
8690
 
s,@INTLTOOL_PROP_RULE@,$INTLTOOL_PROP_RULE,;t t
8691
 
s,@INTLTOOL_OAF_RULE@,$INTLTOOL_OAF_RULE,;t t
8692
 
s,@INTLTOOL_PONG_RULE@,$INTLTOOL_PONG_RULE,;t t
8693
 
s,@INTLTOOL_SERVER_RULE@,$INTLTOOL_SERVER_RULE,;t t
8694
 
s,@INTLTOOL_SHEET_RULE@,$INTLTOOL_SHEET_RULE,;t t
8695
 
s,@INTLTOOL_SOUNDLIST_RULE@,$INTLTOOL_SOUNDLIST_RULE,;t t
8696
 
s,@INTLTOOL_UI_RULE@,$INTLTOOL_UI_RULE,;t t
8697
 
s,@INTLTOOL_XAM_RULE@,$INTLTOOL_XAM_RULE,;t t
8698
 
s,@INTLTOOL_KBD_RULE@,$INTLTOOL_KBD_RULE,;t t
8699
 
s,@INTLTOOL_XML_RULE@,$INTLTOOL_XML_RULE,;t t
8700
 
s,@INTLTOOL_XML_NOMERGE_RULE@,$INTLTOOL_XML_NOMERGE_RULE,;t t
8701
 
s,@INTLTOOL_CAVES_RULE@,$INTLTOOL_CAVES_RULE,;t t
8702
 
s,@INTLTOOL_SCHEMAS_RULE@,$INTLTOOL_SCHEMAS_RULE,;t t
8703
 
s,@INTLTOOL_THEME_RULE@,$INTLTOOL_THEME_RULE,;t t
8704
 
s,@INTLTOOL_SERVICE_RULE@,$INTLTOOL_SERVICE_RULE,;t t
8705
 
s,@INTLTOOL_EXTRACT@,$INTLTOOL_EXTRACT,;t t
8706
 
s,@INTLTOOL_MERGE@,$INTLTOOL_MERGE,;t t
8707
 
s,@INTLTOOL_UPDATE@,$INTLTOOL_UPDATE,;t t
8708
 
s,@INTLTOOL_PERL@,$INTLTOOL_PERL,;t t
8709
 
s,@INTLTOOL_ICONV@,$INTLTOOL_ICONV,;t t
8710
 
s,@INTLTOOL_MSGFMT@,$INTLTOOL_MSGFMT,;t t
8711
 
s,@INTLTOOL_MSGMERGE@,$INTLTOOL_MSGMERGE,;t t
8712
 
s,@INTLTOOL_XGETTEXT@,$INTLTOOL_XGETTEXT,;t t
8713
 
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
8714
 
s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
8715
 
s,@GTK_LIBS@,$GTK_LIBS,;t t
8716
 
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
8717
 
s,@GNOME_CFLAGS@,$GNOME_CFLAGS,;t t
8718
 
s,@GNOME_LIBS@,$GNOME_LIBS,;t t
8719
 
s,@GCONF_SCHEMA_CONFIG_SOURCE@,$GCONF_SCHEMA_CONFIG_SOURCE,;t t
8720
 
s,@GCONF_SCHEMA_FILE_DIR@,$GCONF_SCHEMA_FILE_DIR,;t t
8721
 
s,@GCONF_SCHEMAS_INSTALL_TRUE@,$GCONF_SCHEMAS_INSTALL_TRUE,;t t
8722
 
s,@GCONF_SCHEMAS_INSTALL_FALSE@,$GCONF_SCHEMAS_INSTALL_FALSE,;t t
8723
 
s,@gnome_prefix@,$gnome_prefix,;t t
8724
 
s,@GCONFTOOL@,$GCONFTOOL,;t t
8725
 
s,@AML@,$AML,;t t
8726
 
s,@GOB2@,$GOB2,;t t
8727
 
s,@GEOIP_CFLAGS@,$GEOIP_CFLAGS,;t t
8728
 
s,@GEOIP_LIBS@,$GEOIP_LIBS,;t t
8729
 
s,@GDK_PIXBUF_CFLAGS@,$GDK_PIXBUF_CFLAGS,;t t
8730
 
s,@GDK_PIXBUF_LIBS@,$GDK_PIXBUF_LIBS,;t t
8731
 
s,@WITH_GEOIP_TRUE@,$WITH_GEOIP_TRUE,;t t
8732
 
s,@WITH_GEOIP_FALSE@,$WITH_GEOIP_FALSE,;t t
8733
 
s,@LIBOBJS@,$LIBOBJS,;t t
8734
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8735
 
CEOF
8736
 
 
8737
 
_ACEOF
8738
 
 
8739
 
  cat >>$CONFIG_STATUS <<\_ACEOF
8740
 
  # Split the substitutions into bite-sized pieces for seds with
8741
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
8742
 
  ac_max_sed_lines=48
8743
 
  ac_sed_frag=1 # Number of current file.
8744
 
  ac_beg=1 # First line for current file.
8745
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
8746
 
  ac_more_lines=:
8747
 
  ac_sed_cmds=
8748
 
  while $ac_more_lines; do
8749
 
    if test $ac_beg -gt 1; then
8750
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8751
 
    else
8752
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8753
 
    fi
8754
 
    if test ! -s $tmp/subs.frag; then
8755
 
      ac_more_lines=false
8756
 
    else
8757
 
      # The purpose of the label and of the branching condition is to
8758
 
      # speed up the sed processing (if there are no `@' at all, there
8759
 
      # is no need to browse any of the substitutions).
8760
 
      # These are the two extra sed commands mentioned above.
8761
 
      (echo ':t
8762
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8763
 
      if test -z "$ac_sed_cmds"; then
8764
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8765
 
      else
8766
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8767
 
      fi
8768
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
8769
 
      ac_beg=$ac_end
8770
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
8771
 
    fi
8772
 
  done
8773
 
  if test -z "$ac_sed_cmds"; then
8774
 
    ac_sed_cmds=cat
8775
 
  fi
8776
 
fi # test -n "$CONFIG_FILES"
8777
 
 
8778
 
_ACEOF
8779
 
cat >>$CONFIG_STATUS <<\_ACEOF
8780
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
8781
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8782
 
  case $ac_file in
8783
 
  - | *:- | *:-:* ) # input from stdin
8784
 
        cat >$tmp/stdin
8785
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8786
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8787
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8788
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8789
 
  * )   ac_file_in=$ac_file.in ;;
8790
 
  esac
8791
 
 
8792
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8793
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8794
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8795
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
8796
 
         X"$ac_file" : 'X\(//\)$' \| \
8797
 
         X"$ac_file" : 'X\(/\)' \| \
8798
 
         .     : '\(.\)' 2>/dev/null ||
8799
 
echo X"$ac_file" |
8800
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8801
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8802
 
          /^X\(\/\/\)$/{ s//\1/; q; }
8803
 
          /^X\(\/\).*/{ s//\1/; q; }
8804
 
          s/.*/./; q'`
8805
 
  { if $as_mkdir_p; then
8806
 
    mkdir -p "$ac_dir"
8807
 
  else
8808
 
    as_dir="$ac_dir"
8809
 
    as_dirs=
8810
 
    while test ! -d "$as_dir"; do
8811
 
      as_dirs="$as_dir $as_dirs"
8812
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
8813
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8814
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
8815
 
         X"$as_dir" : 'X\(//\)$' \| \
8816
 
         X"$as_dir" : 'X\(/\)' \| \
8817
 
         .     : '\(.\)' 2>/dev/null ||
8818
 
echo X"$as_dir" |
8819
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8820
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8821
 
          /^X\(\/\/\)$/{ s//\1/; q; }
8822
 
          /^X\(\/\).*/{ s//\1/; q; }
8823
 
          s/.*/./; q'`
8824
 
    done
8825
 
    test ! -n "$as_dirs" || mkdir $as_dirs
8826
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8827
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8828
 
   { (exit 1); exit 1; }; }; }
8829
 
 
8830
 
  ac_builddir=.
8831
 
 
8832
 
if test "$ac_dir" != .; then
8833
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8834
 
  # A "../" for each directory in $ac_dir_suffix.
8835
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8836
 
else
8837
 
  ac_dir_suffix= ac_top_builddir=
8838
 
fi
8839
 
 
8840
 
case $srcdir in
8841
 
  .)  # No --srcdir option.  We are building in place.
8842
 
    ac_srcdir=.
8843
 
    if test -z "$ac_top_builddir"; then
8844
 
       ac_top_srcdir=.
8845
 
    else
8846
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8847
 
    fi ;;
8848
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
8849
 
    ac_srcdir=$srcdir$ac_dir_suffix;
8850
 
    ac_top_srcdir=$srcdir ;;
8851
 
  *) # Relative path.
8852
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8853
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
8854
 
esac
8855
 
 
8856
 
# Do not use `cd foo && pwd` to compute absolute paths, because
8857
 
# the directories may not exist.
8858
 
case `pwd` in
8859
 
.) ac_abs_builddir="$ac_dir";;
8860
 
*)
8861
 
  case "$ac_dir" in
8862
 
  .) ac_abs_builddir=`pwd`;;
8863
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8864
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
8865
 
  esac;;
8866
 
esac
8867
 
case $ac_abs_builddir in
8868
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
8869
 
*)
8870
 
  case ${ac_top_builddir}. in
8871
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
8872
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8873
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8874
 
  esac;;
8875
 
esac
8876
 
case $ac_abs_builddir in
8877
 
.) ac_abs_srcdir=$ac_srcdir;;
8878
 
*)
8879
 
  case $ac_srcdir in
8880
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
8881
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8882
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8883
 
  esac;;
8884
 
esac
8885
 
case $ac_abs_builddir in
8886
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
8887
 
*)
8888
 
  case $ac_top_srcdir in
8889
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
8890
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8891
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8892
 
  esac;;
8893
 
esac
8894
 
 
8895
 
 
8896
 
  case $INSTALL in
8897
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8898
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
8899
 
  esac
8900
 
 
8901
 
  if test x"$ac_file" != x-; then
8902
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
8903
 
echo "$as_me: creating $ac_file" >&6;}
8904
 
    rm -f "$ac_file"
8905
 
  fi
8906
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
8907
 
  # use $as_me), people would be surprised to read:
8908
 
  #    /* config.h.  Generated by config.status.  */
8909
 
  if test x"$ac_file" = x-; then
8910
 
    configure_input=
8911
 
  else
8912
 
    configure_input="$ac_file.  "
8913
 
  fi
8914
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
8915
 
                                     sed 's,.*/,,'` by configure."
8916
 
 
8917
 
  # First look for the input files in the build tree, otherwise in the
8918
 
  # src tree.
8919
 
  ac_file_inputs=`IFS=:
8920
 
    for f in $ac_file_in; do
8921
 
      case $f in
8922
 
      -) echo $tmp/stdin ;;
8923
 
      [\\/$]*)
8924
 
         # Absolute (can't be DOS-style, as IFS=:)
8925
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8926
 
echo "$as_me: error: cannot find input file: $f" >&2;}
8927
 
   { (exit 1); exit 1; }; }
8928
 
         echo "$f";;
8929
 
      *) # Relative
8930
 
         if test -f "$f"; then
8931
 
           # Build tree
8932
 
           echo "$f"
8933
 
         elif test -f "$srcdir/$f"; then
8934
 
           # Source tree
8935
 
           echo "$srcdir/$f"
8936
 
         else
8937
 
           # /dev/null tree
8938
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8939
 
echo "$as_me: error: cannot find input file: $f" >&2;}
8940
 
   { (exit 1); exit 1; }; }
8941
 
         fi;;
8942
 
      esac
8943
 
    done` || { (exit 1); exit 1; }
8944
 
_ACEOF
8945
 
cat >>$CONFIG_STATUS <<_ACEOF
8946
 
  sed "$ac_vpsub
8947
 
$extrasub
8948
 
_ACEOF
8949
 
cat >>$CONFIG_STATUS <<\_ACEOF
8950
 
:t
8951
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8952
 
s,@configure_input@,$configure_input,;t t
8953
 
s,@srcdir@,$ac_srcdir,;t t
8954
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
8955
 
s,@top_srcdir@,$ac_top_srcdir,;t t
8956
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
8957
 
s,@builddir@,$ac_builddir,;t t
8958
 
s,@abs_builddir@,$ac_abs_builddir,;t t
8959
 
s,@top_builddir@,$ac_top_builddir,;t t
8960
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
8961
 
s,@INSTALL@,$ac_INSTALL,;t t
8962
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8963
 
  rm -f $tmp/stdin
8964
 
  if test x"$ac_file" != x-; then
8965
 
    mv $tmp/out $ac_file
8966
 
  else
8967
 
    cat $tmp/out
8968
 
    rm -f $tmp/out
8969
 
  fi
8970
 
 
8971
 
done
8972
 
_ACEOF
8973
 
cat >>$CONFIG_STATUS <<\_ACEOF
8974
 
 
8975
 
#
8976
 
# CONFIG_HEADER section.
8977
 
#
8978
 
 
8979
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
8980
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
8981
 
#
8982
 
# ac_d sets the value in "#define NAME VALUE" lines.
8983
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
8984
 
ac_dB='[         ].*$,\1#\2'
8985
 
ac_dC=' '
8986
 
ac_dD=',;t'
8987
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8988
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
8989
 
ac_uB='$,\1#\2define\3'
8990
 
ac_uC=' '
8991
 
ac_uD=',;t'
8992
 
 
8993
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
8994
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8995
 
  case $ac_file in
8996
 
  - | *:- | *:-:* ) # input from stdin
8997
 
        cat >$tmp/stdin
8998
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8999
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9000
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9001
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9002
 
  * )   ac_file_in=$ac_file.in ;;
9003
 
  esac
9004
 
 
9005
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
9006
 
echo "$as_me: creating $ac_file" >&6;}
9007
 
 
9008
 
  # First look for the input files in the build tree, otherwise in the
9009
 
  # src tree.
9010
 
  ac_file_inputs=`IFS=:
9011
 
    for f in $ac_file_in; do
9012
 
      case $f in
9013
 
      -) echo $tmp/stdin ;;
9014
 
      [\\/$]*)
9015
 
         # Absolute (can't be DOS-style, as IFS=:)
9016
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9017
 
echo "$as_me: error: cannot find input file: $f" >&2;}
9018
 
   { (exit 1); exit 1; }; }
9019
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
9020
 
         echo "$f";;
9021
 
      *) # Relative
9022
 
         if test -f "$f"; then
9023
 
           # Build tree
9024
 
           echo "$f"
9025
 
         elif test -f "$srcdir/$f"; then
9026
 
           # Source tree
9027
 
           echo "$srcdir/$f"
9028
 
         else
9029
 
           # /dev/null tree
9030
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9031
 
echo "$as_me: error: cannot find input file: $f" >&2;}
9032
 
   { (exit 1); exit 1; }; }
9033
 
         fi;;
9034
 
      esac
9035
 
    done` || { (exit 1); exit 1; }
9036
 
  # Remove the trailing spaces.
9037
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
9038
 
 
9039
 
_ACEOF
9040
 
 
9041
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
9042
 
# `conftest.undefs', that substitutes the proper values into
9043
 
# config.h.in to produce config.h.  The first handles `#define'
9044
 
# templates, and the second `#undef' templates.
9045
 
# And first: Protect against being on the right side of a sed subst in
9046
 
# config.status.  Protect against being in an unquoted here document
9047
 
# in config.status.
9048
 
rm -f conftest.defines conftest.undefs
9049
 
# Using a here document instead of a string reduces the quoting nightmare.
9050
 
# Putting comments in sed scripts is not portable.
9051
 
#
9052
 
# `end' is used to avoid that the second main sed command (meant for
9053
 
# 0-ary CPP macros) applies to n-ary macro definitions.
9054
 
# See the Autoconf documentation for `clear'.
9055
 
cat >confdef2sed.sed <<\_ACEOF
9056
 
s/[\\&,]/\\&/g
9057
 
s,[\\$`],\\&,g
9058
 
t clear
9059
 
: clear
9060
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9061
 
t end
9062
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9063
 
: end
9064
 
_ACEOF
9065
 
# If some macros were called several times there might be several times
9066
 
# the same #defines, which is useless.  Nevertheless, we may not want to
9067
 
# sort them, since we want the *last* AC-DEFINE to be honored.
9068
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9069
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9070
 
rm -f confdef2sed.sed
9071
 
 
9072
 
# This sed command replaces #undef with comments.  This is necessary, for
9073
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
9074
 
# on some systems where configure will not decide to define it.
9075
 
cat >>conftest.undefs <<\_ACEOF
9076
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9077
 
_ACEOF
9078
 
 
9079
 
# Break up conftest.defines because some shells have a limit on the size
9080
 
# of here documents, and old seds have small limits too (100 cmds).
9081
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9082
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9083
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9084
 
echo '  :' >>$CONFIG_STATUS
9085
 
rm -f conftest.tail
9086
 
while grep . conftest.defines >/dev/null
9087
 
do
9088
 
  # Write a limited-size here document to $tmp/defines.sed.
9089
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9090
 
  # Speed up: don't consider the non `#define' lines.
9091
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
9092
 
  # Work around the forget-to-reset-the-flag bug.
9093
 
  echo 't clr' >>$CONFIG_STATUS
9094
 
  echo ': clr' >>$CONFIG_STATUS
9095
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
9096
 
  echo 'CEOF
9097
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
9098
 
  rm -f $tmp/in
9099
 
  mv $tmp/out $tmp/in
9100
 
' >>$CONFIG_STATUS
9101
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
9102
 
  rm -f conftest.defines
9103
 
  mv conftest.tail conftest.defines
9104
 
done
9105
 
rm -f conftest.defines
9106
 
echo '  fi # grep' >>$CONFIG_STATUS
9107
 
echo >>$CONFIG_STATUS
9108
 
 
9109
 
# Break up conftest.undefs because some shells have a limit on the size
9110
 
# of here documents, and old seds have small limits too (100 cmds).
9111
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
9112
 
rm -f conftest.tail
9113
 
while grep . conftest.undefs >/dev/null
9114
 
do
9115
 
  # Write a limited-size here document to $tmp/undefs.sed.
9116
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9117
 
  # Speed up: don't consider the non `#undef'
9118
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
9119
 
  # Work around the forget-to-reset-the-flag bug.
9120
 
  echo 't clr' >>$CONFIG_STATUS
9121
 
  echo ': clr' >>$CONFIG_STATUS
9122
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9123
 
  echo 'CEOF
9124
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9125
 
  rm -f $tmp/in
9126
 
  mv $tmp/out $tmp/in
9127
 
' >>$CONFIG_STATUS
9128
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9129
 
  rm -f conftest.undefs
9130
 
  mv conftest.tail conftest.undefs
9131
 
done
9132
 
rm -f conftest.undefs
9133
 
 
9134
 
cat >>$CONFIG_STATUS <<\_ACEOF
9135
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
9136
 
  # use $as_me), people would be surprised to read:
9137
 
  #    /* config.h.  Generated by config.status.  */
9138
 
  if test x"$ac_file" = x-; then
9139
 
    echo "/* Generated by configure.  */" >$tmp/config.h
9140
 
  else
9141
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
9142
 
  fi
9143
 
  cat $tmp/in >>$tmp/config.h
9144
 
  rm -f $tmp/in
9145
 
  if test x"$ac_file" != x-; then
9146
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
9147
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9148
 
echo "$as_me: $ac_file is unchanged" >&6;}
9149
 
    else
9150
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9151
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9152
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
9153
 
         X"$ac_file" : 'X\(//\)$' \| \
9154
 
         X"$ac_file" : 'X\(/\)' \| \
9155
 
         .     : '\(.\)' 2>/dev/null ||
9156
 
echo X"$ac_file" |
9157
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9158
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9159
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9160
 
          /^X\(\/\).*/{ s//\1/; q; }
9161
 
          s/.*/./; q'`
9162
 
      { if $as_mkdir_p; then
9163
 
    mkdir -p "$ac_dir"
9164
 
  else
9165
 
    as_dir="$ac_dir"
9166
 
    as_dirs=
9167
 
    while test ! -d "$as_dir"; do
9168
 
      as_dirs="$as_dir $as_dirs"
9169
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9170
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9171
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
9172
 
         X"$as_dir" : 'X\(//\)$' \| \
9173
 
         X"$as_dir" : 'X\(/\)' \| \
9174
 
         .     : '\(.\)' 2>/dev/null ||
9175
 
echo X"$as_dir" |
9176
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9177
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9178
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9179
 
          /^X\(\/\).*/{ s//\1/; q; }
9180
 
          s/.*/./; q'`
9181
 
    done
9182
 
    test ! -n "$as_dirs" || mkdir $as_dirs
9183
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9184
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9185
 
   { (exit 1); exit 1; }; }; }
9186
 
 
9187
 
      rm -f $ac_file
9188
 
      mv $tmp/config.h $ac_file
9189
 
    fi
9190
 
  else
9191
 
    cat $tmp/config.h
9192
 
    rm -f $tmp/config.h
9193
 
  fi
9194
 
# Compute $ac_file's index in $config_headers.
9195
 
_am_stamp_count=1
9196
 
for _am_header in $config_headers :; do
9197
 
  case $_am_header in
9198
 
    $ac_file | $ac_file:* )
9199
 
      break ;;
9200
 
    * )
9201
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9202
 
  esac
9203
 
done
9204
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
9205
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9206
 
         X$ac_file : 'X\(//\)[^/]' \| \
9207
 
         X$ac_file : 'X\(//\)$' \| \
9208
 
         X$ac_file : 'X\(/\)' \| \
9209
 
         .     : '\(.\)' 2>/dev/null ||
9210
 
echo X$ac_file |
9211
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9212
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9213
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9214
 
          /^X\(\/\).*/{ s//\1/; q; }
9215
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
9216
 
done
9217
 
_ACEOF
9218
 
cat >>$CONFIG_STATUS <<\_ACEOF
9219
 
 
9220
 
#
9221
 
# CONFIG_COMMANDS section.
9222
 
#
9223
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
9224
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
9225
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
9226
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
9227
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9228
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
9229
 
         X"$ac_dest" : 'X\(//\)$' \| \
9230
 
         X"$ac_dest" : 'X\(/\)' \| \
9231
 
         .     : '\(.\)' 2>/dev/null ||
9232
 
echo X"$ac_dest" |
9233
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9234
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9235
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9236
 
          /^X\(\/\).*/{ s//\1/; q; }
9237
 
          s/.*/./; q'`
9238
 
  { if $as_mkdir_p; then
9239
 
    mkdir -p "$ac_dir"
9240
 
  else
9241
 
    as_dir="$ac_dir"
9242
 
    as_dirs=
9243
 
    while test ! -d "$as_dir"; do
9244
 
      as_dirs="$as_dir $as_dirs"
9245
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9246
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9247
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
9248
 
         X"$as_dir" : 'X\(//\)$' \| \
9249
 
         X"$as_dir" : 'X\(/\)' \| \
9250
 
         .     : '\(.\)' 2>/dev/null ||
9251
 
echo X"$as_dir" |
9252
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9253
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9254
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9255
 
          /^X\(\/\).*/{ s//\1/; q; }
9256
 
          s/.*/./; q'`
9257
 
    done
9258
 
    test ! -n "$as_dirs" || mkdir $as_dirs
9259
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9260
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9261
 
   { (exit 1); exit 1; }; }; }
9262
 
 
9263
 
  ac_builddir=.
9264
 
 
9265
 
if test "$ac_dir" != .; then
9266
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9267
 
  # A "../" for each directory in $ac_dir_suffix.
9268
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9269
 
else
9270
 
  ac_dir_suffix= ac_top_builddir=
9271
 
fi
9272
 
 
9273
 
case $srcdir in
9274
 
  .)  # No --srcdir option.  We are building in place.
9275
 
    ac_srcdir=.
9276
 
    if test -z "$ac_top_builddir"; then
9277
 
       ac_top_srcdir=.
9278
 
    else
9279
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9280
 
    fi ;;
9281
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
9282
 
    ac_srcdir=$srcdir$ac_dir_suffix;
9283
 
    ac_top_srcdir=$srcdir ;;
9284
 
  *) # Relative path.
9285
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9286
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
9287
 
esac
9288
 
 
9289
 
# Do not use `cd foo && pwd` to compute absolute paths, because
9290
 
# the directories may not exist.
9291
 
case `pwd` in
9292
 
.) ac_abs_builddir="$ac_dir";;
9293
 
*)
9294
 
  case "$ac_dir" in
9295
 
  .) ac_abs_builddir=`pwd`;;
9296
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9297
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
9298
 
  esac;;
9299
 
esac
9300
 
case $ac_abs_builddir in
9301
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
9302
 
*)
9303
 
  case ${ac_top_builddir}. in
9304
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
9305
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9306
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9307
 
  esac;;
9308
 
esac
9309
 
case $ac_abs_builddir in
9310
 
.) ac_abs_srcdir=$ac_srcdir;;
9311
 
*)
9312
 
  case $ac_srcdir in
9313
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
9314
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9315
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9316
 
  esac;;
9317
 
esac
9318
 
case $ac_abs_builddir in
9319
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
9320
 
*)
9321
 
  case $ac_top_srcdir in
9322
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
9323
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9324
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9325
 
  esac;;
9326
 
esac
9327
 
 
9328
 
 
9329
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9330
 
echo "$as_me: executing $ac_dest commands" >&6;}
9331
 
  case $ac_dest in
9332
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
9333
 
  # Strip MF so we end up with the name of the file.
9334
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
9335
 
  # Check whether this is an Automake generated Makefile or not.
9336
 
  # We used to match only the files named `Makefile.in', but
9337
 
  # some people rename them; so instead we look at the file content.
9338
 
  # Grep'ing the first line is not enough: some people post-process
9339
 
  # each Makefile.in and add a new line on top of each file to say so.
9340
 
  # So let's grep whole file.
9341
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
9342
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
9343
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9344
 
         X"$mf" : 'X\(//\)[^/]' \| \
9345
 
         X"$mf" : 'X\(//\)$' \| \
9346
 
         X"$mf" : 'X\(/\)' \| \
9347
 
         .     : '\(.\)' 2>/dev/null ||
9348
 
echo X"$mf" |
9349
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9350
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9351
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9352
 
          /^X\(\/\).*/{ s//\1/; q; }
9353
 
          s/.*/./; q'`
9354
 
  else
9355
 
    continue
9356
 
  fi
9357
 
  # Extract the definition of DEPDIR, am__include, and am__quote
9358
 
  # from the Makefile without running `make'.
9359
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9360
 
  test -z "$DEPDIR" && continue
9361
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
9362
 
  test -z "am__include" && continue
9363
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9364
 
  # When using ansi2knr, U may be empty or an underscore; expand it
9365
 
  U=`sed -n 's/^U = //p' < "$mf"`
9366
 
  # Find all dependency output files, they are included files with
9367
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
9368
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
9369
 
  # expansion.
9370
 
  for file in `sed -n "
9371
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9372
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9373
 
    # Make sure the directory exists.
9374
 
    test -f "$dirpart/$file" && continue
9375
 
    fdir=`(dirname "$file") 2>/dev/null ||
9376
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9377
 
         X"$file" : 'X\(//\)[^/]' \| \
9378
 
         X"$file" : 'X\(//\)$' \| \
9379
 
         X"$file" : 'X\(/\)' \| \
9380
 
         .     : '\(.\)' 2>/dev/null ||
9381
 
echo X"$file" |
9382
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9383
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9384
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9385
 
          /^X\(\/\).*/{ s//\1/; q; }
9386
 
          s/.*/./; q'`
9387
 
    { if $as_mkdir_p; then
9388
 
    mkdir -p $dirpart/$fdir
9389
 
  else
9390
 
    as_dir=$dirpart/$fdir
9391
 
    as_dirs=
9392
 
    while test ! -d "$as_dir"; do
9393
 
      as_dirs="$as_dir $as_dirs"
9394
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9395
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9396
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
9397
 
         X"$as_dir" : 'X\(//\)$' \| \
9398
 
         X"$as_dir" : 'X\(/\)' \| \
9399
 
         .     : '\(.\)' 2>/dev/null ||
9400
 
echo X"$as_dir" |
9401
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9402
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9403
 
          /^X\(\/\/\)$/{ s//\1/; q; }
9404
 
          /^X\(\/\).*/{ s//\1/; q; }
9405
 
          s/.*/./; q'`
9406
 
    done
9407
 
    test ! -n "$as_dirs" || mkdir $as_dirs
9408
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
9409
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
9410
 
   { (exit 1); exit 1; }; }; }
9411
 
 
9412
 
    # echo "creating $dirpart/$file"
9413
 
    echo '# dummy' > "$dirpart/$file"
9414
 
  done
9415
 
done
9416
 
 ;;
9417
 
    default-1 ) case "$CONFIG_FILES" in *po/Makefile.in*)
9418
 
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
9419
 
      esac ;;
9420
 
    intltool )
9421
 
 
9422
 
for file in intltool-extract intltool-merge intltool-update; do
9423
 
  sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
9424
 
      -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
9425
 
      -e "s|@INTLTOOL_ICONV@|${INTLTOOL_ICONV}|g" \
9426
 
      -e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \
9427
 
      -e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \
9428
 
      -e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|g" \
9429
 
      -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
9430
 
        < ${ac_aux_dir}/${file}.in > ${file}.out
9431
 
  if cmp -s ${file} ${file}.out 2>/dev/null; then
9432
 
    rm -f ${file}.out
9433
 
  else
9434
 
    mv -f ${file}.out ${file}
9435
 
  fi
9436
 
  chmod ugo+x ${file}
9437
 
  chmod u+w ${file}
9438
 
done
9439
 
 
9440
 
 ;;
9441
 
    po/stamp-it )
9442
 
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
9443
 
    >"po/stamp-it.tmp"
9444
 
    sed '/^#/d
9445
 
         s/^[[].*] *//
9446
 
         /^[    ]*$/d
9447
 
        '"s|^|  $ac_top_srcdir/|" \
9448
 
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
9449
 
 
9450
 
    if test ! -f "po/Makefile"; then
9451
 
      { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
9452
 
echo "$as_me: error: po/Makefile is not ready." >&2;}
9453
 
   { (exit 1); exit 1; }; }
9454
 
    fi
9455
 
    mv "po/Makefile" "po/Makefile.tmp"
9456
 
    sed '/^POTFILES =/,/[^\\]$/ {
9457
 
                /^POTFILES =/!d
9458
 
                r po/POTFILES
9459
 
          }
9460
 
         ' "po/Makefile.tmp" >"po/Makefile"
9461
 
    rm -f "po/Makefile.tmp"
9462
 
    mv "po/stamp-it.tmp" "po/stamp-it"
9463
 
   ;;
9464
 
  esac
9465
 
done
9466
 
_ACEOF
9467
 
 
9468
 
cat >>$CONFIG_STATUS <<\_ACEOF
9469
 
 
9470
 
{ (exit 0); exit 0; }
9471
 
_ACEOF
9472
 
chmod +x $CONFIG_STATUS
9473
 
ac_clean_files=$ac_clean_files_save
9474
 
 
9475
 
 
9476
 
# configure is writing to config.log, and then calls config.status.
9477
 
# config.status does its own redirection, appending to config.log.
9478
 
# Unfortunately, on DOS this fails, as config.log is still kept open
9479
 
# by configure, so config.status won't be able to write to it; its
9480
 
# output is simply discarded.  So we exec the FD to /dev/null,
9481
 
# effectively closing config.log, so it can be properly (re)opened and
9482
 
# appended to by config.status.  When coming back to configure, we
9483
 
# need to make the FD available again.
9484
 
if test "$no_create" != yes; then
9485
 
  ac_cs_success=:
9486
 
  ac_config_status_args=
9487
 
  test "$silent" = yes &&
9488
 
    ac_config_status_args="$ac_config_status_args --quiet"
9489
 
  exec 5>/dev/null
9490
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9491
 
  exec 5>>config.log
9492
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9493
 
  # would make configure fail if this is the last instruction.
9494
 
  $ac_cs_success || { (exit 1); exit 1; }
9495
 
fi
9496
 
 
9497
 
 
9498
 
### report
9499
 
 
9500
 
cat <<EOF
9501
 
 
9502
 
$PACKAGE $VERSION is ready to be built.
9503
 
The following settings will be used:
9504
 
 
9505
 
Installation prefixes
9506
 
  --prefix                     $prefix
9507
 
  --exec-prefix                $exec_prefix
9508
 
 
9509
 
Installation directories
9510
 
  --libexecdir                 $libexecdir
9511
 
  --datadir                    $datadir
9512
 
  --sysconfdir                 $sysconfdir
9513
 
  --libdir                     $libdir
9514
 
 
9515
 
Features
9516
 
  --enable-ipv6                $enable_ipv6 $disable_ipv6_reason
9517
 
  --enable-geoip               $enable_geoip $disable_geoip_reason
9518
 
 
9519
 
EOF
9520
 
 
9521
 
if test -z "$gnome_prefix"; then
9522
 
        { echo "$as_me:$LINENO: WARNING: $PACKAGE_NAME must be installed in the same prefix as GNOME, but the GNOME prefix could not be found. $PACKAGE_NAME might be inoperable." >&5
9523
 
echo "$as_me: WARNING: $PACKAGE_NAME must be installed in the same prefix as GNOME, but the GNOME prefix could not be found. $PACKAGE_NAME might be inoperable." >&2;}
9524
 
        echo "" >&2
9525
 
else
9526
 
        if test "x$prefix" != "x$gnome_prefix"; then
9527
 
                { echo "$as_me:$LINENO: WARNING: the $PACKAGE_NAME prefix ($prefix) is different from the GNOME prefix ($gnome_prefix). $PACKAGE_NAME will be inoperable. Unless you know what you are doing, please run \"./configure --prefix=$gnome_prefix\"." >&5
9528
 
echo "$as_me: WARNING: the $PACKAGE_NAME prefix ($prefix) is different from the GNOME prefix ($gnome_prefix). $PACKAGE_NAME will be inoperable. Unless you know what you are doing, please run \"./configure --prefix=$gnome_prefix\"." >&2;}
9529
 
                echo "" >&2
9530
 
        fi
9531
 
fi
9532
 
 
9533
 
cat <<EOF
9534
 
Type "make" to build $PACKAGE_NAME $VERSION.
9535
 
EOF