~ubuntu-branches/ubuntu/utopic/libexif-gtk/utopic

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Frederic Peters
  • Date: 2004-10-17 12:37:39 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20041017123739-e1mrx18xphkrsigs
Tags: 0.3.3-6
Adopted package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
 
 
3
2
# Guess values for system-dependent variables and create Makefiles.
4
 
# Generated automatically using autoconf version 2.13 
5
 
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
 
3
# Generated by GNU Autoconf 2.54.
6
4
#
 
5
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
 
6
# Free Software Foundation, Inc.
7
7
# This configure script is free software; the Free Software Foundation
8
8
# gives unlimited permission to copy, distribute and modify it.
9
 
 
10
 
# Defaults:
11
 
ac_help=
12
 
ac_default_prefix=/usr/local
13
 
# Any additions from configure.in:
14
 
ac_help="$ac_help
15
 
  --enable-maintainer-mode enable make rules and dependencies not useful
16
 
                          (and sometimes confusing) to the casual installer"
17
 
ac_help="$ac_help
18
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]"
19
 
ac_help="$ac_help
20
 
  --enable-static[=PKGS]  build static libraries [default=yes]"
21
 
ac_help="$ac_help
22
 
  --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]"
23
 
ac_help="$ac_help
24
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]"
 
9
## --------------------- ##
 
10
## M4sh Initialization.  ##
 
11
## --------------------- ##
 
12
 
 
13
# Be Bourne compatible
 
14
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
15
  emulate sh
 
16
  NULLCMD=:
 
17
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
18
  # is contrary to our usage.  Disable this feature.
 
19
  alias -g '${1+"$@"}'='"$@"'
 
20
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 
21
  set -o posix
 
22
fi
 
23
 
 
24
# Support unset when possible.
 
25
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
26
  as_unset=unset
 
27
else
 
28
  as_unset=false
 
29
fi
 
30
 
 
31
 
 
32
# Work around bugs in pre-3.0 UWIN ksh.
 
33
$as_unset ENV MAIL MAILPATH
 
34
PS1='$ '
 
35
PS2='> '
 
36
PS4='+ '
 
37
 
 
38
# NLS nuisances.
 
39
for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
 
40
do
 
41
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
42
    eval $as_var=C; export $as_var
 
43
  else
 
44
    $as_unset $as_var
 
45
  fi
 
46
done
 
47
 
 
48
# Required to use basename.
 
49
if expr a : '\(a\)' >/dev/null 2>&1; then
 
50
  as_expr=expr
 
51
else
 
52
  as_expr=false
 
53
fi
 
54
 
 
55
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
56
  as_basename=basename
 
57
else
 
58
  as_basename=false
 
59
fi
 
60
 
 
61
 
 
62
# Name of the executable.
 
63
as_me=`$as_basename "$0" ||
 
64
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
65
         X"$0" : 'X\(//\)$' \| \
 
66
         X"$0" : 'X\(/\)$' \| \
 
67
         .     : '\(.\)' 2>/dev/null ||
 
68
echo X/"$0" |
 
69
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
70
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
71
          /^X\/\(\/\).*/{ s//\1/; q; }
 
72
          s/.*/./; q'`
 
73
 
 
74
 
 
75
# PATH needs CR, and LINENO needs CR and PATH.
 
76
# Avoid depending upon Character Ranges.
 
77
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
78
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
79
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
80
as_cr_digits='0123456789'
 
81
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
82
 
 
83
# The user is always right.
 
84
if test "${PATH_SEPARATOR+set}" != set; then
 
85
  echo "#! /bin/sh" >conftest.sh
 
86
  echo  "exit 0"   >>conftest.sh
 
87
  chmod +x conftest.sh
 
88
  if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
 
89
    PATH_SEPARATOR=';'
 
90
  else
 
91
    PATH_SEPARATOR=:
 
92
  fi
 
93
  rm -f conftest.sh
 
94
fi
 
95
 
 
96
 
 
97
  as_lineno_1=$LINENO
 
98
  as_lineno_2=$LINENO
 
99
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
100
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
101
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 
102
  # Find who we are.  Look in the path if we contain no path at all
 
103
  # relative or not.
 
104
  case $0 in
 
105
    *[\\/]* ) as_myself=$0 ;;
 
106
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
107
for as_dir in $PATH
 
108
do
 
109
  IFS=$as_save_IFS
 
110
  test -z "$as_dir" && as_dir=.
 
111
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
112
done
 
113
 
 
114
       ;;
 
115
  esac
 
116
  # We did not find ourselves, most probably we were run as `sh COMMAND'
 
117
  # in which case we are not to be found in the path.
 
118
  if test "x$as_myself" = x; then
 
119
    as_myself=$0
 
120
  fi
 
121
  if test ! -f "$as_myself"; then
 
122
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
 
123
   { (exit 1); exit 1; }; }
 
124
  fi
 
125
  case $CONFIG_SHELL in
 
126
  '')
 
127
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
128
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
129
do
 
130
  IFS=$as_save_IFS
 
131
  test -z "$as_dir" && as_dir=.
 
132
  for as_base in sh bash ksh sh5; do
 
133
         case $as_dir in
 
134
         /*)
 
135
           if ("$as_dir/$as_base" -c '
 
136
  as_lineno_1=$LINENO
 
137
  as_lineno_2=$LINENO
 
138
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
139
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
140
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
141
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
142
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 
143
             CONFIG_SHELL=$as_dir/$as_base
 
144
             export CONFIG_SHELL
 
145
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
146
           fi;;
 
147
         esac
 
148
       done
 
149
done
 
150
;;
 
151
  esac
 
152
 
 
153
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
154
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
155
  # line-number line before each line; the second 'sed' does the real
 
156
  # work.  The second script uses 'N' to pair each line-number line
 
157
  # with the numbered line, and appends trailing '-' during
 
158
  # substitution so that $LINENO is not a special case at line end.
 
159
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
160
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 
161
  sed '=' <$as_myself |
 
162
    sed '
 
163
      N
 
164
      s,$,-,
 
165
      : loop
 
166
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
167
      t loop
 
168
      s,-$,,
 
169
      s,^['$as_cr_digits']*\n,,
 
170
    ' >$as_me.lineno &&
 
171
  chmod +x $as_me.lineno ||
 
172
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
173
   { (exit 1); exit 1; }; }
 
174
 
 
175
  # Don't try to exec as it changes $[0], causing all sort of problems
 
176
  # (the dirname of $[0] is not the place where we might find the
 
177
  # original and so on.  Autoconf is especially sensible to this).
 
178
  . ./$as_me.lineno
 
179
  # Exit status is that of the last command.
 
180
  exit
 
181
}
 
182
 
 
183
 
 
184
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
185
  *c*,-n*) ECHO_N= ECHO_C='
 
186
' ECHO_T='      ' ;;
 
187
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
188
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
189
esac
 
190
 
 
191
if expr a : '\(a\)' >/dev/null 2>&1; then
 
192
  as_expr=expr
 
193
else
 
194
  as_expr=false
 
195
fi
 
196
 
 
197
rm -f conf$$ conf$$.exe conf$$.file
 
198
echo >conf$$.file
 
199
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
200
  # We could just check for DJGPP; but this test a) works b) is more generic
 
201
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 
202
  if test -f conf$$.exe; then
 
203
    # Don't use ln at all; we don't have any links
 
204
    as_ln_s='cp -p'
 
205
  else
 
206
    as_ln_s='ln -s'
 
207
  fi
 
208
elif ln conf$$.file conf$$ 2>/dev/null; then
 
209
  as_ln_s=ln
 
210
else
 
211
  as_ln_s='cp -p'
 
212
fi
 
213
rm -f conf$$ conf$$.exe conf$$.file
 
214
 
 
215
if mkdir -p . 2>/dev/null; then
 
216
  as_mkdir_p=:
 
217
else
 
218
  as_mkdir_p=false
 
219
fi
 
220
 
 
221
as_executable_p="test -f"
 
222
 
 
223
# Sed expression to map a string onto a valid CPP name.
 
224
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
225
 
 
226
# Sed expression to map a string onto a valid variable name.
 
227
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
228
 
 
229
 
 
230
# IFS
 
231
# We need space, tab and new line, in precisely that order.
 
232
as_nl='
 
233
'
 
234
IFS="   $as_nl"
 
235
 
 
236
# CDPATH.
 
237
$as_unset CDPATH
 
238
 
25
239
 
26
240
# Find the correct PATH separator.  Usually this is `:', but
27
241
# DJGPP uses `;' like DOS.
31
245
    *-DOS) lt_cv_sys_path_separator=';' ;;
32
246
    *)     lt_cv_sys_path_separator=':' ;;
33
247
  esac
34
 
  PATH_SEPARATOR=$lt_cv_sys_path_separator
35
248
fi
36
249
 
37
250
 
98
311
  #
99
312
  # So, first we look for a working echo in the user's PATH.
100
313
 
101
 
  IFS="${IFS=   }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
314
  IFS="${IFS=   }"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
102
315
  for dir in $PATH /usr/ucb; do
103
316
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
104
317
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
181
394
fi
182
395
 
183
396
 
184
 
ac_help="$ac_help
185
 
  --disable-libtool-lock  avoid locking (might break parallel builds)"
186
 
ac_help="$ac_help
187
 
  --with-pic              try to use only PIC/non-PIC objects [default=use both]"
 
397
 
 
398
# Name of the host.
 
399
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
400
# so uname gets run too.
 
401
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
402
 
 
403
exec 6>&1
 
404
 
 
405
#
 
406
# Initializations.
 
407
#
 
408
ac_default_prefix=/usr/local
 
409
ac_config_libobj_dir=.
 
410
cross_compiling=no
 
411
subdirs=
 
412
MFLAGS=
 
413
MAKEFLAGS=
 
414
SHELL=${CONFIG_SHELL-/bin/sh}
 
415
 
 
416
# Maximum number of lines to put in a shell here document.
 
417
# This variable seems obsolete.  It should probably be removed, and
 
418
# only ac_max_sed_lines should be used.
 
419
: ${ac_max_here_lines=38}
 
420
 
 
421
# Identity of this package.
 
422
PACKAGE_NAME=
 
423
PACKAGE_TARNAME=
 
424
PACKAGE_VERSION=
 
425
PACKAGE_STRING=
 
426
PACKAGE_BUGREPORT=
 
427
 
 
428
ac_unique_file="libexif-gtk/gtk-exif-browser.c"
 
429
# Factoring default headers for most tests.
 
430
ac_includes_default="\
 
431
#include <stdio.h>
 
432
#if HAVE_SYS_TYPES_H
 
433
# include <sys/types.h>
 
434
#endif
 
435
#if HAVE_SYS_STAT_H
 
436
# include <sys/stat.h>
 
437
#endif
 
438
#if STDC_HEADERS
 
439
# include <stdlib.h>
 
440
# include <stddef.h>
 
441
#else
 
442
# if HAVE_STDLIB_H
 
443
#  include <stdlib.h>
 
444
# endif
 
445
#endif
 
446
#if HAVE_STRING_H
 
447
# if !STDC_HEADERS && HAVE_MEMORY_H
 
448
#  include <memory.h>
 
449
# endif
 
450
# include <string.h>
 
451
#endif
 
452
#if HAVE_STRINGS_H
 
453
# include <strings.h>
 
454
#endif
 
455
#if HAVE_INTTYPES_H
 
456
# include <inttypes.h>
 
457
#else
 
458
# if HAVE_STDINT_H
 
459
#  include <stdint.h>
 
460
# endif
 
461
#endif
 
462
#if HAVE_UNISTD_H
 
463
# include <unistd.h>
 
464
#endif"
 
465
 
 
466
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 PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE CPP EGREP LIBEXIF_GTK_AGE LIBEXIF_GTK_REVISION LIBEXIF_GTK_CURRENT LIBEXIF_GTK_VERSION_INFO build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB LIBTOOL MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE ALLOCA GLIBC21 LIBICONV LTLIBICONV INTLBISON USE_NLS BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT INTLOBJS DATADIRNAME INSTOBJEXT GENCAT INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB PKG_CONFIG LIBEXIF_GTK_CFLAGS LIBEXIF_GTK_LIBS GTK_CFLAGS GTK_LIBS LIBOBJS LTLIBOBJS'
 
467
ac_subst_files=''
188
468
 
189
469
# Initialize some variables set by options.
 
470
ac_init_help=
 
471
ac_init_version=false
190
472
# The variables have the same names as the options, with
191
473
# dashes changed to underlines.
192
 
build=NONE
193
 
cache_file=./config.cache
 
474
cache_file=/dev/null
194
475
exec_prefix=NONE
195
 
host=NONE
196
476
no_create=
197
 
nonopt=NONE
198
477
no_recursion=
199
478
prefix=NONE
200
479
program_prefix=NONE
203
482
silent=
204
483
site=
205
484
srcdir=
206
 
target=NONE
207
485
verbose=
208
486
x_includes=NONE
209
487
x_libraries=NONE
 
488
 
 
489
# Installation directory options.
 
490
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
491
# and all the variables that are supposed to be based on exec_prefix
 
492
# by default will actually change.
 
493
# Use braces instead of parens because sh, perl, etc. also accept them.
210
494
bindir='${exec_prefix}/bin'
211
495
sbindir='${exec_prefix}/sbin'
212
496
libexecdir='${exec_prefix}/libexec'
220
504
infodir='${prefix}/info'
221
505
mandir='${prefix}/man'
222
506
 
223
 
# Initialize some other variables.
224
 
subdirs=
225
 
MFLAGS= MAKEFLAGS=
226
 
SHELL=${CONFIG_SHELL-/bin/sh}
227
 
# Maximum number of lines to put in a shell here document.
228
 
ac_max_here_lines=12
229
 
 
230
507
ac_prev=
231
508
for ac_option
232
509
do
233
 
 
234
510
  # If the previous option needs an argument, assign it.
235
511
  if test -n "$ac_prev"; then
236
512
    eval "$ac_prev=\$ac_option"
238
514
    continue
239
515
  fi
240
516
 
241
 
  case "$ac_option" in
242
 
  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
243
 
  *) ac_optarg= ;;
244
 
  esac
 
517
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
245
518
 
246
519
  # Accept the important Cygnus configure options, so we can diagnose typos.
247
520
 
248
 
  case "$ac_option" in
 
521
  case $ac_option in
249
522
 
250
523
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
251
524
    ac_prev=bindir ;;
252
525
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
253
 
    bindir="$ac_optarg" ;;
 
526
    bindir=$ac_optarg ;;
254
527
 
255
528
  -build | --build | --buil | --bui | --bu)
256
 
    ac_prev=build ;;
 
529
    ac_prev=build_alias ;;
257
530
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
258
 
    build="$ac_optarg" ;;
 
531
    build_alias=$ac_optarg ;;
259
532
 
260
533
  -cache-file | --cache-file | --cache-fil | --cache-fi \
261
534
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
262
535
    ac_prev=cache_file ;;
263
536
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
264
537
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
265
 
    cache_file="$ac_optarg" ;;
 
538
    cache_file=$ac_optarg ;;
 
539
 
 
540
  --config-cache | -C)
 
541
    cache_file=config.cache ;;
266
542
 
267
543
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
268
544
    ac_prev=datadir ;;
269
545
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
270
546
  | --da=*)
271
 
    datadir="$ac_optarg" ;;
 
547
    datadir=$ac_optarg ;;
272
548
 
273
549
  -disable-* | --disable-*)
274
 
    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
 
550
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
275
551
    # Reject names that are not valid shell variable names.
276
 
    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
277
 
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
278
 
    fi
279
 
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
280
 
    eval "enable_${ac_feature}=no" ;;
 
552
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
553
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
554
   { (exit 1); exit 1; }; }
 
555
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
556
    eval "enable_$ac_feature=no" ;;
281
557
 
282
558
  -enable-* | --enable-*)
283
 
    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
 
559
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
284
560
    # Reject names that are not valid shell variable names.
285
 
    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
286
 
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
287
 
    fi
288
 
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
289
 
    case "$ac_option" in
290
 
      *=*) ;;
 
561
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
562
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
563
   { (exit 1); exit 1; }; }
 
564
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
565
    case $ac_option in
 
566
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
291
567
      *) ac_optarg=yes ;;
292
568
    esac
293
 
    eval "enable_${ac_feature}='$ac_optarg'" ;;
 
569
    eval "enable_$ac_feature='$ac_optarg'" ;;
294
570
 
295
571
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
296
572
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
299
575
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
300
576
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
301
577
  | --exec=* | --exe=* | --ex=*)
302
 
    exec_prefix="$ac_optarg" ;;
 
578
    exec_prefix=$ac_optarg ;;
303
579
 
304
580
  -gas | --gas | --ga | --g)
305
581
    # Obsolete; use --with-gas.
306
582
    with_gas=yes ;;
307
583
 
308
 
  -help | --help | --hel | --he)
309
 
    # Omit some internal or obsolete options to make the list less imposing.
310
 
    # This message is too long to be a string in the A/UX 3.1 sh.
311
 
    cat << EOF
312
 
Usage: configure [options] [host]
313
 
Options: [defaults in brackets after descriptions]
314
 
Configuration:
315
 
  --cache-file=FILE       cache test results in FILE
316
 
  --help                  print this message
317
 
  --no-create             do not create output files
318
 
  --quiet, --silent       do not print \`checking...' messages
319
 
  --version               print the version of autoconf that created configure
320
 
Directory and file names:
321
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
322
 
                          [$ac_default_prefix]
323
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
324
 
                          [same as prefix]
325
 
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
326
 
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
327
 
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
328
 
  --datadir=DIR           read-only architecture-independent data in DIR
329
 
                          [PREFIX/share]
330
 
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
331
 
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
332
 
                          [PREFIX/com]
333
 
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
334
 
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
335
 
  --includedir=DIR        C header files in DIR [PREFIX/include]
336
 
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
337
 
  --infodir=DIR           info documentation in DIR [PREFIX/info]
338
 
  --mandir=DIR            man documentation in DIR [PREFIX/man]
339
 
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
340
 
  --program-prefix=PREFIX prepend PREFIX to installed program names
341
 
  --program-suffix=SUFFIX append SUFFIX to installed program names
342
 
  --program-transform-name=PROGRAM
343
 
                          run sed PROGRAM on installed program names
344
 
EOF
345
 
    cat << EOF
346
 
Host type:
347
 
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
348
 
  --host=HOST             configure for HOST [guessed]
349
 
  --target=TARGET         configure for TARGET [TARGET=HOST]
350
 
Features and packages:
351
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
352
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
353
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
354
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
355
 
  --x-includes=DIR        X include files are in DIR
356
 
  --x-libraries=DIR       X library files are in DIR
357
 
EOF
358
 
    if test -n "$ac_help"; then
359
 
      echo "--enable and --with options recognized:$ac_help"
360
 
    fi
361
 
    exit 0 ;;
 
584
  -help | --help | --hel | --he | -h)
 
585
    ac_init_help=long ;;
 
586
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
587
    ac_init_help=recursive ;;
 
588
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
589
    ac_init_help=short ;;
362
590
 
363
591
  -host | --host | --hos | --ho)
364
 
    ac_prev=host ;;
 
592
    ac_prev=host_alias ;;
365
593
  -host=* | --host=* | --hos=* | --ho=*)
366
 
    host="$ac_optarg" ;;
 
594
    host_alias=$ac_optarg ;;
367
595
 
368
596
  -includedir | --includedir | --includedi | --included | --include \
369
597
  | --includ | --inclu | --incl | --inc)
370
598
    ac_prev=includedir ;;
371
599
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
372
600
  | --includ=* | --inclu=* | --incl=* | --inc=*)
373
 
    includedir="$ac_optarg" ;;
 
601
    includedir=$ac_optarg ;;
374
602
 
375
603
  -infodir | --infodir | --infodi | --infod | --info | --inf)
376
604
    ac_prev=infodir ;;
377
605
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
378
 
    infodir="$ac_optarg" ;;
 
606
    infodir=$ac_optarg ;;
379
607
 
380
608
  -libdir | --libdir | --libdi | --libd)
381
609
    ac_prev=libdir ;;
382
610
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
383
 
    libdir="$ac_optarg" ;;
 
611
    libdir=$ac_optarg ;;
384
612
 
385
613
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
386
614
  | --libexe | --libex | --libe)
387
615
    ac_prev=libexecdir ;;
388
616
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
389
617
  | --libexe=* | --libex=* | --libe=*)
390
 
    libexecdir="$ac_optarg" ;;
 
618
    libexecdir=$ac_optarg ;;
391
619
 
392
620
  -localstatedir | --localstatedir | --localstatedi | --localstated \
393
621
  | --localstate | --localstat | --localsta | --localst \
396
624
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
397
625
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
398
626
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
399
 
    localstatedir="$ac_optarg" ;;
 
627
    localstatedir=$ac_optarg ;;
400
628
 
401
629
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
402
630
    ac_prev=mandir ;;
403
631
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
404
 
    mandir="$ac_optarg" ;;
 
632
    mandir=$ac_optarg ;;
405
633
 
406
634
  -nfp | --nfp | --nf)
407
635
    # Obsolete; use --without-fp.
408
636
    with_fp=no ;;
409
637
 
410
638
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
411
 
  | --no-cr | --no-c)
 
639
  | --no-cr | --no-c | -n)
412
640
    no_create=yes ;;
413
641
 
414
642
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
422
650
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
423
651
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
424
652
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
425
 
    oldincludedir="$ac_optarg" ;;
 
653
    oldincludedir=$ac_optarg ;;
426
654
 
427
655
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
428
656
    ac_prev=prefix ;;
429
657
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
430
 
    prefix="$ac_optarg" ;;
 
658
    prefix=$ac_optarg ;;
431
659
 
432
660
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
433
661
  | --program-pre | --program-pr | --program-p)
434
662
    ac_prev=program_prefix ;;
435
663
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
436
664
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
437
 
    program_prefix="$ac_optarg" ;;
 
665
    program_prefix=$ac_optarg ;;
438
666
 
439
667
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
440
668
  | --program-suf | --program-su | --program-s)
441
669
    ac_prev=program_suffix ;;
442
670
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
443
671
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
444
 
    program_suffix="$ac_optarg" ;;
 
672
    program_suffix=$ac_optarg ;;
445
673
 
446
674
  -program-transform-name | --program-transform-name \
447
675
  | --program-transform-nam | --program-transform-na \
458
686
  | --program-transfo=* | --program-transf=* \
459
687
  | --program-trans=* | --program-tran=* \
460
688
  | --progr-tra=* | --program-tr=* | --program-t=*)
461
 
    program_transform_name="$ac_optarg" ;;
 
689
    program_transform_name=$ac_optarg ;;
462
690
 
463
691
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
464
692
  | -silent | --silent | --silen | --sile | --sil)
468
696
    ac_prev=sbindir ;;
469
697
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
470
698
  | --sbi=* | --sb=*)
471
 
    sbindir="$ac_optarg" ;;
 
699
    sbindir=$ac_optarg ;;
472
700
 
473
701
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
474
702
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
479
707
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
480
708
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
481
709
  | --sha=* | --sh=*)
482
 
    sharedstatedir="$ac_optarg" ;;
 
710
    sharedstatedir=$ac_optarg ;;
483
711
 
484
712
  -site | --site | --sit)
485
713
    ac_prev=site ;;
486
714
  -site=* | --site=* | --sit=*)
487
 
    site="$ac_optarg" ;;
 
715
    site=$ac_optarg ;;
488
716
 
489
717
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
490
718
    ac_prev=srcdir ;;
491
719
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
492
 
    srcdir="$ac_optarg" ;;
 
720
    srcdir=$ac_optarg ;;
493
721
 
494
722
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
495
723
  | --syscon | --sysco | --sysc | --sys | --sy)
496
724
    ac_prev=sysconfdir ;;
497
725
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
498
726
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
499
 
    sysconfdir="$ac_optarg" ;;
 
727
    sysconfdir=$ac_optarg ;;
500
728
 
501
729
  -target | --target | --targe | --targ | --tar | --ta | --t)
502
 
    ac_prev=target ;;
 
730
    ac_prev=target_alias ;;
503
731
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
504
 
    target="$ac_optarg" ;;
 
732
    target_alias=$ac_optarg ;;
505
733
 
506
734
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
507
735
    verbose=yes ;;
508
736
 
509
 
  -version | --version | --versio | --versi | --vers)
510
 
    echo "configure generated by autoconf version 2.13"
511
 
    exit 0 ;;
 
737
  -version | --version | --versio | --versi | --vers | -V)
 
738
    ac_init_version=: ;;
512
739
 
513
740
  -with-* | --with-*)
514
 
    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
 
741
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
515
742
    # Reject names that are not valid shell variable names.
516
 
    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
517
 
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
518
 
    fi
 
743
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
744
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
745
   { (exit 1); exit 1; }; }
519
746
    ac_package=`echo $ac_package| sed 's/-/_/g'`
520
 
    case "$ac_option" in
521
 
      *=*) ;;
 
747
    case $ac_option in
 
748
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
522
749
      *) ac_optarg=yes ;;
523
750
    esac
524
 
    eval "with_${ac_package}='$ac_optarg'" ;;
 
751
    eval "with_$ac_package='$ac_optarg'" ;;
525
752
 
526
753
  -without-* | --without-*)
527
 
    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
 
754
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
528
755
    # Reject names that are not valid shell variable names.
529
 
    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
530
 
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
531
 
    fi
532
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
533
 
    eval "with_${ac_package}=no" ;;
 
756
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
757
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
758
   { (exit 1); exit 1; }; }
 
759
    ac_package=`echo $ac_package | sed 's/-/_/g'`
 
760
    eval "with_$ac_package=no" ;;
534
761
 
535
762
  --x)
536
763
    # Obsolete; use --with-x.
541
768
    ac_prev=x_includes ;;
542
769
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
543
770
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
544
 
    x_includes="$ac_optarg" ;;
 
771
    x_includes=$ac_optarg ;;
545
772
 
546
773
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
547
774
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
548
775
    ac_prev=x_libraries ;;
549
776
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
550
777
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
551
 
    x_libraries="$ac_optarg" ;;
 
778
    x_libraries=$ac_optarg ;;
552
779
 
553
 
  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
 
780
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
781
Try \`$0 --help' for more information." >&2
 
782
   { (exit 1); exit 1; }; }
554
783
    ;;
555
784
 
 
785
  *=*)
 
786
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
787
    # Reject names that are not valid shell variable names.
 
788
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 
789
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
790
   { (exit 1); exit 1; }; }
 
791
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
 
792
    eval "$ac_envvar='$ac_optarg'"
 
793
    export $ac_envvar ;;
 
794
 
556
795
  *)
557
 
    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
558
 
      echo "configure: warning: $ac_option: invalid host type" 1>&2
559
 
    fi
560
 
    if test "x$nonopt" != xNONE; then
561
 
      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
562
 
    fi
563
 
    nonopt="$ac_option"
 
796
    # FIXME: should be removed in autoconf 3.0.
 
797
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
798
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
799
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
800
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
564
801
    ;;
565
802
 
566
803
  esac
567
804
done
568
805
 
569
806
if test -n "$ac_prev"; then
570
 
  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
571
 
fi
572
 
 
573
 
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
574
 
 
575
 
# File descriptor usage:
576
 
# 0 standard input
577
 
# 1 file creation
578
 
# 2 errors and warnings
579
 
# 3 some systems may open it to /dev/tty
580
 
# 4 used on the Kubota Titan
581
 
# 6 checking for... messages and results
582
 
# 5 compiler messages saved in config.log
583
 
if test "$silent" = yes; then
584
 
  exec 6>/dev/null
585
 
else
586
 
  exec 6>&1
587
 
fi
588
 
exec 5>./config.log
589
 
 
590
 
echo "\
591
 
This file contains any messages produced by compilers while
592
 
running configure, to aid debugging if configure makes a mistake.
593
 
" 1>&5
594
 
 
595
 
# Strip out --no-create and --no-recursion so they do not pile up.
596
 
# Also quote any args containing shell metacharacters.
597
 
ac_configure_args=
598
 
for ac_arg
599
 
do
600
 
  case "$ac_arg" in
601
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
602
 
  | --no-cr | --no-c) ;;
603
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
604
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
605
 
  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
606
 
  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
607
 
  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
608
 
  esac
609
 
done
610
 
 
611
 
# NLS nuisances.
612
 
# Only set these to C if already set.  These must not be set unconditionally
613
 
# because not all systems understand e.g. LANG=C (notably SCO).
614
 
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
615
 
# Non-C LC_CTYPE values break the ctype check.
616
 
if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
617
 
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
618
 
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
619
 
if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
620
 
 
621
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
622
 
rm -rf conftest* confdefs.h
623
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
624
 
echo > confdefs.h
625
 
 
626
 
# A filename unique to this package, relative to the directory that
627
 
# configure is in, which we can look for to find out if srcdir is correct.
628
 
ac_unique_file=libexif-gtk/gtk-exif-browser.c
 
807
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
808
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
809
   { (exit 1); exit 1; }; }
 
810
fi
 
811
 
 
812
# Be sure to have absolute paths.
 
813
for ac_var in exec_prefix prefix
 
814
do
 
815
  eval ac_val=$`echo $ac_var`
 
816
  case $ac_val in
 
817
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
 
818
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
819
   { (exit 1); exit 1; }; };;
 
820
  esac
 
821
done
 
822
 
 
823
# Be sure to have absolute paths.
 
824
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
 
825
              localstatedir libdir includedir oldincludedir infodir mandir
 
826
do
 
827
  eval ac_val=$`echo $ac_var`
 
828
  case $ac_val in
 
829
    [\\/$]* | ?:[\\/]* ) ;;
 
830
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
831
   { (exit 1); exit 1; }; };;
 
832
  esac
 
833
done
 
834
 
 
835
# There might be people who depend on the old broken behavior: `$host'
 
836
# used to hold the argument of --host etc.
 
837
# FIXME: To remove some day.
 
838
build=$build_alias
 
839
host=$host_alias
 
840
target=$target_alias
 
841
 
 
842
# FIXME: To remove some day.
 
843
if test "x$host_alias" != x; then
 
844
  if test "x$build_alias" = x; then
 
845
    cross_compiling=maybe
 
846
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
847
    If a cross compiler is detected then cross compile mode will be used." >&2
 
848
  elif test "x$build_alias" != "x$host_alias"; then
 
849
    cross_compiling=yes
 
850
  fi
 
851
fi
 
852
 
 
853
ac_tool_prefix=
 
854
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
855
 
 
856
test "$silent" = yes && exec 6>/dev/null
 
857
 
629
858
 
630
859
# Find the source files, if location was not specified.
631
860
if test -z "$srcdir"; then
632
861
  ac_srcdir_defaulted=yes
633
862
  # Try the directory containing this script, then its parent.
634
 
  ac_prog=$0
635
 
  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
636
 
  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
 
863
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
864
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
865
         X"$0" : 'X\(//\)[^/]' \| \
 
866
         X"$0" : 'X\(//\)$' \| \
 
867
         X"$0" : 'X\(/\)' \| \
 
868
         .     : '\(.\)' 2>/dev/null ||
 
869
echo X"$0" |
 
870
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
871
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
872
          /^X\(\/\/\)$/{ s//\1/; q; }
 
873
          /^X\(\/\).*/{ s//\1/; q; }
 
874
          s/.*/./; q'`
637
875
  srcdir=$ac_confdir
638
876
  if test ! -r $srcdir/$ac_unique_file; then
639
877
    srcdir=..
643
881
fi
644
882
if test ! -r $srcdir/$ac_unique_file; then
645
883
  if test "$ac_srcdir_defaulted" = yes; then
646
 
    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
 
884
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
 
885
   { (exit 1); exit 1; }; }
647
886
  else
648
 
    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
 
887
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
888
   { (exit 1); exit 1; }; }
649
889
  fi
650
890
fi
651
 
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
652
 
 
 
891
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
 
892
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
 
893
   { (exit 1); exit 1; }; }
 
894
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
 
895
ac_env_build_alias_set=${build_alias+set}
 
896
ac_env_build_alias_value=$build_alias
 
897
ac_cv_env_build_alias_set=${build_alias+set}
 
898
ac_cv_env_build_alias_value=$build_alias
 
899
ac_env_host_alias_set=${host_alias+set}
 
900
ac_env_host_alias_value=$host_alias
 
901
ac_cv_env_host_alias_set=${host_alias+set}
 
902
ac_cv_env_host_alias_value=$host_alias
 
903
ac_env_target_alias_set=${target_alias+set}
 
904
ac_env_target_alias_value=$target_alias
 
905
ac_cv_env_target_alias_set=${target_alias+set}
 
906
ac_cv_env_target_alias_value=$target_alias
 
907
ac_env_CC_set=${CC+set}
 
908
ac_env_CC_value=$CC
 
909
ac_cv_env_CC_set=${CC+set}
 
910
ac_cv_env_CC_value=$CC
 
911
ac_env_CFLAGS_set=${CFLAGS+set}
 
912
ac_env_CFLAGS_value=$CFLAGS
 
913
ac_cv_env_CFLAGS_set=${CFLAGS+set}
 
914
ac_cv_env_CFLAGS_value=$CFLAGS
 
915
ac_env_LDFLAGS_set=${LDFLAGS+set}
 
916
ac_env_LDFLAGS_value=$LDFLAGS
 
917
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
 
918
ac_cv_env_LDFLAGS_value=$LDFLAGS
 
919
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
 
920
ac_env_CPPFLAGS_value=$CPPFLAGS
 
921
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
 
922
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
 
923
ac_env_CPP_set=${CPP+set}
 
924
ac_env_CPP_value=$CPP
 
925
ac_cv_env_CPP_set=${CPP+set}
 
926
ac_cv_env_CPP_value=$CPP
 
927
 
 
928
#
 
929
# Report the --help message.
 
930
#
 
931
if test "$ac_init_help" = "long"; then
 
932
  # Omit some internal or obsolete options to make the list less imposing.
 
933
  # This message is too long to be a string in the A/UX 3.1 sh.
 
934
  cat <<_ACEOF
 
935
\`configure' configures this package to adapt to many kinds of systems.
 
936
 
 
937
Usage: $0 [OPTION]... [VAR=VALUE]...
 
938
 
 
939
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
940
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
941
 
 
942
Defaults for the options are specified in brackets.
 
943
 
 
944
Configuration:
 
945
  -h, --help              display this help and exit
 
946
      --help=short        display options specific to this package
 
947
      --help=recursive    display the short help of all the included packages
 
948
  -V, --version           display version information and exit
 
949
  -q, --quiet, --silent   do not print \`checking...' messages
 
950
      --cache-file=FILE   cache test results in FILE [disabled]
 
951
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
952
  -n, --no-create         do not create output files
 
953
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
954
 
 
955
_ACEOF
 
956
 
 
957
  cat <<_ACEOF
 
958
Installation directories:
 
959
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
960
                          [$ac_default_prefix]
 
961
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
962
                          [PREFIX]
 
963
 
 
964
By default, \`make install' will install all the files in
 
965
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
966
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
967
for instance \`--prefix=\$HOME'.
 
968
 
 
969
For better control, use the options below.
 
970
 
 
971
Fine tuning of the installation directories:
 
972
  --bindir=DIR           user executables [EPREFIX/bin]
 
973
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
 
974
  --libexecdir=DIR       program executables [EPREFIX/libexec]
 
975
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
 
976
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
 
977
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
 
978
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 
979
  --libdir=DIR           object code libraries [EPREFIX/lib]
 
980
  --includedir=DIR       C header files [PREFIX/include]
 
981
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 
982
  --infodir=DIR          info documentation [PREFIX/info]
 
983
  --mandir=DIR           man documentation [PREFIX/man]
 
984
_ACEOF
 
985
 
 
986
  cat <<\_ACEOF
 
987
 
 
988
Program names:
 
989
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
990
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
991
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
992
 
 
993
System types:
 
994
  --build=BUILD     configure for building on BUILD [guessed]
 
995
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
996
_ACEOF
 
997
fi
 
998
 
 
999
if test -n "$ac_init_help"; then
 
1000
 
 
1001
  cat <<\_ACEOF
 
1002
 
 
1003
Optional Features:
 
1004
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1005
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1006
  --enable-maintainer-mode enable make rules and dependencies not useful
 
1007
                          (and sometimes confusing) to the casual installer
 
1008
  --disable-dependency-tracking Speeds up one-time builds
 
1009
  --enable-dependency-tracking  Do not reject slow dependency extractors
 
1010
  --enable-shared=PKGS  build shared libraries default=yes
 
1011
  --enable-static=PKGS  build static libraries default=yes
 
1012
  --enable-fast-install=PKGS  optimize for fast installation default=yes
 
1013
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1014
  --disable-rpath         do not hardcode runtime library paths
 
1015
  --disable-nls           do not use Native Language Support
 
1016
 
 
1017
Optional Packages:
 
1018
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1019
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1020
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
 
1021
  --with-pic              try to use only PIC/non-PIC objects default=use both
 
1022
  --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
 
1023
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
 
1024
  --with-included-gettext use the GNU gettext library included here
 
1025
  --with-libintl-prefix=DIR  search for libintl in DIR/include and DIR/lib
 
1026
  --without-libintl-prefix     don't search for libintl in includedir and libdir
 
1027
 
 
1028
Some influential environment variables:
 
1029
  CC          C compiler command
 
1030
  CFLAGS      C compiler flags
 
1031
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1032
              nonstandard directory <lib dir>
 
1033
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
 
1034
              headers in a nonstandard directory <include dir>
 
1035
  CPP         C preprocessor
 
1036
 
 
1037
Use these variables to override the choices made by `configure' or to help
 
1038
it to find libraries and programs with nonstandard names/locations.
 
1039
 
 
1040
_ACEOF
 
1041
fi
 
1042
 
 
1043
if test "$ac_init_help" = "recursive"; then
 
1044
  # If there are subdirs, report their specific --help.
 
1045
  ac_popdir=`pwd`
 
1046
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1047
    test -d $ac_dir || continue
 
1048
    ac_builddir=.
 
1049
 
 
1050
if test "$ac_dir" != .; then
 
1051
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1052
  # A "../" for each directory in $ac_dir_suffix.
 
1053
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
1054
else
 
1055
  ac_dir_suffix= ac_top_builddir=
 
1056
fi
 
1057
 
 
1058
case $srcdir in
 
1059
  .)  # No --srcdir option.  We are building in place.
 
1060
    ac_srcdir=.
 
1061
    if test -z "$ac_top_builddir"; then
 
1062
       ac_top_srcdir=.
 
1063
    else
 
1064
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
1065
    fi ;;
 
1066
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1067
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1068
    ac_top_srcdir=$srcdir ;;
 
1069
  *) # Relative path.
 
1070
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
1071
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
1072
esac
 
1073
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
 
1074
# absolute.
 
1075
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
 
1076
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
 
1077
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
 
1078
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
1079
 
 
1080
    cd $ac_dir
 
1081
    # Check for guested configure; otherwise get Cygnus style configure.
 
1082
    if test -f $ac_srcdir/configure.gnu; then
 
1083
      echo
 
1084
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
 
1085
    elif test -f $ac_srcdir/configure; then
 
1086
      echo
 
1087
      $SHELL $ac_srcdir/configure  --help=recursive
 
1088
    elif test -f $ac_srcdir/configure.ac ||
 
1089
           test -f $ac_srcdir/configure.in; then
 
1090
      echo
 
1091
      $ac_configure --help
 
1092
    else
 
1093
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1094
    fi
 
1095
    cd $ac_popdir
 
1096
  done
 
1097
fi
 
1098
 
 
1099
test -n "$ac_init_help" && exit 0
 
1100
if $ac_init_version; then
 
1101
  cat <<\_ACEOF
 
1102
 
 
1103
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
 
1104
Free Software Foundation, Inc.
 
1105
This configure script is free software; the Free Software Foundation
 
1106
gives unlimited permission to copy, distribute and modify it.
 
1107
_ACEOF
 
1108
  exit 0
 
1109
fi
 
1110
exec 5>config.log
 
1111
cat >&5 <<_ACEOF
 
1112
This file contains any messages produced by compilers while
 
1113
running configure, to aid debugging if configure makes a mistake.
 
1114
 
 
1115
It was created by $as_me, which was
 
1116
generated by GNU Autoconf 2.54.  Invocation command line was
 
1117
 
 
1118
  $ $0 $@
 
1119
 
 
1120
_ACEOF
 
1121
{
 
1122
cat <<_ASUNAME
 
1123
## --------- ##
 
1124
## Platform. ##
 
1125
## --------- ##
 
1126
 
 
1127
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
1128
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
1129
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
1130
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
1131
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
1132
 
 
1133
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
1134
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
1135
 
 
1136
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
1137
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
1138
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
1139
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1140
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
1141
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
1142
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
1143
 
 
1144
_ASUNAME
 
1145
 
 
1146
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1147
for as_dir in $PATH
 
1148
do
 
1149
  IFS=$as_save_IFS
 
1150
  test -z "$as_dir" && as_dir=.
 
1151
  echo "PATH: $as_dir"
 
1152
done
 
1153
 
 
1154
} >&5
 
1155
 
 
1156
cat >&5 <<_ACEOF
 
1157
 
 
1158
 
 
1159
## ----------- ##
 
1160
## Core tests. ##
 
1161
## ----------- ##
 
1162
 
 
1163
_ACEOF
 
1164
 
 
1165
 
 
1166
# Keep a trace of the command line.
 
1167
# Strip out --no-create and --no-recursion so they do not pile up.
 
1168
# Also quote any args containing shell meta-characters.
 
1169
ac_configure_args=
 
1170
ac_sep=
 
1171
for ac_arg
 
1172
do
 
1173
  case $ac_arg in
 
1174
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1175
  | --no-cr | --no-c | -n ) continue ;;
 
1176
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1177
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1178
    continue ;;
 
1179
  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1180
    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1181
  esac
 
1182
  ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 
1183
  # Get rid of the leading space.
 
1184
  ac_sep=" "
 
1185
done
 
1186
 
 
1187
# When interrupted or exit'd, cleanup temporary files, and complete
 
1188
# config.log.  We remove comments because anyway the quotes in there
 
1189
# would cause problems or look ugly.
 
1190
# WARNING: Be sure not to use single quotes in there, as some shells,
 
1191
# such as our DU 5.0 friend, will then `close' the trap.
 
1192
trap 'exit_status=$?
 
1193
  # Save into config.log some information that might help in debugging.
 
1194
  {
 
1195
    echo
 
1196
 
 
1197
    cat <<\_ASBOX
 
1198
## ---------------- ##
 
1199
## Cache variables. ##
 
1200
## ---------------- ##
 
1201
_ASBOX
 
1202
    echo
 
1203
    # The following way of writing the cache mishandles newlines in values,
 
1204
{
 
1205
  (set) 2>&1 |
 
1206
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 
1207
    *ac_space=\ *)
 
1208
      sed -n \
 
1209
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1210
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1211
      ;;
 
1212
    *)
 
1213
      sed -n \
 
1214
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1215
      ;;
 
1216
    esac;
 
1217
}
 
1218
    echo
 
1219
 
 
1220
    cat <<\_ASBOX
 
1221
## ----------------- ##
 
1222
## Output variables. ##
 
1223
## ----------------- ##
 
1224
_ASBOX
 
1225
    echo
 
1226
    for ac_var in $ac_subst_vars
 
1227
    do
 
1228
      eval ac_val=$`echo $ac_var`
 
1229
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1230
    done | sort
 
1231
    echo
 
1232
 
 
1233
    if test -n "$ac_subst_files"; then
 
1234
      cat <<\_ASBOX
 
1235
## ------------- ##
 
1236
## Output files. ##
 
1237
## ------------- ##
 
1238
_ASBOX
 
1239
      echo
 
1240
      for ac_var in $ac_subst_files
 
1241
      do
 
1242
        eval ac_val=$`echo $ac_var`
 
1243
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1244
      done | sort
 
1245
      echo
 
1246
    fi
 
1247
 
 
1248
    if test -s confdefs.h; then
 
1249
      cat <<\_ASBOX
 
1250
## ----------- ##
 
1251
## confdefs.h. ##
 
1252
## ----------- ##
 
1253
_ASBOX
 
1254
      echo
 
1255
      sed "/^$/d" confdefs.h | sort
 
1256
      echo
 
1257
    fi
 
1258
    test "$ac_signal" != 0 &&
 
1259
      echo "$as_me: caught signal $ac_signal"
 
1260
    echo "$as_me: exit $exit_status"
 
1261
  } >&5
 
1262
  rm -f core core.* *.core &&
 
1263
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1264
    exit $exit_status
 
1265
     ' 0
 
1266
for ac_signal in 1 2 13 15; do
 
1267
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1268
done
 
1269
ac_signal=0
 
1270
 
 
1271
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
1272
rm -rf conftest* confdefs.h
 
1273
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
 
1274
echo >confdefs.h
 
1275
 
 
1276
# Predefined preprocessor variables.
 
1277
 
 
1278
cat >>confdefs.h <<_ACEOF
 
1279
#define PACKAGE_NAME "$PACKAGE_NAME"
 
1280
_ACEOF
 
1281
 
 
1282
 
 
1283
cat >>confdefs.h <<_ACEOF
 
1284
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
1285
_ACEOF
 
1286
 
 
1287
 
 
1288
cat >>confdefs.h <<_ACEOF
 
1289
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
1290
_ACEOF
 
1291
 
 
1292
 
 
1293
cat >>confdefs.h <<_ACEOF
 
1294
#define PACKAGE_STRING "$PACKAGE_STRING"
 
1295
_ACEOF
 
1296
 
 
1297
 
 
1298
cat >>confdefs.h <<_ACEOF
 
1299
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
1300
_ACEOF
 
1301
 
 
1302
 
 
1303
# Let the site file select an alternate cache file if it wants to.
653
1304
# Prefer explicitly selected file to automatically selected ones.
654
1305
if test -z "$CONFIG_SITE"; then
655
1306
  if test "x$prefix" != xNONE; then
660
1311
fi
661
1312
for ac_site_file in $CONFIG_SITE; do
662
1313
  if test -r "$ac_site_file"; then
663
 
    echo "loading site script $ac_site_file"
 
1314
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1315
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1316
    sed 's/^/| /' "$ac_site_file" >&5
664
1317
    . "$ac_site_file"
665
1318
  fi
666
1319
done
667
1320
 
668
1321
if test -r "$cache_file"; then
669
 
  echo "loading cache $cache_file"
670
 
  . $cache_file
 
1322
  # Some versions of bash will fail to source /dev/null (special
 
1323
  # files actually), so we avoid doing that.
 
1324
  if test -f "$cache_file"; then
 
1325
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1326
echo "$as_me: loading cache $cache_file" >&6;}
 
1327
    case $cache_file in
 
1328
      [\\/]* | ?:[\\/]* ) . $cache_file;;
 
1329
      *)                      . ./$cache_file;;
 
1330
    esac
 
1331
  fi
671
1332
else
672
 
  echo "creating cache $cache_file"
673
 
  > $cache_file
 
1333
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1334
echo "$as_me: creating cache $cache_file" >&6;}
 
1335
  >$cache_file
 
1336
fi
 
1337
 
 
1338
# Check that the precious variables saved in the cache have kept the same
 
1339
# value.
 
1340
ac_cache_corrupted=false
 
1341
for ac_var in `(set) 2>&1 |
 
1342
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1343
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
1344
  eval ac_new_set=\$ac_env_${ac_var}_set
 
1345
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 
1346
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1347
  case $ac_old_set,$ac_new_set in
 
1348
    set,)
 
1349
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1350
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1351
      ac_cache_corrupted=: ;;
 
1352
    ,set)
 
1353
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1354
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1355
      ac_cache_corrupted=: ;;
 
1356
    ,);;
 
1357
    *)
 
1358
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
1359
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1360
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1361
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1362
echo "$as_me:   former value:  $ac_old_val" >&2;}
 
1363
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1364
echo "$as_me:   current value: $ac_new_val" >&2;}
 
1365
        ac_cache_corrupted=:
 
1366
      fi;;
 
1367
  esac
 
1368
  # Pass precious variables to config.status.
 
1369
  if test "$ac_new_set" = set; then
 
1370
    case $ac_new_val in
 
1371
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1372
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1373
    *) ac_arg=$ac_var=$ac_new_val ;;
 
1374
    esac
 
1375
    case " $ac_configure_args " in
 
1376
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
1377
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
1378
    esac
 
1379
  fi
 
1380
done
 
1381
if $ac_cache_corrupted; then
 
1382
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1383
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1384
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
1385
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
1386
   { (exit 1); exit 1; }; }
674
1387
fi
675
1388
 
676
1389
ac_ext=c
677
 
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
678
1390
ac_cpp='$CPP $CPPFLAGS'
679
 
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
680
 
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
681
 
cross_compiling=$ac_cv_prog_cc_cross
682
 
 
683
 
ac_exeext=
684
 
ac_objext=o
685
 
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
686
 
  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
687
 
  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
688
 
    ac_n= ac_c='
689
 
' ac_t='        '
690
 
  else
691
 
    ac_n=-n ac_c= ac_t=
692
 
  fi
693
 
else
694
 
  ac_n= ac_c='\c' ac_t=
695
 
fi
696
 
 
697
 
 
698
 
 
699
 
 
700
 
 
 
1391
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
1392
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
1393
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
1394
 
 
1395
 
 
1396
 
 
1397
 
 
1398
 
 
1399
 
 
1400
 
 
1401
 
 
1402
 
 
1403
 
 
1404
 
 
1405
 
 
1406
 
 
1407
 
 
1408
 
 
1409
 
 
1410
 
 
1411
 
 
1412
 
 
1413
# Add the stamp file to the list of files AC keeps track of,
 
1414
# along with our hook.
 
1415
          ac_config_headers="$ac_config_headers config.h"
 
1416
 
 
1417
 
 
1418
 
 
1419
am__api_version="1.6"
701
1420
ac_aux_dir=
702
1421
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
703
1422
  if test -f $ac_dir/install-sh; then
708
1427
    ac_aux_dir=$ac_dir
709
1428
    ac_install_sh="$ac_aux_dir/install.sh -c"
710
1429
    break
 
1430
  elif test -f $ac_dir/shtool; then
 
1431
    ac_aux_dir=$ac_dir
 
1432
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
1433
    break
711
1434
  fi
712
1435
done
713
1436
if test -z "$ac_aux_dir"; then
714
 
  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
 
1437
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
 
1438
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
1439
   { (exit 1); exit 1; }; }
715
1440
fi
716
 
ac_config_guess=$ac_aux_dir/config.guess
717
 
ac_config_sub=$ac_aux_dir/config.sub
718
 
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
 
1441
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 
1442
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 
1443
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
719
1444
 
720
1445
# Find a good install program.  We prefer a C program (faster),
721
1446
# so one script is as good as another.  But avoid the broken or
724
1449
# SunOS /usr/etc/install
725
1450
# IRIX /sbin/install
726
1451
# AIX /bin/install
 
1452
# AmigaOS /C/install, which installs bootblocks on floppy discs
727
1453
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
728
1454
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
729
1455
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
730
1456
# ./install, which can be erroneously created by make from ./install.sh.
731
 
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
732
 
echo "configure:733: checking for a BSD compatible install" >&5
 
1457
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1458
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
733
1459
if test -z "$INSTALL"; then
734
 
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
735
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
1460
if test "${ac_cv_path_install+set}" = set; then
 
1461
  echo $ECHO_N "(cached) $ECHO_C" >&6
736
1462
else
737
 
    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
738
 
  for ac_dir in $PATH; do
739
 
    # Account for people who put trailing slashes in PATH elements.
740
 
    case "$ac_dir/" in
741
 
    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
742
 
    *)
743
 
      # OSF1 and SCO ODT 3.0 have their own names for install.
744
 
      # Don't use installbsd from OSF since it installs stuff as root
745
 
      # by default.
746
 
      for ac_prog in ginstall scoinst install; do
747
 
        if test -f $ac_dir/$ac_prog; then
748
 
          if test $ac_prog = install &&
749
 
            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
750
 
            # AIX install.  It has an incompatible calling convention.
751
 
            :
752
 
          else
753
 
            ac_cv_path_install="$ac_dir/$ac_prog -c"
754
 
            break 2
755
 
          fi
756
 
        fi
 
1463
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1464
for as_dir in $PATH
 
1465
do
 
1466
  IFS=$as_save_IFS
 
1467
  test -z "$as_dir" && as_dir=.
 
1468
  # Account for people who put trailing slashes in PATH elements.
 
1469
case $as_dir/ in
 
1470
  ./ | .// | /cC/* | \
 
1471
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1472
  /usr/ucb/* ) ;;
 
1473
  *)
 
1474
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
1475
    # Don't use installbsd from OSF since it installs stuff as root
 
1476
    # by default.
 
1477
    for ac_prog in ginstall scoinst install; do
 
1478
      for ac_exec_ext in '' $ac_executable_extensions; do
 
1479
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1480
          if test $ac_prog = install &&
 
1481
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1482
            # AIX install.  It has an incompatible calling convention.
 
1483
            :
 
1484
          elif test $ac_prog = install &&
 
1485
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1486
            # program-specific install script used by HP pwplus--don't use.
 
1487
            :
 
1488
          else
 
1489
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1490
            break 3
 
1491
          fi
 
1492
        fi
757
1493
      done
758
 
      ;;
759
 
    esac
760
 
  done
761
 
  IFS="$ac_save_IFS"
 
1494
    done
 
1495
    ;;
 
1496
esac
 
1497
done
 
1498
 
762
1499
 
763
1500
fi
764
1501
  if test "${ac_cv_path_install+set}" = set; then
765
 
    INSTALL="$ac_cv_path_install"
 
1502
    INSTALL=$ac_cv_path_install
766
1503
  else
767
1504
    # As a last resort, use the slow shell script.  We don't cache a
768
1505
    # path for INSTALL within a source directory, because that will
769
1506
    # break other packages using the cache if that directory is
770
1507
    # removed, or if the path is relative.
771
 
    INSTALL="$ac_install_sh"
 
1508
    INSTALL=$ac_install_sh
772
1509
  fi
773
1510
fi
774
 
echo "$ac_t""$INSTALL" 1>&6
 
1511
echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1512
echo "${ECHO_T}$INSTALL" >&6
775
1513
 
776
1514
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
777
1515
# It thinks the first close brace ends the variable substitution.
778
1516
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
779
1517
 
780
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
 
1518
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
781
1519
 
782
1520
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
783
1521
 
784
 
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
785
 
echo "configure:786: checking whether build environment is sane" >&5
 
1522
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
1523
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
786
1524
# Just in case
787
1525
sleep 1
788
 
echo timestamp > conftestfile
 
1526
echo timestamp > conftest.file
789
1527
# Do `set' in a subshell so we don't clobber the current shell's
790
1528
# arguments.  Must try -L first in case configure is actually a
791
1529
# symlink; some systems play weird games with the mod time of symlinks
792
1530
# (eg FreeBSD returns the mod time of the symlink's containing
793
1531
# directory).
794
1532
if (
795
 
   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
 
1533
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
796
1534
   if test "$*" = "X"; then
797
1535
      # -L didn't work.
798
 
      set X `ls -t $srcdir/configure conftestfile`
 
1536
      set X `ls -t $srcdir/configure conftest.file`
799
1537
   fi
800
 
   if test "$*" != "X $srcdir/configure conftestfile" \
801
 
      && test "$*" != "X conftestfile $srcdir/configure"; then
 
1538
   rm -f conftest.file
 
1539
   if test "$*" != "X $srcdir/configure conftest.file" \
 
1540
      && test "$*" != "X conftest.file $srcdir/configure"; then
802
1541
 
803
1542
      # If neither matched, then we have a broken ls.  This can happen
804
1543
      # if, for instance, CONFIG_SHELL is bash and it inherits a
805
1544
      # broken ls alias from the environment.  This has actually
806
1545
      # happened.  Such a system could not be considered "sane".
807
 
      { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
808
 
alias in your environment" 1>&2; exit 1; }
 
1546
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
1547
alias in your environment" >&5
 
1548
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
1549
alias in your environment" >&2;}
 
1550
   { (exit 1); exit 1; }; }
809
1551
   fi
810
1552
 
811
 
   test "$2" = conftestfile
 
1553
   test "$2" = conftest.file
812
1554
   )
813
1555
then
814
1556
   # Ok.
815
1557
   :
816
1558
else
817
 
   { echo "configure: error: newly created file is older than distributed files!
818
 
Check your system clock" 1>&2; exit 1; }
819
 
fi
820
 
rm -f conftest*
821
 
echo "$ac_t""yes" 1>&6
822
 
if test "$program_transform_name" = s,x,x,; then
823
 
  program_transform_name=
824
 
else
825
 
  # Double any \ or $.  echo might interpret backslashes.
826
 
  cat <<\EOF_SED > conftestsed
827
 
s,\\,\\\\,g; s,\$,$$,g
828
 
EOF_SED
829
 
  program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
830
 
  rm -f conftestsed
831
 
fi
 
1559
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
1560
Check your system clock" >&5
 
1561
echo "$as_me: error: newly created file is older than distributed files!
 
1562
Check your system clock" >&2;}
 
1563
   { (exit 1); exit 1; }; }
 
1564
fi
 
1565
echo "$as_me:$LINENO: result: yes" >&5
 
1566
echo "${ECHO_T}yes" >&6
832
1567
test "$program_prefix" != NONE &&
833
 
  program_transform_name="s,^,${program_prefix},; $program_transform_name"
 
1568
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
834
1569
# Use a double $ so make ignores it.
835
1570
test "$program_suffix" != NONE &&
836
 
  program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
837
 
 
838
 
# sed with no file args requires a program.
839
 
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
840
 
 
841
 
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
842
 
echo "configure:843: checking whether ${MAKE-make} sets \${MAKE}" >&5
843
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
844
 
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
845
 
  echo $ac_n "(cached) $ac_c" 1>&6
846
 
else
847
 
  cat > conftestmake <<\EOF
 
1571
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
1572
# Double any \ or $.  echo might interpret backslashes.
 
1573
# By default was `s,x,x', remove it if useless.
 
1574
cat <<\_ACEOF >conftest.sed
 
1575
s/[\\$]/&&/g;s/;s,x,x,$//
 
1576
_ACEOF
 
1577
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 
1578
rm conftest.sed
 
1579
 
 
1580
 
 
1581
# expand $ac_aux_dir to an absolute path
 
1582
am_aux_dir=`cd $ac_aux_dir && pwd`
 
1583
 
 
1584
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
1585
# Use eval to expand $SHELL
 
1586
if eval "$MISSING --run true"; then
 
1587
  am_missing_run="$MISSING --run "
 
1588
else
 
1589
  am_missing_run=
 
1590
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
1591
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
1592
fi
 
1593
 
 
1594
for ac_prog in gawk mawk nawk awk
 
1595
do
 
1596
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
1597
set dummy $ac_prog; ac_word=$2
 
1598
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1599
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1600
if test "${ac_cv_prog_AWK+set}" = set; then
 
1601
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1602
else
 
1603
  if test -n "$AWK"; then
 
1604
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
1605
else
 
1606
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1607
for as_dir in $PATH
 
1608
do
 
1609
  IFS=$as_save_IFS
 
1610
  test -z "$as_dir" && as_dir=.
 
1611
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1612
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1613
    ac_cv_prog_AWK="$ac_prog"
 
1614
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1615
    break 2
 
1616
  fi
 
1617
done
 
1618
done
 
1619
 
 
1620
fi
 
1621
fi
 
1622
AWK=$ac_cv_prog_AWK
 
1623
if test -n "$AWK"; then
 
1624
  echo "$as_me:$LINENO: result: $AWK" >&5
 
1625
echo "${ECHO_T}$AWK" >&6
 
1626
else
 
1627
  echo "$as_me:$LINENO: result: no" >&5
 
1628
echo "${ECHO_T}no" >&6
 
1629
fi
 
1630
 
 
1631
  test -n "$AWK" && break
 
1632
done
 
1633
 
 
1634
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
 
1635
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
 
1636
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
 
1637
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
1638
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1639
else
 
1640
  cat >conftest.make <<\_ACEOF
848
1641
all:
849
1642
        @echo 'ac_maketemp="${MAKE}"'
850
 
EOF
 
1643
_ACEOF
851
1644
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
852
 
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
 
1645
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
853
1646
if test -n "$ac_maketemp"; then
854
1647
  eval ac_cv_prog_make_${ac_make}_set=yes
855
1648
else
856
1649
  eval ac_cv_prog_make_${ac_make}_set=no
857
1650
fi
858
 
rm -f conftestmake
 
1651
rm -f conftest.make
859
1652
fi
860
1653
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
861
 
  echo "$ac_t""yes" 1>&6
 
1654
  echo "$as_me:$LINENO: result: yes" >&5
 
1655
echo "${ECHO_T}yes" >&6
862
1656
  SET_MAKE=
863
1657
else
864
 
  echo "$ac_t""no" 1>&6
 
1658
  echo "$as_me:$LINENO: result: no" >&5
 
1659
echo "${ECHO_T}no" >&6
865
1660
  SET_MAKE="MAKE=${MAKE-make}"
866
1661
fi
867
1662
 
868
 
 
869
 
PACKAGE=libexif-gtk
870
 
 
871
 
VERSION=0.3.0
872
 
 
873
 
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
874
 
  { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
 
1663
 # test to see if srcdir already configured
 
1664
if test "`cd $srcdir && pwd`" != "`pwd`" &&
 
1665
   test -f $srcdir/config.status; then
 
1666
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
1667
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
1668
   { (exit 1); exit 1; }; }
875
1669
fi
876
 
cat >> confdefs.h <<EOF
 
1670
 
 
1671
# Define the identity of the package.
 
1672
 PACKAGE=libexif-gtk
 
1673
 VERSION=0.3.3
 
1674
 
 
1675
 
 
1676
cat >>confdefs.h <<_ACEOF
877
1677
#define PACKAGE "$PACKAGE"
878
 
EOF
879
 
 
880
 
cat >> confdefs.h <<EOF
 
1678
_ACEOF
 
1679
 
 
1680
 
 
1681
cat >>confdefs.h <<_ACEOF
881
1682
#define VERSION "$VERSION"
882
 
EOF
883
 
 
884
 
 
885
 
 
886
 
missing_dir=`cd $ac_aux_dir && pwd`
887
 
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
888
 
echo "configure:889: checking for working aclocal" >&5
889
 
# Run test in a subshell; some versions of sh will print an error if
890
 
# an executable is not found, even if stderr is redirected.
891
 
# Redirect stdin to placate older versions of autoconf.  Sigh.
892
 
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
893
 
   ACLOCAL=aclocal
894
 
   echo "$ac_t""found" 1>&6
895
 
else
896
 
   ACLOCAL="$missing_dir/missing aclocal"
897
 
   echo "$ac_t""missing" 1>&6
898
 
fi
899
 
 
900
 
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
901
 
echo "configure:902: checking for working autoconf" >&5
902
 
# Run test in a subshell; some versions of sh will print an error if
903
 
# an executable is not found, even if stderr is redirected.
904
 
# Redirect stdin to placate older versions of autoconf.  Sigh.
905
 
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
906
 
   AUTOCONF=autoconf
907
 
   echo "$ac_t""found" 1>&6
908
 
else
909
 
   AUTOCONF="$missing_dir/missing autoconf"
910
 
   echo "$ac_t""missing" 1>&6
911
 
fi
912
 
 
913
 
echo $ac_n "checking for working automake""... $ac_c" 1>&6
914
 
echo "configure:915: checking for working automake" >&5
915
 
# Run test in a subshell; some versions of sh will print an error if
916
 
# an executable is not found, even if stderr is redirected.
917
 
# Redirect stdin to placate older versions of autoconf.  Sigh.
918
 
if (automake --version) < /dev/null > /dev/null 2>&1; then
919
 
   AUTOMAKE=automake
920
 
   echo "$ac_t""found" 1>&6
921
 
else
922
 
   AUTOMAKE="$missing_dir/missing automake"
923
 
   echo "$ac_t""missing" 1>&6
924
 
fi
925
 
 
926
 
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
927
 
echo "configure:928: checking for working autoheader" >&5
928
 
# Run test in a subshell; some versions of sh will print an error if
929
 
# an executable is not found, even if stderr is redirected.
930
 
# Redirect stdin to placate older versions of autoconf.  Sigh.
931
 
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
932
 
   AUTOHEADER=autoheader
933
 
   echo "$ac_t""found" 1>&6
934
 
else
935
 
   AUTOHEADER="$missing_dir/missing autoheader"
936
 
   echo "$ac_t""missing" 1>&6
937
 
fi
938
 
 
939
 
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
940
 
echo "configure:941: checking for working makeinfo" >&5
941
 
# Run test in a subshell; some versions of sh will print an error if
942
 
# an executable is not found, even if stderr is redirected.
943
 
# Redirect stdin to placate older versions of autoconf.  Sigh.
944
 
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
945
 
   MAKEINFO=makeinfo
946
 
   echo "$ac_t""found" 1>&6
947
 
else
948
 
   MAKEINFO="$missing_dir/missing makeinfo"
949
 
   echo "$ac_t""missing" 1>&6
950
 
fi
951
 
 
952
 
 
953
 
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
954
 
echo "configure:955: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
1683
_ACEOF
 
1684
 
 
1685
# Some tools Automake needs.
 
1686
 
 
1687
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
1688
 
 
1689
 
 
1690
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
1691
 
 
1692
 
 
1693
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
1694
 
 
1695
 
 
1696
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
1697
 
 
1698
 
 
1699
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
1700
 
 
1701
 
 
1702
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
1703
 
 
1704
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
1705
 
 
1706
# Installed binaries are usually stripped using `strip' when the user
 
1707
# run `make install-strip'.  However `strip' might not be the right
 
1708
# tool to use in cross-compilation environments, therefore Automake
 
1709
# will honor the `STRIP' environment variable to overrule this program.
 
1710
if test "$cross_compiling" != no; then
 
1711
  if test -n "$ac_tool_prefix"; then
 
1712
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
1713
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
1714
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1715
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1716
if test "${ac_cv_prog_STRIP+set}" = set; then
 
1717
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1718
else
 
1719
  if test -n "$STRIP"; then
 
1720
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
1721
else
 
1722
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1723
for as_dir in $PATH
 
1724
do
 
1725
  IFS=$as_save_IFS
 
1726
  test -z "$as_dir" && as_dir=.
 
1727
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1728
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1729
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
1730
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1731
    break 2
 
1732
  fi
 
1733
done
 
1734
done
 
1735
 
 
1736
fi
 
1737
fi
 
1738
STRIP=$ac_cv_prog_STRIP
 
1739
if test -n "$STRIP"; then
 
1740
  echo "$as_me:$LINENO: result: $STRIP" >&5
 
1741
echo "${ECHO_T}$STRIP" >&6
 
1742
else
 
1743
  echo "$as_me:$LINENO: result: no" >&5
 
1744
echo "${ECHO_T}no" >&6
 
1745
fi
 
1746
 
 
1747
fi
 
1748
if test -z "$ac_cv_prog_STRIP"; then
 
1749
  ac_ct_STRIP=$STRIP
 
1750
  # Extract the first word of "strip", so it can be a program name with args.
 
1751
set dummy strip; ac_word=$2
 
1752
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1753
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1754
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
1755
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1756
else
 
1757
  if test -n "$ac_ct_STRIP"; then
 
1758
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
1759
else
 
1760
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1761
for as_dir in $PATH
 
1762
do
 
1763
  IFS=$as_save_IFS
 
1764
  test -z "$as_dir" && as_dir=.
 
1765
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1766
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1767
    ac_cv_prog_ac_ct_STRIP="strip"
 
1768
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1769
    break 2
 
1770
  fi
 
1771
done
 
1772
done
 
1773
 
 
1774
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 
1775
fi
 
1776
fi
 
1777
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
1778
if test -n "$ac_ct_STRIP"; then
 
1779
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
1780
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
1781
else
 
1782
  echo "$as_me:$LINENO: result: no" >&5
 
1783
echo "${ECHO_T}no" >&6
 
1784
fi
 
1785
 
 
1786
  STRIP=$ac_ct_STRIP
 
1787
else
 
1788
  STRIP="$ac_cv_prog_STRIP"
 
1789
fi
 
1790
 
 
1791
fi
 
1792
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
1793
 
 
1794
# We need awk for the "check" target.  The system "awk" is bad on
 
1795
# some platforms.
 
1796
 
 
1797
 
 
1798
 
 
1799
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
1800
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
955
1801
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
956
1802
if test "${enable_maintainer_mode+set}" = set; then
957
1803
  enableval="$enable_maintainer_mode"
958
1804
  USE_MAINTAINER_MODE=$enableval
959
1805
else
960
1806
  USE_MAINTAINER_MODE=no
961
 
fi
 
1807
fi;
 
1808
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
1809
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
962
1810
 
963
 
  echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
964
 
  
965
1811
 
966
1812
if test $USE_MAINTAINER_MODE = yes; then
967
1813
  MAINTAINER_MODE_TRUE=
970
1816
  MAINTAINER_MODE_TRUE='#'
971
1817
  MAINTAINER_MODE_FALSE=
972
1818
fi
 
1819
 
973
1820
  MAINT=$MAINTAINER_MODE_TRUE
974
 
  
975
 
 
976
 
 
977
 
LIBEXIF_GTK_AGE=0
978
 
LIBEXIF_GTK_REVISION=0
979
 
LIBEXIF_GTK_CURRENT=3
980
 
 
981
 
 
982
 
 
983
 
 
984
 
# Find the correct PATH separator.  Usually this is `:', but
985
 
# DJGPP uses `;' like DOS.
986
 
if test "X${PATH_SEPARATOR+set}" != Xset; then
987
 
  UNAME=${UNAME-`uname 2>/dev/null`}
988
 
  case X$UNAME in
989
 
    *-DOS) lt_cv_sys_path_separator=';' ;;
990
 
    *)     lt_cv_sys_path_separator=':' ;;
991
 
  esac
992
 
  PATH_SEPARATOR=$lt_cv_sys_path_separator
993
 
fi
994
 
 
995
 
echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
996
 
echo "configure:997: checking for Cygwin environment" >&5
997
 
if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
998
 
  echo $ac_n "(cached) $ac_c" 1>&6
999
 
else
1000
 
  cat > conftest.$ac_ext <<EOF
1001
 
#line 1002 "configure"
1002
 
#include "confdefs.h"
1003
 
 
1004
 
int main() {
1005
 
 
1006
 
#ifndef __CYGWIN__
1007
 
#define __CYGWIN__ __CYGWIN32__
1008
 
#endif
1009
 
return __CYGWIN__;
1010
 
; return 0; }
1011
 
EOF
1012
 
if { (eval echo configure:1013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1013
 
  rm -rf conftest*
1014
 
  ac_cv_cygwin=yes
1015
 
else
1016
 
  echo "configure: failed program was:" >&5
1017
 
  cat conftest.$ac_ext >&5
1018
 
  rm -rf conftest*
1019
 
  ac_cv_cygwin=no
1020
 
fi
1021
 
rm -f conftest*
1022
 
rm -f conftest*
1023
 
fi
1024
 
 
1025
 
echo "$ac_t""$ac_cv_cygwin" 1>&6
1026
 
CYGWIN=
1027
 
test "$ac_cv_cygwin" = yes && CYGWIN=yes
1028
 
echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
1029
 
echo "configure:1030: checking for mingw32 environment" >&5
1030
 
if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
1031
 
  echo $ac_n "(cached) $ac_c" 1>&6
1032
 
else
1033
 
  cat > conftest.$ac_ext <<EOF
1034
 
#line 1035 "configure"
1035
 
#include "confdefs.h"
1036
 
 
1037
 
int main() {
1038
 
return __MINGW32__;
1039
 
; return 0; }
1040
 
EOF
1041
 
if { (eval echo configure:1042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1042
 
  rm -rf conftest*
1043
 
  ac_cv_mingw32=yes
1044
 
else
1045
 
  echo "configure: failed program was:" >&5
1046
 
  cat conftest.$ac_ext >&5
1047
 
  rm -rf conftest*
1048
 
  ac_cv_mingw32=no
1049
 
fi
1050
 
rm -f conftest*
1051
 
rm -f conftest*
1052
 
fi
1053
 
 
1054
 
echo "$ac_t""$ac_cv_mingw32" 1>&6
1055
 
MINGW32=
1056
 
test "$ac_cv_mingw32" = yes && MINGW32=yes
1057
 
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1058
 
echo "configure:1059: checking how to run the C preprocessor" >&5
 
1821
 
 
1822
 
 
1823
 
 
1824
rm -f .deps 2>/dev/null
 
1825
mkdir .deps 2>/dev/null
 
1826
if test -d .deps; then
 
1827
  DEPDIR=.deps
 
1828
else
 
1829
  # MS-DOS does not allow filenames that begin with a dot.
 
1830
  DEPDIR=_deps
 
1831
fi
 
1832
rmdir .deps 2>/dev/null
 
1833
 
 
1834
 
 
1835
          ac_config_commands="$ac_config_commands depfiles"
 
1836
 
 
1837
 
 
1838
am_make=${MAKE-make}
 
1839
cat > confinc << 'END'
 
1840
doit:
 
1841
        @echo done
 
1842
END
 
1843
# If we don't find an include directive, just comment out the code.
 
1844
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
1845
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
1846
am__include="#"
 
1847
am__quote=
 
1848
_am_result=none
 
1849
# First try GNU make style include.
 
1850
echo "include confinc" > confmf
 
1851
# We grep out `Entering directory' and `Leaving directory'
 
1852
# messages which can occur if `w' ends up in MAKEFLAGS.
 
1853
# In particular we don't look at `^make:' because GNU make might
 
1854
# be invoked under some other name (usually "gmake"), in which
 
1855
# case it prints its new name instead of `make'.
 
1856
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
 
1857
   am__include=include
 
1858
   am__quote=
 
1859
   _am_result=GNU
 
1860
fi
 
1861
# Now try BSD make style include.
 
1862
if test "$am__include" = "#"; then
 
1863
   echo '.include "confinc"' > confmf
 
1864
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 
1865
      am__include=.include
 
1866
      am__quote="\""
 
1867
      _am_result=BSD
 
1868
   fi
 
1869
fi
 
1870
 
 
1871
 
 
1872
echo "$as_me:$LINENO: result: $_am_result" >&5
 
1873
echo "${ECHO_T}$_am_result" >&6
 
1874
rm -f confinc confmf
 
1875
 
 
1876
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
1877
if test "${enable_dependency_tracking+set}" = set; then
 
1878
  enableval="$enable_dependency_tracking"
 
1879
 
 
1880
fi;
 
1881
if test "x$enable_dependency_tracking" != xno; then
 
1882
  am_depcomp="$ac_aux_dir/depcomp"
 
1883
  AMDEPBACKSLASH='\'
 
1884
fi
 
1885
 
 
1886
 
 
1887
if test "x$enable_dependency_tracking" != xno; then
 
1888
  AMDEP_TRUE=
 
1889
  AMDEP_FALSE='#'
 
1890
else
 
1891
  AMDEP_TRUE='#'
 
1892
  AMDEP_FALSE=
 
1893
fi
 
1894
 
 
1895
 
 
1896
 
 
1897
ac_ext=c
 
1898
ac_cpp='$CPP $CPPFLAGS'
 
1899
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
1900
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
1901
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
1902
if test -n "$ac_tool_prefix"; then
 
1903
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
1904
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
1905
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1906
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1907
if test "${ac_cv_prog_CC+set}" = set; then
 
1908
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1909
else
 
1910
  if test -n "$CC"; then
 
1911
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1912
else
 
1913
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1914
for as_dir in $PATH
 
1915
do
 
1916
  IFS=$as_save_IFS
 
1917
  test -z "$as_dir" && as_dir=.
 
1918
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1919
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1920
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
1921
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1922
    break 2
 
1923
  fi
 
1924
done
 
1925
done
 
1926
 
 
1927
fi
 
1928
fi
 
1929
CC=$ac_cv_prog_CC
 
1930
if test -n "$CC"; then
 
1931
  echo "$as_me:$LINENO: result: $CC" >&5
 
1932
echo "${ECHO_T}$CC" >&6
 
1933
else
 
1934
  echo "$as_me:$LINENO: result: no" >&5
 
1935
echo "${ECHO_T}no" >&6
 
1936
fi
 
1937
 
 
1938
fi
 
1939
if test -z "$ac_cv_prog_CC"; then
 
1940
  ac_ct_CC=$CC
 
1941
  # Extract the first word of "gcc", so it can be a program name with args.
 
1942
set dummy gcc; ac_word=$2
 
1943
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1944
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1945
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
1946
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1947
else
 
1948
  if test -n "$ac_ct_CC"; then
 
1949
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
1950
else
 
1951
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1952
for as_dir in $PATH
 
1953
do
 
1954
  IFS=$as_save_IFS
 
1955
  test -z "$as_dir" && as_dir=.
 
1956
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1957
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1958
    ac_cv_prog_ac_ct_CC="gcc"
 
1959
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1960
    break 2
 
1961
  fi
 
1962
done
 
1963
done
 
1964
 
 
1965
fi
 
1966
fi
 
1967
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
1968
if test -n "$ac_ct_CC"; then
 
1969
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
1970
echo "${ECHO_T}$ac_ct_CC" >&6
 
1971
else
 
1972
  echo "$as_me:$LINENO: result: no" >&5
 
1973
echo "${ECHO_T}no" >&6
 
1974
fi
 
1975
 
 
1976
  CC=$ac_ct_CC
 
1977
else
 
1978
  CC="$ac_cv_prog_CC"
 
1979
fi
 
1980
 
 
1981
if test -z "$CC"; then
 
1982
  if test -n "$ac_tool_prefix"; then
 
1983
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
1984
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
1985
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1986
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1987
if test "${ac_cv_prog_CC+set}" = set; then
 
1988
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1989
else
 
1990
  if test -n "$CC"; then
 
1991
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1992
else
 
1993
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1994
for as_dir in $PATH
 
1995
do
 
1996
  IFS=$as_save_IFS
 
1997
  test -z "$as_dir" && as_dir=.
 
1998
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1999
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2000
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
2001
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2002
    break 2
 
2003
  fi
 
2004
done
 
2005
done
 
2006
 
 
2007
fi
 
2008
fi
 
2009
CC=$ac_cv_prog_CC
 
2010
if test -n "$CC"; then
 
2011
  echo "$as_me:$LINENO: result: $CC" >&5
 
2012
echo "${ECHO_T}$CC" >&6
 
2013
else
 
2014
  echo "$as_me:$LINENO: result: no" >&5
 
2015
echo "${ECHO_T}no" >&6
 
2016
fi
 
2017
 
 
2018
fi
 
2019
if test -z "$ac_cv_prog_CC"; then
 
2020
  ac_ct_CC=$CC
 
2021
  # Extract the first word of "cc", so it can be a program name with args.
 
2022
set dummy cc; ac_word=$2
 
2023
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2024
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2025
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2026
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2027
else
 
2028
  if test -n "$ac_ct_CC"; then
 
2029
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2030
else
 
2031
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2032
for as_dir in $PATH
 
2033
do
 
2034
  IFS=$as_save_IFS
 
2035
  test -z "$as_dir" && as_dir=.
 
2036
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2037
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2038
    ac_cv_prog_ac_ct_CC="cc"
 
2039
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2040
    break 2
 
2041
  fi
 
2042
done
 
2043
done
 
2044
 
 
2045
fi
 
2046
fi
 
2047
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2048
if test -n "$ac_ct_CC"; then
 
2049
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2050
echo "${ECHO_T}$ac_ct_CC" >&6
 
2051
else
 
2052
  echo "$as_me:$LINENO: result: no" >&5
 
2053
echo "${ECHO_T}no" >&6
 
2054
fi
 
2055
 
 
2056
  CC=$ac_ct_CC
 
2057
else
 
2058
  CC="$ac_cv_prog_CC"
 
2059
fi
 
2060
 
 
2061
fi
 
2062
if test -z "$CC"; then
 
2063
  # Extract the first word of "cc", so it can be a program name with args.
 
2064
set dummy cc; ac_word=$2
 
2065
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2066
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2067
if test "${ac_cv_prog_CC+set}" = set; then
 
2068
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2069
else
 
2070
  if test -n "$CC"; then
 
2071
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2072
else
 
2073
  ac_prog_rejected=no
 
2074
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2075
for as_dir in $PATH
 
2076
do
 
2077
  IFS=$as_save_IFS
 
2078
  test -z "$as_dir" && as_dir=.
 
2079
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2080
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2081
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
2082
       ac_prog_rejected=yes
 
2083
       continue
 
2084
     fi
 
2085
    ac_cv_prog_CC="cc"
 
2086
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2087
    break 2
 
2088
  fi
 
2089
done
 
2090
done
 
2091
 
 
2092
if test $ac_prog_rejected = yes; then
 
2093
  # We found a bogon in the path, so make sure we never use it.
 
2094
  set dummy $ac_cv_prog_CC
 
2095
  shift
 
2096
  if test $# != 0; then
 
2097
    # We chose a different compiler from the bogus one.
 
2098
    # However, it has the same basename, so the bogon will be chosen
 
2099
    # first if we set CC to just the basename; use the full file name.
 
2100
    shift
 
2101
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
2102
  fi
 
2103
fi
 
2104
fi
 
2105
fi
 
2106
CC=$ac_cv_prog_CC
 
2107
if test -n "$CC"; then
 
2108
  echo "$as_me:$LINENO: result: $CC" >&5
 
2109
echo "${ECHO_T}$CC" >&6
 
2110
else
 
2111
  echo "$as_me:$LINENO: result: no" >&5
 
2112
echo "${ECHO_T}no" >&6
 
2113
fi
 
2114
 
 
2115
fi
 
2116
if test -z "$CC"; then
 
2117
  if test -n "$ac_tool_prefix"; then
 
2118
  for ac_prog in cl
 
2119
  do
 
2120
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
2121
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
2122
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2123
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2124
if test "${ac_cv_prog_CC+set}" = set; then
 
2125
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2126
else
 
2127
  if test -n "$CC"; then
 
2128
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2129
else
 
2130
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2131
for as_dir in $PATH
 
2132
do
 
2133
  IFS=$as_save_IFS
 
2134
  test -z "$as_dir" && as_dir=.
 
2135
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2136
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2137
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
2138
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2139
    break 2
 
2140
  fi
 
2141
done
 
2142
done
 
2143
 
 
2144
fi
 
2145
fi
 
2146
CC=$ac_cv_prog_CC
 
2147
if test -n "$CC"; then
 
2148
  echo "$as_me:$LINENO: result: $CC" >&5
 
2149
echo "${ECHO_T}$CC" >&6
 
2150
else
 
2151
  echo "$as_me:$LINENO: result: no" >&5
 
2152
echo "${ECHO_T}no" >&6
 
2153
fi
 
2154
 
 
2155
    test -n "$CC" && break
 
2156
  done
 
2157
fi
 
2158
if test -z "$CC"; then
 
2159
  ac_ct_CC=$CC
 
2160
  for ac_prog in cl
 
2161
do
 
2162
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2163
set dummy $ac_prog; ac_word=$2
 
2164
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2165
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2166
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2167
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2168
else
 
2169
  if test -n "$ac_ct_CC"; then
 
2170
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2171
else
 
2172
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2173
for as_dir in $PATH
 
2174
do
 
2175
  IFS=$as_save_IFS
 
2176
  test -z "$as_dir" && as_dir=.
 
2177
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2178
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2179
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
2180
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2181
    break 2
 
2182
  fi
 
2183
done
 
2184
done
 
2185
 
 
2186
fi
 
2187
fi
 
2188
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2189
if test -n "$ac_ct_CC"; then
 
2190
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2191
echo "${ECHO_T}$ac_ct_CC" >&6
 
2192
else
 
2193
  echo "$as_me:$LINENO: result: no" >&5
 
2194
echo "${ECHO_T}no" >&6
 
2195
fi
 
2196
 
 
2197
  test -n "$ac_ct_CC" && break
 
2198
done
 
2199
 
 
2200
  CC=$ac_ct_CC
 
2201
fi
 
2202
 
 
2203
fi
 
2204
 
 
2205
 
 
2206
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
 
2207
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
 
2208
   { (exit 1); exit 1; }; }
 
2209
 
 
2210
# Provide some information about the compiler.
 
2211
echo "$as_me:$LINENO:" \
 
2212
     "checking for C compiler version" >&5
 
2213
ac_compiler=`set X $ac_compile; echo $2`
 
2214
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 
2215
  (eval $ac_compiler --version </dev/null >&5) 2>&5
 
2216
  ac_status=$?
 
2217
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2218
  (exit $ac_status); }
 
2219
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 
2220
  (eval $ac_compiler -v </dev/null >&5) 2>&5
 
2221
  ac_status=$?
 
2222
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2223
  (exit $ac_status); }
 
2224
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 
2225
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2226
  ac_status=$?
 
2227
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2228
  (exit $ac_status); }
 
2229
 
 
2230
cat >conftest.$ac_ext <<_ACEOF
 
2231
#line $LINENO "configure"
 
2232
#include "confdefs.h"
 
2233
 
 
2234
int
 
2235
main ()
 
2236
{
 
2237
 
 
2238
  ;
 
2239
  return 0;
 
2240
}
 
2241
_ACEOF
 
2242
ac_clean_files_save=$ac_clean_files
 
2243
ac_clean_files="$ac_clean_files a.out a.exe"
 
2244
# Try to create an executable without -o first, disregard a.out.
 
2245
# It will help us diagnose broken compilers, and finding out an intuition
 
2246
# of exeext.
 
2247
echo "$as_me:$LINENO: checking for C compiler default output" >&5
 
2248
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
 
2249
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2250
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
 
2251
  (eval $ac_link_default) 2>&5
 
2252
  ac_status=$?
 
2253
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2254
  (exit $ac_status); }; then
 
2255
  # Find the output, starting from the most likely.  This scheme is
 
2256
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
 
2257
# resort.
 
2258
 
 
2259
# Be careful to initialize this variable, since it used to be cached.
 
2260
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
 
2261
ac_cv_exeext=
 
2262
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.*; do
 
2263
  test -f "$ac_file" || continue
 
2264
  case $ac_file in
 
2265
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
2266
    a.out ) # We found the default executable, but exeext='' is most
 
2267
            # certainly right.
 
2268
            break;;
 
2269
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2270
          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
 
2271
          export ac_cv_exeext
 
2272
          break;;
 
2273
    * ) break;;
 
2274
  esac
 
2275
done
 
2276
else
 
2277
  echo "$as_me: failed program was:" >&5
 
2278
cat conftest.$ac_ext >&5
 
2279
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
2280
check \`config.log' for details." >&5
 
2281
echo "$as_me: error: C compiler cannot create executables
 
2282
check \`config.log' for details." >&2;}
 
2283
   { (exit 77); exit 77; }; }
 
2284
fi
 
2285
 
 
2286
ac_exeext=$ac_cv_exeext
 
2287
echo "$as_me:$LINENO: result: $ac_file" >&5
 
2288
echo "${ECHO_T}$ac_file" >&6
 
2289
 
 
2290
# Check the compiler produces executables we can run.  If not, either
 
2291
# the compiler is broken, or we cross compile.
 
2292
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2293
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2294
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 
2295
# If not cross compiling, check that we can run a simple program.
 
2296
if test "$cross_compiling" != yes; then
 
2297
  if { ac_try='./$ac_file'
 
2298
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2299
  (eval $ac_try) 2>&5
 
2300
  ac_status=$?
 
2301
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2302
  (exit $ac_status); }; }; then
 
2303
    cross_compiling=no
 
2304
  else
 
2305
    if test "$cross_compiling" = maybe; then
 
2306
        cross_compiling=yes
 
2307
    else
 
2308
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
2309
If you meant to cross compile, use \`--host'." >&5
 
2310
echo "$as_me: error: cannot run C compiled programs.
 
2311
If you meant to cross compile, use \`--host'." >&2;}
 
2312
   { (exit 1); exit 1; }; }
 
2313
    fi
 
2314
  fi
 
2315
fi
 
2316
echo "$as_me:$LINENO: result: yes" >&5
 
2317
echo "${ECHO_T}yes" >&6
 
2318
 
 
2319
rm -f a.out a.exe conftest$ac_cv_exeext
 
2320
ac_clean_files=$ac_clean_files_save
 
2321
# Check the compiler produces executables we can run.  If not, either
 
2322
# the compiler is broken, or we cross compile.
 
2323
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2324
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 
2325
echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2326
echo "${ECHO_T}$cross_compiling" >&6
 
2327
 
 
2328
echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2329
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
 
2330
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
2331
  (eval $ac_link) 2>&5
 
2332
  ac_status=$?
 
2333
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2334
  (exit $ac_status); }; then
 
2335
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
2336
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
2337
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
2338
# `rm'.
 
2339
for ac_file in conftest.exe conftest conftest.*; do
 
2340
  test -f "$ac_file" || continue
 
2341
  case $ac_file in
 
2342
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
2343
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2344
          export ac_cv_exeext
 
2345
          break;;
 
2346
    * ) break;;
 
2347
  esac
 
2348
done
 
2349
else
 
2350
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
 
2351
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
 
2352
   { (exit 1); exit 1; }; }
 
2353
fi
 
2354
 
 
2355
rm -f conftest$ac_cv_exeext
 
2356
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2357
echo "${ECHO_T}$ac_cv_exeext" >&6
 
2358
 
 
2359
rm -f conftest.$ac_ext
 
2360
EXEEXT=$ac_cv_exeext
 
2361
ac_exeext=$EXEEXT
 
2362
echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2363
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
2364
if test "${ac_cv_objext+set}" = set; then
 
2365
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2366
else
 
2367
  cat >conftest.$ac_ext <<_ACEOF
 
2368
#line $LINENO "configure"
 
2369
#include "confdefs.h"
 
2370
 
 
2371
int
 
2372
main ()
 
2373
{
 
2374
 
 
2375
  ;
 
2376
  return 0;
 
2377
}
 
2378
_ACEOF
 
2379
rm -f conftest.o conftest.obj
 
2380
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2381
  (eval $ac_compile) 2>&5
 
2382
  ac_status=$?
 
2383
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2384
  (exit $ac_status); }; then
 
2385
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
2386
  case $ac_file in
 
2387
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
2388
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
2389
       break;;
 
2390
  esac
 
2391
done
 
2392
else
 
2393
  echo "$as_me: failed program was:" >&5
 
2394
cat conftest.$ac_ext >&5
 
2395
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
 
2396
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
 
2397
   { (exit 1); exit 1; }; }
 
2398
fi
 
2399
 
 
2400
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
2401
fi
 
2402
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2403
echo "${ECHO_T}$ac_cv_objext" >&6
 
2404
OBJEXT=$ac_cv_objext
 
2405
ac_objext=$OBJEXT
 
2406
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2407
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
2408
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
2409
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2410
else
 
2411
  cat >conftest.$ac_ext <<_ACEOF
 
2412
#line $LINENO "configure"
 
2413
#include "confdefs.h"
 
2414
 
 
2415
int
 
2416
main ()
 
2417
{
 
2418
#ifndef __GNUC__
 
2419
       choke me
 
2420
#endif
 
2421
 
 
2422
  ;
 
2423
  return 0;
 
2424
}
 
2425
_ACEOF
 
2426
rm -f conftest.$ac_objext
 
2427
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2428
  (eval $ac_compile) 2>&5
 
2429
  ac_status=$?
 
2430
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2431
  (exit $ac_status); } &&
 
2432
         { ac_try='test -s conftest.$ac_objext'
 
2433
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2434
  (eval $ac_try) 2>&5
 
2435
  ac_status=$?
 
2436
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2437
  (exit $ac_status); }; }; then
 
2438
  ac_compiler_gnu=yes
 
2439
else
 
2440
  echo "$as_me: failed program was:" >&5
 
2441
cat conftest.$ac_ext >&5
 
2442
ac_compiler_gnu=no
 
2443
fi
 
2444
rm -f conftest.$ac_objext conftest.$ac_ext
 
2445
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
2446
 
 
2447
fi
 
2448
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2449
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
2450
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
2451
ac_test_CFLAGS=${CFLAGS+set}
 
2452
ac_save_CFLAGS=$CFLAGS
 
2453
CFLAGS="-g"
 
2454
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
2455
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
2456
if test "${ac_cv_prog_cc_g+set}" = set; then
 
2457
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2458
else
 
2459
  cat >conftest.$ac_ext <<_ACEOF
 
2460
#line $LINENO "configure"
 
2461
#include "confdefs.h"
 
2462
 
 
2463
int
 
2464
main ()
 
2465
{
 
2466
 
 
2467
  ;
 
2468
  return 0;
 
2469
}
 
2470
_ACEOF
 
2471
rm -f conftest.$ac_objext
 
2472
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2473
  (eval $ac_compile) 2>&5
 
2474
  ac_status=$?
 
2475
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2476
  (exit $ac_status); } &&
 
2477
         { ac_try='test -s conftest.$ac_objext'
 
2478
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2479
  (eval $ac_try) 2>&5
 
2480
  ac_status=$?
 
2481
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2482
  (exit $ac_status); }; }; then
 
2483
  ac_cv_prog_cc_g=yes
 
2484
else
 
2485
  echo "$as_me: failed program was:" >&5
 
2486
cat conftest.$ac_ext >&5
 
2487
ac_cv_prog_cc_g=no
 
2488
fi
 
2489
rm -f conftest.$ac_objext conftest.$ac_ext
 
2490
fi
 
2491
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
2492
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
2493
if test "$ac_test_CFLAGS" = set; then
 
2494
  CFLAGS=$ac_save_CFLAGS
 
2495
elif test $ac_cv_prog_cc_g = yes; then
 
2496
  if test "$GCC" = yes; then
 
2497
    CFLAGS="-g -O2"
 
2498
  else
 
2499
    CFLAGS="-g"
 
2500
  fi
 
2501
else
 
2502
  if test "$GCC" = yes; then
 
2503
    CFLAGS="-O2"
 
2504
  else
 
2505
    CFLAGS=
 
2506
  fi
 
2507
fi
 
2508
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 
2509
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 
2510
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
2511
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2512
else
 
2513
  ac_cv_prog_cc_stdc=no
 
2514
ac_save_CC=$CC
 
2515
cat >conftest.$ac_ext <<_ACEOF
 
2516
#line $LINENO "configure"
 
2517
#include "confdefs.h"
 
2518
#include <stdarg.h>
 
2519
#include <stdio.h>
 
2520
#include <sys/types.h>
 
2521
#include <sys/stat.h>
 
2522
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
2523
struct buf { int x; };
 
2524
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
2525
static char *e (p, i)
 
2526
     char **p;
 
2527
     int i;
 
2528
{
 
2529
  return p[i];
 
2530
}
 
2531
static char *f (char * (*g) (char **, int), char **p, ...)
 
2532
{
 
2533
  char *s;
 
2534
  va_list v;
 
2535
  va_start (v,p);
 
2536
  s = g (p, va_arg (v,int));
 
2537
  va_end (v);
 
2538
  return s;
 
2539
}
 
2540
int test (int i, double x);
 
2541
struct s1 {int (*f) (int a);};
 
2542
struct s2 {int (*f) (double a);};
 
2543
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
2544
int argc;
 
2545
char **argv;
 
2546
int
 
2547
main ()
 
2548
{
 
2549
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
2550
  ;
 
2551
  return 0;
 
2552
}
 
2553
_ACEOF
 
2554
# Don't try gcc -ansi; that turns off useful extensions and
 
2555
# breaks some systems' header files.
 
2556
# AIX                   -qlanglvl=ansi
 
2557
# Ultrix and OSF/1      -std1
 
2558
# HP-UX 10.20 and later -Ae
 
2559
# HP-UX older versions  -Aa -D_HPUX_SOURCE
 
2560
# SVR4                  -Xc -D__EXTENSIONS__
 
2561
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
2562
do
 
2563
  CC="$ac_save_CC $ac_arg"
 
2564
  rm -f conftest.$ac_objext
 
2565
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2566
  (eval $ac_compile) 2>&5
 
2567
  ac_status=$?
 
2568
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2569
  (exit $ac_status); } &&
 
2570
         { ac_try='test -s conftest.$ac_objext'
 
2571
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2572
  (eval $ac_try) 2>&5
 
2573
  ac_status=$?
 
2574
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2575
  (exit $ac_status); }; }; then
 
2576
  ac_cv_prog_cc_stdc=$ac_arg
 
2577
break
 
2578
else
 
2579
  echo "$as_me: failed program was:" >&5
 
2580
cat conftest.$ac_ext >&5
 
2581
fi
 
2582
rm -f conftest.$ac_objext
 
2583
done
 
2584
rm -f conftest.$ac_ext conftest.$ac_objext
 
2585
CC=$ac_save_CC
 
2586
 
 
2587
fi
 
2588
 
 
2589
case "x$ac_cv_prog_cc_stdc" in
 
2590
  x|xno)
 
2591
    echo "$as_me:$LINENO: result: none needed" >&5
 
2592
echo "${ECHO_T}none needed" >&6 ;;
 
2593
  *)
 
2594
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 
2595
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 
2596
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
2597
esac
 
2598
 
 
2599
# Some people use a C++ compiler to compile C.  Since we use `exit',
 
2600
# in C++ we need to declare it.  In case someone uses the same compiler
 
2601
# for both compiling C and C++ we need to have the C++ compiler decide
 
2602
# the declaration of exit, since it's the most demanding environment.
 
2603
cat >conftest.$ac_ext <<_ACEOF
 
2604
#ifndef __cplusplus
 
2605
  choke me
 
2606
#endif
 
2607
_ACEOF
 
2608
rm -f conftest.$ac_objext
 
2609
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2610
  (eval $ac_compile) 2>&5
 
2611
  ac_status=$?
 
2612
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2613
  (exit $ac_status); } &&
 
2614
         { ac_try='test -s conftest.$ac_objext'
 
2615
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2616
  (eval $ac_try) 2>&5
 
2617
  ac_status=$?
 
2618
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2619
  (exit $ac_status); }; }; then
 
2620
  for ac_declaration in \
 
2621
   ''\
 
2622
   '#include <stdlib.h>' \
 
2623
   'extern "C" void std::exit (int) throw (); using std::exit;' \
 
2624
   'extern "C" void std::exit (int); using std::exit;' \
 
2625
   'extern "C" void exit (int) throw ();' \
 
2626
   'extern "C" void exit (int);' \
 
2627
   'void exit (int);'
 
2628
do
 
2629
  cat >conftest.$ac_ext <<_ACEOF
 
2630
#line $LINENO "configure"
 
2631
#include "confdefs.h"
 
2632
#include <stdlib.h>
 
2633
$ac_declaration
 
2634
int
 
2635
main ()
 
2636
{
 
2637
exit (42);
 
2638
  ;
 
2639
  return 0;
 
2640
}
 
2641
_ACEOF
 
2642
rm -f conftest.$ac_objext
 
2643
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2644
  (eval $ac_compile) 2>&5
 
2645
  ac_status=$?
 
2646
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2647
  (exit $ac_status); } &&
 
2648
         { ac_try='test -s conftest.$ac_objext'
 
2649
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2650
  (eval $ac_try) 2>&5
 
2651
  ac_status=$?
 
2652
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2653
  (exit $ac_status); }; }; then
 
2654
  :
 
2655
else
 
2656
  echo "$as_me: failed program was:" >&5
 
2657
cat conftest.$ac_ext >&5
 
2658
continue
 
2659
fi
 
2660
rm -f conftest.$ac_objext conftest.$ac_ext
 
2661
  cat >conftest.$ac_ext <<_ACEOF
 
2662
#line $LINENO "configure"
 
2663
#include "confdefs.h"
 
2664
$ac_declaration
 
2665
int
 
2666
main ()
 
2667
{
 
2668
exit (42);
 
2669
  ;
 
2670
  return 0;
 
2671
}
 
2672
_ACEOF
 
2673
rm -f conftest.$ac_objext
 
2674
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2675
  (eval $ac_compile) 2>&5
 
2676
  ac_status=$?
 
2677
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2678
  (exit $ac_status); } &&
 
2679
         { ac_try='test -s conftest.$ac_objext'
 
2680
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2681
  (eval $ac_try) 2>&5
 
2682
  ac_status=$?
 
2683
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2684
  (exit $ac_status); }; }; then
 
2685
  break
 
2686
else
 
2687
  echo "$as_me: failed program was:" >&5
 
2688
cat conftest.$ac_ext >&5
 
2689
fi
 
2690
rm -f conftest.$ac_objext conftest.$ac_ext
 
2691
done
 
2692
rm -f conftest*
 
2693
if test -n "$ac_declaration"; then
 
2694
  echo '#ifdef __cplusplus' >>confdefs.h
 
2695
  echo $ac_declaration      >>confdefs.h
 
2696
  echo '#endif'             >>confdefs.h
 
2697
fi
 
2698
 
 
2699
else
 
2700
  echo "$as_me: failed program was:" >&5
 
2701
cat conftest.$ac_ext >&5
 
2702
fi
 
2703
rm -f conftest.$ac_objext conftest.$ac_ext
 
2704
ac_ext=c
 
2705
ac_cpp='$CPP $CPPFLAGS'
 
2706
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2707
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2708
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2709
 
 
2710
depcc="$CC"   am_compiler_list=
 
2711
 
 
2712
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
2713
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
2714
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
2715
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2716
else
 
2717
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
2718
  # We make a subdir and do the tests there.  Otherwise we can end up
 
2719
  # making bogus files that we don't know about and never remove.  For
 
2720
  # instance it was reported that on HP-UX the gcc test will end up
 
2721
  # making a dummy file named `D' -- because `-MD' means `put the output
 
2722
  # in D'.
 
2723
  mkdir conftest.dir
 
2724
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
2725
  # using a relative directory.
 
2726
  cp "$am_depcomp" conftest.dir
 
2727
  cd conftest.dir
 
2728
 
 
2729
  am_cv_CC_dependencies_compiler_type=none
 
2730
  if test "$am_compiler_list" = ""; then
 
2731
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
2732
  fi
 
2733
  for depmode in $am_compiler_list; do
 
2734
    # We need to recreate these files for each test, as the compiler may
 
2735
    # overwrite some of them when testing with obscure command lines.
 
2736
    # This happens at least with the AIX C compiler.
 
2737
    echo '#include "conftest.h"' > conftest.c
 
2738
    echo 'int i;' > conftest.h
 
2739
    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
 
2740
 
 
2741
    case $depmode in
 
2742
    nosideeffect)
 
2743
      # after this tag, mechanisms are not by side-effect, so they'll
 
2744
      # only be used when explicitly requested
 
2745
      if test "x$enable_dependency_tracking" = xyes; then
 
2746
        continue
 
2747
      else
 
2748
        break
 
2749
      fi
 
2750
      ;;
 
2751
    none) break ;;
 
2752
    esac
 
2753
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
2754
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
2755
    # handle `-M -o', and we need to detect this.
 
2756
    if depmode=$depmode \
 
2757
       source=conftest.c object=conftest.o \
 
2758
       depfile=conftest.Po tmpdepfile=conftest.TPo \
 
2759
       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
 
2760
       grep conftest.h conftest.Po > /dev/null 2>&1 &&
 
2761
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
2762
      am_cv_CC_dependencies_compiler_type=$depmode
 
2763
      break
 
2764
    fi
 
2765
  done
 
2766
 
 
2767
  cd ..
 
2768
  rm -rf conftest.dir
 
2769
else
 
2770
  am_cv_CC_dependencies_compiler_type=none
 
2771
fi
 
2772
 
 
2773
fi
 
2774
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
2775
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
2776
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
2777
 
 
2778
 
 
2779
 
 
2780
 
 
2781
        echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
 
2782
echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
 
2783
if test "${ac_cv_lib_cposix_strerror+set}" = set; then
 
2784
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2785
else
 
2786
  ac_check_lib_save_LIBS=$LIBS
 
2787
LIBS="-lcposix  $LIBS"
 
2788
cat >conftest.$ac_ext <<_ACEOF
 
2789
#line $LINENO "configure"
 
2790
#include "confdefs.h"
 
2791
 
 
2792
/* Override any gcc2 internal prototype to avoid an error.  */
 
2793
#ifdef __cplusplus
 
2794
extern "C"
 
2795
#endif
 
2796
/* We use char because int might match the return type of a gcc2
 
2797
   builtin and then its argument prototype would still apply.  */
 
2798
char strerror ();
 
2799
int
 
2800
main ()
 
2801
{
 
2802
strerror ();
 
2803
  ;
 
2804
  return 0;
 
2805
}
 
2806
_ACEOF
 
2807
rm -f conftest.$ac_objext conftest$ac_exeext
 
2808
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
2809
  (eval $ac_link) 2>&5
 
2810
  ac_status=$?
 
2811
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2812
  (exit $ac_status); } &&
 
2813
         { ac_try='test -s conftest$ac_exeext'
 
2814
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2815
  (eval $ac_try) 2>&5
 
2816
  ac_status=$?
 
2817
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2818
  (exit $ac_status); }; }; then
 
2819
  ac_cv_lib_cposix_strerror=yes
 
2820
else
 
2821
  echo "$as_me: failed program was:" >&5
 
2822
cat conftest.$ac_ext >&5
 
2823
ac_cv_lib_cposix_strerror=no
 
2824
fi
 
2825
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
2826
LIBS=$ac_check_lib_save_LIBS
 
2827
fi
 
2828
echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
 
2829
echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
 
2830
if test $ac_cv_lib_cposix_strerror = yes; then
 
2831
  LIBS="$LIBS -lcposix"
 
2832
fi
 
2833
 
 
2834
 
 
2835
 
 
2836
ac_ext=c
 
2837
ac_cpp='$CPP $CPPFLAGS'
 
2838
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2839
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2840
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2841
if test -n "$ac_tool_prefix"; then
 
2842
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
2843
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
2844
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2845
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2846
if test "${ac_cv_prog_CC+set}" = set; then
 
2847
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2848
else
 
2849
  if test -n "$CC"; then
 
2850
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2851
else
 
2852
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2853
for as_dir in $PATH
 
2854
do
 
2855
  IFS=$as_save_IFS
 
2856
  test -z "$as_dir" && as_dir=.
 
2857
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2858
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2859
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
2860
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2861
    break 2
 
2862
  fi
 
2863
done
 
2864
done
 
2865
 
 
2866
fi
 
2867
fi
 
2868
CC=$ac_cv_prog_CC
 
2869
if test -n "$CC"; then
 
2870
  echo "$as_me:$LINENO: result: $CC" >&5
 
2871
echo "${ECHO_T}$CC" >&6
 
2872
else
 
2873
  echo "$as_me:$LINENO: result: no" >&5
 
2874
echo "${ECHO_T}no" >&6
 
2875
fi
 
2876
 
 
2877
fi
 
2878
if test -z "$ac_cv_prog_CC"; then
 
2879
  ac_ct_CC=$CC
 
2880
  # Extract the first word of "gcc", so it can be a program name with args.
 
2881
set dummy gcc; ac_word=$2
 
2882
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2883
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2884
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2885
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2886
else
 
2887
  if test -n "$ac_ct_CC"; then
 
2888
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2889
else
 
2890
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2891
for as_dir in $PATH
 
2892
do
 
2893
  IFS=$as_save_IFS
 
2894
  test -z "$as_dir" && as_dir=.
 
2895
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2896
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2897
    ac_cv_prog_ac_ct_CC="gcc"
 
2898
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2899
    break 2
 
2900
  fi
 
2901
done
 
2902
done
 
2903
 
 
2904
fi
 
2905
fi
 
2906
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2907
if test -n "$ac_ct_CC"; then
 
2908
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2909
echo "${ECHO_T}$ac_ct_CC" >&6
 
2910
else
 
2911
  echo "$as_me:$LINENO: result: no" >&5
 
2912
echo "${ECHO_T}no" >&6
 
2913
fi
 
2914
 
 
2915
  CC=$ac_ct_CC
 
2916
else
 
2917
  CC="$ac_cv_prog_CC"
 
2918
fi
 
2919
 
 
2920
if test -z "$CC"; then
 
2921
  if test -n "$ac_tool_prefix"; then
 
2922
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2923
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
2924
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2925
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2926
if test "${ac_cv_prog_CC+set}" = set; then
 
2927
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2928
else
 
2929
  if test -n "$CC"; then
 
2930
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2931
else
 
2932
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2933
for as_dir in $PATH
 
2934
do
 
2935
  IFS=$as_save_IFS
 
2936
  test -z "$as_dir" && as_dir=.
 
2937
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2938
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2939
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
2940
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2941
    break 2
 
2942
  fi
 
2943
done
 
2944
done
 
2945
 
 
2946
fi
 
2947
fi
 
2948
CC=$ac_cv_prog_CC
 
2949
if test -n "$CC"; then
 
2950
  echo "$as_me:$LINENO: result: $CC" >&5
 
2951
echo "${ECHO_T}$CC" >&6
 
2952
else
 
2953
  echo "$as_me:$LINENO: result: no" >&5
 
2954
echo "${ECHO_T}no" >&6
 
2955
fi
 
2956
 
 
2957
fi
 
2958
if test -z "$ac_cv_prog_CC"; then
 
2959
  ac_ct_CC=$CC
 
2960
  # Extract the first word of "cc", so it can be a program name with args.
 
2961
set dummy cc; ac_word=$2
 
2962
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2963
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2964
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2965
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2966
else
 
2967
  if test -n "$ac_ct_CC"; then
 
2968
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2969
else
 
2970
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2971
for as_dir in $PATH
 
2972
do
 
2973
  IFS=$as_save_IFS
 
2974
  test -z "$as_dir" && as_dir=.
 
2975
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2976
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2977
    ac_cv_prog_ac_ct_CC="cc"
 
2978
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2979
    break 2
 
2980
  fi
 
2981
done
 
2982
done
 
2983
 
 
2984
fi
 
2985
fi
 
2986
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2987
if test -n "$ac_ct_CC"; then
 
2988
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2989
echo "${ECHO_T}$ac_ct_CC" >&6
 
2990
else
 
2991
  echo "$as_me:$LINENO: result: no" >&5
 
2992
echo "${ECHO_T}no" >&6
 
2993
fi
 
2994
 
 
2995
  CC=$ac_ct_CC
 
2996
else
 
2997
  CC="$ac_cv_prog_CC"
 
2998
fi
 
2999
 
 
3000
fi
 
3001
if test -z "$CC"; then
 
3002
  # Extract the first word of "cc", so it can be a program name with args.
 
3003
set dummy cc; ac_word=$2
 
3004
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3005
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3006
if test "${ac_cv_prog_CC+set}" = set; then
 
3007
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3008
else
 
3009
  if test -n "$CC"; then
 
3010
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3011
else
 
3012
  ac_prog_rejected=no
 
3013
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3014
for as_dir in $PATH
 
3015
do
 
3016
  IFS=$as_save_IFS
 
3017
  test -z "$as_dir" && as_dir=.
 
3018
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3019
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3020
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
3021
       ac_prog_rejected=yes
 
3022
       continue
 
3023
     fi
 
3024
    ac_cv_prog_CC="cc"
 
3025
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3026
    break 2
 
3027
  fi
 
3028
done
 
3029
done
 
3030
 
 
3031
if test $ac_prog_rejected = yes; then
 
3032
  # We found a bogon in the path, so make sure we never use it.
 
3033
  set dummy $ac_cv_prog_CC
 
3034
  shift
 
3035
  if test $# != 0; then
 
3036
    # We chose a different compiler from the bogus one.
 
3037
    # However, it has the same basename, so the bogon will be chosen
 
3038
    # first if we set CC to just the basename; use the full file name.
 
3039
    shift
 
3040
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
3041
  fi
 
3042
fi
 
3043
fi
 
3044
fi
 
3045
CC=$ac_cv_prog_CC
 
3046
if test -n "$CC"; then
 
3047
  echo "$as_me:$LINENO: result: $CC" >&5
 
3048
echo "${ECHO_T}$CC" >&6
 
3049
else
 
3050
  echo "$as_me:$LINENO: result: no" >&5
 
3051
echo "${ECHO_T}no" >&6
 
3052
fi
 
3053
 
 
3054
fi
 
3055
if test -z "$CC"; then
 
3056
  if test -n "$ac_tool_prefix"; then
 
3057
  for ac_prog in cl
 
3058
  do
 
3059
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3060
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3061
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3062
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3063
if test "${ac_cv_prog_CC+set}" = set; then
 
3064
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3065
else
 
3066
  if test -n "$CC"; then
 
3067
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3068
else
 
3069
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3070
for as_dir in $PATH
 
3071
do
 
3072
  IFS=$as_save_IFS
 
3073
  test -z "$as_dir" && as_dir=.
 
3074
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3075
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3076
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
3077
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3078
    break 2
 
3079
  fi
 
3080
done
 
3081
done
 
3082
 
 
3083
fi
 
3084
fi
 
3085
CC=$ac_cv_prog_CC
 
3086
if test -n "$CC"; then
 
3087
  echo "$as_me:$LINENO: result: $CC" >&5
 
3088
echo "${ECHO_T}$CC" >&6
 
3089
else
 
3090
  echo "$as_me:$LINENO: result: no" >&5
 
3091
echo "${ECHO_T}no" >&6
 
3092
fi
 
3093
 
 
3094
    test -n "$CC" && break
 
3095
  done
 
3096
fi
 
3097
if test -z "$CC"; then
 
3098
  ac_ct_CC=$CC
 
3099
  for ac_prog in cl
 
3100
do
 
3101
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3102
set dummy $ac_prog; ac_word=$2
 
3103
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3104
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3105
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3106
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3107
else
 
3108
  if test -n "$ac_ct_CC"; then
 
3109
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3110
else
 
3111
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3112
for as_dir in $PATH
 
3113
do
 
3114
  IFS=$as_save_IFS
 
3115
  test -z "$as_dir" && as_dir=.
 
3116
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3117
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3118
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
3119
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3120
    break 2
 
3121
  fi
 
3122
done
 
3123
done
 
3124
 
 
3125
fi
 
3126
fi
 
3127
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3128
if test -n "$ac_ct_CC"; then
 
3129
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3130
echo "${ECHO_T}$ac_ct_CC" >&6
 
3131
else
 
3132
  echo "$as_me:$LINENO: result: no" >&5
 
3133
echo "${ECHO_T}no" >&6
 
3134
fi
 
3135
 
 
3136
  test -n "$ac_ct_CC" && break
 
3137
done
 
3138
 
 
3139
  CC=$ac_ct_CC
 
3140
fi
 
3141
 
 
3142
fi
 
3143
 
 
3144
 
 
3145
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
 
3146
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
 
3147
   { (exit 1); exit 1; }; }
 
3148
 
 
3149
# Provide some information about the compiler.
 
3150
echo "$as_me:$LINENO:" \
 
3151
     "checking for C compiler version" >&5
 
3152
ac_compiler=`set X $ac_compile; echo $2`
 
3153
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 
3154
  (eval $ac_compiler --version </dev/null >&5) 2>&5
 
3155
  ac_status=$?
 
3156
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3157
  (exit $ac_status); }
 
3158
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 
3159
  (eval $ac_compiler -v </dev/null >&5) 2>&5
 
3160
  ac_status=$?
 
3161
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3162
  (exit $ac_status); }
 
3163
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 
3164
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
3165
  ac_status=$?
 
3166
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3167
  (exit $ac_status); }
 
3168
 
 
3169
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3170
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3171
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3172
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3173
else
 
3174
  cat >conftest.$ac_ext <<_ACEOF
 
3175
#line $LINENO "configure"
 
3176
#include "confdefs.h"
 
3177
 
 
3178
int
 
3179
main ()
 
3180
{
 
3181
#ifndef __GNUC__
 
3182
       choke me
 
3183
#endif
 
3184
 
 
3185
  ;
 
3186
  return 0;
 
3187
}
 
3188
_ACEOF
 
3189
rm -f conftest.$ac_objext
 
3190
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3191
  (eval $ac_compile) 2>&5
 
3192
  ac_status=$?
 
3193
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3194
  (exit $ac_status); } &&
 
3195
         { ac_try='test -s conftest.$ac_objext'
 
3196
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3197
  (eval $ac_try) 2>&5
 
3198
  ac_status=$?
 
3199
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3200
  (exit $ac_status); }; }; then
 
3201
  ac_compiler_gnu=yes
 
3202
else
 
3203
  echo "$as_me: failed program was:" >&5
 
3204
cat conftest.$ac_ext >&5
 
3205
ac_compiler_gnu=no
 
3206
fi
 
3207
rm -f conftest.$ac_objext conftest.$ac_ext
 
3208
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
3209
 
 
3210
fi
 
3211
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3212
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3213
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3214
ac_test_CFLAGS=${CFLAGS+set}
 
3215
ac_save_CFLAGS=$CFLAGS
 
3216
CFLAGS="-g"
 
3217
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3218
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3219
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3220
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3221
else
 
3222
  cat >conftest.$ac_ext <<_ACEOF
 
3223
#line $LINENO "configure"
 
3224
#include "confdefs.h"
 
3225
 
 
3226
int
 
3227
main ()
 
3228
{
 
3229
 
 
3230
  ;
 
3231
  return 0;
 
3232
}
 
3233
_ACEOF
 
3234
rm -f conftest.$ac_objext
 
3235
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3236
  (eval $ac_compile) 2>&5
 
3237
  ac_status=$?
 
3238
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3239
  (exit $ac_status); } &&
 
3240
         { ac_try='test -s conftest.$ac_objext'
 
3241
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3242
  (eval $ac_try) 2>&5
 
3243
  ac_status=$?
 
3244
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3245
  (exit $ac_status); }; }; then
 
3246
  ac_cv_prog_cc_g=yes
 
3247
else
 
3248
  echo "$as_me: failed program was:" >&5
 
3249
cat conftest.$ac_ext >&5
 
3250
ac_cv_prog_cc_g=no
 
3251
fi
 
3252
rm -f conftest.$ac_objext conftest.$ac_ext
 
3253
fi
 
3254
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3255
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3256
if test "$ac_test_CFLAGS" = set; then
 
3257
  CFLAGS=$ac_save_CFLAGS
 
3258
elif test $ac_cv_prog_cc_g = yes; then
 
3259
  if test "$GCC" = yes; then
 
3260
    CFLAGS="-g -O2"
 
3261
  else
 
3262
    CFLAGS="-g"
 
3263
  fi
 
3264
else
 
3265
  if test "$GCC" = yes; then
 
3266
    CFLAGS="-O2"
 
3267
  else
 
3268
    CFLAGS=
 
3269
  fi
 
3270
fi
 
3271
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 
3272
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 
3273
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3274
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3275
else
 
3276
  ac_cv_prog_cc_stdc=no
 
3277
ac_save_CC=$CC
 
3278
cat >conftest.$ac_ext <<_ACEOF
 
3279
#line $LINENO "configure"
 
3280
#include "confdefs.h"
 
3281
#include <stdarg.h>
 
3282
#include <stdio.h>
 
3283
#include <sys/types.h>
 
3284
#include <sys/stat.h>
 
3285
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3286
struct buf { int x; };
 
3287
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3288
static char *e (p, i)
 
3289
     char **p;
 
3290
     int i;
 
3291
{
 
3292
  return p[i];
 
3293
}
 
3294
static char *f (char * (*g) (char **, int), char **p, ...)
 
3295
{
 
3296
  char *s;
 
3297
  va_list v;
 
3298
  va_start (v,p);
 
3299
  s = g (p, va_arg (v,int));
 
3300
  va_end (v);
 
3301
  return s;
 
3302
}
 
3303
int test (int i, double x);
 
3304
struct s1 {int (*f) (int a);};
 
3305
struct s2 {int (*f) (double a);};
 
3306
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3307
int argc;
 
3308
char **argv;
 
3309
int
 
3310
main ()
 
3311
{
 
3312
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3313
  ;
 
3314
  return 0;
 
3315
}
 
3316
_ACEOF
 
3317
# Don't try gcc -ansi; that turns off useful extensions and
 
3318
# breaks some systems' header files.
 
3319
# AIX                   -qlanglvl=ansi
 
3320
# Ultrix and OSF/1      -std1
 
3321
# HP-UX 10.20 and later -Ae
 
3322
# HP-UX older versions  -Aa -D_HPUX_SOURCE
 
3323
# SVR4                  -Xc -D__EXTENSIONS__
 
3324
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3325
do
 
3326
  CC="$ac_save_CC $ac_arg"
 
3327
  rm -f conftest.$ac_objext
 
3328
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3329
  (eval $ac_compile) 2>&5
 
3330
  ac_status=$?
 
3331
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3332
  (exit $ac_status); } &&
 
3333
         { ac_try='test -s conftest.$ac_objext'
 
3334
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3335
  (eval $ac_try) 2>&5
 
3336
  ac_status=$?
 
3337
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3338
  (exit $ac_status); }; }; then
 
3339
  ac_cv_prog_cc_stdc=$ac_arg
 
3340
break
 
3341
else
 
3342
  echo "$as_me: failed program was:" >&5
 
3343
cat conftest.$ac_ext >&5
 
3344
fi
 
3345
rm -f conftest.$ac_objext
 
3346
done
 
3347
rm -f conftest.$ac_ext conftest.$ac_objext
 
3348
CC=$ac_save_CC
 
3349
 
 
3350
fi
 
3351
 
 
3352
case "x$ac_cv_prog_cc_stdc" in
 
3353
  x|xno)
 
3354
    echo "$as_me:$LINENO: result: none needed" >&5
 
3355
echo "${ECHO_T}none needed" >&6 ;;
 
3356
  *)
 
3357
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 
3358
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 
3359
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3360
esac
 
3361
 
 
3362
# Some people use a C++ compiler to compile C.  Since we use `exit',
 
3363
# in C++ we need to declare it.  In case someone uses the same compiler
 
3364
# for both compiling C and C++ we need to have the C++ compiler decide
 
3365
# the declaration of exit, since it's the most demanding environment.
 
3366
cat >conftest.$ac_ext <<_ACEOF
 
3367
#ifndef __cplusplus
 
3368
  choke me
 
3369
#endif
 
3370
_ACEOF
 
3371
rm -f conftest.$ac_objext
 
3372
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3373
  (eval $ac_compile) 2>&5
 
3374
  ac_status=$?
 
3375
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3376
  (exit $ac_status); } &&
 
3377
         { ac_try='test -s conftest.$ac_objext'
 
3378
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3379
  (eval $ac_try) 2>&5
 
3380
  ac_status=$?
 
3381
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3382
  (exit $ac_status); }; }; then
 
3383
  for ac_declaration in \
 
3384
   ''\
 
3385
   '#include <stdlib.h>' \
 
3386
   'extern "C" void std::exit (int) throw (); using std::exit;' \
 
3387
   'extern "C" void std::exit (int); using std::exit;' \
 
3388
   'extern "C" void exit (int) throw ();' \
 
3389
   'extern "C" void exit (int);' \
 
3390
   'void exit (int);'
 
3391
do
 
3392
  cat >conftest.$ac_ext <<_ACEOF
 
3393
#line $LINENO "configure"
 
3394
#include "confdefs.h"
 
3395
#include <stdlib.h>
 
3396
$ac_declaration
 
3397
int
 
3398
main ()
 
3399
{
 
3400
exit (42);
 
3401
  ;
 
3402
  return 0;
 
3403
}
 
3404
_ACEOF
 
3405
rm -f conftest.$ac_objext
 
3406
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3407
  (eval $ac_compile) 2>&5
 
3408
  ac_status=$?
 
3409
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3410
  (exit $ac_status); } &&
 
3411
         { ac_try='test -s conftest.$ac_objext'
 
3412
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3413
  (eval $ac_try) 2>&5
 
3414
  ac_status=$?
 
3415
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3416
  (exit $ac_status); }; }; then
 
3417
  :
 
3418
else
 
3419
  echo "$as_me: failed program was:" >&5
 
3420
cat conftest.$ac_ext >&5
 
3421
continue
 
3422
fi
 
3423
rm -f conftest.$ac_objext conftest.$ac_ext
 
3424
  cat >conftest.$ac_ext <<_ACEOF
 
3425
#line $LINENO "configure"
 
3426
#include "confdefs.h"
 
3427
$ac_declaration
 
3428
int
 
3429
main ()
 
3430
{
 
3431
exit (42);
 
3432
  ;
 
3433
  return 0;
 
3434
}
 
3435
_ACEOF
 
3436
rm -f conftest.$ac_objext
 
3437
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3438
  (eval $ac_compile) 2>&5
 
3439
  ac_status=$?
 
3440
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3441
  (exit $ac_status); } &&
 
3442
         { ac_try='test -s conftest.$ac_objext'
 
3443
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3444
  (eval $ac_try) 2>&5
 
3445
  ac_status=$?
 
3446
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3447
  (exit $ac_status); }; }; then
 
3448
  break
 
3449
else
 
3450
  echo "$as_me: failed program was:" >&5
 
3451
cat conftest.$ac_ext >&5
 
3452
fi
 
3453
rm -f conftest.$ac_objext conftest.$ac_ext
 
3454
done
 
3455
rm -f conftest*
 
3456
if test -n "$ac_declaration"; then
 
3457
  echo '#ifdef __cplusplus' >>confdefs.h
 
3458
  echo $ac_declaration      >>confdefs.h
 
3459
  echo '#endif'             >>confdefs.h
 
3460
fi
 
3461
 
 
3462
else
 
3463
  echo "$as_me: failed program was:" >&5
 
3464
cat conftest.$ac_ext >&5
 
3465
fi
 
3466
rm -f conftest.$ac_objext conftest.$ac_ext
 
3467
ac_ext=c
 
3468
ac_cpp='$CPP $CPPFLAGS'
 
3469
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3470
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3471
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3472
 
 
3473
depcc="$CC"   am_compiler_list=
 
3474
 
 
3475
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3476
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3477
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3478
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3479
else
 
3480
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3481
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3482
  # making bogus files that we don't know about and never remove.  For
 
3483
  # instance it was reported that on HP-UX the gcc test will end up
 
3484
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3485
  # in D'.
 
3486
  mkdir conftest.dir
 
3487
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3488
  # using a relative directory.
 
3489
  cp "$am_depcomp" conftest.dir
 
3490
  cd conftest.dir
 
3491
 
 
3492
  am_cv_CC_dependencies_compiler_type=none
 
3493
  if test "$am_compiler_list" = ""; then
 
3494
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3495
  fi
 
3496
  for depmode in $am_compiler_list; do
 
3497
    # We need to recreate these files for each test, as the compiler may
 
3498
    # overwrite some of them when testing with obscure command lines.
 
3499
    # This happens at least with the AIX C compiler.
 
3500
    echo '#include "conftest.h"' > conftest.c
 
3501
    echo 'int i;' > conftest.h
 
3502
    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
 
3503
 
 
3504
    case $depmode in
 
3505
    nosideeffect)
 
3506
      # after this tag, mechanisms are not by side-effect, so they'll
 
3507
      # only be used when explicitly requested
 
3508
      if test "x$enable_dependency_tracking" = xyes; then
 
3509
        continue
 
3510
      else
 
3511
        break
 
3512
      fi
 
3513
      ;;
 
3514
    none) break ;;
 
3515
    esac
 
3516
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3517
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3518
    # handle `-M -o', and we need to detect this.
 
3519
    if depmode=$depmode \
 
3520
       source=conftest.c object=conftest.o \
 
3521
       depfile=conftest.Po tmpdepfile=conftest.TPo \
 
3522
       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
 
3523
       grep conftest.h conftest.Po > /dev/null 2>&1 &&
 
3524
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
3525
      am_cv_CC_dependencies_compiler_type=$depmode
 
3526
      break
 
3527
    fi
 
3528
  done
 
3529
 
 
3530
  cd ..
 
3531
  rm -rf conftest.dir
 
3532
else
 
3533
  am_cv_CC_dependencies_compiler_type=none
 
3534
fi
 
3535
 
 
3536
fi
 
3537
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3538
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3539
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
3540
 
 
3541
 
 
3542
 
 
3543
 
 
3544
 
 
3545
echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
 
3546
echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
 
3547
if test "${am_cv_prog_cc_stdc+set}" = set; then
 
3548
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3549
else
 
3550
  am_cv_prog_cc_stdc=no
 
3551
ac_save_CC="$CC"
 
3552
# Don't try gcc -ansi; that turns off useful extensions and
 
3553
# breaks some systems' header files.
 
3554
# AIX                   -qlanglvl=ansi
 
3555
# Ultrix and OSF/1      -std1
 
3556
# HP-UX 10.20 and later -Ae
 
3557
# HP-UX older versions  -Aa -D_HPUX_SOURCE
 
3558
# SVR4                  -Xc -D__EXTENSIONS__
 
3559
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3560
do
 
3561
  CC="$ac_save_CC $ac_arg"
 
3562
  cat >conftest.$ac_ext <<_ACEOF
 
3563
#line $LINENO "configure"
 
3564
#include "confdefs.h"
 
3565
#include <stdarg.h>
 
3566
#include <stdio.h>
 
3567
#include <sys/types.h>
 
3568
#include <sys/stat.h>
 
3569
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3570
struct buf { int x; };
 
3571
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3572
static char *e (p, i)
 
3573
     char **p;
 
3574
     int i;
 
3575
{
 
3576
  return p[i];
 
3577
}
 
3578
static char *f (char * (*g) (char **, int), char **p, ...)
 
3579
{
 
3580
  char *s;
 
3581
  va_list v;
 
3582
  va_start (v,p);
 
3583
  s = g (p, va_arg (v,int));
 
3584
  va_end (v);
 
3585
  return s;
 
3586
}
 
3587
int test (int i, double x);
 
3588
struct s1 {int (*f) (int a);};
 
3589
struct s2 {int (*f) (double a);};
 
3590
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3591
int argc;
 
3592
char **argv;
 
3593
 
 
3594
int
 
3595
main ()
 
3596
{
 
3597
 
 
3598
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3599
 
 
3600
  ;
 
3601
  return 0;
 
3602
}
 
3603
_ACEOF
 
3604
rm -f conftest.$ac_objext
 
3605
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3606
  (eval $ac_compile) 2>&5
 
3607
  ac_status=$?
 
3608
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3609
  (exit $ac_status); } &&
 
3610
         { ac_try='test -s conftest.$ac_objext'
 
3611
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3612
  (eval $ac_try) 2>&5
 
3613
  ac_status=$?
 
3614
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3615
  (exit $ac_status); }; }; then
 
3616
  am_cv_prog_cc_stdc="$ac_arg"; break
 
3617
else
 
3618
  echo "$as_me: failed program was:" >&5
 
3619
cat conftest.$ac_ext >&5
 
3620
fi
 
3621
rm -f conftest.$ac_objext conftest.$ac_ext
 
3622
done
 
3623
CC="$ac_save_CC"
 
3624
 
 
3625
fi
 
3626
 
 
3627
if test -z "$am_cv_prog_cc_stdc"; then
 
3628
  echo "$as_me:$LINENO: result: none needed" >&5
 
3629
echo "${ECHO_T}none needed" >&6
 
3630
else
 
3631
  echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
 
3632
echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
 
3633
fi
 
3634
case "x$am_cv_prog_cc_stdc" in
 
3635
  x|xno) ;;
 
3636
  *) CC="$CC $am_cv_prog_cc_stdc" ;;
 
3637
esac
 
3638
 
 
3639
ac_ext=c
 
3640
ac_cpp='$CPP $CPPFLAGS'
 
3641
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3642
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3643
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3644
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3645
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1059
3646
# On Suns, sometimes $CPP names a directory.
1060
3647
if test -n "$CPP" && test -d "$CPP"; then
1061
3648
  CPP=
1062
3649
fi
1063
3650
if test -z "$CPP"; then
1064
 
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1065
 
  echo $ac_n "(cached) $ac_c" 1>&6
1066
 
else
1067
 
    # This must be in double quotes, not single quotes, because CPP may get
1068
 
  # substituted into the Makefile and "${CC-cc}" will confuse make.
1069
 
  CPP="${CC-cc} -E"
1070
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
1071
 
  # not just through cpp.
1072
 
  cat > conftest.$ac_ext <<EOF
1073
 
#line 1074 "configure"
1074
 
#include "confdefs.h"
1075
 
#include <assert.h>
1076
 
Syntax Error
1077
 
EOF
1078
 
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1079
 
{ (eval echo configure:1080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1080
 
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1081
 
if test -z "$ac_err"; then
1082
 
  :
1083
 
else
1084
 
  echo "$ac_err" >&5
1085
 
  echo "configure: failed program was:" >&5
1086
 
  cat conftest.$ac_ext >&5
1087
 
  rm -rf conftest*
1088
 
  CPP="${CC-cc} -E -traditional-cpp"
1089
 
  cat > conftest.$ac_ext <<EOF
1090
 
#line 1091 "configure"
1091
 
#include "confdefs.h"
1092
 
#include <assert.h>
1093
 
Syntax Error
1094
 
EOF
1095
 
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1096
 
{ (eval echo configure:1097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1097
 
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1098
 
if test -z "$ac_err"; then
1099
 
  :
1100
 
else
1101
 
  echo "$ac_err" >&5
1102
 
  echo "configure: failed program was:" >&5
1103
 
  cat conftest.$ac_ext >&5
1104
 
  rm -rf conftest*
1105
 
  CPP="${CC-cc} -nologo -E"
1106
 
  cat > conftest.$ac_ext <<EOF
1107
 
#line 1108 "configure"
1108
 
#include "confdefs.h"
1109
 
#include <assert.h>
1110
 
Syntax Error
1111
 
EOF
1112
 
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1113
 
{ (eval echo configure:1114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1114
 
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1115
 
if test -z "$ac_err"; then
1116
 
  :
1117
 
else
1118
 
  echo "$ac_err" >&5
1119
 
  echo "configure: failed program was:" >&5
1120
 
  cat conftest.$ac_ext >&5
1121
 
  rm -rf conftest*
1122
 
  CPP=/lib/cpp
1123
 
fi
1124
 
rm -f conftest*
1125
 
fi
1126
 
rm -f conftest*
1127
 
fi
1128
 
rm -f conftest*
1129
 
  ac_cv_prog_CPP="$CPP"
1130
 
fi
1131
 
  CPP="$ac_cv_prog_CPP"
1132
 
else
1133
 
  ac_cv_prog_CPP="$CPP"
1134
 
fi
1135
 
echo "$ac_t""$CPP" 1>&6
 
3651
  if test "${ac_cv_prog_CPP+set}" = set; then
 
3652
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3653
else
 
3654
      # Double quotes because CPP needs to be expanded
 
3655
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
3656
    do
 
3657
      ac_preproc_ok=false
 
3658
for ac_c_preproc_warn_flag in '' yes
 
3659
do
 
3660
  # Use a header file that comes with gcc, so configuring glibc
 
3661
  # with a fresh cross-compiler works.
 
3662
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3663
  # not just through cpp. "Syntax error" is here to catch this case.
 
3664
  cat >conftest.$ac_ext <<_ACEOF
 
3665
#line $LINENO "configure"
 
3666
#include "confdefs.h"
 
3667
#include <assert.h>
 
3668
                     Syntax error
 
3669
_ACEOF
 
3670
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3671
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3672
  ac_status=$?
 
3673
  grep -v '^ *+' conftest.er1 >conftest.err
 
3674
  rm -f conftest.er1
 
3675
  cat conftest.err >&5
 
3676
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3677
  (exit $ac_status); } >/dev/null; then
 
3678
  if test -s conftest.err; then
 
3679
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3680
  else
 
3681
    ac_cpp_err=
 
3682
  fi
 
3683
else
 
3684
  ac_cpp_err=yes
 
3685
fi
 
3686
if test -z "$ac_cpp_err"; then
 
3687
  :
 
3688
else
 
3689
  echo "$as_me: failed program was:" >&5
 
3690
  cat conftest.$ac_ext >&5
 
3691
  # Broken: fails on valid input.
 
3692
continue
 
3693
fi
 
3694
rm -f conftest.err conftest.$ac_ext
 
3695
 
 
3696
  # OK, works on sane cases.  Now check whether non-existent headers
 
3697
  # can be detected and how.
 
3698
  cat >conftest.$ac_ext <<_ACEOF
 
3699
#line $LINENO "configure"
 
3700
#include "confdefs.h"
 
3701
#include <ac_nonexistent.h>
 
3702
_ACEOF
 
3703
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3704
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3705
  ac_status=$?
 
3706
  grep -v '^ *+' conftest.er1 >conftest.err
 
3707
  rm -f conftest.er1
 
3708
  cat conftest.err >&5
 
3709
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3710
  (exit $ac_status); } >/dev/null; then
 
3711
  if test -s conftest.err; then
 
3712
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3713
  else
 
3714
    ac_cpp_err=
 
3715
  fi
 
3716
else
 
3717
  ac_cpp_err=yes
 
3718
fi
 
3719
if test -z "$ac_cpp_err"; then
 
3720
  # Broken: success on invalid input.
 
3721
continue
 
3722
else
 
3723
  echo "$as_me: failed program was:" >&5
 
3724
  cat conftest.$ac_ext >&5
 
3725
  # Passes both tests.
 
3726
ac_preproc_ok=:
 
3727
break
 
3728
fi
 
3729
rm -f conftest.err conftest.$ac_ext
 
3730
 
 
3731
done
 
3732
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3733
rm -f conftest.err conftest.$ac_ext
 
3734
if $ac_preproc_ok; then
 
3735
  break
 
3736
fi
 
3737
 
 
3738
    done
 
3739
    ac_cv_prog_CPP=$CPP
 
3740
 
 
3741
fi
 
3742
  CPP=$ac_cv_prog_CPP
 
3743
else
 
3744
  ac_cv_prog_CPP=$CPP
 
3745
fi
 
3746
echo "$as_me:$LINENO: result: $CPP" >&5
 
3747
echo "${ECHO_T}$CPP" >&6
 
3748
ac_preproc_ok=false
 
3749
for ac_c_preproc_warn_flag in '' yes
 
3750
do
 
3751
  # Use a header file that comes with gcc, so configuring glibc
 
3752
  # with a fresh cross-compiler works.
 
3753
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3754
  # not just through cpp. "Syntax error" is here to catch this case.
 
3755
  cat >conftest.$ac_ext <<_ACEOF
 
3756
#line $LINENO "configure"
 
3757
#include "confdefs.h"
 
3758
#include <assert.h>
 
3759
                     Syntax error
 
3760
_ACEOF
 
3761
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3762
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3763
  ac_status=$?
 
3764
  grep -v '^ *+' conftest.er1 >conftest.err
 
3765
  rm -f conftest.er1
 
3766
  cat conftest.err >&5
 
3767
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3768
  (exit $ac_status); } >/dev/null; then
 
3769
  if test -s conftest.err; then
 
3770
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3771
  else
 
3772
    ac_cpp_err=
 
3773
  fi
 
3774
else
 
3775
  ac_cpp_err=yes
 
3776
fi
 
3777
if test -z "$ac_cpp_err"; then
 
3778
  :
 
3779
else
 
3780
  echo "$as_me: failed program was:" >&5
 
3781
  cat conftest.$ac_ext >&5
 
3782
  # Broken: fails on valid input.
 
3783
continue
 
3784
fi
 
3785
rm -f conftest.err conftest.$ac_ext
 
3786
 
 
3787
  # OK, works on sane cases.  Now check whether non-existent headers
 
3788
  # can be detected and how.
 
3789
  cat >conftest.$ac_ext <<_ACEOF
 
3790
#line $LINENO "configure"
 
3791
#include "confdefs.h"
 
3792
#include <ac_nonexistent.h>
 
3793
_ACEOF
 
3794
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3795
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3796
  ac_status=$?
 
3797
  grep -v '^ *+' conftest.er1 >conftest.err
 
3798
  rm -f conftest.er1
 
3799
  cat conftest.err >&5
 
3800
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3801
  (exit $ac_status); } >/dev/null; then
 
3802
  if test -s conftest.err; then
 
3803
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3804
  else
 
3805
    ac_cpp_err=
 
3806
  fi
 
3807
else
 
3808
  ac_cpp_err=yes
 
3809
fi
 
3810
if test -z "$ac_cpp_err"; then
 
3811
  # Broken: success on invalid input.
 
3812
continue
 
3813
else
 
3814
  echo "$as_me: failed program was:" >&5
 
3815
  cat conftest.$ac_ext >&5
 
3816
  # Passes both tests.
 
3817
ac_preproc_ok=:
 
3818
break
 
3819
fi
 
3820
rm -f conftest.err conftest.$ac_ext
 
3821
 
 
3822
done
 
3823
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3824
rm -f conftest.err conftest.$ac_ext
 
3825
if $ac_preproc_ok; then
 
3826
  :
 
3827
else
 
3828
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
 
3829
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
 
3830
   { (exit 1); exit 1; }; }
 
3831
fi
 
3832
 
 
3833
ac_ext=c
 
3834
ac_cpp='$CPP $CPPFLAGS'
 
3835
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3836
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3837
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3838
 
 
3839
 
 
3840
echo "$as_me:$LINENO: checking for egrep" >&5
 
3841
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 
3842
if test "${ac_cv_prog_egrep+set}" = set; then
 
3843
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3844
else
 
3845
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 
3846
    then ac_cv_prog_egrep='grep -E'
 
3847
    else ac_cv_prog_egrep='egrep'
 
3848
    fi
 
3849
fi
 
3850
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
 
3851
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 
3852
 EGREP=$ac_cv_prog_egrep
 
3853
 
 
3854
 
 
3855
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
3856
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
3857
if test "${ac_cv_header_stdc+set}" = set; then
 
3858
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3859
else
 
3860
  cat >conftest.$ac_ext <<_ACEOF
 
3861
#line $LINENO "configure"
 
3862
#include "confdefs.h"
 
3863
#include <stdlib.h>
 
3864
#include <stdarg.h>
 
3865
#include <string.h>
 
3866
#include <float.h>
 
3867
 
 
3868
_ACEOF
 
3869
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3870
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3871
  ac_status=$?
 
3872
  grep -v '^ *+' conftest.er1 >conftest.err
 
3873
  rm -f conftest.er1
 
3874
  cat conftest.err >&5
 
3875
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3876
  (exit $ac_status); } >/dev/null; then
 
3877
  if test -s conftest.err; then
 
3878
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3879
  else
 
3880
    ac_cpp_err=
 
3881
  fi
 
3882
else
 
3883
  ac_cpp_err=yes
 
3884
fi
 
3885
if test -z "$ac_cpp_err"; then
 
3886
  ac_cv_header_stdc=yes
 
3887
else
 
3888
  echo "$as_me: failed program was:" >&5
 
3889
  cat conftest.$ac_ext >&5
 
3890
  ac_cv_header_stdc=no
 
3891
fi
 
3892
rm -f conftest.err conftest.$ac_ext
 
3893
 
 
3894
if test $ac_cv_header_stdc = yes; then
 
3895
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
3896
  cat >conftest.$ac_ext <<_ACEOF
 
3897
#line $LINENO "configure"
 
3898
#include "confdefs.h"
 
3899
#include <string.h>
 
3900
 
 
3901
_ACEOF
 
3902
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
3903
  $EGREP "memchr" >/dev/null 2>&1; then
 
3904
  :
 
3905
else
 
3906
  ac_cv_header_stdc=no
 
3907
fi
 
3908
rm -f conftest*
 
3909
 
 
3910
fi
 
3911
 
 
3912
if test $ac_cv_header_stdc = yes; then
 
3913
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
3914
  cat >conftest.$ac_ext <<_ACEOF
 
3915
#line $LINENO "configure"
 
3916
#include "confdefs.h"
 
3917
#include <stdlib.h>
 
3918
 
 
3919
_ACEOF
 
3920
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
3921
  $EGREP "free" >/dev/null 2>&1; then
 
3922
  :
 
3923
else
 
3924
  ac_cv_header_stdc=no
 
3925
fi
 
3926
rm -f conftest*
 
3927
 
 
3928
fi
 
3929
 
 
3930
if test $ac_cv_header_stdc = yes; then
 
3931
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
3932
  if test "$cross_compiling" = yes; then
 
3933
  :
 
3934
else
 
3935
  cat >conftest.$ac_ext <<_ACEOF
 
3936
#line $LINENO "configure"
 
3937
#include "confdefs.h"
 
3938
#include <ctype.h>
 
3939
#if ((' ' & 0x0FF) == 0x020)
 
3940
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
3941
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
3942
#else
 
3943
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
 
3944
                     || ('j' <= (c) && (c) <= 'r') \
 
3945
                     || ('s' <= (c) && (c) <= 'z'))
 
3946
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
3947
#endif
 
3948
 
 
3949
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
3950
int
 
3951
main ()
 
3952
{
 
3953
  int i;
 
3954
  for (i = 0; i < 256; i++)
 
3955
    if (XOR (islower (i), ISLOWER (i))
 
3956
        || toupper (i) != TOUPPER (i))
 
3957
      exit(2);
 
3958
  exit (0);
 
3959
}
 
3960
_ACEOF
 
3961
rm -f conftest$ac_exeext
 
3962
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
3963
  (eval $ac_link) 2>&5
 
3964
  ac_status=$?
 
3965
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3966
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
3967
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3968
  (eval $ac_try) 2>&5
 
3969
  ac_status=$?
 
3970
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3971
  (exit $ac_status); }; }; then
 
3972
  :
 
3973
else
 
3974
  echo "$as_me: program exited with status $ac_status" >&5
 
3975
echo "$as_me: failed program was:" >&5
 
3976
cat conftest.$ac_ext >&5
 
3977
( exit $ac_status )
 
3978
ac_cv_header_stdc=no
 
3979
fi
 
3980
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3981
fi
 
3982
fi
 
3983
fi
 
3984
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
3985
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
3986
if test $ac_cv_header_stdc = yes; then
 
3987
 
 
3988
cat >>confdefs.h <<\_ACEOF
 
3989
#define STDC_HEADERS 1
 
3990
_ACEOF
 
3991
 
 
3992
fi
 
3993
 
 
3994
 
 
3995
LIBEXIF_GTK_AGE=0
 
3996
LIBEXIF_GTK_REVISION=0
 
3997
LIBEXIF_GTK_CURRENT=4
 
3998
 
 
3999
 
 
4000
 
 
4001
LIBEXIF_GTK_VERSION_INFO=`expr $LIBEXIF_GTK_CURRENT + $LIBEXIF_GTK_REVISION`:$LIBEXIF_GTK_AGE:$LIBEXIF_GTK_REVISION
 
4002
 
1136
4003
 
1137
4004
# Check whether --enable-shared or --disable-shared was given.
1138
4005
if test "${enable_shared+set}" = set; then
1155
4022
esac
1156
4023
else
1157
4024
  enable_shared=yes
1158
 
fi
1159
 
 
 
4025
fi;
1160
4026
# Check whether --enable-static or --disable-static was given.
1161
4027
if test "${enable_static+set}" = set; then
1162
4028
  enableval="$enable_static"
1178
4044
esac
1179
4045
else
1180
4046
  enable_static=yes
1181
 
fi
1182
 
 
 
4047
fi;
1183
4048
# Check whether --enable-fast-install or --disable-fast-install was given.
1184
4049
if test "${enable_fast_install+set}" = set; then
1185
4050
  enableval="$enable_fast_install"
1201
4066
esac
1202
4067
else
1203
4068
  enable_fast_install=yes
1204
 
fi
1205
 
 
1206
 
 
 
4069
fi;
1207
4070
# Make sure we can run config.sub.
1208
 
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
1209
 
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1210
 
fi
1211
 
 
1212
 
echo $ac_n "checking host system type""... $ac_c" 1>&6
1213
 
echo "configure:1214: checking host system type" >&5
1214
 
 
1215
 
host_alias=$host
1216
 
case "$host_alias" in
1217
 
NONE)
1218
 
  case $nonopt in
1219
 
  NONE)
1220
 
    if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1221
 
    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1222
 
    fi ;;
1223
 
  *) host_alias=$nonopt ;;
1224
 
  esac ;;
1225
 
esac
1226
 
 
1227
 
host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1228
 
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1229
 
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1230
 
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1231
 
echo "$ac_t""$host" 1>&6
1232
 
 
1233
 
echo $ac_n "checking build system type""... $ac_c" 1>&6
1234
 
echo "configure:1235: checking build system type" >&5
1235
 
 
1236
 
build_alias=$build
1237
 
case "$build_alias" in
1238
 
NONE)
1239
 
  case $nonopt in
1240
 
  NONE) build_alias=$host_alias ;;
1241
 
  *) build_alias=$nonopt ;;
1242
 
  esac ;;
1243
 
esac
1244
 
 
1245
 
build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1246
 
build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1247
 
build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1248
 
build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1249
 
echo "$ac_t""$build" 1>&6
1250
 
 
1251
 
# Extract the first word of "gcc", so it can be a program name with args.
1252
 
set dummy gcc; ac_word=$2
1253
 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1254
 
echo "configure:1255: checking for $ac_word" >&5
1255
 
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1256
 
  echo $ac_n "(cached) $ac_c" 1>&6
1257
 
else
1258
 
  if test -n "$CC"; then
1259
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
1260
 
else
1261
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1262
 
  ac_dummy="$PATH"
1263
 
  for ac_dir in $ac_dummy; do
1264
 
    test -z "$ac_dir" && ac_dir=.
1265
 
    if test -f $ac_dir/$ac_word; then
1266
 
      ac_cv_prog_CC="gcc"
1267
 
      break
1268
 
    fi
1269
 
  done
1270
 
  IFS="$ac_save_ifs"
1271
 
fi
1272
 
fi
1273
 
CC="$ac_cv_prog_CC"
1274
 
if test -n "$CC"; then
1275
 
  echo "$ac_t""$CC" 1>&6
1276
 
else
1277
 
  echo "$ac_t""no" 1>&6
1278
 
fi
1279
 
 
1280
 
if test -z "$CC"; then
1281
 
  # Extract the first word of "cc", so it can be a program name with args.
1282
 
set dummy cc; ac_word=$2
1283
 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1284
 
echo "configure:1285: checking for $ac_word" >&5
1285
 
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1286
 
  echo $ac_n "(cached) $ac_c" 1>&6
1287
 
else
1288
 
  if test -n "$CC"; then
1289
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
1290
 
else
1291
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1292
 
  ac_prog_rejected=no
1293
 
  ac_dummy="$PATH"
1294
 
  for ac_dir in $ac_dummy; do
1295
 
    test -z "$ac_dir" && ac_dir=.
1296
 
    if test -f $ac_dir/$ac_word; then
1297
 
      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1298
 
        ac_prog_rejected=yes
1299
 
        continue
1300
 
      fi
1301
 
      ac_cv_prog_CC="cc"
1302
 
      break
1303
 
    fi
1304
 
  done
1305
 
  IFS="$ac_save_ifs"
1306
 
if test $ac_prog_rejected = yes; then
1307
 
  # We found a bogon in the path, so make sure we never use it.
1308
 
  set dummy $ac_cv_prog_CC
1309
 
  shift
1310
 
  if test $# -gt 0; then
1311
 
    # We chose a different compiler from the bogus one.
1312
 
    # However, it has the same basename, so the bogon will be chosen
1313
 
    # first if we set CC to just the basename; use the full file name.
1314
 
    shift
1315
 
    set dummy "$ac_dir/$ac_word" "$@"
1316
 
    shift
1317
 
    ac_cv_prog_CC="$@"
1318
 
  fi
1319
 
fi
1320
 
fi
1321
 
fi
1322
 
CC="$ac_cv_prog_CC"
1323
 
if test -n "$CC"; then
1324
 
  echo "$ac_t""$CC" 1>&6
1325
 
else
1326
 
  echo "$ac_t""no" 1>&6
1327
 
fi
1328
 
 
1329
 
  if test -z "$CC"; then
1330
 
    case "`uname -s`" in
1331
 
    *win32* | *WIN32*)
1332
 
      # Extract the first word of "cl", so it can be a program name with args.
1333
 
set dummy cl; ac_word=$2
1334
 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1335
 
echo "configure:1336: checking for $ac_word" >&5
1336
 
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1337
 
  echo $ac_n "(cached) $ac_c" 1>&6
1338
 
else
1339
 
  if test -n "$CC"; then
1340
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
1341
 
else
1342
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1343
 
  ac_dummy="$PATH"
1344
 
  for ac_dir in $ac_dummy; do
1345
 
    test -z "$ac_dir" && ac_dir=.
1346
 
    if test -f $ac_dir/$ac_word; then
1347
 
      ac_cv_prog_CC="cl"
1348
 
      break
1349
 
    fi
1350
 
  done
1351
 
  IFS="$ac_save_ifs"
1352
 
fi
1353
 
fi
1354
 
CC="$ac_cv_prog_CC"
1355
 
if test -n "$CC"; then
1356
 
  echo "$ac_t""$CC" 1>&6
1357
 
else
1358
 
  echo "$ac_t""no" 1>&6
1359
 
fi
1360
 
 ;;
1361
 
    esac
1362
 
  fi
1363
 
  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1364
 
fi
1365
 
 
1366
 
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1367
 
echo "configure:1368: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1368
 
 
1369
 
ac_ext=c
1370
 
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1371
 
ac_cpp='$CPP $CPPFLAGS'
1372
 
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1373
 
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1374
 
cross_compiling=$ac_cv_prog_cc_cross
1375
 
 
1376
 
cat > conftest.$ac_ext << EOF
1377
 
 
1378
 
#line 1379 "configure"
1379
 
#include "confdefs.h"
1380
 
 
1381
 
main(){return(0);}
1382
 
EOF
1383
 
if { (eval echo configure:1384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1384
 
  ac_cv_prog_cc_works=yes
1385
 
  # If we can't run a trivial program, we are probably using a cross compiler.
1386
 
  if (./conftest; exit) 2>/dev/null; then
1387
 
    ac_cv_prog_cc_cross=no
1388
 
  else
1389
 
    ac_cv_prog_cc_cross=yes
1390
 
  fi
1391
 
else
1392
 
  echo "configure: failed program was:" >&5
1393
 
  cat conftest.$ac_ext >&5
1394
 
  ac_cv_prog_cc_works=no
1395
 
fi
1396
 
rm -fr conftest*
1397
 
ac_ext=c
1398
 
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1399
 
ac_cpp='$CPP $CPPFLAGS'
1400
 
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1401
 
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1402
 
cross_compiling=$ac_cv_prog_cc_cross
1403
 
 
1404
 
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1405
 
if test $ac_cv_prog_cc_works = no; then
1406
 
  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1407
 
fi
1408
 
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1409
 
echo "configure:1410: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1410
 
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1411
 
cross_compiling=$ac_cv_prog_cc_cross
1412
 
 
1413
 
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1414
 
echo "configure:1415: checking whether we are using GNU C" >&5
1415
 
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1416
 
  echo $ac_n "(cached) $ac_c" 1>&6
1417
 
else
1418
 
  cat > conftest.c <<EOF
1419
 
#ifdef __GNUC__
1420
 
  yes;
1421
 
#endif
1422
 
EOF
1423
 
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1424: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1424
 
  ac_cv_prog_gcc=yes
1425
 
else
1426
 
  ac_cv_prog_gcc=no
1427
 
fi
1428
 
fi
1429
 
 
1430
 
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1431
 
 
1432
 
if test $ac_cv_prog_gcc = yes; then
1433
 
  GCC=yes
1434
 
else
1435
 
  GCC=
1436
 
fi
1437
 
 
1438
 
ac_test_CFLAGS="${CFLAGS+set}"
1439
 
ac_save_CFLAGS="$CFLAGS"
1440
 
CFLAGS=
1441
 
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1442
 
echo "configure:1443: checking whether ${CC-cc} accepts -g" >&5
1443
 
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1444
 
  echo $ac_n "(cached) $ac_c" 1>&6
1445
 
else
1446
 
  echo 'void f(){}' > conftest.c
1447
 
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1448
 
  ac_cv_prog_cc_g=yes
1449
 
else
1450
 
  ac_cv_prog_cc_g=no
1451
 
fi
1452
 
rm -f conftest*
1453
 
 
1454
 
fi
1455
 
 
1456
 
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1457
 
if test "$ac_test_CFLAGS" = set; then
1458
 
  CFLAGS="$ac_save_CFLAGS"
1459
 
elif test $ac_cv_prog_cc_g = yes; then
1460
 
  if test "$GCC" = yes; then
1461
 
    CFLAGS="-g -O2"
1462
 
  else
1463
 
    CFLAGS="-g"
1464
 
  fi
1465
 
else
1466
 
  if test "$GCC" = yes; then
1467
 
    CFLAGS="-O2"
1468
 
  else
1469
 
    CFLAGS=
1470
 
  fi
1471
 
fi
 
4071
$ac_config_sub sun4 >/dev/null 2>&1 ||
 
4072
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
 
4073
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
4074
   { (exit 1); exit 1; }; }
 
4075
 
 
4076
echo "$as_me:$LINENO: checking build system type" >&5
 
4077
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
4078
if test "${ac_cv_build+set}" = set; then
 
4079
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4080
else
 
4081
  ac_cv_build_alias=$build_alias
 
4082
test -z "$ac_cv_build_alias" &&
 
4083
  ac_cv_build_alias=`$ac_config_guess`
 
4084
test -z "$ac_cv_build_alias" &&
 
4085
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
4086
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
4087
   { (exit 1); exit 1; }; }
 
4088
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
 
4089
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
 
4090
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
4091
   { (exit 1); exit 1; }; }
 
4092
 
 
4093
fi
 
4094
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4095
echo "${ECHO_T}$ac_cv_build" >&6
 
4096
build=$ac_cv_build
 
4097
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 
4098
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 
4099
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
4100
 
 
4101
 
 
4102
echo "$as_me:$LINENO: checking host system type" >&5
 
4103
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
4104
if test "${ac_cv_host+set}" = set; then
 
4105
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4106
else
 
4107
  ac_cv_host_alias=$host_alias
 
4108
test -z "$ac_cv_host_alias" &&
 
4109
  ac_cv_host_alias=$ac_cv_build_alias
 
4110
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
 
4111
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
 
4112
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
4113
   { (exit 1); exit 1; }; }
 
4114
 
 
4115
fi
 
4116
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4117
echo "${ECHO_T}$ac_cv_host" >&6
 
4118
host=$ac_cv_host
 
4119
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 
4120
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 
4121
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
4122
 
 
4123
 
1472
4124
 
1473
4125
# Check whether --with-gnu-ld or --without-gnu-ld was given.
1474
4126
if test "${with_gnu_ld+set}" = set; then
1476
4128
  test "$withval" = no || with_gnu_ld=yes
1477
4129
else
1478
4130
  with_gnu_ld=no
1479
 
fi
1480
 
 
 
4131
fi;
1481
4132
ac_prog=ld
1482
4133
if test "$GCC" = yes; then
1483
4134
  # Check if gcc -print-prog-name=ld gives a path.
1484
 
  echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1485
 
echo "configure:1486: checking for ld used by GCC" >&5
 
4135
  echo "$as_me:$LINENO: checking for ld used by GCC" >&5
 
4136
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
1486
4137
  case $host in
1487
4138
  *-*-mingw*)
1488
4139
    # gcc leaves a trailing carriage return which upsets mingw
1511
4162
    ;;
1512
4163
  esac
1513
4164
elif test "$with_gnu_ld" = yes; then
1514
 
  echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1515
 
echo "configure:1516: checking for GNU ld" >&5
 
4165
  echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4166
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
1516
4167
else
1517
 
  echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1518
 
echo "configure:1519: checking for non-GNU ld" >&5
 
4168
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4169
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
1519
4170
fi
1520
 
if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1521
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
4171
if test "${lt_cv_path_LD+set}" = set; then
 
4172
  echo $ECHO_N "(cached) $ECHO_C" >&6
1522
4173
else
1523
4174
  if test -z "$LD"; then
1524
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4175
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1525
4176
  for ac_dir in $PATH; do
1526
4177
    test -z "$ac_dir" && ac_dir=.
1527
4178
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1544
4195
 
1545
4196
LD="$lt_cv_path_LD"
1546
4197
if test -n "$LD"; then
1547
 
  echo "$ac_t""$LD" 1>&6
 
4198
  echo "$as_me:$LINENO: result: $LD" >&5
 
4199
echo "${ECHO_T}$LD" >&6
1548
4200
else
1549
 
  echo "$ac_t""no" 1>&6
 
4201
  echo "$as_me:$LINENO: result: no" >&5
 
4202
echo "${ECHO_T}no" >&6
1550
4203
fi
1551
 
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1552
 
echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1553
 
echo "configure:1554: checking if the linker ($LD) is GNU ld" >&5
1554
 
if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1555
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
4204
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
4205
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
4206
   { (exit 1); exit 1; }; }
 
4207
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4208
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
4209
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
4210
  echo $ECHO_N "(cached) $ECHO_C" >&6
1556
4211
else
1557
4212
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1558
4213
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1561
4216
  lt_cv_prog_gnu_ld=no
1562
4217
fi
1563
4218
fi
1564
 
 
1565
 
echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
 
4219
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4220
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
1566
4221
with_gnu_ld=$lt_cv_prog_gnu_ld
1567
4222
 
1568
4223
 
1569
 
echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1570
 
echo "configure:1571: checking for $LD option to reload object files" >&5
1571
 
if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1572
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
4224
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4225
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
4226
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
4227
  echo $ECHO_N "(cached) $ECHO_C" >&6
1573
4228
else
1574
4229
  lt_cv_ld_reload_flag='-r'
1575
4230
fi
1576
 
 
1577
 
echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
 
4231
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4232
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
1578
4233
reload_flag=$lt_cv_ld_reload_flag
1579
4234
test -n "$reload_flag" && reload_flag=" $reload_flag"
1580
4235
 
1581
 
echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1582
 
echo "configure:1583: checking for BSD-compatible nm" >&5
1583
 
if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1584
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
4236
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
4237
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
4238
if test "${lt_cv_path_NM+set}" = set; then
 
4239
  echo $ECHO_N "(cached) $ECHO_C" >&6
1585
4240
else
1586
4241
  if test -n "$NM"; then
1587
4242
  # Let the user override the test.
1588
4243
  lt_cv_path_NM="$NM"
1589
4244
else
1590
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4245
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1591
4246
  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1592
4247
    test -z "$ac_dir" && ac_dir=.
1593
4248
    tmp_nm=$ac_dir/${ac_tool_prefix}nm
1614
4269
fi
1615
4270
 
1616
4271
NM="$lt_cv_path_NM"
1617
 
echo "$ac_t""$NM" 1>&6
1618
 
 
1619
 
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1620
 
echo "configure:1621: checking whether ln -s works" >&5
1621
 
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1622
 
  echo $ac_n "(cached) $ac_c" 1>&6
1623
 
else
1624
 
  rm -f conftestdata
1625
 
if ln -s X conftestdata 2>/dev/null
1626
 
then
1627
 
  rm -f conftestdata
1628
 
  ac_cv_prog_LN_S="ln -s"
1629
 
else
1630
 
  ac_cv_prog_LN_S=ln
1631
 
fi
1632
 
fi
1633
 
LN_S="$ac_cv_prog_LN_S"
1634
 
if test "$ac_cv_prog_LN_S" = "ln -s"; then
1635
 
  echo "$ac_t""yes" 1>&6
1636
 
else
1637
 
  echo "$ac_t""no" 1>&6
1638
 
fi
1639
 
 
1640
 
echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1641
 
echo "configure:1642: checking how to recognise dependant libraries" >&5
1642
 
if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1643
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
4272
echo "$as_me:$LINENO: result: $NM" >&5
 
4273
echo "${ECHO_T}$NM" >&6
 
4274
 
 
4275
echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4276
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
4277
LN_S=$as_ln_s
 
4278
if test "$LN_S" = "ln -s"; then
 
4279
  echo "$as_me:$LINENO: result: yes" >&5
 
4280
echo "${ECHO_T}yes" >&6
 
4281
else
 
4282
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4283
echo "${ECHO_T}no, using $LN_S" >&6
 
4284
fi
 
4285
 
 
4286
echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
 
4287
echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
 
4288
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
4289
  echo $ECHO_N "(cached) $ECHO_C" >&6
1644
4290
else
1645
4291
  lt_cv_file_magic_cmd='$MAGIC_CMD'
1646
4292
lt_cv_file_magic_test_file=
1651
4297
# `unknown' -- same as none, but documents that we really don't know.
1652
4298
# 'pass_all' -- all dependencies passed with no checks.
1653
4299
# 'test_compile' -- check by making test program.
1654
 
# 'file_magic [[regex]]' -- check by looking for files in library path
 
4300
# ['file_magic [regex]'] -- check by looking for files in library path
1655
4301
# which responds to the $file_magic_cmd with a given egrep regex.
1656
4302
# If you have `file' or equivalent on your system and you're not sure
1657
4303
# whether `pass_all' will *always* work, you probably want this one.
1715
4361
  lt_cv_file_magic_test_file=/usr/lib/libc.sl
1716
4362
  ;;
1717
4363
 
1718
 
irix5* | irix6* | nonstopux*)
 
4364
irix5* | irix6*)
1719
4365
  case $host_os in
1720
 
  irix5* | nonstopux*)
 
4366
  irix5*)
1721
4367
    # this will be overridden with pass_all, but let us keep it just in case
1722
4368
    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1723
4369
    ;;
1815
4461
esac
1816
4462
 
1817
4463
fi
1818
 
 
1819
 
echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
 
4464
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
4465
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
1820
4466
file_magic_cmd=$lt_cv_file_magic_cmd
1821
4467
deplibs_check_method=$lt_cv_deplibs_check_method
1822
4468
 
1823
 
echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1824
 
echo "configure:1825: checking for object suffix" >&5
1825
 
if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1826
 
  echo $ac_n "(cached) $ac_c" 1>&6
1827
 
else
1828
 
  rm -f conftest*
1829
 
echo 'int i = 1;' > conftest.$ac_ext
1830
 
if { (eval echo configure:1831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1831
 
  for ac_file in conftest.*; do
1832
 
    case $ac_file in
1833
 
    *.c) ;;
1834
 
    *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
1835
 
    esac
1836
 
  done
1837
 
else
1838
 
  { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
1839
 
fi
1840
 
rm -f conftest*
1841
 
fi
1842
 
 
1843
 
echo "$ac_t""$ac_cv_objext" 1>&6
1844
 
OBJEXT=$ac_cv_objext
1845
 
ac_objext=$ac_cv_objext
1846
 
 
1847
 
 
1848
 
 
1849
 
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1850
 
echo "configure:1851: checking for executable suffix" >&5
1851
 
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1852
 
  echo $ac_n "(cached) $ac_c" 1>&6
1853
 
else
1854
 
  if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1855
 
  ac_cv_exeext=.exe
1856
 
else
1857
 
  rm -f conftest*
1858
 
  echo 'int main () { return 0; }' > conftest.$ac_ext
1859
 
  ac_cv_exeext=
1860
 
  if { (eval echo configure:1861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1861
 
    for file in conftest.*; do
1862
 
      case $file in
1863
 
      *.c | *.o | *.obj) ;;
1864
 
      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1865
 
      esac
1866
 
    done
1867
 
  else
1868
 
    { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1869
 
  fi
1870
 
  rm -f conftest*
1871
 
  test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1872
 
fi
1873
 
fi
1874
 
 
1875
 
EXEEXT=""
1876
 
test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1877
 
echo "$ac_t""${ac_cv_exeext}" 1>&6
1878
 
ac_exeext=$EXEEXT
1879
 
 
1880
 
if test $host != $build; then
1881
 
  ac_tool_prefix=${host_alias}-
1882
 
else
1883
 
  ac_tool_prefix=
1884
 
fi
 
4469
 
 
4470
 
1885
4471
 
1886
4472
 
1887
4473
 
1888
4474
 
1889
4475
# Check for command to grab the raw symbol name followed by C symbol from nm.
1890
 
echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6
1891
 
echo "configure:1892: checking command to parse $NM output" >&5
1892
 
if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then
1893
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
4476
echo "$as_me:$LINENO: checking command to parse $NM output" >&5
 
4477
echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
 
4478
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
4479
  echo $ECHO_N "(cached) $ECHO_C" >&6
1894
4480
else
1895
 
  
 
4481
 
1896
4482
# These are sane defaults that work on at least a few old systems.
1897
4483
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
1898
4484
 
1923
4509
  lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
1924
4510
  lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
1925
4511
  ;;
1926
 
irix* | nonstopux*)
 
4512
irix*)
1927
4513
  symcode='[BCDEGRST]'
1928
4514
  ;;
1929
4515
solaris* | sysv5*)
1968
4554
int main(){nm_test_var='a';nm_test_func();return(0);}
1969
4555
EOF
1970
4556
 
1971
 
  if { (eval echo configure:1972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
4557
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4558
  (eval $ac_compile) 2>&5
 
4559
  ac_status=$?
 
4560
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4561
  (exit $ac_status); }; then
1972
4562
    # Now try to grab the symbols.
1973
4563
    nlist=conftest.nm
1974
 
    if { (eval echo configure:1975: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then
 
4564
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
4565
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
4566
  ac_status=$?
 
4567
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4568
  (exit $ac_status); } && test -s "$nlist"; then
1975
4569
      # Try sorting and uniquifying the output.
1976
4570
      if sort "$nlist" | uniq > "$nlist"T; then
1977
4571
        mv -f "$nlist"T "$nlist"
2022
4616
          save_CFLAGS="$CFLAGS"
2023
4617
          LIBS="conftstm.$ac_objext"
2024
4618
          CFLAGS="$CFLAGS$no_builtin_flag"
2025
 
          if { (eval echo configure:2026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
 
4619
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
4620
  (eval $ac_link) 2>&5
 
4621
  ac_status=$?
 
4622
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4623
  (exit $ac_status); } && test -s conftest; then
2026
4624
            pipe_works=yes
2027
4625
          fi
2028
4626
          LIBS="$save_LIBS"
2062
4660
fi
2063
4661
if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
2064
4662
then
2065
 
  echo "$ac_t""failed" 1>&6
2066
 
else
2067
 
  echo "$ac_t""ok" 1>&6
2068
 
fi
2069
 
 
2070
 
for ac_hdr in dlfcn.h
2071
 
do
2072
 
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2073
 
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2074
 
echo "configure:2075: checking for $ac_hdr" >&5
2075
 
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2076
 
  echo $ac_n "(cached) $ac_c" 1>&6
2077
 
else
2078
 
  cat > conftest.$ac_ext <<EOF
2079
 
#line 2080 "configure"
2080
 
#include "confdefs.h"
2081
 
#include <$ac_hdr>
2082
 
EOF
2083
 
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2084
 
{ (eval echo configure:2085: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2085
 
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2086
 
if test -z "$ac_err"; then
2087
 
  rm -rf conftest*
2088
 
  eval "ac_cv_header_$ac_safe=yes"
2089
 
else
2090
 
  echo "$ac_err" >&5
2091
 
  echo "configure: failed program was:" >&5
 
4663
  echo "$as_me:$LINENO: result: failed" >&5
 
4664
echo "${ECHO_T}failed" >&6
 
4665
else
 
4666
  echo "$as_me:$LINENO: result: ok" >&5
 
4667
echo "${ECHO_T}ok" >&6
 
4668
fi
 
4669
 
 
4670
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
4671
 
 
4672
 
 
4673
 
 
4674
 
 
4675
 
 
4676
 
 
4677
 
 
4678
 
 
4679
 
 
4680
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
4681
                  inttypes.h stdint.h unistd.h
 
4682
do
 
4683
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4684
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4685
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
4686
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
4687
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4688
else
 
4689
  cat >conftest.$ac_ext <<_ACEOF
 
4690
#line $LINENO "configure"
 
4691
#include "confdefs.h"
 
4692
$ac_includes_default
 
4693
 
 
4694
#include <$ac_header>
 
4695
_ACEOF
 
4696
rm -f conftest.$ac_objext
 
4697
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4698
  (eval $ac_compile) 2>&5
 
4699
  ac_status=$?
 
4700
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4701
  (exit $ac_status); } &&
 
4702
         { ac_try='test -s conftest.$ac_objext'
 
4703
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4704
  (eval $ac_try) 2>&5
 
4705
  ac_status=$?
 
4706
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4707
  (exit $ac_status); }; }; then
 
4708
  eval "$as_ac_Header=yes"
 
4709
else
 
4710
  echo "$as_me: failed program was:" >&5
 
4711
cat conftest.$ac_ext >&5
 
4712
eval "$as_ac_Header=no"
 
4713
fi
 
4714
rm -f conftest.$ac_objext conftest.$ac_ext
 
4715
fi
 
4716
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
4717
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
4718
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4719
  cat >>confdefs.h <<_ACEOF
 
4720
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4721
_ACEOF
 
4722
 
 
4723
fi
 
4724
 
 
4725
done
 
4726
 
 
4727
 
 
4728
 
 
4729
for ac_header in dlfcn.h
 
4730
do
 
4731
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4732
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
4733
  echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4734
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
4735
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
4736
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4737
fi
 
4738
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
4739
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
4740
else
 
4741
  # Is the header compilable?
 
4742
echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
4743
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
4744
cat >conftest.$ac_ext <<_ACEOF
 
4745
#line $LINENO "configure"
 
4746
#include "confdefs.h"
 
4747
$ac_includes_default
 
4748
#include <$ac_header>
 
4749
_ACEOF
 
4750
rm -f conftest.$ac_objext
 
4751
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4752
  (eval $ac_compile) 2>&5
 
4753
  ac_status=$?
 
4754
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4755
  (exit $ac_status); } &&
 
4756
         { ac_try='test -s conftest.$ac_objext'
 
4757
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4758
  (eval $ac_try) 2>&5
 
4759
  ac_status=$?
 
4760
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4761
  (exit $ac_status); }; }; then
 
4762
  ac_header_compiler=yes
 
4763
else
 
4764
  echo "$as_me: failed program was:" >&5
 
4765
cat conftest.$ac_ext >&5
 
4766
ac_header_compiler=no
 
4767
fi
 
4768
rm -f conftest.$ac_objext conftest.$ac_ext
 
4769
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4770
echo "${ECHO_T}$ac_header_compiler" >&6
 
4771
 
 
4772
# Is the header present?
 
4773
echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4774
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
4775
cat >conftest.$ac_ext <<_ACEOF
 
4776
#line $LINENO "configure"
 
4777
#include "confdefs.h"
 
4778
#include <$ac_header>
 
4779
_ACEOF
 
4780
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
4781
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4782
  ac_status=$?
 
4783
  grep -v '^ *+' conftest.er1 >conftest.err
 
4784
  rm -f conftest.er1
 
4785
  cat conftest.err >&5
 
4786
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4787
  (exit $ac_status); } >/dev/null; then
 
4788
  if test -s conftest.err; then
 
4789
    ac_cpp_err=$ac_c_preproc_warn_flag
 
4790
  else
 
4791
    ac_cpp_err=
 
4792
  fi
 
4793
else
 
4794
  ac_cpp_err=yes
 
4795
fi
 
4796
if test -z "$ac_cpp_err"; then
 
4797
  ac_header_preproc=yes
 
4798
else
 
4799
  echo "$as_me: failed program was:" >&5
2092
4800
  cat conftest.$ac_ext >&5
2093
 
  rm -rf conftest*
2094
 
  eval "ac_cv_header_$ac_safe=no"
2095
 
fi
2096
 
rm -f conftest*
2097
 
fi
2098
 
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2099
 
  echo "$ac_t""yes" 1>&6
2100
 
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2101
 
  cat >> confdefs.h <<EOF
2102
 
#define $ac_tr_hdr 1
2103
 
EOF
2104
 
 
 
4801
  ac_header_preproc=no
 
4802
fi
 
4803
rm -f conftest.err conftest.$ac_ext
 
4804
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4805
echo "${ECHO_T}$ac_header_preproc" >&6
 
4806
 
 
4807
# So?  What about this header?
 
4808
case $ac_header_compiler:$ac_header_preproc in
 
4809
  yes:no )
 
4810
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
4811
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
4812
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
4813
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
 
4814
  no:yes )
 
4815
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
4816
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
4817
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
 
4818
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
4819
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
4820
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
 
4821
esac
 
4822
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4823
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
4824
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
4825
  echo $ECHO_N "(cached) $ECHO_C" >&6
2105
4826
else
2106
 
  echo "$ac_t""no" 1>&6
2107
 
fi
 
4827
  eval "$as_ac_Header=$ac_header_preproc"
 
4828
fi
 
4829
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
4830
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
4831
 
 
4832
fi
 
4833
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4834
  cat >>confdefs.h <<_ACEOF
 
4835
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4836
_ACEOF
 
4837
 
 
4838
fi
 
4839
 
2108
4840
done
2109
4841
 
2110
4842
 
2115
4847
case $deplibs_check_method in
2116
4848
file_magic*)
2117
4849
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2118
 
    echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2119
 
echo "configure:2120: checking for ${ac_tool_prefix}file" >&5
2120
 
if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2121
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
4850
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
4851
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
4852
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
4853
  echo $ECHO_N "(cached) $ECHO_C" >&6
2122
4854
else
2123
4855
  case $MAGIC_CMD in
2124
4856
  /*)
2170
4902
 
2171
4903
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2172
4904
if test -n "$MAGIC_CMD"; then
2173
 
  echo "$ac_t""$MAGIC_CMD" 1>&6
 
4905
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
4906
echo "${ECHO_T}$MAGIC_CMD" >&6
2174
4907
else
2175
 
  echo "$ac_t""no" 1>&6
 
4908
  echo "$as_me:$LINENO: result: no" >&5
 
4909
echo "${ECHO_T}no" >&6
2176
4910
fi
2177
4911
 
2178
4912
if test -z "$lt_cv_path_MAGIC_CMD"; then
2179
4913
  if test -n "$ac_tool_prefix"; then
2180
 
    echo $ac_n "checking for file""... $ac_c" 1>&6
2181
 
echo "configure:2182: checking for file" >&5
2182
 
if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2183
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
4914
    echo "$as_me:$LINENO: checking for file" >&5
 
4915
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
4916
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
4917
  echo $ECHO_N "(cached) $ECHO_C" >&6
2184
4918
else
2185
4919
  case $MAGIC_CMD in
2186
4920
  /*)
2232
4966
 
2233
4967
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2234
4968
if test -n "$MAGIC_CMD"; then
2235
 
  echo "$ac_t""$MAGIC_CMD" 1>&6
 
4969
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
4970
echo "${ECHO_T}$MAGIC_CMD" >&6
2236
4971
else
2237
 
  echo "$ac_t""no" 1>&6
 
4972
  echo "$as_me:$LINENO: result: no" >&5
 
4973
echo "${ECHO_T}no" >&6
2238
4974
fi
2239
4975
 
2240
4976
  else
2246
4982
  ;;
2247
4983
esac
2248
4984
 
2249
 
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
4985
if test -n "$ac_tool_prefix"; then
 
4986
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2250
4987
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2251
 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2252
 
echo "configure:2253: checking for $ac_word" >&5
2253
 
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2254
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
4988
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4989
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4990
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
4991
  echo $ECHO_N "(cached) $ECHO_C" >&6
2255
4992
else
2256
4993
  if test -n "$RANLIB"; then
2257
4994
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2258
4995
else
2259
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2260
 
  ac_dummy="$PATH"
2261
 
  for ac_dir in $ac_dummy; do
2262
 
    test -z "$ac_dir" && ac_dir=.
2263
 
    if test -f $ac_dir/$ac_word; then
2264
 
      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2265
 
      break
2266
 
    fi
2267
 
  done
2268
 
  IFS="$ac_save_ifs"
2269
 
fi
2270
 
fi
2271
 
RANLIB="$ac_cv_prog_RANLIB"
 
4996
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4997
for as_dir in $PATH
 
4998
do
 
4999
  IFS=$as_save_IFS
 
5000
  test -z "$as_dir" && as_dir=.
 
5001
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5002
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5003
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
5004
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5005
    break 2
 
5006
  fi
 
5007
done
 
5008
done
 
5009
 
 
5010
fi
 
5011
fi
 
5012
RANLIB=$ac_cv_prog_RANLIB
2272
5013
if test -n "$RANLIB"; then
2273
 
  echo "$ac_t""$RANLIB" 1>&6
 
5014
  echo "$as_me:$LINENO: result: $RANLIB" >&5
 
5015
echo "${ECHO_T}$RANLIB" >&6
2274
5016
else
2275
 
  echo "$ac_t""no" 1>&6
2276
 
fi
2277
 
 
2278
 
 
 
5017
  echo "$as_me:$LINENO: result: no" >&5
 
5018
echo "${ECHO_T}no" >&6
 
5019
fi
 
5020
 
 
5021
fi
2279
5022
if test -z "$ac_cv_prog_RANLIB"; then
2280
 
if test -n "$ac_tool_prefix"; then
 
5023
  ac_ct_RANLIB=$RANLIB
2281
5024
  # Extract the first word of "ranlib", so it can be a program name with args.
2282
5025
set dummy ranlib; ac_word=$2
2283
 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2284
 
echo "configure:2285: checking for $ac_word" >&5
2285
 
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2286
 
  echo $ac_n "(cached) $ac_c" 1>&6
2287
 
else
2288
 
  if test -n "$RANLIB"; then
2289
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2290
 
else
2291
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2292
 
  ac_dummy="$PATH"
2293
 
  for ac_dir in $ac_dummy; do
2294
 
    test -z "$ac_dir" && ac_dir=.
2295
 
    if test -f $ac_dir/$ac_word; then
2296
 
      ac_cv_prog_RANLIB="ranlib"
2297
 
      break
2298
 
    fi
2299
 
  done
2300
 
  IFS="$ac_save_ifs"
2301
 
  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2302
 
fi
2303
 
fi
2304
 
RANLIB="$ac_cv_prog_RANLIB"
2305
 
if test -n "$RANLIB"; then
2306
 
  echo "$ac_t""$RANLIB" 1>&6
2307
 
else
2308
 
  echo "$ac_t""no" 1>&6
2309
 
fi
2310
 
 
2311
 
else
2312
 
  RANLIB=":"
2313
 
fi
2314
 
fi
2315
 
 
2316
 
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
5026
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5027
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5028
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
5029
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5030
else
 
5031
  if test -n "$ac_ct_RANLIB"; then
 
5032
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
5033
else
 
5034
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5035
for as_dir in $PATH
 
5036
do
 
5037
  IFS=$as_save_IFS
 
5038
  test -z "$as_dir" && as_dir=.
 
5039
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5040
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5041
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
5042
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5043
    break 2
 
5044
  fi
 
5045
done
 
5046
done
 
5047
 
 
5048
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
 
5049
fi
 
5050
fi
 
5051
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
5052
if test -n "$ac_ct_RANLIB"; then
 
5053
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
5054
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
5055
else
 
5056
  echo "$as_me:$LINENO: result: no" >&5
 
5057
echo "${ECHO_T}no" >&6
 
5058
fi
 
5059
 
 
5060
  RANLIB=$ac_ct_RANLIB
 
5061
else
 
5062
  RANLIB="$ac_cv_prog_RANLIB"
 
5063
fi
 
5064
 
 
5065
if test -n "$ac_tool_prefix"; then
 
5066
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2317
5067
set dummy ${ac_tool_prefix}strip; ac_word=$2
2318
 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2319
 
echo "configure:2320: checking for $ac_word" >&5
2320
 
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2321
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
5068
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5069
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5070
if test "${ac_cv_prog_STRIP+set}" = set; then
 
5071
  echo $ECHO_N "(cached) $ECHO_C" >&6
2322
5072
else
2323
5073
  if test -n "$STRIP"; then
2324
5074
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2325
5075
else
2326
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2327
 
  ac_dummy="$PATH"
2328
 
  for ac_dir in $ac_dummy; do
2329
 
    test -z "$ac_dir" && ac_dir=.
2330
 
    if test -f $ac_dir/$ac_word; then
2331
 
      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2332
 
      break
2333
 
    fi
2334
 
  done
2335
 
  IFS="$ac_save_ifs"
2336
 
fi
2337
 
fi
2338
 
STRIP="$ac_cv_prog_STRIP"
 
5076
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5077
for as_dir in $PATH
 
5078
do
 
5079
  IFS=$as_save_IFS
 
5080
  test -z "$as_dir" && as_dir=.
 
5081
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5082
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5083
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
5084
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5085
    break 2
 
5086
  fi
 
5087
done
 
5088
done
 
5089
 
 
5090
fi
 
5091
fi
 
5092
STRIP=$ac_cv_prog_STRIP
2339
5093
if test -n "$STRIP"; then
2340
 
  echo "$ac_t""$STRIP" 1>&6
 
5094
  echo "$as_me:$LINENO: result: $STRIP" >&5
 
5095
echo "${ECHO_T}$STRIP" >&6
2341
5096
else
2342
 
  echo "$ac_t""no" 1>&6
2343
 
fi
2344
 
 
2345
 
 
 
5097
  echo "$as_me:$LINENO: result: no" >&5
 
5098
echo "${ECHO_T}no" >&6
 
5099
fi
 
5100
 
 
5101
fi
2346
5102
if test -z "$ac_cv_prog_STRIP"; then
2347
 
if test -n "$ac_tool_prefix"; then
 
5103
  ac_ct_STRIP=$STRIP
2348
5104
  # Extract the first word of "strip", so it can be a program name with args.
2349
5105
set dummy strip; ac_word=$2
2350
 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2351
 
echo "configure:2352: checking for $ac_word" >&5
2352
 
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2353
 
  echo $ac_n "(cached) $ac_c" 1>&6
2354
 
else
2355
 
  if test -n "$STRIP"; then
2356
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2357
 
else
2358
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2359
 
  ac_dummy="$PATH"
2360
 
  for ac_dir in $ac_dummy; do
2361
 
    test -z "$ac_dir" && ac_dir=.
2362
 
    if test -f $ac_dir/$ac_word; then
2363
 
      ac_cv_prog_STRIP="strip"
2364
 
      break
2365
 
    fi
2366
 
  done
2367
 
  IFS="$ac_save_ifs"
2368
 
  test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2369
 
fi
2370
 
fi
2371
 
STRIP="$ac_cv_prog_STRIP"
2372
 
if test -n "$STRIP"; then
2373
 
  echo "$ac_t""$STRIP" 1>&6
2374
 
else
2375
 
  echo "$ac_t""no" 1>&6
2376
 
fi
2377
 
 
2378
 
else
2379
 
  STRIP=":"
2380
 
fi
 
5106
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5107
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5108
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
5109
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5110
else
 
5111
  if test -n "$ac_ct_STRIP"; then
 
5112
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
5113
else
 
5114
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5115
for as_dir in $PATH
 
5116
do
 
5117
  IFS=$as_save_IFS
 
5118
  test -z "$as_dir" && as_dir=.
 
5119
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5120
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5121
    ac_cv_prog_ac_ct_STRIP="strip"
 
5122
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5123
    break 2
 
5124
  fi
 
5125
done
 
5126
done
 
5127
 
 
5128
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 
5129
fi
 
5130
fi
 
5131
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
5132
if test -n "$ac_ct_STRIP"; then
 
5133
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
5134
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
5135
else
 
5136
  echo "$as_me:$LINENO: result: no" >&5
 
5137
echo "${ECHO_T}no" >&6
 
5138
fi
 
5139
 
 
5140
  STRIP=$ac_ct_STRIP
 
5141
else
 
5142
  STRIP="$ac_cv_prog_STRIP"
2381
5143
fi
2382
5144
 
2383
5145
 
2387
5149
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2388
5150
if test "${enable_libtool_lock+set}" = set; then
2389
5151
  enableval="$enable_libtool_lock"
2390
 
  :
2391
 
fi
2392
5152
 
 
5153
fi;
2393
5154
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
2394
5155
 
2395
5156
# Some flags need to be propagated to the compiler or linker for good
2397
5158
case $host in
2398
5159
*-*-irix6*)
2399
5160
  # Find out which ABI we are using.
2400
 
  echo '#line 2401 "configure"' > conftest.$ac_ext
2401
 
  if { (eval echo configure:2402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
5161
  echo '#line 5161 "configure"' > conftest.$ac_ext
 
5162
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5163
  (eval $ac_compile) 2>&5
 
5164
  ac_status=$?
 
5165
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5166
  (exit $ac_status); }; then
2402
5167
    case `/usr/bin/file conftest.$ac_objext` in
2403
5168
    *32-bit*)
2404
5169
      LD="${LD-ld} -32"
2418
5183
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2419
5184
  SAVE_CFLAGS="$CFLAGS"
2420
5185
  CFLAGS="$CFLAGS -belf"
2421
 
  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2422
 
echo "configure:2423: checking whether the C compiler needs -belf" >&5
2423
 
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2424
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
5186
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
5187
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
5188
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
5189
  echo $ECHO_N "(cached) $ECHO_C" >&6
2425
5190
else
2426
 
  
 
5191
 
 
5192
 
2427
5193
     ac_ext=c
2428
 
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2429
5194
ac_cpp='$CPP $CPPFLAGS'
2430
 
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2431
 
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2432
 
cross_compiling=$ac_cv_prog_cc_cross
 
5195
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5196
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5197
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2433
5198
 
2434
 
     cat > conftest.$ac_ext <<EOF
2435
 
#line 2436 "configure"
 
5199
     cat >conftest.$ac_ext <<_ACEOF
 
5200
#line $LINENO "configure"
2436
5201
#include "confdefs.h"
2437
5202
 
2438
 
int main() {
 
5203
int
 
5204
main ()
 
5205
{
2439
5206
 
2440
 
; return 0; }
2441
 
EOF
2442
 
if { (eval echo configure:2443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2443
 
  rm -rf conftest*
 
5207
  ;
 
5208
  return 0;
 
5209
}
 
5210
_ACEOF
 
5211
rm -f conftest.$ac_objext conftest$ac_exeext
 
5212
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
5213
  (eval $ac_link) 2>&5
 
5214
  ac_status=$?
 
5215
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5216
  (exit $ac_status); } &&
 
5217
         { ac_try='test -s conftest$ac_exeext'
 
5218
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5219
  (eval $ac_try) 2>&5
 
5220
  ac_status=$?
 
5221
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5222
  (exit $ac_status); }; }; then
2444
5223
  lt_cv_cc_needs_belf=yes
2445
5224
else
2446
 
  echo "configure: failed program was:" >&5
2447
 
  cat conftest.$ac_ext >&5
2448
 
  rm -rf conftest*
2449
 
  lt_cv_cc_needs_belf=no
 
5225
  echo "$as_me: failed program was:" >&5
 
5226
cat conftest.$ac_ext >&5
 
5227
lt_cv_cc_needs_belf=no
2450
5228
fi
2451
 
rm -f conftest*
 
5229
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2452
5230
     ac_ext=c
2453
 
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2454
5231
ac_cpp='$CPP $CPPFLAGS'
2455
 
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2456
 
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2457
 
cross_compiling=$ac_cv_prog_cc_cross
 
5232
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5233
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5234
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2458
5235
 
2459
5236
fi
2460
 
 
2461
 
echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
 
5237
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
5238
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
2462
5239
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2463
5240
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2464
5241
    CFLAGS="$SAVE_CFLAGS"
2558
5335
set dummy $CC
2559
5336
compiler="$2"
2560
5337
 
2561
 
echo $ac_n "checking for objdir""... $ac_c" 1>&6
2562
 
echo "configure:2563: checking for objdir" >&5
 
5338
echo "$as_me:$LINENO: checking for objdir" >&5
 
5339
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
2563
5340
rm -f .libs 2>/dev/null
2564
5341
mkdir .libs 2>/dev/null
2565
5342
if test -d .libs; then
2569
5346
  objdir=_libs
2570
5347
fi
2571
5348
rmdir .libs 2>/dev/null
2572
 
echo "$ac_t""$objdir" 1>&6
 
5349
echo "$as_me:$LINENO: result: $objdir" >&5
 
5350
echo "${ECHO_T}$objdir" >&6
 
5351
 
2573
5352
 
2574
5353
 
2575
5354
# Check whether --with-pic or --without-pic was given.
2578
5357
  pic_mode="$withval"
2579
5358
else
2580
5359
  pic_mode=default
2581
 
fi
2582
 
 
 
5360
fi;
2583
5361
test -z "$pic_mode" && pic_mode=default
2584
5362
 
2585
5363
# We assume here that the value for lt_cv_prog_cc_pic will not be cached
2586
5364
# in isolation, and that seeing it set (from the cache) indicates that
2587
5365
# the associated values are set (in the cache) correctly too.
2588
 
echo $ac_n "checking for $compiler option to produce PIC""... $ac_c" 1>&6
2589
 
echo "configure:2590: checking for $compiler option to produce PIC" >&5
2590
 
if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then
2591
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
5366
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
5367
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
5368
if test "${lt_cv_prog_cc_pic+set}" = set; then
 
5369
  echo $ECHO_N "(cached) $ECHO_C" >&6
2592
5370
else
2593
5371
   lt_cv_prog_cc_pic=
2594
5372
  lt_cv_prog_cc_shlib=
2617
5395
      # like `-m68040'.
2618
5396
      lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
2619
5397
      ;;
2620
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
5398
    beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
2621
5399
      # PIC is the default for these OSes.
2622
5400
      ;;
2623
5401
    darwin* | rhapsody*)
2660
5438
      lt_cv_prog_cc_pic='+Z'
2661
5439
      ;;
2662
5440
 
2663
 
    irix5* | irix6* | nonstopux*)
 
5441
    irix5* | irix6*)
2664
5442
      lt_cv_prog_cc_wl='-Wl,'
2665
5443
      lt_cv_prog_cc_static='-non_shared'
2666
5444
      # PIC (with -KPIC) is the default.
2732
5510
fi
2733
5511
 
2734
5512
if test -z "$lt_cv_prog_cc_pic"; then
2735
 
  echo "$ac_t""none" 1>&6
 
5513
  echo "$as_me:$LINENO: result: none" >&5
 
5514
echo "${ECHO_T}none" >&6
2736
5515
else
2737
 
  echo "$ac_t""$lt_cv_prog_cc_pic" 1>&6
 
5516
  echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
 
5517
echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
2738
5518
 
2739
5519
  # Check to make sure the pic_flag actually works.
2740
 
  echo $ac_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works""... $ac_c" 1>&6
2741
 
echo "configure:2742: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
2742
 
  if eval "test \"`echo '$''{'lt_cv_prog_cc_pic_works'+set}'`\" = set"; then
2743
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
5520
  echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
 
5521
echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
 
5522
  if test "${lt_cv_prog_cc_pic_works+set}" = set; then
 
5523
  echo $ECHO_N "(cached) $ECHO_C" >&6
2744
5524
else
2745
5525
      save_CFLAGS="$CFLAGS"
2746
5526
    CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
2747
 
    cat > conftest.$ac_ext <<EOF
2748
 
#line 2749 "configure"
 
5527
    cat >conftest.$ac_ext <<_ACEOF
 
5528
#line $LINENO "configure"
2749
5529
#include "confdefs.h"
2750
5530
 
2751
 
int main() {
 
5531
int
 
5532
main ()
 
5533
{
2752
5534
 
2753
 
; return 0; }
2754
 
EOF
2755
 
if { (eval echo configure:2756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2756
 
  rm -rf conftest*
 
5535
  ;
 
5536
  return 0;
 
5537
}
 
5538
_ACEOF
 
5539
rm -f conftest.$ac_objext
 
5540
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5541
  (eval $ac_compile) 2>&5
 
5542
  ac_status=$?
 
5543
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5544
  (exit $ac_status); } &&
 
5545
         { ac_try='test -s conftest.$ac_objext'
 
5546
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5547
  (eval $ac_try) 2>&5
 
5548
  ac_status=$?
 
5549
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5550
  (exit $ac_status); }; }; then
2757
5551
        case $host_os in
2758
5552
      hpux9* | hpux10* | hpux11*)
2759
5553
        # On HP-UX, both CC and GCC only warn that PIC is supported... then
2769
5563
        lt_cv_prog_cc_pic_works=yes
2770
5564
        ;;
2771
5565
      esac
2772
 
    
 
5566
 
2773
5567
else
2774
 
  echo "configure: failed program was:" >&5
2775
 
  cat conftest.$ac_ext >&5
2776
 
  rm -rf conftest*
2777
 
        lt_cv_prog_cc_pic_works=no
2778
 
    
 
5568
  echo "$as_me: failed program was:" >&5
 
5569
cat conftest.$ac_ext >&5
 
5570
      lt_cv_prog_cc_pic_works=no
 
5571
 
2779
5572
fi
2780
 
rm -f conftest*
 
5573
rm -f conftest.$ac_objext conftest.$ac_ext
2781
5574
    CFLAGS="$save_CFLAGS"
2782
 
  
 
5575
 
2783
5576
fi
2784
5577
 
2785
5578
 
2790
5583
    lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
2791
5584
  fi
2792
5585
 
2793
 
  echo "$ac_t""$lt_cv_prog_cc_pic_works" 1>&6
 
5586
  echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
 
5587
echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
2794
5588
fi
2795
5589
 
2796
5590
# Check for any special shared library compilation flags.
2797
5591
if test -n "$lt_cv_prog_cc_shlib"; then
2798
 
  echo "configure: warning: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" 1>&2
 
5592
  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
 
5593
echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
2799
5594
  if echo "$old_CC $old_CFLAGS " | egrep -e "[  ]$lt_cv_prog_cc_shlib[  ]" >/dev/null; then :
2800
5595
  else
2801
 
   echo "configure: warning: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" 1>&2
 
5596
   { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
 
5597
echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
2802
5598
    lt_cv_prog_cc_can_build_shared=no
2803
5599
  fi
2804
5600
fi
2805
5601
 
2806
 
echo $ac_n "checking if $compiler static flag $lt_cv_prog_cc_static works""... $ac_c" 1>&6
2807
 
echo "configure:2808: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
2808
 
if eval "test \"`echo '$''{'lt_cv_prog_cc_static_works'+set}'`\" = set"; then
2809
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
5602
echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
 
5603
echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
 
5604
if test "${lt_cv_prog_cc_static_works+set}" = set; then
 
5605
  echo $ECHO_N "(cached) $ECHO_C" >&6
2810
5606
else
2811
5607
    lt_cv_prog_cc_static_works=no
2812
5608
  save_LDFLAGS="$LDFLAGS"
2813
5609
  LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
2814
 
  cat > conftest.$ac_ext <<EOF
2815
 
#line 2816 "configure"
 
5610
  cat >conftest.$ac_ext <<_ACEOF
 
5611
#line $LINENO "configure"
2816
5612
#include "confdefs.h"
2817
5613
 
2818
 
int main() {
 
5614
int
 
5615
main ()
 
5616
{
2819
5617
 
2820
 
; return 0; }
2821
 
EOF
2822
 
if { (eval echo configure:2823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2823
 
  rm -rf conftest*
 
5618
  ;
 
5619
  return 0;
 
5620
}
 
5621
_ACEOF
 
5622
rm -f conftest.$ac_objext conftest$ac_exeext
 
5623
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
5624
  (eval $ac_link) 2>&5
 
5625
  ac_status=$?
 
5626
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5627
  (exit $ac_status); } &&
 
5628
         { ac_try='test -s conftest$ac_exeext'
 
5629
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5630
  (eval $ac_try) 2>&5
 
5631
  ac_status=$?
 
5632
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5633
  (exit $ac_status); }; }; then
2824
5634
  lt_cv_prog_cc_static_works=yes
2825
5635
else
2826
 
  echo "configure: failed program was:" >&5
2827
 
  cat conftest.$ac_ext >&5
 
5636
  echo "$as_me: failed program was:" >&5
 
5637
cat conftest.$ac_ext >&5
2828
5638
fi
2829
 
rm -f conftest*
 
5639
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2830
5640
  LDFLAGS="$save_LDFLAGS"
2831
5641
 
2832
5642
fi
2834
5644
 
2835
5645
# Belt *and* braces to stop my trousers falling down:
2836
5646
test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
2837
 
echo "$ac_t""$lt_cv_prog_cc_static_works" 1>&6
 
5647
echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
 
5648
echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
2838
5649
 
2839
5650
pic_flag="$lt_cv_prog_cc_pic"
2840
5651
special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
2845
5656
 
2846
5657
 
2847
5658
# Check to see if options -o and -c are simultaneously supported by compiler
2848
 
echo $ac_n "checking if $compiler supports -c -o file.$ac_objext""... $ac_c" 1>&6
2849
 
echo "configure:2850: checking if $compiler supports -c -o file.$ac_objext" >&5
2850
 
if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then
2851
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
5659
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
5660
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
5661
if test "${lt_cv_compiler_c_o+set}" = set; then
 
5662
  echo $ECHO_N "(cached) $ECHO_C" >&6
2852
5663
else
2853
 
  
 
5664
 
2854
5665
$rm -r conftest 2>/dev/null
2855
5666
mkdir conftest
2856
5667
cd conftest
2865
5676
save_CFLAGS="$CFLAGS"
2866
5677
CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
2867
5678
compiler_c_o=no
2868
 
if { (eval echo configure:2869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
 
5679
if { (eval echo configure:5679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
2869
5680
  # The compiler can only warn and ignore the option if not recognized
2870
5681
  # So say no if there are warnings
2871
5682
  if test -s out/conftest.err; then
2889
5700
fi
2890
5701
 
2891
5702
compiler_c_o=$lt_cv_compiler_c_o
2892
 
echo "$ac_t""$compiler_c_o" 1>&6
 
5703
echo "$as_me:$LINENO: result: $compiler_c_o" >&5
 
5704
echo "${ECHO_T}$compiler_c_o" >&6
2893
5705
 
2894
5706
if test x"$compiler_c_o" = x"yes"; then
2895
5707
  # Check to see if we can write to a .lo
2896
 
  echo $ac_n "checking if $compiler supports -c -o file.lo""... $ac_c" 1>&6
2897
 
echo "configure:2898: checking if $compiler supports -c -o file.lo" >&5
2898
 
  if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then
2899
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
5708
  echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
 
5709
echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
 
5710
  if test "${lt_cv_compiler_o_lo+set}" = set; then
 
5711
  echo $ECHO_N "(cached) $ECHO_C" >&6
2900
5712
else
2901
 
  
 
5713
 
2902
5714
  lt_cv_compiler_o_lo=no
2903
5715
  save_CFLAGS="$CFLAGS"
2904
5716
  CFLAGS="$CFLAGS -c -o conftest.lo"
2905
5717
  save_objext="$ac_objext"
2906
5718
  ac_objext=lo
2907
 
  cat > conftest.$ac_ext <<EOF
2908
 
#line 2909 "configure"
 
5719
  cat >conftest.$ac_ext <<_ACEOF
 
5720
#line $LINENO "configure"
2909
5721
#include "confdefs.h"
2910
5722
 
2911
 
int main() {
 
5723
int
 
5724
main ()
 
5725
{
2912
5726
int some_variable = 0;
2913
 
; return 0; }
2914
 
EOF
2915
 
if { (eval echo configure:2916: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2916
 
  rm -rf conftest*
 
5727
  ;
 
5728
  return 0;
 
5729
}
 
5730
_ACEOF
 
5731
rm -f conftest.$ac_objext
 
5732
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5733
  (eval $ac_compile) 2>&5
 
5734
  ac_status=$?
 
5735
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5736
  (exit $ac_status); } &&
 
5737
         { ac_try='test -s conftest.$ac_objext'
 
5738
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5739
  (eval $ac_try) 2>&5
 
5740
  ac_status=$?
 
5741
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5742
  (exit $ac_status); }; }; then
2917
5743
      # The compiler can only warn and ignore the option if not recognized
2918
5744
    # So say no if there are warnings
2919
5745
    if test -s conftest.err; then
2921
5747
    else
2922
5748
      lt_cv_compiler_o_lo=yes
2923
5749
    fi
2924
 
  
 
5750
 
2925
5751
else
2926
 
  echo "configure: failed program was:" >&5
2927
 
  cat conftest.$ac_ext >&5
 
5752
  echo "$as_me: failed program was:" >&5
 
5753
cat conftest.$ac_ext >&5
2928
5754
fi
2929
 
rm -f conftest*
 
5755
rm -f conftest.$ac_objext conftest.$ac_ext
2930
5756
  ac_objext="$save_objext"
2931
5757
  CFLAGS="$save_CFLAGS"
2932
 
  
 
5758
 
2933
5759
fi
2934
5760
 
2935
5761
  compiler_o_lo=$lt_cv_compiler_o_lo
2936
 
  echo "$ac_t""$compiler_o_lo" 1>&6
 
5762
  echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
 
5763
echo "${ECHO_T}$compiler_o_lo" >&6
2937
5764
else
2938
5765
  compiler_o_lo=no
2939
5766
fi
2942
5769
hard_links="nottested"
2943
5770
if test "$compiler_c_o" = no && test "$need_locks" != no; then
2944
5771
  # do not overwrite the value of need_locks provided by the user
2945
 
  echo $ac_n "checking if we can lock with hard links""... $ac_c" 1>&6
2946
 
echo "configure:2947: checking if we can lock with hard links" >&5
 
5772
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
5773
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
2947
5774
  hard_links=yes
2948
5775
  $rm conftest*
2949
5776
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
2950
5777
  touch conftest.a
2951
5778
  ln conftest.a conftest.b 2>&5 || hard_links=no
2952
5779
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
2953
 
  echo "$ac_t""$hard_links" 1>&6
 
5780
  echo "$as_me:$LINENO: result: $hard_links" >&5
 
5781
echo "${ECHO_T}$hard_links" >&6
2954
5782
  if test "$hard_links" = no; then
2955
 
    echo "configure: warning: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" 1>&2
 
5783
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
5784
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
2956
5785
    need_locks=warn
2957
5786
  fi
2958
5787
else
2961
5790
 
2962
5791
if test "$GCC" = yes; then
2963
5792
  # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
2964
 
  echo $ac_n "checking if $compiler supports -fno-rtti -fno-exceptions""... $ac_c" 1>&6
2965
 
echo "configure:2966: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
5793
  echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
5794
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
2966
5795
  echo "int some_variable = 0;" > conftest.$ac_ext
2967
5796
  save_CFLAGS="$CFLAGS"
2968
5797
  CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
2969
5798
  compiler_rtti_exceptions=no
2970
 
  cat > conftest.$ac_ext <<EOF
2971
 
#line 2972 "configure"
 
5799
  cat >conftest.$ac_ext <<_ACEOF
 
5800
#line $LINENO "configure"
2972
5801
#include "confdefs.h"
2973
5802
 
2974
 
int main() {
 
5803
int
 
5804
main ()
 
5805
{
2975
5806
int some_variable = 0;
2976
 
; return 0; }
2977
 
EOF
2978
 
if { (eval echo configure:2979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2979
 
  rm -rf conftest*
 
5807
  ;
 
5808
  return 0;
 
5809
}
 
5810
_ACEOF
 
5811
rm -f conftest.$ac_objext
 
5812
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5813
  (eval $ac_compile) 2>&5
 
5814
  ac_status=$?
 
5815
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5816
  (exit $ac_status); } &&
 
5817
         { ac_try='test -s conftest.$ac_objext'
 
5818
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5819
  (eval $ac_try) 2>&5
 
5820
  ac_status=$?
 
5821
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5822
  (exit $ac_status); }; }; then
2980
5823
      # The compiler can only warn and ignore the option if not recognized
2981
5824
    # So say no if there are warnings
2982
5825
    if test -s conftest.err; then
2984
5827
    else
2985
5828
      compiler_rtti_exceptions=yes
2986
5829
    fi
2987
 
  
 
5830
 
2988
5831
else
2989
 
  echo "configure: failed program was:" >&5
2990
 
  cat conftest.$ac_ext >&5
 
5832
  echo "$as_me: failed program was:" >&5
 
5833
cat conftest.$ac_ext >&5
2991
5834
fi
2992
 
rm -f conftest*
 
5835
rm -f conftest.$ac_objext conftest.$ac_ext
2993
5836
  CFLAGS="$save_CFLAGS"
2994
 
  echo "$ac_t""$compiler_rtti_exceptions" 1>&6
 
5837
  echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
 
5838
echo "${ECHO_T}$compiler_rtti_exceptions" >&6
2995
5839
 
2996
5840
  if test "$compiler_rtti_exceptions" = "yes"; then
2997
5841
    no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
3001
5845
fi
3002
5846
 
3003
5847
# See if the linker supports building shared libraries.
3004
 
echo $ac_n "checking whether the linker ($LD) supports shared libraries""... $ac_c" 1>&6
3005
 
echo "configure:3006: checking whether the linker ($LD) supports shared libraries" >&5
 
5848
echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
 
5849
echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
3006
5850
 
3007
5851
allow_undefined_flag=
3008
5852
no_undefined_flag=
3140
5984
    # can override, but on older systems we have to supply one (in ltdll.c)
3141
5985
    if test "x$lt_cv_need_dllmain" = "xyes"; then
3142
5986
      ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
3143
 
      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
 
5987
      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~
3144
5988
        test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
3145
5989
    else
3146
5990
      ltdll_obj=
3396
6240
    esac
3397
6241
    # FIXME: Relying on posixy $() will cause problems for
3398
6242
    #        cross-compilation, but unfortunately the echo tests do not
3399
 
    #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
3400
 
    #        `"' quotes if we put them in here... so don't!
3401
 
    archive_cmds='$nonopt $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
 
6243
    #        yet detect zsh echo's removal of \ escapes.
 
6244
    archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
3402
6245
    # We need to add '_' to the symbols in $export_symbols first
3403
6246
    #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
3404
6247
    hardcode_direct=yes
3450
6293
    export_dynamic_flag_spec='${wl}-E'
3451
6294
    ;;
3452
6295
 
3453
 
  irix5* | irix6* | nonstopux*)
 
6296
  irix5* | irix6*)
3454
6297
    if test "$GCC" = yes; then
3455
6298
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
3456
6299
    else
3547
6390
    ;;
3548
6391
 
3549
6392
  solaris*)
3550
 
    # gcc --version < 3.0 without binutils cannot create self contained
3551
 
    # shared libraries reliably, requiring libgcc.a to resolve some of
3552
 
    # the object symbols generated in some cases.  Libraries that use
3553
 
    # assert need libgcc.a to resolve __eprintf, for example.  Linking
3554
 
    # a copy of libgcc.a into every shared library to guarantee resolving
3555
 
    # such symbols causes other problems:  According to Tim Van Holder
3556
 
    # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
3557
 
    # (to the application) exception stack for one thing.
3558
6393
    no_undefined_flag=' -z defs'
3559
 
    if test "$GCC" = yes; then
3560
 
      case `$CC --version 2>/dev/null` in
3561
 
      [12].*)
3562
 
        cat <<EOF 1>&2
3563
 
 
3564
 
*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
3565
 
*** create self contained shared libraries on Solaris systems, without
3566
 
*** introducing a dependency on libgcc.a.  Therefore, libtool is disabling
3567
 
*** -no-undefined support, which will at least allow you to build shared
3568
 
*** libraries.  However, you may find that when you link such libraries
3569
 
*** into an application without using GCC, you have to manually add
3570
 
*** \`gcc --print-libgcc-file-name\` to the link command.  We urge you to
3571
 
*** upgrade to a newer version of GCC.  Another option is to rebuild your
3572
 
*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
3573
 
 
3574
 
EOF
3575
 
        no_undefined_flag=
3576
 
        ;;
3577
 
      esac
3578
 
    fi
3579
6394
    # $CC -shared without GNU ld will not create a library from C++
3580
6395
    # object files and a static libstdc++, better avoid it by now
3581
6396
    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
3682
6497
    ;;
3683
6498
  esac
3684
6499
fi
3685
 
echo "$ac_t""$ld_shlibs" 1>&6
 
6500
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
6501
echo "${ECHO_T}$ld_shlibs" >&6
3686
6502
test "$ld_shlibs" = no && can_build_shared=no
3687
6503
 
3688
6504
# Check hardcoding attributes.
3689
 
echo $ac_n "checking how to hardcode library paths into programs""... $ac_c" 1>&6
3690
 
echo "configure:3691: checking how to hardcode library paths into programs" >&5
 
6505
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
6506
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
3691
6507
hardcode_action=
3692
6508
if test -n "$hardcode_libdir_flag_spec" || \
3693
6509
   test -n "$runpath_var"; then
3710
6526
  # directories.
3711
6527
  hardcode_action=unsupported
3712
6528
fi
3713
 
echo "$ac_t""$hardcode_action" 1>&6
 
6529
echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
6530
echo "${ECHO_T}$hardcode_action" >&6
3714
6531
 
3715
6532
striplib=
3716
6533
old_striplib=
3717
 
echo $ac_n "checking whether stripping libraries is possible""... $ac_c" 1>&6
3718
 
echo "configure:3719: checking whether stripping libraries is possible" >&5
 
6534
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
6535
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
3719
6536
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
3720
6537
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
3721
6538
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
3722
 
  echo "$ac_t""yes" 1>&6
 
6539
  echo "$as_me:$LINENO: result: yes" >&5
 
6540
echo "${ECHO_T}yes" >&6
3723
6541
else
3724
 
  echo "$ac_t""no" 1>&6
 
6542
  echo "$as_me:$LINENO: result: no" >&5
 
6543
echo "${ECHO_T}no" >&6
3725
6544
fi
3726
6545
 
3727
6546
reload_cmds='$LD$reload_flag -o $output$reload_objs'
3728
6547
test -z "$deplibs_check_method" && deplibs_check_method=unknown
3729
6548
 
3730
6549
# PORTME Fill in your ld.so characteristics
3731
 
echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6
3732
 
echo "configure:3733: checking dynamic linker characteristics" >&5
 
6550
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
6551
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
3733
6552
library_names_spec=
3734
6553
libname_spec='lib$name'
3735
6554
soname_spec=
3767
6586
    # depend on `.', always an invalid library.  This was fixed in
3768
6587
    # development snapshots of GCC prior to 3.0.
3769
6588
    case $host_os in
3770
 
      aix4 | aix4.[01] | aix4.[01].*)
3771
 
        if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
3772
 
             echo ' yes '
3773
 
             echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
3774
 
          :
3775
 
        else
3776
 
          can_build_shared=no
3777
 
        fi
3778
 
        ;;
 
6589
       aix4 | aix4.[01] | aix4.[01].*)
 
6590
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
6591
           echo ' yes '
 
6592
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
6593
        :
 
6594
      else
 
6595
        can_build_shared=no
 
6596
      fi
 
6597
      ;;
3779
6598
    esac
3780
6599
    # AIX (on Power*) has no versioning support, so currently we can
3781
6600
    # not hardcode correct soname into executable. Probably we can
3924
6743
  postinstall_cmds='chmod 555 $lib'
3925
6744
  ;;
3926
6745
 
3927
 
irix5* | irix6* | nonstopux*)
3928
 
  case $host_os in
3929
 
    nonstopux*) version_type=nonstopux ;;
3930
 
    *)          version_type=irix ;;
3931
 
  esac
 
6746
irix5* | irix6*)
 
6747
  version_type=irix
3932
6748
  need_lib_prefix=no
3933
6749
  need_version=no
3934
6750
  soname_spec='${libname}${release}.so$major'
3935
6751
  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
3936
6752
  case $host_os in
3937
 
  irix5* | nonstopux*)
 
6753
  irix5*)
3938
6754
    libsuff= shlibsuff=
3939
6755
    ;;
3940
6756
  *)
4124
6940
  dynamic_linker=no
4125
6941
  ;;
4126
6942
esac
4127
 
echo "$ac_t""$dynamic_linker" 1>&6
 
6943
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
6944
echo "${ECHO_T}$dynamic_linker" >&6
4128
6945
test "$dynamic_linker" = no && can_build_shared=no
4129
6946
 
4130
6947
# Report the final consequences.
4131
 
echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6
4132
 
echo "configure:4133: checking if libtool supports shared libraries" >&5
4133
 
echo "$ac_t""$can_build_shared" 1>&6
 
6948
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
6949
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
 
6950
echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
6951
echo "${ECHO_T}$can_build_shared" >&6
4134
6952
 
4135
 
echo $ac_n "checking whether to build shared libraries""... $ac_c" 1>&6
4136
 
echo "configure:4137: checking whether to build shared libraries" >&5
 
6953
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
6954
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
4137
6955
test "$can_build_shared" = "no" && enable_shared=no
4138
6956
 
4139
6957
# On AIX, shared libraries and static libraries use the same namespace, and
4153
6971
  fi
4154
6972
  ;;
4155
6973
esac
4156
 
echo "$ac_t""$enable_shared" 1>&6
 
6974
echo "$as_me:$LINENO: result: $enable_shared" >&5
 
6975
echo "${ECHO_T}$enable_shared" >&6
4157
6976
 
4158
 
echo $ac_n "checking whether to build static libraries""... $ac_c" 1>&6
4159
 
echo "configure:4160: checking whether to build static libraries" >&5
 
6977
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
6978
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
4160
6979
# Make sure either enable_shared or enable_static is yes.
4161
6980
test "$enable_shared" = yes || enable_static=yes
4162
 
echo "$ac_t""$enable_static" 1>&6
 
6981
echo "$as_me:$LINENO: result: $enable_static" >&5
 
6982
echo "${ECHO_T}$enable_static" >&6
4163
6983
 
4164
6984
if test "$hardcode_action" = relink; then
4165
6985
  # Fast installation is not supported
4196
7016
   ;;
4197
7017
 
4198
7018
  *)
4199
 
    echo $ac_n "checking for shl_load""... $ac_c" 1>&6
4200
 
echo "configure:4201: checking for shl_load" >&5
4201
 
if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then
4202
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
7019
    echo "$as_me:$LINENO: checking for shl_load" >&5
 
7020
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
7021
if test "${ac_cv_func_shl_load+set}" = set; then
 
7022
  echo $ECHO_N "(cached) $ECHO_C" >&6
4203
7023
else
4204
 
  cat > conftest.$ac_ext <<EOF
4205
 
#line 4206 "configure"
 
7024
  cat >conftest.$ac_ext <<_ACEOF
 
7025
#line $LINENO "configure"
4206
7026
#include "confdefs.h"
4207
7027
/* System header to define __stub macros and hopefully few prototypes,
4208
 
    which can conflict with char shl_load(); below.  */
 
7028
    which can conflict with char shl_load (); below.  */
4209
7029
#include <assert.h>
4210
7030
/* Override any gcc2 internal prototype to avoid an error.  */
 
7031
#ifdef __cplusplus
 
7032
extern "C"
 
7033
#endif
4211
7034
/* We use char because int might match the return type of a gcc2
4212
 
    builtin and then its argument prototype would still apply.  */
4213
 
char shl_load();
4214
 
 
4215
 
int main() {
4216
 
 
 
7035
   builtin and then its argument prototype would still apply.  */
 
7036
char shl_load ();
 
7037
char (*f) ();
 
7038
 
 
7039
int
 
7040
main ()
 
7041
{
4217
7042
/* The GNU C library defines this for functions which it implements
4218
7043
    to always fail with ENOSYS.  Some functions are actually named
4219
7044
    something starting with __ and the normal name is an alias.  */
4220
7045
#if defined (__stub_shl_load) || defined (__stub___shl_load)
4221
7046
choke me
4222
7047
#else
4223
 
shl_load();
 
7048
f = shl_load;
4224
7049
#endif
4225
7050
 
4226
 
; return 0; }
4227
 
EOF
4228
 
if { (eval echo configure:4229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4229
 
  rm -rf conftest*
4230
 
  eval "ac_cv_func_shl_load=yes"
 
7051
  ;
 
7052
  return 0;
 
7053
}
 
7054
_ACEOF
 
7055
rm -f conftest.$ac_objext conftest$ac_exeext
 
7056
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7057
  (eval $ac_link) 2>&5
 
7058
  ac_status=$?
 
7059
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7060
  (exit $ac_status); } &&
 
7061
         { ac_try='test -s conftest$ac_exeext'
 
7062
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7063
  (eval $ac_try) 2>&5
 
7064
  ac_status=$?
 
7065
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7066
  (exit $ac_status); }; }; then
 
7067
  ac_cv_func_shl_load=yes
4231
7068
else
4232
 
  echo "configure: failed program was:" >&5
4233
 
  cat conftest.$ac_ext >&5
4234
 
  rm -rf conftest*
4235
 
  eval "ac_cv_func_shl_load=no"
4236
 
fi
4237
 
rm -f conftest*
4238
 
fi
4239
 
 
4240
 
if eval "test \"`echo '$ac_cv_func_'shl_load`\" = yes"; then
4241
 
  echo "$ac_t""yes" 1>&6
 
7069
  echo "$as_me: failed program was:" >&5
 
7070
cat conftest.$ac_ext >&5
 
7071
ac_cv_func_shl_load=no
 
7072
fi
 
7073
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
7074
fi
 
7075
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
7076
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
7077
if test $ac_cv_func_shl_load = yes; then
4242
7078
  lt_cv_dlopen="shl_load"
4243
7079
else
4244
 
  echo "$ac_t""no" 1>&6
4245
 
echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
4246
 
echo "configure:4247: checking for shl_load in -ldld" >&5
4247
 
ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
4248
 
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4249
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
7080
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
7081
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
7082
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
7083
  echo $ECHO_N "(cached) $ECHO_C" >&6
4250
7084
else
4251
 
  ac_save_LIBS="$LIBS"
 
7085
  ac_check_lib_save_LIBS=$LIBS
4252
7086
LIBS="-ldld  $LIBS"
4253
 
cat > conftest.$ac_ext <<EOF
4254
 
#line 4255 "configure"
 
7087
cat >conftest.$ac_ext <<_ACEOF
 
7088
#line $LINENO "configure"
4255
7089
#include "confdefs.h"
 
7090
 
4256
7091
/* Override any gcc2 internal prototype to avoid an error.  */
 
7092
#ifdef __cplusplus
 
7093
extern "C"
 
7094
#endif
4257
7095
/* We use char because int might match the return type of a gcc2
4258
 
    builtin and then its argument prototype would still apply.  */
4259
 
char shl_load();
4260
 
 
4261
 
int main() {
4262
 
shl_load()
4263
 
; return 0; }
4264
 
EOF
4265
 
if { (eval echo configure:4266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4266
 
  rm -rf conftest*
4267
 
  eval "ac_cv_lib_$ac_lib_var=yes"
 
7096
   builtin and then its argument prototype would still apply.  */
 
7097
char shl_load ();
 
7098
int
 
7099
main ()
 
7100
{
 
7101
shl_load ();
 
7102
  ;
 
7103
  return 0;
 
7104
}
 
7105
_ACEOF
 
7106
rm -f conftest.$ac_objext conftest$ac_exeext
 
7107
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7108
  (eval $ac_link) 2>&5
 
7109
  ac_status=$?
 
7110
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7111
  (exit $ac_status); } &&
 
7112
         { ac_try='test -s conftest$ac_exeext'
 
7113
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7114
  (eval $ac_try) 2>&5
 
7115
  ac_status=$?
 
7116
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7117
  (exit $ac_status); }; }; then
 
7118
  ac_cv_lib_dld_shl_load=yes
4268
7119
else
4269
 
  echo "configure: failed program was:" >&5
4270
 
  cat conftest.$ac_ext >&5
4271
 
  rm -rf conftest*
4272
 
  eval "ac_cv_lib_$ac_lib_var=no"
4273
 
fi
4274
 
rm -f conftest*
4275
 
LIBS="$ac_save_LIBS"
4276
 
 
4277
 
fi
4278
 
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4279
 
  echo "$ac_t""yes" 1>&6
 
7120
  echo "$as_me: failed program was:" >&5
 
7121
cat conftest.$ac_ext >&5
 
7122
ac_cv_lib_dld_shl_load=no
 
7123
fi
 
7124
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
7125
LIBS=$ac_check_lib_save_LIBS
 
7126
fi
 
7127
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
7128
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
7129
if test $ac_cv_lib_dld_shl_load = yes; then
4280
7130
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
4281
7131
else
4282
 
  echo "$ac_t""no" 1>&6
4283
 
echo $ac_n "checking for dlopen""... $ac_c" 1>&6
4284
 
echo "configure:4285: checking for dlopen" >&5
4285
 
if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then
4286
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
7132
  echo "$as_me:$LINENO: checking for dlopen" >&5
 
7133
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
7134
if test "${ac_cv_func_dlopen+set}" = set; then
 
7135
  echo $ECHO_N "(cached) $ECHO_C" >&6
4287
7136
else
4288
 
  cat > conftest.$ac_ext <<EOF
4289
 
#line 4290 "configure"
 
7137
  cat >conftest.$ac_ext <<_ACEOF
 
7138
#line $LINENO "configure"
4290
7139
#include "confdefs.h"
4291
7140
/* System header to define __stub macros and hopefully few prototypes,
4292
 
    which can conflict with char dlopen(); below.  */
 
7141
    which can conflict with char dlopen (); below.  */
4293
7142
#include <assert.h>
4294
7143
/* Override any gcc2 internal prototype to avoid an error.  */
 
7144
#ifdef __cplusplus
 
7145
extern "C"
 
7146
#endif
4295
7147
/* We use char because int might match the return type of a gcc2
4296
 
    builtin and then its argument prototype would still apply.  */
4297
 
char dlopen();
4298
 
 
4299
 
int main() {
4300
 
 
 
7148
   builtin and then its argument prototype would still apply.  */
 
7149
char dlopen ();
 
7150
char (*f) ();
 
7151
 
 
7152
int
 
7153
main ()
 
7154
{
4301
7155
/* The GNU C library defines this for functions which it implements
4302
7156
    to always fail with ENOSYS.  Some functions are actually named
4303
7157
    something starting with __ and the normal name is an alias.  */
4304
7158
#if defined (__stub_dlopen) || defined (__stub___dlopen)
4305
7159
choke me
4306
7160
#else
4307
 
dlopen();
 
7161
f = dlopen;
4308
7162
#endif
4309
7163
 
4310
 
; return 0; }
4311
 
EOF
4312
 
if { (eval echo configure:4313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4313
 
  rm -rf conftest*
4314
 
  eval "ac_cv_func_dlopen=yes"
 
7164
  ;
 
7165
  return 0;
 
7166
}
 
7167
_ACEOF
 
7168
rm -f conftest.$ac_objext conftest$ac_exeext
 
7169
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7170
  (eval $ac_link) 2>&5
 
7171
  ac_status=$?
 
7172
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7173
  (exit $ac_status); } &&
 
7174
         { ac_try='test -s conftest$ac_exeext'
 
7175
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7176
  (eval $ac_try) 2>&5
 
7177
  ac_status=$?
 
7178
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7179
  (exit $ac_status); }; }; then
 
7180
  ac_cv_func_dlopen=yes
4315
7181
else
4316
 
  echo "configure: failed program was:" >&5
4317
 
  cat conftest.$ac_ext >&5
4318
 
  rm -rf conftest*
4319
 
  eval "ac_cv_func_dlopen=no"
4320
 
fi
4321
 
rm -f conftest*
4322
 
fi
4323
 
 
4324
 
if eval "test \"`echo '$ac_cv_func_'dlopen`\" = yes"; then
4325
 
  echo "$ac_t""yes" 1>&6
 
7182
  echo "$as_me: failed program was:" >&5
 
7183
cat conftest.$ac_ext >&5
 
7184
ac_cv_func_dlopen=no
 
7185
fi
 
7186
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
7187
fi
 
7188
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
7189
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
7190
if test $ac_cv_func_dlopen = yes; then
4326
7191
  lt_cv_dlopen="dlopen"
4327
7192
else
4328
 
  echo "$ac_t""no" 1>&6
4329
 
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
4330
 
echo "configure:4331: checking for dlopen in -ldl" >&5
4331
 
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
4332
 
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4333
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
7193
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
7194
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
7195
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
7196
  echo $ECHO_N "(cached) $ECHO_C" >&6
4334
7197
else
4335
 
  ac_save_LIBS="$LIBS"
 
7198
  ac_check_lib_save_LIBS=$LIBS
4336
7199
LIBS="-ldl  $LIBS"
4337
 
cat > conftest.$ac_ext <<EOF
4338
 
#line 4339 "configure"
 
7200
cat >conftest.$ac_ext <<_ACEOF
 
7201
#line $LINENO "configure"
4339
7202
#include "confdefs.h"
 
7203
 
4340
7204
/* Override any gcc2 internal prototype to avoid an error.  */
 
7205
#ifdef __cplusplus
 
7206
extern "C"
 
7207
#endif
4341
7208
/* We use char because int might match the return type of a gcc2
4342
 
    builtin and then its argument prototype would still apply.  */
4343
 
char dlopen();
4344
 
 
4345
 
int main() {
4346
 
dlopen()
4347
 
; return 0; }
4348
 
EOF
4349
 
if { (eval echo configure:4350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4350
 
  rm -rf conftest*
4351
 
  eval "ac_cv_lib_$ac_lib_var=yes"
 
7209
   builtin and then its argument prototype would still apply.  */
 
7210
char dlopen ();
 
7211
int
 
7212
main ()
 
7213
{
 
7214
dlopen ();
 
7215
  ;
 
7216
  return 0;
 
7217
}
 
7218
_ACEOF
 
7219
rm -f conftest.$ac_objext conftest$ac_exeext
 
7220
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7221
  (eval $ac_link) 2>&5
 
7222
  ac_status=$?
 
7223
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7224
  (exit $ac_status); } &&
 
7225
         { ac_try='test -s conftest$ac_exeext'
 
7226
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7227
  (eval $ac_try) 2>&5
 
7228
  ac_status=$?
 
7229
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7230
  (exit $ac_status); }; }; then
 
7231
  ac_cv_lib_dl_dlopen=yes
4352
7232
else
4353
 
  echo "configure: failed program was:" >&5
4354
 
  cat conftest.$ac_ext >&5
4355
 
  rm -rf conftest*
4356
 
  eval "ac_cv_lib_$ac_lib_var=no"
4357
 
fi
4358
 
rm -f conftest*
4359
 
LIBS="$ac_save_LIBS"
4360
 
 
4361
 
fi
4362
 
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4363
 
  echo "$ac_t""yes" 1>&6
 
7233
  echo "$as_me: failed program was:" >&5
 
7234
cat conftest.$ac_ext >&5
 
7235
ac_cv_lib_dl_dlopen=no
 
7236
fi
 
7237
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
7238
LIBS=$ac_check_lib_save_LIBS
 
7239
fi
 
7240
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
7241
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
7242
if test $ac_cv_lib_dl_dlopen = yes; then
4364
7243
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
4365
7244
else
4366
 
  echo "$ac_t""no" 1>&6
4367
 
echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
4368
 
echo "configure:4369: checking for dlopen in -lsvld" >&5
4369
 
ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'`
4370
 
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4371
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
7245
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
7246
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
7247
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
7248
  echo $ECHO_N "(cached) $ECHO_C" >&6
4372
7249
else
4373
 
  ac_save_LIBS="$LIBS"
 
7250
  ac_check_lib_save_LIBS=$LIBS
4374
7251
LIBS="-lsvld  $LIBS"
4375
 
cat > conftest.$ac_ext <<EOF
4376
 
#line 4377 "configure"
 
7252
cat >conftest.$ac_ext <<_ACEOF
 
7253
#line $LINENO "configure"
4377
7254
#include "confdefs.h"
 
7255
 
4378
7256
/* Override any gcc2 internal prototype to avoid an error.  */
 
7257
#ifdef __cplusplus
 
7258
extern "C"
 
7259
#endif
4379
7260
/* We use char because int might match the return type of a gcc2
4380
 
    builtin and then its argument prototype would still apply.  */
4381
 
char dlopen();
4382
 
 
4383
 
int main() {
4384
 
dlopen()
4385
 
; return 0; }
4386
 
EOF
4387
 
if { (eval echo configure:4388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4388
 
  rm -rf conftest*
4389
 
  eval "ac_cv_lib_$ac_lib_var=yes"
 
7261
   builtin and then its argument prototype would still apply.  */
 
7262
char dlopen ();
 
7263
int
 
7264
main ()
 
7265
{
 
7266
dlopen ();
 
7267
  ;
 
7268
  return 0;
 
7269
}
 
7270
_ACEOF
 
7271
rm -f conftest.$ac_objext conftest$ac_exeext
 
7272
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7273
  (eval $ac_link) 2>&5
 
7274
  ac_status=$?
 
7275
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7276
  (exit $ac_status); } &&
 
7277
         { ac_try='test -s conftest$ac_exeext'
 
7278
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7279
  (eval $ac_try) 2>&5
 
7280
  ac_status=$?
 
7281
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7282
  (exit $ac_status); }; }; then
 
7283
  ac_cv_lib_svld_dlopen=yes
4390
7284
else
4391
 
  echo "configure: failed program was:" >&5
4392
 
  cat conftest.$ac_ext >&5
4393
 
  rm -rf conftest*
4394
 
  eval "ac_cv_lib_$ac_lib_var=no"
4395
 
fi
4396
 
rm -f conftest*
4397
 
LIBS="$ac_save_LIBS"
4398
 
 
4399
 
fi
4400
 
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4401
 
  echo "$ac_t""yes" 1>&6
 
7285
  echo "$as_me: failed program was:" >&5
 
7286
cat conftest.$ac_ext >&5
 
7287
ac_cv_lib_svld_dlopen=no
 
7288
fi
 
7289
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
7290
LIBS=$ac_check_lib_save_LIBS
 
7291
fi
 
7292
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
7293
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
7294
if test $ac_cv_lib_svld_dlopen = yes; then
4402
7295
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
4403
7296
else
4404
 
  echo "$ac_t""no" 1>&6
4405
 
echo $ac_n "checking for dld_link in -ldld""... $ac_c" 1>&6
4406
 
echo "configure:4407: checking for dld_link in -ldld" >&5
4407
 
ac_lib_var=`echo dld'_'dld_link | sed 'y%./+-%__p_%'`
4408
 
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4409
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
7297
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
7298
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
7299
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
7300
  echo $ECHO_N "(cached) $ECHO_C" >&6
4410
7301
else
4411
 
  ac_save_LIBS="$LIBS"
 
7302
  ac_check_lib_save_LIBS=$LIBS
4412
7303
LIBS="-ldld  $LIBS"
4413
 
cat > conftest.$ac_ext <<EOF
4414
 
#line 4415 "configure"
 
7304
cat >conftest.$ac_ext <<_ACEOF
 
7305
#line $LINENO "configure"
4415
7306
#include "confdefs.h"
 
7307
 
4416
7308
/* Override any gcc2 internal prototype to avoid an error.  */
 
7309
#ifdef __cplusplus
 
7310
extern "C"
 
7311
#endif
4417
7312
/* We use char because int might match the return type of a gcc2
4418
 
    builtin and then its argument prototype would still apply.  */
4419
 
char dld_link();
4420
 
 
4421
 
int main() {
4422
 
dld_link()
4423
 
; return 0; }
4424
 
EOF
4425
 
if { (eval echo configure:4426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4426
 
  rm -rf conftest*
4427
 
  eval "ac_cv_lib_$ac_lib_var=yes"
 
7313
   builtin and then its argument prototype would still apply.  */
 
7314
char dld_link ();
 
7315
int
 
7316
main ()
 
7317
{
 
7318
dld_link ();
 
7319
  ;
 
7320
  return 0;
 
7321
}
 
7322
_ACEOF
 
7323
rm -f conftest.$ac_objext conftest$ac_exeext
 
7324
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7325
  (eval $ac_link) 2>&5
 
7326
  ac_status=$?
 
7327
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7328
  (exit $ac_status); } &&
 
7329
         { ac_try='test -s conftest$ac_exeext'
 
7330
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7331
  (eval $ac_try) 2>&5
 
7332
  ac_status=$?
 
7333
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7334
  (exit $ac_status); }; }; then
 
7335
  ac_cv_lib_dld_dld_link=yes
4428
7336
else
4429
 
  echo "configure: failed program was:" >&5
4430
 
  cat conftest.$ac_ext >&5
4431
 
  rm -rf conftest*
4432
 
  eval "ac_cv_lib_$ac_lib_var=no"
4433
 
fi
4434
 
rm -f conftest*
4435
 
LIBS="$ac_save_LIBS"
4436
 
 
4437
 
fi
4438
 
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4439
 
  echo "$ac_t""yes" 1>&6
 
7337
  echo "$as_me: failed program was:" >&5
 
7338
cat conftest.$ac_ext >&5
 
7339
ac_cv_lib_dld_dld_link=no
 
7340
fi
 
7341
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
7342
LIBS=$ac_check_lib_save_LIBS
 
7343
fi
 
7344
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
7345
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
7346
if test $ac_cv_lib_dld_dld_link = yes; then
4440
7347
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
4441
 
else
4442
 
  echo "$ac_t""no" 1>&6
4443
 
fi
4444
 
 
4445
 
              
4446
 
fi
4447
 
 
4448
 
            
4449
 
fi
4450
 
 
4451
 
          
4452
 
fi
4453
 
 
4454
 
        
4455
 
fi
4456
 
 
4457
 
      
 
7348
fi
 
7349
 
 
7350
 
 
7351
fi
 
7352
 
 
7353
 
 
7354
fi
 
7355
 
 
7356
 
 
7357
fi
 
7358
 
 
7359
 
 
7360
fi
 
7361
 
 
7362
 
4458
7363
fi
4459
7364
 
4460
7365
    ;;
4477
7382
    save_LIBS="$LIBS"
4478
7383
    LIBS="$lt_cv_dlopen_libs $LIBS"
4479
7384
 
4480
 
    echo $ac_n "checking whether a program can dlopen itself""... $ac_c" 1>&6
4481
 
echo "configure:4482: checking whether a program can dlopen itself" >&5
4482
 
if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then
4483
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
7385
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
7386
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
7387
if test "${lt_cv_dlopen_self+set}" = set; then
 
7388
  echo $ECHO_N "(cached) $ECHO_C" >&6
4484
7389
else
4485
7390
          if test "$cross_compiling" = yes; then :
4486
7391
  lt_cv_dlopen_self=cross
4488
7393
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
4489
7394
  lt_status=$lt_dlunknown
4490
7395
  cat > conftest.$ac_ext <<EOF
4491
 
#line 4492 "configure"
 
7396
#line 7396 "configure"
4492
7397
#include "confdefs.h"
4493
7398
 
4494
7399
#if HAVE_DLFCN_H
4549
7454
    exit (status);
4550
7455
}
4551
7456
EOF
4552
 
  if { (eval echo configure:4553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
7457
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7458
  (eval $ac_link) 2>&5
 
7459
  ac_status=$?
 
7460
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7461
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
4553
7462
    (./conftest; exit; ) 2>/dev/null
4554
7463
    lt_status=$?
4555
7464
    case x$lt_status in
4564
7473
fi
4565
7474
rm -fr conftest*
4566
7475
 
4567
 
    
 
7476
 
4568
7477
fi
4569
 
 
4570
 
echo "$ac_t""$lt_cv_dlopen_self" 1>&6
 
7478
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
7479
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
4571
7480
 
4572
7481
    if test "x$lt_cv_dlopen_self" = xyes; then
4573
7482
      LDFLAGS="$LDFLAGS $link_static_flag"
4574
 
      echo $ac_n "checking whether a statically linked program can dlopen itself""... $ac_c" 1>&6
4575
 
echo "configure:4576: checking whether a statically linked program can dlopen itself" >&5
4576
 
if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then
4577
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
7483
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
7484
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
7485
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
7486
  echo $ECHO_N "(cached) $ECHO_C" >&6
4578
7487
else
4579
7488
          if test "$cross_compiling" = yes; then :
4580
7489
  lt_cv_dlopen_self_static=cross
4582
7491
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
4583
7492
  lt_status=$lt_dlunknown
4584
7493
  cat > conftest.$ac_ext <<EOF
4585
 
#line 4586 "configure"
 
7494
#line 7494 "configure"
4586
7495
#include "confdefs.h"
4587
7496
 
4588
7497
#if HAVE_DLFCN_H
4643
7552
    exit (status);
4644
7553
}
4645
7554
EOF
4646
 
  if { (eval echo configure:4647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
7555
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7556
  (eval $ac_link) 2>&5
 
7557
  ac_status=$?
 
7558
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7559
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
4647
7560
    (./conftest; exit; ) 2>/dev/null
4648
7561
    lt_status=$?
4649
7562
    case x$lt_status in
4658
7571
fi
4659
7572
rm -fr conftest*
4660
7573
 
4661
 
      
 
7574
 
4662
7575
fi
4663
 
 
4664
 
echo "$ac_t""$lt_cv_dlopen_self_static" 1>&6
 
7576
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
7577
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
4665
7578
    fi
4666
7579
 
4667
7580
    CPPFLAGS="$save_CPPFLAGS"
4691
7604
    # Test whether the compiler implicitly links with -lc since on some
4692
7605
    # systems, -lgcc has to come before -lc. If gcc already passes -lc
4693
7606
    # to ld, don't add -lc before -lgcc.
4694
 
    echo $ac_n "checking whether -lc should be explicitly linked in""... $ac_c" 1>&6
4695
 
echo "configure:4696: checking whether -lc should be explicitly linked in" >&5
4696
 
    if eval "test \"`echo '$''{'lt_cv_archive_cmds_need_lc'+set}'`\" = set"; then
4697
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
7607
    echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
7608
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
7609
    if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
 
7610
  echo $ECHO_N "(cached) $ECHO_C" >&6
4698
7611
else
4699
7612
  $rm conftest*
4700
7613
    echo 'static int dummy;' > conftest.$ac_ext
4701
7614
 
4702
 
    if { (eval echo configure:4703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
7615
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7616
  (eval $ac_compile) 2>&5
 
7617
  ac_status=$?
 
7618
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7619
  (exit $ac_status); }; then
4703
7620
      soname=conftest
4704
7621
      lib=conftest
4705
7622
      libobjs=conftest.$ac_objext
4712
7629
      libname=conftest
4713
7630
      save_allow_undefined_flag=$allow_undefined_flag
4714
7631
      allow_undefined_flag=
4715
 
      if { (eval echo configure:4716: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; }
 
7632
      if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
7633
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
7634
  ac_status=$?
 
7635
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7636
  (exit $ac_status); }
4716
7637
      then
4717
7638
        lt_cv_archive_cmds_need_lc=no
4718
7639
      else
4724
7645
    fi
4725
7646
fi
4726
7647
 
4727
 
    echo "$ac_t""$lt_cv_archive_cmds_need_lc" 1>&6
 
7648
    echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
 
7649
echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
4728
7650
    ;;
4729
7651
  esac
4730
7652
fi
5294
8216
 
5295
8217
 
5296
8218
 
 
8219
ALL_LINGUAS="es fr"
 
8220
 
 
8221
        MKINSTALLDIRS=
 
8222
  if test -n "$ac_aux_dir"; then
 
8223
    MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
 
8224
  fi
 
8225
  if test -z "$MKINSTALLDIRS"; then
 
8226
    MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 
8227
  fi
 
8228
 
 
8229
 
 
8230
 
 
8231
 
 
8232
 
 
8233
        # Extract the first word of "msgfmt", so it can be a program name with args.
 
8234
set dummy msgfmt; ac_word=$2
 
8235
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8236
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8237
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
8238
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8239
else
 
8240
  case "$MSGFMT" in
 
8241
  /*)
 
8242
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
8243
  ;;
 
8244
  *)
 
8245
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
8246
  for ac_dir in $PATH; do
 
8247
    test -z "$ac_dir" && ac_dir=.
 
8248
    if test -f $ac_dir/$ac_word; then
 
8249
      if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
 
8250
     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
 
8251
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
 
8252
        break
 
8253
      fi
 
8254
    fi
 
8255
  done
 
8256
  IFS="$ac_save_ifs"
 
8257
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
 
8258
  ;;
 
8259
esac
 
8260
fi
 
8261
MSGFMT="$ac_cv_path_MSGFMT"
 
8262
if test "$MSGFMT" != ":"; then
 
8263
  echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
8264
echo "${ECHO_T}$MSGFMT" >&6
 
8265
else
 
8266
  echo "$as_me:$LINENO: result: no" >&5
 
8267
echo "${ECHO_T}no" >&6
 
8268
fi
 
8269
 
 
8270
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
 
8271
set dummy gmsgfmt; ac_word=$2
 
8272
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8273
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8274
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
8275
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8276
else
 
8277
  case $GMSGFMT in
 
8278
  [\\/]* | ?:[\\/]*)
 
8279
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
8280
  ;;
 
8281
  *)
 
8282
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8283
for as_dir in $PATH
 
8284
do
 
8285
  IFS=$as_save_IFS
 
8286
  test -z "$as_dir" && as_dir=.
 
8287
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8288
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8289
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
8290
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8291
    break 2
 
8292
  fi
 
8293
done
 
8294
done
 
8295
 
 
8296
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
8297
  ;;
 
8298
esac
 
8299
fi
 
8300
GMSGFMT=$ac_cv_path_GMSGFMT
 
8301
 
 
8302
if test -n "$GMSGFMT"; then
 
8303
  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
8304
echo "${ECHO_T}$GMSGFMT" >&6
 
8305
else
 
8306
  echo "$as_me:$LINENO: result: no" >&5
 
8307
echo "${ECHO_T}no" >&6
 
8308
fi
 
8309
 
 
8310
 
 
8311
        # Extract the first word of "xgettext", so it can be a program name with args.
 
8312
set dummy xgettext; ac_word=$2
 
8313
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8314
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8315
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
8316
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8317
else
 
8318
  case "$XGETTEXT" in
 
8319
  /*)
 
8320
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
8321
  ;;
 
8322
  *)
 
8323
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
8324
  for ac_dir in $PATH; do
 
8325
    test -z "$ac_dir" && ac_dir=.
 
8326
    if test -f $ac_dir/$ac_word; then
 
8327
      if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 &&
 
8328
     (if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
 
8329
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
 
8330
        break
 
8331
      fi
 
8332
    fi
 
8333
  done
 
8334
  IFS="$ac_save_ifs"
 
8335
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 
8336
  ;;
 
8337
esac
 
8338
fi
 
8339
XGETTEXT="$ac_cv_path_XGETTEXT"
 
8340
if test "$XGETTEXT" != ":"; then
 
8341
  echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
8342
echo "${ECHO_T}$XGETTEXT" >&6
 
8343
else
 
8344
  echo "$as_me:$LINENO: result: no" >&5
 
8345
echo "${ECHO_T}no" >&6
 
8346
fi
 
8347
 
 
8348
    rm -f messages.po
 
8349
 
 
8350
    # Extract the first word of "msgmerge", so it can be a program name with args.
 
8351
set dummy msgmerge; ac_word=$2
 
8352
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8353
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8354
if test "${ac_cv_path_MSGMERGE+set}" = set; then
 
8355
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8356
else
 
8357
  case "$MSGMERGE" in
 
8358
  /*)
 
8359
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
8360
  ;;
 
8361
  *)
 
8362
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
8363
  for ac_dir in $PATH; do
 
8364
    test -z "$ac_dir" && ac_dir=.
 
8365
    if test -f $ac_dir/$ac_word; then
 
8366
      if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
 
8367
        ac_cv_path_MSGMERGE="$ac_dir/$ac_word"
 
8368
        break
 
8369
      fi
 
8370
    fi
 
8371
  done
 
8372
  IFS="$ac_save_ifs"
 
8373
  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
 
8374
  ;;
 
8375
esac
 
8376
fi
 
8377
MSGMERGE="$ac_cv_path_MSGMERGE"
 
8378
if test "$MSGMERGE" != ":"; then
 
8379
  echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
8380
echo "${ECHO_T}$MSGMERGE" >&6
 
8381
else
 
8382
  echo "$as_me:$LINENO: result: no" >&5
 
8383
echo "${ECHO_T}no" >&6
 
8384
fi
 
8385
 
 
8386
 
 
8387
      if test "$GMSGFMT" != ":"; then
 
8388
            if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
 
8389
       (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
 
8390
      : ;
 
8391
    else
 
8392
      GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
 
8393
      echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
 
8394
echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
 
8395
      GMSGFMT=":"
 
8396
    fi
 
8397
  fi
 
8398
 
 
8399
      if test "$XGETTEXT" != ":"; then
 
8400
            if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 &&
 
8401
       (if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
 
8402
      : ;
 
8403
    else
 
8404
      echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
8405
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
 
8406
      XGETTEXT=":"
 
8407
    fi
 
8408
        rm -f messages.po
 
8409
  fi
 
8410
 
 
8411
            ac_config_commands="$ac_config_commands default-1"
 
8412
 
 
8413
 
 
8414
if test -n "$ac_tool_prefix"; then
 
8415
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
8416
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
8417
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8418
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8419
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
8420
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8421
else
 
8422
  if test -n "$RANLIB"; then
 
8423
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
8424
else
 
8425
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8426
for as_dir in $PATH
 
8427
do
 
8428
  IFS=$as_save_IFS
 
8429
  test -z "$as_dir" && as_dir=.
 
8430
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8431
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8432
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
8433
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8434
    break 2
 
8435
  fi
 
8436
done
 
8437
done
 
8438
 
 
8439
fi
 
8440
fi
 
8441
RANLIB=$ac_cv_prog_RANLIB
 
8442
if test -n "$RANLIB"; then
 
8443
  echo "$as_me:$LINENO: result: $RANLIB" >&5
 
8444
echo "${ECHO_T}$RANLIB" >&6
 
8445
else
 
8446
  echo "$as_me:$LINENO: result: no" >&5
 
8447
echo "${ECHO_T}no" >&6
 
8448
fi
 
8449
 
 
8450
fi
 
8451
if test -z "$ac_cv_prog_RANLIB"; then
 
8452
  ac_ct_RANLIB=$RANLIB
 
8453
  # Extract the first word of "ranlib", so it can be a program name with args.
 
8454
set dummy ranlib; ac_word=$2
 
8455
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8456
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8457
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
8458
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8459
else
 
8460
  if test -n "$ac_ct_RANLIB"; then
 
8461
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
8462
else
 
8463
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8464
for as_dir in $PATH
 
8465
do
 
8466
  IFS=$as_save_IFS
 
8467
  test -z "$as_dir" && as_dir=.
 
8468
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8469
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8470
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
8471
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8472
    break 2
 
8473
  fi
 
8474
done
 
8475
done
 
8476
 
 
8477
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
 
8478
fi
 
8479
fi
 
8480
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
8481
if test -n "$ac_ct_RANLIB"; then
 
8482
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
8483
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
8484
else
 
8485
  echo "$as_me:$LINENO: result: no" >&5
 
8486
echo "${ECHO_T}no" >&6
 
8487
fi
 
8488
 
 
8489
  RANLIB=$ac_ct_RANLIB
 
8490
else
 
8491
  RANLIB="$ac_cv_prog_RANLIB"
 
8492
fi
 
8493
 
 
8494
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
8495
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
 
8496
if test "${ac_cv_c_const+set}" = set; then
 
8497
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8498
else
 
8499
  cat >conftest.$ac_ext <<_ACEOF
 
8500
#line $LINENO "configure"
 
8501
#include "confdefs.h"
 
8502
 
 
8503
int
 
8504
main ()
 
8505
{
 
8506
/* FIXME: Include the comments suggested by Paul. */
 
8507
#ifndef __cplusplus
 
8508
  /* Ultrix mips cc rejects this.  */
 
8509
  typedef int charset[2];
 
8510
  const charset x;
 
8511
  /* SunOS 4.1.1 cc rejects this.  */
 
8512
  char const *const *ccp;
 
8513
  char **p;
 
8514
  /* NEC SVR4.0.2 mips cc rejects this.  */
 
8515
  struct point {int x, y;};
 
8516
  static struct point const zero = {0,0};
 
8517
  /* AIX XL C 1.02.0.0 rejects this.
 
8518
     It does not let you subtract one const X* pointer from another in
 
8519
     an arm of an if-expression whose if-part is not a constant
 
8520
     expression */
 
8521
  const char *g = "string";
 
8522
  ccp = &g + (g ? g-g : 0);
 
8523
  /* HPUX 7.0 cc rejects these. */
 
8524
  ++ccp;
 
8525
  p = (char**) ccp;
 
8526
  ccp = (char const *const *) p;
 
8527
  { /* SCO 3.2v4 cc rejects this.  */
 
8528
    char *t;
 
8529
    char const *s = 0 ? (char *) 0 : (char const *) 0;
 
8530
 
 
8531
    *t++ = 0;
 
8532
  }
 
8533
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 
8534
    int x[] = {25, 17};
 
8535
    const int *foo = &x[0];
 
8536
    ++foo;
 
8537
  }
 
8538
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 
8539
    typedef const int *iptr;
 
8540
    iptr p = 0;
 
8541
    ++p;
 
8542
  }
 
8543
  { /* AIX XL C 1.02.0.0 rejects this saying
 
8544
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 
8545
    struct s { int j; const int *ap[3]; };
 
8546
    struct s *b; b->j = 5;
 
8547
  }
 
8548
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 
8549
    const int foo = 10;
 
8550
  }
 
8551
#endif
 
8552
 
 
8553
  ;
 
8554
  return 0;
 
8555
}
 
8556
_ACEOF
 
8557
rm -f conftest.$ac_objext
 
8558
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
8559
  (eval $ac_compile) 2>&5
 
8560
  ac_status=$?
 
8561
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8562
  (exit $ac_status); } &&
 
8563
         { ac_try='test -s conftest.$ac_objext'
 
8564
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8565
  (eval $ac_try) 2>&5
 
8566
  ac_status=$?
 
8567
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8568
  (exit $ac_status); }; }; then
 
8569
  ac_cv_c_const=yes
 
8570
else
 
8571
  echo "$as_me: failed program was:" >&5
 
8572
cat conftest.$ac_ext >&5
 
8573
ac_cv_c_const=no
 
8574
fi
 
8575
rm -f conftest.$ac_objext conftest.$ac_ext
 
8576
fi
 
8577
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
8578
echo "${ECHO_T}$ac_cv_c_const" >&6
 
8579
if test $ac_cv_c_const = no; then
 
8580
 
 
8581
cat >>confdefs.h <<\_ACEOF
 
8582
#define const
 
8583
_ACEOF
 
8584
 
 
8585
fi
 
8586
 
 
8587
echo "$as_me:$LINENO: checking for inline" >&5
 
8588
echo $ECHO_N "checking for inline... $ECHO_C" >&6
 
8589
if test "${ac_cv_c_inline+set}" = set; then
 
8590
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8591
else
 
8592
  ac_cv_c_inline=no
 
8593
for ac_kw in inline __inline__ __inline; do
 
8594
  cat >conftest.$ac_ext <<_ACEOF
 
8595
#line $LINENO "configure"
 
8596
#include "confdefs.h"
 
8597
#ifndef __cplusplus
 
8598
typedef int foo_t;
 
8599
static $ac_kw foo_t static_foo () {return 0; }
 
8600
$ac_kw foo_t foo () {return 0; }
 
8601
#endif
 
8602
 
 
8603
_ACEOF
 
8604
rm -f conftest.$ac_objext
 
8605
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
8606
  (eval $ac_compile) 2>&5
 
8607
  ac_status=$?
 
8608
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8609
  (exit $ac_status); } &&
 
8610
         { ac_try='test -s conftest.$ac_objext'
 
8611
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8612
  (eval $ac_try) 2>&5
 
8613
  ac_status=$?
 
8614
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8615
  (exit $ac_status); }; }; then
 
8616
  ac_cv_c_inline=$ac_kw; break
 
8617
else
 
8618
  echo "$as_me: failed program was:" >&5
 
8619
cat conftest.$ac_ext >&5
 
8620
fi
 
8621
rm -f conftest.$ac_objext conftest.$ac_ext
 
8622
done
 
8623
 
 
8624
fi
 
8625
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 
8626
echo "${ECHO_T}$ac_cv_c_inline" >&6
 
8627
case $ac_cv_c_inline in
 
8628
  inline | yes) ;;
 
8629
  no)
 
8630
cat >>confdefs.h <<\_ACEOF
 
8631
#define inline
 
8632
_ACEOF
 
8633
 ;;
 
8634
  *)  cat >>confdefs.h <<_ACEOF
 
8635
#define inline $ac_cv_c_inline
 
8636
_ACEOF
 
8637
 ;;
 
8638
esac
 
8639
 
 
8640
echo "$as_me:$LINENO: checking for off_t" >&5
 
8641
echo $ECHO_N "checking for off_t... $ECHO_C" >&6
 
8642
if test "${ac_cv_type_off_t+set}" = set; then
 
8643
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8644
else
 
8645
  cat >conftest.$ac_ext <<_ACEOF
 
8646
#line $LINENO "configure"
 
8647
#include "confdefs.h"
 
8648
$ac_includes_default
 
8649
int
 
8650
main ()
 
8651
{
 
8652
if ((off_t *) 0)
 
8653
  return 0;
 
8654
if (sizeof (off_t))
 
8655
  return 0;
 
8656
  ;
 
8657
  return 0;
 
8658
}
 
8659
_ACEOF
 
8660
rm -f conftest.$ac_objext
 
8661
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
8662
  (eval $ac_compile) 2>&5
 
8663
  ac_status=$?
 
8664
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8665
  (exit $ac_status); } &&
 
8666
         { ac_try='test -s conftest.$ac_objext'
 
8667
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8668
  (eval $ac_try) 2>&5
 
8669
  ac_status=$?
 
8670
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8671
  (exit $ac_status); }; }; then
 
8672
  ac_cv_type_off_t=yes
 
8673
else
 
8674
  echo "$as_me: failed program was:" >&5
 
8675
cat conftest.$ac_ext >&5
 
8676
ac_cv_type_off_t=no
 
8677
fi
 
8678
rm -f conftest.$ac_objext conftest.$ac_ext
 
8679
fi
 
8680
echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
 
8681
echo "${ECHO_T}$ac_cv_type_off_t" >&6
 
8682
if test $ac_cv_type_off_t = yes; then
 
8683
  :
 
8684
else
 
8685
 
 
8686
cat >>confdefs.h <<_ACEOF
 
8687
#define off_t long
 
8688
_ACEOF
 
8689
 
 
8690
fi
 
8691
 
 
8692
echo "$as_me:$LINENO: checking for size_t" >&5
 
8693
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
 
8694
if test "${ac_cv_type_size_t+set}" = set; then
 
8695
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8696
else
 
8697
  cat >conftest.$ac_ext <<_ACEOF
 
8698
#line $LINENO "configure"
 
8699
#include "confdefs.h"
 
8700
$ac_includes_default
 
8701
int
 
8702
main ()
 
8703
{
 
8704
if ((size_t *) 0)
 
8705
  return 0;
 
8706
if (sizeof (size_t))
 
8707
  return 0;
 
8708
  ;
 
8709
  return 0;
 
8710
}
 
8711
_ACEOF
 
8712
rm -f conftest.$ac_objext
 
8713
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
8714
  (eval $ac_compile) 2>&5
 
8715
  ac_status=$?
 
8716
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8717
  (exit $ac_status); } &&
 
8718
         { ac_try='test -s conftest.$ac_objext'
 
8719
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8720
  (eval $ac_try) 2>&5
 
8721
  ac_status=$?
 
8722
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8723
  (exit $ac_status); }; }; then
 
8724
  ac_cv_type_size_t=yes
 
8725
else
 
8726
  echo "$as_me: failed program was:" >&5
 
8727
cat conftest.$ac_ext >&5
 
8728
ac_cv_type_size_t=no
 
8729
fi
 
8730
rm -f conftest.$ac_objext conftest.$ac_ext
 
8731
fi
 
8732
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
8733
echo "${ECHO_T}$ac_cv_type_size_t" >&6
 
8734
if test $ac_cv_type_size_t = yes; then
 
8735
  :
 
8736
else
 
8737
 
 
8738
cat >>confdefs.h <<_ACEOF
 
8739
#define size_t unsigned
 
8740
_ACEOF
 
8741
 
 
8742
fi
 
8743
 
 
8744
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
 
8745
# for constant arguments.  Useless!
 
8746
echo "$as_me:$LINENO: checking for working alloca.h" >&5
 
8747
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
 
8748
if test "${ac_cv_working_alloca_h+set}" = set; then
 
8749
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8750
else
 
8751
  cat >conftest.$ac_ext <<_ACEOF
 
8752
#line $LINENO "configure"
 
8753
#include "confdefs.h"
 
8754
#include <alloca.h>
 
8755
int
 
8756
main ()
 
8757
{
 
8758
char *p = (char *) alloca (2 * sizeof (int));
 
8759
  ;
 
8760
  return 0;
 
8761
}
 
8762
_ACEOF
 
8763
rm -f conftest.$ac_objext conftest$ac_exeext
 
8764
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
8765
  (eval $ac_link) 2>&5
 
8766
  ac_status=$?
 
8767
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8768
  (exit $ac_status); } &&
 
8769
         { ac_try='test -s conftest$ac_exeext'
 
8770
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8771
  (eval $ac_try) 2>&5
 
8772
  ac_status=$?
 
8773
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8774
  (exit $ac_status); }; }; then
 
8775
  ac_cv_working_alloca_h=yes
 
8776
else
 
8777
  echo "$as_me: failed program was:" >&5
 
8778
cat conftest.$ac_ext >&5
 
8779
ac_cv_working_alloca_h=no
 
8780
fi
 
8781
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
8782
fi
 
8783
echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
 
8784
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
 
8785
if test $ac_cv_working_alloca_h = yes; then
 
8786
 
 
8787
cat >>confdefs.h <<\_ACEOF
 
8788
#define HAVE_ALLOCA_H 1
 
8789
_ACEOF
 
8790
 
 
8791
fi
 
8792
 
 
8793
echo "$as_me:$LINENO: checking for alloca" >&5
 
8794
echo $ECHO_N "checking for alloca... $ECHO_C" >&6
 
8795
if test "${ac_cv_func_alloca_works+set}" = set; then
 
8796
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8797
else
 
8798
  cat >conftest.$ac_ext <<_ACEOF
 
8799
#line $LINENO "configure"
 
8800
#include "confdefs.h"
 
8801
#ifdef __GNUC__
 
8802
# define alloca __builtin_alloca
 
8803
#else
 
8804
# ifdef _MSC_VER
 
8805
#  include <malloc.h>
 
8806
#  define alloca _alloca
 
8807
# else
 
8808
#  if HAVE_ALLOCA_H
 
8809
#   include <alloca.h>
 
8810
#  else
 
8811
#   ifdef _AIX
 
8812
 #pragma alloca
 
8813
#   else
 
8814
#    ifndef alloca /* predefined by HP cc +Olibcalls */
 
8815
char *alloca ();
 
8816
#    endif
 
8817
#   endif
 
8818
#  endif
 
8819
# endif
 
8820
#endif
 
8821
 
 
8822
int
 
8823
main ()
 
8824
{
 
8825
char *p = (char *) alloca (1);
 
8826
  ;
 
8827
  return 0;
 
8828
}
 
8829
_ACEOF
 
8830
rm -f conftest.$ac_objext conftest$ac_exeext
 
8831
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
8832
  (eval $ac_link) 2>&5
 
8833
  ac_status=$?
 
8834
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8835
  (exit $ac_status); } &&
 
8836
         { ac_try='test -s conftest$ac_exeext'
 
8837
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8838
  (eval $ac_try) 2>&5
 
8839
  ac_status=$?
 
8840
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8841
  (exit $ac_status); }; }; then
 
8842
  ac_cv_func_alloca_works=yes
 
8843
else
 
8844
  echo "$as_me: failed program was:" >&5
 
8845
cat conftest.$ac_ext >&5
 
8846
ac_cv_func_alloca_works=no
 
8847
fi
 
8848
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
8849
fi
 
8850
echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
 
8851
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
 
8852
 
 
8853
if test $ac_cv_func_alloca_works = yes; then
 
8854
 
 
8855
cat >>confdefs.h <<\_ACEOF
 
8856
#define HAVE_ALLOCA 1
 
8857
_ACEOF
 
8858
 
 
8859
else
 
8860
  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
 
8861
# that cause trouble.  Some versions do not even contain alloca or
 
8862
# contain a buggy version.  If you still want to use their alloca,
 
8863
# use ar to extract alloca.o from them instead of compiling alloca.c.
 
8864
 
 
8865
ALLOCA=alloca.$ac_objext
 
8866
 
 
8867
cat >>confdefs.h <<\_ACEOF
 
8868
#define C_ALLOCA 1
 
8869
_ACEOF
 
8870
 
 
8871
 
 
8872
echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
 
8873
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
 
8874
if test "${ac_cv_os_cray+set}" = set; then
 
8875
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8876
else
 
8877
  cat >conftest.$ac_ext <<_ACEOF
 
8878
#line $LINENO "configure"
 
8879
#include "confdefs.h"
 
8880
#if defined(CRAY) && ! defined(CRAY2)
 
8881
webecray
 
8882
#else
 
8883
wenotbecray
 
8884
#endif
 
8885
 
 
8886
_ACEOF
 
8887
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
8888
  $EGREP "webecray" >/dev/null 2>&1; then
 
8889
  ac_cv_os_cray=yes
 
8890
else
 
8891
  ac_cv_os_cray=no
 
8892
fi
 
8893
rm -f conftest*
 
8894
 
 
8895
fi
 
8896
echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
 
8897
echo "${ECHO_T}$ac_cv_os_cray" >&6
 
8898
if test $ac_cv_os_cray = yes; then
 
8899
  for ac_func in _getb67 GETB67 getb67; do
 
8900
    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
8901
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
8902
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
8903
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
8904
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8905
else
 
8906
  cat >conftest.$ac_ext <<_ACEOF
 
8907
#line $LINENO "configure"
 
8908
#include "confdefs.h"
 
8909
/* System header to define __stub macros and hopefully few prototypes,
 
8910
    which can conflict with char $ac_func (); below.  */
 
8911
#include <assert.h>
 
8912
/* Override any gcc2 internal prototype to avoid an error.  */
 
8913
#ifdef __cplusplus
 
8914
extern "C"
 
8915
#endif
 
8916
/* We use char because int might match the return type of a gcc2
 
8917
   builtin and then its argument prototype would still apply.  */
 
8918
char $ac_func ();
 
8919
char (*f) ();
 
8920
 
 
8921
int
 
8922
main ()
 
8923
{
 
8924
/* The GNU C library defines this for functions which it implements
 
8925
    to always fail with ENOSYS.  Some functions are actually named
 
8926
    something starting with __ and the normal name is an alias.  */
 
8927
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
8928
choke me
 
8929
#else
 
8930
f = $ac_func;
 
8931
#endif
 
8932
 
 
8933
  ;
 
8934
  return 0;
 
8935
}
 
8936
_ACEOF
 
8937
rm -f conftest.$ac_objext conftest$ac_exeext
 
8938
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
8939
  (eval $ac_link) 2>&5
 
8940
  ac_status=$?
 
8941
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8942
  (exit $ac_status); } &&
 
8943
         { ac_try='test -s conftest$ac_exeext'
 
8944
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8945
  (eval $ac_try) 2>&5
 
8946
  ac_status=$?
 
8947
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8948
  (exit $ac_status); }; }; then
 
8949
  eval "$as_ac_var=yes"
 
8950
else
 
8951
  echo "$as_me: failed program was:" >&5
 
8952
cat conftest.$ac_ext >&5
 
8953
eval "$as_ac_var=no"
 
8954
fi
 
8955
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
8956
fi
 
8957
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
8958
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
8959
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
8960
 
 
8961
cat >>confdefs.h <<_ACEOF
 
8962
#define CRAY_STACKSEG_END $ac_func
 
8963
_ACEOF
 
8964
 
 
8965
    break
 
8966
fi
 
8967
 
 
8968
  done
 
8969
fi
 
8970
 
 
8971
echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
 
8972
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
 
8973
if test "${ac_cv_c_stack_direction+set}" = set; then
 
8974
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8975
else
 
8976
  if test "$cross_compiling" = yes; then
 
8977
  ac_cv_c_stack_direction=0
 
8978
else
 
8979
  cat >conftest.$ac_ext <<_ACEOF
 
8980
#line $LINENO "configure"
 
8981
#include "confdefs.h"
 
8982
int
 
8983
find_stack_direction ()
 
8984
{
 
8985
  static char *addr = 0;
 
8986
  auto char dummy;
 
8987
  if (addr == 0)
 
8988
    {
 
8989
      addr = &dummy;
 
8990
      return find_stack_direction ();
 
8991
    }
 
8992
  else
 
8993
    return (&dummy > addr) ? 1 : -1;
 
8994
}
 
8995
 
 
8996
int
 
8997
main ()
 
8998
{
 
8999
  exit (find_stack_direction () < 0);
 
9000
}
 
9001
_ACEOF
 
9002
rm -f conftest$ac_exeext
 
9003
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
9004
  (eval $ac_link) 2>&5
 
9005
  ac_status=$?
 
9006
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9007
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
9008
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9009
  (eval $ac_try) 2>&5
 
9010
  ac_status=$?
 
9011
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9012
  (exit $ac_status); }; }; then
 
9013
  ac_cv_c_stack_direction=1
 
9014
else
 
9015
  echo "$as_me: program exited with status $ac_status" >&5
 
9016
echo "$as_me: failed program was:" >&5
 
9017
cat conftest.$ac_ext >&5
 
9018
( exit $ac_status )
 
9019
ac_cv_c_stack_direction=-1
 
9020
fi
 
9021
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
9022
fi
 
9023
fi
 
9024
echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
 
9025
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
 
9026
 
 
9027
cat >>confdefs.h <<_ACEOF
 
9028
#define STACK_DIRECTION $ac_cv_c_stack_direction
 
9029
_ACEOF
 
9030
 
 
9031
 
 
9032
fi
 
9033
 
 
9034
 
 
9035
 
 
9036
for ac_header in stdlib.h unistd.h
 
9037
do
 
9038
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
9039
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
9040
  echo "$as_me:$LINENO: checking for $ac_header" >&5
 
9041
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
9042
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
9043
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9044
fi
 
9045
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
9046
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
9047
else
 
9048
  # Is the header compilable?
 
9049
echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
9050
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
9051
cat >conftest.$ac_ext <<_ACEOF
 
9052
#line $LINENO "configure"
 
9053
#include "confdefs.h"
 
9054
$ac_includes_default
 
9055
#include <$ac_header>
 
9056
_ACEOF
 
9057
rm -f conftest.$ac_objext
 
9058
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
9059
  (eval $ac_compile) 2>&5
 
9060
  ac_status=$?
 
9061
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9062
  (exit $ac_status); } &&
 
9063
         { ac_try='test -s conftest.$ac_objext'
 
9064
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9065
  (eval $ac_try) 2>&5
 
9066
  ac_status=$?
 
9067
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9068
  (exit $ac_status); }; }; then
 
9069
  ac_header_compiler=yes
 
9070
else
 
9071
  echo "$as_me: failed program was:" >&5
 
9072
cat conftest.$ac_ext >&5
 
9073
ac_header_compiler=no
 
9074
fi
 
9075
rm -f conftest.$ac_objext conftest.$ac_ext
 
9076
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
9077
echo "${ECHO_T}$ac_header_compiler" >&6
 
9078
 
 
9079
# Is the header present?
 
9080
echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
9081
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
9082
cat >conftest.$ac_ext <<_ACEOF
 
9083
#line $LINENO "configure"
 
9084
#include "confdefs.h"
 
9085
#include <$ac_header>
 
9086
_ACEOF
 
9087
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
9088
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
9089
  ac_status=$?
 
9090
  grep -v '^ *+' conftest.er1 >conftest.err
 
9091
  rm -f conftest.er1
 
9092
  cat conftest.err >&5
 
9093
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9094
  (exit $ac_status); } >/dev/null; then
 
9095
  if test -s conftest.err; then
 
9096
    ac_cpp_err=$ac_c_preproc_warn_flag
 
9097
  else
 
9098
    ac_cpp_err=
 
9099
  fi
 
9100
else
 
9101
  ac_cpp_err=yes
 
9102
fi
 
9103
if test -z "$ac_cpp_err"; then
 
9104
  ac_header_preproc=yes
 
9105
else
 
9106
  echo "$as_me: failed program was:" >&5
 
9107
  cat conftest.$ac_ext >&5
 
9108
  ac_header_preproc=no
 
9109
fi
 
9110
rm -f conftest.err conftest.$ac_ext
 
9111
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
9112
echo "${ECHO_T}$ac_header_preproc" >&6
 
9113
 
 
9114
# So?  What about this header?
 
9115
case $ac_header_compiler:$ac_header_preproc in
 
9116
  yes:no )
 
9117
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
9118
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
9119
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
9120
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
 
9121
  no:yes )
 
9122
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
9123
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
9124
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
 
9125
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
9126
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
9127
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
 
9128
esac
 
9129
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
9130
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
9131
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
9132
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9133
else
 
9134
  eval "$as_ac_Header=$ac_header_preproc"
 
9135
fi
 
9136
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
9137
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
9138
 
 
9139
fi
 
9140
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
9141
  cat >>confdefs.h <<_ACEOF
 
9142
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
9143
_ACEOF
 
9144
 
 
9145
fi
 
9146
 
 
9147
done
 
9148
 
 
9149
 
 
9150
for ac_func in getpagesize
 
9151
do
 
9152
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
9153
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
9154
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
9155
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
9156
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9157
else
 
9158
  cat >conftest.$ac_ext <<_ACEOF
 
9159
#line $LINENO "configure"
 
9160
#include "confdefs.h"
 
9161
/* System header to define __stub macros and hopefully few prototypes,
 
9162
    which can conflict with char $ac_func (); below.  */
 
9163
#include <assert.h>
 
9164
/* Override any gcc2 internal prototype to avoid an error.  */
 
9165
#ifdef __cplusplus
 
9166
extern "C"
 
9167
#endif
 
9168
/* We use char because int might match the return type of a gcc2
 
9169
   builtin and then its argument prototype would still apply.  */
 
9170
char $ac_func ();
 
9171
char (*f) ();
 
9172
 
 
9173
int
 
9174
main ()
 
9175
{
 
9176
/* The GNU C library defines this for functions which it implements
 
9177
    to always fail with ENOSYS.  Some functions are actually named
 
9178
    something starting with __ and the normal name is an alias.  */
 
9179
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
9180
choke me
 
9181
#else
 
9182
f = $ac_func;
 
9183
#endif
 
9184
 
 
9185
  ;
 
9186
  return 0;
 
9187
}
 
9188
_ACEOF
 
9189
rm -f conftest.$ac_objext conftest$ac_exeext
 
9190
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
9191
  (eval $ac_link) 2>&5
 
9192
  ac_status=$?
 
9193
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9194
  (exit $ac_status); } &&
 
9195
         { ac_try='test -s conftest$ac_exeext'
 
9196
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9197
  (eval $ac_try) 2>&5
 
9198
  ac_status=$?
 
9199
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9200
  (exit $ac_status); }; }; then
 
9201
  eval "$as_ac_var=yes"
 
9202
else
 
9203
  echo "$as_me: failed program was:" >&5
 
9204
cat conftest.$ac_ext >&5
 
9205
eval "$as_ac_var=no"
 
9206
fi
 
9207
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
9208
fi
 
9209
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
9210
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
9211
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
9212
  cat >>confdefs.h <<_ACEOF
 
9213
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
9214
_ACEOF
 
9215
 
 
9216
fi
 
9217
done
 
9218
 
 
9219
echo "$as_me:$LINENO: checking for working mmap" >&5
 
9220
echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
 
9221
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
 
9222
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9223
else
 
9224
  if test "$cross_compiling" = yes; then
 
9225
  ac_cv_func_mmap_fixed_mapped=no
 
9226
else
 
9227
  cat >conftest.$ac_ext <<_ACEOF
 
9228
#line $LINENO "configure"
 
9229
#include "confdefs.h"
 
9230
$ac_includes_default
 
9231
/* malloc might have been renamed as rpl_malloc. */
 
9232
#undef malloc
 
9233
 
 
9234
/* Thanks to Mike Haertel and Jim Avera for this test.
 
9235
   Here is a matrix of mmap possibilities:
 
9236
        mmap private not fixed
 
9237
        mmap private fixed at somewhere currently unmapped
 
9238
        mmap private fixed at somewhere already mapped
 
9239
        mmap shared not fixed
 
9240
        mmap shared fixed at somewhere currently unmapped
 
9241
        mmap shared fixed at somewhere already mapped
 
9242
   For private mappings, we should verify that changes cannot be read()
 
9243
   back from the file, nor mmap's back from the file at a different
 
9244
   address.  (There have been systems where private was not correctly
 
9245
   implemented like the infamous i386 svr4.0, and systems where the
 
9246
   VM page cache was not coherent with the file system buffer cache
 
9247
   like early versions of FreeBSD and possibly contemporary NetBSD.)
 
9248
   For shared mappings, we should conversely verify that changes get
 
9249
   propagated back to all the places they're supposed to be.
 
9250
 
 
9251
   Grep wants private fixed already mapped.
 
9252
   The main things grep needs to know about mmap are:
 
9253
   * does it exist and is it safe to write into the mmap'd area
 
9254
   * how to use it (BSD variants)  */
 
9255
 
 
9256
#include <fcntl.h>
 
9257
#include <sys/mman.h>
 
9258
 
 
9259
#if !STDC_HEADERS && !HAVE_STDLIB_H
 
9260
char *malloc ();
 
9261
#endif
 
9262
 
 
9263
/* This mess was copied from the GNU getpagesize.h.  */
 
9264
#if !HAVE_GETPAGESIZE
 
9265
/* Assume that all systems that can run configure have sys/param.h.  */
 
9266
# if !HAVE_SYS_PARAM_H
 
9267
#  define HAVE_SYS_PARAM_H 1
 
9268
# endif
 
9269
 
 
9270
# ifdef _SC_PAGESIZE
 
9271
#  define getpagesize() sysconf(_SC_PAGESIZE)
 
9272
# else /* no _SC_PAGESIZE */
 
9273
#  if HAVE_SYS_PARAM_H
 
9274
#   include <sys/param.h>
 
9275
#   ifdef EXEC_PAGESIZE
 
9276
#    define getpagesize() EXEC_PAGESIZE
 
9277
#   else /* no EXEC_PAGESIZE */
 
9278
#    ifdef NBPG
 
9279
#     define getpagesize() NBPG * CLSIZE
 
9280
#     ifndef CLSIZE
 
9281
#      define CLSIZE 1
 
9282
#     endif /* no CLSIZE */
 
9283
#    else /* no NBPG */
 
9284
#     ifdef NBPC
 
9285
#      define getpagesize() NBPC
 
9286
#     else /* no NBPC */
 
9287
#      ifdef PAGESIZE
 
9288
#       define getpagesize() PAGESIZE
 
9289
#      endif /* PAGESIZE */
 
9290
#     endif /* no NBPC */
 
9291
#    endif /* no NBPG */
 
9292
#   endif /* no EXEC_PAGESIZE */
 
9293
#  else /* no HAVE_SYS_PARAM_H */
 
9294
#   define getpagesize() 8192   /* punt totally */
 
9295
#  endif /* no HAVE_SYS_PARAM_H */
 
9296
# endif /* no _SC_PAGESIZE */
 
9297
 
 
9298
#endif /* no HAVE_GETPAGESIZE */
 
9299
 
 
9300
int
 
9301
main ()
 
9302
{
 
9303
  char *data, *data2, *data3;
 
9304
  int i, pagesize;
 
9305
  int fd;
 
9306
 
 
9307
  pagesize = getpagesize ();
 
9308
 
 
9309
  /* First, make a file with some known garbage in it. */
 
9310
  data = (char *) malloc (pagesize);
 
9311
  if (!data)
 
9312
    exit (1);
 
9313
  for (i = 0; i < pagesize; ++i)
 
9314
    *(data + i) = rand ();
 
9315
  umask (0);
 
9316
  fd = creat ("conftest.mmap", 0600);
 
9317
  if (fd < 0)
 
9318
    exit (1);
 
9319
  if (write (fd, data, pagesize) != pagesize)
 
9320
    exit (1);
 
9321
  close (fd);
 
9322
 
 
9323
  /* Next, try to mmap the file at a fixed address which already has
 
9324
     something else allocated at it.  If we can, also make sure that
 
9325
     we see the same garbage.  */
 
9326
  fd = open ("conftest.mmap", O_RDWR);
 
9327
  if (fd < 0)
 
9328
    exit (1);
 
9329
  data2 = (char *) malloc (2 * pagesize);
 
9330
  if (!data2)
 
9331
    exit (1);
 
9332
  data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
 
9333
  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
 
9334
                     MAP_PRIVATE | MAP_FIXED, fd, 0L))
 
9335
    exit (1);
 
9336
  for (i = 0; i < pagesize; ++i)
 
9337
    if (*(data + i) != *(data2 + i))
 
9338
      exit (1);
 
9339
 
 
9340
  /* Finally, make sure that changes to the mapped area do not
 
9341
     percolate back to the file as seen by read().  (This is a bug on
 
9342
     some variants of i386 svr4.0.)  */
 
9343
  for (i = 0; i < pagesize; ++i)
 
9344
    *(data2 + i) = *(data2 + i) + 1;
 
9345
  data3 = (char *) malloc (pagesize);
 
9346
  if (!data3)
 
9347
    exit (1);
 
9348
  if (read (fd, data3, pagesize) != pagesize)
 
9349
    exit (1);
 
9350
  for (i = 0; i < pagesize; ++i)
 
9351
    if (*(data + i) != *(data3 + i))
 
9352
      exit (1);
 
9353
  close (fd);
 
9354
  exit (0);
 
9355
}
 
9356
_ACEOF
 
9357
rm -f conftest$ac_exeext
 
9358
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
9359
  (eval $ac_link) 2>&5
 
9360
  ac_status=$?
 
9361
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9362
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
9363
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9364
  (eval $ac_try) 2>&5
 
9365
  ac_status=$?
 
9366
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9367
  (exit $ac_status); }; }; then
 
9368
  ac_cv_func_mmap_fixed_mapped=yes
 
9369
else
 
9370
  echo "$as_me: program exited with status $ac_status" >&5
 
9371
echo "$as_me: failed program was:" >&5
 
9372
cat conftest.$ac_ext >&5
 
9373
( exit $ac_status )
 
9374
ac_cv_func_mmap_fixed_mapped=no
 
9375
fi
 
9376
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
9377
fi
 
9378
fi
 
9379
echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
 
9380
echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
 
9381
if test $ac_cv_func_mmap_fixed_mapped = yes; then
 
9382
 
 
9383
cat >>confdefs.h <<\_ACEOF
 
9384
#define HAVE_MMAP 1
 
9385
_ACEOF
 
9386
 
 
9387
fi
 
9388
rm -f conftest.mmap
 
9389
 
 
9390
 
 
9391
    echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
 
9392
echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
 
9393
if test "${ac_cv_gnu_library_2_1+set}" = set; then
 
9394
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9395
else
 
9396
  cat >conftest.$ac_ext <<_ACEOF
 
9397
#line $LINENO "configure"
 
9398
#include "confdefs.h"
 
9399
 
 
9400
#include <features.h>
 
9401
#ifdef __GNU_LIBRARY__
 
9402
 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
 
9403
  Lucky GNU user
 
9404
 #endif
 
9405
#endif
 
9406
 
 
9407
_ACEOF
 
9408
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
9409
  $EGREP "Lucky GNU user" >/dev/null 2>&1; then
 
9410
  ac_cv_gnu_library_2_1=yes
 
9411
else
 
9412
  ac_cv_gnu_library_2_1=no
 
9413
fi
 
9414
rm -f conftest*
 
9415
 
 
9416
 
 
9417
 
 
9418
fi
 
9419
echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
 
9420
echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
 
9421
 
 
9422
    GLIBC21="$ac_cv_gnu_library_2_1"
 
9423
 
 
9424
 
 
9425
 
 
9426
 
 
9427
  echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
 
9428
echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6
 
9429
if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
 
9430
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9431
else
 
9432
 
 
9433
      if test "$cross_compiling" = yes; then
 
9434
 
 
9435
          # Guess based on the CPU.
 
9436
          case "$host_cpu" in
 
9437
            alpha* | i3456786 | m68k | s390*)
 
9438
              gt_cv_int_divbyzero_sigfpe="guessing yes";;
 
9439
            *)
 
9440
              gt_cv_int_divbyzero_sigfpe="guessing no";;
 
9441
          esac
 
9442
 
 
9443
else
 
9444
  cat >conftest.$ac_ext <<_ACEOF
 
9445
#line $LINENO "configure"
 
9446
#include "confdefs.h"
 
9447
 
 
9448
#include <stdlib.h>
 
9449
#include <signal.h>
 
9450
 
 
9451
static void
 
9452
#ifdef __cplusplus
 
9453
sigfpe_handler (int sig)
 
9454
#else
 
9455
sigfpe_handler (sig) int sig;
 
9456
#endif
 
9457
{
 
9458
  /* Exit with code 0 if SIGFPE, with code 1 if any other signal.  */
 
9459
  exit (sig != SIGFPE);
 
9460
}
 
9461
 
 
9462
int x = 1;
 
9463
int y = 0;
 
9464
int z;
 
9465
int nan;
 
9466
 
 
9467
int main ()
 
9468
{
 
9469
  signal (SIGFPE, sigfpe_handler);
 
9470
/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP.  */
 
9471
#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
 
9472
  signal (SIGTRAP, sigfpe_handler);
 
9473
#endif
 
9474
/* Linux/SPARC yields signal SIGILL.  */
 
9475
#if defined (__sparc__) && defined (__linux__)
 
9476
  signal (SIGILL, sigfpe_handler);
 
9477
#endif
 
9478
 
 
9479
  z = x / y;
 
9480
  nan = y / y;
 
9481
  exit (1);
 
9482
}
 
9483
 
 
9484
_ACEOF
 
9485
rm -f conftest$ac_exeext
 
9486
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
9487
  (eval $ac_link) 2>&5
 
9488
  ac_status=$?
 
9489
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9490
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
9491
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9492
  (eval $ac_try) 2>&5
 
9493
  ac_status=$?
 
9494
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9495
  (exit $ac_status); }; }; then
 
9496
  gt_cv_int_divbyzero_sigfpe=yes
 
9497
else
 
9498
  echo "$as_me: program exited with status $ac_status" >&5
 
9499
echo "$as_me: failed program was:" >&5
 
9500
cat conftest.$ac_ext >&5
 
9501
( exit $ac_status )
 
9502
gt_cv_int_divbyzero_sigfpe=no
 
9503
fi
 
9504
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
9505
fi
 
9506
 
 
9507
fi
 
9508
echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
 
9509
echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6
 
9510
  case "$gt_cv_int_divbyzero_sigfpe" in
 
9511
    *yes) value=1;;
 
9512
    *) value=0;;
 
9513
  esac
 
9514
 
 
9515
cat >>confdefs.h <<_ACEOF
 
9516
#define INTDIV0_RAISES_SIGFPE $value
 
9517
_ACEOF
 
9518
 
 
9519
 
 
9520
 
 
9521
  echo "$as_me:$LINENO: checking for inttypes.h" >&5
 
9522
echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
 
9523
if test "${jm_ac_cv_header_inttypes_h+set}" = set; then
 
9524
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9525
else
 
9526
  cat >conftest.$ac_ext <<_ACEOF
 
9527
#line $LINENO "configure"
 
9528
#include "confdefs.h"
 
9529
#include <sys/types.h>
 
9530
#include <inttypes.h>
 
9531
int
 
9532
main ()
 
9533
{
 
9534
uintmax_t i = (uintmax_t) -1;
 
9535
  ;
 
9536
  return 0;
 
9537
}
 
9538
_ACEOF
 
9539
rm -f conftest.$ac_objext
 
9540
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
9541
  (eval $ac_compile) 2>&5
 
9542
  ac_status=$?
 
9543
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9544
  (exit $ac_status); } &&
 
9545
         { ac_try='test -s conftest.$ac_objext'
 
9546
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9547
  (eval $ac_try) 2>&5
 
9548
  ac_status=$?
 
9549
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9550
  (exit $ac_status); }; }; then
 
9551
  jm_ac_cv_header_inttypes_h=yes
 
9552
else
 
9553
  echo "$as_me: failed program was:" >&5
 
9554
cat conftest.$ac_ext >&5
 
9555
jm_ac_cv_header_inttypes_h=no
 
9556
fi
 
9557
rm -f conftest.$ac_objext conftest.$ac_ext
 
9558
fi
 
9559
echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
 
9560
echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6
 
9561
  if test $jm_ac_cv_header_inttypes_h = yes; then
 
9562
 
 
9563
cat >>confdefs.h <<_ACEOF
 
9564
#define HAVE_INTTYPES_H_WITH_UINTMAX 1
 
9565
_ACEOF
 
9566
 
 
9567
  fi
 
9568
 
 
9569
 
 
9570
  echo "$as_me:$LINENO: checking for stdint.h" >&5
 
9571
echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
 
9572
if test "${jm_ac_cv_header_stdint_h+set}" = set; then
 
9573
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9574
else
 
9575
  cat >conftest.$ac_ext <<_ACEOF
 
9576
#line $LINENO "configure"
 
9577
#include "confdefs.h"
 
9578
#include <sys/types.h>
 
9579
#include <stdint.h>
 
9580
int
 
9581
main ()
 
9582
{
 
9583
uintmax_t i = (uintmax_t) -1;
 
9584
  ;
 
9585
  return 0;
 
9586
}
 
9587
_ACEOF
 
9588
rm -f conftest.$ac_objext
 
9589
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
9590
  (eval $ac_compile) 2>&5
 
9591
  ac_status=$?
 
9592
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9593
  (exit $ac_status); } &&
 
9594
         { ac_try='test -s conftest.$ac_objext'
 
9595
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9596
  (eval $ac_try) 2>&5
 
9597
  ac_status=$?
 
9598
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9599
  (exit $ac_status); }; }; then
 
9600
  jm_ac_cv_header_stdint_h=yes
 
9601
else
 
9602
  echo "$as_me: failed program was:" >&5
 
9603
cat conftest.$ac_ext >&5
 
9604
jm_ac_cv_header_stdint_h=no
 
9605
fi
 
9606
rm -f conftest.$ac_objext conftest.$ac_ext
 
9607
fi
 
9608
echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5
 
9609
echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6
 
9610
  if test $jm_ac_cv_header_stdint_h = yes; then
 
9611
 
 
9612
cat >>confdefs.h <<_ACEOF
 
9613
#define HAVE_STDINT_H_WITH_UINTMAX 1
 
9614
_ACEOF
 
9615
 
 
9616
  fi
 
9617
 
 
9618
 
 
9619
  echo "$as_me:$LINENO: checking for unsigned long long" >&5
 
9620
echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
 
9621
if test "${ac_cv_type_unsigned_long_long+set}" = set; then
 
9622
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9623
else
 
9624
  cat >conftest.$ac_ext <<_ACEOF
 
9625
#line $LINENO "configure"
 
9626
#include "confdefs.h"
 
9627
unsigned long long ull = 1; int i = 63;
 
9628
int
 
9629
main ()
 
9630
{
 
9631
unsigned long long ullmax = (unsigned long long) -1;
 
9632
     return ull << i | ull >> i | ullmax / ull | ullmax % ull;
 
9633
  ;
 
9634
  return 0;
 
9635
}
 
9636
_ACEOF
 
9637
rm -f conftest.$ac_objext conftest$ac_exeext
 
9638
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
9639
  (eval $ac_link) 2>&5
 
9640
  ac_status=$?
 
9641
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9642
  (exit $ac_status); } &&
 
9643
         { ac_try='test -s conftest$ac_exeext'
 
9644
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9645
  (eval $ac_try) 2>&5
 
9646
  ac_status=$?
 
9647
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9648
  (exit $ac_status); }; }; then
 
9649
  ac_cv_type_unsigned_long_long=yes
 
9650
else
 
9651
  echo "$as_me: failed program was:" >&5
 
9652
cat conftest.$ac_ext >&5
 
9653
ac_cv_type_unsigned_long_long=no
 
9654
fi
 
9655
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
9656
fi
 
9657
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
 
9658
echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
 
9659
  if test $ac_cv_type_unsigned_long_long = yes; then
 
9660
 
 
9661
cat >>confdefs.h <<\_ACEOF
 
9662
#define HAVE_UNSIGNED_LONG_LONG 1
 
9663
_ACEOF
 
9664
 
 
9665
  fi
 
9666
 
 
9667
 
 
9668
 
 
9669
 
 
9670
  if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then
 
9671
 
 
9672
    test $ac_cv_type_unsigned_long_long = yes \
 
9673
      && ac_type='unsigned long long' \
 
9674
      || ac_type='unsigned long'
 
9675
 
 
9676
cat >>confdefs.h <<_ACEOF
 
9677
#define uintmax_t $ac_type
 
9678
_ACEOF
 
9679
 
 
9680
  fi
 
9681
 
 
9682
 
 
9683
  echo "$as_me:$LINENO: checking for inttypes.h" >&5
 
9684
echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
 
9685
if test "${gt_cv_header_inttypes_h+set}" = set; then
 
9686
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9687
else
 
9688
 
 
9689
    cat >conftest.$ac_ext <<_ACEOF
 
9690
#line $LINENO "configure"
 
9691
#include "confdefs.h"
 
9692
#include <sys/types.h>
 
9693
#include <inttypes.h>
 
9694
int
 
9695
main ()
 
9696
{
 
9697
 
 
9698
  ;
 
9699
  return 0;
 
9700
}
 
9701
_ACEOF
 
9702
rm -f conftest.$ac_objext
 
9703
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
9704
  (eval $ac_compile) 2>&5
 
9705
  ac_status=$?
 
9706
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9707
  (exit $ac_status); } &&
 
9708
         { ac_try='test -s conftest.$ac_objext'
 
9709
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9710
  (eval $ac_try) 2>&5
 
9711
  ac_status=$?
 
9712
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9713
  (exit $ac_status); }; }; then
 
9714
  gt_cv_header_inttypes_h=yes
 
9715
else
 
9716
  echo "$as_me: failed program was:" >&5
 
9717
cat conftest.$ac_ext >&5
 
9718
gt_cv_header_inttypes_h=no
 
9719
fi
 
9720
rm -f conftest.$ac_objext conftest.$ac_ext
 
9721
 
 
9722
fi
 
9723
echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
 
9724
echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6
 
9725
  if test $gt_cv_header_inttypes_h = yes; then
 
9726
 
 
9727
cat >>confdefs.h <<_ACEOF
 
9728
#define HAVE_INTTYPES_H 1
 
9729
_ACEOF
 
9730
 
 
9731
  fi
 
9732
 
 
9733
 
 
9734
 
 
9735
  if test $gt_cv_header_inttypes_h = yes; then
 
9736
    echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
 
9737
echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6
 
9738
if test "${gt_cv_inttypes_pri_broken+set}" = set; then
 
9739
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9740
else
 
9741
 
 
9742
        cat >conftest.$ac_ext <<_ACEOF
 
9743
#line $LINENO "configure"
 
9744
#include "confdefs.h"
 
9745
#include <inttypes.h>
 
9746
#ifdef PRId32
 
9747
char *p = PRId32;
 
9748
#endif
 
9749
 
 
9750
int
 
9751
main ()
 
9752
{
 
9753
 
 
9754
  ;
 
9755
  return 0;
 
9756
}
 
9757
_ACEOF
 
9758
rm -f conftest.$ac_objext
 
9759
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
9760
  (eval $ac_compile) 2>&5
 
9761
  ac_status=$?
 
9762
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9763
  (exit $ac_status); } &&
 
9764
         { ac_try='test -s conftest.$ac_objext'
 
9765
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9766
  (eval $ac_try) 2>&5
 
9767
  ac_status=$?
 
9768
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9769
  (exit $ac_status); }; }; then
 
9770
  gt_cv_inttypes_pri_broken=no
 
9771
else
 
9772
  echo "$as_me: failed program was:" >&5
 
9773
cat conftest.$ac_ext >&5
 
9774
gt_cv_inttypes_pri_broken=yes
 
9775
fi
 
9776
rm -f conftest.$ac_objext conftest.$ac_ext
 
9777
 
 
9778
fi
 
9779
echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
 
9780
echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
 
9781
  fi
 
9782
  if test "$gt_cv_inttypes_pri_broken" = yes; then
 
9783
 
 
9784
cat >>confdefs.h <<_ACEOF
 
9785
#define PRI_MACROS_BROKEN 1
 
9786
_ACEOF
 
9787
 
 
9788
  fi
 
9789
 
 
9790
 
 
9791
      if test "X$prefix" = "XNONE"; then
 
9792
    acl_final_prefix="$ac_default_prefix"
 
9793
  else
 
9794
    acl_final_prefix="$prefix"
 
9795
  fi
 
9796
  if test "X$exec_prefix" = "XNONE"; then
 
9797
    acl_final_exec_prefix='${prefix}'
 
9798
  else
 
9799
    acl_final_exec_prefix="$exec_prefix"
 
9800
  fi
 
9801
  acl_save_prefix="$prefix"
 
9802
  prefix="$acl_final_prefix"
 
9803
  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
 
9804
  prefix="$acl_save_prefix"
 
9805
 
 
9806
 
 
9807
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
9808
if test "${with_gnu_ld+set}" = set; then
 
9809
  withval="$with_gnu_ld"
 
9810
  test "$withval" = no || with_gnu_ld=yes
 
9811
else
 
9812
  with_gnu_ld=no
 
9813
fi;
 
9814
ac_prog=ld
 
9815
if test "$GCC" = yes; then
 
9816
  # Check if gcc -print-prog-name=ld gives a path.
 
9817
  echo "$as_me:$LINENO: checking for ld used by GCC" >&5
 
9818
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
 
9819
  case $host in
 
9820
  *-*-mingw*)
 
9821
    # gcc leaves a trailing carriage return which upsets mingw
 
9822
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
9823
  *)
 
9824
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
9825
  esac
 
9826
  case $ac_prog in
 
9827
    # Accept absolute paths.
 
9828
    [\\/]* | [A-Za-z]:[\\/]*)
 
9829
      re_direlt='/[^/][^/]*/\.\./'
 
9830
      # Canonicalize the path of ld
 
9831
      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
 
9832
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 
9833
        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
 
9834
      done
 
9835
      test -z "$LD" && LD="$ac_prog"
 
9836
      ;;
 
9837
  "")
 
9838
    # If it fails, then pretend we aren't using GCC.
 
9839
    ac_prog=ld
 
9840
    ;;
 
9841
  *)
 
9842
    # If it is relative, then search for the first ld in PATH.
 
9843
    with_gnu_ld=unknown
 
9844
    ;;
 
9845
  esac
 
9846
elif test "$with_gnu_ld" = yes; then
 
9847
  echo "$as_me:$LINENO: checking for GNU ld" >&5
 
9848
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
9849
else
 
9850
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
9851
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
9852
fi
 
9853
if test "${acl_cv_path_LD+set}" = set; then
 
9854
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9855
else
 
9856
  if test -z "$LD"; then
 
9857
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
 
9858
  for ac_dir in $PATH; do
 
9859
    test -z "$ac_dir" && ac_dir=.
 
9860
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
9861
      acl_cv_path_LD="$ac_dir/$ac_prog"
 
9862
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
9863
      # but apparently some GNU ld's only accept -v.
 
9864
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
9865
      if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
 
9866
        test "$with_gnu_ld" != no && break
 
9867
      else
 
9868
        test "$with_gnu_ld" != yes && break
 
9869
      fi
 
9870
    fi
 
9871
  done
 
9872
  IFS="$ac_save_ifs"
 
9873
else
 
9874
  acl_cv_path_LD="$LD" # Let the user override the test with a path.
 
9875
fi
 
9876
fi
 
9877
 
 
9878
LD="$acl_cv_path_LD"
 
9879
if test -n "$LD"; then
 
9880
  echo "$as_me:$LINENO: result: $LD" >&5
 
9881
echo "${ECHO_T}$LD" >&6
 
9882
else
 
9883
  echo "$as_me:$LINENO: result: no" >&5
 
9884
echo "${ECHO_T}no" >&6
 
9885
fi
 
9886
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
9887
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
9888
   { (exit 1); exit 1; }; }
 
9889
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
9890
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
9891
if test "${acl_cv_prog_gnu_ld+set}" = set; then
 
9892
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9893
else
 
9894
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
9895
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
 
9896
  acl_cv_prog_gnu_ld=yes
 
9897
else
 
9898
  acl_cv_prog_gnu_ld=no
 
9899
fi
 
9900
fi
 
9901
echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
 
9902
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
 
9903
with_gnu_ld=$acl_cv_prog_gnu_ld
 
9904
 
 
9905
 
 
9906
 
 
9907
                                                echo "$as_me:$LINENO: checking for shared library run path origin" >&5
 
9908
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
 
9909
if test "${acl_cv_rpath+set}" = set; then
 
9910
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9911
else
 
9912
 
 
9913
    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
 
9914
    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
 
9915
    . ./conftest.sh
 
9916
    rm -f ./conftest.sh
 
9917
    acl_cv_rpath=done
 
9918
 
 
9919
fi
 
9920
echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
 
9921
echo "${ECHO_T}$acl_cv_rpath" >&6
 
9922
  wl="$acl_cv_wl"
 
9923
  libext="$acl_cv_libext"
 
9924
  shlibext="$acl_cv_shlibext"
 
9925
  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
 
9926
  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
 
9927
  hardcode_direct="$acl_cv_hardcode_direct"
 
9928
  hardcode_minus_L="$acl_cv_hardcode_minus_L"
 
9929
  sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec"
 
9930
  sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec"
 
9931
    # Check whether --enable-rpath or --disable-rpath was given.
 
9932
if test "${enable_rpath+set}" = set; then
 
9933
  enableval="$enable_rpath"
 
9934
  :
 
9935
else
 
9936
  enable_rpath=yes
 
9937
fi;
 
9938
 
 
9939
 
 
9940
 
 
9941
 
 
9942
 
 
9943
 
 
9944
 
 
9945
    use_additional=yes
 
9946
 
 
9947
  acl_save_prefix="$prefix"
 
9948
  prefix="$acl_final_prefix"
 
9949
  acl_save_exec_prefix="$exec_prefix"
 
9950
  exec_prefix="$acl_final_exec_prefix"
 
9951
 
 
9952
    eval additional_includedir=\"$includedir\"
 
9953
    eval additional_libdir=\"$libdir\"
 
9954
 
 
9955
  exec_prefix="$acl_save_exec_prefix"
 
9956
  prefix="$acl_save_prefix"
 
9957
 
 
9958
 
 
9959
# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
 
9960
if test "${with_libiconv_prefix+set}" = set; then
 
9961
  withval="$with_libiconv_prefix"
 
9962
 
 
9963
    if test "X$withval" = "Xno"; then
 
9964
      use_additional=no
 
9965
    else
 
9966
      if test "X$withval" = "X"; then
 
9967
 
 
9968
  acl_save_prefix="$prefix"
 
9969
  prefix="$acl_final_prefix"
 
9970
  acl_save_exec_prefix="$exec_prefix"
 
9971
  exec_prefix="$acl_final_exec_prefix"
 
9972
 
 
9973
          eval additional_includedir=\"$includedir\"
 
9974
          eval additional_libdir=\"$libdir\"
 
9975
 
 
9976
  exec_prefix="$acl_save_exec_prefix"
 
9977
  prefix="$acl_save_prefix"
 
9978
 
 
9979
      else
 
9980
        additional_includedir="$withval/include"
 
9981
        additional_libdir="$withval/lib"
 
9982
      fi
 
9983
    fi
 
9984
 
 
9985
fi;
 
9986
      LIBICONV=
 
9987
  LTLIBICONV=
 
9988
  INCICONV=
 
9989
  rpathdirs=
 
9990
  ltrpathdirs=
 
9991
  names_already_handled=
 
9992
  names_next_round='iconv '
 
9993
  while test -n "$names_next_round"; do
 
9994
    names_this_round="$names_next_round"
 
9995
    names_next_round=
 
9996
    for name in $names_this_round; do
 
9997
      already_handled=
 
9998
      for n in $names_already_handled; do
 
9999
        if test "$n" = "$name"; then
 
10000
          already_handled=yes
 
10001
          break
 
10002
        fi
 
10003
      done
 
10004
      if test -z "$already_handled"; then
 
10005
        names_already_handled="$names_already_handled $name"
 
10006
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
 
10007
        eval value=\"\$HAVE_LIB$uppername\"
 
10008
        if test -n "$value"; then
 
10009
          if test "$value" = yes; then
 
10010
            eval value=\"\$LIB$uppername\"
 
10011
            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
 
10012
            eval value=\"\$LTLIB$uppername\"
 
10013
            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
 
10014
          else
 
10015
                                    :
 
10016
          fi
 
10017
        else
 
10018
                              found_dir=
 
10019
          found_la=
 
10020
          found_so=
 
10021
          found_a=
 
10022
          if test $use_additional = yes; then
 
10023
            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
 
10024
              found_dir="$additional_libdir"
 
10025
              found_so="$additional_libdir/lib$name.$shlibext"
 
10026
              if test -f "$additional_libdir/lib$name.la"; then
 
10027
                found_la="$additional_libdir/lib$name.la"
 
10028
              fi
 
10029
            else
 
10030
              if test -f "$additional_libdir/lib$name.$libext"; then
 
10031
                found_dir="$additional_libdir"
 
10032
                found_a="$additional_libdir/lib$name.$libext"
 
10033
                if test -f "$additional_libdir/lib$name.la"; then
 
10034
                  found_la="$additional_libdir/lib$name.la"
 
10035
                fi
 
10036
              fi
 
10037
            fi
 
10038
          fi
 
10039
          if test "X$found_dir" = "X"; then
 
10040
            for x in $LDFLAGS $LTLIBICONV; do
 
10041
 
 
10042
  acl_save_prefix="$prefix"
 
10043
  prefix="$acl_final_prefix"
 
10044
  acl_save_exec_prefix="$exec_prefix"
 
10045
  exec_prefix="$acl_final_exec_prefix"
 
10046
  eval x=\"$x\"
 
10047
  exec_prefix="$acl_save_exec_prefix"
 
10048
  prefix="$acl_save_prefix"
 
10049
 
 
10050
              case "$x" in
 
10051
                -L*)
 
10052
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
10053
                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
 
10054
                    found_dir="$dir"
 
10055
                    found_so="$dir/lib$name.$shlibext"
 
10056
                    if test -f "$dir/lib$name.la"; then
 
10057
                      found_la="$dir/lib$name.la"
 
10058
                    fi
 
10059
                  else
 
10060
                    if test -f "$dir/lib$name.$libext"; then
 
10061
                      found_dir="$dir"
 
10062
                      found_a="$dir/lib$name.$libext"
 
10063
                      if test -f "$dir/lib$name.la"; then
 
10064
                        found_la="$dir/lib$name.la"
 
10065
                      fi
 
10066
                    fi
 
10067
                  fi
 
10068
                  ;;
 
10069
              esac
 
10070
              if test "X$found_dir" != "X"; then
 
10071
                break
 
10072
              fi
 
10073
            done
 
10074
          fi
 
10075
          if test "X$found_dir" != "X"; then
 
10076
                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
 
10077
            if test "X$found_so" != "X"; then
 
10078
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
 
10079
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
10080
              else
 
10081
                                                                                haveit=
 
10082
                for x in $ltrpathdirs; do
 
10083
                  if test "X$x" = "X$found_dir"; then
 
10084
                    haveit=yes
 
10085
                    break
 
10086
                  fi
 
10087
                done
 
10088
                if test -z "$haveit"; then
 
10089
                  ltrpathdirs="$ltrpathdirs $found_dir"
 
10090
                fi
 
10091
                                if test "$hardcode_direct" = yes; then
 
10092
                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
10093
                else
 
10094
                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
 
10095
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
10096
                                                            haveit=
 
10097
                    for x in $rpathdirs; do
 
10098
                      if test "X$x" = "X$found_dir"; then
 
10099
                        haveit=yes
 
10100
                        break
 
10101
                      fi
 
10102
                    done
 
10103
                    if test -z "$haveit"; then
 
10104
                      rpathdirs="$rpathdirs $found_dir"
 
10105
                    fi
 
10106
                  else
 
10107
                                                                                haveit=
 
10108
                    for x in $LDFLAGS $LIBICONV; do
 
10109
 
 
10110
  acl_save_prefix="$prefix"
 
10111
  prefix="$acl_final_prefix"
 
10112
  acl_save_exec_prefix="$exec_prefix"
 
10113
  exec_prefix="$acl_final_exec_prefix"
 
10114
  eval x=\"$x\"
 
10115
  exec_prefix="$acl_save_exec_prefix"
 
10116
  prefix="$acl_save_prefix"
 
10117
 
 
10118
                      if test "X$x" = "X-L$found_dir"; then
 
10119
                        haveit=yes
 
10120
                        break
 
10121
                      fi
 
10122
                    done
 
10123
                    if test -z "$haveit"; then
 
10124
                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
 
10125
                    fi
 
10126
                    if test "$hardcode_minus_L" != no; then
 
10127
                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
10128
                    else
 
10129
                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
 
10130
                    fi
 
10131
                  fi
 
10132
                fi
 
10133
              fi
 
10134
            else
 
10135
              if test "X$found_a" != "X"; then
 
10136
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
 
10137
              else
 
10138
                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
 
10139
              fi
 
10140
            fi
 
10141
                        additional_includedir=
 
10142
            case "$found_dir" in
 
10143
              */lib | */lib/)
 
10144
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
 
10145
                additional_includedir="$basedir/include"
 
10146
                ;;
 
10147
            esac
 
10148
            if test "X$additional_includedir" != "X"; then
 
10149
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
 
10150
                haveit=
 
10151
                if test "X$additional_includedir" = "X/usr/local/include"; then
 
10152
                  if test -n "$GCC"; then
 
10153
                    case $host_os in
 
10154
                      linux*) haveit=yes;;
 
10155
                    esac
 
10156
                  fi
 
10157
                fi
 
10158
                if test -z "$haveit"; then
 
10159
                  for x in $CPPFLAGS $INCICONV; do
 
10160
 
 
10161
  acl_save_prefix="$prefix"
 
10162
  prefix="$acl_final_prefix"
 
10163
  acl_save_exec_prefix="$exec_prefix"
 
10164
  exec_prefix="$acl_final_exec_prefix"
 
10165
  eval x=\"$x\"
 
10166
  exec_prefix="$acl_save_exec_prefix"
 
10167
  prefix="$acl_save_prefix"
 
10168
 
 
10169
                    if test "X$x" = "X-I$additional_includedir"; then
 
10170
                      haveit=yes
 
10171
                      break
 
10172
                    fi
 
10173
                  done
 
10174
                  if test -z "$haveit"; then
 
10175
                    if test -d "$additional_includedir"; then
 
10176
                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
 
10177
                    fi
 
10178
                  fi
 
10179
                fi
 
10180
              fi
 
10181
            fi
 
10182
                        if test -n "$found_la"; then
 
10183
                                                        save_libdir="$libdir"
 
10184
              case "$found_la" in
 
10185
                */* | *\\*) . "$found_la" ;;
 
10186
                *) . "./$found_la" ;;
 
10187
              esac
 
10188
              libdir="$save_libdir"
 
10189
                            for dep in $dependency_libs; do
 
10190
                case "$dep" in
 
10191
                  -L*)
 
10192
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
10193
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
 
10194
                      haveit=
 
10195
                      if test "X$additional_libdir" = "X/usr/local/lib"; then
 
10196
                        if test -n "$GCC"; then
 
10197
                          case $host_os in
 
10198
                            linux*) haveit=yes;;
 
10199
                          esac
 
10200
                        fi
 
10201
                      fi
 
10202
                      if test -z "$haveit"; then
 
10203
                        haveit=
 
10204
                        for x in $LDFLAGS $LIBICONV; do
 
10205
 
 
10206
  acl_save_prefix="$prefix"
 
10207
  prefix="$acl_final_prefix"
 
10208
  acl_save_exec_prefix="$exec_prefix"
 
10209
  exec_prefix="$acl_final_exec_prefix"
 
10210
  eval x=\"$x\"
 
10211
  exec_prefix="$acl_save_exec_prefix"
 
10212
  prefix="$acl_save_prefix"
 
10213
 
 
10214
                          if test "X$x" = "X-L$additional_libdir"; then
 
10215
                            haveit=yes
 
10216
                            break
 
10217
                          fi
 
10218
                        done
 
10219
                        if test -z "$haveit"; then
 
10220
                          if test -d "$additional_libdir"; then
 
10221
                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
 
10222
                          fi
 
10223
                        fi
 
10224
                        haveit=
 
10225
                        for x in $LDFLAGS $LTLIBICONV; do
 
10226
 
 
10227
  acl_save_prefix="$prefix"
 
10228
  prefix="$acl_final_prefix"
 
10229
  acl_save_exec_prefix="$exec_prefix"
 
10230
  exec_prefix="$acl_final_exec_prefix"
 
10231
  eval x=\"$x\"
 
10232
  exec_prefix="$acl_save_exec_prefix"
 
10233
  prefix="$acl_save_prefix"
 
10234
 
 
10235
                          if test "X$x" = "X-L$additional_libdir"; then
 
10236
                            haveit=yes
 
10237
                            break
 
10238
                          fi
 
10239
                        done
 
10240
                        if test -z "$haveit"; then
 
10241
                          if test -d "$additional_libdir"; then
 
10242
                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
 
10243
                          fi
 
10244
                        fi
 
10245
                      fi
 
10246
                    fi
 
10247
                    ;;
 
10248
                  -R*)
 
10249
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
10250
                    if test "$enable_rpath" != no; then
 
10251
                                                                  haveit=
 
10252
                      for x in $rpathdirs; do
 
10253
                        if test "X$x" = "X$dir"; then
 
10254
                          haveit=yes
 
10255
                          break
 
10256
                        fi
 
10257
                      done
 
10258
                      if test -z "$haveit"; then
 
10259
                        rpathdirs="$rpathdirs $dir"
 
10260
                      fi
 
10261
                                                                  haveit=
 
10262
                      for x in $ltrpathdirs; do
 
10263
                        if test "X$x" = "X$dir"; then
 
10264
                          haveit=yes
 
10265
                          break
 
10266
                        fi
 
10267
                      done
 
10268
                      if test -z "$haveit"; then
 
10269
                        ltrpathdirs="$ltrpathdirs $dir"
 
10270
                      fi
 
10271
                    fi
 
10272
                    ;;
 
10273
                  -l*)
 
10274
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
10275
                    ;;
 
10276
                  *.la)
 
10277
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
10278
                    ;;
 
10279
                  *)
 
10280
                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
 
10281
                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
 
10282
                    ;;
 
10283
                esac
 
10284
              done
 
10285
            fi
 
10286
          else
 
10287
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
 
10288
            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
 
10289
          fi
 
10290
        fi
 
10291
      fi
 
10292
    done
 
10293
  done
 
10294
  if test "X$rpathdirs" != "X"; then
 
10295
    if test -n "$hardcode_libdir_separator"; then
 
10296
                        alldirs=
 
10297
      for found_dir in $rpathdirs; do
 
10298
        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
 
10299
      done
 
10300
            acl_save_libdir="$libdir"
 
10301
      libdir="$alldirs"
 
10302
      eval flag=\"$hardcode_libdir_flag_spec\"
 
10303
      libdir="$acl_save_libdir"
 
10304
      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
 
10305
    else
 
10306
            for found_dir in $rpathdirs; do
 
10307
        acl_save_libdir="$libdir"
 
10308
        libdir="$found_dir"
 
10309
        eval flag=\"$hardcode_libdir_flag_spec\"
 
10310
        libdir="$acl_save_libdir"
 
10311
        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
 
10312
      done
 
10313
    fi
 
10314
  fi
 
10315
  if test "X$ltrpathdirs" != "X"; then
 
10316
            for found_dir in $ltrpathdirs; do
 
10317
      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
 
10318
    done
 
10319
  fi
 
10320
 
 
10321
 
 
10322
 
 
10323
 
 
10324
 
 
10325
 
 
10326
 
 
10327
 
 
10328
 
 
10329
 
 
10330
 
 
10331
 
 
10332
 
 
10333
 
 
10334
for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
 
10335
stdlib.h string.h unistd.h sys/param.h
 
10336
do
 
10337
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
10338
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
10339
  echo "$as_me:$LINENO: checking for $ac_header" >&5
 
10340
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
10341
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
10342
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10343
fi
 
10344
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
10345
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
10346
else
 
10347
  # Is the header compilable?
 
10348
echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
10349
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
10350
cat >conftest.$ac_ext <<_ACEOF
 
10351
#line $LINENO "configure"
 
10352
#include "confdefs.h"
 
10353
$ac_includes_default
 
10354
#include <$ac_header>
 
10355
_ACEOF
 
10356
rm -f conftest.$ac_objext
 
10357
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10358
  (eval $ac_compile) 2>&5
 
10359
  ac_status=$?
 
10360
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10361
  (exit $ac_status); } &&
 
10362
         { ac_try='test -s conftest.$ac_objext'
 
10363
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10364
  (eval $ac_try) 2>&5
 
10365
  ac_status=$?
 
10366
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10367
  (exit $ac_status); }; }; then
 
10368
  ac_header_compiler=yes
 
10369
else
 
10370
  echo "$as_me: failed program was:" >&5
 
10371
cat conftest.$ac_ext >&5
 
10372
ac_header_compiler=no
 
10373
fi
 
10374
rm -f conftest.$ac_objext conftest.$ac_ext
 
10375
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
10376
echo "${ECHO_T}$ac_header_compiler" >&6
 
10377
 
 
10378
# Is the header present?
 
10379
echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
10380
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
10381
cat >conftest.$ac_ext <<_ACEOF
 
10382
#line $LINENO "configure"
 
10383
#include "confdefs.h"
 
10384
#include <$ac_header>
 
10385
_ACEOF
 
10386
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
10387
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
10388
  ac_status=$?
 
10389
  grep -v '^ *+' conftest.er1 >conftest.err
 
10390
  rm -f conftest.er1
 
10391
  cat conftest.err >&5
 
10392
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10393
  (exit $ac_status); } >/dev/null; then
 
10394
  if test -s conftest.err; then
 
10395
    ac_cpp_err=$ac_c_preproc_warn_flag
 
10396
  else
 
10397
    ac_cpp_err=
 
10398
  fi
 
10399
else
 
10400
  ac_cpp_err=yes
 
10401
fi
 
10402
if test -z "$ac_cpp_err"; then
 
10403
  ac_header_preproc=yes
 
10404
else
 
10405
  echo "$as_me: failed program was:" >&5
 
10406
  cat conftest.$ac_ext >&5
 
10407
  ac_header_preproc=no
 
10408
fi
 
10409
rm -f conftest.err conftest.$ac_ext
 
10410
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
10411
echo "${ECHO_T}$ac_header_preproc" >&6
 
10412
 
 
10413
# So?  What about this header?
 
10414
case $ac_header_compiler:$ac_header_preproc in
 
10415
  yes:no )
 
10416
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
10417
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
10418
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
10419
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
 
10420
  no:yes )
 
10421
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
10422
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
10423
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
 
10424
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
10425
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
10426
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
 
10427
esac
 
10428
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
10429
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
10430
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
10431
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10432
else
 
10433
  eval "$as_ac_Header=$ac_header_preproc"
 
10434
fi
 
10435
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
10436
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
10437
 
 
10438
fi
 
10439
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
10440
  cat >>confdefs.h <<_ACEOF
 
10441
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
10442
_ACEOF
 
10443
 
 
10444
fi
 
10445
 
 
10446
done
 
10447
 
 
10448
 
 
10449
 
 
10450
 
 
10451
 
 
10452
 
 
10453
 
 
10454
 
 
10455
 
 
10456
 
 
10457
 
 
10458
 
 
10459
 
 
10460
 
 
10461
 
 
10462
 
 
10463
 
 
10464
 
 
10465
 
 
10466
 
 
10467
 
 
10468
 
 
10469
for ac_func in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
 
10470
geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
 
10471
strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next
 
10472
do
 
10473
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
10474
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
10475
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
10476
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
10477
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10478
else
 
10479
  cat >conftest.$ac_ext <<_ACEOF
 
10480
#line $LINENO "configure"
 
10481
#include "confdefs.h"
 
10482
/* System header to define __stub macros and hopefully few prototypes,
 
10483
    which can conflict with char $ac_func (); below.  */
 
10484
#include <assert.h>
 
10485
/* Override any gcc2 internal prototype to avoid an error.  */
 
10486
#ifdef __cplusplus
 
10487
extern "C"
 
10488
#endif
 
10489
/* We use char because int might match the return type of a gcc2
 
10490
   builtin and then its argument prototype would still apply.  */
 
10491
char $ac_func ();
 
10492
char (*f) ();
 
10493
 
 
10494
int
 
10495
main ()
 
10496
{
 
10497
/* The GNU C library defines this for functions which it implements
 
10498
    to always fail with ENOSYS.  Some functions are actually named
 
10499
    something starting with __ and the normal name is an alias.  */
 
10500
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
10501
choke me
 
10502
#else
 
10503
f = $ac_func;
 
10504
#endif
 
10505
 
 
10506
  ;
 
10507
  return 0;
 
10508
}
 
10509
_ACEOF
 
10510
rm -f conftest.$ac_objext conftest$ac_exeext
 
10511
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10512
  (eval $ac_link) 2>&5
 
10513
  ac_status=$?
 
10514
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10515
  (exit $ac_status); } &&
 
10516
         { ac_try='test -s conftest$ac_exeext'
 
10517
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10518
  (eval $ac_try) 2>&5
 
10519
  ac_status=$?
 
10520
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10521
  (exit $ac_status); }; }; then
 
10522
  eval "$as_ac_var=yes"
 
10523
else
 
10524
  echo "$as_me: failed program was:" >&5
 
10525
cat conftest.$ac_ext >&5
 
10526
eval "$as_ac_var=no"
 
10527
fi
 
10528
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
10529
fi
 
10530
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
10531
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
10532
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
10533
  cat >>confdefs.h <<_ACEOF
 
10534
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
10535
_ACEOF
 
10536
 
 
10537
fi
 
10538
done
 
10539
 
 
10540
 
 
10541
 
 
10542
 
 
10543
 
 
10544
 
 
10545
 
 
10546
          am_save_CPPFLAGS="$CPPFLAGS"
 
10547
 
 
10548
  for element in $INCICONV; do
 
10549
    haveit=
 
10550
    for x in $CPPFLAGS; do
 
10551
 
 
10552
  acl_save_prefix="$prefix"
 
10553
  prefix="$acl_final_prefix"
 
10554
  acl_save_exec_prefix="$exec_prefix"
 
10555
  exec_prefix="$acl_final_exec_prefix"
 
10556
  eval x=\"$x\"
 
10557
  exec_prefix="$acl_save_exec_prefix"
 
10558
  prefix="$acl_save_prefix"
 
10559
 
 
10560
      if test "X$x" = "X$element"; then
 
10561
        haveit=yes
 
10562
        break
 
10563
      fi
 
10564
    done
 
10565
    if test -z "$haveit"; then
 
10566
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 
10567
    fi
 
10568
  done
 
10569
 
 
10570
 
 
10571
  echo "$as_me:$LINENO: checking for iconv" >&5
 
10572
echo $ECHO_N "checking for iconv... $ECHO_C" >&6
 
10573
if test "${am_cv_func_iconv+set}" = set; then
 
10574
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10575
else
 
10576
 
 
10577
    am_cv_func_iconv="no, consider installing GNU libiconv"
 
10578
    am_cv_lib_iconv=no
 
10579
    cat >conftest.$ac_ext <<_ACEOF
 
10580
#line $LINENO "configure"
 
10581
#include "confdefs.h"
 
10582
#include <stdlib.h>
 
10583
#include <iconv.h>
 
10584
int
 
10585
main ()
 
10586
{
 
10587
iconv_t cd = iconv_open("","");
 
10588
       iconv(cd,NULL,NULL,NULL,NULL);
 
10589
       iconv_close(cd);
 
10590
  ;
 
10591
  return 0;
 
10592
}
 
10593
_ACEOF
 
10594
rm -f conftest.$ac_objext conftest$ac_exeext
 
10595
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10596
  (eval $ac_link) 2>&5
 
10597
  ac_status=$?
 
10598
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10599
  (exit $ac_status); } &&
 
10600
         { ac_try='test -s conftest$ac_exeext'
 
10601
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10602
  (eval $ac_try) 2>&5
 
10603
  ac_status=$?
 
10604
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10605
  (exit $ac_status); }; }; then
 
10606
  am_cv_func_iconv=yes
 
10607
else
 
10608
  echo "$as_me: failed program was:" >&5
 
10609
cat conftest.$ac_ext >&5
 
10610
fi
 
10611
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
10612
    if test "$am_cv_func_iconv" != yes; then
 
10613
      am_save_LIBS="$LIBS"
 
10614
      LIBS="$LIBS $LIBICONV"
 
10615
      cat >conftest.$ac_ext <<_ACEOF
 
10616
#line $LINENO "configure"
 
10617
#include "confdefs.h"
 
10618
#include <stdlib.h>
 
10619
#include <iconv.h>
 
10620
int
 
10621
main ()
 
10622
{
 
10623
iconv_t cd = iconv_open("","");
 
10624
         iconv(cd,NULL,NULL,NULL,NULL);
 
10625
         iconv_close(cd);
 
10626
  ;
 
10627
  return 0;
 
10628
}
 
10629
_ACEOF
 
10630
rm -f conftest.$ac_objext conftest$ac_exeext
 
10631
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10632
  (eval $ac_link) 2>&5
 
10633
  ac_status=$?
 
10634
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10635
  (exit $ac_status); } &&
 
10636
         { ac_try='test -s conftest$ac_exeext'
 
10637
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10638
  (eval $ac_try) 2>&5
 
10639
  ac_status=$?
 
10640
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10641
  (exit $ac_status); }; }; then
 
10642
  am_cv_lib_iconv=yes
 
10643
        am_cv_func_iconv=yes
 
10644
else
 
10645
  echo "$as_me: failed program was:" >&5
 
10646
cat conftest.$ac_ext >&5
 
10647
fi
 
10648
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
10649
      LIBS="$am_save_LIBS"
 
10650
    fi
 
10651
 
 
10652
fi
 
10653
echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
 
10654
echo "${ECHO_T}$am_cv_func_iconv" >&6
 
10655
  if test "$am_cv_func_iconv" = yes; then
 
10656
 
 
10657
cat >>confdefs.h <<\_ACEOF
 
10658
#define HAVE_ICONV 1
 
10659
_ACEOF
 
10660
 
 
10661
  fi
 
10662
  if test "$am_cv_lib_iconv" = yes; then
 
10663
    echo "$as_me:$LINENO: checking how to link with libiconv" >&5
 
10664
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
 
10665
    echo "$as_me:$LINENO: result: $LIBICONV" >&5
 
10666
echo "${ECHO_T}$LIBICONV" >&6
 
10667
  else
 
10668
            CPPFLAGS="$am_save_CPPFLAGS"
 
10669
    LIBICONV=
 
10670
    LTLIBICONV=
 
10671
  fi
 
10672
 
 
10673
 
 
10674
 
 
10675
  if test "$am_cv_func_iconv" = yes; then
 
10676
    echo "$as_me:$LINENO: checking for iconv declaration" >&5
 
10677
echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
 
10678
    if test "${am_cv_proto_iconv+set}" = set; then
 
10679
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10680
else
 
10681
 
 
10682
      cat >conftest.$ac_ext <<_ACEOF
 
10683
#line $LINENO "configure"
 
10684
#include "confdefs.h"
 
10685
 
 
10686
#include <stdlib.h>
 
10687
#include <iconv.h>
 
10688
extern
 
10689
#ifdef __cplusplus
 
10690
"C"
 
10691
#endif
 
10692
#if defined(__STDC__) || defined(__cplusplus)
 
10693
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
 
10694
#else
 
10695
size_t iconv();
 
10696
#endif
 
10697
 
 
10698
int
 
10699
main ()
 
10700
{
 
10701
 
 
10702
  ;
 
10703
  return 0;
 
10704
}
 
10705
_ACEOF
 
10706
rm -f conftest.$ac_objext
 
10707
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10708
  (eval $ac_compile) 2>&5
 
10709
  ac_status=$?
 
10710
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10711
  (exit $ac_status); } &&
 
10712
         { ac_try='test -s conftest.$ac_objext'
 
10713
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10714
  (eval $ac_try) 2>&5
 
10715
  ac_status=$?
 
10716
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10717
  (exit $ac_status); }; }; then
 
10718
  am_cv_proto_iconv_arg1=""
 
10719
else
 
10720
  echo "$as_me: failed program was:" >&5
 
10721
cat conftest.$ac_ext >&5
 
10722
am_cv_proto_iconv_arg1="const"
 
10723
fi
 
10724
rm -f conftest.$ac_objext conftest.$ac_ext
 
10725
      am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
 
10726
fi
 
10727
 
 
10728
    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
 
10729
    echo "$as_me:$LINENO: result: ${ac_t:-
 
10730
         }$am_cv_proto_iconv" >&5
 
10731
echo "${ECHO_T}${ac_t:-
 
10732
         }$am_cv_proto_iconv" >&6
 
10733
 
 
10734
cat >>confdefs.h <<_ACEOF
 
10735
#define ICONV_CONST $am_cv_proto_iconv_arg1
 
10736
_ACEOF
 
10737
 
 
10738
  fi
 
10739
 
 
10740
 
 
10741
  echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
 
10742
echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
 
10743
if test "${am_cv_langinfo_codeset+set}" = set; then
 
10744
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10745
else
 
10746
  cat >conftest.$ac_ext <<_ACEOF
 
10747
#line $LINENO "configure"
 
10748
#include "confdefs.h"
 
10749
#include <langinfo.h>
 
10750
int
 
10751
main ()
 
10752
{
 
10753
char* cs = nl_langinfo(CODESET);
 
10754
  ;
 
10755
  return 0;
 
10756
}
 
10757
_ACEOF
 
10758
rm -f conftest.$ac_objext conftest$ac_exeext
 
10759
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10760
  (eval $ac_link) 2>&5
 
10761
  ac_status=$?
 
10762
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10763
  (exit $ac_status); } &&
 
10764
         { ac_try='test -s conftest$ac_exeext'
 
10765
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10766
  (eval $ac_try) 2>&5
 
10767
  ac_status=$?
 
10768
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10769
  (exit $ac_status); }; }; then
 
10770
  am_cv_langinfo_codeset=yes
 
10771
else
 
10772
  echo "$as_me: failed program was:" >&5
 
10773
cat conftest.$ac_ext >&5
 
10774
am_cv_langinfo_codeset=no
 
10775
fi
 
10776
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
10777
 
 
10778
fi
 
10779
echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
 
10780
echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
 
10781
  if test $am_cv_langinfo_codeset = yes; then
 
10782
 
 
10783
cat >>confdefs.h <<\_ACEOF
 
10784
#define HAVE_LANGINFO_CODESET 1
 
10785
_ACEOF
 
10786
 
 
10787
  fi
 
10788
 
 
10789
  if test $ac_cv_header_locale_h = yes; then
 
10790
 
 
10791
  echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
10792
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
 
10793
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
 
10794
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10795
else
 
10796
  cat >conftest.$ac_ext <<_ACEOF
 
10797
#line $LINENO "configure"
 
10798
#include "confdefs.h"
 
10799
#include <locale.h>
 
10800
int
 
10801
main ()
 
10802
{
 
10803
return LC_MESSAGES
 
10804
  ;
 
10805
  return 0;
 
10806
}
 
10807
_ACEOF
 
10808
rm -f conftest.$ac_objext conftest$ac_exeext
 
10809
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10810
  (eval $ac_link) 2>&5
 
10811
  ac_status=$?
 
10812
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10813
  (exit $ac_status); } &&
 
10814
         { ac_try='test -s conftest$ac_exeext'
 
10815
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10816
  (eval $ac_try) 2>&5
 
10817
  ac_status=$?
 
10818
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10819
  (exit $ac_status); }; }; then
 
10820
  am_cv_val_LC_MESSAGES=yes
 
10821
else
 
10822
  echo "$as_me: failed program was:" >&5
 
10823
cat conftest.$ac_ext >&5
 
10824
am_cv_val_LC_MESSAGES=no
 
10825
fi
 
10826
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
10827
fi
 
10828
echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 
10829
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
 
10830
  if test $am_cv_val_LC_MESSAGES = yes; then
 
10831
 
 
10832
cat >>confdefs.h <<\_ACEOF
 
10833
#define HAVE_LC_MESSAGES 1
 
10834
_ACEOF
 
10835
 
 
10836
  fi
 
10837
 
 
10838
  fi
 
10839
 
 
10840
                      for ac_prog in bison
 
10841
do
 
10842
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
10843
set dummy $ac_prog; ac_word=$2
 
10844
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10845
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
10846
if test "${ac_cv_prog_INTLBISON+set}" = set; then
 
10847
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10848
else
 
10849
  if test -n "$INTLBISON"; then
 
10850
  ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
 
10851
else
 
10852
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10853
for as_dir in $PATH
 
10854
do
 
10855
  IFS=$as_save_IFS
 
10856
  test -z "$as_dir" && as_dir=.
 
10857
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10858
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10859
    ac_cv_prog_INTLBISON="$ac_prog"
 
10860
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10861
    break 2
 
10862
  fi
 
10863
done
 
10864
done
 
10865
 
 
10866
fi
 
10867
fi
 
10868
INTLBISON=$ac_cv_prog_INTLBISON
 
10869
if test -n "$INTLBISON"; then
 
10870
  echo "$as_me:$LINENO: result: $INTLBISON" >&5
 
10871
echo "${ECHO_T}$INTLBISON" >&6
 
10872
else
 
10873
  echo "$as_me:$LINENO: result: no" >&5
 
10874
echo "${ECHO_T}no" >&6
 
10875
fi
 
10876
 
 
10877
  test -n "$INTLBISON" && break
 
10878
done
 
10879
 
 
10880
  if test -z "$INTLBISON"; then
 
10881
    ac_verc_fail=yes
 
10882
  else
 
10883
        echo "$as_me:$LINENO: checking version of bison" >&5
 
10884
echo $ECHO_N "checking version of bison... $ECHO_C" >&6
 
10885
    ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
 
10886
    case $ac_prog_version in
 
10887
      '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
 
10888
      1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
 
10889
         ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
 
10890
      *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
 
10891
    esac
 
10892
    echo "$as_me:$LINENO: result: $ac_prog_version" >&5
 
10893
echo "${ECHO_T}$ac_prog_version" >&6
 
10894
  fi
 
10895
  if test $ac_verc_fail = yes; then
 
10896
    INTLBISON=:
 
10897
  fi
 
10898
 
 
10899
 
 
10900
 
 
10901
 
 
10902
 
 
10903
 
 
10904
 
 
10905
 
 
10906
 
 
10907
 
 
10908
 
 
10909
 
 
10910
 
 
10911
 
 
10912
 
 
10913
  echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
10914
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
 
10915
    # Check whether --enable-nls or --disable-nls was given.
 
10916
if test "${enable_nls+set}" = set; then
 
10917
  enableval="$enable_nls"
 
10918
  USE_NLS=$enableval
 
10919
else
 
10920
  USE_NLS=yes
 
10921
fi;
 
10922
  echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
10923
echo "${ECHO_T}$USE_NLS" >&6
 
10924
 
 
10925
 
 
10926
 
 
10927
    BUILD_INCLUDED_LIBINTL=no
 
10928
    USE_INCLUDED_LIBINTL=no
 
10929
 
 
10930
  LIBINTL=
 
10931
  LTLIBINTL=
 
10932
  POSUB=
 
10933
 
 
10934
    if test "$USE_NLS" = "yes"; then
 
10935
    gt_use_preinstalled_gnugettext=no
 
10936
 
 
10937
      echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
 
10938
echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
 
10939
 
 
10940
# Check whether --with-included-gettext or --without-included-gettext was given.
 
10941
if test "${with_included_gettext+set}" = set; then
 
10942
  withval="$with_included_gettext"
 
10943
  nls_cv_force_use_gnu_gettext=$withval
 
10944
else
 
10945
  nls_cv_force_use_gnu_gettext=no
 
10946
fi;
 
10947
      echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
 
10948
echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
 
10949
 
 
10950
      nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
 
10951
      if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
 
10952
 
 
10953
 
 
10954
 
 
10955
 
 
10956
 
 
10957
 
 
10958
        echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
 
10959
echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
 
10960
if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
 
10961
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10962
else
 
10963
  cat >conftest.$ac_ext <<_ACEOF
 
10964
#line $LINENO "configure"
 
10965
#include "confdefs.h"
 
10966
#include <libintl.h>
 
10967
extern int _nl_msg_cat_cntr;
 
10968
extern int *_nl_domain_bindings;
 
10969
int
 
10970
main ()
 
10971
{
 
10972
bindtextdomain ("", "");
 
10973
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
 
10974
  ;
 
10975
  return 0;
 
10976
}
 
10977
_ACEOF
 
10978
rm -f conftest.$ac_objext conftest$ac_exeext
 
10979
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10980
  (eval $ac_link) 2>&5
 
10981
  ac_status=$?
 
10982
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10983
  (exit $ac_status); } &&
 
10984
         { ac_try='test -s conftest$ac_exeext'
 
10985
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10986
  (eval $ac_try) 2>&5
 
10987
  ac_status=$?
 
10988
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10989
  (exit $ac_status); }; }; then
 
10990
  gt_cv_func_gnugettext1_libc=yes
 
10991
else
 
10992
  echo "$as_me: failed program was:" >&5
 
10993
cat conftest.$ac_ext >&5
 
10994
gt_cv_func_gnugettext1_libc=no
 
10995
fi
 
10996
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
10997
fi
 
10998
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
 
10999
echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
 
11000
 
 
11001
        if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
 
11002
 
 
11003
 
 
11004
 
 
11005
    use_additional=yes
 
11006
 
 
11007
  acl_save_prefix="$prefix"
 
11008
  prefix="$acl_final_prefix"
 
11009
  acl_save_exec_prefix="$exec_prefix"
 
11010
  exec_prefix="$acl_final_exec_prefix"
 
11011
 
 
11012
    eval additional_includedir=\"$includedir\"
 
11013
    eval additional_libdir=\"$libdir\"
 
11014
 
 
11015
  exec_prefix="$acl_save_exec_prefix"
 
11016
  prefix="$acl_save_prefix"
 
11017
 
 
11018
 
 
11019
# Check whether --with-libintl-prefix or --without-libintl-prefix was given.
 
11020
if test "${with_libintl_prefix+set}" = set; then
 
11021
  withval="$with_libintl_prefix"
 
11022
 
 
11023
    if test "X$withval" = "Xno"; then
 
11024
      use_additional=no
 
11025
    else
 
11026
      if test "X$withval" = "X"; then
 
11027
 
 
11028
  acl_save_prefix="$prefix"
 
11029
  prefix="$acl_final_prefix"
 
11030
  acl_save_exec_prefix="$exec_prefix"
 
11031
  exec_prefix="$acl_final_exec_prefix"
 
11032
 
 
11033
          eval additional_includedir=\"$includedir\"
 
11034
          eval additional_libdir=\"$libdir\"
 
11035
 
 
11036
  exec_prefix="$acl_save_exec_prefix"
 
11037
  prefix="$acl_save_prefix"
 
11038
 
 
11039
      else
 
11040
        additional_includedir="$withval/include"
 
11041
        additional_libdir="$withval/lib"
 
11042
      fi
 
11043
    fi
 
11044
 
 
11045
fi;
 
11046
      LIBINTL=
 
11047
  LTLIBINTL=
 
11048
  INCINTL=
 
11049
  rpathdirs=
 
11050
  ltrpathdirs=
 
11051
  names_already_handled=
 
11052
  names_next_round='intl '
 
11053
  while test -n "$names_next_round"; do
 
11054
    names_this_round="$names_next_round"
 
11055
    names_next_round=
 
11056
    for name in $names_this_round; do
 
11057
      already_handled=
 
11058
      for n in $names_already_handled; do
 
11059
        if test "$n" = "$name"; then
 
11060
          already_handled=yes
 
11061
          break
 
11062
        fi
 
11063
      done
 
11064
      if test -z "$already_handled"; then
 
11065
        names_already_handled="$names_already_handled $name"
 
11066
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
 
11067
        eval value=\"\$HAVE_LIB$uppername\"
 
11068
        if test -n "$value"; then
 
11069
          if test "$value" = yes; then
 
11070
            eval value=\"\$LIB$uppername\"
 
11071
            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
 
11072
            eval value=\"\$LTLIB$uppername\"
 
11073
            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
 
11074
          else
 
11075
                                    :
 
11076
          fi
 
11077
        else
 
11078
                              found_dir=
 
11079
          found_la=
 
11080
          found_so=
 
11081
          found_a=
 
11082
          if test $use_additional = yes; then
 
11083
            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
 
11084
              found_dir="$additional_libdir"
 
11085
              found_so="$additional_libdir/lib$name.$shlibext"
 
11086
              if test -f "$additional_libdir/lib$name.la"; then
 
11087
                found_la="$additional_libdir/lib$name.la"
 
11088
              fi
 
11089
            else
 
11090
              if test -f "$additional_libdir/lib$name.$libext"; then
 
11091
                found_dir="$additional_libdir"
 
11092
                found_a="$additional_libdir/lib$name.$libext"
 
11093
                if test -f "$additional_libdir/lib$name.la"; then
 
11094
                  found_la="$additional_libdir/lib$name.la"
 
11095
                fi
 
11096
              fi
 
11097
            fi
 
11098
          fi
 
11099
          if test "X$found_dir" = "X"; then
 
11100
            for x in $LDFLAGS $LTLIBINTL; do
 
11101
 
 
11102
  acl_save_prefix="$prefix"
 
11103
  prefix="$acl_final_prefix"
 
11104
  acl_save_exec_prefix="$exec_prefix"
 
11105
  exec_prefix="$acl_final_exec_prefix"
 
11106
  eval x=\"$x\"
 
11107
  exec_prefix="$acl_save_exec_prefix"
 
11108
  prefix="$acl_save_prefix"
 
11109
 
 
11110
              case "$x" in
 
11111
                -L*)
 
11112
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
11113
                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
 
11114
                    found_dir="$dir"
 
11115
                    found_so="$dir/lib$name.$shlibext"
 
11116
                    if test -f "$dir/lib$name.la"; then
 
11117
                      found_la="$dir/lib$name.la"
 
11118
                    fi
 
11119
                  else
 
11120
                    if test -f "$dir/lib$name.$libext"; then
 
11121
                      found_dir="$dir"
 
11122
                      found_a="$dir/lib$name.$libext"
 
11123
                      if test -f "$dir/lib$name.la"; then
 
11124
                        found_la="$dir/lib$name.la"
 
11125
                      fi
 
11126
                    fi
 
11127
                  fi
 
11128
                  ;;
 
11129
              esac
 
11130
              if test "X$found_dir" != "X"; then
 
11131
                break
 
11132
              fi
 
11133
            done
 
11134
          fi
 
11135
          if test "X$found_dir" != "X"; then
 
11136
                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
 
11137
            if test "X$found_so" != "X"; then
 
11138
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
 
11139
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
11140
              else
 
11141
                                                                                haveit=
 
11142
                for x in $ltrpathdirs; do
 
11143
                  if test "X$x" = "X$found_dir"; then
 
11144
                    haveit=yes
 
11145
                    break
 
11146
                  fi
 
11147
                done
 
11148
                if test -z "$haveit"; then
 
11149
                  ltrpathdirs="$ltrpathdirs $found_dir"
 
11150
                fi
 
11151
                                if test "$hardcode_direct" = yes; then
 
11152
                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
11153
                else
 
11154
                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
 
11155
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
11156
                                                            haveit=
 
11157
                    for x in $rpathdirs; do
 
11158
                      if test "X$x" = "X$found_dir"; then
 
11159
                        haveit=yes
 
11160
                        break
 
11161
                      fi
 
11162
                    done
 
11163
                    if test -z "$haveit"; then
 
11164
                      rpathdirs="$rpathdirs $found_dir"
 
11165
                    fi
 
11166
                  else
 
11167
                                                                                haveit=
 
11168
                    for x in $LDFLAGS $LIBINTL; do
 
11169
 
 
11170
  acl_save_prefix="$prefix"
 
11171
  prefix="$acl_final_prefix"
 
11172
  acl_save_exec_prefix="$exec_prefix"
 
11173
  exec_prefix="$acl_final_exec_prefix"
 
11174
  eval x=\"$x\"
 
11175
  exec_prefix="$acl_save_exec_prefix"
 
11176
  prefix="$acl_save_prefix"
 
11177
 
 
11178
                      if test "X$x" = "X-L$found_dir"; then
 
11179
                        haveit=yes
 
11180
                        break
 
11181
                      fi
 
11182
                    done
 
11183
                    if test -z "$haveit"; then
 
11184
                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
 
11185
                    fi
 
11186
                    if test "$hardcode_minus_L" != no; then
 
11187
                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
11188
                    else
 
11189
                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
 
11190
                    fi
 
11191
                  fi
 
11192
                fi
 
11193
              fi
 
11194
            else
 
11195
              if test "X$found_a" != "X"; then
 
11196
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
 
11197
              else
 
11198
                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
 
11199
              fi
 
11200
            fi
 
11201
                        additional_includedir=
 
11202
            case "$found_dir" in
 
11203
              */lib | */lib/)
 
11204
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
 
11205
                additional_includedir="$basedir/include"
 
11206
                ;;
 
11207
            esac
 
11208
            if test "X$additional_includedir" != "X"; then
 
11209
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
 
11210
                haveit=
 
11211
                if test "X$additional_includedir" = "X/usr/local/include"; then
 
11212
                  if test -n "$GCC"; then
 
11213
                    case $host_os in
 
11214
                      linux*) haveit=yes;;
 
11215
                    esac
 
11216
                  fi
 
11217
                fi
 
11218
                if test -z "$haveit"; then
 
11219
                  for x in $CPPFLAGS $INCINTL; do
 
11220
 
 
11221
  acl_save_prefix="$prefix"
 
11222
  prefix="$acl_final_prefix"
 
11223
  acl_save_exec_prefix="$exec_prefix"
 
11224
  exec_prefix="$acl_final_exec_prefix"
 
11225
  eval x=\"$x\"
 
11226
  exec_prefix="$acl_save_exec_prefix"
 
11227
  prefix="$acl_save_prefix"
 
11228
 
 
11229
                    if test "X$x" = "X-I$additional_includedir"; then
 
11230
                      haveit=yes
 
11231
                      break
 
11232
                    fi
 
11233
                  done
 
11234
                  if test -z "$haveit"; then
 
11235
                    if test -d "$additional_includedir"; then
 
11236
                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
 
11237
                    fi
 
11238
                  fi
 
11239
                fi
 
11240
              fi
 
11241
            fi
 
11242
                        if test -n "$found_la"; then
 
11243
                                                        save_libdir="$libdir"
 
11244
              case "$found_la" in
 
11245
                */* | *\\*) . "$found_la" ;;
 
11246
                *) . "./$found_la" ;;
 
11247
              esac
 
11248
              libdir="$save_libdir"
 
11249
                            for dep in $dependency_libs; do
 
11250
                case "$dep" in
 
11251
                  -L*)
 
11252
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
11253
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
 
11254
                      haveit=
 
11255
                      if test "X$additional_libdir" = "X/usr/local/lib"; then
 
11256
                        if test -n "$GCC"; then
 
11257
                          case $host_os in
 
11258
                            linux*) haveit=yes;;
 
11259
                          esac
 
11260
                        fi
 
11261
                      fi
 
11262
                      if test -z "$haveit"; then
 
11263
                        haveit=
 
11264
                        for x in $LDFLAGS $LIBINTL; do
 
11265
 
 
11266
  acl_save_prefix="$prefix"
 
11267
  prefix="$acl_final_prefix"
 
11268
  acl_save_exec_prefix="$exec_prefix"
 
11269
  exec_prefix="$acl_final_exec_prefix"
 
11270
  eval x=\"$x\"
 
11271
  exec_prefix="$acl_save_exec_prefix"
 
11272
  prefix="$acl_save_prefix"
 
11273
 
 
11274
                          if test "X$x" = "X-L$additional_libdir"; then
 
11275
                            haveit=yes
 
11276
                            break
 
11277
                          fi
 
11278
                        done
 
11279
                        if test -z "$haveit"; then
 
11280
                          if test -d "$additional_libdir"; then
 
11281
                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
 
11282
                          fi
 
11283
                        fi
 
11284
                        haveit=
 
11285
                        for x in $LDFLAGS $LTLIBINTL; do
 
11286
 
 
11287
  acl_save_prefix="$prefix"
 
11288
  prefix="$acl_final_prefix"
 
11289
  acl_save_exec_prefix="$exec_prefix"
 
11290
  exec_prefix="$acl_final_exec_prefix"
 
11291
  eval x=\"$x\"
 
11292
  exec_prefix="$acl_save_exec_prefix"
 
11293
  prefix="$acl_save_prefix"
 
11294
 
 
11295
                          if test "X$x" = "X-L$additional_libdir"; then
 
11296
                            haveit=yes
 
11297
                            break
 
11298
                          fi
 
11299
                        done
 
11300
                        if test -z "$haveit"; then
 
11301
                          if test -d "$additional_libdir"; then
 
11302
                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
 
11303
                          fi
 
11304
                        fi
 
11305
                      fi
 
11306
                    fi
 
11307
                    ;;
 
11308
                  -R*)
 
11309
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
11310
                    if test "$enable_rpath" != no; then
 
11311
                                                                  haveit=
 
11312
                      for x in $rpathdirs; do
 
11313
                        if test "X$x" = "X$dir"; then
 
11314
                          haveit=yes
 
11315
                          break
 
11316
                        fi
 
11317
                      done
 
11318
                      if test -z "$haveit"; then
 
11319
                        rpathdirs="$rpathdirs $dir"
 
11320
                      fi
 
11321
                                                                  haveit=
 
11322
                      for x in $ltrpathdirs; do
 
11323
                        if test "X$x" = "X$dir"; then
 
11324
                          haveit=yes
 
11325
                          break
 
11326
                        fi
 
11327
                      done
 
11328
                      if test -z "$haveit"; then
 
11329
                        ltrpathdirs="$ltrpathdirs $dir"
 
11330
                      fi
 
11331
                    fi
 
11332
                    ;;
 
11333
                  -l*)
 
11334
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
11335
                    ;;
 
11336
                  *.la)
 
11337
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
11338
                    ;;
 
11339
                  *)
 
11340
                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
 
11341
                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
 
11342
                    ;;
 
11343
                esac
 
11344
              done
 
11345
            fi
 
11346
          else
 
11347
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
 
11348
            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
 
11349
          fi
 
11350
        fi
 
11351
      fi
 
11352
    done
 
11353
  done
 
11354
  if test "X$rpathdirs" != "X"; then
 
11355
    if test -n "$hardcode_libdir_separator"; then
 
11356
                        alldirs=
 
11357
      for found_dir in $rpathdirs; do
 
11358
        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
 
11359
      done
 
11360
            acl_save_libdir="$libdir"
 
11361
      libdir="$alldirs"
 
11362
      eval flag=\"$hardcode_libdir_flag_spec\"
 
11363
      libdir="$acl_save_libdir"
 
11364
      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
 
11365
    else
 
11366
            for found_dir in $rpathdirs; do
 
11367
        acl_save_libdir="$libdir"
 
11368
        libdir="$found_dir"
 
11369
        eval flag=\"$hardcode_libdir_flag_spec\"
 
11370
        libdir="$acl_save_libdir"
 
11371
        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
 
11372
      done
 
11373
    fi
 
11374
  fi
 
11375
  if test "X$ltrpathdirs" != "X"; then
 
11376
            for found_dir in $ltrpathdirs; do
 
11377
      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
 
11378
    done
 
11379
  fi
 
11380
 
 
11381
          echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
 
11382
echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
 
11383
if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
 
11384
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11385
else
 
11386
  gt_save_CPPFLAGS="$CPPFLAGS"
 
11387
            CPPFLAGS="$CPPFLAGS $INCINTL"
 
11388
            gt_save_LIBS="$LIBS"
 
11389
            LIBS="$LIBS $LIBINTL"
 
11390
                        cat >conftest.$ac_ext <<_ACEOF
 
11391
#line $LINENO "configure"
 
11392
#include "confdefs.h"
 
11393
#include <libintl.h>
 
11394
extern int _nl_msg_cat_cntr;
 
11395
extern
 
11396
#ifdef __cplusplus
 
11397
"C"
 
11398
#endif
 
11399
const char *_nl_expand_alias ();
 
11400
int
 
11401
main ()
 
11402
{
 
11403
bindtextdomain ("", "");
 
11404
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
 
11405
  ;
 
11406
  return 0;
 
11407
}
 
11408
_ACEOF
 
11409
rm -f conftest.$ac_objext conftest$ac_exeext
 
11410
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11411
  (eval $ac_link) 2>&5
 
11412
  ac_status=$?
 
11413
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11414
  (exit $ac_status); } &&
 
11415
         { ac_try='test -s conftest$ac_exeext'
 
11416
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
11417
  (eval $ac_try) 2>&5
 
11418
  ac_status=$?
 
11419
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11420
  (exit $ac_status); }; }; then
 
11421
  gt_cv_func_gnugettext1_libintl=yes
 
11422
else
 
11423
  echo "$as_me: failed program was:" >&5
 
11424
cat conftest.$ac_ext >&5
 
11425
gt_cv_func_gnugettext1_libintl=no
 
11426
fi
 
11427
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
11428
                        if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
 
11429
              LIBS="$LIBS $LIBICONV"
 
11430
              cat >conftest.$ac_ext <<_ACEOF
 
11431
#line $LINENO "configure"
 
11432
#include "confdefs.h"
 
11433
#include <libintl.h>
 
11434
extern int _nl_msg_cat_cntr;
 
11435
extern
 
11436
#ifdef __cplusplus
 
11437
"C"
 
11438
#endif
 
11439
const char *_nl_expand_alias ();
 
11440
int
 
11441
main ()
 
11442
{
 
11443
bindtextdomain ("", "");
 
11444
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
 
11445
  ;
 
11446
  return 0;
 
11447
}
 
11448
_ACEOF
 
11449
rm -f conftest.$ac_objext conftest$ac_exeext
 
11450
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11451
  (eval $ac_link) 2>&5
 
11452
  ac_status=$?
 
11453
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11454
  (exit $ac_status); } &&
 
11455
         { ac_try='test -s conftest$ac_exeext'
 
11456
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
11457
  (eval $ac_try) 2>&5
 
11458
  ac_status=$?
 
11459
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11460
  (exit $ac_status); }; }; then
 
11461
  LIBINTL="$LIBINTL $LIBICONV"
 
11462
                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
 
11463
                gt_cv_func_gnugettext1_libintl=yes
 
11464
 
 
11465
else
 
11466
  echo "$as_me: failed program was:" >&5
 
11467
cat conftest.$ac_ext >&5
 
11468
fi
 
11469
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
11470
            fi
 
11471
            CPPFLAGS="$gt_save_CPPFLAGS"
 
11472
            LIBS="$gt_save_LIBS"
 
11473
fi
 
11474
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
 
11475
echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
 
11476
        fi
 
11477
 
 
11478
                                        if test "$gt_cv_func_gnugettext1_libc" = "yes" \
 
11479
           || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
 
11480
                && test "$PACKAGE" != gettext; }; then
 
11481
          gt_use_preinstalled_gnugettext=yes
 
11482
        else
 
11483
                    LIBINTL=
 
11484
          LTLIBINTL=
 
11485
          INCINTL=
 
11486
        fi
 
11487
 
 
11488
 
 
11489
        if test "$gt_use_preinstalled_gnugettext" != "yes"; then
 
11490
                              nls_cv_use_gnu_gettext=yes
 
11491
        fi
 
11492
      fi
 
11493
 
 
11494
      if test "$nls_cv_use_gnu_gettext" = "yes"; then
 
11495
                INTLOBJS="\$(GETTOBJS)"
 
11496
        BUILD_INCLUDED_LIBINTL=yes
 
11497
        USE_INCLUDED_LIBINTL=yes
 
11498
        LIBINTL="\${top_builddir}/intl/libintl.a $LIBICONV"
 
11499
        LTLIBINTL="\${top_builddir}/intl/libintl.a $LTLIBICONV"
 
11500
        LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
 
11501
      fi
 
11502
 
 
11503
      if test "$gt_use_preinstalled_gnugettext" = "yes" \
 
11504
         || test "$nls_cv_use_gnu_gettext" = "yes"; then
 
11505
                CATOBJEXT=.gmo
 
11506
      fi
 
11507
 
 
11508
 
 
11509
    if test "$gt_use_preinstalled_gnugettext" = "yes" \
 
11510
       || test "$nls_cv_use_gnu_gettext" = "yes"; then
 
11511
 
 
11512
cat >>confdefs.h <<\_ACEOF
 
11513
#define ENABLE_NLS 1
 
11514
_ACEOF
 
11515
 
 
11516
    else
 
11517
      USE_NLS=no
 
11518
    fi
 
11519
  fi
 
11520
 
 
11521
  if test "$USE_NLS" = "yes"; then
 
11522
 
 
11523
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
 
11524
      if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
 
11525
        echo "$as_me:$LINENO: checking how to link with libintl" >&5
 
11526
echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
 
11527
        echo "$as_me:$LINENO: result: $LIBINTL" >&5
 
11528
echo "${ECHO_T}$LIBINTL" >&6
 
11529
 
 
11530
  for element in $INCINTL; do
 
11531
    haveit=
 
11532
    for x in $CPPFLAGS; do
 
11533
 
 
11534
  acl_save_prefix="$prefix"
 
11535
  prefix="$acl_final_prefix"
 
11536
  acl_save_exec_prefix="$exec_prefix"
 
11537
  exec_prefix="$acl_final_exec_prefix"
 
11538
  eval x=\"$x\"
 
11539
  exec_prefix="$acl_save_exec_prefix"
 
11540
  prefix="$acl_save_prefix"
 
11541
 
 
11542
      if test "X$x" = "X$element"; then
 
11543
        haveit=yes
 
11544
        break
 
11545
      fi
 
11546
    done
 
11547
    if test -z "$haveit"; then
 
11548
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 
11549
    fi
 
11550
  done
 
11551
 
 
11552
      fi
 
11553
 
 
11554
 
 
11555
cat >>confdefs.h <<\_ACEOF
 
11556
#define HAVE_GETTEXT 1
 
11557
_ACEOF
 
11558
 
 
11559
 
 
11560
cat >>confdefs.h <<\_ACEOF
 
11561
#define HAVE_DCGETTEXT 1
 
11562
_ACEOF
 
11563
 
 
11564
    fi
 
11565
 
 
11566
        POSUB=po
 
11567
  fi
 
11568
 
 
11569
 
 
11570
            if test "$PACKAGE" = gettext; then
 
11571
      BUILD_INCLUDED_LIBINTL=yes
 
11572
    fi
 
11573
 
 
11574
 
 
11575
 
 
11576
 
 
11577
 
 
11578
 
 
11579
        nls_cv_header_intl=
 
11580
    nls_cv_header_libgt=
 
11581
 
 
11582
        DATADIRNAME=share
 
11583
 
 
11584
 
 
11585
        INSTOBJEXT=.mo
 
11586
 
 
11587
 
 
11588
        GENCAT=gencat
 
11589
 
 
11590
 
 
11591
        INTL_LIBTOOL_SUFFIX_PREFIX=
 
11592
 
 
11593
 
 
11594
 
 
11595
    INTLLIBS="$LIBINTL"
 
11596
 
 
11597
 
 
11598
 
 
11599
 
 
11600
 
 
11601
 
5297
11602
 
5298
11603
 
5299
11604
  succeeded=no
5301
11606
  if test -z "$PKG_CONFIG"; then
5302
11607
    # Extract the first word of "pkg-config", so it can be a program name with args.
5303
11608
set dummy pkg-config; ac_word=$2
5304
 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5305
 
echo "configure:5306: checking for $ac_word" >&5
5306
 
if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
5307
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
11609
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11610
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
11611
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
11612
  echo $ECHO_N "(cached) $ECHO_C" >&6
5308
11613
else
5309
 
  case "$PKG_CONFIG" in
5310
 
  /*)
 
11614
  case $PKG_CONFIG in
 
11615
  [\\/]* | ?:[\\/]*)
5311
11616
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5312
11617
  ;;
5313
 
  ?:/*)                  
5314
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path.
5315
 
  ;;
5316
11618
  *)
5317
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
5318
 
  ac_dummy="$PATH"
5319
 
  for ac_dir in $ac_dummy; do 
5320
 
    test -z "$ac_dir" && ac_dir=.
5321
 
    if test -f $ac_dir/$ac_word; then
5322
 
      ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
5323
 
      break
5324
 
    fi
5325
 
  done
5326
 
  IFS="$ac_save_ifs"
 
11619
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11620
for as_dir in $PATH
 
11621
do
 
11622
  IFS=$as_save_IFS
 
11623
  test -z "$as_dir" && as_dir=.
 
11624
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11625
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11626
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
11627
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11628
    break 2
 
11629
  fi
 
11630
done
 
11631
done
 
11632
 
5327
11633
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
5328
11634
  ;;
5329
11635
esac
5330
11636
fi
5331
 
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
11637
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
11638
 
5332
11639
if test -n "$PKG_CONFIG"; then
5333
 
  echo "$ac_t""$PKG_CONFIG" 1>&6
 
11640
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
11641
echo "${ECHO_T}$PKG_CONFIG" >&6
5334
11642
else
5335
 
  echo "$ac_t""no" 1>&6
 
11643
  echo "$as_me:$LINENO: result: no" >&5
 
11644
echo "${ECHO_T}no" >&6
5336
11645
fi
5337
11646
 
5338
11647
  fi
5343
11652
     echo "*** to the full path to pkg-config."
5344
11653
     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
5345
11654
  else
5346
 
     if ! $PKG_CONFIG --atleast-pkgconfig-version 0.7.0; then
5347
 
        echo "*** Your version of pkg-config is too old. You need version 0.7.0 or newer."
5348
 
        echo "*** See http://www.freedesktop.org/software/pkgconfig"
5349
 
     else
5350
 
        echo $ac_n "checking for gtk libexif >= 0.5.0""... $ac_c" 1>&6
5351
 
echo "configure:5352: checking for gtk libexif >= 0.5.0" >&5
 
11655
     PKG_CONFIG_MIN_VERSION=0.9.0
 
11656
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
 
11657
        echo "$as_me:$LINENO: checking for gtk+-2.0 libexif >= 0.5.9" >&5
 
11658
echo $ECHO_N "checking for gtk+-2.0 libexif >= 0.5.9... $ECHO_C" >&6
5352
11659
 
5353
 
        if $PKG_CONFIG --exists "gtk libexif >= 0.5.0" ; then
5354
 
            echo "$ac_t""yes" 1>&6
 
11660
        if $PKG_CONFIG --exists "gtk+-2.0 libexif >= 0.5.9" ; then
 
11661
            echo "$as_me:$LINENO: result: yes" >&5
 
11662
echo "${ECHO_T}yes" >&6
5355
11663
            succeeded=yes
5356
11664
 
5357
 
            echo $ac_n "checking LIBEXIF_GTK_CFLAGS""... $ac_c" 1>&6
5358
 
echo "configure:5359: checking LIBEXIF_GTK_CFLAGS" >&5
5359
 
            LIBEXIF_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk libexif >= 0.5.0"`
5360
 
            echo "$ac_t""$LIBEXIF_GTK_CFLAGS" 1>&6
 
11665
            echo "$as_me:$LINENO: checking LIBEXIF_GTK_CFLAGS" >&5
 
11666
echo $ECHO_N "checking LIBEXIF_GTK_CFLAGS... $ECHO_C" >&6
 
11667
            LIBEXIF_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 libexif >= 0.5.9"`
 
11668
            echo "$as_me:$LINENO: result: $LIBEXIF_GTK_CFLAGS" >&5
 
11669
echo "${ECHO_T}$LIBEXIF_GTK_CFLAGS" >&6
5361
11670
 
5362
 
            echo $ac_n "checking LIBEXIF_GTK_LIBS""... $ac_c" 1>&6
5363
 
echo "configure:5364: checking LIBEXIF_GTK_LIBS" >&5
5364
 
            LIBEXIF_GTK_LIBS=`$PKG_CONFIG --libs "gtk libexif >= 0.5.0"`
5365
 
            echo "$ac_t""$LIBEXIF_GTK_LIBS" 1>&6
 
11671
            echo "$as_me:$LINENO: checking LIBEXIF_GTK_LIBS" >&5
 
11672
echo $ECHO_N "checking LIBEXIF_GTK_LIBS... $ECHO_C" >&6
 
11673
            LIBEXIF_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 libexif >= 0.5.9"`
 
11674
            echo "$as_me:$LINENO: result: $LIBEXIF_GTK_LIBS" >&5
 
11675
echo "${ECHO_T}$LIBEXIF_GTK_LIBS" >&6
5366
11676
        else
5367
11677
            LIBEXIF_GTK_CFLAGS=""
5368
11678
            LIBEXIF_GTK_LIBS=""
5369
 
            ## If we have a custom action on failure, don't print errors, but 
 
11679
            ## If we have a custom action on failure, don't print errors, but
5370
11680
            ## do set a variable so people can do so.
5371
 
            LIBEXIF_GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk libexif >= 0.5.0"`
 
11681
            LIBEXIF_GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 libexif >= 0.5.9"`
5372
11682
            echo $LIBEXIF_GTK_PKG_ERRORS
5373
11683
        fi
5374
11684
 
5375
 
        
5376
 
        
 
11685
 
 
11686
 
 
11687
     else
 
11688
        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
 
11689
        echo "*** See http://www.freedesktop.org/software/pkgconfig"
5377
11690
     fi
5378
11691
  fi
5379
11692
 
5380
11693
  if test $succeeded = yes; then
5381
11694
     :
5382
11695
  else
5383
 
     { echo "configure: error: Library requirements (gtk libexif >= 0.5.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." 1>&2; exit 1; }
 
11696
     { { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0 libexif >= 0.5.9) 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
 
11697
echo "$as_me: error: Library requirements (gtk+-2.0 libexif >= 0.5.9) 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;}
 
11698
   { (exit 1); exit 1; }; }
5384
11699
  fi
5385
11700
 
5386
11701
 
5391
11706
  if test -z "$PKG_CONFIG"; then
5392
11707
    # Extract the first word of "pkg-config", so it can be a program name with args.
5393
11708
set dummy pkg-config; ac_word=$2
5394
 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5395
 
echo "configure:5396: checking for $ac_word" >&5
5396
 
if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
5397
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
11709
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11710
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
11711
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
11712
  echo $ECHO_N "(cached) $ECHO_C" >&6
5398
11713
else
5399
 
  case "$PKG_CONFIG" in
5400
 
  /*)
 
11714
  case $PKG_CONFIG in
 
11715
  [\\/]* | ?:[\\/]*)
5401
11716
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5402
11717
  ;;
5403
 
  ?:/*)                  
5404
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path.
5405
 
  ;;
5406
11718
  *)
5407
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
5408
 
  ac_dummy="$PATH"
5409
 
  for ac_dir in $ac_dummy; do 
5410
 
    test -z "$ac_dir" && ac_dir=.
5411
 
    if test -f $ac_dir/$ac_word; then
5412
 
      ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
5413
 
      break
5414
 
    fi
5415
 
  done
5416
 
  IFS="$ac_save_ifs"
 
11719
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11720
for as_dir in $PATH
 
11721
do
 
11722
  IFS=$as_save_IFS
 
11723
  test -z "$as_dir" && as_dir=.
 
11724
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11725
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11726
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
11727
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11728
    break 2
 
11729
  fi
 
11730
done
 
11731
done
 
11732
 
5417
11733
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
5418
11734
  ;;
5419
11735
esac
5420
11736
fi
5421
 
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
11737
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
11738
 
5422
11739
if test -n "$PKG_CONFIG"; then
5423
 
  echo "$ac_t""$PKG_CONFIG" 1>&6
 
11740
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
11741
echo "${ECHO_T}$PKG_CONFIG" >&6
5424
11742
else
5425
 
  echo "$ac_t""no" 1>&6
 
11743
  echo "$as_me:$LINENO: result: no" >&5
 
11744
echo "${ECHO_T}no" >&6
5426
11745
fi
5427
11746
 
5428
11747
  fi
5433
11752
     echo "*** to the full path to pkg-config."
5434
11753
     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
5435
11754
  else
5436
 
     if ! $PKG_CONFIG --atleast-pkgconfig-version 0.7.0; then
5437
 
        echo "*** Your version of pkg-config is too old. You need version 0.7.0 or newer."
5438
 
        echo "*** See http://www.freedesktop.org/software/pkgconfig"
5439
 
     else
5440
 
        echo $ac_n "checking for gtk""... $ac_c" 1>&6
5441
 
echo "configure:5442: checking for gtk" >&5
 
11755
     PKG_CONFIG_MIN_VERSION=0.9.0
 
11756
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
 
11757
        echo "$as_me:$LINENO: checking for gtk+-2.0" >&5
 
11758
echo $ECHO_N "checking for gtk+-2.0... $ECHO_C" >&6
5442
11759
 
5443
 
        if $PKG_CONFIG --exists "gtk" ; then
5444
 
            echo "$ac_t""yes" 1>&6
 
11760
        if $PKG_CONFIG --exists "gtk+-2.0" ; then
 
11761
            echo "$as_me:$LINENO: result: yes" >&5
 
11762
echo "${ECHO_T}yes" >&6
5445
11763
            succeeded=yes
5446
11764
 
5447
 
            echo $ac_n "checking GTK_CFLAGS""... $ac_c" 1>&6
5448
 
echo "configure:5449: checking GTK_CFLAGS" >&5
5449
 
            GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk"`
5450
 
            echo "$ac_t""$GTK_CFLAGS" 1>&6
 
11765
            echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
 
11766
echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
 
11767
            GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0"`
 
11768
            echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
 
11769
echo "${ECHO_T}$GTK_CFLAGS" >&6
5451
11770
 
5452
 
            echo $ac_n "checking GTK_LIBS""... $ac_c" 1>&6
5453
 
echo "configure:5454: checking GTK_LIBS" >&5
5454
 
            GTK_LIBS=`$PKG_CONFIG --libs "gtk"`
5455
 
            echo "$ac_t""$GTK_LIBS" 1>&6
 
11771
            echo "$as_me:$LINENO: checking GTK_LIBS" >&5
 
11772
echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
 
11773
            GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0"`
 
11774
            echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
 
11775
echo "${ECHO_T}$GTK_LIBS" >&6
5456
11776
        else
5457
11777
            GTK_CFLAGS=""
5458
11778
            GTK_LIBS=""
5459
 
            ## If we have a custom action on failure, don't print errors, but 
 
11779
            ## If we have a custom action on failure, don't print errors, but
5460
11780
            ## do set a variable so people can do so.
5461
 
            GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk"`
 
11781
            GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
5462
11782
            echo $GTK_PKG_ERRORS
5463
11783
        fi
5464
11784
 
5465
 
        
5466
 
        
 
11785
 
 
11786
 
 
11787
     else
 
11788
        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
 
11789
        echo "*** See http://www.freedesktop.org/software/pkgconfig"
5467
11790
     fi
5468
11791
  fi
5469
11792
 
5470
11793
  if test $succeeded = yes; then
5471
11794
     :
5472
11795
  else
5473
 
     { echo "configure: error: Library requirements (gtk) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." 1>&2; exit 1; }
 
11796
     { { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0) 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
 
11797
echo "$as_me: error: Library requirements (gtk+-2.0) 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;}
 
11798
   { (exit 1); exit 1; }; }
5474
11799
  fi
5475
11800
 
5476
11801
 
5477
11802
 
5478
11803
 
5479
 
# Extract the first word of "gdk-pixbuf-config", so it can be a program name with args.
5480
 
set dummy gdk-pixbuf-config; ac_word=$2
5481
 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5482
 
echo "configure:5483: checking for $ac_word" >&5
5483
 
if eval "test \"`echo '$''{'ac_cv_path_GDK_PIXBUF_CONFIG'+set}'`\" = set"; then
5484
 
  echo $ac_n "(cached) $ac_c" 1>&6
5485
 
else
5486
 
  case "$GDK_PIXBUF_CONFIG" in
5487
 
  /*)
5488
 
  ac_cv_path_GDK_PIXBUF_CONFIG="$GDK_PIXBUF_CONFIG" # Let the user override the test with a path.
5489
 
  ;;
5490
 
  ?:/*)                  
5491
 
  ac_cv_path_GDK_PIXBUF_CONFIG="$GDK_PIXBUF_CONFIG" # Let the user override the test with a dos path.
5492
 
  ;;
5493
 
  *)
5494
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
5495
 
  ac_dummy="$PATH"
5496
 
  for ac_dir in $ac_dummy; do 
5497
 
    test -z "$ac_dir" && ac_dir=.
5498
 
    if test -f $ac_dir/$ac_word; then
5499
 
      ac_cv_path_GDK_PIXBUF_CONFIG="$ac_dir/$ac_word"
5500
 
      break
5501
 
    fi
5502
 
  done
5503
 
  IFS="$ac_save_ifs"
5504
 
  ;;
5505
 
esac
5506
 
fi
5507
 
GDK_PIXBUF_CONFIG="$ac_cv_path_GDK_PIXBUF_CONFIG"
5508
 
if test -n "$GDK_PIXBUF_CONFIG"; then
5509
 
  echo "$ac_t""$GDK_PIXBUF_CONFIG" 1>&6
5510
 
else
5511
 
  echo "$ac_t""no" 1>&6
5512
 
fi
5513
 
 
5514
 
if test -n "${GDK_PIXBUF_CONFIG}"; then
5515
 
        GDK_PIXBUF_CFLAGS=`$GDK_PIXBUF_CONFIG --cflags`
5516
 
        GDK_PIXBUF_LIBS=`$GDK_PIXBUF_CONFIG --libs`
5517
 
        cat >> confdefs.h <<\EOF
5518
 
#define HAVE_GDK_PIXBUF 1
5519
 
EOF
5520
 
 
5521
 
fi
5522
 
 
5523
 
 
5524
 
 
5525
 
CFLAGS="$CFLAGS -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Werror"
5526
 
 
5527
 
 
5528
 
trap '' 1 2 15
5529
 
cat > confcache <<\EOF
 
11804
CFLAGS="$CFLAGS -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
 
11805
 
 
11806
 
 
11807
                                                                                ac_config_files="$ac_config_files intl/Makefile po/Makefile.in m4/Makefile Makefile libexif-gtk/Makefile libexif-gtk/libexif-gtk.pc gtk-extensions/Makefile tests/Makefile"
 
11808
cat >confcache <<\_ACEOF
5530
11809
# This file is a shell script that caches the results of configure
5531
11810
# tests run on this system so they can be shared between configure
5532
 
# scripts and configure runs.  It is not useful on other systems.
5533
 
# If it contains results you don't want to keep, you may remove or edit it.
5534
 
#
5535
 
# By default, configure uses ./config.cache as the cache file,
5536
 
# creating it if it does not exist already.  You can give configure
5537
 
# the --cache-file=FILE option to use a different cache file; that is
5538
 
# what configure does when it calls configure scripts in
5539
 
# subdirectories, so they share the cache.
5540
 
# Giving --cache-file=/dev/null disables caching, for debugging configure.
5541
 
# config.status only pays attention to the cache file if you give it the
5542
 
# --recheck option to rerun configure.
5543
 
#
5544
 
EOF
 
11811
# scripts and configure runs, see configure's option --config-cache.
 
11812
# It is not useful on other systems.  If it contains results you don't
 
11813
# want to keep, you may remove or edit it.
 
11814
#
 
11815
# config.status only pays attention to the cache file if you give it
 
11816
# the --recheck option to rerun configure.
 
11817
#
 
11818
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
11819
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
11820
# following values.
 
11821
 
 
11822
_ACEOF
 
11823
 
5545
11824
# The following way of writing the cache mishandles newlines in values,
5546
11825
# but we know of no workaround that is simple, portable, and efficient.
5547
11826
# So, don't put newlines in cache variables' values.
5548
11827
# Ultrix sh set writes to stderr and can't be redirected directly,
5549
11828
# and sets the high bit in the cache file unless we assign to the vars.
5550
 
(set) 2>&1 |
5551
 
  case `(ac_space=' '; set | grep ac_space) 2>&1` in
5552
 
  *ac_space=\ *)
5553
 
    # `set' does not quote correctly, so add quotes (double-quote substitution
5554
 
    # turns \\\\ into \\, and sed turns \\ into \).
5555
 
    sed -n \
5556
 
      -e "s/'/'\\\\''/g" \
5557
 
      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5558
 
    ;;
5559
 
  *)
5560
 
    # `set' quotes correctly as required by POSIX, so do not add quotes.
5561
 
    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5562
 
    ;;
5563
 
  esac >> confcache
5564
 
if cmp -s $cache_file confcache; then
5565
 
  :
5566
 
else
 
11829
{
 
11830
  (set) 2>&1 |
 
11831
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
 
11832
    *ac_space=\ *)
 
11833
      # `set' does not quote correctly, so add quotes (double-quote
 
11834
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
11835
      sed -n \
 
11836
        "s/'/'\\\\''/g;
 
11837
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
11838
      ;;
 
11839
    *)
 
11840
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
11841
      sed -n \
 
11842
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
11843
      ;;
 
11844
    esac;
 
11845
} |
 
11846
  sed '
 
11847
     t clear
 
11848
     : clear
 
11849
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
11850
     t end
 
11851
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
11852
     : end' >>confcache
 
11853
if cmp -s $cache_file confcache; then :; else
5567
11854
  if test -w $cache_file; then
5568
 
    echo "updating cache $cache_file"
5569
 
    cat confcache > $cache_file
 
11855
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
11856
    cat confcache >$cache_file
5570
11857
  else
5571
11858
    echo "not updating unwritable cache $cache_file"
5572
11859
  fi
5573
11860
fi
5574
11861
rm -f confcache
5575
11862
 
5576
 
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
5577
 
 
5578
11863
test "x$prefix" = xNONE && prefix=$ac_default_prefix
5579
11864
# Let make expand exec_prefix.
5580
11865
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5581
11866
 
5582
 
# Any assignment to VPATH causes Sun make to only execute
5583
 
# the first set of double-colon rules, so remove it if not needed.
5584
 
# If there is a colon in the path, we need to keep it.
 
11867
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
11868
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
11869
# trailing colons and then remove the whole line if VPATH becomes empty
 
11870
# (actually we leave an empty line to preserve line numbers).
5585
11871
if test "x$srcdir" = x.; then
5586
 
  ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
 
11872
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
 
11873
s/:*\$(srcdir):*/:/;
 
11874
s/:*\${srcdir}:*/:/;
 
11875
s/:*@srcdir@:*/:/;
 
11876
s/^\([^=]*=[    ]*\):*/\1/;
 
11877
s/:*$//;
 
11878
s/^[^=]*=[      ]*$//;
 
11879
}'
5587
11880
fi
5588
11881
 
5589
 
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
5590
 
 
5591
11882
DEFS=-DHAVE_CONFIG_H
5592
11883
 
5593
 
# Without the "./", some shells look in PATH for config.status.
 
11884
ac_libobjs=
 
11885
ac_ltlibobjs=
 
11886
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
11887
  # 1. Remove the extension, and $U if already installed.
 
11888
  ac_i=`echo "$ac_i" |
 
11889
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
11890
  # 2. Add them.
 
11891
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
 
11892
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
11893
done
 
11894
LIBOBJS=$ac_libobjs
 
11895
 
 
11896
LTLIBOBJS=$ac_ltlibobjs
 
11897
 
 
11898
 
 
11899
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 
11900
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 
11901
Usually this means the macro was only invoked conditionally." >&5
 
11902
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 
11903
Usually this means the macro was only invoked conditionally." >&2;}
 
11904
   { (exit 1); exit 1; }; }
 
11905
fi
 
11906
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
11907
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
11908
Usually this means the macro was only invoked conditionally." >&5
 
11909
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
11910
Usually this means the macro was only invoked conditionally." >&2;}
 
11911
   { (exit 1); exit 1; }; }
 
11912
fi
 
11913
 
5594
11914
: ${CONFIG_STATUS=./config.status}
5595
 
 
5596
 
echo creating $CONFIG_STATUS
5597
 
rm -f $CONFIG_STATUS
5598
 
cat > $CONFIG_STATUS <<EOF
5599
 
#! /bin/sh
5600
 
# Generated automatically by configure.
 
11915
ac_clean_files_save=$ac_clean_files
 
11916
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
11917
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
11918
echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
11919
cat >$CONFIG_STATUS <<_ACEOF
 
11920
#! $SHELL
 
11921
# Generated by $as_me.
5601
11922
# Run this file to recreate the current configuration.
5602
 
# This directory was configured as follows,
5603
 
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
5604
 
#
5605
 
# $0 $ac_configure_args
5606
 
#
5607
11923
# Compiler output produced by configure, useful for debugging
5608
 
# configure, is in ./config.log if it exists.
5609
 
 
5610
 
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
5611
 
for ac_option
5612
 
do
5613
 
  case "\$ac_option" in
 
11924
# configure, is in config.log if it exists.
 
11925
 
 
11926
debug=false
 
11927
SHELL=\${CONFIG_SHELL-$SHELL}
 
11928
_ACEOF
 
11929
 
 
11930
cat >>$CONFIG_STATUS <<\_ACEOF
 
11931
## --------------------- ##
 
11932
## M4sh Initialization.  ##
 
11933
## --------------------- ##
 
11934
 
 
11935
# Be Bourne compatible
 
11936
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
11937
  emulate sh
 
11938
  NULLCMD=:
 
11939
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
11940
  # is contrary to our usage.  Disable this feature.
 
11941
  alias -g '${1+"$@"}'='"$@"'
 
11942
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 
11943
  set -o posix
 
11944
fi
 
11945
 
 
11946
# Support unset when possible.
 
11947
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
11948
  as_unset=unset
 
11949
else
 
11950
  as_unset=false
 
11951
fi
 
11952
 
 
11953
 
 
11954
# Work around bugs in pre-3.0 UWIN ksh.
 
11955
$as_unset ENV MAIL MAILPATH
 
11956
PS1='$ '
 
11957
PS2='> '
 
11958
PS4='+ '
 
11959
 
 
11960
# NLS nuisances.
 
11961
for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
 
11962
do
 
11963
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
11964
    eval $as_var=C; export $as_var
 
11965
  else
 
11966
    $as_unset $as_var
 
11967
  fi
 
11968
done
 
11969
 
 
11970
# Required to use basename.
 
11971
if expr a : '\(a\)' >/dev/null 2>&1; then
 
11972
  as_expr=expr
 
11973
else
 
11974
  as_expr=false
 
11975
fi
 
11976
 
 
11977
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
11978
  as_basename=basename
 
11979
else
 
11980
  as_basename=false
 
11981
fi
 
11982
 
 
11983
 
 
11984
# Name of the executable.
 
11985
as_me=`$as_basename "$0" ||
 
11986
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
11987
         X"$0" : 'X\(//\)$' \| \
 
11988
         X"$0" : 'X\(/\)$' \| \
 
11989
         .     : '\(.\)' 2>/dev/null ||
 
11990
echo X/"$0" |
 
11991
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
11992
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
11993
          /^X\/\(\/\).*/{ s//\1/; q; }
 
11994
          s/.*/./; q'`
 
11995
 
 
11996
 
 
11997
# PATH needs CR, and LINENO needs CR and PATH.
 
11998
# Avoid depending upon Character Ranges.
 
11999
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
12000
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
12001
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
12002
as_cr_digits='0123456789'
 
12003
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
12004
 
 
12005
# The user is always right.
 
12006
if test "${PATH_SEPARATOR+set}" != set; then
 
12007
  echo "#! /bin/sh" >conftest.sh
 
12008
  echo  "exit 0"   >>conftest.sh
 
12009
  chmod +x conftest.sh
 
12010
  if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
 
12011
    PATH_SEPARATOR=';'
 
12012
  else
 
12013
    PATH_SEPARATOR=:
 
12014
  fi
 
12015
  rm -f conftest.sh
 
12016
fi
 
12017
 
 
12018
 
 
12019
  as_lineno_1=$LINENO
 
12020
  as_lineno_2=$LINENO
 
12021
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
12022
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
12023
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 
12024
  # Find who we are.  Look in the path if we contain no path at all
 
12025
  # relative or not.
 
12026
  case $0 in
 
12027
    *[\\/]* ) as_myself=$0 ;;
 
12028
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12029
for as_dir in $PATH
 
12030
do
 
12031
  IFS=$as_save_IFS
 
12032
  test -z "$as_dir" && as_dir=.
 
12033
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
12034
done
 
12035
 
 
12036
       ;;
 
12037
  esac
 
12038
  # We did not find ourselves, most probably we were run as `sh COMMAND'
 
12039
  # in which case we are not to be found in the path.
 
12040
  if test "x$as_myself" = x; then
 
12041
    as_myself=$0
 
12042
  fi
 
12043
  if test ! -f "$as_myself"; then
 
12044
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
 
12045
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
 
12046
   { (exit 1); exit 1; }; }
 
12047
  fi
 
12048
  case $CONFIG_SHELL in
 
12049
  '')
 
12050
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12051
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
12052
do
 
12053
  IFS=$as_save_IFS
 
12054
  test -z "$as_dir" && as_dir=.
 
12055
  for as_base in sh bash ksh sh5; do
 
12056
         case $as_dir in
 
12057
         /*)
 
12058
           if ("$as_dir/$as_base" -c '
 
12059
  as_lineno_1=$LINENO
 
12060
  as_lineno_2=$LINENO
 
12061
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
12062
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
12063
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
12064
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
12065
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 
12066
             CONFIG_SHELL=$as_dir/$as_base
 
12067
             export CONFIG_SHELL
 
12068
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
12069
           fi;;
 
12070
         esac
 
12071
       done
 
12072
done
 
12073
;;
 
12074
  esac
 
12075
 
 
12076
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
12077
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
12078
  # line-number line before each line; the second 'sed' does the real
 
12079
  # work.  The second script uses 'N' to pair each line-number line
 
12080
  # with the numbered line, and appends trailing '-' during
 
12081
  # substitution so that $LINENO is not a special case at line end.
 
12082
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
12083
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 
12084
  sed '=' <$as_myself |
 
12085
    sed '
 
12086
      N
 
12087
      s,$,-,
 
12088
      : loop
 
12089
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
12090
      t loop
 
12091
      s,-$,,
 
12092
      s,^['$as_cr_digits']*\n,,
 
12093
    ' >$as_me.lineno &&
 
12094
  chmod +x $as_me.lineno ||
 
12095
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
 
12096
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
12097
   { (exit 1); exit 1; }; }
 
12098
 
 
12099
  # Don't try to exec as it changes $[0], causing all sort of problems
 
12100
  # (the dirname of $[0] is not the place where we might find the
 
12101
  # original and so on.  Autoconf is especially sensible to this).
 
12102
  . ./$as_me.lineno
 
12103
  # Exit status is that of the last command.
 
12104
  exit
 
12105
}
 
12106
 
 
12107
 
 
12108
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
12109
  *c*,-n*) ECHO_N= ECHO_C='
 
12110
' ECHO_T='      ' ;;
 
12111
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
12112
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
12113
esac
 
12114
 
 
12115
if expr a : '\(a\)' >/dev/null 2>&1; then
 
12116
  as_expr=expr
 
12117
else
 
12118
  as_expr=false
 
12119
fi
 
12120
 
 
12121
rm -f conf$$ conf$$.exe conf$$.file
 
12122
echo >conf$$.file
 
12123
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
12124
  # We could just check for DJGPP; but this test a) works b) is more generic
 
12125
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 
12126
  if test -f conf$$.exe; then
 
12127
    # Don't use ln at all; we don't have any links
 
12128
    as_ln_s='cp -p'
 
12129
  else
 
12130
    as_ln_s='ln -s'
 
12131
  fi
 
12132
elif ln conf$$.file conf$$ 2>/dev/null; then
 
12133
  as_ln_s=ln
 
12134
else
 
12135
  as_ln_s='cp -p'
 
12136
fi
 
12137
rm -f conf$$ conf$$.exe conf$$.file
 
12138
 
 
12139
if mkdir -p . 2>/dev/null; then
 
12140
  as_mkdir_p=:
 
12141
else
 
12142
  as_mkdir_p=false
 
12143
fi
 
12144
 
 
12145
as_executable_p="test -f"
 
12146
 
 
12147
# Sed expression to map a string onto a valid CPP name.
 
12148
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
12149
 
 
12150
# Sed expression to map a string onto a valid variable name.
 
12151
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
12152
 
 
12153
 
 
12154
# IFS
 
12155
# We need space, tab and new line, in precisely that order.
 
12156
as_nl='
 
12157
'
 
12158
IFS="   $as_nl"
 
12159
 
 
12160
# CDPATH.
 
12161
$as_unset CDPATH
 
12162
 
 
12163
exec 6>&1
 
12164
 
 
12165
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
12166
# report actual input values of CONFIG_FILES etc. instead of their
 
12167
# values after options handling.  Logging --version etc. is OK.
 
12168
exec 5>>config.log
 
12169
{
 
12170
  echo
 
12171
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
12172
## Running $as_me. ##
 
12173
_ASBOX
 
12174
} >&5
 
12175
cat >&5 <<_CSEOF
 
12176
 
 
12177
This file was extended by $as_me, which was
 
12178
generated by GNU Autoconf 2.54.  Invocation command line was
 
12179
 
 
12180
  CONFIG_FILES    = $CONFIG_FILES
 
12181
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
12182
  CONFIG_LINKS    = $CONFIG_LINKS
 
12183
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
12184
  $ $0 $@
 
12185
 
 
12186
_CSEOF
 
12187
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
 
12188
echo >&5
 
12189
_ACEOF
 
12190
 
 
12191
# Files that config.status was made for.
 
12192
if test -n "$ac_config_files"; then
 
12193
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
 
12194
fi
 
12195
 
 
12196
if test -n "$ac_config_headers"; then
 
12197
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
 
12198
fi
 
12199
 
 
12200
if test -n "$ac_config_links"; then
 
12201
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
 
12202
fi
 
12203
 
 
12204
if test -n "$ac_config_commands"; then
 
12205
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
 
12206
fi
 
12207
 
 
12208
cat >>$CONFIG_STATUS <<\_ACEOF
 
12209
 
 
12210
ac_cs_usage="\
 
12211
\`$as_me' instantiates files from templates according to the
 
12212
current configuration.
 
12213
 
 
12214
Usage: $0 [OPTIONS] [FILE]...
 
12215
 
 
12216
  -h, --help       print this help, then exit
 
12217
  -V, --version    print version number, then exit
 
12218
  -d, --debug      don't remove temporary files
 
12219
      --recheck    update $as_me by reconfiguring in the same conditions
 
12220
  --file=FILE[:TEMPLATE]
 
12221
                   instantiate the configuration file FILE
 
12222
  --header=FILE[:TEMPLATE]
 
12223
                   instantiate the configuration header FILE
 
12224
 
 
12225
Configuration files:
 
12226
$config_files
 
12227
 
 
12228
Configuration headers:
 
12229
$config_headers
 
12230
 
 
12231
Configuration commands:
 
12232
$config_commands
 
12233
 
 
12234
Report bugs to <bug-autoconf@gnu.org>."
 
12235
_ACEOF
 
12236
 
 
12237
cat >>$CONFIG_STATUS <<_ACEOF
 
12238
ac_cs_version="\\
 
12239
config.status
 
12240
configured by $0, generated by GNU Autoconf 2.54,
 
12241
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
12242
 
 
12243
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
 
12244
Free Software Foundation, Inc.
 
12245
This config.status script is free software; the Free Software Foundation
 
12246
gives unlimited permission to copy, distribute and modify it."
 
12247
srcdir=$srcdir
 
12248
INSTALL="$INSTALL"
 
12249
_ACEOF
 
12250
 
 
12251
cat >>$CONFIG_STATUS <<\_ACEOF
 
12252
# If no file are specified by the user, then we need to provide default
 
12253
# value.  By we need to know if files were specified by the user.
 
12254
ac_need_defaults=:
 
12255
while test $# != 0
 
12256
do
 
12257
  case $1 in
 
12258
  --*=*)
 
12259
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
 
12260
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
12261
    ac_shift=:
 
12262
    ;;
 
12263
  -*)
 
12264
    ac_option=$1
 
12265
    ac_optarg=$2
 
12266
    ac_shift=shift
 
12267
    ;;
 
12268
  *) # This is not an option, so the user has probably given explicit
 
12269
     # arguments.
 
12270
     ac_option=$1
 
12271
     ac_need_defaults=false;;
 
12272
  esac
 
12273
 
 
12274
  case $ac_option in
 
12275
  # Handling of the options.
 
12276
_ACEOF
 
12277
cat >>$CONFIG_STATUS <<_ACEOF
5614
12278
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5615
 
    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
5616
 
    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
5617
 
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
5618
 
    echo "$CONFIG_STATUS generated by autoconf version 2.13"
5619
 
    exit 0 ;;
5620
 
  -help | --help | --hel | --he | --h)
5621
 
    echo "\$ac_cs_usage"; exit 0 ;;
5622
 
  *) echo "\$ac_cs_usage"; exit 1 ;;
5623
 
  esac
5624
 
done
5625
 
 
5626
 
ac_given_srcdir=$srcdir
5627
 
ac_given_INSTALL="$INSTALL"
5628
 
 
5629
 
trap 'rm -fr `echo "
5630
 
  Makefile
5631
 
  libexif-gtk/Makefile
5632
 
  libexif-gtk/libexif-gtk.pc
5633
 
  gtk-extensions/Makefile
5634
 
 config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
5635
 
EOF
5636
 
cat >> $CONFIG_STATUS <<EOF
5637
 
 
5638
 
# Protect against being on the right side of a sed subst in config.status.
5639
 
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
5640
 
 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
5641
 
$ac_vpsub
 
12279
    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
 
12280
    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
 
12281
_ACEOF
 
12282
cat >>$CONFIG_STATUS <<\_ACEOF
 
12283
  --version | --vers* | -V )
 
12284
    echo "$ac_cs_version"; exit 0 ;;
 
12285
  --he | --h)
 
12286
    # Conflict between --help and --header
 
12287
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
 
12288
Try \`$0 --help' for more information." >&5
 
12289
echo "$as_me: error: ambiguous option: $1
 
12290
Try \`$0 --help' for more information." >&2;}
 
12291
   { (exit 1); exit 1; }; };;
 
12292
  --help | --hel | -h )
 
12293
    echo "$ac_cs_usage"; exit 0 ;;
 
12294
  --debug | --d* | -d )
 
12295
    debug=: ;;
 
12296
  --file | --fil | --fi | --f )
 
12297
    $ac_shift
 
12298
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
12299
    ac_need_defaults=false;;
 
12300
  --header | --heade | --head | --hea )
 
12301
    $ac_shift
 
12302
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
12303
    ac_need_defaults=false;;
 
12304
 
 
12305
  # This is an error.
 
12306
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
 
12307
Try \`$0 --help' for more information." >&5
 
12308
echo "$as_me: error: unrecognized option: $1
 
12309
Try \`$0 --help' for more information." >&2;}
 
12310
   { (exit 1); exit 1; }; } ;;
 
12311
 
 
12312
  *) ac_config_targets="$ac_config_targets $1" ;;
 
12313
 
 
12314
  esac
 
12315
  shift
 
12316
done
 
12317
 
 
12318
_ACEOF
 
12319
 
 
12320
cat >>$CONFIG_STATUS <<_ACEOF
 
12321
#
 
12322
# INIT-COMMANDS section.
 
12323
#
 
12324
 
 
12325
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
12326
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
 
12327
    # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
 
12328
    # from automake.
 
12329
    eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
 
12330
    # Capture the value of LINGUAS because we need it to compute CATALOGS.
 
12331
    LINGUAS="${LINGUAS-%UNSET%}"
 
12332
 
 
12333
 
 
12334
_ACEOF
 
12335
 
 
12336
 
 
12337
 
 
12338
cat >>$CONFIG_STATUS <<\_ACEOF
 
12339
for ac_config_target in $ac_config_targets
 
12340
do
 
12341
  case "$ac_config_target" in
 
12342
  # Handling of arguments.
 
12343
  "intl/Makefile" ) CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;;
 
12344
  "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
12345
  "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
 
12346
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
12347
  "libexif-gtk/Makefile" ) CONFIG_FILES="$CONFIG_FILES libexif-gtk/Makefile" ;;
 
12348
  "libexif-gtk/libexif-gtk.pc" ) CONFIG_FILES="$CONFIG_FILES libexif-gtk/libexif-gtk.pc" ;;
 
12349
  "gtk-extensions/Makefile" ) CONFIG_FILES="$CONFIG_FILES gtk-extensions/Makefile" ;;
 
12350
  "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
 
12351
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
12352
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
12353
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
12354
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
12355
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
12356
   { (exit 1); exit 1; }; };;
 
12357
  esac
 
12358
done
 
12359
 
 
12360
# If the user did not use the arguments to specify the items to instantiate,
 
12361
# then the envvar interface is used.  Set only those that are not.
 
12362
# We use the long form for the default assignment because of an extremely
 
12363
# bizarre bug on SunOS 4.1.3.
 
12364
if $ac_need_defaults; then
 
12365
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
12366
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
12367
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
12368
fi
 
12369
 
 
12370
# Create a temporary directory, and hook for its removal unless debugging.
 
12371
$debug ||
 
12372
{
 
12373
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
12374
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
12375
}
 
12376
 
 
12377
# Create a (secure) tmp directory for tmp files.
 
12378
: ${TMPDIR=/tmp}
 
12379
{
 
12380
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
 
12381
  test -n "$tmp" && test -d "$tmp"
 
12382
}  ||
 
12383
{
 
12384
  tmp=$TMPDIR/cs$$-$RANDOM
 
12385
  (umask 077 && mkdir $tmp)
 
12386
} ||
 
12387
{
 
12388
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
 
12389
   { (exit 1); exit 1; }
 
12390
}
 
12391
 
 
12392
_ACEOF
 
12393
 
 
12394
cat >>$CONFIG_STATUS <<_ACEOF
 
12395
 
 
12396
#
 
12397
# CONFIG_FILES section.
 
12398
#
 
12399
 
 
12400
# No need to generate the scripts if there are no CONFIG_FILES.
 
12401
# This happens for instance when ./config.status config.h
 
12402
if test -n "\$CONFIG_FILES"; then
 
12403
  # Protect against being on the right side of a sed subst in config.status.
 
12404
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
 
12405
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
 
12406
s,@SHELL@,$SHELL,;t t
 
12407
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
 
12408
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
 
12409
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
 
12410
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
 
12411
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
 
12412
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
 
12413
s,@exec_prefix@,$exec_prefix,;t t
 
12414
s,@prefix@,$prefix,;t t
 
12415
s,@program_transform_name@,$program_transform_name,;t t
 
12416
s,@bindir@,$bindir,;t t
 
12417
s,@sbindir@,$sbindir,;t t
 
12418
s,@libexecdir@,$libexecdir,;t t
 
12419
s,@datadir@,$datadir,;t t
 
12420
s,@sysconfdir@,$sysconfdir,;t t
 
12421
s,@sharedstatedir@,$sharedstatedir,;t t
 
12422
s,@localstatedir@,$localstatedir,;t t
 
12423
s,@libdir@,$libdir,;t t
 
12424
s,@includedir@,$includedir,;t t
 
12425
s,@oldincludedir@,$oldincludedir,;t t
 
12426
s,@infodir@,$infodir,;t t
 
12427
s,@mandir@,$mandir,;t t
 
12428
s,@build_alias@,$build_alias,;t t
 
12429
s,@host_alias@,$host_alias,;t t
 
12430
s,@target_alias@,$target_alias,;t t
 
12431
s,@DEFS@,$DEFS,;t t
 
12432
s,@ECHO_C@,$ECHO_C,;t t
 
12433
s,@ECHO_N@,$ECHO_N,;t t
 
12434
s,@ECHO_T@,$ECHO_T,;t t
 
12435
s,@LIBS@,$LIBS,;t t
 
12436
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
 
12437
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
 
12438
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
 
12439
s,@PACKAGE@,$PACKAGE,;t t
 
12440
s,@VERSION@,$VERSION,;t t
 
12441
s,@ACLOCAL@,$ACLOCAL,;t t
 
12442
s,@AUTOCONF@,$AUTOCONF,;t t
 
12443
s,@AUTOMAKE@,$AUTOMAKE,;t t
 
12444
s,@AUTOHEADER@,$AUTOHEADER,;t t
 
12445
s,@MAKEINFO@,$MAKEINFO,;t t
 
12446
s,@AMTAR@,$AMTAR,;t t
 
12447
s,@install_sh@,$install_sh,;t t
 
12448
s,@STRIP@,$STRIP,;t t
 
12449
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
 
12450
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 
12451
s,@AWK@,$AWK,;t t
 
12452
s,@SET_MAKE@,$SET_MAKE,;t t
 
12453
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
 
12454
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
 
12455
s,@MAINT@,$MAINT,;t t
 
12456
s,@CC@,$CC,;t t
 
12457
s,@CFLAGS@,$CFLAGS,;t t
 
12458
s,@LDFLAGS@,$LDFLAGS,;t t
 
12459
s,@CPPFLAGS@,$CPPFLAGS,;t t
 
12460
s,@ac_ct_CC@,$ac_ct_CC,;t t
 
12461
s,@EXEEXT@,$EXEEXT,;t t
 
12462
s,@OBJEXT@,$OBJEXT,;t t
 
12463
s,@DEPDIR@,$DEPDIR,;t t
 
12464
s,@am__include@,$am__include,;t t
 
12465
s,@am__quote@,$am__quote,;t t
 
12466
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
 
12467
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
 
12468
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
 
12469
s,@CCDEPMODE@,$CCDEPMODE,;t t
 
12470
s,@CPP@,$CPP,;t t
 
12471
s,@EGREP@,$EGREP,;t t
 
12472
s,@LIBEXIF_GTK_AGE@,$LIBEXIF_GTK_AGE,;t t
 
12473
s,@LIBEXIF_GTK_REVISION@,$LIBEXIF_GTK_REVISION,;t t
 
12474
s,@LIBEXIF_GTK_CURRENT@,$LIBEXIF_GTK_CURRENT,;t t
 
12475
s,@LIBEXIF_GTK_VERSION_INFO@,$LIBEXIF_GTK_VERSION_INFO,;t t
 
12476
s,@build@,$build,;t t
 
12477
s,@build_cpu@,$build_cpu,;t t
 
12478
s,@build_vendor@,$build_vendor,;t t
 
12479
s,@build_os@,$build_os,;t t
 
12480
s,@host@,$host,;t t
 
12481
s,@host_cpu@,$host_cpu,;t t
 
12482
s,@host_vendor@,$host_vendor,;t t
 
12483
s,@host_os@,$host_os,;t t
 
12484
s,@LN_S@,$LN_S,;t t
 
12485
s,@ECHO@,$ECHO,;t t
 
12486
s,@RANLIB@,$RANLIB,;t t
 
12487
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
 
12488
s,@LIBTOOL@,$LIBTOOL,;t t
 
12489
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
 
12490
s,@MSGFMT@,$MSGFMT,;t t
 
12491
s,@GMSGFMT@,$GMSGFMT,;t t
 
12492
s,@XGETTEXT@,$XGETTEXT,;t t
 
12493
s,@MSGMERGE@,$MSGMERGE,;t t
 
12494
s,@ALLOCA@,$ALLOCA,;t t
 
12495
s,@GLIBC21@,$GLIBC21,;t t
 
12496
s,@LIBICONV@,$LIBICONV,;t t
 
12497
s,@LTLIBICONV@,$LTLIBICONV,;t t
 
12498
s,@INTLBISON@,$INTLBISON,;t t
 
12499
s,@USE_NLS@,$USE_NLS,;t t
 
12500
s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
 
12501
s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
 
12502
s,@CATOBJEXT@,$CATOBJEXT,;t t
 
12503
s,@INTLOBJS@,$INTLOBJS,;t t
 
12504
s,@DATADIRNAME@,$DATADIRNAME,;t t
 
12505
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
 
12506
s,@GENCAT@,$GENCAT,;t t
 
12507
s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
 
12508
s,@INTLLIBS@,$INTLLIBS,;t t
 
12509
s,@LIBINTL@,$LIBINTL,;t t
 
12510
s,@LTLIBINTL@,$LTLIBINTL,;t t
 
12511
s,@POSUB@,$POSUB,;t t
 
12512
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
 
12513
s,@LIBEXIF_GTK_CFLAGS@,$LIBEXIF_GTK_CFLAGS,;t t
 
12514
s,@LIBEXIF_GTK_LIBS@,$LIBEXIF_GTK_LIBS,;t t
 
12515
s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
 
12516
s,@GTK_LIBS@,$GTK_LIBS,;t t
 
12517
s,@LIBOBJS@,$LIBOBJS,;t t
 
12518
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
 
12519
CEOF
 
12520
 
 
12521
_ACEOF
 
12522
 
 
12523
  cat >>$CONFIG_STATUS <<\_ACEOF
 
12524
  # Split the substitutions into bite-sized pieces for seds with
 
12525
  # small command number limits, like on Digital OSF/1 and HP-UX.
 
12526
  ac_max_sed_lines=48
 
12527
  ac_sed_frag=1 # Number of current file.
 
12528
  ac_beg=1 # First line for current file.
 
12529
  ac_end=$ac_max_sed_lines # Line after last line for current file.
 
12530
  ac_more_lines=:
 
12531
  ac_sed_cmds=
 
12532
  while $ac_more_lines; do
 
12533
    if test $ac_beg -gt 1; then
 
12534
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
12535
    else
 
12536
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
12537
    fi
 
12538
    if test ! -s $tmp/subs.frag; then
 
12539
      ac_more_lines=false
 
12540
    else
 
12541
      # The purpose of the label and of the branching condition is to
 
12542
      # speed up the sed processing (if there are no `@' at all, there
 
12543
      # is no need to browse any of the substitutions).
 
12544
      # These are the two extra sed commands mentioned above.
 
12545
      (echo ':t
 
12546
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
 
12547
      if test -z "$ac_sed_cmds"; then
 
12548
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
12549
      else
 
12550
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
12551
      fi
 
12552
      ac_sed_frag=`expr $ac_sed_frag + 1`
 
12553
      ac_beg=$ac_end
 
12554
      ac_end=`expr $ac_end + $ac_max_sed_lines`
 
12555
    fi
 
12556
  done
 
12557
  if test -z "$ac_sed_cmds"; then
 
12558
    ac_sed_cmds=cat
 
12559
  fi
 
12560
fi # test -n "$CONFIG_FILES"
 
12561
 
 
12562
_ACEOF
 
12563
cat >>$CONFIG_STATUS <<\_ACEOF
 
12564
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
 
12565
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
12566
  case $ac_file in
 
12567
  - | *:- | *:-:* ) # input from stdin
 
12568
        cat >$tmp/stdin
 
12569
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
12570
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
12571
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
12572
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
12573
  * )   ac_file_in=$ac_file.in ;;
 
12574
  esac
 
12575
 
 
12576
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
 
12577
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
12578
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
12579
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
12580
         X"$ac_file" : 'X\(//\)$' \| \
 
12581
         X"$ac_file" : 'X\(/\)' \| \
 
12582
         .     : '\(.\)' 2>/dev/null ||
 
12583
echo X"$ac_file" |
 
12584
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
12585
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
12586
          /^X\(\/\/\)$/{ s//\1/; q; }
 
12587
          /^X\(\/\).*/{ s//\1/; q; }
 
12588
          s/.*/./; q'`
 
12589
  { if $as_mkdir_p; then
 
12590
    mkdir -p "$ac_dir"
 
12591
  else
 
12592
    as_dir="$ac_dir"
 
12593
    as_dirs=
 
12594
    while test ! -d "$as_dir"; do
 
12595
      as_dirs="$as_dir $as_dirs"
 
12596
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
12597
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
12598
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
12599
         X"$as_dir" : 'X\(//\)$' \| \
 
12600
         X"$as_dir" : 'X\(/\)' \| \
 
12601
         .     : '\(.\)' 2>/dev/null ||
 
12602
echo X"$as_dir" |
 
12603
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
12604
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
12605
          /^X\(\/\/\)$/{ s//\1/; q; }
 
12606
          /^X\(\/\).*/{ s//\1/; q; }
 
12607
          s/.*/./; q'`
 
12608
    done
 
12609
    test ! -n "$as_dirs" || mkdir $as_dirs
 
12610
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
12611
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
12612
   { (exit 1); exit 1; }; }; }
 
12613
 
 
12614
  ac_builddir=.
 
12615
 
 
12616
if test "$ac_dir" != .; then
 
12617
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
12618
  # A "../" for each directory in $ac_dir_suffix.
 
12619
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
12620
else
 
12621
  ac_dir_suffix= ac_top_builddir=
 
12622
fi
 
12623
 
 
12624
case $srcdir in
 
12625
  .)  # No --srcdir option.  We are building in place.
 
12626
    ac_srcdir=.
 
12627
    if test -z "$ac_top_builddir"; then
 
12628
       ac_top_srcdir=.
 
12629
    else
 
12630
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
12631
    fi ;;
 
12632
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
12633
    ac_srcdir=$srcdir$ac_dir_suffix;
 
12634
    ac_top_srcdir=$srcdir ;;
 
12635
  *) # Relative path.
 
12636
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
12637
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
12638
esac
 
12639
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
 
12640
# absolute.
 
12641
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
 
12642
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
 
12643
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
 
12644
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
12645
 
 
12646
 
 
12647
  case $INSTALL in
 
12648
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
12649
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
12650
  esac
 
12651
 
 
12652
  if test x"$ac_file" != x-; then
 
12653
    { echo "$as_me:$LINENO: creating $ac_file" >&5
 
12654
echo "$as_me: creating $ac_file" >&6;}
 
12655
    rm -f "$ac_file"
 
12656
  fi
 
12657
  # Let's still pretend it is `configure' which instantiates (i.e., don't
 
12658
  # use $as_me), people would be surprised to read:
 
12659
  #    /* config.h.  Generated by config.status.  */
 
12660
  if test x"$ac_file" = x-; then
 
12661
    configure_input=
 
12662
  else
 
12663
    configure_input="$ac_file.  "
 
12664
  fi
 
12665
  configure_input=$configure_input"Generated from `echo $ac_file_in |
 
12666
                                     sed 's,.*/,,'` by configure."
 
12667
 
 
12668
  # First look for the input files in the build tree, otherwise in the
 
12669
  # src tree.
 
12670
  ac_file_inputs=`IFS=:
 
12671
    for f in $ac_file_in; do
 
12672
      case $f in
 
12673
      -) echo $tmp/stdin ;;
 
12674
      [\\/$]*)
 
12675
         # Absolute (can't be DOS-style, as IFS=:)
 
12676
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
12677
echo "$as_me: error: cannot find input file: $f" >&2;}
 
12678
   { (exit 1); exit 1; }; }
 
12679
         echo $f;;
 
12680
      *) # Relative
 
12681
         if test -f "$f"; then
 
12682
           # Build tree
 
12683
           echo $f
 
12684
         elif test -f "$srcdir/$f"; then
 
12685
           # Source tree
 
12686
           echo $srcdir/$f
 
12687
         else
 
12688
           # /dev/null tree
 
12689
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
12690
echo "$as_me: error: cannot find input file: $f" >&2;}
 
12691
   { (exit 1); exit 1; }; }
 
12692
         fi;;
 
12693
      esac
 
12694
    done` || { (exit 1); exit 1; }
 
12695
_ACEOF
 
12696
cat >>$CONFIG_STATUS <<_ACEOF
 
12697
  sed "$ac_vpsub
5642
12698
$extrasub
5643
 
s%@SHELL@%$SHELL%g
5644
 
s%@CFLAGS@%$CFLAGS%g
5645
 
s%@CPPFLAGS@%$CPPFLAGS%g
5646
 
s%@CXXFLAGS@%$CXXFLAGS%g
5647
 
s%@FFLAGS@%$FFLAGS%g
5648
 
s%@DEFS@%$DEFS%g
5649
 
s%@LDFLAGS@%$LDFLAGS%g
5650
 
s%@LIBS@%$LIBS%g
5651
 
s%@exec_prefix@%$exec_prefix%g
5652
 
s%@prefix@%$prefix%g
5653
 
s%@program_transform_name@%$program_transform_name%g
5654
 
s%@bindir@%$bindir%g
5655
 
s%@sbindir@%$sbindir%g
5656
 
s%@libexecdir@%$libexecdir%g
5657
 
s%@datadir@%$datadir%g
5658
 
s%@sysconfdir@%$sysconfdir%g
5659
 
s%@sharedstatedir@%$sharedstatedir%g
5660
 
s%@localstatedir@%$localstatedir%g
5661
 
s%@libdir@%$libdir%g
5662
 
s%@includedir@%$includedir%g
5663
 
s%@oldincludedir@%$oldincludedir%g
5664
 
s%@infodir@%$infodir%g
5665
 
s%@mandir@%$mandir%g
5666
 
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
5667
 
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
5668
 
s%@INSTALL_DATA@%$INSTALL_DATA%g
5669
 
s%@PACKAGE@%$PACKAGE%g
5670
 
s%@VERSION@%$VERSION%g
5671
 
s%@ACLOCAL@%$ACLOCAL%g
5672
 
s%@AUTOCONF@%$AUTOCONF%g
5673
 
s%@AUTOMAKE@%$AUTOMAKE%g
5674
 
s%@AUTOHEADER@%$AUTOHEADER%g
5675
 
s%@MAKEINFO@%$MAKEINFO%g
5676
 
s%@SET_MAKE@%$SET_MAKE%g
5677
 
s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
5678
 
s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
5679
 
s%@MAINT@%$MAINT%g
5680
 
s%@LIBEXIF_GTK_AGE@%$LIBEXIF_GTK_AGE%g
5681
 
s%@LIBEXIF_GTK_REVISION@%$LIBEXIF_GTK_REVISION%g
5682
 
s%@LIBEXIF_GTK_CURRENT@%$LIBEXIF_GTK_CURRENT%g
5683
 
s%@host@%$host%g
5684
 
s%@host_alias@%$host_alias%g
5685
 
s%@host_cpu@%$host_cpu%g
5686
 
s%@host_vendor@%$host_vendor%g
5687
 
s%@host_os@%$host_os%g
5688
 
s%@build@%$build%g
5689
 
s%@build_alias@%$build_alias%g
5690
 
s%@build_cpu@%$build_cpu%g
5691
 
s%@build_vendor@%$build_vendor%g
5692
 
s%@build_os@%$build_os%g
5693
 
s%@CC@%$CC%g
5694
 
s%@LN_S@%$LN_S%g
5695
 
s%@OBJEXT@%$OBJEXT%g
5696
 
s%@EXEEXT@%$EXEEXT%g
5697
 
s%@ECHO@%$ECHO%g
5698
 
s%@RANLIB@%$RANLIB%g
5699
 
s%@STRIP@%$STRIP%g
5700
 
s%@CPP@%$CPP%g
5701
 
s%@LIBTOOL@%$LIBTOOL%g
5702
 
s%@PKG_CONFIG@%$PKG_CONFIG%g
5703
 
s%@LIBEXIF_GTK_CFLAGS@%$LIBEXIF_GTK_CFLAGS%g
5704
 
s%@LIBEXIF_GTK_LIBS@%$LIBEXIF_GTK_LIBS%g
5705
 
s%@GTK_CFLAGS@%$GTK_CFLAGS%g
5706
 
s%@GTK_LIBS@%$GTK_LIBS%g
5707
 
s%@GDK_PIXBUF_CONFIG@%$GDK_PIXBUF_CONFIG%g
5708
 
s%@GDK_PIXBUF_CFLAGS@%$GDK_PIXBUF_CFLAGS%g
5709
 
s%@GDK_PIXBUF_LIBS@%$GDK_PIXBUF_LIBS%g
5710
 
 
5711
 
CEOF
5712
 
EOF
5713
 
 
5714
 
cat >> $CONFIG_STATUS <<\EOF
5715
 
 
5716
 
# Split the substitutions into bite-sized pieces for seds with
5717
 
# small command number limits, like on Digital OSF/1 and HP-UX.
5718
 
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
5719
 
ac_file=1 # Number of current file.
5720
 
ac_beg=1 # First line for current file.
5721
 
ac_end=$ac_max_sed_cmds # Line after last line for current file.
5722
 
ac_more_lines=:
5723
 
ac_sed_cmds=""
5724
 
while $ac_more_lines; do
5725
 
  if test $ac_beg -gt 1; then
5726
 
    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
5727
 
  else
5728
 
    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
5729
 
  fi
5730
 
  if test ! -s conftest.s$ac_file; then
5731
 
    ac_more_lines=false
5732
 
    rm -f conftest.s$ac_file
5733
 
  else
5734
 
    if test -z "$ac_sed_cmds"; then
5735
 
      ac_sed_cmds="sed -f conftest.s$ac_file"
5736
 
    else
5737
 
      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
5738
 
    fi
5739
 
    ac_file=`expr $ac_file + 1`
5740
 
    ac_beg=$ac_end
5741
 
    ac_end=`expr $ac_end + $ac_max_sed_cmds`
5742
 
  fi
 
12699
_ACEOF
 
12700
cat >>$CONFIG_STATUS <<\_ACEOF
 
12701
:t
 
12702
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
12703
s,@configure_input@,$configure_input,;t t
 
12704
s,@srcdir@,$ac_srcdir,;t t
 
12705
s,@abs_srcdir@,$ac_abs_srcdir,;t t
 
12706
s,@top_srcdir@,$ac_top_srcdir,;t t
 
12707
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
 
12708
s,@builddir@,$ac_builddir,;t t
 
12709
s,@abs_builddir@,$ac_abs_builddir,;t t
 
12710
s,@top_builddir@,$ac_top_builddir,;t t
 
12711
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
 
12712
s,@INSTALL@,$ac_INSTALL,;t t
 
12713
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
 
12714
  rm -f $tmp/stdin
 
12715
  if test x"$ac_file" != x-; then
 
12716
    mv $tmp/out $ac_file
 
12717
  else
 
12718
    cat $tmp/out
 
12719
    rm -f $tmp/out
 
12720
  fi
 
12721
 
5743
12722
done
5744
 
if test -z "$ac_sed_cmds"; then
5745
 
  ac_sed_cmds=cat
5746
 
fi
5747
 
EOF
5748
 
 
5749
 
cat >> $CONFIG_STATUS <<EOF
5750
 
 
5751
 
CONFIG_FILES=\${CONFIG_FILES-"Makefile
5752
 
  libexif-gtk/Makefile
5753
 
  libexif-gtk/libexif-gtk.pc
5754
 
  gtk-extensions/Makefile
5755
 
"}
5756
 
EOF
5757
 
cat >> $CONFIG_STATUS <<\EOF
5758
 
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
5759
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5760
 
  case "$ac_file" in
5761
 
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
5762
 
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
5763
 
  *) ac_file_in="${ac_file}.in" ;;
5764
 
  esac
5765
 
 
5766
 
  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
5767
 
 
5768
 
  # Remove last slash and all that follows it.  Not all systems have dirname.
5769
 
  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
5770
 
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
5771
 
    # The file is in a subdirectory.
5772
 
    test ! -d "$ac_dir" && mkdir "$ac_dir"
5773
 
    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
5774
 
    # A "../" for each directory in $ac_dir_suffix.
5775
 
    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
5776
 
  else
5777
 
    ac_dir_suffix= ac_dots=
5778
 
  fi
5779
 
 
5780
 
  case "$ac_given_srcdir" in
5781
 
  .)  srcdir=.
5782
 
      if test -z "$ac_dots"; then top_srcdir=.
5783
 
      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
5784
 
  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
5785
 
  *) # Relative path.
5786
 
    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
5787
 
    top_srcdir="$ac_dots$ac_given_srcdir" ;;
5788
 
  esac
5789
 
 
5790
 
  case "$ac_given_INSTALL" in
5791
 
  [/$]*) INSTALL="$ac_given_INSTALL" ;;
5792
 
  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
5793
 
  esac
5794
 
 
5795
 
  echo creating "$ac_file"
5796
 
  rm -f "$ac_file"
5797
 
  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
5798
 
  case "$ac_file" in
5799
 
  *Makefile*) ac_comsub="1i\\
5800
 
# $configure_input" ;;
5801
 
  *) ac_comsub= ;;
5802
 
  esac
5803
 
 
5804
 
  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
5805
 
  sed -e "$ac_comsub
5806
 
s%@configure_input@%$configure_input%g
5807
 
s%@srcdir@%$srcdir%g
5808
 
s%@top_srcdir@%$top_srcdir%g
5809
 
s%@INSTALL@%$INSTALL%g
5810
 
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
5811
 
fi; done
5812
 
rm -f conftest.s*
 
12723
_ACEOF
 
12724
cat >>$CONFIG_STATUS <<\_ACEOF
 
12725
 
 
12726
#
 
12727
# CONFIG_HEADER section.
 
12728
#
5813
12729
 
5814
12730
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5815
12731
# NAME is the cpp macro being defined and VALUE is the value it is being given.
5816
12732
#
5817
12733
# ac_d sets the value in "#define NAME VALUE" lines.
5818
 
ac_dA='s%^\([   ]*\)#\([        ]*define[       ][      ]*\)'
5819
 
ac_dB='\([      ][      ]*\)[^  ]*%\1#\2'
5820
 
ac_dC='\3'
5821
 
ac_dD='%g'
5822
 
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
5823
 
ac_uA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
5824
 
ac_uB='\([      ]\)%\1#\2define\3'
 
12734
ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
 
12735
ac_dB='[        ].*$,\1#\2'
 
12736
ac_dC=' '
 
12737
ac_dD=',;t'
 
12738
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
 
12739
ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
 
12740
ac_uB='$,\1#\2define\3'
5825
12741
ac_uC=' '
5826
 
ac_uD='\4%g'
5827
 
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5828
 
ac_eA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
5829
 
ac_eB='$%\1#\2define\3'
5830
 
ac_eC=' '
5831
 
ac_eD='%g'
 
12742
ac_uD=',;t'
5832
12743
 
5833
 
if test "${CONFIG_HEADERS+set}" != set; then
5834
 
EOF
5835
 
cat >> $CONFIG_STATUS <<EOF
5836
 
  CONFIG_HEADERS="config.h"
5837
 
EOF
5838
 
cat >> $CONFIG_STATUS <<\EOF
5839
 
fi
5840
 
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
 
12744
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5841
12745
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5842
 
  case "$ac_file" in
5843
 
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
5844
 
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
5845
 
  *) ac_file_in="${ac_file}.in" ;;
 
12746
  case $ac_file in
 
12747
  - | *:- | *:-:* ) # input from stdin
 
12748
        cat >$tmp/stdin
 
12749
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
12750
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
12751
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
12752
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
12753
  * )   ac_file_in=$ac_file.in ;;
5846
12754
  esac
5847
12755
 
5848
 
  echo creating $ac_file
5849
 
 
5850
 
  rm -f conftest.frag conftest.in conftest.out
5851
 
  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
5852
 
  cat $ac_file_inputs > conftest.in
5853
 
 
5854
 
EOF
5855
 
 
5856
 
# Transform confdefs.h into a sed script conftest.vals that substitutes
5857
 
# the proper values into config.h.in to produce config.h.  And first:
5858
 
# Protect against being on the right side of a sed subst in config.status.
5859
 
# Protect against being in an unquoted here document in config.status.
5860
 
rm -f conftest.vals
5861
 
cat > conftest.hdr <<\EOF
5862
 
s/[\\&%]/\\&/g
5863
 
s%[\\$`]%\\&%g
5864
 
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
5865
 
s%ac_d%ac_u%gp
5866
 
s%ac_u%ac_e%gp
5867
 
EOF
5868
 
sed -n -f conftest.hdr confdefs.h > conftest.vals
5869
 
rm -f conftest.hdr
 
12756
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
 
12757
echo "$as_me: creating $ac_file" >&6;}
 
12758
 
 
12759
  # First look for the input files in the build tree, otherwise in the
 
12760
  # src tree.
 
12761
  ac_file_inputs=`IFS=:
 
12762
    for f in $ac_file_in; do
 
12763
      case $f in
 
12764
      -) echo $tmp/stdin ;;
 
12765
      [\\/$]*)
 
12766
         # Absolute (can't be DOS-style, as IFS=:)
 
12767
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
12768
echo "$as_me: error: cannot find input file: $f" >&2;}
 
12769
   { (exit 1); exit 1; }; }
 
12770
         echo $f;;
 
12771
      *) # Relative
 
12772
         if test -f "$f"; then
 
12773
           # Build tree
 
12774
           echo $f
 
12775
         elif test -f "$srcdir/$f"; then
 
12776
           # Source tree
 
12777
           echo $srcdir/$f
 
12778
         else
 
12779
           # /dev/null tree
 
12780
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
12781
echo "$as_me: error: cannot find input file: $f" >&2;}
 
12782
   { (exit 1); exit 1; }; }
 
12783
         fi;;
 
12784
      esac
 
12785
    done` || { (exit 1); exit 1; }
 
12786
  # Remove the trailing spaces.
 
12787
  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
 
12788
 
 
12789
_ACEOF
 
12790
 
 
12791
# Transform confdefs.h into two sed scripts, `conftest.defines' and
 
12792
# `conftest.undefs', that substitutes the proper values into
 
12793
# config.h.in to produce config.h.  The first handles `#define'
 
12794
# templates, and the second `#undef' templates.
 
12795
# And first: Protect against being on the right side of a sed subst in
 
12796
# config.status.  Protect against being in an unquoted here document
 
12797
# in config.status.
 
12798
rm -f conftest.defines conftest.undefs
 
12799
# Using a here document instead of a string reduces the quoting nightmare.
 
12800
# Putting comments in sed scripts is not portable.
 
12801
#
 
12802
# `end' is used to avoid that the second main sed command (meant for
 
12803
# 0-ary CPP macros) applies to n-ary macro definitions.
 
12804
# See the Autoconf documentation for `clear'.
 
12805
cat >confdef2sed.sed <<\_ACEOF
 
12806
s/[\\&,]/\\&/g
 
12807
s,[\\$`],\\&,g
 
12808
t clear
 
12809
: clear
 
12810
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 
12811
t end
 
12812
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 
12813
: end
 
12814
_ACEOF
 
12815
# If some macros were called several times there might be several times
 
12816
# the same #defines, which is useless.  Nevertheless, we may not want to
 
12817
# sort them, since we want the *last* AC-DEFINE to be honored.
 
12818
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
 
12819
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
 
12820
rm -f confdef2sed.sed
5870
12821
 
5871
12822
# This sed command replaces #undef with comments.  This is necessary, for
5872
12823
# example, in the case of _POSIX_SOURCE, which is predefined and required
5873
12824
# on some systems where configure will not decide to define it.
5874
 
cat >> conftest.vals <<\EOF
5875
 
s%^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
5876
 
EOF
5877
 
 
5878
 
# Break up conftest.vals because some shells have a limit on
5879
 
# the size of here documents, and old seds have small limits too.
5880
 
 
5881
 
rm -f conftest.tail
5882
 
while :
5883
 
do
5884
 
  ac_lines=`grep -c . conftest.vals`
5885
 
  # grep -c gives empty output for an empty file on some AIX systems.
5886
 
  if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
5887
 
  # Write a limited-size here document to conftest.frag.
5888
 
  echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
5889
 
  sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
5890
 
  echo 'CEOF
5891
 
  sed -f conftest.frag conftest.in > conftest.out
5892
 
  rm -f conftest.in
5893
 
  mv conftest.out conftest.in
5894
 
' >> $CONFIG_STATUS
5895
 
  sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
5896
 
  rm -f conftest.vals
5897
 
  mv conftest.tail conftest.vals
5898
 
done
5899
 
rm -f conftest.vals
5900
 
 
5901
 
cat >> $CONFIG_STATUS <<\EOF
5902
 
  rm -f conftest.frag conftest.h
5903
 
  echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
5904
 
  cat conftest.in >> conftest.h
5905
 
  rm -f conftest.in
5906
 
  if cmp -s $ac_file conftest.h 2>/dev/null; then
5907
 
    echo "$ac_file is unchanged"
5908
 
    rm -f conftest.h
5909
 
  else
5910
 
    # Remove last slash and all that follows it.  Not all systems have dirname.
5911
 
      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
5912
 
      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
5913
 
      # The file is in a subdirectory.
5914
 
      test ! -d "$ac_dir" && mkdir "$ac_dir"
 
12825
cat >>conftest.undefs <<\_ACEOF
 
12826
s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
12827
_ACEOF
 
12828
 
 
12829
# Break up conftest.defines because some shells have a limit on the size
 
12830
# of here documents, and old seds have small limits too (100 cmds).
 
12831
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
 
12832
echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 
12833
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
 
12834
echo '  :' >>$CONFIG_STATUS
 
12835
rm -f conftest.tail
 
12836
while grep . conftest.defines >/dev/null
 
12837
do
 
12838
  # Write a limited-size here document to $tmp/defines.sed.
 
12839
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
 
12840
  # Speed up: don't consider the non `#define' lines.
 
12841
  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
 
12842
  # Work around the forget-to-reset-the-flag bug.
 
12843
  echo 't clr' >>$CONFIG_STATUS
 
12844
  echo ': clr' >>$CONFIG_STATUS
 
12845
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
12846
  echo 'CEOF
 
12847
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
 
12848
  rm -f $tmp/in
 
12849
  mv $tmp/out $tmp/in
 
12850
' >>$CONFIG_STATUS
 
12851
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
12852
  rm -f conftest.defines
 
12853
  mv conftest.tail conftest.defines
 
12854
done
 
12855
rm -f conftest.defines
 
12856
echo '  fi # grep' >>$CONFIG_STATUS
 
12857
echo >>$CONFIG_STATUS
 
12858
 
 
12859
# Break up conftest.undefs because some shells have a limit on the size
 
12860
# of here documents, and old seds have small limits too (100 cmds).
 
12861
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
 
12862
rm -f conftest.tail
 
12863
while grep . conftest.undefs >/dev/null
 
12864
do
 
12865
  # Write a limited-size here document to $tmp/undefs.sed.
 
12866
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
 
12867
  # Speed up: don't consider the non `#undef'
 
12868
  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
 
12869
  # Work around the forget-to-reset-the-flag bug.
 
12870
  echo 't clr' >>$CONFIG_STATUS
 
12871
  echo ': clr' >>$CONFIG_STATUS
 
12872
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
 
12873
  echo 'CEOF
 
12874
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
 
12875
  rm -f $tmp/in
 
12876
  mv $tmp/out $tmp/in
 
12877
' >>$CONFIG_STATUS
 
12878
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
 
12879
  rm -f conftest.undefs
 
12880
  mv conftest.tail conftest.undefs
 
12881
done
 
12882
rm -f conftest.undefs
 
12883
 
 
12884
cat >>$CONFIG_STATUS <<\_ACEOF
 
12885
  # Let's still pretend it is `configure' which instantiates (i.e., don't
 
12886
  # use $as_me), people would be surprised to read:
 
12887
  #    /* config.h.  Generated by config.status.  */
 
12888
  if test x"$ac_file" = x-; then
 
12889
    echo "/* Generated by configure.  */" >$tmp/config.h
 
12890
  else
 
12891
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
 
12892
  fi
 
12893
  cat $tmp/in >>$tmp/config.h
 
12894
  rm -f $tmp/in
 
12895
  if test x"$ac_file" != x-; then
 
12896
    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
 
12897
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
12898
echo "$as_me: $ac_file is unchanged" >&6;}
 
12899
    else
 
12900
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
12901
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
12902
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
12903
         X"$ac_file" : 'X\(//\)$' \| \
 
12904
         X"$ac_file" : 'X\(/\)' \| \
 
12905
         .     : '\(.\)' 2>/dev/null ||
 
12906
echo X"$ac_file" |
 
12907
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
12908
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
12909
          /^X\(\/\/\)$/{ s//\1/; q; }
 
12910
          /^X\(\/\).*/{ s//\1/; q; }
 
12911
          s/.*/./; q'`
 
12912
      { if $as_mkdir_p; then
 
12913
    mkdir -p "$ac_dir"
 
12914
  else
 
12915
    as_dir="$ac_dir"
 
12916
    as_dirs=
 
12917
    while test ! -d "$as_dir"; do
 
12918
      as_dirs="$as_dir $as_dirs"
 
12919
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
12920
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
12921
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
12922
         X"$as_dir" : 'X\(//\)$' \| \
 
12923
         X"$as_dir" : 'X\(/\)' \| \
 
12924
         .     : '\(.\)' 2>/dev/null ||
 
12925
echo X"$as_dir" |
 
12926
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
12927
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
12928
          /^X\(\/\/\)$/{ s//\1/; q; }
 
12929
          /^X\(\/\).*/{ s//\1/; q; }
 
12930
          s/.*/./; q'`
 
12931
    done
 
12932
    test ! -n "$as_dirs" || mkdir $as_dirs
 
12933
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
12934
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
12935
   { (exit 1); exit 1; }; }; }
 
12936
 
 
12937
      rm -f $ac_file
 
12938
      mv $tmp/config.h $ac_file
5915
12939
    fi
5916
 
    rm -f $ac_file
5917
 
    mv conftest.h $ac_file
5918
 
  fi
5919
 
fi; done
5920
 
 
5921
 
EOF
5922
 
cat >> $CONFIG_STATUS <<EOF
5923
 
 
5924
 
 
5925
 
EOF
5926
 
cat >> $CONFIG_STATUS <<\EOF
5927
 
test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
5928
 
 
5929
 
exit 0
5930
 
EOF
 
12940
  else
 
12941
    cat $tmp/config.h
 
12942
    rm -f $tmp/config.h
 
12943
  fi
 
12944
  # Run the commands associated with the file.
 
12945
  case $ac_file in
 
12946
    config.h ) # update the timestamp
 
12947
echo 'timestamp for config.h' >"./stamp-h1"
 
12948
 ;;
 
12949
  esac
 
12950
done
 
12951
_ACEOF
 
12952
cat >>$CONFIG_STATUS <<\_ACEOF
 
12953
 
 
12954
#
 
12955
# CONFIG_COMMANDS section.
 
12956
#
 
12957
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
 
12958
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
 
12959
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
12960
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
 
12961
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
12962
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
12963
         X"$ac_dest" : 'X\(//\)$' \| \
 
12964
         X"$ac_dest" : 'X\(/\)' \| \
 
12965
         .     : '\(.\)' 2>/dev/null ||
 
12966
echo X"$ac_dest" |
 
12967
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
12968
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
12969
          /^X\(\/\/\)$/{ s//\1/; q; }
 
12970
          /^X\(\/\).*/{ s//\1/; q; }
 
12971
          s/.*/./; q'`
 
12972
  ac_builddir=.
 
12973
 
 
12974
if test "$ac_dir" != .; then
 
12975
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
12976
  # A "../" for each directory in $ac_dir_suffix.
 
12977
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
12978
else
 
12979
  ac_dir_suffix= ac_top_builddir=
 
12980
fi
 
12981
 
 
12982
case $srcdir in
 
12983
  .)  # No --srcdir option.  We are building in place.
 
12984
    ac_srcdir=.
 
12985
    if test -z "$ac_top_builddir"; then
 
12986
       ac_top_srcdir=.
 
12987
    else
 
12988
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
12989
    fi ;;
 
12990
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
12991
    ac_srcdir=$srcdir$ac_dir_suffix;
 
12992
    ac_top_srcdir=$srcdir ;;
 
12993
  *) # Relative path.
 
12994
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
12995
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
12996
esac
 
12997
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
 
12998
# absolute.
 
12999
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
 
13000
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
 
13001
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
 
13002
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
13003
 
 
13004
 
 
13005
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
 
13006
echo "$as_me: executing $ac_dest commands" >&6;}
 
13007
  case $ac_dest in
 
13008
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
13009
  # Strip MF so we end up with the name of the file.
 
13010
  mf=`echo "$mf" | sed -e 's/:.*$//'`
 
13011
  # Check whether this is an Automake generated Makefile or not.
 
13012
  # We used to match only the files named `Makefile.in', but
 
13013
  # some people rename them; so instead we look at the file content.
 
13014
  # Grep'ing the first line is not enough: some people post-process
 
13015
  # each Makefile.in and add a new line on top of each file to say so.
 
13016
  # So let's grep whole file.
 
13017
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
13018
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
13019
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
13020
         X"$mf" : 'X\(//\)[^/]' \| \
 
13021
         X"$mf" : 'X\(//\)$' \| \
 
13022
         X"$mf" : 'X\(/\)' \| \
 
13023
         .     : '\(.\)' 2>/dev/null ||
 
13024
echo X"$mf" |
 
13025
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
13026
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
13027
          /^X\(\/\/\)$/{ s//\1/; q; }
 
13028
          /^X\(\/\).*/{ s//\1/; q; }
 
13029
          s/.*/./; q'`
 
13030
  else
 
13031
    continue
 
13032
  fi
 
13033
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
 
13034
  # Extract the definition of DEP_FILES from the Makefile without
 
13035
  # running `make'.
 
13036
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
13037
  test -z "$DEPDIR" && continue
 
13038
  # When using ansi2knr, U may be empty or an underscore; expand it
 
13039
  U=`sed -n -e '/^U = / s///p' < "$mf"`
 
13040
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
 
13041
  # We invoke sed twice because it is the simplest approach to
 
13042
  # changing $(DEPDIR) to its actual value in the expansion.
 
13043
  for file in `sed -n -e '
 
13044
    /^DEP_FILES = .*\\\\$/ {
 
13045
      s/^DEP_FILES = //
 
13046
      :loop
 
13047
        s/\\\\$//
 
13048
        p
 
13049
        n
 
13050
        /\\\\$/ b loop
 
13051
      p
 
13052
    }
 
13053
    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
 
13054
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
13055
    # Make sure the directory exists.
 
13056
    test -f "$dirpart/$file" && continue
 
13057
    fdir=`(dirname "$file") 2>/dev/null ||
 
13058
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
13059
         X"$file" : 'X\(//\)[^/]' \| \
 
13060
         X"$file" : 'X\(//\)$' \| \
 
13061
         X"$file" : 'X\(/\)' \| \
 
13062
         .     : '\(.\)' 2>/dev/null ||
 
13063
echo X"$file" |
 
13064
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
13065
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
13066
          /^X\(\/\/\)$/{ s//\1/; q; }
 
13067
          /^X\(\/\).*/{ s//\1/; q; }
 
13068
          s/.*/./; q'`
 
13069
    { if $as_mkdir_p; then
 
13070
    mkdir -p $dirpart/$fdir
 
13071
  else
 
13072
    as_dir=$dirpart/$fdir
 
13073
    as_dirs=
 
13074
    while test ! -d "$as_dir"; do
 
13075
      as_dirs="$as_dir $as_dirs"
 
13076
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
13077
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
13078
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
13079
         X"$as_dir" : 'X\(//\)$' \| \
 
13080
         X"$as_dir" : 'X\(/\)' \| \
 
13081
         .     : '\(.\)' 2>/dev/null ||
 
13082
echo X"$as_dir" |
 
13083
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
13084
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
13085
          /^X\(\/\/\)$/{ s//\1/; q; }
 
13086
          /^X\(\/\).*/{ s//\1/; q; }
 
13087
          s/.*/./; q'`
 
13088
    done
 
13089
    test ! -n "$as_dirs" || mkdir $as_dirs
 
13090
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
 
13091
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
13092
   { (exit 1); exit 1; }; }; }
 
13093
 
 
13094
    # echo "creating $dirpart/$file"
 
13095
    echo '# dummy' > "$dirpart/$file"
 
13096
  done
 
13097
done
 
13098
 ;;
 
13099
    default-1 )
 
13100
    for ac_file in $CONFIG_FILES; do
 
13101
      # Support "outfile[:infile[:infile...]]"
 
13102
      case "$ac_file" in
 
13103
        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
 
13104
      esac
 
13105
      # PO directories have a Makefile.in generated from Makefile.in.in.
 
13106
      case "$ac_file" in */Makefile.in)
 
13107
        # Adjust a relative srcdir.
 
13108
        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
 
13109
        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
 
13110
        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
 
13111
        # In autoconf-2.13 it is called $ac_given_srcdir.
 
13112
        # In autoconf-2.50 it is called $srcdir.
 
13113
        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
 
13114
        case "$ac_given_srcdir" in
 
13115
          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
 
13116
          /*) top_srcdir="$ac_given_srcdir" ;;
 
13117
          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
 
13118
        esac
 
13119
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
 
13120
          rm -f "$ac_dir/POTFILES"
 
13121
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
 
13122
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
 
13123
          # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
 
13124
          # on $ac_dir but don't depend on user-specified configuration
 
13125
          # parameters.
 
13126
          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
 
13127
            # The LINGUAS file contains the set of available languages.
 
13128
            if test -n "$ALL_LINGUAS"; then
 
13129
              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
 
13130
            fi
 
13131
            ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
 
13132
            # Hide the ALL_LINGUAS assigment from automake.
 
13133
            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
 
13134
          fi
 
13135
          case "$ac_given_srcdir" in
 
13136
            .) srcdirpre= ;;
 
13137
            *) srcdirpre='$(srcdir)/' ;;
 
13138
          esac
 
13139
          POFILES=
 
13140
          GMOFILES=
 
13141
          UPDATEPOFILES=
 
13142
          DUMMYPOFILES=
 
13143
          for lang in $ALL_LINGUAS; do
 
13144
            POFILES="$POFILES $srcdirpre$lang.po"
 
13145
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
 
13146
            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
 
13147
            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
 
13148
          done
 
13149
          # CATALOGS depends on both $ac_dir and the user's LINGUAS
 
13150
          # environment variable.
 
13151
          INST_LINGUAS=
 
13152
          if test -n "$ALL_LINGUAS"; then
 
13153
            for presentlang in $ALL_LINGUAS; do
 
13154
              useit=no
 
13155
              if test "%UNSET%" != "$LINGUAS"; then
 
13156
                desiredlanguages="$LINGUAS"
 
13157
              else
 
13158
                desiredlanguages="$ALL_LINGUAS"
 
13159
              fi
 
13160
              for desiredlang in $desiredlanguages; do
 
13161
                # Use the presentlang catalog if desiredlang is
 
13162
                #   a. equal to presentlang, or
 
13163
                #   b. a variant of presentlang (because in this case,
 
13164
                #      presentlang can be used as a fallback for messages
 
13165
                #      which are not translated in the desiredlang catalog).
 
13166
                case "$desiredlang" in
 
13167
                  "$presentlang"*) useit=yes;;
 
13168
                esac
 
13169
              done
 
13170
              if test $useit = yes; then
 
13171
                INST_LINGUAS="$INST_LINGUAS $presentlang"
 
13172
              fi
 
13173
            done
 
13174
          fi
 
13175
          CATALOGS=
 
13176
          if test -n "$INST_LINGUAS"; then
 
13177
            for lang in $INST_LINGUAS; do
 
13178
              CATALOGS="$CATALOGS $lang.gmo"
 
13179
            done
 
13180
          fi
 
13181
          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
 
13182
          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
 
13183
          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
 
13184
            if test -f "$f"; then
 
13185
              case "$f" in
 
13186
                *.orig | *.bak | *~) ;;
 
13187
                *) cat "$f" >> "$ac_dir/Makefile" ;;
 
13188
              esac
 
13189
            fi
 
13190
          done
 
13191
        fi
 
13192
        ;;
 
13193
      esac
 
13194
    done ;;
 
13195
  esac
 
13196
done
 
13197
_ACEOF
 
13198
 
 
13199
cat >>$CONFIG_STATUS <<\_ACEOF
 
13200
 
 
13201
{ (exit 0); exit 0; }
 
13202
_ACEOF
5931
13203
chmod +x $CONFIG_STATUS
5932
 
rm -fr confdefs* $ac_clean_files
5933
 
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
 
13204
ac_clean_files=$ac_clean_files_save
 
13205
 
 
13206
 
 
13207
# configure is writing to config.log, and then calls config.status.
 
13208
# config.status does its own redirection, appending to config.log.
 
13209
# Unfortunately, on DOS this fails, as config.log is still kept open
 
13210
# by configure, so config.status won't be able to write to it; its
 
13211
# output is simply discarded.  So we exec the FD to /dev/null,
 
13212
# effectively closing config.log, so it can be properly (re)opened and
 
13213
# appended to by config.status.  When coming back to configure, we
 
13214
# need to make the FD available again.
 
13215
if test "$no_create" != yes; then
 
13216
  ac_cs_success=:
 
13217
  exec 5>/dev/null
 
13218
  $SHELL $CONFIG_STATUS || ac_cs_success=false
 
13219
  exec 5>>config.log
 
13220
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
13221
  # would make configure fail if this is the last instruction.
 
13222
  $ac_cs_success || { (exit 1); exit 1; }
 
13223
fi
5934
13224