~ubuntu-branches/ubuntu/hardy/gnomad2/hardy

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Shaun Jackman
  • Date: 2004-10-25 10:24:21 UTC
  • Revision ID: james.westby@ubuntu.com-20041025102421-hnnl6uzlkutcibvi
Tags: upstream-2.5.0
ImportĀ upstreamĀ versionĀ 2.5.0

Show diffs side-by-side

added added

removed removed

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