~mvo/update-manager/pae-kernel-transtion

« back to all changes in this revision

Viewing changes to configure

  • Committer: Michael Vogt
  • Date: 2005-11-15 13:18:07 UTC
  • Revision ID: egon@top-20051115131807-12fada324eb74180
* initial revision (after accidently killing it)

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.
 
4
#
 
5
# Copyright (C) 2003 Free Software Foundation, Inc.
 
6
# This configure script is free software; the Free Software Foundation
 
7
# gives unlimited permission to copy, distribute and modify it.
 
8
## --------------------- ##
 
9
## M4sh Initialization.  ##
 
10
## --------------------- ##
 
11
 
 
12
# Be Bourne compatible
 
13
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
14
  emulate sh
 
15
  NULLCMD=:
 
16
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
17
  # is contrary to our usage.  Disable this feature.
 
18
  alias -g '${1+"$@"}'='"$@"'
 
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 
20
  set -o posix
 
21
fi
 
22
DUALCASE=1; export DUALCASE # for MKS sh
 
23
 
 
24
# Support unset when possible.
 
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
26
  as_unset=unset
 
27
else
 
28
  as_unset=false
 
29
fi
 
30
 
 
31
 
 
32
# Work around bugs in pre-3.0 UWIN ksh.
 
33
$as_unset ENV MAIL MAILPATH
 
34
PS1='$ '
 
35
PS2='> '
 
36
PS4='+ '
 
37
 
 
38
# NLS nuisances.
 
39
for as_var in \
 
40
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
41
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
42
  LC_TELEPHONE LC_TIME
 
43
do
 
44
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
45
    eval $as_var=C; export $as_var
 
46
  else
 
47
    $as_unset $as_var
 
48
  fi
 
49
done
 
50
 
 
51
# Required to use basename.
 
52
if expr a : '\(a\)' >/dev/null 2>&1; then
 
53
  as_expr=expr
 
54
else
 
55
  as_expr=false
 
56
fi
 
57
 
 
58
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
59
  as_basename=basename
 
60
else
 
61
  as_basename=false
 
62
fi
 
63
 
 
64
 
 
65
# Name of the executable.
 
66
as_me=`$as_basename "$0" ||
 
67
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
68
         X"$0" : 'X\(//\)$' \| \
 
69
         X"$0" : 'X\(/\)$' \| \
 
70
         .     : '\(.\)' 2>/dev/null ||
 
71
echo X/"$0" |
 
72
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
73
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
74
          /^X\/\(\/\).*/{ s//\1/; q; }
 
75
          s/.*/./; q'`
 
76
 
 
77
 
 
78
# PATH needs CR, and LINENO needs CR and PATH.
 
79
# Avoid depending upon Character Ranges.
 
80
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
81
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
82
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
83
as_cr_digits='0123456789'
 
84
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
85
 
 
86
# The user is always right.
 
87
if test "${PATH_SEPARATOR+set}" != set; then
 
88
  echo "#! /bin/sh" >conf$$.sh
 
89
  echo  "exit 0"   >>conf$$.sh
 
90
  chmod +x conf$$.sh
 
91
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
92
    PATH_SEPARATOR=';'
 
93
  else
 
94
    PATH_SEPARATOR=:
 
95
  fi
 
96
  rm -f conf$$.sh
 
97
fi
 
98
 
 
99
 
 
100
  as_lineno_1=$LINENO
 
101
  as_lineno_2=$LINENO
 
102
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
103
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
104
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 
105
  # Find who we are.  Look in the path if we contain no path at all
 
106
  # relative or not.
 
107
  case $0 in
 
108
    *[\\/]* ) as_myself=$0 ;;
 
109
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
110
for as_dir in $PATH
 
111
do
 
112
  IFS=$as_save_IFS
 
113
  test -z "$as_dir" && as_dir=.
 
114
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
115
done
 
116
 
 
117
       ;;
 
118
  esac
 
119
  # We did not find ourselves, most probably we were run as `sh COMMAND'
 
120
  # in which case we are not to be found in the path.
 
121
  if test "x$as_myself" = x; then
 
122
    as_myself=$0
 
123
  fi
 
124
  if test ! -f "$as_myself"; then
 
125
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
 
126
   { (exit 1); exit 1; }; }
 
127
  fi
 
128
  case $CONFIG_SHELL in
 
129
  '')
 
130
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
131
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
132
do
 
133
  IFS=$as_save_IFS
 
134
  test -z "$as_dir" && as_dir=.
 
135
  for as_base in sh bash ksh sh5; do
 
136
         case $as_dir in
 
137
         /*)
 
138
           if ("$as_dir/$as_base" -c '
 
139
  as_lineno_1=$LINENO
 
140
  as_lineno_2=$LINENO
 
141
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
142
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
143
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
144
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
145
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 
146
             CONFIG_SHELL=$as_dir/$as_base
 
147
             export CONFIG_SHELL
 
148
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
149
           fi;;
 
150
         esac
 
151
       done
 
152
done
 
153
;;
 
154
  esac
 
155
 
 
156
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
157
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
158
  # line-number line before each line; the second 'sed' does the real
 
159
  # work.  The second script uses 'N' to pair each line-number line
 
160
  # with the numbered line, and appends trailing '-' during
 
161
  # substitution so that $LINENO is not a special case at line end.
 
162
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
163
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 
164
  sed '=' <$as_myself |
 
165
    sed '
 
166
      N
 
167
      s,$,-,
 
168
      : loop
 
169
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
170
      t loop
 
171
      s,-$,,
 
172
      s,^['$as_cr_digits']*\n,,
 
173
    ' >$as_me.lineno &&
 
174
  chmod +x $as_me.lineno ||
 
175
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
176
   { (exit 1); exit 1; }; }
 
177
 
 
178
  # Don't try to exec as it changes $[0], causing all sort of problems
 
179
  # (the dirname of $[0] is not the place where we might find the
 
180
  # original and so on.  Autoconf is especially sensible to this).
 
181
  . ./$as_me.lineno
 
182
  # Exit status is that of the last command.
 
183
  exit
 
184
}
 
185
 
 
186
 
 
187
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
188
  *c*,-n*) ECHO_N= ECHO_C='
 
189
' ECHO_T='      ' ;;
 
190
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
191
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
192
esac
 
193
 
 
194
if expr a : '\(a\)' >/dev/null 2>&1; then
 
195
  as_expr=expr
 
196
else
 
197
  as_expr=false
 
198
fi
 
199
 
 
200
rm -f conf$$ conf$$.exe conf$$.file
 
201
echo >conf$$.file
 
202
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
203
  # We could just check for DJGPP; but this test a) works b) is more generic
 
204
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 
205
  if test -f conf$$.exe; then
 
206
    # Don't use ln at all; we don't have any links
 
207
    as_ln_s='cp -p'
 
208
  else
 
209
    as_ln_s='ln -s'
 
210
  fi
 
211
elif ln conf$$.file conf$$ 2>/dev/null; then
 
212
  as_ln_s=ln
 
213
else
 
214
  as_ln_s='cp -p'
 
215
fi
 
216
rm -f conf$$ conf$$.exe conf$$.file
 
217
 
 
218
if mkdir -p . 2>/dev/null; then
 
219
  as_mkdir_p=:
 
220
else
 
221
  test -d ./-p && rmdir ./-p
 
222
  as_mkdir_p=false
 
223
fi
 
224
 
 
225
as_executable_p="test -f"
 
226
 
 
227
# Sed expression to map a string onto a valid CPP name.
 
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
229
 
 
230
# Sed expression to map a string onto a valid variable name.
 
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
232
 
 
233
 
 
234
# IFS
 
235
# We need space, tab and new line, in precisely that order.
 
236
as_nl='
 
237
'
 
238
IFS="   $as_nl"
 
239
 
 
240
# CDPATH.
 
241
$as_unset CDPATH
 
242
 
 
243
 
 
244
# Name of the host.
 
245
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
246
# so uname gets run too.
 
247
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
248
 
 
249
exec 6>&1
 
250
 
 
251
#
 
252
# Initializations.
 
253
#
 
254
ac_default_prefix=/usr/local
 
255
ac_config_libobj_dir=.
 
256
cross_compiling=no
 
257
subdirs=
 
258
MFLAGS=
 
259
MAKEFLAGS=
 
260
SHELL=${CONFIG_SHELL-/bin/sh}
 
261
 
 
262
# Maximum number of lines to put in a shell here document.
 
263
# This variable seems obsolete.  It should probably be removed, and
 
264
# only ac_max_sed_lines should be used.
 
265
: ${ac_max_here_lines=38}
 
266
 
 
267
# Identity of this package.
 
268
PACKAGE_NAME=
 
269
PACKAGE_TARNAME=
 
270
PACKAGE_VERSION=
 
271
PACKAGE_STRING=
 
272
PACKAGE_BUGREPORT=
 
273
 
 
274
ac_unique_file="src/update-manager.in"
 
275
# Factoring default headers for most tests.
 
276
ac_includes_default="\
 
277
#include <stdio.h>
 
278
#if HAVE_SYS_TYPES_H
 
279
# include <sys/types.h>
 
280
#endif
 
281
#if HAVE_SYS_STAT_H
 
282
# include <sys/stat.h>
 
283
#endif
 
284
#if STDC_HEADERS
 
285
# include <stdlib.h>
 
286
# include <stddef.h>
 
287
#else
 
288
# if HAVE_STDLIB_H
 
289
#  include <stdlib.h>
 
290
# endif
 
291
#endif
 
292
#if HAVE_STRING_H
 
293
# if !STDC_HEADERS && HAVE_MEMORY_H
 
294
#  include <memory.h>
 
295
# endif
 
296
# include <string.h>
 
297
#endif
 
298
#if HAVE_STRINGS_H
 
299
# include <strings.h>
 
300
#endif
 
301
#if HAVE_INTTYPES_H
 
302
# include <inttypes.h>
 
303
#else
 
304
# if HAVE_STDINT_H
 
305
#  include <stdint.h>
 
306
# endif
 
307
#endif
 
308
#if HAVE_UNISTD_H
 
309
# include <unistd.h>
 
310
#endif"
 
311
 
 
312
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO 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 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_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL INTLTOOL_ICONV INTLTOOL_MSGFMT INTLTOOL_MSGMERGE INTLTOOL_XGETTEXT 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 SCROLLKEEPER_BUILD_REQUIRED SCROLLKEEPER_CONFIG LIBOBJS LTLIBOBJS'
 
313
ac_subst_files=''
 
314
 
 
315
# Initialize some variables set by options.
 
316
ac_init_help=
 
317
ac_init_version=false
 
318
# The variables have the same names as the options, with
 
319
# dashes changed to underlines.
 
320
cache_file=/dev/null
 
321
exec_prefix=NONE
 
322
no_create=
 
323
no_recursion=
 
324
prefix=NONE
 
325
program_prefix=NONE
 
326
program_suffix=NONE
 
327
program_transform_name=s,x,x,
 
328
silent=
 
329
site=
 
330
srcdir=
 
331
verbose=
 
332
x_includes=NONE
 
333
x_libraries=NONE
 
334
 
 
335
# Installation directory options.
 
336
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
337
# and all the variables that are supposed to be based on exec_prefix
 
338
# by default will actually change.
 
339
# Use braces instead of parens because sh, perl, etc. also accept them.
 
340
bindir='${exec_prefix}/bin'
 
341
sbindir='${exec_prefix}/sbin'
 
342
libexecdir='${exec_prefix}/libexec'
 
343
datadir='${prefix}/share'
 
344
sysconfdir='${prefix}/etc'
 
345
sharedstatedir='${prefix}/com'
 
346
localstatedir='${prefix}/var'
 
347
libdir='${exec_prefix}/lib'
 
348
includedir='${prefix}/include'
 
349
oldincludedir='/usr/include'
 
350
infodir='${prefix}/info'
 
351
mandir='${prefix}/man'
 
352
 
 
353
ac_prev=
 
354
for ac_option
 
355
do
 
356
  # If the previous option needs an argument, assign it.
 
357
  if test -n "$ac_prev"; then
 
358
    eval "$ac_prev=\$ac_option"
 
359
    ac_prev=
 
360
    continue
 
361
  fi
 
362
 
 
363
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
364
 
 
365
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
366
 
 
367
  case $ac_option in
 
368
 
 
369
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
370
    ac_prev=bindir ;;
 
371
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
372
    bindir=$ac_optarg ;;
 
373
 
 
374
  -build | --build | --buil | --bui | --bu)
 
375
    ac_prev=build_alias ;;
 
376
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
377
    build_alias=$ac_optarg ;;
 
378
 
 
379
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
380
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
381
    ac_prev=cache_file ;;
 
382
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
383
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
384
    cache_file=$ac_optarg ;;
 
385
 
 
386
  --config-cache | -C)
 
387
    cache_file=config.cache ;;
 
388
 
 
389
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
390
    ac_prev=datadir ;;
 
391
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
 
392
  | --da=*)
 
393
    datadir=$ac_optarg ;;
 
394
 
 
395
  -disable-* | --disable-*)
 
396
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
397
    # Reject names that are not valid shell variable names.
 
398
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
399
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
400
   { (exit 1); exit 1; }; }
 
401
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
402
    eval "enable_$ac_feature=no" ;;
 
403
 
 
404
  -enable-* | --enable-*)
 
405
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
406
    # Reject names that are not valid shell variable names.
 
407
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
408
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
409
   { (exit 1); exit 1; }; }
 
410
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
411
    case $ac_option in
 
412
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
413
      *) ac_optarg=yes ;;
 
414
    esac
 
415
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
416
 
 
417
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
418
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
419
  | --exec | --exe | --ex)
 
420
    ac_prev=exec_prefix ;;
 
421
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
422
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
423
  | --exec=* | --exe=* | --ex=*)
 
424
    exec_prefix=$ac_optarg ;;
 
425
 
 
426
  -gas | --gas | --ga | --g)
 
427
    # Obsolete; use --with-gas.
 
428
    with_gas=yes ;;
 
429
 
 
430
  -help | --help | --hel | --he | -h)
 
431
    ac_init_help=long ;;
 
432
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
433
    ac_init_help=recursive ;;
 
434
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
435
    ac_init_help=short ;;
 
436
 
 
437
  -host | --host | --hos | --ho)
 
438
    ac_prev=host_alias ;;
 
439
  -host=* | --host=* | --hos=* | --ho=*)
 
440
    host_alias=$ac_optarg ;;
 
441
 
 
442
  -includedir | --includedir | --includedi | --included | --include \
 
443
  | --includ | --inclu | --incl | --inc)
 
444
    ac_prev=includedir ;;
 
445
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
446
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
447
    includedir=$ac_optarg ;;
 
448
 
 
449
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
450
    ac_prev=infodir ;;
 
451
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
452
    infodir=$ac_optarg ;;
 
453
 
 
454
  -libdir | --libdir | --libdi | --libd)
 
455
    ac_prev=libdir ;;
 
456
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
457
    libdir=$ac_optarg ;;
 
458
 
 
459
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
460
  | --libexe | --libex | --libe)
 
461
    ac_prev=libexecdir ;;
 
462
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
463
  | --libexe=* | --libex=* | --libe=*)
 
464
    libexecdir=$ac_optarg ;;
 
465
 
 
466
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
467
  | --localstate | --localstat | --localsta | --localst \
 
468
  | --locals | --local | --loca | --loc | --lo)
 
469
    ac_prev=localstatedir ;;
 
470
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
471
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
 
472
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
473
    localstatedir=$ac_optarg ;;
 
474
 
 
475
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
476
    ac_prev=mandir ;;
 
477
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
478
    mandir=$ac_optarg ;;
 
479
 
 
480
  -nfp | --nfp | --nf)
 
481
    # Obsolete; use --without-fp.
 
482
    with_fp=no ;;
 
483
 
 
484
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
485
  | --no-cr | --no-c | -n)
 
486
    no_create=yes ;;
 
487
 
 
488
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
489
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
490
    no_recursion=yes ;;
 
491
 
 
492
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
493
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
494
  | --oldin | --oldi | --old | --ol | --o)
 
495
    ac_prev=oldincludedir ;;
 
496
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
497
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
498
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
499
    oldincludedir=$ac_optarg ;;
 
500
 
 
501
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
502
    ac_prev=prefix ;;
 
503
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
504
    prefix=$ac_optarg ;;
 
505
 
 
506
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
507
  | --program-pre | --program-pr | --program-p)
 
508
    ac_prev=program_prefix ;;
 
509
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
510
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
511
    program_prefix=$ac_optarg ;;
 
512
 
 
513
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
514
  | --program-suf | --program-su | --program-s)
 
515
    ac_prev=program_suffix ;;
 
516
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
517
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
518
    program_suffix=$ac_optarg ;;
 
519
 
 
520
  -program-transform-name | --program-transform-name \
 
521
  | --program-transform-nam | --program-transform-na \
 
522
  | --program-transform-n | --program-transform- \
 
523
  | --program-transform | --program-transfor \
 
524
  | --program-transfo | --program-transf \
 
525
  | --program-trans | --program-tran \
 
526
  | --progr-tra | --program-tr | --program-t)
 
527
    ac_prev=program_transform_name ;;
 
528
  -program-transform-name=* | --program-transform-name=* \
 
529
  | --program-transform-nam=* | --program-transform-na=* \
 
530
  | --program-transform-n=* | --program-transform-=* \
 
531
  | --program-transform=* | --program-transfor=* \
 
532
  | --program-transfo=* | --program-transf=* \
 
533
  | --program-trans=* | --program-tran=* \
 
534
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
535
    program_transform_name=$ac_optarg ;;
 
536
 
 
537
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
538
  | -silent | --silent | --silen | --sile | --sil)
 
539
    silent=yes ;;
 
540
 
 
541
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
542
    ac_prev=sbindir ;;
 
543
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
544
  | --sbi=* | --sb=*)
 
545
    sbindir=$ac_optarg ;;
 
546
 
 
547
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
548
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
549
  | --sharedst | --shareds | --shared | --share | --shar \
 
550
  | --sha | --sh)
 
551
    ac_prev=sharedstatedir ;;
 
552
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
553
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
554
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
555
  | --sha=* | --sh=*)
 
556
    sharedstatedir=$ac_optarg ;;
 
557
 
 
558
  -site | --site | --sit)
 
559
    ac_prev=site ;;
 
560
  -site=* | --site=* | --sit=*)
 
561
    site=$ac_optarg ;;
 
562
 
 
563
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
564
    ac_prev=srcdir ;;
 
565
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
566
    srcdir=$ac_optarg ;;
 
567
 
 
568
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
569
  | --syscon | --sysco | --sysc | --sys | --sy)
 
570
    ac_prev=sysconfdir ;;
 
571
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
572
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
573
    sysconfdir=$ac_optarg ;;
 
574
 
 
575
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
576
    ac_prev=target_alias ;;
 
577
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
578
    target_alias=$ac_optarg ;;
 
579
 
 
580
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
581
    verbose=yes ;;
 
582
 
 
583
  -version | --version | --versio | --versi | --vers | -V)
 
584
    ac_init_version=: ;;
 
585
 
 
586
  -with-* | --with-*)
 
587
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
588
    # Reject names that are not valid shell variable names.
 
589
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
590
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
591
   { (exit 1); exit 1; }; }
 
592
    ac_package=`echo $ac_package| sed 's/-/_/g'`
 
593
    case $ac_option in
 
594
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
595
      *) ac_optarg=yes ;;
 
596
    esac
 
597
    eval "with_$ac_package='$ac_optarg'" ;;
 
598
 
 
599
  -without-* | --without-*)
 
600
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
601
    # Reject names that are not valid shell variable names.
 
602
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
603
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
604
   { (exit 1); exit 1; }; }
 
605
    ac_package=`echo $ac_package | sed 's/-/_/g'`
 
606
    eval "with_$ac_package=no" ;;
 
607
 
 
608
  --x)
 
609
    # Obsolete; use --with-x.
 
610
    with_x=yes ;;
 
611
 
 
612
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
613
  | --x-incl | --x-inc | --x-in | --x-i)
 
614
    ac_prev=x_includes ;;
 
615
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
616
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
617
    x_includes=$ac_optarg ;;
 
618
 
 
619
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
620
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
621
    ac_prev=x_libraries ;;
 
622
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
623
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
624
    x_libraries=$ac_optarg ;;
 
625
 
 
626
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
627
Try \`$0 --help' for more information." >&2
 
628
   { (exit 1); exit 1; }; }
 
629
    ;;
 
630
 
 
631
  *=*)
 
632
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
633
    # Reject names that are not valid shell variable names.
 
634
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 
635
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
636
   { (exit 1); exit 1; }; }
 
637
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
 
638
    eval "$ac_envvar='$ac_optarg'"
 
639
    export $ac_envvar ;;
 
640
 
 
641
  *)
 
642
    # FIXME: should be removed in autoconf 3.0.
 
643
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
644
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
645
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
646
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
647
    ;;
 
648
 
 
649
  esac
 
650
done
 
651
 
 
652
if test -n "$ac_prev"; then
 
653
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
654
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
655
   { (exit 1); exit 1; }; }
 
656
fi
 
657
 
 
658
# Be sure to have absolute paths.
 
659
for ac_var in exec_prefix prefix
 
660
do
 
661
  eval ac_val=$`echo $ac_var`
 
662
  case $ac_val in
 
663
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
 
664
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
665
   { (exit 1); exit 1; }; };;
 
666
  esac
 
667
done
 
668
 
 
669
# Be sure to have absolute paths.
 
670
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
 
671
              localstatedir libdir includedir oldincludedir infodir mandir
 
672
do
 
673
  eval ac_val=$`echo $ac_var`
 
674
  case $ac_val in
 
675
    [\\/$]* | ?:[\\/]* ) ;;
 
676
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
677
   { (exit 1); exit 1; }; };;
 
678
  esac
 
679
done
 
680
 
 
681
# There might be people who depend on the old broken behavior: `$host'
 
682
# used to hold the argument of --host etc.
 
683
# FIXME: To remove some day.
 
684
build=$build_alias
 
685
host=$host_alias
 
686
target=$target_alias
 
687
 
 
688
# FIXME: To remove some day.
 
689
if test "x$host_alias" != x; then
 
690
  if test "x$build_alias" = x; then
 
691
    cross_compiling=maybe
 
692
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
693
    If a cross compiler is detected then cross compile mode will be used." >&2
 
694
  elif test "x$build_alias" != "x$host_alias"; then
 
695
    cross_compiling=yes
 
696
  fi
 
697
fi
 
698
 
 
699
ac_tool_prefix=
 
700
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
701
 
 
702
test "$silent" = yes && exec 6>/dev/null
 
703
 
 
704
 
 
705
# Find the source files, if location was not specified.
 
706
if test -z "$srcdir"; then
 
707
  ac_srcdir_defaulted=yes
 
708
  # Try the directory containing this script, then its parent.
 
709
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
710
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
711
         X"$0" : 'X\(//\)[^/]' \| \
 
712
         X"$0" : 'X\(//\)$' \| \
 
713
         X"$0" : 'X\(/\)' \| \
 
714
         .     : '\(.\)' 2>/dev/null ||
 
715
echo X"$0" |
 
716
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
717
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
718
          /^X\(\/\/\)$/{ s//\1/; q; }
 
719
          /^X\(\/\).*/{ s//\1/; q; }
 
720
          s/.*/./; q'`
 
721
  srcdir=$ac_confdir
 
722
  if test ! -r $srcdir/$ac_unique_file; then
 
723
    srcdir=..
 
724
  fi
 
725
else
 
726
  ac_srcdir_defaulted=no
 
727
fi
 
728
if test ! -r $srcdir/$ac_unique_file; then
 
729
  if test "$ac_srcdir_defaulted" = yes; then
 
730
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
 
731
   { (exit 1); exit 1; }; }
 
732
  else
 
733
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
734
   { (exit 1); exit 1; }; }
 
735
  fi
 
736
fi
 
737
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
 
738
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
 
739
   { (exit 1); exit 1; }; }
 
740
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
 
741
ac_env_build_alias_set=${build_alias+set}
 
742
ac_env_build_alias_value=$build_alias
 
743
ac_cv_env_build_alias_set=${build_alias+set}
 
744
ac_cv_env_build_alias_value=$build_alias
 
745
ac_env_host_alias_set=${host_alias+set}
 
746
ac_env_host_alias_value=$host_alias
 
747
ac_cv_env_host_alias_set=${host_alias+set}
 
748
ac_cv_env_host_alias_value=$host_alias
 
749
ac_env_target_alias_set=${target_alias+set}
 
750
ac_env_target_alias_value=$target_alias
 
751
ac_cv_env_target_alias_set=${target_alias+set}
 
752
ac_cv_env_target_alias_value=$target_alias
 
753
ac_env_CC_set=${CC+set}
 
754
ac_env_CC_value=$CC
 
755
ac_cv_env_CC_set=${CC+set}
 
756
ac_cv_env_CC_value=$CC
 
757
ac_env_CFLAGS_set=${CFLAGS+set}
 
758
ac_env_CFLAGS_value=$CFLAGS
 
759
ac_cv_env_CFLAGS_set=${CFLAGS+set}
 
760
ac_cv_env_CFLAGS_value=$CFLAGS
 
761
ac_env_LDFLAGS_set=${LDFLAGS+set}
 
762
ac_env_LDFLAGS_value=$LDFLAGS
 
763
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
 
764
ac_cv_env_LDFLAGS_value=$LDFLAGS
 
765
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
 
766
ac_env_CPPFLAGS_value=$CPPFLAGS
 
767
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
 
768
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
 
769
ac_env_CPP_set=${CPP+set}
 
770
ac_env_CPP_value=$CPP
 
771
ac_cv_env_CPP_set=${CPP+set}
 
772
ac_cv_env_CPP_value=$CPP
 
773
 
 
774
#
 
775
# Report the --help message.
 
776
#
 
777
if test "$ac_init_help" = "long"; then
 
778
  # Omit some internal or obsolete options to make the list less imposing.
 
779
  # This message is too long to be a string in the A/UX 3.1 sh.
 
780
  cat <<_ACEOF
 
781
\`configure' configures this package to adapt to many kinds of systems.
 
782
 
 
783
Usage: $0 [OPTION]... [VAR=VALUE]...
 
784
 
 
785
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
786
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
787
 
 
788
Defaults for the options are specified in brackets.
 
789
 
 
790
Configuration:
 
791
  -h, --help              display this help and exit
 
792
      --help=short        display options specific to this package
 
793
      --help=recursive    display the short help of all the included packages
 
794
  -V, --version           display version information and exit
 
795
  -q, --quiet, --silent   do not print \`checking...' messages
 
796
      --cache-file=FILE   cache test results in FILE [disabled]
 
797
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
798
  -n, --no-create         do not create output files
 
799
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
800
 
 
801
_ACEOF
 
802
 
 
803
  cat <<_ACEOF
 
804
Installation directories:
 
805
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
806
                          [$ac_default_prefix]
 
807
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
808
                          [PREFIX]
 
809
 
 
810
By default, \`make install' will install all the files in
 
811
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
812
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
813
for instance \`--prefix=\$HOME'.
 
814
 
 
815
For better control, use the options below.
 
816
 
 
817
Fine tuning of the installation directories:
 
818
  --bindir=DIR           user executables [EPREFIX/bin]
 
819
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
 
820
  --libexecdir=DIR       program executables [EPREFIX/libexec]
 
821
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
 
822
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
 
823
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
 
824
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 
825
  --libdir=DIR           object code libraries [EPREFIX/lib]
 
826
  --includedir=DIR       C header files [PREFIX/include]
 
827
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 
828
  --infodir=DIR          info documentation [PREFIX/info]
 
829
  --mandir=DIR           man documentation [PREFIX/man]
 
830
_ACEOF
 
831
 
 
832
  cat <<\_ACEOF
 
833
 
 
834
Program names:
 
835
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
836
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
837
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
838
_ACEOF
 
839
fi
 
840
 
 
841
if test -n "$ac_init_help"; then
 
842
 
 
843
  cat <<\_ACEOF
 
844
 
 
845
Optional Features:
 
846
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
847
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
848
  --enable-maintainer-mode  enable make rules and dependencies not useful
 
849
                          (and sometimes confusing) to the casual installer
 
850
  --disable-dependency-tracking  speeds up one-time build
 
851
  --enable-dependency-tracking   do not reject slow dependency extractors
 
852
 
 
853
Some influential environment variables:
 
854
  CC          C compiler command
 
855
  CFLAGS      C compiler flags
 
856
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
857
              nonstandard directory <lib dir>
 
858
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
 
859
              headers in a nonstandard directory <include dir>
 
860
  CPP         C preprocessor
 
861
 
 
862
Use these variables to override the choices made by `configure' or to help
 
863
it to find libraries and programs with nonstandard names/locations.
 
864
 
 
865
_ACEOF
 
866
fi
 
867
 
 
868
if test "$ac_init_help" = "recursive"; then
 
869
  # If there are subdirs, report their specific --help.
 
870
  ac_popdir=`pwd`
 
871
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
872
    test -d $ac_dir || continue
 
873
    ac_builddir=.
 
874
 
 
875
if test "$ac_dir" != .; then
 
876
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
877
  # A "../" for each directory in $ac_dir_suffix.
 
878
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
879
else
 
880
  ac_dir_suffix= ac_top_builddir=
 
881
fi
 
882
 
 
883
case $srcdir in
 
884
  .)  # No --srcdir option.  We are building in place.
 
885
    ac_srcdir=.
 
886
    if test -z "$ac_top_builddir"; then
 
887
       ac_top_srcdir=.
 
888
    else
 
889
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
890
    fi ;;
 
891
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
892
    ac_srcdir=$srcdir$ac_dir_suffix;
 
893
    ac_top_srcdir=$srcdir ;;
 
894
  *) # Relative path.
 
895
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
896
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
897
esac
 
898
 
 
899
# Do not use `cd foo && pwd` to compute absolute paths, because
 
900
# the directories may not exist.
 
901
case `pwd` in
 
902
.) ac_abs_builddir="$ac_dir";;
 
903
*)
 
904
  case "$ac_dir" in
 
905
  .) ac_abs_builddir=`pwd`;;
 
906
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
907
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
908
  esac;;
 
909
esac
 
910
case $ac_abs_builddir in
 
911
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
912
*)
 
913
  case ${ac_top_builddir}. in
 
914
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
915
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
916
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
917
  esac;;
 
918
esac
 
919
case $ac_abs_builddir in
 
920
.) ac_abs_srcdir=$ac_srcdir;;
 
921
*)
 
922
  case $ac_srcdir in
 
923
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
924
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
925
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
926
  esac;;
 
927
esac
 
928
case $ac_abs_builddir in
 
929
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
930
*)
 
931
  case $ac_top_srcdir in
 
932
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
933
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
934
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
935
  esac;;
 
936
esac
 
937
 
 
938
    cd $ac_dir
 
939
    # Check for guested configure; otherwise get Cygnus style configure.
 
940
    if test -f $ac_srcdir/configure.gnu; then
 
941
      echo
 
942
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
 
943
    elif test -f $ac_srcdir/configure; then
 
944
      echo
 
945
      $SHELL $ac_srcdir/configure  --help=recursive
 
946
    elif test -f $ac_srcdir/configure.ac ||
 
947
           test -f $ac_srcdir/configure.in; then
 
948
      echo
 
949
      $ac_configure --help
 
950
    else
 
951
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
952
    fi
 
953
    cd "$ac_popdir"
 
954
  done
 
955
fi
 
956
 
 
957
test -n "$ac_init_help" && exit 0
 
958
if $ac_init_version; then
 
959
  cat <<\_ACEOF
 
960
 
 
961
Copyright (C) 2003 Free Software Foundation, Inc.
 
962
This configure script is free software; the Free Software Foundation
 
963
gives unlimited permission to copy, distribute and modify it.
 
964
_ACEOF
 
965
  exit 0
 
966
fi
 
967
exec 5>config.log
 
968
cat >&5 <<_ACEOF
 
969
This file contains any messages produced by compilers while
 
970
running configure, to aid debugging if configure makes a mistake.
 
971
 
 
972
It was created by $as_me, which was
 
973
generated by GNU Autoconf 2.59.  Invocation command line was
 
974
 
 
975
  $ $0 $@
 
976
 
 
977
_ACEOF
 
978
{
 
979
cat <<_ASUNAME
 
980
## --------- ##
 
981
## Platform. ##
 
982
## --------- ##
 
983
 
 
984
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
985
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
986
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
987
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
988
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
989
 
 
990
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
991
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
992
 
 
993
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
994
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
995
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
996
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
997
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
998
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
999
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
1000
 
 
1001
_ASUNAME
 
1002
 
 
1003
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1004
for as_dir in $PATH
 
1005
do
 
1006
  IFS=$as_save_IFS
 
1007
  test -z "$as_dir" && as_dir=.
 
1008
  echo "PATH: $as_dir"
 
1009
done
 
1010
 
 
1011
} >&5
 
1012
 
 
1013
cat >&5 <<_ACEOF
 
1014
 
 
1015
 
 
1016
## ----------- ##
 
1017
## Core tests. ##
 
1018
## ----------- ##
 
1019
 
 
1020
_ACEOF
 
1021
 
 
1022
 
 
1023
# Keep a trace of the command line.
 
1024
# Strip out --no-create and --no-recursion so they do not pile up.
 
1025
# Strip out --silent because we don't want to record it for future runs.
 
1026
# Also quote any args containing shell meta-characters.
 
1027
# Make two passes to allow for proper duplicate-argument suppression.
 
1028
ac_configure_args=
 
1029
ac_configure_args0=
 
1030
ac_configure_args1=
 
1031
ac_sep=
 
1032
ac_must_keep_next=false
 
1033
for ac_pass in 1 2
 
1034
do
 
1035
  for ac_arg
 
1036
  do
 
1037
    case $ac_arg in
 
1038
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
1039
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1040
    | -silent | --silent | --silen | --sile | --sil)
 
1041
      continue ;;
 
1042
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1043
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1044
    esac
 
1045
    case $ac_pass in
 
1046
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1047
    2)
 
1048
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1049
      if test $ac_must_keep_next = true; then
 
1050
        ac_must_keep_next=false # Got value, back to normal.
 
1051
      else
 
1052
        case $ac_arg in
 
1053
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1054
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1055
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1056
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1057
            case "$ac_configure_args0 " in
 
1058
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1059
            esac
 
1060
            ;;
 
1061
          -* ) ac_must_keep_next=true ;;
 
1062
        esac
 
1063
      fi
 
1064
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 
1065
      # Get rid of the leading space.
 
1066
      ac_sep=" "
 
1067
      ;;
 
1068
    esac
 
1069
  done
 
1070
done
 
1071
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 
1072
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1073
 
 
1074
# When interrupted or exit'd, cleanup temporary files, and complete
 
1075
# config.log.  We remove comments because anyway the quotes in there
 
1076
# would cause problems or look ugly.
 
1077
# WARNING: Be sure not to use single quotes in there, as some shells,
 
1078
# such as our DU 5.0 friend, will then `close' the trap.
 
1079
trap 'exit_status=$?
 
1080
  # Save into config.log some information that might help in debugging.
 
1081
  {
 
1082
    echo
 
1083
 
 
1084
    cat <<\_ASBOX
 
1085
## ---------------- ##
 
1086
## Cache variables. ##
 
1087
## ---------------- ##
 
1088
_ASBOX
 
1089
    echo
 
1090
    # The following way of writing the cache mishandles newlines in values,
 
1091
{
 
1092
  (set) 2>&1 |
 
1093
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 
1094
    *ac_space=\ *)
 
1095
      sed -n \
 
1096
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1097
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1098
      ;;
 
1099
    *)
 
1100
      sed -n \
 
1101
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1102
      ;;
 
1103
    esac;
 
1104
}
 
1105
    echo
 
1106
 
 
1107
    cat <<\_ASBOX
 
1108
## ----------------- ##
 
1109
## Output variables. ##
 
1110
## ----------------- ##
 
1111
_ASBOX
 
1112
    echo
 
1113
    for ac_var in $ac_subst_vars
 
1114
    do
 
1115
      eval ac_val=$`echo $ac_var`
 
1116
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1117
    done | sort
 
1118
    echo
 
1119
 
 
1120
    if test -n "$ac_subst_files"; then
 
1121
      cat <<\_ASBOX
 
1122
## ------------- ##
 
1123
## Output files. ##
 
1124
## ------------- ##
 
1125
_ASBOX
 
1126
      echo
 
1127
      for ac_var in $ac_subst_files
 
1128
      do
 
1129
        eval ac_val=$`echo $ac_var`
 
1130
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1131
      done | sort
 
1132
      echo
 
1133
    fi
 
1134
 
 
1135
    if test -s confdefs.h; then
 
1136
      cat <<\_ASBOX
 
1137
## ----------- ##
 
1138
## confdefs.h. ##
 
1139
## ----------- ##
 
1140
_ASBOX
 
1141
      echo
 
1142
      sed "/^$/d" confdefs.h | sort
 
1143
      echo
 
1144
    fi
 
1145
    test "$ac_signal" != 0 &&
 
1146
      echo "$as_me: caught signal $ac_signal"
 
1147
    echo "$as_me: exit $exit_status"
 
1148
  } >&5
 
1149
  rm -f core *.core &&
 
1150
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1151
    exit $exit_status
 
1152
     ' 0
 
1153
for ac_signal in 1 2 13 15; do
 
1154
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1155
done
 
1156
ac_signal=0
 
1157
 
 
1158
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
1159
rm -rf conftest* confdefs.h
 
1160
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
 
1161
echo >confdefs.h
 
1162
 
 
1163
# Predefined preprocessor variables.
 
1164
 
 
1165
cat >>confdefs.h <<_ACEOF
 
1166
#define PACKAGE_NAME "$PACKAGE_NAME"
 
1167
_ACEOF
 
1168
 
 
1169
 
 
1170
cat >>confdefs.h <<_ACEOF
 
1171
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
1172
_ACEOF
 
1173
 
 
1174
 
 
1175
cat >>confdefs.h <<_ACEOF
 
1176
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
1177
_ACEOF
 
1178
 
 
1179
 
 
1180
cat >>confdefs.h <<_ACEOF
 
1181
#define PACKAGE_STRING "$PACKAGE_STRING"
 
1182
_ACEOF
 
1183
 
 
1184
 
 
1185
cat >>confdefs.h <<_ACEOF
 
1186
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
1187
_ACEOF
 
1188
 
 
1189
 
 
1190
# Let the site file select an alternate cache file if it wants to.
 
1191
# Prefer explicitly selected file to automatically selected ones.
 
1192
if test -z "$CONFIG_SITE"; then
 
1193
  if test "x$prefix" != xNONE; then
 
1194
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 
1195
  else
 
1196
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 
1197
  fi
 
1198
fi
 
1199
for ac_site_file in $CONFIG_SITE; do
 
1200
  if test -r "$ac_site_file"; then
 
1201
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1202
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1203
    sed 's/^/| /' "$ac_site_file" >&5
 
1204
    . "$ac_site_file"
 
1205
  fi
 
1206
done
 
1207
 
 
1208
if test -r "$cache_file"; then
 
1209
  # Some versions of bash will fail to source /dev/null (special
 
1210
  # files actually), so we avoid doing that.
 
1211
  if test -f "$cache_file"; then
 
1212
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1213
echo "$as_me: loading cache $cache_file" >&6;}
 
1214
    case $cache_file in
 
1215
      [\\/]* | ?:[\\/]* ) . $cache_file;;
 
1216
      *)                      . ./$cache_file;;
 
1217
    esac
 
1218
  fi
 
1219
else
 
1220
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1221
echo "$as_me: creating cache $cache_file" >&6;}
 
1222
  >$cache_file
 
1223
fi
 
1224
 
 
1225
# Check that the precious variables saved in the cache have kept the same
 
1226
# value.
 
1227
ac_cache_corrupted=false
 
1228
for ac_var in `(set) 2>&1 |
 
1229
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1230
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
1231
  eval ac_new_set=\$ac_env_${ac_var}_set
 
1232
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 
1233
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1234
  case $ac_old_set,$ac_new_set in
 
1235
    set,)
 
1236
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1237
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1238
      ac_cache_corrupted=: ;;
 
1239
    ,set)
 
1240
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1241
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1242
      ac_cache_corrupted=: ;;
 
1243
    ,);;
 
1244
    *)
 
1245
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
1246
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1247
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1248
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1249
echo "$as_me:   former value:  $ac_old_val" >&2;}
 
1250
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1251
echo "$as_me:   current value: $ac_new_val" >&2;}
 
1252
        ac_cache_corrupted=:
 
1253
      fi;;
 
1254
  esac
 
1255
  # Pass precious variables to config.status.
 
1256
  if test "$ac_new_set" = set; then
 
1257
    case $ac_new_val in
 
1258
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1259
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1260
    *) ac_arg=$ac_var=$ac_new_val ;;
 
1261
    esac
 
1262
    case " $ac_configure_args " in
 
1263
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
1264
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
1265
    esac
 
1266
  fi
 
1267
done
 
1268
if $ac_cache_corrupted; then
 
1269
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1270
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1271
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
1272
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
1273
   { (exit 1); exit 1; }; }
 
1274
fi
 
1275
 
 
1276
ac_ext=c
 
1277
ac_cpp='$CPP $CPPFLAGS'
 
1278
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
1279
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
1280
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
1281
 
 
1282
 
 
1283
 
 
1284
 
 
1285
 
 
1286
 
 
1287
 
 
1288
 
 
1289
 
 
1290
 
 
1291
 
 
1292
 
 
1293
 
 
1294
 
 
1295
 
 
1296
 
 
1297
 
 
1298
 
 
1299
 
 
1300
am__api_version="1.9"
 
1301
ac_aux_dir=
 
1302
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
 
1303
  if test -f $ac_dir/install-sh; then
 
1304
    ac_aux_dir=$ac_dir
 
1305
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
1306
    break
 
1307
  elif test -f $ac_dir/install.sh; then
 
1308
    ac_aux_dir=$ac_dir
 
1309
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
1310
    break
 
1311
  elif test -f $ac_dir/shtool; then
 
1312
    ac_aux_dir=$ac_dir
 
1313
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
1314
    break
 
1315
  fi
 
1316
done
 
1317
if test -z "$ac_aux_dir"; then
 
1318
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
 
1319
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
1320
   { (exit 1); exit 1; }; }
 
1321
fi
 
1322
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 
1323
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 
1324
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
1325
 
 
1326
# Find a good install program.  We prefer a C program (faster),
 
1327
# so one script is as good as another.  But avoid the broken or
 
1328
# incompatible versions:
 
1329
# SysV /etc/install, /usr/sbin/install
 
1330
# SunOS /usr/etc/install
 
1331
# IRIX /sbin/install
 
1332
# AIX /bin/install
 
1333
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
1334
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
1335
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
1336
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1337
# OS/2's system install, which has a completely different semantic
 
1338
# ./install, which can be erroneously created by make from ./install.sh.
 
1339
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1340
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
1341
if test -z "$INSTALL"; then
 
1342
if test "${ac_cv_path_install+set}" = set; then
 
1343
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1344
else
 
1345
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1346
for as_dir in $PATH
 
1347
do
 
1348
  IFS=$as_save_IFS
 
1349
  test -z "$as_dir" && as_dir=.
 
1350
  # Account for people who put trailing slashes in PATH elements.
 
1351
case $as_dir/ in
 
1352
  ./ | .// | /cC/* | \
 
1353
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1354
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
1355
  /usr/ucb/* ) ;;
 
1356
  *)
 
1357
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
1358
    # Don't use installbsd from OSF since it installs stuff as root
 
1359
    # by default.
 
1360
    for ac_prog in ginstall scoinst install; do
 
1361
      for ac_exec_ext in '' $ac_executable_extensions; do
 
1362
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1363
          if test $ac_prog = install &&
 
1364
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1365
            # AIX install.  It has an incompatible calling convention.
 
1366
            :
 
1367
          elif test $ac_prog = install &&
 
1368
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1369
            # program-specific install script used by HP pwplus--don't use.
 
1370
            :
 
1371
          else
 
1372
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1373
            break 3
 
1374
          fi
 
1375
        fi
 
1376
      done
 
1377
    done
 
1378
    ;;
 
1379
esac
 
1380
done
 
1381
 
 
1382
 
 
1383
fi
 
1384
  if test "${ac_cv_path_install+set}" = set; then
 
1385
    INSTALL=$ac_cv_path_install
 
1386
  else
 
1387
    # As a last resort, use the slow shell script.  We don't cache a
 
1388
    # path for INSTALL within a source directory, because that will
 
1389
    # break other packages using the cache if that directory is
 
1390
    # removed, or if the path is relative.
 
1391
    INSTALL=$ac_install_sh
 
1392
  fi
 
1393
fi
 
1394
echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1395
echo "${ECHO_T}$INSTALL" >&6
 
1396
 
 
1397
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
1398
# It thinks the first close brace ends the variable substitution.
 
1399
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
1400
 
 
1401
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
1402
 
 
1403
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
1404
 
 
1405
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
1406
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
1407
# Just in case
 
1408
sleep 1
 
1409
echo timestamp > conftest.file
 
1410
# Do `set' in a subshell so we don't clobber the current shell's
 
1411
# arguments.  Must try -L first in case configure is actually a
 
1412
# symlink; some systems play weird games with the mod time of symlinks
 
1413
# (eg FreeBSD returns the mod time of the symlink's containing
 
1414
# directory).
 
1415
if (
 
1416
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
1417
   if test "$*" = "X"; then
 
1418
      # -L didn't work.
 
1419
      set X `ls -t $srcdir/configure conftest.file`
 
1420
   fi
 
1421
   rm -f conftest.file
 
1422
   if test "$*" != "X $srcdir/configure conftest.file" \
 
1423
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
1424
 
 
1425
      # If neither matched, then we have a broken ls.  This can happen
 
1426
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
1427
      # broken ls alias from the environment.  This has actually
 
1428
      # happened.  Such a system could not be considered "sane".
 
1429
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
1430
alias in your environment" >&5
 
1431
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
1432
alias in your environment" >&2;}
 
1433
   { (exit 1); exit 1; }; }
 
1434
   fi
 
1435
 
 
1436
   test "$2" = conftest.file
 
1437
   )
 
1438
then
 
1439
   # Ok.
 
1440
   :
 
1441
else
 
1442
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
1443
Check your system clock" >&5
 
1444
echo "$as_me: error: newly created file is older than distributed files!
 
1445
Check your system clock" >&2;}
 
1446
   { (exit 1); exit 1; }; }
 
1447
fi
 
1448
echo "$as_me:$LINENO: result: yes" >&5
 
1449
echo "${ECHO_T}yes" >&6
 
1450
test "$program_prefix" != NONE &&
 
1451
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
1452
# Use a double $ so make ignores it.
 
1453
test "$program_suffix" != NONE &&
 
1454
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
1455
# Double any \ or $.  echo might interpret backslashes.
 
1456
# By default was `s,x,x', remove it if useless.
 
1457
cat <<\_ACEOF >conftest.sed
 
1458
s/[\\$]/&&/g;s/;s,x,x,$//
 
1459
_ACEOF
 
1460
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 
1461
rm conftest.sed
 
1462
 
 
1463
# expand $ac_aux_dir to an absolute path
 
1464
am_aux_dir=`cd $ac_aux_dir && pwd`
 
1465
 
 
1466
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
1467
# Use eval to expand $SHELL
 
1468
if eval "$MISSING --run true"; then
 
1469
  am_missing_run="$MISSING --run "
 
1470
else
 
1471
  am_missing_run=
 
1472
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
1473
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
1474
fi
 
1475
 
 
1476
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
1477
  # We used to keeping the `.' as first argument, in order to
 
1478
  # allow $(mkdir_p) to be used without argument.  As in
 
1479
  #   $(mkdir_p) $(somedir)
 
1480
  # where $(somedir) is conditionally defined.  However this is wrong
 
1481
  # for two reasons:
 
1482
  #  1. if the package is installed by a user who cannot write `.'
 
1483
  #     make install will fail,
 
1484
  #  2. the above comment should most certainly read
 
1485
  #     $(mkdir_p) $(DESTDIR)$(somedir)
 
1486
  #     so it does not work when $(somedir) is undefined and
 
1487
  #     $(DESTDIR) is not.
 
1488
  #  To support the latter case, we have to write
 
1489
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 
1490
  #  so the `.' trick is pointless.
 
1491
  mkdir_p='mkdir -p --'
 
1492
else
 
1493
  # On NextStep and OpenStep, the `mkdir' command does not
 
1494
  # recognize any option.  It will interpret all options as
 
1495
  # directories to create, and then abort because `.' already
 
1496
  # exists.
 
1497
  for d in ./-p ./--version;
 
1498
  do
 
1499
    test -d $d && rmdir $d
 
1500
  done
 
1501
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
1502
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
1503
    mkdir_p='$(mkinstalldirs)'
 
1504
  else
 
1505
    mkdir_p='$(install_sh) -d'
 
1506
  fi
 
1507
fi
 
1508
 
 
1509
for ac_prog in gawk mawk nawk awk
 
1510
do
 
1511
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
1512
set dummy $ac_prog; ac_word=$2
 
1513
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1514
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1515
if test "${ac_cv_prog_AWK+set}" = set; then
 
1516
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1517
else
 
1518
  if test -n "$AWK"; then
 
1519
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
1520
else
 
1521
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1522
for as_dir in $PATH
 
1523
do
 
1524
  IFS=$as_save_IFS
 
1525
  test -z "$as_dir" && as_dir=.
 
1526
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1527
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1528
    ac_cv_prog_AWK="$ac_prog"
 
1529
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1530
    break 2
 
1531
  fi
 
1532
done
 
1533
done
 
1534
 
 
1535
fi
 
1536
fi
 
1537
AWK=$ac_cv_prog_AWK
 
1538
if test -n "$AWK"; then
 
1539
  echo "$as_me:$LINENO: result: $AWK" >&5
 
1540
echo "${ECHO_T}$AWK" >&6
 
1541
else
 
1542
  echo "$as_me:$LINENO: result: no" >&5
 
1543
echo "${ECHO_T}no" >&6
 
1544
fi
 
1545
 
 
1546
  test -n "$AWK" && break
 
1547
done
 
1548
 
 
1549
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
1550
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 
1551
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 
1552
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
1553
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1554
else
 
1555
  cat >conftest.make <<\_ACEOF
 
1556
all:
 
1557
        @echo 'ac_maketemp="$(MAKE)"'
 
1558
_ACEOF
 
1559
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
1560
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 
1561
if test -n "$ac_maketemp"; then
 
1562
  eval ac_cv_prog_make_${ac_make}_set=yes
 
1563
else
 
1564
  eval ac_cv_prog_make_${ac_make}_set=no
 
1565
fi
 
1566
rm -f conftest.make
 
1567
fi
 
1568
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 
1569
  echo "$as_me:$LINENO: result: yes" >&5
 
1570
echo "${ECHO_T}yes" >&6
 
1571
  SET_MAKE=
 
1572
else
 
1573
  echo "$as_me:$LINENO: result: no" >&5
 
1574
echo "${ECHO_T}no" >&6
 
1575
  SET_MAKE="MAKE=${MAKE-make}"
 
1576
fi
 
1577
 
 
1578
rm -rf .tst 2>/dev/null
 
1579
mkdir .tst 2>/dev/null
 
1580
if test -d .tst; then
 
1581
  am__leading_dot=.
 
1582
else
 
1583
  am__leading_dot=_
 
1584
fi
 
1585
rmdir .tst 2>/dev/null
 
1586
 
 
1587
# test to see if srcdir already configured
 
1588
if test "`cd $srcdir && pwd`" != "`pwd`" &&
 
1589
   test -f $srcdir/config.status; then
 
1590
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
1591
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
1592
   { (exit 1); exit 1; }; }
 
1593
fi
 
1594
 
 
1595
# test whether we have cygpath
 
1596
if test -z "$CYGPATH_W"; then
 
1597
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
1598
    CYGPATH_W='cygpath -w'
 
1599
  else
 
1600
    CYGPATH_W=echo
 
1601
  fi
 
1602
fi
 
1603
 
 
1604
 
 
1605
# Define the identity of the package.
 
1606
 PACKAGE=update-manager
 
1607
 VERSION=0.37.2
 
1608
 
 
1609
 
 
1610
cat >>confdefs.h <<_ACEOF
 
1611
#define PACKAGE "$PACKAGE"
 
1612
_ACEOF
 
1613
 
 
1614
 
 
1615
cat >>confdefs.h <<_ACEOF
 
1616
#define VERSION "$VERSION"
 
1617
_ACEOF
 
1618
 
 
1619
# Some tools Automake needs.
 
1620
 
 
1621
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
1622
 
 
1623
 
 
1624
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
1625
 
 
1626
 
 
1627
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
1628
 
 
1629
 
 
1630
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
1631
 
 
1632
 
 
1633
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
1634
 
 
1635
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
1636
 
 
1637
# Installed binaries are usually stripped using `strip' when the user
 
1638
# run `make install-strip'.  However `strip' might not be the right
 
1639
# tool to use in cross-compilation environments, therefore Automake
 
1640
# will honor the `STRIP' environment variable to overrule this program.
 
1641
if test "$cross_compiling" != no; then
 
1642
  if test -n "$ac_tool_prefix"; then
 
1643
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
1644
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
1645
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1646
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1647
if test "${ac_cv_prog_STRIP+set}" = set; then
 
1648
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1649
else
 
1650
  if test -n "$STRIP"; then
 
1651
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
1652
else
 
1653
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1654
for as_dir in $PATH
 
1655
do
 
1656
  IFS=$as_save_IFS
 
1657
  test -z "$as_dir" && as_dir=.
 
1658
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1659
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1660
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
1661
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1662
    break 2
 
1663
  fi
 
1664
done
 
1665
done
 
1666
 
 
1667
fi
 
1668
fi
 
1669
STRIP=$ac_cv_prog_STRIP
 
1670
if test -n "$STRIP"; then
 
1671
  echo "$as_me:$LINENO: result: $STRIP" >&5
 
1672
echo "${ECHO_T}$STRIP" >&6
 
1673
else
 
1674
  echo "$as_me:$LINENO: result: no" >&5
 
1675
echo "${ECHO_T}no" >&6
 
1676
fi
 
1677
 
 
1678
fi
 
1679
if test -z "$ac_cv_prog_STRIP"; then
 
1680
  ac_ct_STRIP=$STRIP
 
1681
  # Extract the first word of "strip", so it can be a program name with args.
 
1682
set dummy strip; ac_word=$2
 
1683
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1684
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1685
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
1686
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1687
else
 
1688
  if test -n "$ac_ct_STRIP"; then
 
1689
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
1690
else
 
1691
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1692
for as_dir in $PATH
 
1693
do
 
1694
  IFS=$as_save_IFS
 
1695
  test -z "$as_dir" && as_dir=.
 
1696
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1697
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1698
    ac_cv_prog_ac_ct_STRIP="strip"
 
1699
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1700
    break 2
 
1701
  fi
 
1702
done
 
1703
done
 
1704
 
 
1705
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 
1706
fi
 
1707
fi
 
1708
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
1709
if test -n "$ac_ct_STRIP"; then
 
1710
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
1711
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
1712
else
 
1713
  echo "$as_me:$LINENO: result: no" >&5
 
1714
echo "${ECHO_T}no" >&6
 
1715
fi
 
1716
 
 
1717
  STRIP=$ac_ct_STRIP
 
1718
else
 
1719
  STRIP="$ac_cv_prog_STRIP"
 
1720
fi
 
1721
 
 
1722
fi
 
1723
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
1724
 
 
1725
# We need awk for the "check" target.  The system "awk" is bad on
 
1726
# some platforms.
 
1727
# Always define AMTAR for backward compatibility.
 
1728
 
 
1729
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
1730
 
 
1731
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
1732
 
 
1733
 
 
1734
 
 
1735
 
 
1736
 
 
1737
          ac_config_headers="$ac_config_headers config.h"
 
1738
 
 
1739
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
1740
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
 
1741
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 
1742
if test "${enable_maintainer_mode+set}" = set; then
 
1743
  enableval="$enable_maintainer_mode"
 
1744
  USE_MAINTAINER_MODE=$enableval
 
1745
else
 
1746
  USE_MAINTAINER_MODE=no
 
1747
fi;
 
1748
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
1749
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
 
1750
 
 
1751
 
 
1752
if test $USE_MAINTAINER_MODE = yes; then
 
1753
  MAINTAINER_MODE_TRUE=
 
1754
  MAINTAINER_MODE_FALSE='#'
 
1755
else
 
1756
  MAINTAINER_MODE_TRUE='#'
 
1757
  MAINTAINER_MODE_FALSE=
 
1758
fi
 
1759
 
 
1760
  MAINT=$MAINTAINER_MODE_TRUE
 
1761
 
 
1762
 
 
1763
 
 
1764
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
1765
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 
1766
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 
1767
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
1768
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1769
else
 
1770
  cat >conftest.make <<\_ACEOF
 
1771
all:
 
1772
        @echo 'ac_maketemp="$(MAKE)"'
 
1773
_ACEOF
 
1774
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
1775
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 
1776
if test -n "$ac_maketemp"; then
 
1777
  eval ac_cv_prog_make_${ac_make}_set=yes
 
1778
else
 
1779
  eval ac_cv_prog_make_${ac_make}_set=no
 
1780
fi
 
1781
rm -f conftest.make
 
1782
fi
 
1783
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 
1784
  echo "$as_me:$LINENO: result: yes" >&5
 
1785
echo "${ECHO_T}yes" >&6
 
1786
  SET_MAKE=
 
1787
else
 
1788
  echo "$as_me:$LINENO: result: no" >&5
 
1789
echo "${ECHO_T}no" >&6
 
1790
  SET_MAKE="MAKE=${MAKE-make}"
 
1791
fi
 
1792
 
 
1793
 
 
1794
GETTEXT_PACKAGE=update-manager
 
1795
 
 
1796
 
 
1797
if test -n "0.23"; then
 
1798
    echo "$as_me:$LINENO: checking for intltool >= 0.23" >&5
 
1799
echo $ECHO_N "checking for intltool >= 0.23... $ECHO_C" >&6
 
1800
 
 
1801
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.23 | awk -F. '{ printf "%d", $1 * 100 + $2; }'`
 
1802
    INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { printf $2; }'  < ${ac_aux_dir}/intltool-update.in`
 
1803
 
 
1804
    INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($2, VERSION, "."); printf "%d\n", VERSION[1] * 100 + VERSION[2];}' < ${ac_aux_dir}/intltool-update.in`
 
1805
 
 
1806
 
 
1807
    if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT"; then
 
1808
        echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
1809
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6
 
1810
    else
 
1811
        echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found. Your intltool is too old.  You need intltool 0.23 or later." >&5
 
1812
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found. Your intltool is too old.  You need intltool 0.23 or later." >&6
 
1813
        exit 1
 
1814
    fi
 
1815
fi
 
1816
 
 
1817
  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 $< $@'
 
1818
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 $< $@'
 
1819
     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 $< $@'
 
1820
     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 $< $@'
 
1821
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
 
1822
     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 $< $@'
 
1823
   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 $< $@'
 
1824
    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 $< $@'
 
1825
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 $< $@'
 
1826
       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 $< $@'
 
1827
      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 $< $@'
 
1828
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
 
1829
      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 $< $@'
 
1830
      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 $< $@'
 
1831
    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 $< $@'
 
1832
  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 $< $@'
 
1833
    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 $< $@'
 
1834
 
 
1835
 
 
1836
 
 
1837
 
 
1838
 
 
1839
 
 
1840
 
 
1841
 
 
1842
 
 
1843
 
 
1844
 
 
1845
 
 
1846
 
 
1847
 
 
1848
 
 
1849
 
 
1850
 
 
1851
 
 
1852
 
 
1853
# Use the tools built into the package, not the ones that are installed.
 
1854
 
 
1855
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
 
1856
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
 
1857
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
 
1858
 
 
1859
 
 
1860
 
 
1861
 
 
1862
 
 
1863
# Extract the first word of "perl", so it can be a program name with args.
 
1864
set dummy perl; ac_word=$2
 
1865
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1866
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1867
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
 
1868
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1869
else
 
1870
  case $INTLTOOL_PERL in
 
1871
  [\\/]* | ?:[\\/]*)
 
1872
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
 
1873
  ;;
 
1874
  *)
 
1875
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1876
for as_dir in $PATH
 
1877
do
 
1878
  IFS=$as_save_IFS
 
1879
  test -z "$as_dir" && as_dir=.
 
1880
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1881
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1882
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
 
1883
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1884
    break 2
 
1885
  fi
 
1886
done
 
1887
done
 
1888
 
 
1889
  ;;
 
1890
esac
 
1891
fi
 
1892
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
 
1893
 
 
1894
if test -n "$INTLTOOL_PERL"; then
 
1895
  echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
 
1896
echo "${ECHO_T}$INTLTOOL_PERL" >&6
 
1897
else
 
1898
  echo "$as_me:$LINENO: result: no" >&5
 
1899
echo "${ECHO_T}no" >&6
 
1900
fi
 
1901
 
 
1902
if test -z "$INTLTOOL_PERL"; then
 
1903
   { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
 
1904
echo "$as_me: error: perl not found; required for intltool" >&2;}
 
1905
   { (exit 1); exit 1; }; }
 
1906
fi
 
1907
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
 
1908
   { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
 
1909
echo "$as_me: error: perl 5.x required for intltool" >&2;}
 
1910
   { (exit 1); exit 1; }; }
 
1911
fi
 
1912
if test "x" != "xno-xml"; then
 
1913
   echo "$as_me:$LINENO: checking for XML::Parser" >&5
 
1914
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6
 
1915
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
 
1916
       echo "$as_me:$LINENO: result: ok" >&5
 
1917
echo "${ECHO_T}ok" >&6
 
1918
   else
 
1919
       { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
 
1920
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
 
1921
   { (exit 1); exit 1; }; }
 
1922
   fi
 
1923
fi
 
1924
 
 
1925
# Extract the first word of "iconv", so it can be a program name with args.
 
1926
set dummy iconv; ac_word=$2
 
1927
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1928
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1929
if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then
 
1930
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1931
else
 
1932
  case $INTLTOOL_ICONV in
 
1933
  [\\/]* | ?:[\\/]*)
 
1934
  ac_cv_path_INTLTOOL_ICONV="$INTLTOOL_ICONV" # Let the user override the test with a path.
 
1935
  ;;
 
1936
  *)
 
1937
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1938
for as_dir in $PATH
 
1939
do
 
1940
  IFS=$as_save_IFS
 
1941
  test -z "$as_dir" && as_dir=.
 
1942
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1943
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1944
    ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext"
 
1945
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1946
    break 2
 
1947
  fi
 
1948
done
 
1949
done
 
1950
 
 
1951
  test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv"
 
1952
  ;;
 
1953
esac
 
1954
fi
 
1955
INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV
 
1956
 
 
1957
if test -n "$INTLTOOL_ICONV"; then
 
1958
  echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5
 
1959
echo "${ECHO_T}$INTLTOOL_ICONV" >&6
 
1960
else
 
1961
  echo "$as_me:$LINENO: result: no" >&5
 
1962
echo "${ECHO_T}no" >&6
 
1963
fi
 
1964
 
 
1965
# Extract the first word of "msgfmt", so it can be a program name with args.
 
1966
set dummy msgfmt; ac_word=$2
 
1967
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1968
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1969
if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then
 
1970
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1971
else
 
1972
  case $INTLTOOL_MSGFMT in
 
1973
  [\\/]* | ?:[\\/]*)
 
1974
  ac_cv_path_INTLTOOL_MSGFMT="$INTLTOOL_MSGFMT" # Let the user override the test with a path.
 
1975
  ;;
 
1976
  *)
 
1977
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1978
for as_dir in $PATH
 
1979
do
 
1980
  IFS=$as_save_IFS
 
1981
  test -z "$as_dir" && as_dir=.
 
1982
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1983
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1984
    ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
1985
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1986
    break 2
 
1987
  fi
 
1988
done
 
1989
done
 
1990
 
 
1991
  test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt"
 
1992
  ;;
 
1993
esac
 
1994
fi
 
1995
INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT
 
1996
 
 
1997
if test -n "$INTLTOOL_MSGFMT"; then
 
1998
  echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5
 
1999
echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6
 
2000
else
 
2001
  echo "$as_me:$LINENO: result: no" >&5
 
2002
echo "${ECHO_T}no" >&6
 
2003
fi
 
2004
 
 
2005
# Extract the first word of "msgmerge", so it can be a program name with args.
 
2006
set dummy msgmerge; ac_word=$2
 
2007
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2008
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2009
if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then
 
2010
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2011
else
 
2012
  case $INTLTOOL_MSGMERGE in
 
2013
  [\\/]* | ?:[\\/]*)
 
2014
  ac_cv_path_INTLTOOL_MSGMERGE="$INTLTOOL_MSGMERGE" # Let the user override the test with a path.
 
2015
  ;;
 
2016
  *)
 
2017
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2018
for as_dir in $PATH
 
2019
do
 
2020
  IFS=$as_save_IFS
 
2021
  test -z "$as_dir" && as_dir=.
 
2022
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2023
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2024
    ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
2025
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2026
    break 2
 
2027
  fi
 
2028
done
 
2029
done
 
2030
 
 
2031
  test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge"
 
2032
  ;;
 
2033
esac
 
2034
fi
 
2035
INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE
 
2036
 
 
2037
if test -n "$INTLTOOL_MSGMERGE"; then
 
2038
  echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5
 
2039
echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6
 
2040
else
 
2041
  echo "$as_me:$LINENO: result: no" >&5
 
2042
echo "${ECHO_T}no" >&6
 
2043
fi
 
2044
 
 
2045
# Extract the first word of "xgettext", so it can be a program name with args.
 
2046
set dummy xgettext; ac_word=$2
 
2047
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2048
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2049
if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then
 
2050
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2051
else
 
2052
  case $INTLTOOL_XGETTEXT in
 
2053
  [\\/]* | ?:[\\/]*)
 
2054
  ac_cv_path_INTLTOOL_XGETTEXT="$INTLTOOL_XGETTEXT" # Let the user override the test with a path.
 
2055
  ;;
 
2056
  *)
 
2057
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2058
for as_dir in $PATH
 
2059
do
 
2060
  IFS=$as_save_IFS
 
2061
  test -z "$as_dir" && as_dir=.
 
2062
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2063
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2064
    ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
2065
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2066
    break 2
 
2067
  fi
 
2068
done
 
2069
done
 
2070
 
 
2071
  test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext"
 
2072
  ;;
 
2073
esac
 
2074
fi
 
2075
INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT
 
2076
 
 
2077
if test -n "$INTLTOOL_XGETTEXT"; then
 
2078
  echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5
 
2079
echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6
 
2080
else
 
2081
  echo "$as_me:$LINENO: result: no" >&5
 
2082
echo "${ECHO_T}no" >&6
 
2083
fi
 
2084
 
 
2085
 
 
2086
# Remove file type tags (using []) from po/POTFILES.
 
2087
 
 
2088
 
 
2089
 
 
2090
 
 
2091
 
 
2092
 
 
2093
 
 
2094
# Manually sed perl in so people don't have to put the intltool scripts in AC_OUTPUT.
 
2095
 
 
2096
          ac_config_commands="$ac_config_commands intltool"
 
2097
 
 
2098
 
 
2099
 
 
2100
 
 
2101
 
 
2102
cat >>confdefs.h <<_ACEOF
 
2103
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 
2104
_ACEOF
 
2105
 
 
2106
ALL_LINGUAS="da de el en_CA es fi fr hu ja pl pt_BR ro rw sv zh_CN xh"
 
2107
DEPDIR="${am__leading_dot}deps"
 
2108
 
 
2109
          ac_config_commands="$ac_config_commands depfiles"
 
2110
 
 
2111
 
 
2112
am_make=${MAKE-make}
 
2113
cat > confinc << 'END'
 
2114
am__doit:
 
2115
        @echo done
 
2116
.PHONY: am__doit
 
2117
END
 
2118
# If we don't find an include directive, just comment out the code.
 
2119
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2120
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
2121
am__include="#"
 
2122
am__quote=
 
2123
_am_result=none
 
2124
# First try GNU make style include.
 
2125
echo "include confinc" > confmf
 
2126
# We grep out `Entering directory' and `Leaving directory'
 
2127
# messages which can occur if `w' ends up in MAKEFLAGS.
 
2128
# In particular we don't look at `^make:' because GNU make might
 
2129
# be invoked under some other name (usually "gmake"), in which
 
2130
# case it prints its new name instead of `make'.
 
2131
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 
2132
   am__include=include
 
2133
   am__quote=
 
2134
   _am_result=GNU
 
2135
fi
 
2136
# Now try BSD make style include.
 
2137
if test "$am__include" = "#"; then
 
2138
   echo '.include "confinc"' > confmf
 
2139
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 
2140
      am__include=.include
 
2141
      am__quote="\""
 
2142
      _am_result=BSD
 
2143
   fi
 
2144
fi
 
2145
 
 
2146
 
 
2147
echo "$as_me:$LINENO: result: $_am_result" >&5
 
2148
echo "${ECHO_T}$_am_result" >&6
 
2149
rm -f confinc confmf
 
2150
 
 
2151
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
2152
if test "${enable_dependency_tracking+set}" = set; then
 
2153
  enableval="$enable_dependency_tracking"
 
2154
 
 
2155
fi;
 
2156
if test "x$enable_dependency_tracking" != xno; then
 
2157
  am_depcomp="$ac_aux_dir/depcomp"
 
2158
  AMDEPBACKSLASH='\'
 
2159
fi
 
2160
 
 
2161
 
 
2162
if test "x$enable_dependency_tracking" != xno; then
 
2163
  AMDEP_TRUE=
 
2164
  AMDEP_FALSE='#'
 
2165
else
 
2166
  AMDEP_TRUE='#'
 
2167
  AMDEP_FALSE=
 
2168
fi
 
2169
 
 
2170
 
 
2171
 
 
2172
ac_ext=c
 
2173
ac_cpp='$CPP $CPPFLAGS'
 
2174
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2175
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2176
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2177
if test -n "$ac_tool_prefix"; then
 
2178
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
2179
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
2180
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2181
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2182
if test "${ac_cv_prog_CC+set}" = set; then
 
2183
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2184
else
 
2185
  if test -n "$CC"; then
 
2186
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2187
else
 
2188
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2189
for as_dir in $PATH
 
2190
do
 
2191
  IFS=$as_save_IFS
 
2192
  test -z "$as_dir" && as_dir=.
 
2193
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2194
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2195
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
2196
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2197
    break 2
 
2198
  fi
 
2199
done
 
2200
done
 
2201
 
 
2202
fi
 
2203
fi
 
2204
CC=$ac_cv_prog_CC
 
2205
if test -n "$CC"; then
 
2206
  echo "$as_me:$LINENO: result: $CC" >&5
 
2207
echo "${ECHO_T}$CC" >&6
 
2208
else
 
2209
  echo "$as_me:$LINENO: result: no" >&5
 
2210
echo "${ECHO_T}no" >&6
 
2211
fi
 
2212
 
 
2213
fi
 
2214
if test -z "$ac_cv_prog_CC"; then
 
2215
  ac_ct_CC=$CC
 
2216
  # Extract the first word of "gcc", so it can be a program name with args.
 
2217
set dummy gcc; ac_word=$2
 
2218
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2219
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2220
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2221
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2222
else
 
2223
  if test -n "$ac_ct_CC"; then
 
2224
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2225
else
 
2226
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2227
for as_dir in $PATH
 
2228
do
 
2229
  IFS=$as_save_IFS
 
2230
  test -z "$as_dir" && as_dir=.
 
2231
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2232
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2233
    ac_cv_prog_ac_ct_CC="gcc"
 
2234
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2235
    break 2
 
2236
  fi
 
2237
done
 
2238
done
 
2239
 
 
2240
fi
 
2241
fi
 
2242
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2243
if test -n "$ac_ct_CC"; then
 
2244
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2245
echo "${ECHO_T}$ac_ct_CC" >&6
 
2246
else
 
2247
  echo "$as_me:$LINENO: result: no" >&5
 
2248
echo "${ECHO_T}no" >&6
 
2249
fi
 
2250
 
 
2251
  CC=$ac_ct_CC
 
2252
else
 
2253
  CC="$ac_cv_prog_CC"
 
2254
fi
 
2255
 
 
2256
if test -z "$CC"; then
 
2257
  if test -n "$ac_tool_prefix"; then
 
2258
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2259
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
2260
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2261
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2262
if test "${ac_cv_prog_CC+set}" = set; then
 
2263
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2264
else
 
2265
  if test -n "$CC"; then
 
2266
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2267
else
 
2268
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2269
for as_dir in $PATH
 
2270
do
 
2271
  IFS=$as_save_IFS
 
2272
  test -z "$as_dir" && as_dir=.
 
2273
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2274
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2275
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
2276
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2277
    break 2
 
2278
  fi
 
2279
done
 
2280
done
 
2281
 
 
2282
fi
 
2283
fi
 
2284
CC=$ac_cv_prog_CC
 
2285
if test -n "$CC"; then
 
2286
  echo "$as_me:$LINENO: result: $CC" >&5
 
2287
echo "${ECHO_T}$CC" >&6
 
2288
else
 
2289
  echo "$as_me:$LINENO: result: no" >&5
 
2290
echo "${ECHO_T}no" >&6
 
2291
fi
 
2292
 
 
2293
fi
 
2294
if test -z "$ac_cv_prog_CC"; then
 
2295
  ac_ct_CC=$CC
 
2296
  # Extract the first word of "cc", so it can be a program name with args.
 
2297
set dummy cc; ac_word=$2
 
2298
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2299
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2300
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2301
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2302
else
 
2303
  if test -n "$ac_ct_CC"; then
 
2304
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2305
else
 
2306
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2307
for as_dir in $PATH
 
2308
do
 
2309
  IFS=$as_save_IFS
 
2310
  test -z "$as_dir" && as_dir=.
 
2311
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2312
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2313
    ac_cv_prog_ac_ct_CC="cc"
 
2314
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2315
    break 2
 
2316
  fi
 
2317
done
 
2318
done
 
2319
 
 
2320
fi
 
2321
fi
 
2322
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2323
if test -n "$ac_ct_CC"; then
 
2324
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2325
echo "${ECHO_T}$ac_ct_CC" >&6
 
2326
else
 
2327
  echo "$as_me:$LINENO: result: no" >&5
 
2328
echo "${ECHO_T}no" >&6
 
2329
fi
 
2330
 
 
2331
  CC=$ac_ct_CC
 
2332
else
 
2333
  CC="$ac_cv_prog_CC"
 
2334
fi
 
2335
 
 
2336
fi
 
2337
if test -z "$CC"; then
 
2338
  # Extract the first word of "cc", so it can be a program name with args.
 
2339
set dummy cc; ac_word=$2
 
2340
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2341
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2342
if test "${ac_cv_prog_CC+set}" = set; then
 
2343
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2344
else
 
2345
  if test -n "$CC"; then
 
2346
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2347
else
 
2348
  ac_prog_rejected=no
 
2349
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2350
for as_dir in $PATH
 
2351
do
 
2352
  IFS=$as_save_IFS
 
2353
  test -z "$as_dir" && as_dir=.
 
2354
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2355
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2356
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
2357
       ac_prog_rejected=yes
 
2358
       continue
 
2359
     fi
 
2360
    ac_cv_prog_CC="cc"
 
2361
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2362
    break 2
 
2363
  fi
 
2364
done
 
2365
done
 
2366
 
 
2367
if test $ac_prog_rejected = yes; then
 
2368
  # We found a bogon in the path, so make sure we never use it.
 
2369
  set dummy $ac_cv_prog_CC
 
2370
  shift
 
2371
  if test $# != 0; then
 
2372
    # We chose a different compiler from the bogus one.
 
2373
    # However, it has the same basename, so the bogon will be chosen
 
2374
    # first if we set CC to just the basename; use the full file name.
 
2375
    shift
 
2376
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
2377
  fi
 
2378
fi
 
2379
fi
 
2380
fi
 
2381
CC=$ac_cv_prog_CC
 
2382
if test -n "$CC"; then
 
2383
  echo "$as_me:$LINENO: result: $CC" >&5
 
2384
echo "${ECHO_T}$CC" >&6
 
2385
else
 
2386
  echo "$as_me:$LINENO: result: no" >&5
 
2387
echo "${ECHO_T}no" >&6
 
2388
fi
 
2389
 
 
2390
fi
 
2391
if test -z "$CC"; then
 
2392
  if test -n "$ac_tool_prefix"; then
 
2393
  for ac_prog in cl
 
2394
  do
 
2395
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
2396
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
2397
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2398
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2399
if test "${ac_cv_prog_CC+set}" = set; then
 
2400
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2401
else
 
2402
  if test -n "$CC"; then
 
2403
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2404
else
 
2405
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2406
for as_dir in $PATH
 
2407
do
 
2408
  IFS=$as_save_IFS
 
2409
  test -z "$as_dir" && as_dir=.
 
2410
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2411
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2412
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
2413
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2414
    break 2
 
2415
  fi
 
2416
done
 
2417
done
 
2418
 
 
2419
fi
 
2420
fi
 
2421
CC=$ac_cv_prog_CC
 
2422
if test -n "$CC"; then
 
2423
  echo "$as_me:$LINENO: result: $CC" >&5
 
2424
echo "${ECHO_T}$CC" >&6
 
2425
else
 
2426
  echo "$as_me:$LINENO: result: no" >&5
 
2427
echo "${ECHO_T}no" >&6
 
2428
fi
 
2429
 
 
2430
    test -n "$CC" && break
 
2431
  done
 
2432
fi
 
2433
if test -z "$CC"; then
 
2434
  ac_ct_CC=$CC
 
2435
  for ac_prog in cl
 
2436
do
 
2437
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2438
set dummy $ac_prog; ac_word=$2
 
2439
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2440
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2441
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2442
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2443
else
 
2444
  if test -n "$ac_ct_CC"; then
 
2445
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2446
else
 
2447
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2448
for as_dir in $PATH
 
2449
do
 
2450
  IFS=$as_save_IFS
 
2451
  test -z "$as_dir" && as_dir=.
 
2452
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2453
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2454
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
2455
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2456
    break 2
 
2457
  fi
 
2458
done
 
2459
done
 
2460
 
 
2461
fi
 
2462
fi
 
2463
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2464
if test -n "$ac_ct_CC"; then
 
2465
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2466
echo "${ECHO_T}$ac_ct_CC" >&6
 
2467
else
 
2468
  echo "$as_me:$LINENO: result: no" >&5
 
2469
echo "${ECHO_T}no" >&6
 
2470
fi
 
2471
 
 
2472
  test -n "$ac_ct_CC" && break
 
2473
done
 
2474
 
 
2475
  CC=$ac_ct_CC
 
2476
fi
 
2477
 
 
2478
fi
 
2479
 
 
2480
 
 
2481
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
2482
See \`config.log' for more details." >&5
 
2483
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
2484
See \`config.log' for more details." >&2;}
 
2485
   { (exit 1); exit 1; }; }
 
2486
 
 
2487
# Provide some information about the compiler.
 
2488
echo "$as_me:$LINENO:" \
 
2489
     "checking for C compiler version" >&5
 
2490
ac_compiler=`set X $ac_compile; echo $2`
 
2491
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 
2492
  (eval $ac_compiler --version </dev/null >&5) 2>&5
 
2493
  ac_status=$?
 
2494
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2495
  (exit $ac_status); }
 
2496
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 
2497
  (eval $ac_compiler -v </dev/null >&5) 2>&5
 
2498
  ac_status=$?
 
2499
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2500
  (exit $ac_status); }
 
2501
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 
2502
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2503
  ac_status=$?
 
2504
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2505
  (exit $ac_status); }
 
2506
 
 
2507
cat >conftest.$ac_ext <<_ACEOF
 
2508
/* confdefs.h.  */
 
2509
_ACEOF
 
2510
cat confdefs.h >>conftest.$ac_ext
 
2511
cat >>conftest.$ac_ext <<_ACEOF
 
2512
/* end confdefs.h.  */
 
2513
 
 
2514
int
 
2515
main ()
 
2516
{
 
2517
 
 
2518
  ;
 
2519
  return 0;
 
2520
}
 
2521
_ACEOF
 
2522
ac_clean_files_save=$ac_clean_files
 
2523
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
2524
# Try to create an executable without -o first, disregard a.out.
 
2525
# It will help us diagnose broken compilers, and finding out an intuition
 
2526
# of exeext.
 
2527
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2528
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
2529
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2530
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
 
2531
  (eval $ac_link_default) 2>&5
 
2532
  ac_status=$?
 
2533
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2534
  (exit $ac_status); }; then
 
2535
  # Find the output, starting from the most likely.  This scheme is
 
2536
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
 
2537
# resort.
 
2538
 
 
2539
# Be careful to initialize this variable, since it used to be cached.
 
2540
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
 
2541
ac_cv_exeext=
 
2542
# b.out is created by i960 compilers.
 
2543
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2544
do
 
2545
  test -f "$ac_file" || continue
 
2546
  case $ac_file in
 
2547
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 
2548
        ;;
 
2549
    conftest.$ac_ext )
 
2550
        # This is the source file.
 
2551
        ;;
 
2552
    [ab].out )
 
2553
        # We found the default executable, but exeext='' is most
 
2554
        # certainly right.
 
2555
        break;;
 
2556
    *.* )
 
2557
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2558
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
2559
        # but it would be cool to find out if it's true.  Does anybody
 
2560
        # maintain Libtool? --akim.
 
2561
        export ac_cv_exeext
 
2562
        break;;
 
2563
    * )
 
2564
        break;;
 
2565
  esac
 
2566
done
 
2567
else
 
2568
  echo "$as_me: failed program was:" >&5
 
2569
sed 's/^/| /' conftest.$ac_ext >&5
 
2570
 
 
2571
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
2572
See \`config.log' for more details." >&5
 
2573
echo "$as_me: error: C compiler cannot create executables
 
2574
See \`config.log' for more details." >&2;}
 
2575
   { (exit 77); exit 77; }; }
 
2576
fi
 
2577
 
 
2578
ac_exeext=$ac_cv_exeext
 
2579
echo "$as_me:$LINENO: result: $ac_file" >&5
 
2580
echo "${ECHO_T}$ac_file" >&6
 
2581
 
 
2582
# Check the compiler produces executables we can run.  If not, either
 
2583
# the compiler is broken, or we cross compile.
 
2584
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2585
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2586
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 
2587
# If not cross compiling, check that we can run a simple program.
 
2588
if test "$cross_compiling" != yes; then
 
2589
  if { ac_try='./$ac_file'
 
2590
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2591
  (eval $ac_try) 2>&5
 
2592
  ac_status=$?
 
2593
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2594
  (exit $ac_status); }; }; then
 
2595
    cross_compiling=no
 
2596
  else
 
2597
    if test "$cross_compiling" = maybe; then
 
2598
        cross_compiling=yes
 
2599
    else
 
2600
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
2601
If you meant to cross compile, use \`--host'.
 
2602
See \`config.log' for more details." >&5
 
2603
echo "$as_me: error: cannot run C compiled programs.
 
2604
If you meant to cross compile, use \`--host'.
 
2605
See \`config.log' for more details." >&2;}
 
2606
   { (exit 1); exit 1; }; }
 
2607
    fi
 
2608
  fi
 
2609
fi
 
2610
echo "$as_me:$LINENO: result: yes" >&5
 
2611
echo "${ECHO_T}yes" >&6
 
2612
 
 
2613
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
2614
ac_clean_files=$ac_clean_files_save
 
2615
# Check the compiler produces executables we can run.  If not, either
 
2616
# the compiler is broken, or we cross compile.
 
2617
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2618
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 
2619
echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2620
echo "${ECHO_T}$cross_compiling" >&6
 
2621
 
 
2622
echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2623
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
 
2624
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
2625
  (eval $ac_link) 2>&5
 
2626
  ac_status=$?
 
2627
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2628
  (exit $ac_status); }; then
 
2629
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
2630
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
2631
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
2632
# `rm'.
 
2633
for ac_file in conftest.exe conftest conftest.*; do
 
2634
  test -f "$ac_file" || continue
 
2635
  case $ac_file in
 
2636
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
2637
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2638
          export ac_cv_exeext
 
2639
          break;;
 
2640
    * ) break;;
 
2641
  esac
 
2642
done
 
2643
else
 
2644
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
2645
See \`config.log' for more details." >&5
 
2646
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
2647
See \`config.log' for more details." >&2;}
 
2648
   { (exit 1); exit 1; }; }
 
2649
fi
 
2650
 
 
2651
rm -f conftest$ac_cv_exeext
 
2652
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2653
echo "${ECHO_T}$ac_cv_exeext" >&6
 
2654
 
 
2655
rm -f conftest.$ac_ext
 
2656
EXEEXT=$ac_cv_exeext
 
2657
ac_exeext=$EXEEXT
 
2658
echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2659
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
2660
if test "${ac_cv_objext+set}" = set; then
 
2661
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2662
else
 
2663
  cat >conftest.$ac_ext <<_ACEOF
 
2664
/* confdefs.h.  */
 
2665
_ACEOF
 
2666
cat confdefs.h >>conftest.$ac_ext
 
2667
cat >>conftest.$ac_ext <<_ACEOF
 
2668
/* end confdefs.h.  */
 
2669
 
 
2670
int
 
2671
main ()
 
2672
{
 
2673
 
 
2674
  ;
 
2675
  return 0;
 
2676
}
 
2677
_ACEOF
 
2678
rm -f conftest.o conftest.obj
 
2679
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2680
  (eval $ac_compile) 2>&5
 
2681
  ac_status=$?
 
2682
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2683
  (exit $ac_status); }; then
 
2684
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
2685
  case $ac_file in
 
2686
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
2687
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
2688
       break;;
 
2689
  esac
 
2690
done
 
2691
else
 
2692
  echo "$as_me: failed program was:" >&5
 
2693
sed 's/^/| /' conftest.$ac_ext >&5
 
2694
 
 
2695
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
2696
See \`config.log' for more details." >&5
 
2697
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
2698
See \`config.log' for more details." >&2;}
 
2699
   { (exit 1); exit 1; }; }
 
2700
fi
 
2701
 
 
2702
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
2703
fi
 
2704
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2705
echo "${ECHO_T}$ac_cv_objext" >&6
 
2706
OBJEXT=$ac_cv_objext
 
2707
ac_objext=$OBJEXT
 
2708
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2709
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
2710
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
2711
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2712
else
 
2713
  cat >conftest.$ac_ext <<_ACEOF
 
2714
/* confdefs.h.  */
 
2715
_ACEOF
 
2716
cat confdefs.h >>conftest.$ac_ext
 
2717
cat >>conftest.$ac_ext <<_ACEOF
 
2718
/* end confdefs.h.  */
 
2719
 
 
2720
int
 
2721
main ()
 
2722
{
 
2723
#ifndef __GNUC__
 
2724
       choke me
 
2725
#endif
 
2726
 
 
2727
  ;
 
2728
  return 0;
 
2729
}
 
2730
_ACEOF
 
2731
rm -f conftest.$ac_objext
 
2732
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2733
  (eval $ac_compile) 2>conftest.er1
 
2734
  ac_status=$?
 
2735
  grep -v '^ *+' conftest.er1 >conftest.err
 
2736
  rm -f conftest.er1
 
2737
  cat conftest.err >&5
 
2738
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2739
  (exit $ac_status); } &&
 
2740
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2741
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2742
  (eval $ac_try) 2>&5
 
2743
  ac_status=$?
 
2744
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2745
  (exit $ac_status); }; } &&
 
2746
         { ac_try='test -s conftest.$ac_objext'
 
2747
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2748
  (eval $ac_try) 2>&5
 
2749
  ac_status=$?
 
2750
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2751
  (exit $ac_status); }; }; then
 
2752
  ac_compiler_gnu=yes
 
2753
else
 
2754
  echo "$as_me: failed program was:" >&5
 
2755
sed 's/^/| /' conftest.$ac_ext >&5
 
2756
 
 
2757
ac_compiler_gnu=no
 
2758
fi
 
2759
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2760
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
2761
 
 
2762
fi
 
2763
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2764
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
2765
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
2766
ac_test_CFLAGS=${CFLAGS+set}
 
2767
ac_save_CFLAGS=$CFLAGS
 
2768
CFLAGS="-g"
 
2769
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
2770
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
2771
if test "${ac_cv_prog_cc_g+set}" = set; then
 
2772
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2773
else
 
2774
  cat >conftest.$ac_ext <<_ACEOF
 
2775
/* confdefs.h.  */
 
2776
_ACEOF
 
2777
cat confdefs.h >>conftest.$ac_ext
 
2778
cat >>conftest.$ac_ext <<_ACEOF
 
2779
/* end confdefs.h.  */
 
2780
 
 
2781
int
 
2782
main ()
 
2783
{
 
2784
 
 
2785
  ;
 
2786
  return 0;
 
2787
}
 
2788
_ACEOF
 
2789
rm -f conftest.$ac_objext
 
2790
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2791
  (eval $ac_compile) 2>conftest.er1
 
2792
  ac_status=$?
 
2793
  grep -v '^ *+' conftest.er1 >conftest.err
 
2794
  rm -f conftest.er1
 
2795
  cat conftest.err >&5
 
2796
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2797
  (exit $ac_status); } &&
 
2798
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2799
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2800
  (eval $ac_try) 2>&5
 
2801
  ac_status=$?
 
2802
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2803
  (exit $ac_status); }; } &&
 
2804
         { ac_try='test -s conftest.$ac_objext'
 
2805
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2806
  (eval $ac_try) 2>&5
 
2807
  ac_status=$?
 
2808
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2809
  (exit $ac_status); }; }; then
 
2810
  ac_cv_prog_cc_g=yes
 
2811
else
 
2812
  echo "$as_me: failed program was:" >&5
 
2813
sed 's/^/| /' conftest.$ac_ext >&5
 
2814
 
 
2815
ac_cv_prog_cc_g=no
 
2816
fi
 
2817
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2818
fi
 
2819
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
2820
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
2821
if test "$ac_test_CFLAGS" = set; then
 
2822
  CFLAGS=$ac_save_CFLAGS
 
2823
elif test $ac_cv_prog_cc_g = yes; then
 
2824
  if test "$GCC" = yes; then
 
2825
    CFLAGS="-g -O2"
 
2826
  else
 
2827
    CFLAGS="-g"
 
2828
  fi
 
2829
else
 
2830
  if test "$GCC" = yes; then
 
2831
    CFLAGS="-O2"
 
2832
  else
 
2833
    CFLAGS=
 
2834
  fi
 
2835
fi
 
2836
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 
2837
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 
2838
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
2839
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2840
else
 
2841
  ac_cv_prog_cc_stdc=no
 
2842
ac_save_CC=$CC
 
2843
cat >conftest.$ac_ext <<_ACEOF
 
2844
/* confdefs.h.  */
 
2845
_ACEOF
 
2846
cat confdefs.h >>conftest.$ac_ext
 
2847
cat >>conftest.$ac_ext <<_ACEOF
 
2848
/* end confdefs.h.  */
 
2849
#include <stdarg.h>
 
2850
#include <stdio.h>
 
2851
#include <sys/types.h>
 
2852
#include <sys/stat.h>
 
2853
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
2854
struct buf { int x; };
 
2855
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
2856
static char *e (p, i)
 
2857
     char **p;
 
2858
     int i;
 
2859
{
 
2860
  return p[i];
 
2861
}
 
2862
static char *f (char * (*g) (char **, int), char **p, ...)
 
2863
{
 
2864
  char *s;
 
2865
  va_list v;
 
2866
  va_start (v,p);
 
2867
  s = g (p, va_arg (v,int));
 
2868
  va_end (v);
 
2869
  return s;
 
2870
}
 
2871
 
 
2872
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
2873
   function prototypes and stuff, but not '\xHH' hex character constants.
 
2874
   These don't provoke an error unfortunately, instead are silently treated
 
2875
   as 'x'.  The following induces an error, until -std1 is added to get
 
2876
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
2877
   array size at least.  It's necessary to write '\x00'==0 to get something
 
2878
   that's true only with -std1.  */
 
2879
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
2880
 
 
2881
int test (int i, double x);
 
2882
struct s1 {int (*f) (int a);};
 
2883
struct s2 {int (*f) (double a);};
 
2884
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
2885
int argc;
 
2886
char **argv;
 
2887
int
 
2888
main ()
 
2889
{
 
2890
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
2891
  ;
 
2892
  return 0;
 
2893
}
 
2894
_ACEOF
 
2895
# Don't try gcc -ansi; that turns off useful extensions and
 
2896
# breaks some systems' header files.
 
2897
# AIX                   -qlanglvl=ansi
 
2898
# Ultrix and OSF/1      -std1
 
2899
# HP-UX 10.20 and later -Ae
 
2900
# HP-UX older versions  -Aa -D_HPUX_SOURCE
 
2901
# SVR4                  -Xc -D__EXTENSIONS__
 
2902
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
2903
do
 
2904
  CC="$ac_save_CC $ac_arg"
 
2905
  rm -f conftest.$ac_objext
 
2906
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2907
  (eval $ac_compile) 2>conftest.er1
 
2908
  ac_status=$?
 
2909
  grep -v '^ *+' conftest.er1 >conftest.err
 
2910
  rm -f conftest.er1
 
2911
  cat conftest.err >&5
 
2912
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2913
  (exit $ac_status); } &&
 
2914
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2915
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2916
  (eval $ac_try) 2>&5
 
2917
  ac_status=$?
 
2918
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2919
  (exit $ac_status); }; } &&
 
2920
         { ac_try='test -s conftest.$ac_objext'
 
2921
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2922
  (eval $ac_try) 2>&5
 
2923
  ac_status=$?
 
2924
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2925
  (exit $ac_status); }; }; then
 
2926
  ac_cv_prog_cc_stdc=$ac_arg
 
2927
break
 
2928
else
 
2929
  echo "$as_me: failed program was:" >&5
 
2930
sed 's/^/| /' conftest.$ac_ext >&5
 
2931
 
 
2932
fi
 
2933
rm -f conftest.err conftest.$ac_objext
 
2934
done
 
2935
rm -f conftest.$ac_ext conftest.$ac_objext
 
2936
CC=$ac_save_CC
 
2937
 
 
2938
fi
 
2939
 
 
2940
case "x$ac_cv_prog_cc_stdc" in
 
2941
  x|xno)
 
2942
    echo "$as_me:$LINENO: result: none needed" >&5
 
2943
echo "${ECHO_T}none needed" >&6 ;;
 
2944
  *)
 
2945
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 
2946
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 
2947
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
2948
esac
 
2949
 
 
2950
# Some people use a C++ compiler to compile C.  Since we use `exit',
 
2951
# in C++ we need to declare it.  In case someone uses the same compiler
 
2952
# for both compiling C and C++ we need to have the C++ compiler decide
 
2953
# the declaration of exit, since it's the most demanding environment.
 
2954
cat >conftest.$ac_ext <<_ACEOF
 
2955
#ifndef __cplusplus
 
2956
  choke me
 
2957
#endif
 
2958
_ACEOF
 
2959
rm -f conftest.$ac_objext
 
2960
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2961
  (eval $ac_compile) 2>conftest.er1
 
2962
  ac_status=$?
 
2963
  grep -v '^ *+' conftest.er1 >conftest.err
 
2964
  rm -f conftest.er1
 
2965
  cat conftest.err >&5
 
2966
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2967
  (exit $ac_status); } &&
 
2968
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2969
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2970
  (eval $ac_try) 2>&5
 
2971
  ac_status=$?
 
2972
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2973
  (exit $ac_status); }; } &&
 
2974
         { ac_try='test -s conftest.$ac_objext'
 
2975
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2976
  (eval $ac_try) 2>&5
 
2977
  ac_status=$?
 
2978
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2979
  (exit $ac_status); }; }; then
 
2980
  for ac_declaration in \
 
2981
   '' \
 
2982
   'extern "C" void std::exit (int) throw (); using std::exit;' \
 
2983
   'extern "C" void std::exit (int); using std::exit;' \
 
2984
   'extern "C" void exit (int) throw ();' \
 
2985
   'extern "C" void exit (int);' \
 
2986
   'void exit (int);'
 
2987
do
 
2988
  cat >conftest.$ac_ext <<_ACEOF
 
2989
/* confdefs.h.  */
 
2990
_ACEOF
 
2991
cat confdefs.h >>conftest.$ac_ext
 
2992
cat >>conftest.$ac_ext <<_ACEOF
 
2993
/* end confdefs.h.  */
 
2994
$ac_declaration
 
2995
#include <stdlib.h>
 
2996
int
 
2997
main ()
 
2998
{
 
2999
exit (42);
 
3000
  ;
 
3001
  return 0;
 
3002
}
 
3003
_ACEOF
 
3004
rm -f conftest.$ac_objext
 
3005
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3006
  (eval $ac_compile) 2>conftest.er1
 
3007
  ac_status=$?
 
3008
  grep -v '^ *+' conftest.er1 >conftest.err
 
3009
  rm -f conftest.er1
 
3010
  cat conftest.err >&5
 
3011
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3012
  (exit $ac_status); } &&
 
3013
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3014
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3015
  (eval $ac_try) 2>&5
 
3016
  ac_status=$?
 
3017
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3018
  (exit $ac_status); }; } &&
 
3019
         { ac_try='test -s conftest.$ac_objext'
 
3020
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3021
  (eval $ac_try) 2>&5
 
3022
  ac_status=$?
 
3023
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3024
  (exit $ac_status); }; }; then
 
3025
  :
 
3026
else
 
3027
  echo "$as_me: failed program was:" >&5
 
3028
sed 's/^/| /' conftest.$ac_ext >&5
 
3029
 
 
3030
continue
 
3031
fi
 
3032
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3033
  cat >conftest.$ac_ext <<_ACEOF
 
3034
/* confdefs.h.  */
 
3035
_ACEOF
 
3036
cat confdefs.h >>conftest.$ac_ext
 
3037
cat >>conftest.$ac_ext <<_ACEOF
 
3038
/* end confdefs.h.  */
 
3039
$ac_declaration
 
3040
int
 
3041
main ()
 
3042
{
 
3043
exit (42);
 
3044
  ;
 
3045
  return 0;
 
3046
}
 
3047
_ACEOF
 
3048
rm -f conftest.$ac_objext
 
3049
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3050
  (eval $ac_compile) 2>conftest.er1
 
3051
  ac_status=$?
 
3052
  grep -v '^ *+' conftest.er1 >conftest.err
 
3053
  rm -f conftest.er1
 
3054
  cat conftest.err >&5
 
3055
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3056
  (exit $ac_status); } &&
 
3057
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3058
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3059
  (eval $ac_try) 2>&5
 
3060
  ac_status=$?
 
3061
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3062
  (exit $ac_status); }; } &&
 
3063
         { ac_try='test -s conftest.$ac_objext'
 
3064
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3065
  (eval $ac_try) 2>&5
 
3066
  ac_status=$?
 
3067
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3068
  (exit $ac_status); }; }; then
 
3069
  break
 
3070
else
 
3071
  echo "$as_me: failed program was:" >&5
 
3072
sed 's/^/| /' conftest.$ac_ext >&5
 
3073
 
 
3074
fi
 
3075
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3076
done
 
3077
rm -f conftest*
 
3078
if test -n "$ac_declaration"; then
 
3079
  echo '#ifdef __cplusplus' >>confdefs.h
 
3080
  echo $ac_declaration      >>confdefs.h
 
3081
  echo '#endif'             >>confdefs.h
 
3082
fi
 
3083
 
 
3084
else
 
3085
  echo "$as_me: failed program was:" >&5
 
3086
sed 's/^/| /' conftest.$ac_ext >&5
 
3087
 
 
3088
fi
 
3089
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3090
ac_ext=c
 
3091
ac_cpp='$CPP $CPPFLAGS'
 
3092
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3093
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3094
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3095
 
 
3096
depcc="$CC"   am_compiler_list=
 
3097
 
 
3098
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3099
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3100
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3101
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3102
else
 
3103
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3104
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3105
  # making bogus files that we don't know about and never remove.  For
 
3106
  # instance it was reported that on HP-UX the gcc test will end up
 
3107
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3108
  # in D'.
 
3109
  mkdir conftest.dir
 
3110
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3111
  # using a relative directory.
 
3112
  cp "$am_depcomp" conftest.dir
 
3113
  cd conftest.dir
 
3114
  # We will build objects and dependencies in a subdirectory because
 
3115
  # it helps to detect inapplicable dependency modes.  For instance
 
3116
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3117
  # side effect of compilation, but ICC will put the dependencies in
 
3118
  # the current directory while Tru64 will put them in the object
 
3119
  # directory.
 
3120
  mkdir sub
 
3121
 
 
3122
  am_cv_CC_dependencies_compiler_type=none
 
3123
  if test "$am_compiler_list" = ""; then
 
3124
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3125
  fi
 
3126
  for depmode in $am_compiler_list; do
 
3127
    # Setup a source with many dependencies, because some compilers
 
3128
    # like to wrap large dependency lists on column 80 (with \), and
 
3129
    # we should not choose a depcomp mode which is confused by this.
 
3130
    #
 
3131
    # We need to recreate these files for each test, as the compiler may
 
3132
    # overwrite some of them when testing with obscure command lines.
 
3133
    # This happens at least with the AIX C compiler.
 
3134
    : > sub/conftest.c
 
3135
    for i in 1 2 3 4 5 6; do
 
3136
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3137
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3138
      # Solaris 8's {/usr,}/bin/sh.
 
3139
      touch sub/conftst$i.h
 
3140
    done
 
3141
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3142
 
 
3143
    case $depmode in
 
3144
    nosideeffect)
 
3145
      # after this tag, mechanisms are not by side-effect, so they'll
 
3146
      # only be used when explicitly requested
 
3147
      if test "x$enable_dependency_tracking" = xyes; then
 
3148
        continue
 
3149
      else
 
3150
        break
 
3151
      fi
 
3152
      ;;
 
3153
    none) break ;;
 
3154
    esac
 
3155
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3156
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3157
    # handle `-M -o', and we need to detect this.
 
3158
    if depmode=$depmode \
 
3159
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3160
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3161
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3162
         >/dev/null 2>conftest.err &&
 
3163
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3164
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3165
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
3166
      # icc doesn't choke on unknown options, it will just issue warnings
 
3167
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3168
      # that says an option was ignored or not supported.
 
3169
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3170
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3171
      # The diagnosis changed in icc 8.0:
 
3172
      #   icc: Command line remark: option '-MP' not supported
 
3173
      if (grep 'ignoring option' conftest.err ||
 
3174
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3175
        am_cv_CC_dependencies_compiler_type=$depmode
 
3176
        break
 
3177
      fi
 
3178
    fi
 
3179
  done
 
3180
 
 
3181
  cd ..
 
3182
  rm -rf conftest.dir
 
3183
else
 
3184
  am_cv_CC_dependencies_compiler_type=none
 
3185
fi
 
3186
 
 
3187
fi
 
3188
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3189
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3190
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
3191
 
 
3192
 
 
3193
 
 
3194
if
 
3195
  test "x$enable_dependency_tracking" != xno \
 
3196
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
3197
  am__fastdepCC_TRUE=
 
3198
  am__fastdepCC_FALSE='#'
 
3199
else
 
3200
  am__fastdepCC_TRUE='#'
 
3201
  am__fastdepCC_FALSE=
 
3202
fi
 
3203
 
 
3204
 
 
3205
 
 
3206
ac_ext=c
 
3207
ac_cpp='$CPP $CPPFLAGS'
 
3208
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3209
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3210
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3211
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3212
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
3213
# On Suns, sometimes $CPP names a directory.
 
3214
if test -n "$CPP" && test -d "$CPP"; then
 
3215
  CPP=
 
3216
fi
 
3217
if test -z "$CPP"; then
 
3218
  if test "${ac_cv_prog_CPP+set}" = set; then
 
3219
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3220
else
 
3221
      # Double quotes because CPP needs to be expanded
 
3222
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
3223
    do
 
3224
      ac_preproc_ok=false
 
3225
for ac_c_preproc_warn_flag in '' yes
 
3226
do
 
3227
  # Use a header file that comes with gcc, so configuring glibc
 
3228
  # with a fresh cross-compiler works.
 
3229
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3230
  # <limits.h> exists even on freestanding compilers.
 
3231
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3232
  # not just through cpp. "Syntax error" is here to catch this case.
 
3233
  cat >conftest.$ac_ext <<_ACEOF
 
3234
/* confdefs.h.  */
 
3235
_ACEOF
 
3236
cat confdefs.h >>conftest.$ac_ext
 
3237
cat >>conftest.$ac_ext <<_ACEOF
 
3238
/* end confdefs.h.  */
 
3239
#ifdef __STDC__
 
3240
# include <limits.h>
 
3241
#else
 
3242
# include <assert.h>
 
3243
#endif
 
3244
                     Syntax error
 
3245
_ACEOF
 
3246
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3247
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3248
  ac_status=$?
 
3249
  grep -v '^ *+' conftest.er1 >conftest.err
 
3250
  rm -f conftest.er1
 
3251
  cat conftest.err >&5
 
3252
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3253
  (exit $ac_status); } >/dev/null; then
 
3254
  if test -s conftest.err; then
 
3255
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3256
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
3257
  else
 
3258
    ac_cpp_err=
 
3259
  fi
 
3260
else
 
3261
  ac_cpp_err=yes
 
3262
fi
 
3263
if test -z "$ac_cpp_err"; then
 
3264
  :
 
3265
else
 
3266
  echo "$as_me: failed program was:" >&5
 
3267
sed 's/^/| /' conftest.$ac_ext >&5
 
3268
 
 
3269
  # Broken: fails on valid input.
 
3270
continue
 
3271
fi
 
3272
rm -f conftest.err conftest.$ac_ext
 
3273
 
 
3274
  # OK, works on sane cases.  Now check whether non-existent headers
 
3275
  # can be detected and how.
 
3276
  cat >conftest.$ac_ext <<_ACEOF
 
3277
/* confdefs.h.  */
 
3278
_ACEOF
 
3279
cat confdefs.h >>conftest.$ac_ext
 
3280
cat >>conftest.$ac_ext <<_ACEOF
 
3281
/* end confdefs.h.  */
 
3282
#include <ac_nonexistent.h>
 
3283
_ACEOF
 
3284
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3285
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3286
  ac_status=$?
 
3287
  grep -v '^ *+' conftest.er1 >conftest.err
 
3288
  rm -f conftest.er1
 
3289
  cat conftest.err >&5
 
3290
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3291
  (exit $ac_status); } >/dev/null; then
 
3292
  if test -s conftest.err; then
 
3293
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3294
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
3295
  else
 
3296
    ac_cpp_err=
 
3297
  fi
 
3298
else
 
3299
  ac_cpp_err=yes
 
3300
fi
 
3301
if test -z "$ac_cpp_err"; then
 
3302
  # Broken: success on invalid input.
 
3303
continue
 
3304
else
 
3305
  echo "$as_me: failed program was:" >&5
 
3306
sed 's/^/| /' conftest.$ac_ext >&5
 
3307
 
 
3308
  # Passes both tests.
 
3309
ac_preproc_ok=:
 
3310
break
 
3311
fi
 
3312
rm -f conftest.err conftest.$ac_ext
 
3313
 
 
3314
done
 
3315
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3316
rm -f conftest.err conftest.$ac_ext
 
3317
if $ac_preproc_ok; then
 
3318
  break
 
3319
fi
 
3320
 
 
3321
    done
 
3322
    ac_cv_prog_CPP=$CPP
 
3323
 
 
3324
fi
 
3325
  CPP=$ac_cv_prog_CPP
 
3326
else
 
3327
  ac_cv_prog_CPP=$CPP
 
3328
fi
 
3329
echo "$as_me:$LINENO: result: $CPP" >&5
 
3330
echo "${ECHO_T}$CPP" >&6
 
3331
ac_preproc_ok=false
 
3332
for ac_c_preproc_warn_flag in '' yes
 
3333
do
 
3334
  # Use a header file that comes with gcc, so configuring glibc
 
3335
  # with a fresh cross-compiler works.
 
3336
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3337
  # <limits.h> exists even on freestanding compilers.
 
3338
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3339
  # not just through cpp. "Syntax error" is here to catch this case.
 
3340
  cat >conftest.$ac_ext <<_ACEOF
 
3341
/* confdefs.h.  */
 
3342
_ACEOF
 
3343
cat confdefs.h >>conftest.$ac_ext
 
3344
cat >>conftest.$ac_ext <<_ACEOF
 
3345
/* end confdefs.h.  */
 
3346
#ifdef __STDC__
 
3347
# include <limits.h>
 
3348
#else
 
3349
# include <assert.h>
 
3350
#endif
 
3351
                     Syntax error
 
3352
_ACEOF
 
3353
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3354
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3355
  ac_status=$?
 
3356
  grep -v '^ *+' conftest.er1 >conftest.err
 
3357
  rm -f conftest.er1
 
3358
  cat conftest.err >&5
 
3359
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3360
  (exit $ac_status); } >/dev/null; then
 
3361
  if test -s conftest.err; then
 
3362
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3363
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
3364
  else
 
3365
    ac_cpp_err=
 
3366
  fi
 
3367
else
 
3368
  ac_cpp_err=yes
 
3369
fi
 
3370
if test -z "$ac_cpp_err"; then
 
3371
  :
 
3372
else
 
3373
  echo "$as_me: failed program was:" >&5
 
3374
sed 's/^/| /' conftest.$ac_ext >&5
 
3375
 
 
3376
  # Broken: fails on valid input.
 
3377
continue
 
3378
fi
 
3379
rm -f conftest.err conftest.$ac_ext
 
3380
 
 
3381
  # OK, works on sane cases.  Now check whether non-existent headers
 
3382
  # can be detected and how.
 
3383
  cat >conftest.$ac_ext <<_ACEOF
 
3384
/* confdefs.h.  */
 
3385
_ACEOF
 
3386
cat confdefs.h >>conftest.$ac_ext
 
3387
cat >>conftest.$ac_ext <<_ACEOF
 
3388
/* end confdefs.h.  */
 
3389
#include <ac_nonexistent.h>
 
3390
_ACEOF
 
3391
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3392
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3393
  ac_status=$?
 
3394
  grep -v '^ *+' conftest.er1 >conftest.err
 
3395
  rm -f conftest.er1
 
3396
  cat conftest.err >&5
 
3397
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3398
  (exit $ac_status); } >/dev/null; then
 
3399
  if test -s conftest.err; then
 
3400
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3401
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
3402
  else
 
3403
    ac_cpp_err=
 
3404
  fi
 
3405
else
 
3406
  ac_cpp_err=yes
 
3407
fi
 
3408
if test -z "$ac_cpp_err"; then
 
3409
  # Broken: success on invalid input.
 
3410
continue
 
3411
else
 
3412
  echo "$as_me: failed program was:" >&5
 
3413
sed 's/^/| /' conftest.$ac_ext >&5
 
3414
 
 
3415
  # Passes both tests.
 
3416
ac_preproc_ok=:
 
3417
break
 
3418
fi
 
3419
rm -f conftest.err conftest.$ac_ext
 
3420
 
 
3421
done
 
3422
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3423
rm -f conftest.err conftest.$ac_ext
 
3424
if $ac_preproc_ok; then
 
3425
  :
 
3426
else
 
3427
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
3428
See \`config.log' for more details." >&5
 
3429
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
3430
See \`config.log' for more details." >&2;}
 
3431
   { (exit 1); exit 1; }; }
 
3432
fi
 
3433
 
 
3434
ac_ext=c
 
3435
ac_cpp='$CPP $CPPFLAGS'
 
3436
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3437
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3438
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3439
 
 
3440
 
 
3441
echo "$as_me:$LINENO: checking for egrep" >&5
 
3442
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 
3443
if test "${ac_cv_prog_egrep+set}" = set; then
 
3444
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3445
else
 
3446
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 
3447
    then ac_cv_prog_egrep='grep -E'
 
3448
    else ac_cv_prog_egrep='egrep'
 
3449
    fi
 
3450
fi
 
3451
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
 
3452
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 
3453
 EGREP=$ac_cv_prog_egrep
 
3454
 
 
3455
 
 
3456
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
3457
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
3458
if test "${ac_cv_header_stdc+set}" = set; then
 
3459
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3460
else
 
3461
  cat >conftest.$ac_ext <<_ACEOF
 
3462
/* confdefs.h.  */
 
3463
_ACEOF
 
3464
cat confdefs.h >>conftest.$ac_ext
 
3465
cat >>conftest.$ac_ext <<_ACEOF
 
3466
/* end confdefs.h.  */
 
3467
#include <stdlib.h>
 
3468
#include <stdarg.h>
 
3469
#include <string.h>
 
3470
#include <float.h>
 
3471
 
 
3472
int
 
3473
main ()
 
3474
{
 
3475
 
 
3476
  ;
 
3477
  return 0;
 
3478
}
 
3479
_ACEOF
 
3480
rm -f conftest.$ac_objext
 
3481
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3482
  (eval $ac_compile) 2>conftest.er1
 
3483
  ac_status=$?
 
3484
  grep -v '^ *+' conftest.er1 >conftest.err
 
3485
  rm -f conftest.er1
 
3486
  cat conftest.err >&5
 
3487
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3488
  (exit $ac_status); } &&
 
3489
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3490
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3491
  (eval $ac_try) 2>&5
 
3492
  ac_status=$?
 
3493
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3494
  (exit $ac_status); }; } &&
 
3495
         { ac_try='test -s conftest.$ac_objext'
 
3496
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3497
  (eval $ac_try) 2>&5
 
3498
  ac_status=$?
 
3499
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3500
  (exit $ac_status); }; }; then
 
3501
  ac_cv_header_stdc=yes
 
3502
else
 
3503
  echo "$as_me: failed program was:" >&5
 
3504
sed 's/^/| /' conftest.$ac_ext >&5
 
3505
 
 
3506
ac_cv_header_stdc=no
 
3507
fi
 
3508
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3509
 
 
3510
if test $ac_cv_header_stdc = yes; then
 
3511
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
3512
  cat >conftest.$ac_ext <<_ACEOF
 
3513
/* confdefs.h.  */
 
3514
_ACEOF
 
3515
cat confdefs.h >>conftest.$ac_ext
 
3516
cat >>conftest.$ac_ext <<_ACEOF
 
3517
/* end confdefs.h.  */
 
3518
#include <string.h>
 
3519
 
 
3520
_ACEOF
 
3521
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
3522
  $EGREP "memchr" >/dev/null 2>&1; then
 
3523
  :
 
3524
else
 
3525
  ac_cv_header_stdc=no
 
3526
fi
 
3527
rm -f conftest*
 
3528
 
 
3529
fi
 
3530
 
 
3531
if test $ac_cv_header_stdc = yes; then
 
3532
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
3533
  cat >conftest.$ac_ext <<_ACEOF
 
3534
/* confdefs.h.  */
 
3535
_ACEOF
 
3536
cat confdefs.h >>conftest.$ac_ext
 
3537
cat >>conftest.$ac_ext <<_ACEOF
 
3538
/* end confdefs.h.  */
 
3539
#include <stdlib.h>
 
3540
 
 
3541
_ACEOF
 
3542
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
3543
  $EGREP "free" >/dev/null 2>&1; then
 
3544
  :
 
3545
else
 
3546
  ac_cv_header_stdc=no
 
3547
fi
 
3548
rm -f conftest*
 
3549
 
 
3550
fi
 
3551
 
 
3552
if test $ac_cv_header_stdc = yes; then
 
3553
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
3554
  if test "$cross_compiling" = yes; then
 
3555
  :
 
3556
else
 
3557
  cat >conftest.$ac_ext <<_ACEOF
 
3558
/* confdefs.h.  */
 
3559
_ACEOF
 
3560
cat confdefs.h >>conftest.$ac_ext
 
3561
cat >>conftest.$ac_ext <<_ACEOF
 
3562
/* end confdefs.h.  */
 
3563
#include <ctype.h>
 
3564
#if ((' ' & 0x0FF) == 0x020)
 
3565
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
3566
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
3567
#else
 
3568
# define ISLOWER(c) \
 
3569
                   (('a' <= (c) && (c) <= 'i') \
 
3570
                     || ('j' <= (c) && (c) <= 'r') \
 
3571
                     || ('s' <= (c) && (c) <= 'z'))
 
3572
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
3573
#endif
 
3574
 
 
3575
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
3576
int
 
3577
main ()
 
3578
{
 
3579
  int i;
 
3580
  for (i = 0; i < 256; i++)
 
3581
    if (XOR (islower (i), ISLOWER (i))
 
3582
        || toupper (i) != TOUPPER (i))
 
3583
      exit(2);
 
3584
  exit (0);
 
3585
}
 
3586
_ACEOF
 
3587
rm -f conftest$ac_exeext
 
3588
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
3589
  (eval $ac_link) 2>&5
 
3590
  ac_status=$?
 
3591
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3592
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
3593
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3594
  (eval $ac_try) 2>&5
 
3595
  ac_status=$?
 
3596
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3597
  (exit $ac_status); }; }; then
 
3598
  :
 
3599
else
 
3600
  echo "$as_me: program exited with status $ac_status" >&5
 
3601
echo "$as_me: failed program was:" >&5
 
3602
sed 's/^/| /' conftest.$ac_ext >&5
 
3603
 
 
3604
( exit $ac_status )
 
3605
ac_cv_header_stdc=no
 
3606
fi
 
3607
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3608
fi
 
3609
fi
 
3610
fi
 
3611
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
3612
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
3613
if test $ac_cv_header_stdc = yes; then
 
3614
 
 
3615
cat >>confdefs.h <<\_ACEOF
 
3616
#define STDC_HEADERS 1
 
3617
_ACEOF
 
3618
 
 
3619
fi
 
3620
 
 
3621
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
3622
 
 
3623
 
 
3624
 
 
3625
 
 
3626
 
 
3627
 
 
3628
 
 
3629
 
 
3630
 
 
3631
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
3632
                  inttypes.h stdint.h unistd.h
 
3633
do
 
3634
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
3635
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
3636
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
3637
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
3638
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3639
else
 
3640
  cat >conftest.$ac_ext <<_ACEOF
 
3641
/* confdefs.h.  */
 
3642
_ACEOF
 
3643
cat confdefs.h >>conftest.$ac_ext
 
3644
cat >>conftest.$ac_ext <<_ACEOF
 
3645
/* end confdefs.h.  */
 
3646
$ac_includes_default
 
3647
 
 
3648
#include <$ac_header>
 
3649
_ACEOF
 
3650
rm -f conftest.$ac_objext
 
3651
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3652
  (eval $ac_compile) 2>conftest.er1
 
3653
  ac_status=$?
 
3654
  grep -v '^ *+' conftest.er1 >conftest.err
 
3655
  rm -f conftest.er1
 
3656
  cat conftest.err >&5
 
3657
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3658
  (exit $ac_status); } &&
 
3659
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3660
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3661
  (eval $ac_try) 2>&5
 
3662
  ac_status=$?
 
3663
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3664
  (exit $ac_status); }; } &&
 
3665
         { ac_try='test -s conftest.$ac_objext'
 
3666
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3667
  (eval $ac_try) 2>&5
 
3668
  ac_status=$?
 
3669
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3670
  (exit $ac_status); }; }; then
 
3671
  eval "$as_ac_Header=yes"
 
3672
else
 
3673
  echo "$as_me: failed program was:" >&5
 
3674
sed 's/^/| /' conftest.$ac_ext >&5
 
3675
 
 
3676
eval "$as_ac_Header=no"
 
3677
fi
 
3678
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3679
fi
 
3680
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
3681
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
3682
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
3683
  cat >>confdefs.h <<_ACEOF
 
3684
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
3685
_ACEOF
 
3686
 
 
3687
fi
 
3688
 
 
3689
done
 
3690
 
 
3691
 
 
3692
 
 
3693
 
 
3694
for ac_header in locale.h
 
3695
do
 
3696
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
3697
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
3698
  echo "$as_me:$LINENO: checking for $ac_header" >&5
 
3699
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
3700
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
3701
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3702
fi
 
3703
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
3704
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
3705
else
 
3706
  # Is the header compilable?
 
3707
echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
3708
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
3709
cat >conftest.$ac_ext <<_ACEOF
 
3710
/* confdefs.h.  */
 
3711
_ACEOF
 
3712
cat confdefs.h >>conftest.$ac_ext
 
3713
cat >>conftest.$ac_ext <<_ACEOF
 
3714
/* end confdefs.h.  */
 
3715
$ac_includes_default
 
3716
#include <$ac_header>
 
3717
_ACEOF
 
3718
rm -f conftest.$ac_objext
 
3719
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3720
  (eval $ac_compile) 2>conftest.er1
 
3721
  ac_status=$?
 
3722
  grep -v '^ *+' conftest.er1 >conftest.err
 
3723
  rm -f conftest.er1
 
3724
  cat conftest.err >&5
 
3725
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3726
  (exit $ac_status); } &&
 
3727
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3728
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3729
  (eval $ac_try) 2>&5
 
3730
  ac_status=$?
 
3731
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3732
  (exit $ac_status); }; } &&
 
3733
         { ac_try='test -s conftest.$ac_objext'
 
3734
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3735
  (eval $ac_try) 2>&5
 
3736
  ac_status=$?
 
3737
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3738
  (exit $ac_status); }; }; then
 
3739
  ac_header_compiler=yes
 
3740
else
 
3741
  echo "$as_me: failed program was:" >&5
 
3742
sed 's/^/| /' conftest.$ac_ext >&5
 
3743
 
 
3744
ac_header_compiler=no
 
3745
fi
 
3746
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3747
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
3748
echo "${ECHO_T}$ac_header_compiler" >&6
 
3749
 
 
3750
# Is the header present?
 
3751
echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
3752
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
3753
cat >conftest.$ac_ext <<_ACEOF
 
3754
/* confdefs.h.  */
 
3755
_ACEOF
 
3756
cat confdefs.h >>conftest.$ac_ext
 
3757
cat >>conftest.$ac_ext <<_ACEOF
 
3758
/* end confdefs.h.  */
 
3759
#include <$ac_header>
 
3760
_ACEOF
 
3761
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3762
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3763
  ac_status=$?
 
3764
  grep -v '^ *+' conftest.er1 >conftest.err
 
3765
  rm -f conftest.er1
 
3766
  cat conftest.err >&5
 
3767
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3768
  (exit $ac_status); } >/dev/null; then
 
3769
  if test -s conftest.err; then
 
3770
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3771
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
3772
  else
 
3773
    ac_cpp_err=
 
3774
  fi
 
3775
else
 
3776
  ac_cpp_err=yes
 
3777
fi
 
3778
if test -z "$ac_cpp_err"; then
 
3779
  ac_header_preproc=yes
 
3780
else
 
3781
  echo "$as_me: failed program was:" >&5
 
3782
sed 's/^/| /' conftest.$ac_ext >&5
 
3783
 
 
3784
  ac_header_preproc=no
 
3785
fi
 
3786
rm -f conftest.err conftest.$ac_ext
 
3787
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
3788
echo "${ECHO_T}$ac_header_preproc" >&6
 
3789
 
 
3790
# So?  What about this header?
 
3791
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
3792
  yes:no: )
 
3793
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
3794
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
3795
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
3796
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
3797
    ac_header_preproc=yes
 
3798
    ;;
 
3799
  no:yes:* )
 
3800
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
3801
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
3802
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
3803
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
3804
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
3805
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
3806
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
3807
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
3808
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
3809
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
3810
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
3811
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
3812
    (
 
3813
      cat <<\_ASBOX
 
3814
## ------------------------------------------ ##
 
3815
## Report this to the AC_PACKAGE_NAME lists.  ##
 
3816
## ------------------------------------------ ##
 
3817
_ASBOX
 
3818
    ) |
 
3819
      sed "s/^/$as_me: WARNING:     /" >&2
 
3820
    ;;
 
3821
esac
 
3822
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
3823
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
3824
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
3825
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3826
else
 
3827
  eval "$as_ac_Header=\$ac_header_preproc"
 
3828
fi
 
3829
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
3830
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
3831
 
 
3832
fi
 
3833
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
3834
  cat >>confdefs.h <<_ACEOF
 
3835
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
3836
_ACEOF
 
3837
 
 
3838
fi
 
3839
 
 
3840
done
 
3841
 
 
3842
    if test $ac_cv_header_locale_h = yes; then
 
3843
    echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
3844
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
 
3845
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
 
3846
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3847
else
 
3848
  cat >conftest.$ac_ext <<_ACEOF
 
3849
/* confdefs.h.  */
 
3850
_ACEOF
 
3851
cat confdefs.h >>conftest.$ac_ext
 
3852
cat >>conftest.$ac_ext <<_ACEOF
 
3853
/* end confdefs.h.  */
 
3854
#include <locale.h>
 
3855
int
 
3856
main ()
 
3857
{
 
3858
return LC_MESSAGES
 
3859
  ;
 
3860
  return 0;
 
3861
}
 
3862
_ACEOF
 
3863
rm -f conftest.$ac_objext conftest$ac_exeext
 
3864
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
3865
  (eval $ac_link) 2>conftest.er1
 
3866
  ac_status=$?
 
3867
  grep -v '^ *+' conftest.er1 >conftest.err
 
3868
  rm -f conftest.er1
 
3869
  cat conftest.err >&5
 
3870
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3871
  (exit $ac_status); } &&
 
3872
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3873
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3874
  (eval $ac_try) 2>&5
 
3875
  ac_status=$?
 
3876
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3877
  (exit $ac_status); }; } &&
 
3878
         { ac_try='test -s conftest$ac_exeext'
 
3879
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3880
  (eval $ac_try) 2>&5
 
3881
  ac_status=$?
 
3882
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3883
  (exit $ac_status); }; }; then
 
3884
  am_cv_val_LC_MESSAGES=yes
 
3885
else
 
3886
  echo "$as_me: failed program was:" >&5
 
3887
sed 's/^/| /' conftest.$ac_ext >&5
 
3888
 
 
3889
am_cv_val_LC_MESSAGES=no
 
3890
fi
 
3891
rm -f conftest.err conftest.$ac_objext \
 
3892
      conftest$ac_exeext conftest.$ac_ext
 
3893
fi
 
3894
echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 
3895
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
 
3896
    if test $am_cv_val_LC_MESSAGES = yes; then
 
3897
 
 
3898
cat >>confdefs.h <<\_ACEOF
 
3899
#define HAVE_LC_MESSAGES 1
 
3900
_ACEOF
 
3901
 
 
3902
    fi
 
3903
  fi
 
3904
     USE_NLS=yes
 
3905
 
 
3906
 
 
3907
    gt_cv_have_gettext=no
 
3908
 
 
3909
    CATOBJEXT=NONE
 
3910
    XGETTEXT=:
 
3911
    INTLLIBS=
 
3912
 
 
3913
    if test "${ac_cv_header_libintl_h+set}" = set; then
 
3914
  echo "$as_me:$LINENO: checking for libintl.h" >&5
 
3915
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
 
3916
if test "${ac_cv_header_libintl_h+set}" = set; then
 
3917
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3918
fi
 
3919
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
3920
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
 
3921
else
 
3922
  # Is the header compilable?
 
3923
echo "$as_me:$LINENO: checking libintl.h usability" >&5
 
3924
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
 
3925
cat >conftest.$ac_ext <<_ACEOF
 
3926
/* confdefs.h.  */
 
3927
_ACEOF
 
3928
cat confdefs.h >>conftest.$ac_ext
 
3929
cat >>conftest.$ac_ext <<_ACEOF
 
3930
/* end confdefs.h.  */
 
3931
$ac_includes_default
 
3932
#include <libintl.h>
 
3933
_ACEOF
 
3934
rm -f conftest.$ac_objext
 
3935
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3936
  (eval $ac_compile) 2>conftest.er1
 
3937
  ac_status=$?
 
3938
  grep -v '^ *+' conftest.er1 >conftest.err
 
3939
  rm -f conftest.er1
 
3940
  cat conftest.err >&5
 
3941
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3942
  (exit $ac_status); } &&
 
3943
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3944
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3945
  (eval $ac_try) 2>&5
 
3946
  ac_status=$?
 
3947
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3948
  (exit $ac_status); }; } &&
 
3949
         { ac_try='test -s conftest.$ac_objext'
 
3950
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3951
  (eval $ac_try) 2>&5
 
3952
  ac_status=$?
 
3953
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3954
  (exit $ac_status); }; }; then
 
3955
  ac_header_compiler=yes
 
3956
else
 
3957
  echo "$as_me: failed program was:" >&5
 
3958
sed 's/^/| /' conftest.$ac_ext >&5
 
3959
 
 
3960
ac_header_compiler=no
 
3961
fi
 
3962
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3963
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
3964
echo "${ECHO_T}$ac_header_compiler" >&6
 
3965
 
 
3966
# Is the header present?
 
3967
echo "$as_me:$LINENO: checking libintl.h presence" >&5
 
3968
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
 
3969
cat >conftest.$ac_ext <<_ACEOF
 
3970
/* confdefs.h.  */
 
3971
_ACEOF
 
3972
cat confdefs.h >>conftest.$ac_ext
 
3973
cat >>conftest.$ac_ext <<_ACEOF
 
3974
/* end confdefs.h.  */
 
3975
#include <libintl.h>
 
3976
_ACEOF
 
3977
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3978
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3979
  ac_status=$?
 
3980
  grep -v '^ *+' conftest.er1 >conftest.err
 
3981
  rm -f conftest.er1
 
3982
  cat conftest.err >&5
 
3983
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3984
  (exit $ac_status); } >/dev/null; then
 
3985
  if test -s conftest.err; then
 
3986
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3987
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
3988
  else
 
3989
    ac_cpp_err=
 
3990
  fi
 
3991
else
 
3992
  ac_cpp_err=yes
 
3993
fi
 
3994
if test -z "$ac_cpp_err"; then
 
3995
  ac_header_preproc=yes
 
3996
else
 
3997
  echo "$as_me: failed program was:" >&5
 
3998
sed 's/^/| /' conftest.$ac_ext >&5
 
3999
 
 
4000
  ac_header_preproc=no
 
4001
fi
 
4002
rm -f conftest.err conftest.$ac_ext
 
4003
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4004
echo "${ECHO_T}$ac_header_preproc" >&6
 
4005
 
 
4006
# So?  What about this header?
 
4007
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
4008
  yes:no: )
 
4009
    { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
4010
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
4011
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
 
4012
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
 
4013
    ac_header_preproc=yes
 
4014
    ;;
 
4015
  no:yes:* )
 
4016
    { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
 
4017
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
 
4018
    { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
 
4019
echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
 
4020
    { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
 
4021
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
 
4022
    { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
 
4023
echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
4024
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
 
4025
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
 
4026
    { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
 
4027
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
 
4028
    (
 
4029
      cat <<\_ASBOX
 
4030
## ------------------------------------------ ##
 
4031
## Report this to the AC_PACKAGE_NAME lists.  ##
 
4032
## ------------------------------------------ ##
 
4033
_ASBOX
 
4034
    ) |
 
4035
      sed "s/^/$as_me: WARNING:     /" >&2
 
4036
    ;;
 
4037
esac
 
4038
echo "$as_me:$LINENO: checking for libintl.h" >&5
 
4039
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
 
4040
if test "${ac_cv_header_libintl_h+set}" = set; then
 
4041
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4042
else
 
4043
  ac_cv_header_libintl_h=$ac_header_preproc
 
4044
fi
 
4045
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
4046
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
 
4047
 
 
4048
fi
 
4049
if test $ac_cv_header_libintl_h = yes; then
 
4050
  gt_cv_func_dgettext_libintl="no"
 
4051
      libintl_extra_libs=""
 
4052
 
 
4053
      #
 
4054
      # First check in libc
 
4055
      #
 
4056
      echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 
4057
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6
 
4058
if test "${gt_cv_func_ngettext_libc+set}" = set; then
 
4059
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4060
else
 
4061
  cat >conftest.$ac_ext <<_ACEOF
 
4062
/* confdefs.h.  */
 
4063
_ACEOF
 
4064
cat confdefs.h >>conftest.$ac_ext
 
4065
cat >>conftest.$ac_ext <<_ACEOF
 
4066
/* end confdefs.h.  */
 
4067
 
 
4068
#include <libintl.h>
 
4069
 
 
4070
int
 
4071
main ()
 
4072
{
 
4073
return !ngettext ("","", 1)
 
4074
  ;
 
4075
  return 0;
 
4076
}
 
4077
_ACEOF
 
4078
rm -f conftest.$ac_objext conftest$ac_exeext
 
4079
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
4080
  (eval $ac_link) 2>conftest.er1
 
4081
  ac_status=$?
 
4082
  grep -v '^ *+' conftest.er1 >conftest.err
 
4083
  rm -f conftest.er1
 
4084
  cat conftest.err >&5
 
4085
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4086
  (exit $ac_status); } &&
 
4087
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4088
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4089
  (eval $ac_try) 2>&5
 
4090
  ac_status=$?
 
4091
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4092
  (exit $ac_status); }; } &&
 
4093
         { ac_try='test -s conftest$ac_exeext'
 
4094
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4095
  (eval $ac_try) 2>&5
 
4096
  ac_status=$?
 
4097
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4098
  (exit $ac_status); }; }; then
 
4099
  gt_cv_func_ngettext_libc=yes
 
4100
else
 
4101
  echo "$as_me: failed program was:" >&5
 
4102
sed 's/^/| /' conftest.$ac_ext >&5
 
4103
 
 
4104
gt_cv_func_ngettext_libc=no
 
4105
fi
 
4106
rm -f conftest.err conftest.$ac_objext \
 
4107
      conftest$ac_exeext conftest.$ac_ext
 
4108
 
 
4109
fi
 
4110
echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 
4111
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6
 
4112
 
 
4113
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
4114
              echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 
4115
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6
 
4116
if test "${gt_cv_func_dgettext_libc+set}" = set; then
 
4117
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4118
else
 
4119
  cat >conftest.$ac_ext <<_ACEOF
 
4120
/* confdefs.h.  */
 
4121
_ACEOF
 
4122
cat confdefs.h >>conftest.$ac_ext
 
4123
cat >>conftest.$ac_ext <<_ACEOF
 
4124
/* end confdefs.h.  */
 
4125
 
 
4126
#include <libintl.h>
 
4127
 
 
4128
int
 
4129
main ()
 
4130
{
 
4131
return !dgettext ("","")
 
4132
  ;
 
4133
  return 0;
 
4134
}
 
4135
_ACEOF
 
4136
rm -f conftest.$ac_objext conftest$ac_exeext
 
4137
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
4138
  (eval $ac_link) 2>conftest.er1
 
4139
  ac_status=$?
 
4140
  grep -v '^ *+' conftest.er1 >conftest.err
 
4141
  rm -f conftest.er1
 
4142
  cat conftest.err >&5
 
4143
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4144
  (exit $ac_status); } &&
 
4145
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4146
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4147
  (eval $ac_try) 2>&5
 
4148
  ac_status=$?
 
4149
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4150
  (exit $ac_status); }; } &&
 
4151
         { ac_try='test -s conftest$ac_exeext'
 
4152
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4153
  (eval $ac_try) 2>&5
 
4154
  ac_status=$?
 
4155
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4156
  (exit $ac_status); }; }; then
 
4157
  gt_cv_func_dgettext_libc=yes
 
4158
else
 
4159
  echo "$as_me: failed program was:" >&5
 
4160
sed 's/^/| /' conftest.$ac_ext >&5
 
4161
 
 
4162
gt_cv_func_dgettext_libc=no
 
4163
fi
 
4164
rm -f conftest.err conftest.$ac_objext \
 
4165
      conftest$ac_exeext conftest.$ac_ext
 
4166
 
 
4167
fi
 
4168
echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 
4169
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6
 
4170
      fi
 
4171
 
 
4172
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
4173
 
 
4174
for ac_func in bind_textdomain_codeset
 
4175
do
 
4176
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
4177
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
4178
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
4179
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
4180
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4181
else
 
4182
  cat >conftest.$ac_ext <<_ACEOF
 
4183
/* confdefs.h.  */
 
4184
_ACEOF
 
4185
cat confdefs.h >>conftest.$ac_ext
 
4186
cat >>conftest.$ac_ext <<_ACEOF
 
4187
/* end confdefs.h.  */
 
4188
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
4189
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
4190
#define $ac_func innocuous_$ac_func
 
4191
 
 
4192
/* System header to define __stub macros and hopefully few prototypes,
 
4193
    which can conflict with char $ac_func (); below.
 
4194
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4195
    <limits.h> exists even on freestanding compilers.  */
 
4196
 
 
4197
#ifdef __STDC__
 
4198
# include <limits.h>
 
4199
#else
 
4200
# include <assert.h>
 
4201
#endif
 
4202
 
 
4203
#undef $ac_func
 
4204
 
 
4205
/* Override any gcc2 internal prototype to avoid an error.  */
 
4206
#ifdef __cplusplus
 
4207
extern "C"
 
4208
{
 
4209
#endif
 
4210
/* We use char because int might match the return type of a gcc2
 
4211
   builtin and then its argument prototype would still apply.  */
 
4212
char $ac_func ();
 
4213
/* The GNU C library defines this for functions which it implements
 
4214
    to always fail with ENOSYS.  Some functions are actually named
 
4215
    something starting with __ and the normal name is an alias.  */
 
4216
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
4217
choke me
 
4218
#else
 
4219
char (*f) () = $ac_func;
 
4220
#endif
 
4221
#ifdef __cplusplus
 
4222
}
 
4223
#endif
 
4224
 
 
4225
int
 
4226
main ()
 
4227
{
 
4228
return f != $ac_func;
 
4229
  ;
 
4230
  return 0;
 
4231
}
 
4232
_ACEOF
 
4233
rm -f conftest.$ac_objext conftest$ac_exeext
 
4234
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
4235
  (eval $ac_link) 2>conftest.er1
 
4236
  ac_status=$?
 
4237
  grep -v '^ *+' conftest.er1 >conftest.err
 
4238
  rm -f conftest.er1
 
4239
  cat conftest.err >&5
 
4240
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4241
  (exit $ac_status); } &&
 
4242
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4243
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4244
  (eval $ac_try) 2>&5
 
4245
  ac_status=$?
 
4246
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4247
  (exit $ac_status); }; } &&
 
4248
         { ac_try='test -s conftest$ac_exeext'
 
4249
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4250
  (eval $ac_try) 2>&5
 
4251
  ac_status=$?
 
4252
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4253
  (exit $ac_status); }; }; then
 
4254
  eval "$as_ac_var=yes"
 
4255
else
 
4256
  echo "$as_me: failed program was:" >&5
 
4257
sed 's/^/| /' conftest.$ac_ext >&5
 
4258
 
 
4259
eval "$as_ac_var=no"
 
4260
fi
 
4261
rm -f conftest.err conftest.$ac_objext \
 
4262
      conftest$ac_exeext conftest.$ac_ext
 
4263
fi
 
4264
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
4265
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
4266
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
4267
  cat >>confdefs.h <<_ACEOF
 
4268
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
4269
_ACEOF
 
4270
 
 
4271
fi
 
4272
done
 
4273
 
 
4274
      fi
 
4275
 
 
4276
      #
 
4277
      # If we don't have everything we want, check in libintl
 
4278
      #
 
4279
      if test "$gt_cv_func_dgettext_libc" != "yes" \
 
4280
         || test "$gt_cv_func_ngettext_libc" != "yes" \
 
4281
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
 
4282
 
 
4283
        echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 
4284
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
 
4285
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
 
4286
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4287
else
 
4288
  ac_check_lib_save_LIBS=$LIBS
 
4289
LIBS="-lintl  $LIBS"
 
4290
cat >conftest.$ac_ext <<_ACEOF
 
4291
/* confdefs.h.  */
 
4292
_ACEOF
 
4293
cat confdefs.h >>conftest.$ac_ext
 
4294
cat >>conftest.$ac_ext <<_ACEOF
 
4295
/* end confdefs.h.  */
 
4296
 
 
4297
/* Override any gcc2 internal prototype to avoid an error.  */
 
4298
#ifdef __cplusplus
 
4299
extern "C"
 
4300
#endif
 
4301
/* We use char because int might match the return type of a gcc2
 
4302
   builtin and then its argument prototype would still apply.  */
 
4303
char bindtextdomain ();
 
4304
int
 
4305
main ()
 
4306
{
 
4307
bindtextdomain ();
 
4308
  ;
 
4309
  return 0;
 
4310
}
 
4311
_ACEOF
 
4312
rm -f conftest.$ac_objext conftest$ac_exeext
 
4313
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
4314
  (eval $ac_link) 2>conftest.er1
 
4315
  ac_status=$?
 
4316
  grep -v '^ *+' conftest.er1 >conftest.err
 
4317
  rm -f conftest.er1
 
4318
  cat conftest.err >&5
 
4319
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4320
  (exit $ac_status); } &&
 
4321
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
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); }; } &&
 
4327
         { ac_try='test -s conftest$ac_exeext'
 
4328
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4329
  (eval $ac_try) 2>&5
 
4330
  ac_status=$?
 
4331
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4332
  (exit $ac_status); }; }; then
 
4333
  ac_cv_lib_intl_bindtextdomain=yes
 
4334
else
 
4335
  echo "$as_me: failed program was:" >&5
 
4336
sed 's/^/| /' conftest.$ac_ext >&5
 
4337
 
 
4338
ac_cv_lib_intl_bindtextdomain=no
 
4339
fi
 
4340
rm -f conftest.err conftest.$ac_objext \
 
4341
      conftest$ac_exeext conftest.$ac_ext
 
4342
LIBS=$ac_check_lib_save_LIBS
 
4343
fi
 
4344
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
4345
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
 
4346
if test $ac_cv_lib_intl_bindtextdomain = yes; then
 
4347
  echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
4348
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6
 
4349
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
4350
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4351
else
 
4352
  ac_check_lib_save_LIBS=$LIBS
 
4353
LIBS="-lintl  $LIBS"
 
4354
cat >conftest.$ac_ext <<_ACEOF
 
4355
/* confdefs.h.  */
 
4356
_ACEOF
 
4357
cat confdefs.h >>conftest.$ac_ext
 
4358
cat >>conftest.$ac_ext <<_ACEOF
 
4359
/* end confdefs.h.  */
 
4360
 
 
4361
/* Override any gcc2 internal prototype to avoid an error.  */
 
4362
#ifdef __cplusplus
 
4363
extern "C"
 
4364
#endif
 
4365
/* We use char because int might match the return type of a gcc2
 
4366
   builtin and then its argument prototype would still apply.  */
 
4367
char ngettext ();
 
4368
int
 
4369
main ()
 
4370
{
 
4371
ngettext ();
 
4372
  ;
 
4373
  return 0;
 
4374
}
 
4375
_ACEOF
 
4376
rm -f conftest.$ac_objext conftest$ac_exeext
 
4377
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
4378
  (eval $ac_link) 2>conftest.er1
 
4379
  ac_status=$?
 
4380
  grep -v '^ *+' conftest.er1 >conftest.err
 
4381
  rm -f conftest.er1
 
4382
  cat conftest.err >&5
 
4383
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4384
  (exit $ac_status); } &&
 
4385
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4386
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4387
  (eval $ac_try) 2>&5
 
4388
  ac_status=$?
 
4389
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4390
  (exit $ac_status); }; } &&
 
4391
         { ac_try='test -s conftest$ac_exeext'
 
4392
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4393
  (eval $ac_try) 2>&5
 
4394
  ac_status=$?
 
4395
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4396
  (exit $ac_status); }; }; then
 
4397
  ac_cv_lib_intl_ngettext=yes
 
4398
else
 
4399
  echo "$as_me: failed program was:" >&5
 
4400
sed 's/^/| /' conftest.$ac_ext >&5
 
4401
 
 
4402
ac_cv_lib_intl_ngettext=no
 
4403
fi
 
4404
rm -f conftest.err conftest.$ac_objext \
 
4405
      conftest$ac_exeext conftest.$ac_ext
 
4406
LIBS=$ac_check_lib_save_LIBS
 
4407
fi
 
4408
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
4409
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6
 
4410
if test $ac_cv_lib_intl_ngettext = yes; then
 
4411
  echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 
4412
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
 
4413
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
 
4414
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4415
else
 
4416
  ac_check_lib_save_LIBS=$LIBS
 
4417
LIBS="-lintl  $LIBS"
 
4418
cat >conftest.$ac_ext <<_ACEOF
 
4419
/* confdefs.h.  */
 
4420
_ACEOF
 
4421
cat confdefs.h >>conftest.$ac_ext
 
4422
cat >>conftest.$ac_ext <<_ACEOF
 
4423
/* end confdefs.h.  */
 
4424
 
 
4425
/* Override any gcc2 internal prototype to avoid an error.  */
 
4426
#ifdef __cplusplus
 
4427
extern "C"
 
4428
#endif
 
4429
/* We use char because int might match the return type of a gcc2
 
4430
   builtin and then its argument prototype would still apply.  */
 
4431
char dgettext ();
 
4432
int
 
4433
main ()
 
4434
{
 
4435
dgettext ();
 
4436
  ;
 
4437
  return 0;
 
4438
}
 
4439
_ACEOF
 
4440
rm -f conftest.$ac_objext conftest$ac_exeext
 
4441
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
4442
  (eval $ac_link) 2>conftest.er1
 
4443
  ac_status=$?
 
4444
  grep -v '^ *+' conftest.er1 >conftest.err
 
4445
  rm -f conftest.er1
 
4446
  cat conftest.err >&5
 
4447
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4448
  (exit $ac_status); } &&
 
4449
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4450
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4451
  (eval $ac_try) 2>&5
 
4452
  ac_status=$?
 
4453
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4454
  (exit $ac_status); }; } &&
 
4455
         { ac_try='test -s conftest$ac_exeext'
 
4456
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4457
  (eval $ac_try) 2>&5
 
4458
  ac_status=$?
 
4459
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4460
  (exit $ac_status); }; }; then
 
4461
  ac_cv_lib_intl_dgettext=yes
 
4462
else
 
4463
  echo "$as_me: failed program was:" >&5
 
4464
sed 's/^/| /' conftest.$ac_ext >&5
 
4465
 
 
4466
ac_cv_lib_intl_dgettext=no
 
4467
fi
 
4468
rm -f conftest.err conftest.$ac_objext \
 
4469
      conftest$ac_exeext conftest.$ac_ext
 
4470
LIBS=$ac_check_lib_save_LIBS
 
4471
fi
 
4472
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 
4473
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
 
4474
if test $ac_cv_lib_intl_dgettext = yes; then
 
4475
  gt_cv_func_dgettext_libintl=yes
 
4476
fi
 
4477
 
 
4478
fi
 
4479
 
 
4480
fi
 
4481
 
 
4482
 
 
4483
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
 
4484
          echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 
4485
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6
 
4486
          echo "$as_me:$LINENO: result: " >&5
 
4487
echo "${ECHO_T}" >&6
 
4488
          echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
4489
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6
 
4490
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
4491
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4492
else
 
4493
  ac_check_lib_save_LIBS=$LIBS
 
4494
LIBS="-lintl -liconv $LIBS"
 
4495
cat >conftest.$ac_ext <<_ACEOF
 
4496
/* confdefs.h.  */
 
4497
_ACEOF
 
4498
cat confdefs.h >>conftest.$ac_ext
 
4499
cat >>conftest.$ac_ext <<_ACEOF
 
4500
/* end confdefs.h.  */
 
4501
 
 
4502
/* Override any gcc2 internal prototype to avoid an error.  */
 
4503
#ifdef __cplusplus
 
4504
extern "C"
 
4505
#endif
 
4506
/* We use char because int might match the return type of a gcc2
 
4507
   builtin and then its argument prototype would still apply.  */
 
4508
char ngettext ();
 
4509
int
 
4510
main ()
 
4511
{
 
4512
ngettext ();
 
4513
  ;
 
4514
  return 0;
 
4515
}
 
4516
_ACEOF
 
4517
rm -f conftest.$ac_objext conftest$ac_exeext
 
4518
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
4519
  (eval $ac_link) 2>conftest.er1
 
4520
  ac_status=$?
 
4521
  grep -v '^ *+' conftest.er1 >conftest.err
 
4522
  rm -f conftest.er1
 
4523
  cat conftest.err >&5
 
4524
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4525
  (exit $ac_status); } &&
 
4526
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4527
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4528
  (eval $ac_try) 2>&5
 
4529
  ac_status=$?
 
4530
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4531
  (exit $ac_status); }; } &&
 
4532
         { ac_try='test -s conftest$ac_exeext'
 
4533
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4534
  (eval $ac_try) 2>&5
 
4535
  ac_status=$?
 
4536
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4537
  (exit $ac_status); }; }; then
 
4538
  ac_cv_lib_intl_ngettext=yes
 
4539
else
 
4540
  echo "$as_me: failed program was:" >&5
 
4541
sed 's/^/| /' conftest.$ac_ext >&5
 
4542
 
 
4543
ac_cv_lib_intl_ngettext=no
 
4544
fi
 
4545
rm -f conftest.err conftest.$ac_objext \
 
4546
      conftest$ac_exeext conftest.$ac_ext
 
4547
LIBS=$ac_check_lib_save_LIBS
 
4548
fi
 
4549
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
4550
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6
 
4551
if test $ac_cv_lib_intl_ngettext = yes; then
 
4552
  echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 
4553
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6
 
4554
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
 
4555
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4556
else
 
4557
  ac_check_lib_save_LIBS=$LIBS
 
4558
LIBS="-lintl -liconv $LIBS"
 
4559
cat >conftest.$ac_ext <<_ACEOF
 
4560
/* confdefs.h.  */
 
4561
_ACEOF
 
4562
cat confdefs.h >>conftest.$ac_ext
 
4563
cat >>conftest.$ac_ext <<_ACEOF
 
4564
/* end confdefs.h.  */
 
4565
 
 
4566
/* Override any gcc2 internal prototype to avoid an error.  */
 
4567
#ifdef __cplusplus
 
4568
extern "C"
 
4569
#endif
 
4570
/* We use char because int might match the return type of a gcc2
 
4571
   builtin and then its argument prototype would still apply.  */
 
4572
char dcgettext ();
 
4573
int
 
4574
main ()
 
4575
{
 
4576
dcgettext ();
 
4577
  ;
 
4578
  return 0;
 
4579
}
 
4580
_ACEOF
 
4581
rm -f conftest.$ac_objext conftest$ac_exeext
 
4582
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
4583
  (eval $ac_link) 2>conftest.er1
 
4584
  ac_status=$?
 
4585
  grep -v '^ *+' conftest.er1 >conftest.err
 
4586
  rm -f conftest.er1
 
4587
  cat conftest.err >&5
 
4588
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4589
  (exit $ac_status); } &&
 
4590
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4591
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4592
  (eval $ac_try) 2>&5
 
4593
  ac_status=$?
 
4594
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4595
  (exit $ac_status); }; } &&
 
4596
         { ac_try='test -s conftest$ac_exeext'
 
4597
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4598
  (eval $ac_try) 2>&5
 
4599
  ac_status=$?
 
4600
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4601
  (exit $ac_status); }; }; then
 
4602
  ac_cv_lib_intl_dcgettext=yes
 
4603
else
 
4604
  echo "$as_me: failed program was:" >&5
 
4605
sed 's/^/| /' conftest.$ac_ext >&5
 
4606
 
 
4607
ac_cv_lib_intl_dcgettext=no
 
4608
fi
 
4609
rm -f conftest.err conftest.$ac_objext \
 
4610
      conftest$ac_exeext conftest.$ac_ext
 
4611
LIBS=$ac_check_lib_save_LIBS
 
4612
fi
 
4613
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 
4614
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6
 
4615
if test $ac_cv_lib_intl_dcgettext = yes; then
 
4616
  gt_cv_func_dgettext_libintl=yes
 
4617
                        libintl_extra_libs=-liconv
 
4618
else
 
4619
  :
 
4620
fi
 
4621
 
 
4622
else
 
4623
  :
 
4624
fi
 
4625
 
 
4626
        fi
 
4627
 
 
4628
        #
 
4629
        # If we found libintl, then check in it for bind_textdomain_codeset();
 
4630
        # we'll prefer libc if neither have bind_textdomain_codeset(),
 
4631
        # and both have dgettext and ngettext
 
4632
        #
 
4633
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
 
4634
          glib_save_LIBS="$LIBS"
 
4635
          LIBS="$LIBS -lintl $libintl_extra_libs"
 
4636
          unset ac_cv_func_bind_textdomain_codeset
 
4637
 
 
4638
for ac_func in bind_textdomain_codeset
 
4639
do
 
4640
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
4641
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
4642
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
4643
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
4644
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4645
else
 
4646
  cat >conftest.$ac_ext <<_ACEOF
 
4647
/* confdefs.h.  */
 
4648
_ACEOF
 
4649
cat confdefs.h >>conftest.$ac_ext
 
4650
cat >>conftest.$ac_ext <<_ACEOF
 
4651
/* end confdefs.h.  */
 
4652
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
4653
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
4654
#define $ac_func innocuous_$ac_func
 
4655
 
 
4656
/* System header to define __stub macros and hopefully few prototypes,
 
4657
    which can conflict with char $ac_func (); below.
 
4658
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4659
    <limits.h> exists even on freestanding compilers.  */
 
4660
 
 
4661
#ifdef __STDC__
 
4662
# include <limits.h>
 
4663
#else
 
4664
# include <assert.h>
 
4665
#endif
 
4666
 
 
4667
#undef $ac_func
 
4668
 
 
4669
/* Override any gcc2 internal prototype to avoid an error.  */
 
4670
#ifdef __cplusplus
 
4671
extern "C"
 
4672
{
 
4673
#endif
 
4674
/* We use char because int might match the return type of a gcc2
 
4675
   builtin and then its argument prototype would still apply.  */
 
4676
char $ac_func ();
 
4677
/* The GNU C library defines this for functions which it implements
 
4678
    to always fail with ENOSYS.  Some functions are actually named
 
4679
    something starting with __ and the normal name is an alias.  */
 
4680
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
4681
choke me
 
4682
#else
 
4683
char (*f) () = $ac_func;
 
4684
#endif
 
4685
#ifdef __cplusplus
 
4686
}
 
4687
#endif
 
4688
 
 
4689
int
 
4690
main ()
 
4691
{
 
4692
return f != $ac_func;
 
4693
  ;
 
4694
  return 0;
 
4695
}
 
4696
_ACEOF
 
4697
rm -f conftest.$ac_objext conftest$ac_exeext
 
4698
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
4699
  (eval $ac_link) 2>conftest.er1
 
4700
  ac_status=$?
 
4701
  grep -v '^ *+' conftest.er1 >conftest.err
 
4702
  rm -f conftest.er1
 
4703
  cat conftest.err >&5
 
4704
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4705
  (exit $ac_status); } &&
 
4706
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4707
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4708
  (eval $ac_try) 2>&5
 
4709
  ac_status=$?
 
4710
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4711
  (exit $ac_status); }; } &&
 
4712
         { ac_try='test -s conftest$ac_exeext'
 
4713
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4714
  (eval $ac_try) 2>&5
 
4715
  ac_status=$?
 
4716
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4717
  (exit $ac_status); }; }; then
 
4718
  eval "$as_ac_var=yes"
 
4719
else
 
4720
  echo "$as_me: failed program was:" >&5
 
4721
sed 's/^/| /' conftest.$ac_ext >&5
 
4722
 
 
4723
eval "$as_ac_var=no"
 
4724
fi
 
4725
rm -f conftest.err conftest.$ac_objext \
 
4726
      conftest$ac_exeext conftest.$ac_ext
 
4727
fi
 
4728
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
4729
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
4730
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
4731
  cat >>confdefs.h <<_ACEOF
 
4732
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
4733
_ACEOF
 
4734
 
 
4735
fi
 
4736
done
 
4737
 
 
4738
          LIBS="$glib_save_LIBS"
 
4739
 
 
4740
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
 
4741
            gt_cv_func_dgettext_libc=no
 
4742
          else
 
4743
            if test "$gt_cv_func_dgettext_libc" = "yes" \
 
4744
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
 
4745
              gt_cv_func_dgettext_libintl=no
 
4746
            fi
 
4747
          fi
 
4748
        fi
 
4749
      fi
 
4750
 
 
4751
      if test "$gt_cv_func_dgettext_libc" = "yes" \
 
4752
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
4753
        gt_cv_have_gettext=yes
 
4754
      fi
 
4755
 
 
4756
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
4757
        INTLLIBS="-lintl $libintl_extra_libs"
 
4758
      fi
 
4759
 
 
4760
      if test "$gt_cv_have_gettext" = "yes"; then
 
4761
 
 
4762
cat >>confdefs.h <<\_ACEOF
 
4763
#define HAVE_GETTEXT 1
 
4764
_ACEOF
 
4765
 
 
4766
        # Extract the first word of "msgfmt", so it can be a program name with args.
 
4767
set dummy msgfmt; ac_word=$2
 
4768
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4769
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4770
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
4771
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4772
else
 
4773
  case "$MSGFMT" in
 
4774
  /*)
 
4775
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
4776
  ;;
 
4777
  *)
 
4778
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
4779
  for ac_dir in $PATH; do
 
4780
    test -z "$ac_dir" && ac_dir=.
 
4781
    if test -f $ac_dir/$ac_word; then
 
4782
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
 
4783
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
 
4784
        break
 
4785
      fi
 
4786
    fi
 
4787
  done
 
4788
  IFS="$ac_save_ifs"
 
4789
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
 
4790
  ;;
 
4791
esac
 
4792
fi
 
4793
MSGFMT="$ac_cv_path_MSGFMT"
 
4794
if test "$MSGFMT" != "no"; then
 
4795
  echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
4796
echo "${ECHO_T}$MSGFMT" >&6
 
4797
else
 
4798
  echo "$as_me:$LINENO: result: no" >&5
 
4799
echo "${ECHO_T}no" >&6
 
4800
fi
 
4801
        if test "$MSGFMT" != "no"; then
 
4802
          glib_save_LIBS="$LIBS"
 
4803
          LIBS="$LIBS $INTLLIBS"
 
4804
 
 
4805
for ac_func in dcgettext
 
4806
do
 
4807
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
4808
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
4809
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
4810
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
4811
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4812
else
 
4813
  cat >conftest.$ac_ext <<_ACEOF
 
4814
/* confdefs.h.  */
 
4815
_ACEOF
 
4816
cat confdefs.h >>conftest.$ac_ext
 
4817
cat >>conftest.$ac_ext <<_ACEOF
 
4818
/* end confdefs.h.  */
 
4819
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
4820
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
4821
#define $ac_func innocuous_$ac_func
 
4822
 
 
4823
/* System header to define __stub macros and hopefully few prototypes,
 
4824
    which can conflict with char $ac_func (); below.
 
4825
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4826
    <limits.h> exists even on freestanding compilers.  */
 
4827
 
 
4828
#ifdef __STDC__
 
4829
# include <limits.h>
 
4830
#else
 
4831
# include <assert.h>
 
4832
#endif
 
4833
 
 
4834
#undef $ac_func
 
4835
 
 
4836
/* Override any gcc2 internal prototype to avoid an error.  */
 
4837
#ifdef __cplusplus
 
4838
extern "C"
 
4839
{
 
4840
#endif
 
4841
/* We use char because int might match the return type of a gcc2
 
4842
   builtin and then its argument prototype would still apply.  */
 
4843
char $ac_func ();
 
4844
/* The GNU C library defines this for functions which it implements
 
4845
    to always fail with ENOSYS.  Some functions are actually named
 
4846
    something starting with __ and the normal name is an alias.  */
 
4847
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
4848
choke me
 
4849
#else
 
4850
char (*f) () = $ac_func;
 
4851
#endif
 
4852
#ifdef __cplusplus
 
4853
}
 
4854
#endif
 
4855
 
 
4856
int
 
4857
main ()
 
4858
{
 
4859
return f != $ac_func;
 
4860
  ;
 
4861
  return 0;
 
4862
}
 
4863
_ACEOF
 
4864
rm -f conftest.$ac_objext conftest$ac_exeext
 
4865
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
4866
  (eval $ac_link) 2>conftest.er1
 
4867
  ac_status=$?
 
4868
  grep -v '^ *+' conftest.er1 >conftest.err
 
4869
  rm -f conftest.er1
 
4870
  cat conftest.err >&5
 
4871
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4872
  (exit $ac_status); } &&
 
4873
         { ac_try='test -z "$ac_c_werror_flag"                   || 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"                   || test ! -s conftest.err'
 
5007
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5008
  (eval $ac_try) 2>&5
 
5009
  ac_status=$?
 
5010
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5011
  (exit $ac_status); }; } &&
 
5012
         { ac_try='test -s conftest$ac_exeext'
 
5013
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5014
  (eval $ac_try) 2>&5
 
5015
  ac_status=$?
 
5016
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5017
  (exit $ac_status); }; }; then
 
5018
  CATOBJEXT=.gmo
 
5019
             DATADIRNAME=share
 
5020
else
 
5021
  echo "$as_me: failed program was:" >&5
 
5022
sed 's/^/| /' conftest.$ac_ext >&5
 
5023
 
 
5024
case $host in
 
5025
            *-*-solaris*)
 
5026
                                                                echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 
5027
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6
 
5028
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
 
5029
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5030
else
 
5031
  cat >conftest.$ac_ext <<_ACEOF
 
5032
/* confdefs.h.  */
 
5033
_ACEOF
 
5034
cat confdefs.h >>conftest.$ac_ext
 
5035
cat >>conftest.$ac_ext <<_ACEOF
 
5036
/* end confdefs.h.  */
 
5037
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
 
5038
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
5039
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
 
5040
 
 
5041
/* System header to define __stub macros and hopefully few prototypes,
 
5042
    which can conflict with char bind_textdomain_codeset (); below.
 
5043
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
5044
    <limits.h> exists even on freestanding compilers.  */
 
5045
 
 
5046
#ifdef __STDC__
 
5047
# include <limits.h>
 
5048
#else
 
5049
# include <assert.h>
 
5050
#endif
 
5051
 
 
5052
#undef bind_textdomain_codeset
 
5053
 
 
5054
/* Override any gcc2 internal prototype to avoid an error.  */
 
5055
#ifdef __cplusplus
 
5056
extern "C"
 
5057
{
 
5058
#endif
 
5059
/* We use char because int might match the return type of a gcc2
 
5060
   builtin and then its argument prototype would still apply.  */
 
5061
char bind_textdomain_codeset ();
 
5062
/* The GNU C library defines this for functions which it implements
 
5063
    to always fail with ENOSYS.  Some functions are actually named
 
5064
    something starting with __ and the normal name is an alias.  */
 
5065
#if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset)
 
5066
choke me
 
5067
#else
 
5068
char (*f) () = bind_textdomain_codeset;
 
5069
#endif
 
5070
#ifdef __cplusplus
 
5071
}
 
5072
#endif
 
5073
 
 
5074
int
 
5075
main ()
 
5076
{
 
5077
return f != bind_textdomain_codeset;
 
5078
  ;
 
5079
  return 0;
 
5080
}
 
5081
_ACEOF
 
5082
rm -f conftest.$ac_objext conftest$ac_exeext
 
5083
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
5084
  (eval $ac_link) 2>conftest.er1
 
5085
  ac_status=$?
 
5086
  grep -v '^ *+' conftest.er1 >conftest.err
 
5087
  rm -f conftest.er1
 
5088
  cat conftest.err >&5
 
5089
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5090
  (exit $ac_status); } &&
 
5091
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
5092
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5093
  (eval $ac_try) 2>&5
 
5094
  ac_status=$?
 
5095
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5096
  (exit $ac_status); }; } &&
 
5097
         { ac_try='test -s conftest$ac_exeext'
 
5098
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5099
  (eval $ac_try) 2>&5
 
5100
  ac_status=$?
 
5101
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5102
  (exit $ac_status); }; }; then
 
5103
  ac_cv_func_bind_textdomain_codeset=yes
 
5104
else
 
5105
  echo "$as_me: failed program was:" >&5
 
5106
sed 's/^/| /' conftest.$ac_ext >&5
 
5107
 
 
5108
ac_cv_func_bind_textdomain_codeset=no
 
5109
fi
 
5110
rm -f conftest.err conftest.$ac_objext \
 
5111
      conftest$ac_exeext conftest.$ac_ext
 
5112
fi
 
5113
echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 
5114
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
 
5115
if test $ac_cv_func_bind_textdomain_codeset = yes; then
 
5116
  CATOBJEXT=.gmo
 
5117
               DATADIRNAME=share
 
5118
else
 
5119
  CATOBJEXT=.mo
 
5120
               DATADIRNAME=lib
 
5121
fi
 
5122
 
 
5123
            ;;
 
5124
            *)
 
5125
            CATOBJEXT=.mo
 
5126
            DATADIRNAME=lib
 
5127
            ;;
 
5128
            esac
 
5129
fi
 
5130
rm -f conftest.err conftest.$ac_objext \
 
5131
      conftest$ac_exeext conftest.$ac_ext
 
5132
          LIBS="$glib_save_LIBS"
 
5133
          INSTOBJEXT=.mo
 
5134
        else
 
5135
          gt_cv_have_gettext=no
 
5136
        fi
 
5137
      fi
 
5138
 
 
5139
fi
 
5140
 
 
5141
 
 
5142
 
 
5143
    if test "$gt_cv_have_gettext" = "yes" ; then
 
5144
 
 
5145
cat >>confdefs.h <<\_ACEOF
 
5146
#define ENABLE_NLS 1
 
5147
_ACEOF
 
5148
 
 
5149
    fi
 
5150
 
 
5151
        if test "$XGETTEXT" != ":"; then
 
5152
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
 
5153
        : ;
 
5154
      else
 
5155
        echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
5156
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
 
5157
        XGETTEXT=":"
 
5158
      fi
 
5159
    fi
 
5160
 
 
5161
    # We need to process the po/ directory.
 
5162
    POSUB=po
 
5163
 
 
5164
              ac_config_commands="$ac_config_commands default-1"
 
5165
 
 
5166
 
 
5167
                for lang in $ALL_LINGUAS; do
 
5168
      GMOFILES="$GMOFILES $lang.gmo"
 
5169
      POFILES="$POFILES $lang.po"
 
5170
    done
 
5171
 
 
5172
 
 
5173
 
 
5174
 
 
5175
 
 
5176
 
 
5177
 
 
5178
 
 
5179
 
 
5180
 
 
5181
 
 
5182
 
 
5183
 
 
5184
   if test "$gt_cv_have_gettext" = "yes"; then
 
5185
     if test "x$ALL_LINGUAS" = "x"; then
 
5186
       LINGUAS=
 
5187
     else
 
5188
       echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 
5189
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
 
5190
       NEW_LINGUAS=
 
5191
       for presentlang in $ALL_LINGUAS; do
 
5192
         useit=no
 
5193
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
 
5194
           desiredlanguages="$LINGUAS"
 
5195
         else
 
5196
           desiredlanguages="$ALL_LINGUAS"
 
5197
         fi
 
5198
         for desiredlang in $desiredlanguages; do
 
5199
           # Use the presentlang catalog if desiredlang is
 
5200
           #   a. equal to presentlang, or
 
5201
           #   b. a variant of presentlang (because in this case,
 
5202
           #      presentlang can be used as a fallback for messages
 
5203
           #      which are not translated in the desiredlang catalog).
 
5204
           case "$desiredlang" in
 
5205
             "$presentlang"*) useit=yes;;
 
5206
           esac
 
5207
         done
 
5208
         if test $useit = yes; then
 
5209
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
 
5210
         fi
 
5211
       done
 
5212
       LINGUAS=$NEW_LINGUAS
 
5213
       echo "$as_me:$LINENO: result: $LINGUAS" >&5
 
5214
echo "${ECHO_T}$LINGUAS" >&6
 
5215
     fi
 
5216
 
 
5217
          if test -n "$LINGUAS"; then
 
5218
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
 
5219
     fi
 
5220
   fi
 
5221
 
 
5222
            MKINSTALLDIRS=
 
5223
   if test -n "$ac_aux_dir"; then
 
5224
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
 
5225
   fi
 
5226
   if test -z "$MKINSTALLDIRS"; then
 
5227
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 
5228
   fi
 
5229
 
 
5230
 
 
5231
         test -d po || mkdir po
 
5232
   if test "x$srcdir" != "x."; then
 
5233
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
 
5234
       posrcprefix="$srcdir/"
 
5235
     else
 
5236
       posrcprefix="../$srcdir/"
 
5237
     fi
 
5238
   else
 
5239
     posrcprefix="../"
 
5240
   fi
 
5241
   rm -f po/POTFILES
 
5242
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
 
5243
        < $srcdir/po/POTFILES.in > po/POTFILES
 
5244
 
 
5245
 
 
5246
 
 
5247
SCROLLKEEPER_BUILD_REQUIRED=0.3.5
 
5248
 
 
5249
 
 
5250
# Extract the first word of "scrollkeeper-config", so it can be a program name with args.
 
5251
set dummy scrollkeeper-config; ac_word=$2
 
5252
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5253
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5254
if test "${ac_cv_path_SCROLLKEEPER_CONFIG+set}" = set; then
 
5255
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5256
else
 
5257
  case $SCROLLKEEPER_CONFIG in
 
5258
  [\\/]* | ?:[\\/]*)
 
5259
  ac_cv_path_SCROLLKEEPER_CONFIG="$SCROLLKEEPER_CONFIG" # Let the user override the test with a path.
 
5260
  ;;
 
5261
  *)
 
5262
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5263
for as_dir in $PATH
 
5264
do
 
5265
  IFS=$as_save_IFS
 
5266
  test -z "$as_dir" && as_dir=.
 
5267
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5268
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5269
    ac_cv_path_SCROLLKEEPER_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
5270
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5271
    break 2
 
5272
  fi
 
5273
done
 
5274
done
 
5275
 
 
5276
  test -z "$ac_cv_path_SCROLLKEEPER_CONFIG" && ac_cv_path_SCROLLKEEPER_CONFIG="no"
 
5277
  ;;
 
5278
esac
 
5279
fi
 
5280
SCROLLKEEPER_CONFIG=$ac_cv_path_SCROLLKEEPER_CONFIG
 
5281
 
 
5282
if test -n "$SCROLLKEEPER_CONFIG"; then
 
5283
  echo "$as_me:$LINENO: result: $SCROLLKEEPER_CONFIG" >&5
 
5284
echo "${ECHO_T}$SCROLLKEEPER_CONFIG" >&6
 
5285
else
 
5286
  echo "$as_me:$LINENO: result: no" >&5
 
5287
echo "${ECHO_T}no" >&6
 
5288
fi
 
5289
 
 
5290
if test x$SCROLLKEEPER_CONFIG = xno; then
 
5291
  { { echo "$as_me:$LINENO: error: Couldn't find scrollkeeper-config. Please install the scrollkeeper package: http://scrollkeeper.sourceforge.net" >&5
 
5292
echo "$as_me: error: Couldn't find scrollkeeper-config. Please install the scrollkeeper package: http://scrollkeeper.sourceforge.net" >&2;}
 
5293
   { (exit 1); exit 1; }; }
 
5294
fi
 
5295
 
 
5296
 
 
5297
                                                                                                                        ac_config_files="$ac_config_files Makefile help/Makefile help/C/Makefile src/Makefile data/Makefile po/Makefile.in src/update-manager gnome-software-properties SoftwareProperties/Makefile SoftwareProperties/SoftwareProperties.py distribution-data/Makefile Common/Makefile"
 
5298
cat >confcache <<\_ACEOF
 
5299
# This file is a shell script that caches the results of configure
 
5300
# tests run on this system so they can be shared between configure
 
5301
# scripts and configure runs, see configure's option --config-cache.
 
5302
# It is not useful on other systems.  If it contains results you don't
 
5303
# want to keep, you may remove or edit it.
 
5304
#
 
5305
# config.status only pays attention to the cache file if you give it
 
5306
# the --recheck option to rerun configure.
 
5307
#
 
5308
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
5309
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
5310
# following values.
 
5311
 
 
5312
_ACEOF
 
5313
 
 
5314
# The following way of writing the cache mishandles newlines in values,
 
5315
# but we know of no workaround that is simple, portable, and efficient.
 
5316
# So, don't put newlines in cache variables' values.
 
5317
# Ultrix sh set writes to stderr and can't be redirected directly,
 
5318
# and sets the high bit in the cache file unless we assign to the vars.
 
5319
{
 
5320
  (set) 2>&1 |
 
5321
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
 
5322
    *ac_space=\ *)
 
5323
      # `set' does not quote correctly, so add quotes (double-quote
 
5324
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
5325
      sed -n \
 
5326
        "s/'/'\\\\''/g;
 
5327
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
5328
      ;;
 
5329
    *)
 
5330
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
5331
      sed -n \
 
5332
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
5333
      ;;
 
5334
    esac;
 
5335
} |
 
5336
  sed '
 
5337
     t clear
 
5338
     : clear
 
5339
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
5340
     t end
 
5341
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
5342
     : end' >>confcache
 
5343
if diff $cache_file confcache >/dev/null 2>&1; then :; else
 
5344
  if test -w $cache_file; then
 
5345
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
5346
    cat confcache >$cache_file
 
5347
  else
 
5348
    echo "not updating unwritable cache $cache_file"
 
5349
  fi
 
5350
fi
 
5351
rm -f confcache
 
5352
 
 
5353
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
5354
# Let make expand exec_prefix.
 
5355
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
5356
 
 
5357
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
5358
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
5359
# trailing colons and then remove the whole line if VPATH becomes empty
 
5360
# (actually we leave an empty line to preserve line numbers).
 
5361
if test "x$srcdir" = x.; then
 
5362
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
5363
s/:*\$(srcdir):*/:/;
 
5364
s/:*\${srcdir}:*/:/;
 
5365
s/:*@srcdir@:*/:/;
 
5366
s/^\([^=]*=[     ]*\):*/\1/;
 
5367
s/:*$//;
 
5368
s/^[^=]*=[       ]*$//;
 
5369
}'
 
5370
fi
 
5371
 
 
5372
DEFS=-DHAVE_CONFIG_H
 
5373
 
 
5374
ac_libobjs=
 
5375
ac_ltlibobjs=
 
5376
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
5377
  # 1. Remove the extension, and $U if already installed.
 
5378
  ac_i=`echo "$ac_i" |
 
5379
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
5380
  # 2. Add them.
 
5381
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
 
5382
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
5383
done
 
5384
LIBOBJS=$ac_libobjs
 
5385
 
 
5386
LTLIBOBJS=$ac_ltlibobjs
 
5387
 
 
5388
 
 
5389
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 
5390
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 
5391
Usually this means the macro was only invoked conditionally." >&5
 
5392
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 
5393
Usually this means the macro was only invoked conditionally." >&2;}
 
5394
   { (exit 1); exit 1; }; }
 
5395
fi
 
5396
 
 
5397
       mv -f po/POTFILES po/POTFILES.tmp
 
5398
        sed -e '/[[]encoding.*]/d' -e 's/[[].*] *//' < po/POTFILES.tmp > po/POTFILES
 
5399
        rm -f po/POTFILES.tmp
 
5400
 
 
5401
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
5402
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
5403
Usually this means the macro was only invoked conditionally." >&5
 
5404
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
5405
Usually this means the macro was only invoked conditionally." >&2;}
 
5406
   { (exit 1); exit 1; }; }
 
5407
fi
 
5408
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
5409
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
5410
Usually this means the macro was only invoked conditionally." >&5
 
5411
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
5412
Usually this means the macro was only invoked conditionally." >&2;}
 
5413
   { (exit 1); exit 1; }; }
 
5414
fi
 
5415
 
 
5416
: ${CONFIG_STATUS=./config.status}
 
5417
ac_clean_files_save=$ac_clean_files
 
5418
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
5419
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
5420
echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
5421
cat >$CONFIG_STATUS <<_ACEOF
 
5422
#! $SHELL
 
5423
# Generated by $as_me.
 
5424
# Run this file to recreate the current configuration.
 
5425
# Compiler output produced by configure, useful for debugging
 
5426
# configure, is in config.log if it exists.
 
5427
 
 
5428
debug=false
 
5429
ac_cs_recheck=false
 
5430
ac_cs_silent=false
 
5431
SHELL=\${CONFIG_SHELL-$SHELL}
 
5432
_ACEOF
 
5433
 
 
5434
cat >>$CONFIG_STATUS <<\_ACEOF
 
5435
## --------------------- ##
 
5436
## M4sh Initialization.  ##
 
5437
## --------------------- ##
 
5438
 
 
5439
# Be Bourne compatible
 
5440
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
5441
  emulate sh
 
5442
  NULLCMD=:
 
5443
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
5444
  # is contrary to our usage.  Disable this feature.
 
5445
  alias -g '${1+"$@"}'='"$@"'
 
5446
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 
5447
  set -o posix
 
5448
fi
 
5449
DUALCASE=1; export DUALCASE # for MKS sh
 
5450
 
 
5451
# Support unset when possible.
 
5452
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
5453
  as_unset=unset
 
5454
else
 
5455
  as_unset=false
 
5456
fi
 
5457
 
 
5458
 
 
5459
# Work around bugs in pre-3.0 UWIN ksh.
 
5460
$as_unset ENV MAIL MAILPATH
 
5461
PS1='$ '
 
5462
PS2='> '
 
5463
PS4='+ '
 
5464
 
 
5465
# NLS nuisances.
 
5466
for as_var in \
 
5467
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
5468
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
5469
  LC_TELEPHONE LC_TIME
 
5470
do
 
5471
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
5472
    eval $as_var=C; export $as_var
 
5473
  else
 
5474
    $as_unset $as_var
 
5475
  fi
 
5476
done
 
5477
 
 
5478
# Required to use basename.
 
5479
if expr a : '\(a\)' >/dev/null 2>&1; then
 
5480
  as_expr=expr
 
5481
else
 
5482
  as_expr=false
 
5483
fi
 
5484
 
 
5485
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
5486
  as_basename=basename
 
5487
else
 
5488
  as_basename=false
 
5489
fi
 
5490
 
 
5491
 
 
5492
# Name of the executable.
 
5493
as_me=`$as_basename "$0" ||
 
5494
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
5495
         X"$0" : 'X\(//\)$' \| \
 
5496
         X"$0" : 'X\(/\)$' \| \
 
5497
         .     : '\(.\)' 2>/dev/null ||
 
5498
echo X/"$0" |
 
5499
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
5500
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
5501
          /^X\/\(\/\).*/{ s//\1/; q; }
 
5502
          s/.*/./; q'`
 
5503
 
 
5504
 
 
5505
# PATH needs CR, and LINENO needs CR and PATH.
 
5506
# Avoid depending upon Character Ranges.
 
5507
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
5508
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
5509
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
5510
as_cr_digits='0123456789'
 
5511
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
5512
 
 
5513
# The user is always right.
 
5514
if test "${PATH_SEPARATOR+set}" != set; then
 
5515
  echo "#! /bin/sh" >conf$$.sh
 
5516
  echo  "exit 0"   >>conf$$.sh
 
5517
  chmod +x conf$$.sh
 
5518
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
5519
    PATH_SEPARATOR=';'
 
5520
  else
 
5521
    PATH_SEPARATOR=:
 
5522
  fi
 
5523
  rm -f conf$$.sh
 
5524
fi
 
5525
 
 
5526
 
 
5527
  as_lineno_1=$LINENO
 
5528
  as_lineno_2=$LINENO
 
5529
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
5530
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
5531
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 
5532
  # Find who we are.  Look in the path if we contain no path at all
 
5533
  # relative or not.
 
5534
  case $0 in
 
5535
    *[\\/]* ) as_myself=$0 ;;
 
5536
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5537
for as_dir in $PATH
 
5538
do
 
5539
  IFS=$as_save_IFS
 
5540
  test -z "$as_dir" && as_dir=.
 
5541
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
5542
done
 
5543
 
 
5544
       ;;
 
5545
  esac
 
5546
  # We did not find ourselves, most probably we were run as `sh COMMAND'
 
5547
  # in which case we are not to be found in the path.
 
5548
  if test "x$as_myself" = x; then
 
5549
    as_myself=$0
 
5550
  fi
 
5551
  if test ! -f "$as_myself"; then
 
5552
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
 
5553
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
 
5554
   { (exit 1); exit 1; }; }
 
5555
  fi
 
5556
  case $CONFIG_SHELL in
 
5557
  '')
 
5558
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5559
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
5560
do
 
5561
  IFS=$as_save_IFS
 
5562
  test -z "$as_dir" && as_dir=.
 
5563
  for as_base in sh bash ksh sh5; do
 
5564
         case $as_dir in
 
5565
         /*)
 
5566
           if ("$as_dir/$as_base" -c '
 
5567
  as_lineno_1=$LINENO
 
5568
  as_lineno_2=$LINENO
 
5569
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
5570
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
5571
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
5572
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
5573
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 
5574
             CONFIG_SHELL=$as_dir/$as_base
 
5575
             export CONFIG_SHELL
 
5576
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
5577
           fi;;
 
5578
         esac
 
5579
       done
 
5580
done
 
5581
;;
 
5582
  esac
 
5583
 
 
5584
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
5585
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
5586
  # line-number line before each line; the second 'sed' does the real
 
5587
  # work.  The second script uses 'N' to pair each line-number line
 
5588
  # with the numbered line, and appends trailing '-' during
 
5589
  # substitution so that $LINENO is not a special case at line end.
 
5590
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
5591
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 
5592
  sed '=' <$as_myself |
 
5593
    sed '
 
5594
      N
 
5595
      s,$,-,
 
5596
      : loop
 
5597
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
5598
      t loop
 
5599
      s,-$,,
 
5600
      s,^['$as_cr_digits']*\n,,
 
5601
    ' >$as_me.lineno &&
 
5602
  chmod +x $as_me.lineno ||
 
5603
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
 
5604
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
5605
   { (exit 1); exit 1; }; }
 
5606
 
 
5607
  # Don't try to exec as it changes $[0], causing all sort of problems
 
5608
  # (the dirname of $[0] is not the place where we might find the
 
5609
  # original and so on.  Autoconf is especially sensible to this).
 
5610
  . ./$as_me.lineno
 
5611
  # Exit status is that of the last command.
 
5612
  exit
 
5613
}
 
5614
 
 
5615
 
 
5616
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
5617
  *c*,-n*) ECHO_N= ECHO_C='
 
5618
' ECHO_T='      ' ;;
 
5619
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
5620
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
5621
esac
 
5622
 
 
5623
if expr a : '\(a\)' >/dev/null 2>&1; then
 
5624
  as_expr=expr
 
5625
else
 
5626
  as_expr=false
 
5627
fi
 
5628
 
 
5629
rm -f conf$$ conf$$.exe conf$$.file
 
5630
echo >conf$$.file
 
5631
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
5632
  # We could just check for DJGPP; but this test a) works b) is more generic
 
5633
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 
5634
  if test -f conf$$.exe; then
 
5635
    # Don't use ln at all; we don't have any links
 
5636
    as_ln_s='cp -p'
 
5637
  else
 
5638
    as_ln_s='ln -s'
 
5639
  fi
 
5640
elif ln conf$$.file conf$$ 2>/dev/null; then
 
5641
  as_ln_s=ln
 
5642
else
 
5643
  as_ln_s='cp -p'
 
5644
fi
 
5645
rm -f conf$$ conf$$.exe conf$$.file
 
5646
 
 
5647
if mkdir -p . 2>/dev/null; then
 
5648
  as_mkdir_p=:
 
5649
else
 
5650
  test -d ./-p && rmdir ./-p
 
5651
  as_mkdir_p=false
 
5652
fi
 
5653
 
 
5654
as_executable_p="test -f"
 
5655
 
 
5656
# Sed expression to map a string onto a valid CPP name.
 
5657
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
5658
 
 
5659
# Sed expression to map a string onto a valid variable name.
 
5660
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
5661
 
 
5662
 
 
5663
# IFS
 
5664
# We need space, tab and new line, in precisely that order.
 
5665
as_nl='
 
5666
'
 
5667
IFS="   $as_nl"
 
5668
 
 
5669
# CDPATH.
 
5670
$as_unset CDPATH
 
5671
 
 
5672
exec 6>&1
 
5673
 
 
5674
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
5675
# report actual input values of CONFIG_FILES etc. instead of their
 
5676
# values after options handling.  Logging --version etc. is OK.
 
5677
exec 5>>config.log
 
5678
{
 
5679
  echo
 
5680
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
5681
## Running $as_me. ##
 
5682
_ASBOX
 
5683
} >&5
 
5684
cat >&5 <<_CSEOF
 
5685
 
 
5686
This file was extended by $as_me, which was
 
5687
generated by GNU Autoconf 2.59.  Invocation command line was
 
5688
 
 
5689
  CONFIG_FILES    = $CONFIG_FILES
 
5690
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
5691
  CONFIG_LINKS    = $CONFIG_LINKS
 
5692
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
5693
  $ $0 $@
 
5694
 
 
5695
_CSEOF
 
5696
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
 
5697
echo >&5
 
5698
_ACEOF
 
5699
 
 
5700
# Files that config.status was made for.
 
5701
if test -n "$ac_config_files"; then
 
5702
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
 
5703
fi
 
5704
 
 
5705
if test -n "$ac_config_headers"; then
 
5706
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
 
5707
fi
 
5708
 
 
5709
if test -n "$ac_config_links"; then
 
5710
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
 
5711
fi
 
5712
 
 
5713
if test -n "$ac_config_commands"; then
 
5714
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
 
5715
fi
 
5716
 
 
5717
cat >>$CONFIG_STATUS <<\_ACEOF
 
5718
 
 
5719
ac_cs_usage="\
 
5720
\`$as_me' instantiates files from templates according to the
 
5721
current configuration.
 
5722
 
 
5723
Usage: $0 [OPTIONS] [FILE]...
 
5724
 
 
5725
  -h, --help       print this help, then exit
 
5726
  -V, --version    print version number, then exit
 
5727
  -q, --quiet      do not print progress messages
 
5728
  -d, --debug      don't remove temporary files
 
5729
      --recheck    update $as_me by reconfiguring in the same conditions
 
5730
  --file=FILE[:TEMPLATE]
 
5731
                   instantiate the configuration file FILE
 
5732
  --header=FILE[:TEMPLATE]
 
5733
                   instantiate the configuration header FILE
 
5734
 
 
5735
Configuration files:
 
5736
$config_files
 
5737
 
 
5738
Configuration headers:
 
5739
$config_headers
 
5740
 
 
5741
Configuration commands:
 
5742
$config_commands
 
5743
 
 
5744
Report bugs to <bug-autoconf@gnu.org>."
 
5745
_ACEOF
 
5746
 
 
5747
cat >>$CONFIG_STATUS <<_ACEOF
 
5748
ac_cs_version="\\
 
5749
config.status
 
5750
configured by $0, generated by GNU Autoconf 2.59,
 
5751
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
5752
 
 
5753
Copyright (C) 2003 Free Software Foundation, Inc.
 
5754
This config.status script is free software; the Free Software Foundation
 
5755
gives unlimited permission to copy, distribute and modify it."
 
5756
srcdir=$srcdir
 
5757
INSTALL="$INSTALL"
 
5758
_ACEOF
 
5759
 
 
5760
cat >>$CONFIG_STATUS <<\_ACEOF
 
5761
# If no file are specified by the user, then we need to provide default
 
5762
# value.  By we need to know if files were specified by the user.
 
5763
ac_need_defaults=:
 
5764
while test $# != 0
 
5765
do
 
5766
  case $1 in
 
5767
  --*=*)
 
5768
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
 
5769
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
5770
    ac_shift=:
 
5771
    ;;
 
5772
  -*)
 
5773
    ac_option=$1
 
5774
    ac_optarg=$2
 
5775
    ac_shift=shift
 
5776
    ;;
 
5777
  *) # This is not an option, so the user has probably given explicit
 
5778
     # arguments.
 
5779
     ac_option=$1
 
5780
     ac_need_defaults=false;;
 
5781
  esac
 
5782
 
 
5783
  case $ac_option in
 
5784
  # Handling of the options.
 
5785
_ACEOF
 
5786
cat >>$CONFIG_STATUS <<\_ACEOF
 
5787
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
5788
    ac_cs_recheck=: ;;
 
5789
  --version | --vers* | -V )
 
5790
    echo "$ac_cs_version"; exit 0 ;;
 
5791
  --he | --h)
 
5792
    # Conflict between --help and --header
 
5793
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
 
5794
Try \`$0 --help' for more information." >&5
 
5795
echo "$as_me: error: ambiguous option: $1
 
5796
Try \`$0 --help' for more information." >&2;}
 
5797
   { (exit 1); exit 1; }; };;
 
5798
  --help | --hel | -h )
 
5799
    echo "$ac_cs_usage"; exit 0 ;;
 
5800
  --debug | --d* | -d )
 
5801
    debug=: ;;
 
5802
  --file | --fil | --fi | --f )
 
5803
    $ac_shift
 
5804
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
5805
    ac_need_defaults=false;;
 
5806
  --header | --heade | --head | --hea )
 
5807
    $ac_shift
 
5808
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
5809
    ac_need_defaults=false;;
 
5810
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
5811
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
5812
    ac_cs_silent=: ;;
 
5813
 
 
5814
  # This is an error.
 
5815
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
 
5816
Try \`$0 --help' for more information." >&5
 
5817
echo "$as_me: error: unrecognized option: $1
 
5818
Try \`$0 --help' for more information." >&2;}
 
5819
   { (exit 1); exit 1; }; } ;;
 
5820
 
 
5821
  *) ac_config_targets="$ac_config_targets $1" ;;
 
5822
 
 
5823
  esac
 
5824
  shift
 
5825
done
 
5826
 
 
5827
ac_configure_extra_args=
 
5828
 
 
5829
if $ac_cs_silent; then
 
5830
  exec 6>/dev/null
 
5831
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
5832
fi
 
5833
 
 
5834
_ACEOF
 
5835
cat >>$CONFIG_STATUS <<_ACEOF
 
5836
if \$ac_cs_recheck; then
 
5837
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
5838
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
5839
fi
 
5840
 
 
5841
_ACEOF
 
5842
 
 
5843
cat >>$CONFIG_STATUS <<_ACEOF
 
5844
#
 
5845
# INIT-COMMANDS section.
 
5846
#
 
5847
 
 
5848
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir=${ac_aux_dir}
 
5849
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' ICONV='${INTLTOOL_ICONV}'
 
5850
MSGFMT='${INTLTOOL_MSGFMT}' MSGMERGE='${INTLTOOL_MSGMERGE}'
 
5851
XGETTEXT='${INTLTOOL_XGETTEXT}'
 
5852
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
5853
 
 
5854
 
 
5855
_ACEOF
 
5856
 
 
5857
 
 
5858
 
 
5859
cat >>$CONFIG_STATUS <<\_ACEOF
 
5860
for ac_config_target in $ac_config_targets
 
5861
do
 
5862
  case "$ac_config_target" in
 
5863
  # Handling of arguments.
 
5864
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
5865
  "help/Makefile" ) CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
 
5866
  "help/C/Makefile" ) CONFIG_FILES="$CONFIG_FILES help/C/Makefile" ;;
 
5867
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
5868
  "data/Makefile" ) CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
 
5869
  "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
5870
  "src/update-manager" ) CONFIG_FILES="$CONFIG_FILES src/update-manager" ;;
 
5871
  "gnome-software-properties" ) CONFIG_FILES="$CONFIG_FILES gnome-software-properties" ;;
 
5872
  "SoftwareProperties/Makefile" ) CONFIG_FILES="$CONFIG_FILES SoftwareProperties/Makefile" ;;
 
5873
  "SoftwareProperties/SoftwareProperties.py" ) CONFIG_FILES="$CONFIG_FILES SoftwareProperties/SoftwareProperties.py" ;;
 
5874
  "distribution-data/Makefile" ) CONFIG_FILES="$CONFIG_FILES distribution-data/Makefile" ;;
 
5875
  "Common/Makefile" ) CONFIG_FILES="$CONFIG_FILES Common/Makefile" ;;
 
5876
  "intltool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
 
5877
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
5878
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
5879
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
5880
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
5881
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
5882
   { (exit 1); exit 1; }; };;
 
5883
  esac
 
5884
done
 
5885
 
 
5886
# If the user did not use the arguments to specify the items to instantiate,
 
5887
# then the envvar interface is used.  Set only those that are not.
 
5888
# We use the long form for the default assignment because of an extremely
 
5889
# bizarre bug on SunOS 4.1.3.
 
5890
if $ac_need_defaults; then
 
5891
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
5892
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
5893
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
5894
fi
 
5895
 
 
5896
# Have a temporary directory for convenience.  Make it in the build tree
 
5897
# simply because there is no reason to put it here, and in addition,
 
5898
# creating and moving files from /tmp can sometimes cause problems.
 
5899
# Create a temporary directory, and hook for its removal unless debugging.
 
5900
$debug ||
 
5901
{
 
5902
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
5903
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
5904
}
 
5905
 
 
5906
# Create a (secure) tmp directory for tmp files.
 
5907
 
 
5908
{
 
5909
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
5910
  test -n "$tmp" && test -d "$tmp"
 
5911
}  ||
 
5912
{
 
5913
  tmp=./confstat$$-$RANDOM
 
5914
  (umask 077 && mkdir $tmp)
 
5915
} ||
 
5916
{
 
5917
   echo "$me: cannot create a temporary directory in ." >&2
 
5918
   { (exit 1); exit 1; }
 
5919
}
 
5920
 
 
5921
_ACEOF
 
5922
 
 
5923
cat >>$CONFIG_STATUS <<_ACEOF
 
5924
 
 
5925
#
 
5926
# CONFIG_FILES section.
 
5927
#
 
5928
 
 
5929
# No need to generate the scripts if there are no CONFIG_FILES.
 
5930
# This happens for instance when ./config.status config.h
 
5931
if test -n "\$CONFIG_FILES"; then
 
5932
  # Protect against being on the right side of a sed subst in config.status.
 
5933
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
 
5934
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
 
5935
s,@SHELL@,$SHELL,;t t
 
5936
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
 
5937
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
 
5938
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
 
5939
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
 
5940
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
 
5941
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
 
5942
s,@exec_prefix@,$exec_prefix,;t t
 
5943
s,@prefix@,$prefix,;t t
 
5944
s,@program_transform_name@,$program_transform_name,;t t
 
5945
s,@bindir@,$bindir,;t t
 
5946
s,@sbindir@,$sbindir,;t t
 
5947
s,@libexecdir@,$libexecdir,;t t
 
5948
s,@datadir@,$datadir,;t t
 
5949
s,@sysconfdir@,$sysconfdir,;t t
 
5950
s,@sharedstatedir@,$sharedstatedir,;t t
 
5951
s,@localstatedir@,$localstatedir,;t t
 
5952
s,@libdir@,$libdir,;t t
 
5953
s,@includedir@,$includedir,;t t
 
5954
s,@oldincludedir@,$oldincludedir,;t t
 
5955
s,@infodir@,$infodir,;t t
 
5956
s,@mandir@,$mandir,;t t
 
5957
s,@build_alias@,$build_alias,;t t
 
5958
s,@host_alias@,$host_alias,;t t
 
5959
s,@target_alias@,$target_alias,;t t
 
5960
s,@DEFS@,$DEFS,;t t
 
5961
s,@ECHO_C@,$ECHO_C,;t t
 
5962
s,@ECHO_N@,$ECHO_N,;t t
 
5963
s,@ECHO_T@,$ECHO_T,;t t
 
5964
s,@LIBS@,$LIBS,;t t
 
5965
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
 
5966
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
 
5967
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
 
5968
s,@CYGPATH_W@,$CYGPATH_W,;t t
 
5969
s,@PACKAGE@,$PACKAGE,;t t
 
5970
s,@VERSION@,$VERSION,;t t
 
5971
s,@ACLOCAL@,$ACLOCAL,;t t
 
5972
s,@AUTOCONF@,$AUTOCONF,;t t
 
5973
s,@AUTOMAKE@,$AUTOMAKE,;t t
 
5974
s,@AUTOHEADER@,$AUTOHEADER,;t t
 
5975
s,@MAKEINFO@,$MAKEINFO,;t t
 
5976
s,@install_sh@,$install_sh,;t t
 
5977
s,@STRIP@,$STRIP,;t t
 
5978
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
 
5979
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 
5980
s,@mkdir_p@,$mkdir_p,;t t
 
5981
s,@AWK@,$AWK,;t t
 
5982
s,@SET_MAKE@,$SET_MAKE,;t t
 
5983
s,@am__leading_dot@,$am__leading_dot,;t t
 
5984
s,@AMTAR@,$AMTAR,;t t
 
5985
s,@am__tar@,$am__tar,;t t
 
5986
s,@am__untar@,$am__untar,;t t
 
5987
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
 
5988
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
 
5989
s,@MAINT@,$MAINT,;t t
 
5990
s,@INTLTOOL_DESKTOP_RULE@,$INTLTOOL_DESKTOP_RULE,;t t
 
5991
s,@INTLTOOL_DIRECTORY_RULE@,$INTLTOOL_DIRECTORY_RULE,;t t
 
5992
s,@INTLTOOL_KEYS_RULE@,$INTLTOOL_KEYS_RULE,;t t
 
5993
s,@INTLTOOL_PROP_RULE@,$INTLTOOL_PROP_RULE,;t t
 
5994
s,@INTLTOOL_OAF_RULE@,$INTLTOOL_OAF_RULE,;t t
 
5995
s,@INTLTOOL_PONG_RULE@,$INTLTOOL_PONG_RULE,;t t
 
5996
s,@INTLTOOL_SERVER_RULE@,$INTLTOOL_SERVER_RULE,;t t
 
5997
s,@INTLTOOL_SHEET_RULE@,$INTLTOOL_SHEET_RULE,;t t
 
5998
s,@INTLTOOL_SOUNDLIST_RULE@,$INTLTOOL_SOUNDLIST_RULE,;t t
 
5999
s,@INTLTOOL_UI_RULE@,$INTLTOOL_UI_RULE,;t t
 
6000
s,@INTLTOOL_XAM_RULE@,$INTLTOOL_XAM_RULE,;t t
 
6001
s,@INTLTOOL_KBD_RULE@,$INTLTOOL_KBD_RULE,;t t
 
6002
s,@INTLTOOL_XML_RULE@,$INTLTOOL_XML_RULE,;t t
 
6003
s,@INTLTOOL_XML_NOMERGE_RULE@,$INTLTOOL_XML_NOMERGE_RULE,;t t
 
6004
s,@INTLTOOL_CAVES_RULE@,$INTLTOOL_CAVES_RULE,;t t
 
6005
s,@INTLTOOL_SCHEMAS_RULE@,$INTLTOOL_SCHEMAS_RULE,;t t
 
6006
s,@INTLTOOL_THEME_RULE@,$INTLTOOL_THEME_RULE,;t t
 
6007
s,@INTLTOOL_EXTRACT@,$INTLTOOL_EXTRACT,;t t
 
6008
s,@INTLTOOL_MERGE@,$INTLTOOL_MERGE,;t t
 
6009
s,@INTLTOOL_UPDATE@,$INTLTOOL_UPDATE,;t t
 
6010
s,@INTLTOOL_PERL@,$INTLTOOL_PERL,;t t
 
6011
s,@INTLTOOL_ICONV@,$INTLTOOL_ICONV,;t t
 
6012
s,@INTLTOOL_MSGFMT@,$INTLTOOL_MSGFMT,;t t
 
6013
s,@INTLTOOL_MSGMERGE@,$INTLTOOL_MSGMERGE,;t t
 
6014
s,@INTLTOOL_XGETTEXT@,$INTLTOOL_XGETTEXT,;t t
 
6015
s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
 
6016
s,@CC@,$CC,;t t
 
6017
s,@CFLAGS@,$CFLAGS,;t t
 
6018
s,@LDFLAGS@,$LDFLAGS,;t t
 
6019
s,@CPPFLAGS@,$CPPFLAGS,;t t
 
6020
s,@ac_ct_CC@,$ac_ct_CC,;t t
 
6021
s,@EXEEXT@,$EXEEXT,;t t
 
6022
s,@OBJEXT@,$OBJEXT,;t t
 
6023
s,@DEPDIR@,$DEPDIR,;t t
 
6024
s,@am__include@,$am__include,;t t
 
6025
s,@am__quote@,$am__quote,;t t
 
6026
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
 
6027
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
 
6028
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
 
6029
s,@CCDEPMODE@,$CCDEPMODE,;t t
 
6030
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
 
6031
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
 
6032
s,@CPP@,$CPP,;t t
 
6033
s,@EGREP@,$EGREP,;t t
 
6034
s,@USE_NLS@,$USE_NLS,;t t
 
6035
s,@MSGFMT@,$MSGFMT,;t t
 
6036
s,@GMSGFMT@,$GMSGFMT,;t t
 
6037
s,@XGETTEXT@,$XGETTEXT,;t t
 
6038
s,@CATALOGS@,$CATALOGS,;t t
 
6039
s,@CATOBJEXT@,$CATOBJEXT,;t t
 
6040
s,@DATADIRNAME@,$DATADIRNAME,;t t
 
6041
s,@GMOFILES@,$GMOFILES,;t t
 
6042
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
 
6043
s,@INTLLIBS@,$INTLLIBS,;t t
 
6044
s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t
 
6045
s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t
 
6046
s,@POFILES@,$POFILES,;t t
 
6047
s,@POSUB@,$POSUB,;t t
 
6048
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
 
6049
s,@SCROLLKEEPER_BUILD_REQUIRED@,$SCROLLKEEPER_BUILD_REQUIRED,;t t
 
6050
s,@SCROLLKEEPER_CONFIG@,$SCROLLKEEPER_CONFIG,;t t
 
6051
s,@LIBOBJS@,$LIBOBJS,;t t
 
6052
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
 
6053
CEOF
 
6054
 
 
6055
_ACEOF
 
6056
 
 
6057
  cat >>$CONFIG_STATUS <<\_ACEOF
 
6058
  # Split the substitutions into bite-sized pieces for seds with
 
6059
  # small command number limits, like on Digital OSF/1 and HP-UX.
 
6060
  ac_max_sed_lines=48
 
6061
  ac_sed_frag=1 # Number of current file.
 
6062
  ac_beg=1 # First line for current file.
 
6063
  ac_end=$ac_max_sed_lines # Line after last line for current file.
 
6064
  ac_more_lines=:
 
6065
  ac_sed_cmds=
 
6066
  while $ac_more_lines; do
 
6067
    if test $ac_beg -gt 1; then
 
6068
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
6069
    else
 
6070
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
6071
    fi
 
6072
    if test ! -s $tmp/subs.frag; then
 
6073
      ac_more_lines=false
 
6074
    else
 
6075
      # The purpose of the label and of the branching condition is to
 
6076
      # speed up the sed processing (if there are no `@' at all, there
 
6077
      # is no need to browse any of the substitutions).
 
6078
      # These are the two extra sed commands mentioned above.
 
6079
      (echo ':t
 
6080
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
 
6081
      if test -z "$ac_sed_cmds"; then
 
6082
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
6083
      else
 
6084
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
6085
      fi
 
6086
      ac_sed_frag=`expr $ac_sed_frag + 1`
 
6087
      ac_beg=$ac_end
 
6088
      ac_end=`expr $ac_end + $ac_max_sed_lines`
 
6089
    fi
 
6090
  done
 
6091
  if test -z "$ac_sed_cmds"; then
 
6092
    ac_sed_cmds=cat
 
6093
  fi
 
6094
fi # test -n "$CONFIG_FILES"
 
6095
 
 
6096
_ACEOF
 
6097
cat >>$CONFIG_STATUS <<\_ACEOF
 
6098
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
 
6099
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
6100
  case $ac_file in
 
6101
  - | *:- | *:-:* ) # input from stdin
 
6102
        cat >$tmp/stdin
 
6103
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
6104
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
6105
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
6106
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
6107
  * )   ac_file_in=$ac_file.in ;;
 
6108
  esac
 
6109
 
 
6110
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
 
6111
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
6112
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6113
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
6114
         X"$ac_file" : 'X\(//\)$' \| \
 
6115
         X"$ac_file" : 'X\(/\)' \| \
 
6116
         .     : '\(.\)' 2>/dev/null ||
 
6117
echo X"$ac_file" |
 
6118
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
6119
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
6120
          /^X\(\/\/\)$/{ s//\1/; q; }
 
6121
          /^X\(\/\).*/{ s//\1/; q; }
 
6122
          s/.*/./; q'`
 
6123
  { if $as_mkdir_p; then
 
6124
    mkdir -p "$ac_dir"
 
6125
  else
 
6126
    as_dir="$ac_dir"
 
6127
    as_dirs=
 
6128
    while test ! -d "$as_dir"; do
 
6129
      as_dirs="$as_dir $as_dirs"
 
6130
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
6131
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6132
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
6133
         X"$as_dir" : 'X\(//\)$' \| \
 
6134
         X"$as_dir" : 'X\(/\)' \| \
 
6135
         .     : '\(.\)' 2>/dev/null ||
 
6136
echo X"$as_dir" |
 
6137
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
6138
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
6139
          /^X\(\/\/\)$/{ s//\1/; q; }
 
6140
          /^X\(\/\).*/{ s//\1/; q; }
 
6141
          s/.*/./; q'`
 
6142
    done
 
6143
    test ! -n "$as_dirs" || mkdir $as_dirs
 
6144
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
6145
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
6146
   { (exit 1); exit 1; }; }; }
 
6147
 
 
6148
  ac_builddir=.
 
6149
 
 
6150
if test "$ac_dir" != .; then
 
6151
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
6152
  # A "../" for each directory in $ac_dir_suffix.
 
6153
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
6154
else
 
6155
  ac_dir_suffix= ac_top_builddir=
 
6156
fi
 
6157
 
 
6158
case $srcdir in
 
6159
  .)  # No --srcdir option.  We are building in place.
 
6160
    ac_srcdir=.
 
6161
    if test -z "$ac_top_builddir"; then
 
6162
       ac_top_srcdir=.
 
6163
    else
 
6164
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
6165
    fi ;;
 
6166
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
6167
    ac_srcdir=$srcdir$ac_dir_suffix;
 
6168
    ac_top_srcdir=$srcdir ;;
 
6169
  *) # Relative path.
 
6170
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
6171
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
6172
esac
 
6173
 
 
6174
# Do not use `cd foo && pwd` to compute absolute paths, because
 
6175
# the directories may not exist.
 
6176
case `pwd` in
 
6177
.) ac_abs_builddir="$ac_dir";;
 
6178
*)
 
6179
  case "$ac_dir" in
 
6180
  .) ac_abs_builddir=`pwd`;;
 
6181
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
6182
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
6183
  esac;;
 
6184
esac
 
6185
case $ac_abs_builddir in
 
6186
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
6187
*)
 
6188
  case ${ac_top_builddir}. in
 
6189
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
6190
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
6191
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
6192
  esac;;
 
6193
esac
 
6194
case $ac_abs_builddir in
 
6195
.) ac_abs_srcdir=$ac_srcdir;;
 
6196
*)
 
6197
  case $ac_srcdir in
 
6198
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
6199
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
6200
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
6201
  esac;;
 
6202
esac
 
6203
case $ac_abs_builddir in
 
6204
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
6205
*)
 
6206
  case $ac_top_srcdir in
 
6207
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
6208
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
6209
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
6210
  esac;;
 
6211
esac
 
6212
 
 
6213
 
 
6214
  case $INSTALL in
 
6215
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
6216
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
6217
  esac
 
6218
 
 
6219
  # Let's still pretend it is `configure' which instantiates (i.e., don't
 
6220
  # use $as_me), people would be surprised to read:
 
6221
  #    /* config.h.  Generated by config.status.  */
 
6222
  if test x"$ac_file" = x-; then
 
6223
    configure_input=
 
6224
  else
 
6225
    configure_input="$ac_file.  "
 
6226
  fi
 
6227
  configure_input=$configure_input"Generated from `echo $ac_file_in |
 
6228
                                     sed 's,.*/,,'` by configure."
 
6229
 
 
6230
  # First look for the input files in the build tree, otherwise in the
 
6231
  # src tree.
 
6232
  ac_file_inputs=`IFS=:
 
6233
    for f in $ac_file_in; do
 
6234
      case $f in
 
6235
      -) echo $tmp/stdin ;;
 
6236
      [\\/$]*)
 
6237
         # Absolute (can't be DOS-style, as IFS=:)
 
6238
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
6239
echo "$as_me: error: cannot find input file: $f" >&2;}
 
6240
   { (exit 1); exit 1; }; }
 
6241
         echo "$f";;
 
6242
      *) # Relative
 
6243
         if test -f "$f"; then
 
6244
           # Build tree
 
6245
           echo "$f"
 
6246
         elif test -f "$srcdir/$f"; then
 
6247
           # Source tree
 
6248
           echo "$srcdir/$f"
 
6249
         else
 
6250
           # /dev/null tree
 
6251
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
6252
echo "$as_me: error: cannot find input file: $f" >&2;}
 
6253
   { (exit 1); exit 1; }; }
 
6254
         fi;;
 
6255
      esac
 
6256
    done` || { (exit 1); exit 1; }
 
6257
 
 
6258
  if test x"$ac_file" != x-; then
 
6259
    { echo "$as_me:$LINENO: creating $ac_file" >&5
 
6260
echo "$as_me: creating $ac_file" >&6;}
 
6261
    rm -f "$ac_file"
 
6262
  fi
 
6263
_ACEOF
 
6264
cat >>$CONFIG_STATUS <<_ACEOF
 
6265
  sed "$ac_vpsub
 
6266
$extrasub
 
6267
_ACEOF
 
6268
cat >>$CONFIG_STATUS <<\_ACEOF
 
6269
:t
 
6270
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
6271
s,@configure_input@,$configure_input,;t t
 
6272
s,@srcdir@,$ac_srcdir,;t t
 
6273
s,@abs_srcdir@,$ac_abs_srcdir,;t t
 
6274
s,@top_srcdir@,$ac_top_srcdir,;t t
 
6275
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
 
6276
s,@builddir@,$ac_builddir,;t t
 
6277
s,@abs_builddir@,$ac_abs_builddir,;t t
 
6278
s,@top_builddir@,$ac_top_builddir,;t t
 
6279
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
 
6280
s,@INSTALL@,$ac_INSTALL,;t t
 
6281
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
 
6282
  rm -f $tmp/stdin
 
6283
  if test x"$ac_file" != x-; then
 
6284
    mv $tmp/out $ac_file
 
6285
  else
 
6286
    cat $tmp/out
 
6287
    rm -f $tmp/out
 
6288
  fi
 
6289
 
 
6290
done
 
6291
_ACEOF
 
6292
cat >>$CONFIG_STATUS <<\_ACEOF
 
6293
 
 
6294
#
 
6295
# CONFIG_HEADER section.
 
6296
#
 
6297
 
 
6298
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
 
6299
# NAME is the cpp macro being defined and VALUE is the value it is being given.
 
6300
#
 
6301
# ac_d sets the value in "#define NAME VALUE" lines.
 
6302
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
 
6303
ac_dB='[         ].*$,\1#\2'
 
6304
ac_dC=' '
 
6305
ac_dD=',;t'
 
6306
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
 
6307
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
 
6308
ac_uB='$,\1#\2define\3'
 
6309
ac_uC=' '
 
6310
ac_uD=',;t'
 
6311
 
 
6312
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
 
6313
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
6314
  case $ac_file in
 
6315
  - | *:- | *:-:* ) # input from stdin
 
6316
        cat >$tmp/stdin
 
6317
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
6318
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
6319
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
6320
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
6321
  * )   ac_file_in=$ac_file.in ;;
 
6322
  esac
 
6323
 
 
6324
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
 
6325
echo "$as_me: creating $ac_file" >&6;}
 
6326
 
 
6327
  # First look for the input files in the build tree, otherwise in the
 
6328
  # src tree.
 
6329
  ac_file_inputs=`IFS=:
 
6330
    for f in $ac_file_in; do
 
6331
      case $f in
 
6332
      -) echo $tmp/stdin ;;
 
6333
      [\\/$]*)
 
6334
         # Absolute (can't be DOS-style, as IFS=:)
 
6335
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
6336
echo "$as_me: error: cannot find input file: $f" >&2;}
 
6337
   { (exit 1); exit 1; }; }
 
6338
         # Do quote $f, to prevent DOS paths from being IFS'd.
 
6339
         echo "$f";;
 
6340
      *) # Relative
 
6341
         if test -f "$f"; then
 
6342
           # Build tree
 
6343
           echo "$f"
 
6344
         elif test -f "$srcdir/$f"; then
 
6345
           # Source tree
 
6346
           echo "$srcdir/$f"
 
6347
         else
 
6348
           # /dev/null tree
 
6349
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
6350
echo "$as_me: error: cannot find input file: $f" >&2;}
 
6351
   { (exit 1); exit 1; }; }
 
6352
         fi;;
 
6353
      esac
 
6354
    done` || { (exit 1); exit 1; }
 
6355
  # Remove the trailing spaces.
 
6356
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
 
6357
 
 
6358
_ACEOF
 
6359
 
 
6360
# Transform confdefs.h into two sed scripts, `conftest.defines' and
 
6361
# `conftest.undefs', that substitutes the proper values into
 
6362
# config.h.in to produce config.h.  The first handles `#define'
 
6363
# templates, and the second `#undef' templates.
 
6364
# And first: Protect against being on the right side of a sed subst in
 
6365
# config.status.  Protect against being in an unquoted here document
 
6366
# in config.status.
 
6367
rm -f conftest.defines conftest.undefs
 
6368
# Using a here document instead of a string reduces the quoting nightmare.
 
6369
# Putting comments in sed scripts is not portable.
 
6370
#
 
6371
# `end' is used to avoid that the second main sed command (meant for
 
6372
# 0-ary CPP macros) applies to n-ary macro definitions.
 
6373
# See the Autoconf documentation for `clear'.
 
6374
cat >confdef2sed.sed <<\_ACEOF
 
6375
s/[\\&,]/\\&/g
 
6376
s,[\\$`],\\&,g
 
6377
t clear
 
6378
: clear
 
6379
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 
6380
t end
 
6381
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 
6382
: end
 
6383
_ACEOF
 
6384
# If some macros were called several times there might be several times
 
6385
# the same #defines, which is useless.  Nevertheless, we may not want to
 
6386
# sort them, since we want the *last* AC-DEFINE to be honored.
 
6387
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
 
6388
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
 
6389
rm -f confdef2sed.sed
 
6390
 
 
6391
# This sed command replaces #undef with comments.  This is necessary, for
 
6392
# example, in the case of _POSIX_SOURCE, which is predefined and required
 
6393
# on some systems where configure will not decide to define it.
 
6394
cat >>conftest.undefs <<\_ACEOF
 
6395
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
6396
_ACEOF
 
6397
 
 
6398
# Break up conftest.defines because some shells have a limit on the size
 
6399
# of here documents, and old seds have small limits too (100 cmds).
 
6400
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
 
6401
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 
6402
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
 
6403
echo '  :' >>$CONFIG_STATUS
 
6404
rm -f conftest.tail
 
6405
while grep . conftest.defines >/dev/null
 
6406
do
 
6407
  # Write a limited-size here document to $tmp/defines.sed.
 
6408
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
 
6409
  # Speed up: don't consider the non `#define' lines.
 
6410
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
 
6411
  # Work around the forget-to-reset-the-flag bug.
 
6412
  echo 't clr' >>$CONFIG_STATUS
 
6413
  echo ': clr' >>$CONFIG_STATUS
 
6414
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
6415
  echo 'CEOF
 
6416
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
 
6417
  rm -f $tmp/in
 
6418
  mv $tmp/out $tmp/in
 
6419
' >>$CONFIG_STATUS
 
6420
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
6421
  rm -f conftest.defines
 
6422
  mv conftest.tail conftest.defines
 
6423
done
 
6424
rm -f conftest.defines
 
6425
echo '  fi # grep' >>$CONFIG_STATUS
 
6426
echo >>$CONFIG_STATUS
 
6427
 
 
6428
# Break up conftest.undefs because some shells have a limit on the size
 
6429
# of here documents, and old seds have small limits too (100 cmds).
 
6430
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
 
6431
rm -f conftest.tail
 
6432
while grep . conftest.undefs >/dev/null
 
6433
do
 
6434
  # Write a limited-size here document to $tmp/undefs.sed.
 
6435
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
 
6436
  # Speed up: don't consider the non `#undef'
 
6437
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
 
6438
  # Work around the forget-to-reset-the-flag bug.
 
6439
  echo 't clr' >>$CONFIG_STATUS
 
6440
  echo ': clr' >>$CONFIG_STATUS
 
6441
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
 
6442
  echo 'CEOF
 
6443
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
 
6444
  rm -f $tmp/in
 
6445
  mv $tmp/out $tmp/in
 
6446
' >>$CONFIG_STATUS
 
6447
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
 
6448
  rm -f conftest.undefs
 
6449
  mv conftest.tail conftest.undefs
 
6450
done
 
6451
rm -f conftest.undefs
 
6452
 
 
6453
cat >>$CONFIG_STATUS <<\_ACEOF
 
6454
  # Let's still pretend it is `configure' which instantiates (i.e., don't
 
6455
  # use $as_me), people would be surprised to read:
 
6456
  #    /* config.h.  Generated by config.status.  */
 
6457
  if test x"$ac_file" = x-; then
 
6458
    echo "/* Generated by configure.  */" >$tmp/config.h
 
6459
  else
 
6460
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
 
6461
  fi
 
6462
  cat $tmp/in >>$tmp/config.h
 
6463
  rm -f $tmp/in
 
6464
  if test x"$ac_file" != x-; then
 
6465
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
6466
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
6467
echo "$as_me: $ac_file is unchanged" >&6;}
 
6468
    else
 
6469
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
6470
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6471
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
6472
         X"$ac_file" : 'X\(//\)$' \| \
 
6473
         X"$ac_file" : 'X\(/\)' \| \
 
6474
         .     : '\(.\)' 2>/dev/null ||
 
6475
echo X"$ac_file" |
 
6476
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
6477
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
6478
          /^X\(\/\/\)$/{ s//\1/; q; }
 
6479
          /^X\(\/\).*/{ s//\1/; q; }
 
6480
          s/.*/./; q'`
 
6481
      { if $as_mkdir_p; then
 
6482
    mkdir -p "$ac_dir"
 
6483
  else
 
6484
    as_dir="$ac_dir"
 
6485
    as_dirs=
 
6486
    while test ! -d "$as_dir"; do
 
6487
      as_dirs="$as_dir $as_dirs"
 
6488
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
6489
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6490
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
6491
         X"$as_dir" : 'X\(//\)$' \| \
 
6492
         X"$as_dir" : 'X\(/\)' \| \
 
6493
         .     : '\(.\)' 2>/dev/null ||
 
6494
echo X"$as_dir" |
 
6495
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
6496
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
6497
          /^X\(\/\/\)$/{ s//\1/; q; }
 
6498
          /^X\(\/\).*/{ s//\1/; q; }
 
6499
          s/.*/./; q'`
 
6500
    done
 
6501
    test ! -n "$as_dirs" || mkdir $as_dirs
 
6502
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
6503
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
6504
   { (exit 1); exit 1; }; }; }
 
6505
 
 
6506
      rm -f $ac_file
 
6507
      mv $tmp/config.h $ac_file
 
6508
    fi
 
6509
  else
 
6510
    cat $tmp/config.h
 
6511
    rm -f $tmp/config.h
 
6512
  fi
 
6513
# Compute $ac_file's index in $config_headers.
 
6514
_am_stamp_count=1
 
6515
for _am_header in $config_headers :; do
 
6516
  case $_am_header in
 
6517
    $ac_file | $ac_file:* )
 
6518
      break ;;
 
6519
    * )
 
6520
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
6521
  esac
 
6522
done
 
6523
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
6524
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6525
         X$ac_file : 'X\(//\)[^/]' \| \
 
6526
         X$ac_file : 'X\(//\)$' \| \
 
6527
         X$ac_file : 'X\(/\)' \| \
 
6528
         .     : '\(.\)' 2>/dev/null ||
 
6529
echo X$ac_file |
 
6530
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
6531
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
6532
          /^X\(\/\/\)$/{ s//\1/; q; }
 
6533
          /^X\(\/\).*/{ s//\1/; q; }
 
6534
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
6535
done
 
6536
_ACEOF
 
6537
cat >>$CONFIG_STATUS <<\_ACEOF
 
6538
 
 
6539
#
 
6540
# CONFIG_COMMANDS section.
 
6541
#
 
6542
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
 
6543
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
 
6544
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
6545
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
 
6546
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6547
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
6548
         X"$ac_dest" : 'X\(//\)$' \| \
 
6549
         X"$ac_dest" : 'X\(/\)' \| \
 
6550
         .     : '\(.\)' 2>/dev/null ||
 
6551
echo X"$ac_dest" |
 
6552
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
6553
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
6554
          /^X\(\/\/\)$/{ s//\1/; q; }
 
6555
          /^X\(\/\).*/{ s//\1/; q; }
 
6556
          s/.*/./; q'`
 
6557
  { if $as_mkdir_p; then
 
6558
    mkdir -p "$ac_dir"
 
6559
  else
 
6560
    as_dir="$ac_dir"
 
6561
    as_dirs=
 
6562
    while test ! -d "$as_dir"; do
 
6563
      as_dirs="$as_dir $as_dirs"
 
6564
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
6565
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6566
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
6567
         X"$as_dir" : 'X\(//\)$' \| \
 
6568
         X"$as_dir" : 'X\(/\)' \| \
 
6569
         .     : '\(.\)' 2>/dev/null ||
 
6570
echo X"$as_dir" |
 
6571
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
6572
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
6573
          /^X\(\/\/\)$/{ s//\1/; q; }
 
6574
          /^X\(\/\).*/{ s//\1/; q; }
 
6575
          s/.*/./; q'`
 
6576
    done
 
6577
    test ! -n "$as_dirs" || mkdir $as_dirs
 
6578
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
6579
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
6580
   { (exit 1); exit 1; }; }; }
 
6581
 
 
6582
  ac_builddir=.
 
6583
 
 
6584
if test "$ac_dir" != .; then
 
6585
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
6586
  # A "../" for each directory in $ac_dir_suffix.
 
6587
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
6588
else
 
6589
  ac_dir_suffix= ac_top_builddir=
 
6590
fi
 
6591
 
 
6592
case $srcdir in
 
6593
  .)  # No --srcdir option.  We are building in place.
 
6594
    ac_srcdir=.
 
6595
    if test -z "$ac_top_builddir"; then
 
6596
       ac_top_srcdir=.
 
6597
    else
 
6598
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
6599
    fi ;;
 
6600
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
6601
    ac_srcdir=$srcdir$ac_dir_suffix;
 
6602
    ac_top_srcdir=$srcdir ;;
 
6603
  *) # Relative path.
 
6604
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
6605
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
6606
esac
 
6607
 
 
6608
# Do not use `cd foo && pwd` to compute absolute paths, because
 
6609
# the directories may not exist.
 
6610
case `pwd` in
 
6611
.) ac_abs_builddir="$ac_dir";;
 
6612
*)
 
6613
  case "$ac_dir" in
 
6614
  .) ac_abs_builddir=`pwd`;;
 
6615
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
6616
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
6617
  esac;;
 
6618
esac
 
6619
case $ac_abs_builddir in
 
6620
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
6621
*)
 
6622
  case ${ac_top_builddir}. in
 
6623
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
6624
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
6625
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
6626
  esac;;
 
6627
esac
 
6628
case $ac_abs_builddir in
 
6629
.) ac_abs_srcdir=$ac_srcdir;;
 
6630
*)
 
6631
  case $ac_srcdir in
 
6632
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
6633
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
6634
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
6635
  esac;;
 
6636
esac
 
6637
case $ac_abs_builddir in
 
6638
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
6639
*)
 
6640
  case $ac_top_srcdir in
 
6641
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
6642
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
6643
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
6644
  esac;;
 
6645
esac
 
6646
 
 
6647
 
 
6648
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
 
6649
echo "$as_me: executing $ac_dest commands" >&6;}
 
6650
  case $ac_dest in
 
6651
    intltool )
 
6652
 
 
6653
intltool_edit="-e 's#@INTLTOOL_EXTRACT@#`pwd`/intltool-extract#g' \
 
6654
               -e 's#@INTLTOOL_ICONV@#${INTLTOOL_ICONV}#g' \
 
6655
               -e 's#@INTLTOOL_MSGFMT@#${INTLTOOL_MSGFMT}#g' \
 
6656
               -e 's#@INTLTOOL_MSGMERGE@#${INTLTOOL_MSGMERGE}#g' \
 
6657
               -e 's#@INTLTOOL_XGETTEXT@#${INTLTOOL_XGETTEXT}#g' \
 
6658
               -e 's#@INTLTOOL_PERL@#${INTLTOOL_PERL}#g'"
 
6659
 
 
6660
eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-extract.in \
 
6661
  > intltool-extract.out
 
6662
if cmp -s intltool-extract intltool-extract.out 2>/dev/null; then
 
6663
  rm -f intltool-extract.out
 
6664
else
 
6665
  mv -f intltool-extract.out intltool-extract
 
6666
fi
 
6667
chmod ugo+x intltool-extract
 
6668
chmod u+w intltool-extract
 
6669
 
 
6670
eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-merge.in \
 
6671
  > intltool-merge.out
 
6672
if cmp -s intltool-merge intltool-merge.out 2>/dev/null; then
 
6673
  rm -f intltool-merge.out
 
6674
else
 
6675
  mv -f intltool-merge.out intltool-merge
 
6676
fi
 
6677
chmod ugo+x intltool-merge
 
6678
chmod u+w intltool-merge
 
6679
 
 
6680
eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-update.in \
 
6681
  > intltool-update.out
 
6682
if cmp -s intltool-update intltool-update.out 2>/dev/null; then
 
6683
  rm -f intltool-update.out
 
6684
else
 
6685
  mv -f intltool-update.out intltool-update
 
6686
fi
 
6687
chmod ugo+x intltool-update
 
6688
chmod u+w intltool-update
 
6689
 
 
6690
 ;;
 
6691
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
6692
  # Strip MF so we end up with the name of the file.
 
6693
  mf=`echo "$mf" | sed -e 's/:.*$//'`
 
6694
  # Check whether this is an Automake generated Makefile or not.
 
6695
  # We used to match only the files named `Makefile.in', but
 
6696
  # some people rename them; so instead we look at the file content.
 
6697
  # Grep'ing the first line is not enough: some people post-process
 
6698
  # each Makefile.in and add a new line on top of each file to say so.
 
6699
  # So let's grep whole file.
 
6700
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
6701
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
6702
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6703
         X"$mf" : 'X\(//\)[^/]' \| \
 
6704
         X"$mf" : 'X\(//\)$' \| \
 
6705
         X"$mf" : 'X\(/\)' \| \
 
6706
         .     : '\(.\)' 2>/dev/null ||
 
6707
echo X"$mf" |
 
6708
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
6709
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
6710
          /^X\(\/\/\)$/{ s//\1/; q; }
 
6711
          /^X\(\/\).*/{ s//\1/; q; }
 
6712
          s/.*/./; q'`
 
6713
  else
 
6714
    continue
 
6715
  fi
 
6716
  # Extract the definition of DEPDIR, am__include, and am__quote
 
6717
  # from the Makefile without running `make'.
 
6718
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
6719
  test -z "$DEPDIR" && continue
 
6720
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
6721
  test -z "am__include" && continue
 
6722
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
6723
  # When using ansi2knr, U may be empty or an underscore; expand it
 
6724
  U=`sed -n 's/^U = //p' < "$mf"`
 
6725
  # Find all dependency output files, they are included files with
 
6726
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
6727
  # simplest approach to changing $(DEPDIR) to its actual value in the
 
6728
  # expansion.
 
6729
  for file in `sed -n "
 
6730
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
6731
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
6732
    # Make sure the directory exists.
 
6733
    test -f "$dirpart/$file" && continue
 
6734
    fdir=`(dirname "$file") 2>/dev/null ||
 
6735
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6736
         X"$file" : 'X\(//\)[^/]' \| \
 
6737
         X"$file" : 'X\(//\)$' \| \
 
6738
         X"$file" : 'X\(/\)' \| \
 
6739
         .     : '\(.\)' 2>/dev/null ||
 
6740
echo X"$file" |
 
6741
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
6742
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
6743
          /^X\(\/\/\)$/{ s//\1/; q; }
 
6744
          /^X\(\/\).*/{ s//\1/; q; }
 
6745
          s/.*/./; q'`
 
6746
    { if $as_mkdir_p; then
 
6747
    mkdir -p $dirpart/$fdir
 
6748
  else
 
6749
    as_dir=$dirpart/$fdir
 
6750
    as_dirs=
 
6751
    while test ! -d "$as_dir"; do
 
6752
      as_dirs="$as_dir $as_dirs"
 
6753
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
6754
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
6755
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
6756
         X"$as_dir" : 'X\(//\)$' \| \
 
6757
         X"$as_dir" : 'X\(/\)' \| \
 
6758
         .     : '\(.\)' 2>/dev/null ||
 
6759
echo X"$as_dir" |
 
6760
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
6761
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
6762
          /^X\(\/\/\)$/{ s//\1/; q; }
 
6763
          /^X\(\/\).*/{ s//\1/; q; }
 
6764
          s/.*/./; q'`
 
6765
    done
 
6766
    test ! -n "$as_dirs" || mkdir $as_dirs
 
6767
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
 
6768
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
6769
   { (exit 1); exit 1; }; }; }
 
6770
 
 
6771
    # echo "creating $dirpart/$file"
 
6772
    echo '# dummy' > "$dirpart/$file"
 
6773
  done
 
6774
done
 
6775
 ;;
 
6776
    default-1 ) case "$CONFIG_FILES" in *po/Makefile.in*)
 
6777
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
 
6778
      esac ;;
 
6779
  esac
 
6780
done
 
6781
_ACEOF
 
6782
 
 
6783
cat >>$CONFIG_STATUS <<\_ACEOF
 
6784
 
 
6785
{ (exit 0); exit 0; }
 
6786
_ACEOF
 
6787
chmod +x $CONFIG_STATUS
 
6788
ac_clean_files=$ac_clean_files_save
 
6789
 
 
6790
 
 
6791
# configure is writing to config.log, and then calls config.status.
 
6792
# config.status does its own redirection, appending to config.log.
 
6793
# Unfortunately, on DOS this fails, as config.log is still kept open
 
6794
# by configure, so config.status won't be able to write to it; its
 
6795
# output is simply discarded.  So we exec the FD to /dev/null,
 
6796
# effectively closing config.log, so it can be properly (re)opened and
 
6797
# appended to by config.status.  When coming back to configure, we
 
6798
# need to make the FD available again.
 
6799
if test "$no_create" != yes; then
 
6800
  ac_cs_success=:
 
6801
  ac_config_status_args=
 
6802
  test "$silent" = yes &&
 
6803
    ac_config_status_args="$ac_config_status_args --quiet"
 
6804
  exec 5>/dev/null
 
6805
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
6806
  exec 5>>config.log
 
6807
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
6808
  # would make configure fail if this is the last instruction.
 
6809
  $ac_cs_success || { (exit 1); exit 1; }
 
6810
fi
 
6811