~ubuntu-branches/ubuntu/saucy/libunique/saucy

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-12-02 21:26:48 UTC
  • mfrom: (2.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20091202212648-whzlibnidqo5pbh0
Tags: 1.1.6-1ubuntu1
* Sync on Debian
* debian/rules:
  - clean empty translation template it breaks builds

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.64 for unique 1.1.2.
 
3
# Generated by GNU Autoconf 2.63 for unique 1.1.6.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libunique>.
6
6
#
7
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9
 
# Foundation, Inc.
10
 
#
 
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
11
9
# This configure script is free software; the Free Software Foundation
12
10
# gives unlimited permission to copy, distribute and modify it.
13
 
## -------------------- ##
14
 
## M4sh Initialization. ##
15
 
## -------------------- ##
 
11
## --------------------- ##
 
12
## M4sh Initialization.  ##
 
13
## --------------------- ##
16
14
 
17
15
# Be more Bourne compatible
18
16
DUALCASE=1; export DUALCASE # for MKS sh
19
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20
18
  emulate sh
21
19
  NULLCMD=:
22
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24
22
  alias -g '${1+"$@"}'='"$@"'
25
23
  setopt NO_GLOB_SUBST
26
24
else
27
 
  case `(set -o) 2>/dev/null` in #(
28
 
  *posix*) :
29
 
    set -o posix ;; #(
30
 
  *) :
31
 
     ;;
 
25
  case `(set -o) 2>/dev/null` in
 
26
  *posix*) set -o posix ;;
32
27
esac
 
28
 
33
29
fi
34
30
 
35
31
 
 
32
 
 
33
 
 
34
# PATH needs CR
 
35
# Avoid depending upon Character Ranges.
 
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
39
as_cr_digits='0123456789'
 
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
41
 
36
42
as_nl='
37
43
'
38
44
export as_nl
40
46
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
48
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
 
# but without wasting forks for bash or zsh.
45
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47
 
  as_echo='print -r --'
48
 
  as_echo_n='print -rn --'
49
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
50
  as_echo='printf %s\n'
51
51
  as_echo_n='printf %s'
52
52
else
57
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
58
    as_echo_n_body='eval
59
59
      arg=$1;
60
 
      case $arg in #(
 
60
      case $arg in
61
61
      *"$as_nl"*)
62
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80
80
  }
81
81
fi
82
82
 
 
83
# Support unset when possible.
 
84
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
85
  as_unset=unset
 
86
else
 
87
  as_unset=false
 
88
fi
 
89
 
83
90
 
84
91
# IFS
85
92
# We need space, tab and new line, in precisely that order.  Quoting is
89
96
IFS=" ""        $as_nl"
90
97
 
91
98
# Find who we are.  Look in the path if we contain no directory separator.
92
 
case $0 in #((
 
99
case $0 in
93
100
  *[\\/]* ) as_myself=$0 ;;
94
101
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95
102
for as_dir in $PATH
96
103
do
97
104
  IFS=$as_save_IFS
98
105
  test -z "$as_dir" && as_dir=.
99
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100
 
  done
 
106
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
107
done
101
108
IFS=$as_save_IFS
102
109
 
103
110
     ;;
109
116
fi
110
117
if test ! -f "$as_myself"; then
111
118
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112
 
  exit 1
 
119
  { (exit 1); exit 1; }
113
120
fi
114
121
 
115
 
# Unset variables that we do not need and which cause bugs (e.g. in
116
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117
 
# suppresses any "Segmentation fault" message there.  '((' could
118
 
# trigger a bug in pdksh 5.2.14.
119
 
for as_var in BASH_ENV ENV MAIL MAILPATH
120
 
do eval test x\${$as_var+set} = xset \
121
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
122
# Work around bugs in pre-3.0 UWIN ksh.
 
123
for as_var in ENV MAIL MAILPATH
 
124
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
122
125
done
123
126
PS1='$ '
124
127
PS2='> '
130
133
LANGUAGE=C
131
134
export LANGUAGE
132
135
 
 
136
# Required to use basename.
 
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
138
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
139
  as_expr=expr
 
140
else
 
141
  as_expr=false
 
142
fi
 
143
 
 
144
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
145
  as_basename=basename
 
146
else
 
147
  as_basename=false
 
148
fi
 
149
 
 
150
 
 
151
# Name of the executable.
 
152
as_me=`$as_basename -- "$0" ||
 
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
154
         X"$0" : 'X\(//\)$' \| \
 
155
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
156
$as_echo X/"$0" |
 
157
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
158
            s//\1/
 
159
            q
 
160
          }
 
161
          /^X\/\(\/\/\)$/{
 
162
            s//\1/
 
163
            q
 
164
          }
 
165
          /^X\/\(\/\).*/{
 
166
            s//\1/
 
167
            q
 
168
          }
 
169
          s/.*/./; q'`
 
170
 
133
171
# CDPATH.
134
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
172
$as_unset CDPATH
 
173
 
135
174
 
136
175
if test "x$CONFIG_SHELL" = x; then
137
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138
 
  emulate sh
139
 
  NULLCMD=:
140
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
 
  # is contrary to our usage.  Disable this feature.
142
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
143
 
  setopt NO_GLOB_SUBST
144
 
else
145
 
  case \`(set -o) 2>/dev/null\` in #(
146
 
  *posix*) :
147
 
    set -o posix ;; #(
148
 
  *) :
149
 
     ;;
150
 
esac
151
 
fi
152
 
"
153
 
  as_required="as_fn_return () { (exit \$1); }
154
 
as_fn_success () { as_fn_return 0; }
155
 
as_fn_failure () { as_fn_return 1; }
156
 
as_fn_ret_success () { return 0; }
157
 
as_fn_ret_failure () { return 1; }
158
 
 
159
 
exitcode=0
160
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
 
 
166
 
else
167
 
  exitcode=1; echo positional parameters were not saved.
168
 
fi
169
 
test x\$exitcode = x0 || exit 1"
170
 
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
 
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
 
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
 
test \$(( 1 + 1 )) = 2 || exit 1"
175
 
  if (eval "$as_required") 2>/dev/null; then :
 
176
  if (eval ":") 2>/dev/null; then
176
177
  as_have_required=yes
177
178
else
178
179
  as_have_required=no
179
180
fi
180
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
 
 
182
 
else
183
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184
 
as_found=false
 
181
 
 
182
  if test $as_have_required = yes &&     (eval ":
 
183
(as_func_return () {
 
184
  (exit \$1)
 
185
}
 
186
as_func_success () {
 
187
  as_func_return 0
 
188
}
 
189
as_func_failure () {
 
190
  as_func_return 1
 
191
}
 
192
as_func_ret_success () {
 
193
  return 0
 
194
}
 
195
as_func_ret_failure () {
 
196
  return 1
 
197
}
 
198
 
 
199
exitcode=0
 
200
if as_func_success; then
 
201
  :
 
202
else
 
203
  exitcode=1
 
204
  echo as_func_success failed.
 
205
fi
 
206
 
 
207
if as_func_failure; then
 
208
  exitcode=1
 
209
  echo as_func_failure succeeded.
 
210
fi
 
211
 
 
212
if as_func_ret_success; then
 
213
  :
 
214
else
 
215
  exitcode=1
 
216
  echo as_func_ret_success failed.
 
217
fi
 
218
 
 
219
if as_func_ret_failure; then
 
220
  exitcode=1
 
221
  echo as_func_ret_failure succeeded.
 
222
fi
 
223
 
 
224
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
225
  :
 
226
else
 
227
  exitcode=1
 
228
  echo positional parameters were not saved.
 
229
fi
 
230
 
 
231
test \$exitcode = 0) || { (exit 1); exit 1; }
 
232
 
 
233
(
 
234
  as_lineno_1=\$LINENO
 
235
  as_lineno_2=\$LINENO
 
236
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
237
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
238
") 2> /dev/null; then
 
239
  :
 
240
else
 
241
  as_candidate_shells=
 
242
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185
243
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186
244
do
187
245
  IFS=$as_save_IFS
188
246
  test -z "$as_dir" && as_dir=.
189
 
  as_found=:
190
 
  case $as_dir in #(
 
247
  case $as_dir in
191
248
         /*)
192
249
           for as_base in sh bash ksh sh5; do
193
 
             # Try only shells that exist, to save several forks.
194
 
             as_shell=$as_dir/$as_base
195
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
 
  CONFIG_SHELL=$as_shell as_have_required=yes
198
 
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
 
  break 2
200
 
fi
201
 
fi
 
250
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
202
251
           done;;
203
252
       esac
204
 
  as_found=false
205
253
done
206
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208
 
  CONFIG_SHELL=$SHELL as_have_required=yes
209
 
fi; }
210
254
IFS=$as_save_IFS
211
255
 
212
256
 
213
 
      if test "x$CONFIG_SHELL" != x; then :
214
 
  # We cannot yet assume a decent shell, so we have to provide a
215
 
        # neutralization value for shells without unset; and this also
216
 
        # works around shells that cannot unset nonexistent variables.
217
 
        BASH_ENV=/dev/null
218
 
        ENV=/dev/null
219
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
257
      for as_shell in $as_candidate_shells $SHELL; do
 
258
         # Try only shells that exist, to save several forks.
 
259
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
260
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
262
  emulate sh
 
263
  NULLCMD=:
 
264
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
265
  # is contrary to our usage.  Disable this feature.
 
266
  alias -g '${1+"$@"}'='"$@"'
 
267
  setopt NO_GLOB_SUBST
 
268
else
 
269
  case `(set -o) 2>/dev/null` in
 
270
  *posix*) set -o posix ;;
 
271
esac
 
272
 
 
273
fi
 
274
 
 
275
 
 
276
:
 
277
_ASEOF
 
278
}; then
 
279
  CONFIG_SHELL=$as_shell
 
280
               as_have_required=yes
 
281
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
283
  emulate sh
 
284
  NULLCMD=:
 
285
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
286
  # is contrary to our usage.  Disable this feature.
 
287
  alias -g '${1+"$@"}'='"$@"'
 
288
  setopt NO_GLOB_SUBST
 
289
else
 
290
  case `(set -o) 2>/dev/null` in
 
291
  *posix*) set -o posix ;;
 
292
esac
 
293
 
 
294
fi
 
295
 
 
296
 
 
297
:
 
298
(as_func_return () {
 
299
  (exit $1)
 
300
}
 
301
as_func_success () {
 
302
  as_func_return 0
 
303
}
 
304
as_func_failure () {
 
305
  as_func_return 1
 
306
}
 
307
as_func_ret_success () {
 
308
  return 0
 
309
}
 
310
as_func_ret_failure () {
 
311
  return 1
 
312
}
 
313
 
 
314
exitcode=0
 
315
if as_func_success; then
 
316
  :
 
317
else
 
318
  exitcode=1
 
319
  echo as_func_success failed.
 
320
fi
 
321
 
 
322
if as_func_failure; then
 
323
  exitcode=1
 
324
  echo as_func_failure succeeded.
 
325
fi
 
326
 
 
327
if as_func_ret_success; then
 
328
  :
 
329
else
 
330
  exitcode=1
 
331
  echo as_func_ret_success failed.
 
332
fi
 
333
 
 
334
if as_func_ret_failure; then
 
335
  exitcode=1
 
336
  echo as_func_ret_failure succeeded.
 
337
fi
 
338
 
 
339
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
340
  :
 
341
else
 
342
  exitcode=1
 
343
  echo positional parameters were not saved.
 
344
fi
 
345
 
 
346
test $exitcode = 0) || { (exit 1); exit 1; }
 
347
 
 
348
(
 
349
  as_lineno_1=$LINENO
 
350
  as_lineno_2=$LINENO
 
351
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
352
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
353
 
 
354
_ASEOF
 
355
}; then
 
356
  break
 
357
fi
 
358
 
 
359
fi
 
360
 
 
361
      done
 
362
 
 
363
      if test "x$CONFIG_SHELL" != x; then
 
364
  for as_var in BASH_ENV ENV
 
365
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
366
        done
220
367
        export CONFIG_SHELL
221
368
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222
369
fi
223
370
 
224
 
    if test x$as_have_required = xno; then :
225
 
  $as_echo "$0: This script requires a shell more modern than all"
226
 
  $as_echo "$0: the shells that I found on your system."
227
 
  if test x${ZSH_VERSION+set} = xset ; then
228
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230
 
  else
231
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
232
 
$0: http://bugzilla.gnome.org/enter_bug.cgi?product=libunique
233
 
$0: about your system, including any error possibly output
234
 
$0: before this message. Then install a modern shell, or
235
 
$0: manually run the script under such a shell if you do
236
 
$0: have one."
237
 
  fi
238
 
  exit 1
239
 
fi
240
 
fi
241
 
fi
242
 
SHELL=${CONFIG_SHELL-/bin/sh}
243
 
export SHELL
244
 
# Unset more variables known to interfere with behavior of common tools.
245
 
CLICOLOR_FORCE= GREP_OPTIONS=
246
 
unset CLICOLOR_FORCE GREP_OPTIONS
247
 
 
248
 
## --------------------- ##
249
 
## M4sh Shell Functions. ##
250
 
## --------------------- ##
251
 
# as_fn_unset VAR
252
 
# ---------------
253
 
# Portably unset VAR.
254
 
as_fn_unset ()
255
 
{
256
 
  { eval $1=; unset $1;}
257
 
}
258
 
as_unset=as_fn_unset
259
 
 
260
 
# as_fn_set_status STATUS
261
 
# -----------------------
262
 
# Set $? to STATUS, without forking.
263
 
as_fn_set_status ()
264
 
{
265
 
  return $1
266
 
} # as_fn_set_status
267
 
 
268
 
# as_fn_exit STATUS
269
 
# -----------------
270
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
271
 
as_fn_exit ()
272
 
{
273
 
  set +e
274
 
  as_fn_set_status $1
275
 
  exit $1
276
 
} # as_fn_exit
277
 
 
278
 
# as_fn_mkdir_p
279
 
# -------------
280
 
# Create "$as_dir" as a directory, including parents if necessary.
281
 
as_fn_mkdir_p ()
282
 
{
283
 
 
284
 
  case $as_dir in #(
285
 
  -*) as_dir=./$as_dir;;
286
 
  esac
287
 
  test -d "$as_dir" || eval $as_mkdir_p || {
288
 
    as_dirs=
289
 
    while :; do
290
 
      case $as_dir in #(
291
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292
 
      *) as_qdir=$as_dir;;
293
 
      esac
294
 
      as_dirs="'$as_qdir' $as_dirs"
295
 
      as_dir=`$as_dirname -- "$as_dir" ||
296
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
297
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
298
 
         X"$as_dir" : 'X\(//\)$' \| \
299
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
300
 
$as_echo X"$as_dir" |
301
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
302
 
            s//\1/
303
 
            q
304
 
          }
305
 
          /^X\(\/\/\)[^/].*/{
306
 
            s//\1/
307
 
            q
308
 
          }
309
 
          /^X\(\/\/\)$/{
310
 
            s//\1/
311
 
            q
312
 
          }
313
 
          /^X\(\/\).*/{
314
 
            s//\1/
315
 
            q
316
 
          }
317
 
          s/.*/./; q'`
318
 
      test -d "$as_dir" && break
319
 
    done
320
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
321
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
322
 
 
323
 
 
324
 
} # as_fn_mkdir_p
325
 
# as_fn_append VAR VALUE
326
 
# ----------------------
327
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
328
 
# advantage of any shell optimizations that allow amortized linear growth over
329
 
# repeated appends, instead of the typical quadratic growth present in naive
330
 
# implementations.
331
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
332
 
  eval 'as_fn_append ()
333
 
  {
334
 
    eval $1+=\$2
335
 
  }'
336
 
else
337
 
  as_fn_append ()
338
 
  {
339
 
    eval $1=\$$1\$2
340
 
  }
341
 
fi # as_fn_append
342
 
 
343
 
# as_fn_arith ARG...
344
 
# ------------------
345
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
346
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
347
 
# must be portable across $(()) and expr.
348
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
349
 
  eval 'as_fn_arith ()
350
 
  {
351
 
    as_val=$(( $* ))
352
 
  }'
353
 
else
354
 
  as_fn_arith ()
355
 
  {
356
 
    as_val=`expr "$@" || test $? -eq 1`
357
 
  }
358
 
fi # as_fn_arith
359
 
 
360
 
 
361
 
# as_fn_error ERROR [LINENO LOG_FD]
362
 
# ---------------------------------
363
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365
 
# script with status $?, using 1 if that was 0.
366
 
as_fn_error ()
367
 
{
368
 
  as_status=$?; test $as_status -eq 0 && as_status=1
369
 
  if test "$3"; then
370
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
371
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
372
 
  fi
373
 
  $as_echo "$as_me: error: $1" >&2
374
 
  as_fn_exit $as_status
375
 
} # as_fn_error
376
 
 
377
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
378
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
379
 
  as_expr=expr
380
 
else
381
 
  as_expr=false
382
 
fi
383
 
 
384
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
385
 
  as_basename=basename
386
 
else
387
 
  as_basename=false
388
 
fi
389
 
 
390
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
391
 
  as_dirname=dirname
392
 
else
393
 
  as_dirname=false
394
 
fi
395
 
 
396
 
as_me=`$as_basename -- "$0" ||
397
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
398
 
         X"$0" : 'X\(//\)$' \| \
399
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
400
 
$as_echo X/"$0" |
401
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
402
 
            s//\1/
403
 
            q
404
 
          }
405
 
          /^X\/\(\/\/\)$/{
406
 
            s//\1/
407
 
            q
408
 
          }
409
 
          /^X\/\(\/\).*/{
410
 
            s//\1/
411
 
            q
412
 
          }
413
 
          s/.*/./; q'`
414
 
 
415
 
# Avoid depending upon Character Ranges.
416
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
417
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
418
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
419
 
as_cr_digits='0123456789'
420
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
421
 
 
422
 
 
423
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
424
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
425
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
426
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
427
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
371
 
 
372
    if test $as_have_required = no; then
 
373
  echo This script requires a shell more modern than all the
 
374
      echo shells that I found on your system.  Please install a
 
375
      echo modern shell, or manually run the script under such a
 
376
      echo shell if you do have one.
 
377
      { (exit 1); exit 1; }
 
378
fi
 
379
 
 
380
 
 
381
fi
 
382
 
 
383
fi
 
384
 
 
385
 
 
386
 
 
387
(eval "as_func_return () {
 
388
  (exit \$1)
 
389
}
 
390
as_func_success () {
 
391
  as_func_return 0
 
392
}
 
393
as_func_failure () {
 
394
  as_func_return 1
 
395
}
 
396
as_func_ret_success () {
 
397
  return 0
 
398
}
 
399
as_func_ret_failure () {
 
400
  return 1
 
401
}
 
402
 
 
403
exitcode=0
 
404
if as_func_success; then
 
405
  :
 
406
else
 
407
  exitcode=1
 
408
  echo as_func_success failed.
 
409
fi
 
410
 
 
411
if as_func_failure; then
 
412
  exitcode=1
 
413
  echo as_func_failure succeeded.
 
414
fi
 
415
 
 
416
if as_func_ret_success; then
 
417
  :
 
418
else
 
419
  exitcode=1
 
420
  echo as_func_ret_success failed.
 
421
fi
 
422
 
 
423
if as_func_ret_failure; then
 
424
  exitcode=1
 
425
  echo as_func_ret_failure succeeded.
 
426
fi
 
427
 
 
428
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
429
  :
 
430
else
 
431
  exitcode=1
 
432
  echo positional parameters were not saved.
 
433
fi
 
434
 
 
435
test \$exitcode = 0") || {
 
436
  echo No shell found that supports shell functions.
 
437
  echo Please tell bug-autoconf@gnu.org about your system,
 
438
  echo including any error possibly output before this message.
 
439
  echo This can help us improve future autoconf versions.
 
440
  echo Configuration will now proceed without shell functions.
 
441
}
 
442
 
 
443
 
 
444
 
 
445
  as_lineno_1=$LINENO
 
446
  as_lineno_2=$LINENO
 
447
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
448
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
449
 
 
450
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
451
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
452
  # line-number line after each line using $LINENO; the second 'sed'
 
453
  # does the real work.  The second script uses 'N' to pair each
 
454
  # line-number line with the line containing $LINENO, and appends
 
455
  # trailing '-' during substitution so that $LINENO is not a special
 
456
  # case at line end.
 
457
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
458
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
459
  # E. McMahon (1931-1989) for sed's syntax.  :-)
428
460
  sed -n '
429
461
    p
430
462
    /[$]LINENO/=
441
473
      s/-\n.*//
442
474
    ' >$as_me.lineno &&
443
475
  chmod +x "$as_me.lineno" ||
444
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
476
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
477
   { (exit 1); exit 1; }; }
445
478
 
446
479
  # Don't try to exec as it changes $[0], causing all sort of problems
447
480
  # (the dirname of $[0] is not the place where we might find the
451
484
  exit
452
485
}
453
486
 
 
487
 
 
488
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
489
  as_dirname=dirname
 
490
else
 
491
  as_dirname=false
 
492
fi
 
493
 
454
494
ECHO_C= ECHO_N= ECHO_T=
455
 
case `echo -n x` in #(((((
 
495
case `echo -n x` in
456
496
-n*)
457
 
  case `echo 'xy\c'` in
 
497
  case `echo 'x\c'` in
458
498
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
459
 
  xy)  ECHO_C='\c';;
460
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
461
 
       ECHO_T=' ';;
 
499
  *)   ECHO_C='\c';;
462
500
  esac;;
463
501
*)
464
502
  ECHO_N='-n';;
465
503
esac
 
504
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
505
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
506
  as_expr=expr
 
507
else
 
508
  as_expr=false
 
509
fi
466
510
 
467
511
rm -f conf$$ conf$$.exe conf$$.file
468
512
if test -d conf$$.dir; then
492
536
rmdir conf$$.dir 2>/dev/null
493
537
 
494
538
if mkdir -p . 2>/dev/null; then
495
 
  as_mkdir_p='mkdir -p "$as_dir"'
 
539
  as_mkdir_p=:
496
540
else
497
541
  test -d ./-p && rmdir ./-p
498
542
  as_mkdir_p=false
511
555
      if test -d "$1"; then
512
556
        test -d "$1/.";
513
557
      else
514
 
        case $1 in #(
 
558
        case $1 in
515
559
        -*)set "./$1";;
516
560
        esac;
517
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
561
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
518
562
        ???[sx]*):;;*)false;;esac;fi
519
563
    '\'' sh
520
564
  '
529
573
 
530
574
 
531
575
 
 
576
 
532
577
# Check that we are running under the correct shell.
533
578
SHELL=${CONFIG_SHELL-/bin/sh}
534
579
 
695
740
subdirs=
696
741
MFLAGS=
697
742
MAKEFLAGS=
 
743
SHELL=${CONFIG_SHELL-/bin/sh}
698
744
 
699
745
# Identity of this package.
700
746
PACKAGE_NAME='unique'
701
747
PACKAGE_TARNAME='libunique'
702
 
PACKAGE_VERSION='1.1.2'
703
 
PACKAGE_STRING='unique 1.1.2'
 
748
PACKAGE_VERSION='1.1.6'
 
749
PACKAGE_STRING='unique 1.1.6'
704
750
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=libunique'
705
 
PACKAGE_URL=''
706
751
 
707
752
ac_unique_file="unique/unique.h"
708
753
# Factoring default headers for most tests.
745
790
am__EXEEXT_TRUE
746
791
LTLIBOBJS
747
792
LIBOBJS
748
 
Q
749
 
V
750
 
OBJC
751
 
F77
752
 
FC
753
 
CXX
754
 
AM_MAKEFLAGS
755
 
MAKEFLAGS
756
 
shavedir
757
 
GTK_DOC_USE_REBASE_FALSE
758
 
GTK_DOC_USE_REBASE_TRUE
 
793
USE_SHAVE_FALSE
 
794
USE_SHAVE_TRUE
 
795
AM_BACKSLASH
 
796
AM_DEFAULT_VERBOSITY
759
797
GTK_DOC_USE_LIBTOOL_FALSE
760
798
GTK_DOC_USE_LIBTOOL_TRUE
761
 
GTK_DOC_BUILD_PDF_FALSE
762
 
GTK_DOC_BUILD_PDF_TRUE
763
 
GTK_DOC_BUILD_HTML_FALSE
764
 
GTK_DOC_BUILD_HTML_TRUE
765
799
ENABLE_GTK_DOC_FALSE
766
800
ENABLE_GTK_DOC_TRUE
 
801
GTKDOC_CHECK
767
802
HTML_DIR
768
 
GTKDOC_MKPDF
769
 
GTKDOC_REBASE
770
 
GTKDOC_CHECK
771
803
HAVE_INTROSPECTION_FALSE
772
804
HAVE_INTROSPECTION_TRUE
773
805
INTROSPECTION_TYPELIBDIR
795
827
UNIQUE_DEBUG_CFLAGS
796
828
MAINTAINER_CFLAGS
797
829
UNIQUE_DEFAULT_BACKEND
 
830
HAVE_BACON_FALSE
 
831
HAVE_BACON_TRUE
798
832
HAVE_DBUS_FALSE
799
833
HAVE_DBUS_TRUE
800
834
DBUS_BINDING_TOOL
917
951
program_transform_name
918
952
prefix
919
953
exec_prefix
920
 
PACKAGE_URL
921
954
PACKAGE_BUGREPORT
922
955
PACKAGE_STRING
923
956
PACKAGE_VERSION
943
976
enable_introspection
944
977
with_html_dir
945
978
enable_gtk_doc
946
 
enable_gtk_doc_html
947
 
enable_gtk_doc_pdf
948
 
enable_shave
 
979
enable_silent_rules
949
980
'
950
981
      ac_precious_vars='build_alias
951
982
host_alias
1072
1103
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1073
1104
    # Reject names that are not valid shell variable names.
1074
1105
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1075
 
      as_fn_error "invalid feature name: $ac_useropt"
 
1106
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
 
1107
   { (exit 1); exit 1; }; }
1076
1108
    ac_useropt_orig=$ac_useropt
1077
1109
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1078
1110
    case $ac_user_opts in
1098
1130
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1099
1131
    # Reject names that are not valid shell variable names.
1100
1132
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1101
 
      as_fn_error "invalid feature name: $ac_useropt"
 
1133
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
 
1134
   { (exit 1); exit 1; }; }
1102
1135
    ac_useropt_orig=$ac_useropt
1103
1136
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1104
1137
    case $ac_user_opts in
1302
1335
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1303
1336
    # Reject names that are not valid shell variable names.
1304
1337
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1305
 
      as_fn_error "invalid package name: $ac_useropt"
 
1338
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
 
1339
   { (exit 1); exit 1; }; }
1306
1340
    ac_useropt_orig=$ac_useropt
1307
1341
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1308
1342
    case $ac_user_opts in
1318
1352
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1319
1353
    # Reject names that are not valid shell variable names.
1320
1354
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1321
 
      as_fn_error "invalid package name: $ac_useropt"
 
1355
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
 
1356
   { (exit 1); exit 1; }; }
1322
1357
    ac_useropt_orig=$ac_useropt
1323
1358
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1324
1359
    case $ac_user_opts in
1348
1383
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1349
1384
    x_libraries=$ac_optarg ;;
1350
1385
 
1351
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1352
 
Try \`$0 --help' for more information."
 
1386
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
 
1387
Try \`$0 --help' for more information." >&2
 
1388
   { (exit 1); exit 1; }; }
1353
1389
    ;;
1354
1390
 
1355
1391
  *=*)
1356
1392
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1357
1393
    # Reject names that are not valid shell variable names.
1358
 
    case $ac_envvar in #(
1359
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1360
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1361
 
    esac
 
1394
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 
1395
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1396
   { (exit 1); exit 1; }; }
1362
1397
    eval $ac_envvar=\$ac_optarg
1363
1398
    export $ac_envvar ;;
1364
1399
 
1375
1410
 
1376
1411
if test -n "$ac_prev"; then
1377
1412
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1378
 
  as_fn_error "missing argument to $ac_option"
 
1413
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
 
1414
   { (exit 1); exit 1; }; }
1379
1415
fi
1380
1416
 
1381
1417
if test -n "$ac_unrecognized_opts"; then
1382
1418
  case $enable_option_checking in
1383
1419
    no) ;;
1384
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1420
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1421
   { (exit 1); exit 1; }; } ;;
1385
1422
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1386
1423
  esac
1387
1424
fi
1404
1441
    [\\/$]* | ?:[\\/]* )  continue;;
1405
1442
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1406
1443
  esac
1407
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1444
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1445
   { (exit 1); exit 1; }; }
1408
1446
done
1409
1447
 
1410
1448
# There might be people who depend on the old broken behavior: `$host'
1434
1472
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1435
1473
ac_ls_di=`ls -di .` &&
1436
1474
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1437
 
  as_fn_error "working directory cannot be determined"
 
1475
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
 
1476
   { (exit 1); exit 1; }; }
1438
1477
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1439
 
  as_fn_error "pwd does not report name of working directory"
 
1478
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
 
1479
   { (exit 1); exit 1; }; }
1440
1480
 
1441
1481
 
1442
1482
# Find the source files, if location was not specified.
1475
1515
fi
1476
1516
if test ! -r "$srcdir/$ac_unique_file"; then
1477
1517
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1478
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1518
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1519
   { (exit 1); exit 1; }; }
1479
1520
fi
1480
1521
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1481
1522
ac_abs_confdir=`(
1482
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1523
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
 
1524
   { (exit 1); exit 1; }; }
1483
1525
        pwd)`
1484
1526
# When building in place, set srcdir=.
1485
1527
if test "$ac_abs_confdir" = "$ac_pwd"; then
1505
1547
  # Omit some internal or obsolete options to make the list less imposing.
1506
1548
  # This message is too long to be a string in the A/UX 3.1 sh.
1507
1549
  cat <<_ACEOF
1508
 
\`configure' configures unique 1.1.2 to adapt to many kinds of systems.
 
1550
\`configure' configures unique 1.1.6 to adapt to many kinds of systems.
1509
1551
 
1510
1552
Usage: $0 [OPTION]... [VAR=VALUE]...
1511
1553
 
1579
1621
 
1580
1622
if test -n "$ac_init_help"; then
1581
1623
  case $ac_init_help in
1582
 
     short | recursive ) echo "Configuration of unique 1.1.2:";;
 
1624
     short | recursive ) echo "Configuration of unique 1.1.6:";;
1583
1625
   esac
1584
1626
  cat <<\_ACEOF
1585
1627
 
1603
1645
  --enable-introspection=[no/auto/yes]
1604
1646
                          Enable introspection for this build
1605
1647
  --enable-gtk-doc        use gtk-doc to build documentation [default=no]
1606
 
  --enable-gtk-doc-html   build documentation in html format [default=yes]
1607
 
  --enable-gtk-doc-pdf    build documentation in pdf format [default=no]
1608
 
  --enable-shave          use shave to make the build pretty [default=yes]
 
1648
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1649
  --disable-silent-rules         verbose build output (undo: `make V=0')
1609
1650
 
1610
1651
Optional Packages:
1611
1652
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1703
1744
test -n "$ac_init_help" && exit $ac_status
1704
1745
if $ac_init_version; then
1705
1746
  cat <<\_ACEOF
1706
 
unique configure 1.1.2
1707
 
generated by GNU Autoconf 2.64
 
1747
unique configure 1.1.6
 
1748
generated by GNU Autoconf 2.63
1708
1749
 
1709
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
1750
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1751
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1710
1752
This configure script is free software; the Free Software Foundation
1711
1753
gives unlimited permission to copy, distribute and modify it.
1712
1754
_ACEOF
1713
1755
  exit
1714
1756
fi
1715
 
 
1716
 
## ------------------------ ##
1717
 
## Autoconf initialization. ##
1718
 
## ------------------------ ##
1719
 
 
1720
 
# ac_fn_c_try_compile LINENO
1721
 
# --------------------------
1722
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1723
 
ac_fn_c_try_compile ()
1724
 
{
1725
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726
 
  rm -f conftest.$ac_objext
1727
 
  if { { ac_try="$ac_compile"
1728
 
case "(($ac_try" in
1729
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1730
 
  *) ac_try_echo=$ac_try;;
1731
 
esac
1732
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733
 
$as_echo "$ac_try_echo"; } >&5
1734
 
  (eval "$ac_compile") 2>conftest.err
1735
 
  ac_status=$?
1736
 
  if test -s conftest.err; then
1737
 
    grep -v '^ *+' conftest.err >conftest.er1
1738
 
    cat conftest.er1 >&5
1739
 
    mv -f conftest.er1 conftest.err
1740
 
  fi
1741
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742
 
  test $ac_status = 0; } && {
1743
 
         test -z "$ac_c_werror_flag" ||
1744
 
         test ! -s conftest.err
1745
 
       } && test -s conftest.$ac_objext; then :
1746
 
  ac_retval=0
1747
 
else
1748
 
  $as_echo "$as_me: failed program was:" >&5
1749
 
sed 's/^/| /' conftest.$ac_ext >&5
1750
 
 
1751
 
        ac_retval=1
1752
 
fi
1753
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1754
 
  return $ac_retval
1755
 
 
1756
 
} # ac_fn_c_try_compile
1757
 
 
1758
 
# ac_fn_c_try_link LINENO
1759
 
# -----------------------
1760
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1761
 
ac_fn_c_try_link ()
1762
 
{
1763
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1765
 
  if { { ac_try="$ac_link"
1766
 
case "(($ac_try" in
1767
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1768
 
  *) ac_try_echo=$ac_try;;
1769
 
esac
1770
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771
 
$as_echo "$ac_try_echo"; } >&5
1772
 
  (eval "$ac_link") 2>conftest.err
1773
 
  ac_status=$?
1774
 
  if test -s conftest.err; then
1775
 
    grep -v '^ *+' conftest.err >conftest.er1
1776
 
    cat conftest.er1 >&5
1777
 
    mv -f conftest.er1 conftest.err
1778
 
  fi
1779
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780
 
  test $ac_status = 0; } && {
1781
 
         test -z "$ac_c_werror_flag" ||
1782
 
         test ! -s conftest.err
1783
 
       } && test -s conftest$ac_exeext && {
1784
 
         test "$cross_compiling" = yes ||
1785
 
         $as_test_x conftest$ac_exeext
1786
 
       }; then :
1787
 
  ac_retval=0
1788
 
else
1789
 
  $as_echo "$as_me: failed program was:" >&5
1790
 
sed 's/^/| /' conftest.$ac_ext >&5
1791
 
 
1792
 
        ac_retval=1
1793
 
fi
1794
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1795
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1796
 
  # interfere with the next link command; also delete a directory that is
1797
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1798
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1799
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1800
 
  return $ac_retval
1801
 
 
1802
 
} # ac_fn_c_try_link
1803
 
 
1804
 
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1805
 
# -------------------------------------------------------
1806
 
# Tests whether HEADER exists and can be compiled using the include files in
1807
 
# INCLUDES, setting the cache variable VAR accordingly.
1808
 
ac_fn_c_check_header_compile ()
1809
 
{
1810
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1812
 
$as_echo_n "checking for $2... " >&6; }
1813
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1814
 
  $as_echo_n "(cached) " >&6
1815
 
else
1816
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1817
 
/* end confdefs.h.  */
1818
 
$4
1819
 
#include <$2>
1820
 
_ACEOF
1821
 
if ac_fn_c_try_compile "$LINENO"; then :
1822
 
  eval "$3=yes"
1823
 
else
1824
 
  eval "$3=no"
1825
 
fi
1826
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1827
 
fi
1828
 
eval ac_res=\$$3
1829
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1830
 
$as_echo "$ac_res" >&6; }
1831
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1832
 
 
1833
 
} # ac_fn_c_check_header_compile
1834
 
 
1835
 
# ac_fn_c_try_cpp LINENO
1836
 
# ----------------------
1837
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1838
 
ac_fn_c_try_cpp ()
1839
 
{
1840
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1842
 
case "(($ac_try" in
1843
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1844
 
  *) ac_try_echo=$ac_try;;
1845
 
esac
1846
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1847
 
$as_echo "$ac_try_echo"; } >&5
1848
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1849
 
  ac_status=$?
1850
 
  if test -s conftest.err; then
1851
 
    grep -v '^ *+' conftest.err >conftest.er1
1852
 
    cat conftest.er1 >&5
1853
 
    mv -f conftest.er1 conftest.err
1854
 
  fi
1855
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856
 
  test $ac_status = 0; } >/dev/null && {
1857
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1858
 
         test ! -s conftest.err
1859
 
       }; then :
1860
 
  ac_retval=0
1861
 
else
1862
 
  $as_echo "$as_me: failed program was:" >&5
1863
 
sed 's/^/| /' conftest.$ac_ext >&5
1864
 
 
1865
 
    ac_retval=1
1866
 
fi
1867
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1868
 
  return $ac_retval
1869
 
 
1870
 
} # ac_fn_c_try_cpp
1871
 
 
1872
 
# ac_fn_c_try_run LINENO
1873
 
# ----------------------
1874
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1875
 
# that executables *can* be run.
1876
 
ac_fn_c_try_run ()
1877
 
{
1878
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879
 
  if { { ac_try="$ac_link"
1880
 
case "(($ac_try" in
1881
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1882
 
  *) ac_try_echo=$ac_try;;
1883
 
esac
1884
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1885
 
$as_echo "$ac_try_echo"; } >&5
1886
 
  (eval "$ac_link") 2>&5
1887
 
  ac_status=$?
1888
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1889
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1890
 
  { { case "(($ac_try" in
1891
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1892
 
  *) ac_try_echo=$ac_try;;
1893
 
esac
1894
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1895
 
$as_echo "$ac_try_echo"; } >&5
1896
 
  (eval "$ac_try") 2>&5
1897
 
  ac_status=$?
1898
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1899
 
  test $ac_status = 0; }; }; then :
1900
 
  ac_retval=0
1901
 
else
1902
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1903
 
       $as_echo "$as_me: failed program was:" >&5
1904
 
sed 's/^/| /' conftest.$ac_ext >&5
1905
 
 
1906
 
       ac_retval=$ac_status
1907
 
fi
1908
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1909
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1910
 
  return $ac_retval
1911
 
 
1912
 
} # ac_fn_c_try_run
1913
 
 
1914
 
# ac_fn_c_check_func LINENO FUNC VAR
1915
 
# ----------------------------------
1916
 
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1917
 
ac_fn_c_check_func ()
1918
 
{
1919
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1921
 
$as_echo_n "checking for $2... " >&6; }
1922
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1923
 
  $as_echo_n "(cached) " >&6
1924
 
else
1925
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926
 
/* end confdefs.h.  */
1927
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1928
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1929
 
#define $2 innocuous_$2
1930
 
 
1931
 
/* System header to define __stub macros and hopefully few prototypes,
1932
 
    which can conflict with char $2 (); below.
1933
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1934
 
    <limits.h> exists even on freestanding compilers.  */
1935
 
 
1936
 
#ifdef __STDC__
1937
 
# include <limits.h>
1938
 
#else
1939
 
# include <assert.h>
1940
 
#endif
1941
 
 
1942
 
#undef $2
1943
 
 
1944
 
/* Override any GCC internal prototype to avoid an error.
1945
 
   Use char because int might match the return type of a GCC
1946
 
   builtin and then its argument prototype would still apply.  */
1947
 
#ifdef __cplusplus
1948
 
extern "C"
1949
 
#endif
1950
 
char $2 ();
1951
 
/* The GNU C library defines this for functions which it implements
1952
 
    to always fail with ENOSYS.  Some functions are actually named
1953
 
    something starting with __ and the normal name is an alias.  */
1954
 
#if defined __stub_$2 || defined __stub___$2
1955
 
choke me
1956
 
#endif
1957
 
 
1958
 
int
1959
 
main ()
1960
 
{
1961
 
return $2 ();
1962
 
  ;
1963
 
  return 0;
1964
 
}
1965
 
_ACEOF
1966
 
if ac_fn_c_try_link "$LINENO"; then :
1967
 
  eval "$3=yes"
1968
 
else
1969
 
  eval "$3=no"
1970
 
fi
1971
 
rm -f core conftest.err conftest.$ac_objext \
1972
 
    conftest$ac_exeext conftest.$ac_ext
1973
 
fi
1974
 
eval ac_res=\$$3
1975
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1976
 
$as_echo "$ac_res" >&6; }
1977
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1978
 
 
1979
 
} # ac_fn_c_check_func
1980
 
 
1981
 
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1982
 
# -------------------------------------------------------
1983
 
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1984
 
# the include files in INCLUDES and setting the cache variable VAR
1985
 
# accordingly.
1986
 
ac_fn_c_check_header_mongrel ()
1987
 
{
1988
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1989
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1990
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1991
 
$as_echo_n "checking for $2... " >&6; }
1992
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1993
 
  $as_echo_n "(cached) " >&6
1994
 
fi
1995
 
eval ac_res=\$$3
1996
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1997
 
$as_echo "$ac_res" >&6; }
1998
 
else
1999
 
  # Is the header compilable?
2000
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2001
 
$as_echo_n "checking $2 usability... " >&6; }
2002
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2003
 
/* end confdefs.h.  */
2004
 
$4
2005
 
#include <$2>
2006
 
_ACEOF
2007
 
if ac_fn_c_try_compile "$LINENO"; then :
2008
 
  ac_header_compiler=yes
2009
 
else
2010
 
  ac_header_compiler=no
2011
 
fi
2012
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2013
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2014
 
$as_echo "$ac_header_compiler" >&6; }
2015
 
 
2016
 
# Is the header present?
2017
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2018
 
$as_echo_n "checking $2 presence... " >&6; }
2019
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2020
 
/* end confdefs.h.  */
2021
 
#include <$2>
2022
 
_ACEOF
2023
 
if ac_fn_c_try_cpp "$LINENO"; then :
2024
 
  ac_header_preproc=yes
2025
 
else
2026
 
  ac_header_preproc=no
2027
 
fi
2028
 
rm -f conftest.err conftest.$ac_ext
2029
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2030
 
$as_echo "$ac_header_preproc" >&6; }
2031
 
 
2032
 
# So?  What about this header?
2033
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2034
 
  yes:no: )
2035
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2036
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2037
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2038
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2039
 
    ;;
2040
 
  no:yes:* )
2041
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2042
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2043
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2044
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2045
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2046
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2047
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2048
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2049
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2050
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2051
 
( cat <<\_ASBOX
2052
 
## ------------------------------------------------------------------------ ##
2053
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=libunique ##
2054
 
## ------------------------------------------------------------------------ ##
2055
 
_ASBOX
2056
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
2057
 
    ;;
2058
 
esac
2059
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2060
 
$as_echo_n "checking for $2... " >&6; }
2061
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2062
 
  $as_echo_n "(cached) " >&6
2063
 
else
2064
 
  eval "$3=\$ac_header_compiler"
2065
 
fi
2066
 
eval ac_res=\$$3
2067
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2068
 
$as_echo "$ac_res" >&6; }
2069
 
fi
2070
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2071
 
 
2072
 
} # ac_fn_c_check_header_mongrel
2073
1757
cat >config.log <<_ACEOF
2074
1758
This file contains any messages produced by compilers while
2075
1759
running configure, to aid debugging if configure makes a mistake.
2076
1760
 
2077
 
It was created by unique $as_me 1.1.2, which was
2078
 
generated by GNU Autoconf 2.64.  Invocation command line was
 
1761
It was created by unique $as_me 1.1.6, which was
 
1762
generated by GNU Autoconf 2.63.  Invocation command line was
2079
1763
 
2080
1764
  $ $0 $@
2081
1765
 
2111
1795
do
2112
1796
  IFS=$as_save_IFS
2113
1797
  test -z "$as_dir" && as_dir=.
2114
 
    $as_echo "PATH: $as_dir"
2115
 
  done
 
1798
  $as_echo "PATH: $as_dir"
 
1799
done
2116
1800
IFS=$as_save_IFS
2117
1801
 
2118
1802
} >&5
2149
1833
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2150
1834
    esac
2151
1835
    case $ac_pass in
2152
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
1836
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2153
1837
    2)
2154
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
1838
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2155
1839
      if test $ac_must_keep_next = true; then
2156
1840
        ac_must_keep_next=false # Got value, back to normal.
2157
1841
      else
2167
1851
          -* ) ac_must_keep_next=true ;;
2168
1852
        esac
2169
1853
      fi
2170
 
      as_fn_append ac_configure_args " '$ac_arg'"
 
1854
      ac_configure_args="$ac_configure_args '$ac_arg'"
2171
1855
      ;;
2172
1856
    esac
2173
1857
  done
2174
1858
done
2175
 
{ ac_configure_args0=; unset ac_configure_args0;}
2176
 
{ ac_configure_args1=; unset ac_configure_args1;}
 
1859
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 
1860
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2177
1861
 
2178
1862
# When interrupted or exit'd, cleanup temporary files, and complete
2179
1863
# config.log.  We remove comments because anyway the quotes in there
2198
1882
    case $ac_val in #(
2199
1883
    *${as_nl}*)
2200
1884
      case $ac_var in #(
2201
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
1885
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2202
1886
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2203
1887
      esac
2204
1888
      case $ac_var in #(
2205
1889
      _ | IFS | as_nl) ;; #(
2206
1890
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2207
 
      *) { eval $ac_var=; unset $ac_var;} ;;
 
1891
      *) $as_unset $ac_var ;;
2208
1892
      esac ;;
2209
1893
    esac
2210
1894
  done
2276
1960
    exit $exit_status
2277
1961
' 0
2278
1962
for ac_signal in 1 2 13 15; do
2279
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
1963
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2280
1964
done
2281
1965
ac_signal=0
2282
1966
 
2283
1967
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2284
1968
rm -f -r conftest* confdefs.h
2285
1969
 
2286
 
$as_echo "/* confdefs.h */" > confdefs.h
2287
 
 
2288
1970
# Predefined preprocessor variables.
2289
1971
 
2290
1972
cat >>confdefs.h <<_ACEOF
2291
1973
#define PACKAGE_NAME "$PACKAGE_NAME"
2292
1974
_ACEOF
2293
1975
 
 
1976
 
2294
1977
cat >>confdefs.h <<_ACEOF
2295
1978
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2296
1979
_ACEOF
2297
1980
 
 
1981
 
2298
1982
cat >>confdefs.h <<_ACEOF
2299
1983
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2300
1984
_ACEOF
2301
1985
 
 
1986
 
2302
1987
cat >>confdefs.h <<_ACEOF
2303
1988
#define PACKAGE_STRING "$PACKAGE_STRING"
2304
1989
_ACEOF
2305
1990
 
 
1991
 
2306
1992
cat >>confdefs.h <<_ACEOF
2307
1993
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2308
1994
_ACEOF
2309
1995
 
2310
 
cat >>confdefs.h <<_ACEOF
2311
 
#define PACKAGE_URL "$PACKAGE_URL"
2312
 
_ACEOF
2313
 
 
2314
1996
 
2315
1997
# Let the site file select an alternate cache file if it wants to.
2316
1998
# Prefer an explicitly selected file to automatically selected ones.
2329
2011
do
2330
2012
  test "x$ac_site_file" = xNONE && continue
2331
2013
  if test -r "$ac_site_file"; then
2332
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2014
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2333
2015
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2334
2016
    sed 's/^/| /' "$ac_site_file" >&5
2335
2017
    . "$ac_site_file"
2340
2022
  # Some versions of bash will fail to source /dev/null (special
2341
2023
  # files actually), so we avoid doing that.
2342
2024
  if test -f "$cache_file"; then
2343
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2025
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2344
2026
$as_echo "$as_me: loading cache $cache_file" >&6;}
2345
2027
    case $cache_file in
2346
2028
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2348
2030
    esac
2349
2031
  fi
2350
2032
else
2351
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2033
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2352
2034
$as_echo "$as_me: creating cache $cache_file" >&6;}
2353
2035
  >$cache_file
2354
2036
fi
2363
2045
  eval ac_new_val=\$ac_env_${ac_var}_value
2364
2046
  case $ac_old_set,$ac_new_set in
2365
2047
    set,)
2366
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2048
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2367
2049
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2368
2050
      ac_cache_corrupted=: ;;
2369
2051
    ,set)
2370
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2052
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2371
2053
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2372
2054
      ac_cache_corrupted=: ;;
2373
2055
    ,);;
2377
2059
        ac_old_val_w=`echo x $ac_old_val`
2378
2060
        ac_new_val_w=`echo x $ac_new_val`
2379
2061
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2380
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2062
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2381
2063
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2382
2064
          ac_cache_corrupted=:
2383
2065
        else
2384
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2066
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2385
2067
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2386
2068
          eval $ac_var=\$ac_old_val
2387
2069
        fi
2388
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2070
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
2389
2071
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2390
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2072
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
2391
2073
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2392
2074
      fi;;
2393
2075
  esac
2399
2081
    esac
2400
2082
    case " $ac_configure_args " in
2401
2083
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2402
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
2084
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2403
2085
    esac
2404
2086
  fi
2405
2087
done
2406
2088
if $ac_cache_corrupted; then
2407
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2089
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2408
2090
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2409
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2091
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2410
2092
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2411
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2093
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
2094
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
2095
   { (exit 1); exit 1; }; }
2412
2096
fi
2413
 
## -------------------- ##
2414
 
## Main body of script. ##
2415
 
## -------------------- ##
 
2097
 
 
2098
 
 
2099
 
 
2100
 
 
2101
 
 
2102
 
 
2103
 
 
2104
 
 
2105
 
 
2106
 
 
2107
 
 
2108
 
 
2109
 
 
2110
 
 
2111
 
 
2112
 
 
2113
 
 
2114
 
 
2115
 
 
2116
 
 
2117
 
 
2118
 
 
2119
 
 
2120
 
2416
2121
 
2417
2122
ac_ext=c
2418
2123
ac_cpp='$CPP $CPPFLAGS'
2429
2134
 
2430
2135
ac_aux_dir=
2431
2136
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2432
 
  for ac_t in install-sh install.sh shtool; do
2433
 
    if test -f "$ac_dir/$ac_t"; then
2434
 
      ac_aux_dir=$ac_dir
2435
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2436
 
      break 2
2437
 
    fi
2438
 
  done
 
2137
  if test -f "$ac_dir/install-sh"; then
 
2138
    ac_aux_dir=$ac_dir
 
2139
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2140
    break
 
2141
  elif test -f "$ac_dir/install.sh"; then
 
2142
    ac_aux_dir=$ac_dir
 
2143
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2144
    break
 
2145
  elif test -f "$ac_dir/shtool"; then
 
2146
    ac_aux_dir=$ac_dir
 
2147
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2148
    break
 
2149
  fi
2439
2150
done
2440
2151
if test -z "$ac_aux_dir"; then
2441
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2152
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2153
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
2154
   { (exit 1); exit 1; }; }
2442
2155
fi
2443
2156
 
2444
2157
# These three variables are undocumented and unsupported,
2464
2177
# OS/2's system install, which has a completely different semantic
2465
2178
# ./install, which can be erroneously created by make from ./install.sh.
2466
2179
# Reject install programs that cannot install multiple files.
2467
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2180
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2468
2181
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2469
2182
if test -z "$INSTALL"; then
2470
 
if test "${ac_cv_path_install+set}" = set; then :
 
2183
if test "${ac_cv_path_install+set}" = set; then
2471
2184
  $as_echo_n "(cached) " >&6
2472
2185
else
2473
2186
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2475
2188
do
2476
2189
  IFS=$as_save_IFS
2477
2190
  test -z "$as_dir" && as_dir=.
2478
 
    # Account for people who put trailing slashes in PATH elements.
2479
 
case $as_dir/ in #((
2480
 
  ./ | .// | /[cC]/* | \
 
2191
  # Account for people who put trailing slashes in PATH elements.
 
2192
case $as_dir/ in
 
2193
  ./ | .// | /cC/* | \
2481
2194
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2482
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
2195
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2483
2196
  /usr/ucb/* ) ;;
2484
2197
  *)
2485
2198
    # OSF1 and SCO ODT 3.0 have their own names for install.
2516
2229
    ;;
2517
2230
esac
2518
2231
 
2519
 
  done
 
2232
done
2520
2233
IFS=$as_save_IFS
2521
2234
 
2522
2235
rm -rf conftest.one conftest.two conftest.dir
2532
2245
    INSTALL=$ac_install_sh
2533
2246
  fi
2534
2247
fi
2535
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2248
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2536
2249
$as_echo "$INSTALL" >&6; }
2537
2250
 
2538
2251
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2543
2256
 
2544
2257
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2545
2258
 
2546
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2259
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2547
2260
$as_echo_n "checking whether build environment is sane... " >&6; }
2548
2261
# Just in case
2549
2262
sleep 1
2554
2267
'
2555
2268
case `pwd` in
2556
2269
  *[\\\"\#\$\&\'\`$am_lf]*)
2557
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2270
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
 
2271
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
 
2272
   { (exit 1); exit 1; }; };;
2558
2273
esac
2559
2274
case $srcdir in
2560
2275
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2561
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2276
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
 
2277
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
 
2278
   { (exit 1); exit 1; }; };;
2562
2279
esac
2563
2280
 
2564
2281
# Do `set' in a subshell so we don't clobber the current shell's
2580
2297
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2581
2298
      # broken ls alias from the environment.  This has actually
2582
2299
      # happened.  Such a system could not be considered "sane".
2583
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2584
 
alias in your environment" "$LINENO" 5
 
2300
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2301
alias in your environment" >&5
 
2302
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2303
alias in your environment" >&2;}
 
2304
   { (exit 1); exit 1; }; }
2585
2305
   fi
2586
2306
 
2587
2307
   test "$2" = conftest.file
2590
2310
   # Ok.
2591
2311
   :
2592
2312
else
2593
 
   as_fn_error "newly created file is older than distributed files!
2594
 
Check your system clock" "$LINENO" 5
 
2313
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2314
Check your system clock" >&5
 
2315
$as_echo "$as_me: error: newly created file is older than distributed files!
 
2316
Check your system clock" >&2;}
 
2317
   { (exit 1); exit 1; }; }
2595
2318
fi
2596
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2319
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2597
2320
$as_echo "yes" >&6; }
2598
2321
test "$program_prefix" != NONE &&
2599
2322
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2621
2344
  am_missing_run="$MISSING --run "
2622
2345
else
2623
2346
  am_missing_run=
2624
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2347
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2625
2348
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2626
2349
fi
2627
2350
 
2642
2365
  if test -n "$ac_tool_prefix"; then
2643
2366
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2644
2367
set dummy ${ac_tool_prefix}strip; ac_word=$2
2645
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2368
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2646
2369
$as_echo_n "checking for $ac_word... " >&6; }
2647
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2370
if test "${ac_cv_prog_STRIP+set}" = set; then
2648
2371
  $as_echo_n "(cached) " >&6
2649
2372
else
2650
2373
  if test -n "$STRIP"; then
2655
2378
do
2656
2379
  IFS=$as_save_IFS
2657
2380
  test -z "$as_dir" && as_dir=.
2658
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2381
  for ac_exec_ext in '' $ac_executable_extensions; do
2659
2382
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2660
2383
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2661
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2384
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2662
2385
    break 2
2663
2386
  fi
2664
2387
done
2665
 
  done
 
2388
done
2666
2389
IFS=$as_save_IFS
2667
2390
 
2668
2391
fi
2669
2392
fi
2670
2393
STRIP=$ac_cv_prog_STRIP
2671
2394
if test -n "$STRIP"; then
2672
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2395
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2673
2396
$as_echo "$STRIP" >&6; }
2674
2397
else
2675
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2398
  { $as_echo "$as_me:$LINENO: result: no" >&5
2676
2399
$as_echo "no" >&6; }
2677
2400
fi
2678
2401
 
2682
2405
  ac_ct_STRIP=$STRIP
2683
2406
  # Extract the first word of "strip", so it can be a program name with args.
2684
2407
set dummy strip; ac_word=$2
2685
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2408
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2686
2409
$as_echo_n "checking for $ac_word... " >&6; }
2687
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2410
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2688
2411
  $as_echo_n "(cached) " >&6
2689
2412
else
2690
2413
  if test -n "$ac_ct_STRIP"; then
2695
2418
do
2696
2419
  IFS=$as_save_IFS
2697
2420
  test -z "$as_dir" && as_dir=.
2698
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2421
  for ac_exec_ext in '' $ac_executable_extensions; do
2699
2422
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2700
2423
    ac_cv_prog_ac_ct_STRIP="strip"
2701
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2424
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2702
2425
    break 2
2703
2426
  fi
2704
2427
done
2705
 
  done
 
2428
done
2706
2429
IFS=$as_save_IFS
2707
2430
 
2708
2431
fi
2709
2432
fi
2710
2433
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2711
2434
if test -n "$ac_ct_STRIP"; then
2712
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2435
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2713
2436
$as_echo "$ac_ct_STRIP" >&6; }
2714
2437
else
2715
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2438
  { $as_echo "$as_me:$LINENO: result: no" >&5
2716
2439
$as_echo "no" >&6; }
2717
2440
fi
2718
2441
 
2721
2444
  else
2722
2445
    case $cross_compiling:$ac_tool_warned in
2723
2446
yes:)
2724
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2447
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2725
2448
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2726
2449
ac_tool_warned=yes ;;
2727
2450
esac
2734
2457
fi
2735
2458
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2736
2459
 
2737
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2460
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2738
2461
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2739
2462
if test -z "$MKDIR_P"; then
2740
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2463
  if test "${ac_cv_path_mkdir+set}" = set; then
2741
2464
  $as_echo_n "(cached) " >&6
2742
2465
else
2743
2466
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2745
2468
do
2746
2469
  IFS=$as_save_IFS
2747
2470
  test -z "$as_dir" && as_dir=.
2748
 
    for ac_prog in mkdir gmkdir; do
 
2471
  for ac_prog in mkdir gmkdir; do
2749
2472
         for ac_exec_ext in '' $ac_executable_extensions; do
2750
2473
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2751
2474
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2757
2480
           esac
2758
2481
         done
2759
2482
       done
2760
 
  done
 
2483
done
2761
2484
IFS=$as_save_IFS
2762
2485
 
2763
2486
fi
2773
2496
    MKDIR_P="$ac_install_sh -d"
2774
2497
  fi
2775
2498
fi
2776
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2499
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2777
2500
$as_echo "$MKDIR_P" >&6; }
2778
2501
 
2779
2502
mkdir_p="$MKDIR_P"
2786
2509
do
2787
2510
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2788
2511
set dummy $ac_prog; ac_word=$2
2789
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2512
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2790
2513
$as_echo_n "checking for $ac_word... " >&6; }
2791
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2514
if test "${ac_cv_prog_AWK+set}" = set; then
2792
2515
  $as_echo_n "(cached) " >&6
2793
2516
else
2794
2517
  if test -n "$AWK"; then
2799
2522
do
2800
2523
  IFS=$as_save_IFS
2801
2524
  test -z "$as_dir" && as_dir=.
2802
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2525
  for ac_exec_ext in '' $ac_executable_extensions; do
2803
2526
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2804
2527
    ac_cv_prog_AWK="$ac_prog"
2805
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2528
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2806
2529
    break 2
2807
2530
  fi
2808
2531
done
2809
 
  done
 
2532
done
2810
2533
IFS=$as_save_IFS
2811
2534
 
2812
2535
fi
2813
2536
fi
2814
2537
AWK=$ac_cv_prog_AWK
2815
2538
if test -n "$AWK"; then
2816
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2539
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2817
2540
$as_echo "$AWK" >&6; }
2818
2541
else
2819
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2542
  { $as_echo "$as_me:$LINENO: result: no" >&5
2820
2543
$as_echo "no" >&6; }
2821
2544
fi
2822
2545
 
2824
2547
  test -n "$AWK" && break
2825
2548
done
2826
2549
 
2827
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2550
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2828
2551
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2829
2552
set x ${MAKE-make}
2830
2553
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2831
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2554
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2832
2555
  $as_echo_n "(cached) " >&6
2833
2556
else
2834
2557
  cat >conftest.make <<\_ACEOF
2846
2569
rm -f conftest.make
2847
2570
fi
2848
2571
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2849
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2572
  { $as_echo "$as_me:$LINENO: result: yes" >&5
2850
2573
$as_echo "yes" >&6; }
2851
2574
  SET_MAKE=
2852
2575
else
2853
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2576
  { $as_echo "$as_me:$LINENO: result: no" >&5
2854
2577
$as_echo "no" >&6; }
2855
2578
  SET_MAKE="MAKE=${MAKE-make}"
2856
2579
fi
2870
2593
  am__isrc=' -I$(srcdir)'
2871
2594
  # test to see if srcdir already configured
2872
2595
  if test -f $srcdir/config.status; then
2873
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2596
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2597
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2598
   { (exit 1); exit 1; }; }
2874
2599
  fi
2875
2600
fi
2876
2601
 
2886
2611
 
2887
2612
# Define the identity of the package.
2888
2613
 PACKAGE='libunique'
2889
 
 VERSION='1.1.2'
 
2614
 VERSION='1.1.6'
2890
2615
 
2891
2616
 
2892
2617
cat >>confdefs.h <<_ACEOF
2926
2651
 
2927
2652
 
2928
2653
 
2929
 
 
2930
2654
ac_config_headers="$ac_config_headers config.h"
2931
2655
 
2932
2656
 
2933
2657
# version symbols
2934
2658
UNIQUE_MAJOR_VERSION=1
2935
2659
UNIQUE_MINOR_VERSION=1
2936
 
UNIQUE_MICRO_VERSION=2
2937
 
UNIQUE_VERSION=1.1.2
 
2660
UNIQUE_MICRO_VERSION=6
 
2661
UNIQUE_VERSION=1.1.6
2938
2662
UNIQUE_API_VERSION=1.0
2939
2663
UNIQUE_PROTOCOL_VERSION=1.0
2940
2664
 
2948
2672
 
2949
2673
 
2950
2674
 
2951
 
UNIQUE_LT_VERSION_INFO="100:2:100"
 
2675
UNIQUE_LT_VERSION_INFO="100:6:100"
2952
2676
UNIQUE_LT_CURRENT_MINUS_AGE=0
2953
2677
 
2954
2678
 
2965
2689
.PHONY: am__doit
2966
2690
END
2967
2691
# If we don't find an include directive, just comment out the code.
2968
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
2692
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2969
2693
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2970
2694
am__include="#"
2971
2695
am__quote=
2993
2717
fi
2994
2718
 
2995
2719
 
2996
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
2720
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2997
2721
$as_echo "$_am_result" >&6; }
2998
2722
rm -f confinc confmf
2999
2723
 
3000
2724
# Check whether --enable-dependency-tracking was given.
3001
 
if test "${enable_dependency_tracking+set}" = set; then :
 
2725
if test "${enable_dependency_tracking+set}" = set; then
3002
2726
  enableval=$enable_dependency_tracking;
3003
2727
fi
3004
2728
 
3023
2747
if test -n "$ac_tool_prefix"; then
3024
2748
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3025
2749
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3026
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2750
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3027
2751
$as_echo_n "checking for $ac_word... " >&6; }
3028
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2752
if test "${ac_cv_prog_CC+set}" = set; then
3029
2753
  $as_echo_n "(cached) " >&6
3030
2754
else
3031
2755
  if test -n "$CC"; then
3036
2760
do
3037
2761
  IFS=$as_save_IFS
3038
2762
  test -z "$as_dir" && as_dir=.
3039
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2763
  for ac_exec_ext in '' $ac_executable_extensions; do
3040
2764
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3041
2765
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3042
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2766
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3043
2767
    break 2
3044
2768
  fi
3045
2769
done
3046
 
  done
 
2770
done
3047
2771
IFS=$as_save_IFS
3048
2772
 
3049
2773
fi
3050
2774
fi
3051
2775
CC=$ac_cv_prog_CC
3052
2776
if test -n "$CC"; then
3053
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2777
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3054
2778
$as_echo "$CC" >&6; }
3055
2779
else
3056
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2780
  { $as_echo "$as_me:$LINENO: result: no" >&5
3057
2781
$as_echo "no" >&6; }
3058
2782
fi
3059
2783
 
3063
2787
  ac_ct_CC=$CC
3064
2788
  # Extract the first word of "gcc", so it can be a program name with args.
3065
2789
set dummy gcc; ac_word=$2
3066
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2790
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3067
2791
$as_echo_n "checking for $ac_word... " >&6; }
3068
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2792
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3069
2793
  $as_echo_n "(cached) " >&6
3070
2794
else
3071
2795
  if test -n "$ac_ct_CC"; then
3076
2800
do
3077
2801
  IFS=$as_save_IFS
3078
2802
  test -z "$as_dir" && as_dir=.
3079
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2803
  for ac_exec_ext in '' $ac_executable_extensions; do
3080
2804
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3081
2805
    ac_cv_prog_ac_ct_CC="gcc"
3082
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2806
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3083
2807
    break 2
3084
2808
  fi
3085
2809
done
3086
 
  done
 
2810
done
3087
2811
IFS=$as_save_IFS
3088
2812
 
3089
2813
fi
3090
2814
fi
3091
2815
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3092
2816
if test -n "$ac_ct_CC"; then
3093
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
2817
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3094
2818
$as_echo "$ac_ct_CC" >&6; }
3095
2819
else
3096
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2820
  { $as_echo "$as_me:$LINENO: result: no" >&5
3097
2821
$as_echo "no" >&6; }
3098
2822
fi
3099
2823
 
3102
2826
  else
3103
2827
    case $cross_compiling:$ac_tool_warned in
3104
2828
yes:)
3105
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2829
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3106
2830
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3107
2831
ac_tool_warned=yes ;;
3108
2832
esac
3116
2840
          if test -n "$ac_tool_prefix"; then
3117
2841
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3118
2842
set dummy ${ac_tool_prefix}cc; ac_word=$2
3119
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2843
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3120
2844
$as_echo_n "checking for $ac_word... " >&6; }
3121
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2845
if test "${ac_cv_prog_CC+set}" = set; then
3122
2846
  $as_echo_n "(cached) " >&6
3123
2847
else
3124
2848
  if test -n "$CC"; then
3129
2853
do
3130
2854
  IFS=$as_save_IFS
3131
2855
  test -z "$as_dir" && as_dir=.
3132
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2856
  for ac_exec_ext in '' $ac_executable_extensions; do
3133
2857
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3134
2858
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3135
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2859
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3136
2860
    break 2
3137
2861
  fi
3138
2862
done
3139
 
  done
 
2863
done
3140
2864
IFS=$as_save_IFS
3141
2865
 
3142
2866
fi
3143
2867
fi
3144
2868
CC=$ac_cv_prog_CC
3145
2869
if test -n "$CC"; then
3146
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2870
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3147
2871
$as_echo "$CC" >&6; }
3148
2872
else
3149
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2873
  { $as_echo "$as_me:$LINENO: result: no" >&5
3150
2874
$as_echo "no" >&6; }
3151
2875
fi
3152
2876
 
3156
2880
if test -z "$CC"; then
3157
2881
  # Extract the first word of "cc", so it can be a program name with args.
3158
2882
set dummy cc; ac_word=$2
3159
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2883
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3160
2884
$as_echo_n "checking for $ac_word... " >&6; }
3161
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2885
if test "${ac_cv_prog_CC+set}" = set; then
3162
2886
  $as_echo_n "(cached) " >&6
3163
2887
else
3164
2888
  if test -n "$CC"; then
3170
2894
do
3171
2895
  IFS=$as_save_IFS
3172
2896
  test -z "$as_dir" && as_dir=.
3173
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2897
  for ac_exec_ext in '' $ac_executable_extensions; do
3174
2898
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3175
2899
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3176
2900
       ac_prog_rejected=yes
3177
2901
       continue
3178
2902
     fi
3179
2903
    ac_cv_prog_CC="cc"
3180
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2904
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3181
2905
    break 2
3182
2906
  fi
3183
2907
done
3184
 
  done
 
2908
done
3185
2909
IFS=$as_save_IFS
3186
2910
 
3187
2911
if test $ac_prog_rejected = yes; then
3200
2924
fi
3201
2925
CC=$ac_cv_prog_CC
3202
2926
if test -n "$CC"; then
3203
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2927
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3204
2928
$as_echo "$CC" >&6; }
3205
2929
else
3206
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2930
  { $as_echo "$as_me:$LINENO: result: no" >&5
3207
2931
$as_echo "no" >&6; }
3208
2932
fi
3209
2933
 
3215
2939
  do
3216
2940
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3217
2941
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3218
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2942
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3219
2943
$as_echo_n "checking for $ac_word... " >&6; }
3220
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2944
if test "${ac_cv_prog_CC+set}" = set; then
3221
2945
  $as_echo_n "(cached) " >&6
3222
2946
else
3223
2947
  if test -n "$CC"; then
3228
2952
do
3229
2953
  IFS=$as_save_IFS
3230
2954
  test -z "$as_dir" && as_dir=.
3231
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2955
  for ac_exec_ext in '' $ac_executable_extensions; do
3232
2956
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3233
2957
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3234
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2958
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3235
2959
    break 2
3236
2960
  fi
3237
2961
done
3238
 
  done
 
2962
done
3239
2963
IFS=$as_save_IFS
3240
2964
 
3241
2965
fi
3242
2966
fi
3243
2967
CC=$ac_cv_prog_CC
3244
2968
if test -n "$CC"; then
3245
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2969
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3246
2970
$as_echo "$CC" >&6; }
3247
2971
else
3248
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2972
  { $as_echo "$as_me:$LINENO: result: no" >&5
3249
2973
$as_echo "no" >&6; }
3250
2974
fi
3251
2975
 
3259
2983
do
3260
2984
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3261
2985
set dummy $ac_prog; ac_word=$2
3262
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2986
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3263
2987
$as_echo_n "checking for $ac_word... " >&6; }
3264
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2988
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3265
2989
  $as_echo_n "(cached) " >&6
3266
2990
else
3267
2991
  if test -n "$ac_ct_CC"; then
3272
2996
do
3273
2997
  IFS=$as_save_IFS
3274
2998
  test -z "$as_dir" && as_dir=.
3275
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2999
  for ac_exec_ext in '' $ac_executable_extensions; do
3276
3000
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3277
3001
    ac_cv_prog_ac_ct_CC="$ac_prog"
3278
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3002
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3279
3003
    break 2
3280
3004
  fi
3281
3005
done
3282
 
  done
 
3006
done
3283
3007
IFS=$as_save_IFS
3284
3008
 
3285
3009
fi
3286
3010
fi
3287
3011
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3288
3012
if test -n "$ac_ct_CC"; then
3289
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3013
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3290
3014
$as_echo "$ac_ct_CC" >&6; }
3291
3015
else
3292
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3016
  { $as_echo "$as_me:$LINENO: result: no" >&5
3293
3017
$as_echo "no" >&6; }
3294
3018
fi
3295
3019
 
3302
3026
  else
3303
3027
    case $cross_compiling:$ac_tool_warned in
3304
3028
yes:)
3305
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3029
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3306
3030
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3307
3031
ac_tool_warned=yes ;;
3308
3032
esac
3313
3037
fi
3314
3038
 
3315
3039
 
3316
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3040
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3317
3041
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3318
 
as_fn_error "no acceptable C compiler found in \$PATH
3319
 
See \`config.log' for more details." "$LINENO" 5; }
 
3042
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
3043
See \`config.log' for more details." >&5
 
3044
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
 
3045
See \`config.log' for more details." >&2;}
 
3046
   { (exit 1); exit 1; }; }; }
3320
3047
 
3321
3048
# Provide some information about the compiler.
3322
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3049
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3323
3050
set X $ac_compile
3324
3051
ac_compiler=$2
3325
 
for ac_option in --version -v -V -qversion; do
3326
 
  { { ac_try="$ac_compiler $ac_option >&5"
3327
 
case "(($ac_try" in
3328
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3329
 
  *) ac_try_echo=$ac_try;;
3330
 
esac
3331
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3332
 
$as_echo "$ac_try_echo"; } >&5
3333
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3334
 
  ac_status=$?
3335
 
  if test -s conftest.err; then
3336
 
    sed '10a\
3337
 
... rest of stderr output deleted ...
3338
 
         10q' conftest.err >conftest.er1
3339
 
    cat conftest.er1 >&5
3340
 
    rm -f conftest.er1 conftest.err
3341
 
  fi
3342
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3343
 
  test $ac_status = 0; }
3344
 
done
 
3052
{ (ac_try="$ac_compiler --version >&5"
 
3053
case "(($ac_try" in
 
3054
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3055
  *) ac_try_echo=$ac_try;;
 
3056
esac
 
3057
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3058
$as_echo "$ac_try_echo") >&5
 
3059
  (eval "$ac_compiler --version >&5") 2>&5
 
3060
  ac_status=$?
 
3061
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3062
  (exit $ac_status); }
 
3063
{ (ac_try="$ac_compiler -v >&5"
 
3064
case "(($ac_try" in
 
3065
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3066
  *) ac_try_echo=$ac_try;;
 
3067
esac
 
3068
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3069
$as_echo "$ac_try_echo") >&5
 
3070
  (eval "$ac_compiler -v >&5") 2>&5
 
3071
  ac_status=$?
 
3072
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3073
  (exit $ac_status); }
 
3074
{ (ac_try="$ac_compiler -V >&5"
 
3075
case "(($ac_try" in
 
3076
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3077
  *) ac_try_echo=$ac_try;;
 
3078
esac
 
3079
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3080
$as_echo "$ac_try_echo") >&5
 
3081
  (eval "$ac_compiler -V >&5") 2>&5
 
3082
  ac_status=$?
 
3083
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3084
  (exit $ac_status); }
3345
3085
 
3346
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3086
cat >conftest.$ac_ext <<_ACEOF
 
3087
/* confdefs.h.  */
 
3088
_ACEOF
 
3089
cat confdefs.h >>conftest.$ac_ext
 
3090
cat >>conftest.$ac_ext <<_ACEOF
3347
3091
/* end confdefs.h.  */
3348
 
#include <stdio.h>
 
3092
 
3349
3093
int
3350
3094
main ()
3351
3095
{
3352
 
FILE *f = fopen ("conftest.out", "w");
3353
 
 return ferror (f) || fclose (f) != 0;
3354
3096
 
3355
3097
  ;
3356
3098
  return 0;
3357
3099
}
3358
3100
_ACEOF
3359
3101
ac_clean_files_save=$ac_clean_files
3360
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
 
3102
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3361
3103
# Try to create an executable without -o first, disregard a.out.
3362
3104
# It will help us diagnose broken compilers, and finding out an intuition
3363
3105
# of exeext.
3364
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3106
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3365
3107
$as_echo_n "checking for C compiler default output file name... " >&6; }
3366
3108
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3367
3109
 
3378
3120
done
3379
3121
rm -f $ac_rmfiles
3380
3122
 
3381
 
if { { ac_try="$ac_link_default"
 
3123
if { (ac_try="$ac_link_default"
3382
3124
case "(($ac_try" in
3383
3125
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3384
3126
  *) ac_try_echo=$ac_try;;
3385
3127
esac
3386
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3387
 
$as_echo "$ac_try_echo"; } >&5
 
3128
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3129
$as_echo "$ac_try_echo") >&5
3388
3130
  (eval "$ac_link_default") 2>&5
3389
3131
  ac_status=$?
3390
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3391
 
  test $ac_status = 0; }; then :
 
3132
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3133
  (exit $ac_status); }; then
3392
3134
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3393
3135
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3394
3136
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3405
3147
        # certainly right.
3406
3148
        break;;
3407
3149
    *.* )
3408
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3150
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3409
3151
        then :; else
3410
3152
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3411
3153
        fi
3424
3166
else
3425
3167
  ac_file=''
3426
3168
fi
3427
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3169
 
 
3170
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3428
3171
$as_echo "$ac_file" >&6; }
3429
 
if test -z "$ac_file"; then :
 
3172
if test -z "$ac_file"; then
3430
3173
  $as_echo "$as_me: failed program was:" >&5
3431
3174
sed 's/^/| /' conftest.$ac_ext >&5
3432
3175
 
3433
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3176
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3434
3177
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3435
 
{ as_fn_set_status 77
3436
 
as_fn_error "C compiler cannot create executables
3437
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
3178
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
 
3179
See \`config.log' for more details." >&5
 
3180
$as_echo "$as_me: error: C compiler cannot create executables
 
3181
See \`config.log' for more details." >&2;}
 
3182
   { (exit 77); exit 77; }; }; }
3438
3183
fi
 
3184
 
3439
3185
ac_exeext=$ac_cv_exeext
3440
3186
 
3441
3187
# Check that the compiler produces executables we can run.  If not, either
3442
3188
# the compiler is broken, or we cross compile.
3443
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3189
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3444
3190
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3191
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3445
3192
# If not cross compiling, check that we can run a simple program.
3446
3193
if test "$cross_compiling" != yes; then
3447
3194
  if { ac_try='./$ac_file'
3448
 
  { { case "(($ac_try" in
 
3195
  { (case "(($ac_try" in
3449
3196
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3450
3197
  *) ac_try_echo=$ac_try;;
3451
3198
esac
3452
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3453
 
$as_echo "$ac_try_echo"; } >&5
 
3199
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3200
$as_echo "$ac_try_echo") >&5
3454
3201
  (eval "$ac_try") 2>&5
3455
3202
  ac_status=$?
3456
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3457
 
  test $ac_status = 0; }; }; then
 
3203
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3204
  (exit $ac_status); }; }; then
3458
3205
    cross_compiling=no
3459
3206
  else
3460
3207
    if test "$cross_compiling" = maybe; then
3461
3208
        cross_compiling=yes
3462
3209
    else
3463
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3210
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3464
3211
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3465
 
as_fn_error "cannot run C compiled programs.
3466
 
If you meant to cross compile, use \`--host'.
3467
 
See \`config.log' for more details." "$LINENO" 5; }
 
3212
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3213
If you meant to cross compile, use \`--host'.
 
3214
See \`config.log' for more details." >&5
 
3215
$as_echo "$as_me: error: cannot run C compiled programs.
 
3216
If you meant to cross compile, use \`--host'.
 
3217
See \`config.log' for more details." >&2;}
 
3218
   { (exit 1); exit 1; }; }; }
3468
3219
    fi
3469
3220
  fi
3470
3221
fi
3471
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3222
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3472
3223
$as_echo "yes" >&6; }
3473
3224
 
3474
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
 
3225
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3475
3226
ac_clean_files=$ac_clean_files_save
3476
3227
# Check that the compiler produces executables we can run.  If not, either
3477
3228
# the compiler is broken, or we cross compile.
3478
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3229
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3479
3230
$as_echo_n "checking whether we are cross compiling... " >&6; }
3480
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3231
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3481
3232
$as_echo "$cross_compiling" >&6; }
3482
3233
 
3483
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3234
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3484
3235
$as_echo_n "checking for suffix of executables... " >&6; }
3485
 
if { { ac_try="$ac_link"
 
3236
if { (ac_try="$ac_link"
3486
3237
case "(($ac_try" in
3487
3238
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3488
3239
  *) ac_try_echo=$ac_try;;
3489
3240
esac
3490
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3491
 
$as_echo "$ac_try_echo"; } >&5
 
3241
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3242
$as_echo "$ac_try_echo") >&5
3492
3243
  (eval "$ac_link") 2>&5
3493
3244
  ac_status=$?
3494
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3495
 
  test $ac_status = 0; }; then :
 
3245
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3246
  (exit $ac_status); }; then
3496
3247
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3497
3248
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3498
3249
# work properly (i.e., refer to `conftest.exe'), while it won't with
3507
3258
  esac
3508
3259
done
3509
3260
else
3510
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3261
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3511
3262
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3512
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3513
 
See \`config.log' for more details." "$LINENO" 5; }
 
3263
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3264
See \`config.log' for more details." >&5
 
3265
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
3266
See \`config.log' for more details." >&2;}
 
3267
   { (exit 1); exit 1; }; }; }
3514
3268
fi
 
3269
 
3515
3270
rm -f conftest$ac_cv_exeext
3516
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3271
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3517
3272
$as_echo "$ac_cv_exeext" >&6; }
3518
3273
 
3519
3274
rm -f conftest.$ac_ext
3520
3275
EXEEXT=$ac_cv_exeext
3521
3276
ac_exeext=$EXEEXT
3522
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3277
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3523
3278
$as_echo_n "checking for suffix of object files... " >&6; }
3524
 
if test "${ac_cv_objext+set}" = set; then :
 
3279
if test "${ac_cv_objext+set}" = set; then
3525
3280
  $as_echo_n "(cached) " >&6
3526
3281
else
3527
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3282
  cat >conftest.$ac_ext <<_ACEOF
 
3283
/* confdefs.h.  */
 
3284
_ACEOF
 
3285
cat confdefs.h >>conftest.$ac_ext
 
3286
cat >>conftest.$ac_ext <<_ACEOF
3528
3287
/* end confdefs.h.  */
3529
3288
 
3530
3289
int
3536
3295
}
3537
3296
_ACEOF
3538
3297
rm -f conftest.o conftest.obj
3539
 
if { { ac_try="$ac_compile"
 
3298
if { (ac_try="$ac_compile"
3540
3299
case "(($ac_try" in
3541
3300
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3542
3301
  *) ac_try_echo=$ac_try;;
3543
3302
esac
3544
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3545
 
$as_echo "$ac_try_echo"; } >&5
 
3303
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3304
$as_echo "$ac_try_echo") >&5
3546
3305
  (eval "$ac_compile") 2>&5
3547
3306
  ac_status=$?
3548
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3549
 
  test $ac_status = 0; }; then :
 
3307
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3308
  (exit $ac_status); }; then
3550
3309
  for ac_file in conftest.o conftest.obj conftest.*; do
3551
3310
  test -f "$ac_file" || continue;
3552
3311
  case $ac_file in
3559
3318
  $as_echo "$as_me: failed program was:" >&5
3560
3319
sed 's/^/| /' conftest.$ac_ext >&5
3561
3320
 
3562
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3321
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3563
3322
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3564
 
as_fn_error "cannot compute suffix of object files: cannot compile
3565
 
See \`config.log' for more details." "$LINENO" 5; }
 
3323
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
3324
See \`config.log' for more details." >&5
 
3325
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
3326
See \`config.log' for more details." >&2;}
 
3327
   { (exit 1); exit 1; }; }; }
3566
3328
fi
 
3329
 
3567
3330
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3568
3331
fi
3569
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3332
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3570
3333
$as_echo "$ac_cv_objext" >&6; }
3571
3334
OBJEXT=$ac_cv_objext
3572
3335
ac_objext=$OBJEXT
3573
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3336
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3574
3337
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3575
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3338
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3576
3339
  $as_echo_n "(cached) " >&6
3577
3340
else
3578
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3341
  cat >conftest.$ac_ext <<_ACEOF
 
3342
/* confdefs.h.  */
 
3343
_ACEOF
 
3344
cat confdefs.h >>conftest.$ac_ext
 
3345
cat >>conftest.$ac_ext <<_ACEOF
3579
3346
/* end confdefs.h.  */
3580
3347
 
3581
3348
int
3589
3356
  return 0;
3590
3357
}
3591
3358
_ACEOF
3592
 
if ac_fn_c_try_compile "$LINENO"; then :
 
3359
rm -f conftest.$ac_objext
 
3360
if { (ac_try="$ac_compile"
 
3361
case "(($ac_try" in
 
3362
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3363
  *) ac_try_echo=$ac_try;;
 
3364
esac
 
3365
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3366
$as_echo "$ac_try_echo") >&5
 
3367
  (eval "$ac_compile") 2>conftest.er1
 
3368
  ac_status=$?
 
3369
  grep -v '^ *+' conftest.er1 >conftest.err
 
3370
  rm -f conftest.er1
 
3371
  cat conftest.err >&5
 
3372
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3373
  (exit $ac_status); } && {
 
3374
         test -z "$ac_c_werror_flag" ||
 
3375
         test ! -s conftest.err
 
3376
       } && test -s conftest.$ac_objext; then
3593
3377
  ac_compiler_gnu=yes
3594
3378
else
3595
 
  ac_compiler_gnu=no
 
3379
  $as_echo "$as_me: failed program was:" >&5
 
3380
sed 's/^/| /' conftest.$ac_ext >&5
 
3381
 
 
3382
        ac_compiler_gnu=no
3596
3383
fi
 
3384
 
3597
3385
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3598
3386
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3599
3387
 
3600
3388
fi
3601
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3389
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3602
3390
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3603
3391
if test $ac_compiler_gnu = yes; then
3604
3392
  GCC=yes
3607
3395
fi
3608
3396
ac_test_CFLAGS=${CFLAGS+set}
3609
3397
ac_save_CFLAGS=$CFLAGS
3610
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3398
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3611
3399
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3612
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3400
if test "${ac_cv_prog_cc_g+set}" = set; then
3613
3401
  $as_echo_n "(cached) " >&6
3614
3402
else
3615
3403
  ac_save_c_werror_flag=$ac_c_werror_flag
3616
3404
   ac_c_werror_flag=yes
3617
3405
   ac_cv_prog_cc_g=no
3618
3406
   CFLAGS="-g"
3619
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3407
   cat >conftest.$ac_ext <<_ACEOF
 
3408
/* confdefs.h.  */
 
3409
_ACEOF
 
3410
cat confdefs.h >>conftest.$ac_ext
 
3411
cat >>conftest.$ac_ext <<_ACEOF
3620
3412
/* end confdefs.h.  */
3621
3413
 
3622
3414
int
3627
3419
  return 0;
3628
3420
}
3629
3421
_ACEOF
3630
 
if ac_fn_c_try_compile "$LINENO"; then :
 
3422
rm -f conftest.$ac_objext
 
3423
if { (ac_try="$ac_compile"
 
3424
case "(($ac_try" in
 
3425
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3426
  *) ac_try_echo=$ac_try;;
 
3427
esac
 
3428
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3429
$as_echo "$ac_try_echo") >&5
 
3430
  (eval "$ac_compile") 2>conftest.er1
 
3431
  ac_status=$?
 
3432
  grep -v '^ *+' conftest.er1 >conftest.err
 
3433
  rm -f conftest.er1
 
3434
  cat conftest.err >&5
 
3435
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3436
  (exit $ac_status); } && {
 
3437
         test -z "$ac_c_werror_flag" ||
 
3438
         test ! -s conftest.err
 
3439
       } && test -s conftest.$ac_objext; then
3631
3440
  ac_cv_prog_cc_g=yes
3632
3441
else
3633
 
  CFLAGS=""
3634
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3442
  $as_echo "$as_me: failed program was:" >&5
 
3443
sed 's/^/| /' conftest.$ac_ext >&5
 
3444
 
 
3445
        CFLAGS=""
 
3446
      cat >conftest.$ac_ext <<_ACEOF
 
3447
/* confdefs.h.  */
 
3448
_ACEOF
 
3449
cat confdefs.h >>conftest.$ac_ext
 
3450
cat >>conftest.$ac_ext <<_ACEOF
3635
3451
/* end confdefs.h.  */
3636
3452
 
3637
3453
int
3642
3458
  return 0;
3643
3459
}
3644
3460
_ACEOF
3645
 
if ac_fn_c_try_compile "$LINENO"; then :
 
3461
rm -f conftest.$ac_objext
 
3462
if { (ac_try="$ac_compile"
 
3463
case "(($ac_try" in
 
3464
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3465
  *) ac_try_echo=$ac_try;;
 
3466
esac
 
3467
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3468
$as_echo "$ac_try_echo") >&5
 
3469
  (eval "$ac_compile") 2>conftest.er1
 
3470
  ac_status=$?
 
3471
  grep -v '^ *+' conftest.er1 >conftest.err
 
3472
  rm -f conftest.er1
 
3473
  cat conftest.err >&5
 
3474
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3475
  (exit $ac_status); } && {
 
3476
         test -z "$ac_c_werror_flag" ||
 
3477
         test ! -s conftest.err
 
3478
       } && test -s conftest.$ac_objext; then
 
3479
  :
 
3480
else
 
3481
  $as_echo "$as_me: failed program was:" >&5
 
3482
sed 's/^/| /' conftest.$ac_ext >&5
3646
3483
 
3647
 
else
3648
 
  ac_c_werror_flag=$ac_save_c_werror_flag
 
3484
        ac_c_werror_flag=$ac_save_c_werror_flag
3649
3485
         CFLAGS="-g"
3650
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3486
         cat >conftest.$ac_ext <<_ACEOF
 
3487
/* confdefs.h.  */
 
3488
_ACEOF
 
3489
cat confdefs.h >>conftest.$ac_ext
 
3490
cat >>conftest.$ac_ext <<_ACEOF
3651
3491
/* end confdefs.h.  */
3652
3492
 
3653
3493
int
3658
3498
  return 0;
3659
3499
}
3660
3500
_ACEOF
3661
 
if ac_fn_c_try_compile "$LINENO"; then :
 
3501
rm -f conftest.$ac_objext
 
3502
if { (ac_try="$ac_compile"
 
3503
case "(($ac_try" in
 
3504
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3505
  *) ac_try_echo=$ac_try;;
 
3506
esac
 
3507
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3508
$as_echo "$ac_try_echo") >&5
 
3509
  (eval "$ac_compile") 2>conftest.er1
 
3510
  ac_status=$?
 
3511
  grep -v '^ *+' conftest.er1 >conftest.err
 
3512
  rm -f conftest.er1
 
3513
  cat conftest.err >&5
 
3514
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3515
  (exit $ac_status); } && {
 
3516
         test -z "$ac_c_werror_flag" ||
 
3517
         test ! -s conftest.err
 
3518
       } && test -s conftest.$ac_objext; then
3662
3519
  ac_cv_prog_cc_g=yes
3663
 
fi
3664
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3665
 
fi
3666
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3667
 
fi
 
3520
else
 
3521
  $as_echo "$as_me: failed program was:" >&5
 
3522
sed 's/^/| /' conftest.$ac_ext >&5
 
3523
 
 
3524
 
 
3525
fi
 
3526
 
 
3527
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3528
fi
 
3529
 
 
3530
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3531
fi
 
3532
 
3668
3533
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3669
3534
   ac_c_werror_flag=$ac_save_c_werror_flag
3670
3535
fi
3671
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3536
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3672
3537
$as_echo "$ac_cv_prog_cc_g" >&6; }
3673
3538
if test "$ac_test_CFLAGS" = set; then
3674
3539
  CFLAGS=$ac_save_CFLAGS
3685
3550
    CFLAGS=
3686
3551
  fi
3687
3552
fi
3688
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3553
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3689
3554
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3690
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3555
if test "${ac_cv_prog_cc_c89+set}" = set; then
3691
3556
  $as_echo_n "(cached) " >&6
3692
3557
else
3693
3558
  ac_cv_prog_cc_c89=no
3694
3559
ac_save_CC=$CC
3695
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3560
cat >conftest.$ac_ext <<_ACEOF
 
3561
/* confdefs.h.  */
 
3562
_ACEOF
 
3563
cat confdefs.h >>conftest.$ac_ext
 
3564
cat >>conftest.$ac_ext <<_ACEOF
3696
3565
/* end confdefs.h.  */
3697
3566
#include <stdarg.h>
3698
3567
#include <stdio.h>
3749
3618
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3750
3619
do
3751
3620
  CC="$ac_save_CC $ac_arg"
3752
 
  if ac_fn_c_try_compile "$LINENO"; then :
 
3621
  rm -f conftest.$ac_objext
 
3622
if { (ac_try="$ac_compile"
 
3623
case "(($ac_try" in
 
3624
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3625
  *) ac_try_echo=$ac_try;;
 
3626
esac
 
3627
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3628
$as_echo "$ac_try_echo") >&5
 
3629
  (eval "$ac_compile") 2>conftest.er1
 
3630
  ac_status=$?
 
3631
  grep -v '^ *+' conftest.er1 >conftest.err
 
3632
  rm -f conftest.er1
 
3633
  cat conftest.err >&5
 
3634
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3635
  (exit $ac_status); } && {
 
3636
         test -z "$ac_c_werror_flag" ||
 
3637
         test ! -s conftest.err
 
3638
       } && test -s conftest.$ac_objext; then
3753
3639
  ac_cv_prog_cc_c89=$ac_arg
 
3640
else
 
3641
  $as_echo "$as_me: failed program was:" >&5
 
3642
sed 's/^/| /' conftest.$ac_ext >&5
 
3643
 
 
3644
 
3754
3645
fi
 
3646
 
3755
3647
rm -f core conftest.err conftest.$ac_objext
3756
3648
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3757
3649
done
3762
3654
# AC_CACHE_VAL
3763
3655
case "x$ac_cv_prog_cc_c89" in
3764
3656
  x)
3765
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3657
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
3766
3658
$as_echo "none needed" >&6; } ;;
3767
3659
  xno)
3768
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3660
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3769
3661
$as_echo "unsupported" >&6; } ;;
3770
3662
  *)
3771
3663
    CC="$CC $ac_cv_prog_cc_c89"
3772
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3664
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3773
3665
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3774
3666
esac
3775
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
3776
3667
 
3777
 
fi
3778
3668
 
3779
3669
ac_ext=c
3780
3670
ac_cpp='$CPP $CPPFLAGS'
3784
3674
 
3785
3675
depcc="$CC"   am_compiler_list=
3786
3676
 
3787
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3677
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3788
3678
$as_echo_n "checking dependency style of $depcc... " >&6; }
3789
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3679
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3790
3680
  $as_echo_n "(cached) " >&6
3791
3681
else
3792
3682
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3894
3784
fi
3895
3785
 
3896
3786
fi
3897
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3787
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3898
3788
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3899
3789
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3900
3790
 
3910
3800
 
3911
3801
 
3912
3802
 
3913
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
 
3803
{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
3914
3804
$as_echo_n "checking for library containing strerror... " >&6; }
3915
 
if test "${ac_cv_search_strerror+set}" = set; then :
 
3805
if test "${ac_cv_search_strerror+set}" = set; then
3916
3806
  $as_echo_n "(cached) " >&6
3917
3807
else
3918
3808
  ac_func_search_save_LIBS=$LIBS
3919
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3809
cat >conftest.$ac_ext <<_ACEOF
 
3810
/* confdefs.h.  */
 
3811
_ACEOF
 
3812
cat confdefs.h >>conftest.$ac_ext
 
3813
cat >>conftest.$ac_ext <<_ACEOF
3920
3814
/* end confdefs.h.  */
3921
3815
 
3922
3816
/* Override any GCC internal prototype to avoid an error.
3941
3835
    ac_res=-l$ac_lib
3942
3836
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3943
3837
  fi
3944
 
  if ac_fn_c_try_link "$LINENO"; then :
 
3838
  rm -f conftest.$ac_objext conftest$ac_exeext
 
3839
if { (ac_try="$ac_link"
 
3840
case "(($ac_try" in
 
3841
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3842
  *) ac_try_echo=$ac_try;;
 
3843
esac
 
3844
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3845
$as_echo "$ac_try_echo") >&5
 
3846
  (eval "$ac_link") 2>conftest.er1
 
3847
  ac_status=$?
 
3848
  grep -v '^ *+' conftest.er1 >conftest.err
 
3849
  rm -f conftest.er1
 
3850
  cat conftest.err >&5
 
3851
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3852
  (exit $ac_status); } && {
 
3853
         test -z "$ac_c_werror_flag" ||
 
3854
         test ! -s conftest.err
 
3855
       } && test -s conftest$ac_exeext && {
 
3856
         test "$cross_compiling" = yes ||
 
3857
         $as_test_x conftest$ac_exeext
 
3858
       }; then
3945
3859
  ac_cv_search_strerror=$ac_res
 
3860
else
 
3861
  $as_echo "$as_me: failed program was:" >&5
 
3862
sed 's/^/| /' conftest.$ac_ext >&5
 
3863
 
 
3864
 
3946
3865
fi
3947
 
rm -f core conftest.err conftest.$ac_objext \
3948
 
    conftest$ac_exeext
3949
 
  if test "${ac_cv_search_strerror+set}" = set; then :
 
3866
 
 
3867
rm -rf conftest.dSYM
 
3868
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
3869
      conftest$ac_exeext
 
3870
  if test "${ac_cv_search_strerror+set}" = set; then
3950
3871
  break
3951
3872
fi
3952
3873
done
3953
 
if test "${ac_cv_search_strerror+set}" = set; then :
3954
 
 
 
3874
if test "${ac_cv_search_strerror+set}" = set; then
 
3875
  :
3955
3876
else
3956
3877
  ac_cv_search_strerror=no
3957
3878
fi
3958
3879
rm conftest.$ac_ext
3959
3880
LIBS=$ac_func_search_save_LIBS
3960
3881
fi
3961
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
 
3882
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3962
3883
$as_echo "$ac_cv_search_strerror" >&6; }
3963
3884
ac_res=$ac_cv_search_strerror
3964
 
if test "$ac_res" != no; then :
 
3885
if test "$ac_res" != no; then
3965
3886
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3966
3887
 
3967
3888
fi
3974
3895
if test -n "$ac_tool_prefix"; then
3975
3896
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3976
3897
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3977
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3898
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3978
3899
$as_echo_n "checking for $ac_word... " >&6; }
3979
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3900
if test "${ac_cv_prog_CC+set}" = set; then
3980
3901
  $as_echo_n "(cached) " >&6
3981
3902
else
3982
3903
  if test -n "$CC"; then
3987
3908
do
3988
3909
  IFS=$as_save_IFS
3989
3910
  test -z "$as_dir" && as_dir=.
3990
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3911
  for ac_exec_ext in '' $ac_executable_extensions; do
3991
3912
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3992
3913
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3993
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3914
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3994
3915
    break 2
3995
3916
  fi
3996
3917
done
3997
 
  done
 
3918
done
3998
3919
IFS=$as_save_IFS
3999
3920
 
4000
3921
fi
4001
3922
fi
4002
3923
CC=$ac_cv_prog_CC
4003
3924
if test -n "$CC"; then
4004
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3925
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
4005
3926
$as_echo "$CC" >&6; }
4006
3927
else
4007
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3928
  { $as_echo "$as_me:$LINENO: result: no" >&5
4008
3929
$as_echo "no" >&6; }
4009
3930
fi
4010
3931
 
4014
3935
  ac_ct_CC=$CC
4015
3936
  # Extract the first word of "gcc", so it can be a program name with args.
4016
3937
set dummy gcc; ac_word=$2
4017
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3938
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4018
3939
$as_echo_n "checking for $ac_word... " >&6; }
4019
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3940
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4020
3941
  $as_echo_n "(cached) " >&6
4021
3942
else
4022
3943
  if test -n "$ac_ct_CC"; then
4027
3948
do
4028
3949
  IFS=$as_save_IFS
4029
3950
  test -z "$as_dir" && as_dir=.
4030
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3951
  for ac_exec_ext in '' $ac_executable_extensions; do
4031
3952
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4032
3953
    ac_cv_prog_ac_ct_CC="gcc"
4033
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3954
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4034
3955
    break 2
4035
3956
  fi
4036
3957
done
4037
 
  done
 
3958
done
4038
3959
IFS=$as_save_IFS
4039
3960
 
4040
3961
fi
4041
3962
fi
4042
3963
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4043
3964
if test -n "$ac_ct_CC"; then
4044
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3965
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4045
3966
$as_echo "$ac_ct_CC" >&6; }
4046
3967
else
4047
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3968
  { $as_echo "$as_me:$LINENO: result: no" >&5
4048
3969
$as_echo "no" >&6; }
4049
3970
fi
4050
3971
 
4053
3974
  else
4054
3975
    case $cross_compiling:$ac_tool_warned in
4055
3976
yes:)
4056
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3977
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4057
3978
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4058
3979
ac_tool_warned=yes ;;
4059
3980
esac
4067
3988
          if test -n "$ac_tool_prefix"; then
4068
3989
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4069
3990
set dummy ${ac_tool_prefix}cc; ac_word=$2
4070
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3991
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4071
3992
$as_echo_n "checking for $ac_word... " >&6; }
4072
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3993
if test "${ac_cv_prog_CC+set}" = set; then
4073
3994
  $as_echo_n "(cached) " >&6
4074
3995
else
4075
3996
  if test -n "$CC"; then
4080
4001
do
4081
4002
  IFS=$as_save_IFS
4082
4003
  test -z "$as_dir" && as_dir=.
4083
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4004
  for ac_exec_ext in '' $ac_executable_extensions; do
4084
4005
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4085
4006
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4086
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4007
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4087
4008
    break 2
4088
4009
  fi
4089
4010
done
4090
 
  done
 
4011
done
4091
4012
IFS=$as_save_IFS
4092
4013
 
4093
4014
fi
4094
4015
fi
4095
4016
CC=$ac_cv_prog_CC
4096
4017
if test -n "$CC"; then
4097
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4018
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
4098
4019
$as_echo "$CC" >&6; }
4099
4020
else
4100
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4021
  { $as_echo "$as_me:$LINENO: result: no" >&5
4101
4022
$as_echo "no" >&6; }
4102
4023
fi
4103
4024
 
4107
4028
if test -z "$CC"; then
4108
4029
  # Extract the first word of "cc", so it can be a program name with args.
4109
4030
set dummy cc; ac_word=$2
4110
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4031
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4111
4032
$as_echo_n "checking for $ac_word... " >&6; }
4112
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4033
if test "${ac_cv_prog_CC+set}" = set; then
4113
4034
  $as_echo_n "(cached) " >&6
4114
4035
else
4115
4036
  if test -n "$CC"; then
4121
4042
do
4122
4043
  IFS=$as_save_IFS
4123
4044
  test -z "$as_dir" && as_dir=.
4124
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4045
  for ac_exec_ext in '' $ac_executable_extensions; do
4125
4046
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4126
4047
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4127
4048
       ac_prog_rejected=yes
4128
4049
       continue
4129
4050
     fi
4130
4051
    ac_cv_prog_CC="cc"
4131
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4052
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4132
4053
    break 2
4133
4054
  fi
4134
4055
done
4135
 
  done
 
4056
done
4136
4057
IFS=$as_save_IFS
4137
4058
 
4138
4059
if test $ac_prog_rejected = yes; then
4151
4072
fi
4152
4073
CC=$ac_cv_prog_CC
4153
4074
if test -n "$CC"; then
4154
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4075
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
4155
4076
$as_echo "$CC" >&6; }
4156
4077
else
4157
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4078
  { $as_echo "$as_me:$LINENO: result: no" >&5
4158
4079
$as_echo "no" >&6; }
4159
4080
fi
4160
4081
 
4166
4087
  do
4167
4088
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4168
4089
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4169
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4090
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4170
4091
$as_echo_n "checking for $ac_word... " >&6; }
4171
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4092
if test "${ac_cv_prog_CC+set}" = set; then
4172
4093
  $as_echo_n "(cached) " >&6
4173
4094
else
4174
4095
  if test -n "$CC"; then
4179
4100
do
4180
4101
  IFS=$as_save_IFS
4181
4102
  test -z "$as_dir" && as_dir=.
4182
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4103
  for ac_exec_ext in '' $ac_executable_extensions; do
4183
4104
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4184
4105
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4185
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4106
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4186
4107
    break 2
4187
4108
  fi
4188
4109
done
4189
 
  done
 
4110
done
4190
4111
IFS=$as_save_IFS
4191
4112
 
4192
4113
fi
4193
4114
fi
4194
4115
CC=$ac_cv_prog_CC
4195
4116
if test -n "$CC"; then
4196
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4117
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
4197
4118
$as_echo "$CC" >&6; }
4198
4119
else
4199
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4120
  { $as_echo "$as_me:$LINENO: result: no" >&5
4200
4121
$as_echo "no" >&6; }
4201
4122
fi
4202
4123
 
4210
4131
do
4211
4132
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4212
4133
set dummy $ac_prog; ac_word=$2
4213
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4134
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4214
4135
$as_echo_n "checking for $ac_word... " >&6; }
4215
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4136
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4216
4137
  $as_echo_n "(cached) " >&6
4217
4138
else
4218
4139
  if test -n "$ac_ct_CC"; then
4223
4144
do
4224
4145
  IFS=$as_save_IFS
4225
4146
  test -z "$as_dir" && as_dir=.
4226
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4147
  for ac_exec_ext in '' $ac_executable_extensions; do
4227
4148
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4228
4149
    ac_cv_prog_ac_ct_CC="$ac_prog"
4229
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4150
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4230
4151
    break 2
4231
4152
  fi
4232
4153
done
4233
 
  done
 
4154
done
4234
4155
IFS=$as_save_IFS
4235
4156
 
4236
4157
fi
4237
4158
fi
4238
4159
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4239
4160
if test -n "$ac_ct_CC"; then
4240
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4161
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4241
4162
$as_echo "$ac_ct_CC" >&6; }
4242
4163
else
4243
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4164
  { $as_echo "$as_me:$LINENO: result: no" >&5
4244
4165
$as_echo "no" >&6; }
4245
4166
fi
4246
4167
 
4253
4174
  else
4254
4175
    case $cross_compiling:$ac_tool_warned in
4255
4176
yes:)
4256
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4177
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4257
4178
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4258
4179
ac_tool_warned=yes ;;
4259
4180
esac
4264
4185
fi
4265
4186
 
4266
4187
 
4267
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4188
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4268
4189
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4269
 
as_fn_error "no acceptable C compiler found in \$PATH
4270
 
See \`config.log' for more details." "$LINENO" 5; }
 
4190
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
4191
See \`config.log' for more details." >&5
 
4192
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
 
4193
See \`config.log' for more details." >&2;}
 
4194
   { (exit 1); exit 1; }; }; }
4271
4195
 
4272
4196
# Provide some information about the compiler.
4273
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
4197
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4274
4198
set X $ac_compile
4275
4199
ac_compiler=$2
4276
 
for ac_option in --version -v -V -qversion; do
4277
 
  { { ac_try="$ac_compiler $ac_option >&5"
4278
 
case "(($ac_try" in
4279
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4280
 
  *) ac_try_echo=$ac_try;;
4281
 
esac
4282
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4283
 
$as_echo "$ac_try_echo"; } >&5
4284
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4285
 
  ac_status=$?
4286
 
  if test -s conftest.err; then
4287
 
    sed '10a\
4288
 
... rest of stderr output deleted ...
4289
 
         10q' conftest.err >conftest.er1
4290
 
    cat conftest.er1 >&5
4291
 
    rm -f conftest.er1 conftest.err
4292
 
  fi
4293
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4294
 
  test $ac_status = 0; }
4295
 
done
 
4200
{ (ac_try="$ac_compiler --version >&5"
 
4201
case "(($ac_try" in
 
4202
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4203
  *) ac_try_echo=$ac_try;;
 
4204
esac
 
4205
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4206
$as_echo "$ac_try_echo") >&5
 
4207
  (eval "$ac_compiler --version >&5") 2>&5
 
4208
  ac_status=$?
 
4209
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4210
  (exit $ac_status); }
 
4211
{ (ac_try="$ac_compiler -v >&5"
 
4212
case "(($ac_try" in
 
4213
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4214
  *) ac_try_echo=$ac_try;;
 
4215
esac
 
4216
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4217
$as_echo "$ac_try_echo") >&5
 
4218
  (eval "$ac_compiler -v >&5") 2>&5
 
4219
  ac_status=$?
 
4220
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4221
  (exit $ac_status); }
 
4222
{ (ac_try="$ac_compiler -V >&5"
 
4223
case "(($ac_try" in
 
4224
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4225
  *) ac_try_echo=$ac_try;;
 
4226
esac
 
4227
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4228
$as_echo "$ac_try_echo") >&5
 
4229
  (eval "$ac_compiler -V >&5") 2>&5
 
4230
  ac_status=$?
 
4231
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4232
  (exit $ac_status); }
4296
4233
 
4297
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
4234
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4298
4235
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4299
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
4236
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4300
4237
  $as_echo_n "(cached) " >&6
4301
4238
else
4302
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4239
  cat >conftest.$ac_ext <<_ACEOF
 
4240
/* confdefs.h.  */
 
4241
_ACEOF
 
4242
cat confdefs.h >>conftest.$ac_ext
 
4243
cat >>conftest.$ac_ext <<_ACEOF
4303
4244
/* end confdefs.h.  */
4304
4245
 
4305
4246
int
4313
4254
  return 0;
4314
4255
}
4315
4256
_ACEOF
4316
 
if ac_fn_c_try_compile "$LINENO"; then :
 
4257
rm -f conftest.$ac_objext
 
4258
if { (ac_try="$ac_compile"
 
4259
case "(($ac_try" in
 
4260
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4261
  *) ac_try_echo=$ac_try;;
 
4262
esac
 
4263
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4264
$as_echo "$ac_try_echo") >&5
 
4265
  (eval "$ac_compile") 2>conftest.er1
 
4266
  ac_status=$?
 
4267
  grep -v '^ *+' conftest.er1 >conftest.err
 
4268
  rm -f conftest.er1
 
4269
  cat conftest.err >&5
 
4270
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4271
  (exit $ac_status); } && {
 
4272
         test -z "$ac_c_werror_flag" ||
 
4273
         test ! -s conftest.err
 
4274
       } && test -s conftest.$ac_objext; then
4317
4275
  ac_compiler_gnu=yes
4318
4276
else
4319
 
  ac_compiler_gnu=no
 
4277
  $as_echo "$as_me: failed program was:" >&5
 
4278
sed 's/^/| /' conftest.$ac_ext >&5
 
4279
 
 
4280
        ac_compiler_gnu=no
4320
4281
fi
 
4282
 
4321
4283
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4322
4284
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4323
4285
 
4324
4286
fi
4325
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
4287
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4326
4288
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4327
4289
if test $ac_compiler_gnu = yes; then
4328
4290
  GCC=yes
4331
4293
fi
4332
4294
ac_test_CFLAGS=${CFLAGS+set}
4333
4295
ac_save_CFLAGS=$CFLAGS
4334
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
4296
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4335
4297
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4336
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4298
if test "${ac_cv_prog_cc_g+set}" = set; then
4337
4299
  $as_echo_n "(cached) " >&6
4338
4300
else
4339
4301
  ac_save_c_werror_flag=$ac_c_werror_flag
4340
4302
   ac_c_werror_flag=yes
4341
4303
   ac_cv_prog_cc_g=no
4342
4304
   CFLAGS="-g"
4343
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4305
   cat >conftest.$ac_ext <<_ACEOF
 
4306
/* confdefs.h.  */
 
4307
_ACEOF
 
4308
cat confdefs.h >>conftest.$ac_ext
 
4309
cat >>conftest.$ac_ext <<_ACEOF
4344
4310
/* end confdefs.h.  */
4345
4311
 
4346
4312
int
4351
4317
  return 0;
4352
4318
}
4353
4319
_ACEOF
4354
 
if ac_fn_c_try_compile "$LINENO"; then :
 
4320
rm -f conftest.$ac_objext
 
4321
if { (ac_try="$ac_compile"
 
4322
case "(($ac_try" in
 
4323
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4324
  *) ac_try_echo=$ac_try;;
 
4325
esac
 
4326
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4327
$as_echo "$ac_try_echo") >&5
 
4328
  (eval "$ac_compile") 2>conftest.er1
 
4329
  ac_status=$?
 
4330
  grep -v '^ *+' conftest.er1 >conftest.err
 
4331
  rm -f conftest.er1
 
4332
  cat conftest.err >&5
 
4333
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4334
  (exit $ac_status); } && {
 
4335
         test -z "$ac_c_werror_flag" ||
 
4336
         test ! -s conftest.err
 
4337
       } && test -s conftest.$ac_objext; then
4355
4338
  ac_cv_prog_cc_g=yes
4356
4339
else
4357
 
  CFLAGS=""
4358
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4340
  $as_echo "$as_me: failed program was:" >&5
 
4341
sed 's/^/| /' conftest.$ac_ext >&5
 
4342
 
 
4343
        CFLAGS=""
 
4344
      cat >conftest.$ac_ext <<_ACEOF
 
4345
/* confdefs.h.  */
 
4346
_ACEOF
 
4347
cat confdefs.h >>conftest.$ac_ext
 
4348
cat >>conftest.$ac_ext <<_ACEOF
4359
4349
/* end confdefs.h.  */
4360
4350
 
4361
4351
int
4366
4356
  return 0;
4367
4357
}
4368
4358
_ACEOF
4369
 
if ac_fn_c_try_compile "$LINENO"; then :
 
4359
rm -f conftest.$ac_objext
 
4360
if { (ac_try="$ac_compile"
 
4361
case "(($ac_try" in
 
4362
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4363
  *) ac_try_echo=$ac_try;;
 
4364
esac
 
4365
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4366
$as_echo "$ac_try_echo") >&5
 
4367
  (eval "$ac_compile") 2>conftest.er1
 
4368
  ac_status=$?
 
4369
  grep -v '^ *+' conftest.er1 >conftest.err
 
4370
  rm -f conftest.er1
 
4371
  cat conftest.err >&5
 
4372
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4373
  (exit $ac_status); } && {
 
4374
         test -z "$ac_c_werror_flag" ||
 
4375
         test ! -s conftest.err
 
4376
       } && test -s conftest.$ac_objext; then
 
4377
  :
 
4378
else
 
4379
  $as_echo "$as_me: failed program was:" >&5
 
4380
sed 's/^/| /' conftest.$ac_ext >&5
4370
4381
 
4371
 
else
4372
 
  ac_c_werror_flag=$ac_save_c_werror_flag
 
4382
        ac_c_werror_flag=$ac_save_c_werror_flag
4373
4383
         CFLAGS="-g"
4374
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4384
         cat >conftest.$ac_ext <<_ACEOF
 
4385
/* confdefs.h.  */
 
4386
_ACEOF
 
4387
cat confdefs.h >>conftest.$ac_ext
 
4388
cat >>conftest.$ac_ext <<_ACEOF
4375
4389
/* end confdefs.h.  */
4376
4390
 
4377
4391
int
4382
4396
  return 0;
4383
4397
}
4384
4398
_ACEOF
4385
 
if ac_fn_c_try_compile "$LINENO"; then :
 
4399
rm -f conftest.$ac_objext
 
4400
if { (ac_try="$ac_compile"
 
4401
case "(($ac_try" in
 
4402
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4403
  *) ac_try_echo=$ac_try;;
 
4404
esac
 
4405
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4406
$as_echo "$ac_try_echo") >&5
 
4407
  (eval "$ac_compile") 2>conftest.er1
 
4408
  ac_status=$?
 
4409
  grep -v '^ *+' conftest.er1 >conftest.err
 
4410
  rm -f conftest.er1
 
4411
  cat conftest.err >&5
 
4412
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4413
  (exit $ac_status); } && {
 
4414
         test -z "$ac_c_werror_flag" ||
 
4415
         test ! -s conftest.err
 
4416
       } && test -s conftest.$ac_objext; then
4386
4417
  ac_cv_prog_cc_g=yes
4387
 
fi
4388
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4389
 
fi
4390
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4391
 
fi
 
4418
else
 
4419
  $as_echo "$as_me: failed program was:" >&5
 
4420
sed 's/^/| /' conftest.$ac_ext >&5
 
4421
 
 
4422
 
 
4423
fi
 
4424
 
 
4425
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4426
fi
 
4427
 
 
4428
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4429
fi
 
4430
 
4392
4431
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4393
4432
   ac_c_werror_flag=$ac_save_c_werror_flag
4394
4433
fi
4395
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
4434
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4396
4435
$as_echo "$ac_cv_prog_cc_g" >&6; }
4397
4436
if test "$ac_test_CFLAGS" = set; then
4398
4437
  CFLAGS=$ac_save_CFLAGS
4409
4448
    CFLAGS=
4410
4449
  fi
4411
4450
fi
4412
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
4451
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4413
4452
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4414
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4453
if test "${ac_cv_prog_cc_c89+set}" = set; then
4415
4454
  $as_echo_n "(cached) " >&6
4416
4455
else
4417
4456
  ac_cv_prog_cc_c89=no
4418
4457
ac_save_CC=$CC
4419
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4458
cat >conftest.$ac_ext <<_ACEOF
 
4459
/* confdefs.h.  */
 
4460
_ACEOF
 
4461
cat confdefs.h >>conftest.$ac_ext
 
4462
cat >>conftest.$ac_ext <<_ACEOF
4420
4463
/* end confdefs.h.  */
4421
4464
#include <stdarg.h>
4422
4465
#include <stdio.h>
4473
4516
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4474
4517
do
4475
4518
  CC="$ac_save_CC $ac_arg"
4476
 
  if ac_fn_c_try_compile "$LINENO"; then :
 
4519
  rm -f conftest.$ac_objext
 
4520
if { (ac_try="$ac_compile"
 
4521
case "(($ac_try" in
 
4522
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4523
  *) ac_try_echo=$ac_try;;
 
4524
esac
 
4525
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4526
$as_echo "$ac_try_echo") >&5
 
4527
  (eval "$ac_compile") 2>conftest.er1
 
4528
  ac_status=$?
 
4529
  grep -v '^ *+' conftest.er1 >conftest.err
 
4530
  rm -f conftest.er1
 
4531
  cat conftest.err >&5
 
4532
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4533
  (exit $ac_status); } && {
 
4534
         test -z "$ac_c_werror_flag" ||
 
4535
         test ! -s conftest.err
 
4536
       } && test -s conftest.$ac_objext; then
4477
4537
  ac_cv_prog_cc_c89=$ac_arg
 
4538
else
 
4539
  $as_echo "$as_me: failed program was:" >&5
 
4540
sed 's/^/| /' conftest.$ac_ext >&5
 
4541
 
 
4542
 
4478
4543
fi
 
4544
 
4479
4545
rm -f core conftest.err conftest.$ac_objext
4480
4546
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4481
4547
done
4486
4552
# AC_CACHE_VAL
4487
4553
case "x$ac_cv_prog_cc_c89" in
4488
4554
  x)
4489
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
4555
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
4490
4556
$as_echo "none needed" >&6; } ;;
4491
4557
  xno)
4492
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
4558
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4493
4559
$as_echo "unsupported" >&6; } ;;
4494
4560
  *)
4495
4561
    CC="$CC $ac_cv_prog_cc_c89"
4496
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
4562
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4497
4563
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4498
4564
esac
4499
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
4500
4565
 
4501
 
fi
4502
4566
 
4503
4567
ac_ext=c
4504
4568
ac_cpp='$CPP $CPPFLAGS'
4508
4572
 
4509
4573
depcc="$CC"   am_compiler_list=
4510
4574
 
4511
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4575
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4512
4576
$as_echo_n "checking dependency style of $depcc... " >&6; }
4513
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4577
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4514
4578
  $as_echo_n "(cached) " >&6
4515
4579
else
4516
4580
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4618
4682
fi
4619
4683
 
4620
4684
fi
4621
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4685
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4622
4686
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4623
4687
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4624
4688
 
4633
4697
fi
4634
4698
 
4635
4699
 
4636
 
 
4637
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
4700
# Find a good install program.  We prefer a C program (faster),
 
4701
# so one script is as good as another.  But avoid the broken or
 
4702
# incompatible versions:
 
4703
# SysV /etc/install, /usr/sbin/install
 
4704
# SunOS /usr/etc/install
 
4705
# IRIX /sbin/install
 
4706
# AIX /bin/install
 
4707
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
4708
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
4709
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
4710
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
4711
# OS/2's system install, which has a completely different semantic
 
4712
# ./install, which can be erroneously created by make from ./install.sh.
 
4713
# Reject install programs that cannot install multiple files.
 
4714
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
4715
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
4716
if test -z "$INSTALL"; then
 
4717
if test "${ac_cv_path_install+set}" = set; then
 
4718
  $as_echo_n "(cached) " >&6
 
4719
else
 
4720
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4721
for as_dir in $PATH
 
4722
do
 
4723
  IFS=$as_save_IFS
 
4724
  test -z "$as_dir" && as_dir=.
 
4725
  # Account for people who put trailing slashes in PATH elements.
 
4726
case $as_dir/ in
 
4727
  ./ | .// | /cC/* | \
 
4728
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
4729
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
4730
  /usr/ucb/* ) ;;
 
4731
  *)
 
4732
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
4733
    # Don't use installbsd from OSF since it installs stuff as root
 
4734
    # by default.
 
4735
    for ac_prog in ginstall scoinst install; do
 
4736
      for ac_exec_ext in '' $ac_executable_extensions; do
 
4737
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
4738
          if test $ac_prog = install &&
 
4739
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
4740
            # AIX install.  It has an incompatible calling convention.
 
4741
            :
 
4742
          elif test $ac_prog = install &&
 
4743
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
4744
            # program-specific install script used by HP pwplus--don't use.
 
4745
            :
 
4746
          else
 
4747
            rm -rf conftest.one conftest.two conftest.dir
 
4748
            echo one > conftest.one
 
4749
            echo two > conftest.two
 
4750
            mkdir conftest.dir
 
4751
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
4752
              test -s conftest.one && test -s conftest.two &&
 
4753
              test -s conftest.dir/conftest.one &&
 
4754
              test -s conftest.dir/conftest.two
 
4755
            then
 
4756
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
4757
              break 3
 
4758
            fi
 
4759
          fi
 
4760
        fi
 
4761
      done
 
4762
    done
 
4763
    ;;
 
4764
esac
 
4765
 
 
4766
done
 
4767
IFS=$as_save_IFS
 
4768
 
 
4769
rm -rf conftest.one conftest.two conftest.dir
 
4770
 
 
4771
fi
 
4772
  if test "${ac_cv_path_install+set}" = set; then
 
4773
    INSTALL=$ac_cv_path_install
 
4774
  else
 
4775
    # As a last resort, use the slow shell script.  Don't cache a
 
4776
    # value for INSTALL within a source directory, because that will
 
4777
    # break other packages using the cache if that directory is
 
4778
    # removed, or if the value is a relative name.
 
4779
    INSTALL=$ac_install_sh
 
4780
  fi
 
4781
fi
 
4782
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
4783
$as_echo "$INSTALL" >&6; }
 
4784
 
 
4785
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
4786
# It thinks the first close brace ends the variable substitution.
 
4787
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
4788
 
 
4789
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
4790
 
 
4791
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
4792
 
 
4793
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4638
4794
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4639
4795
set x ${MAKE-make}
4640
4796
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4641
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
4797
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
4642
4798
  $as_echo_n "(cached) " >&6
4643
4799
else
4644
4800
  cat >conftest.make <<\_ACEOF
4656
4812
rm -f conftest.make
4657
4813
fi
4658
4814
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4659
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4815
  { $as_echo "$as_me:$LINENO: result: yes" >&5
4660
4816
$as_echo "yes" >&6; }
4661
4817
  SET_MAKE=
4662
4818
else
4663
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4819
  { $as_echo "$as_me:$LINENO: result: no" >&5
4664
4820
$as_echo "no" >&6; }
4665
4821
  SET_MAKE="MAKE=${MAKE-make}"
4666
4822
fi
4667
4823
 
4668
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 
4824
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4669
4825
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4670
 
if test "${ac_cv_c_const+set}" = set; then :
 
4826
if test "${ac_cv_c_const+set}" = set; then
4671
4827
  $as_echo_n "(cached) " >&6
4672
4828
else
4673
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4829
  cat >conftest.$ac_ext <<_ACEOF
 
4830
/* confdefs.h.  */
 
4831
_ACEOF
 
4832
cat confdefs.h >>conftest.$ac_ext
 
4833
cat >>conftest.$ac_ext <<_ACEOF
4674
4834
/* end confdefs.h.  */
4675
4835
 
4676
4836
int
4730
4890
  return 0;
4731
4891
}
4732
4892
_ACEOF
4733
 
if ac_fn_c_try_compile "$LINENO"; then :
 
4893
rm -f conftest.$ac_objext
 
4894
if { (ac_try="$ac_compile"
 
4895
case "(($ac_try" in
 
4896
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4897
  *) ac_try_echo=$ac_try;;
 
4898
esac
 
4899
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4900
$as_echo "$ac_try_echo") >&5
 
4901
  (eval "$ac_compile") 2>conftest.er1
 
4902
  ac_status=$?
 
4903
  grep -v '^ *+' conftest.er1 >conftest.err
 
4904
  rm -f conftest.er1
 
4905
  cat conftest.err >&5
 
4906
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4907
  (exit $ac_status); } && {
 
4908
         test -z "$ac_c_werror_flag" ||
 
4909
         test ! -s conftest.err
 
4910
       } && test -s conftest.$ac_objext; then
4734
4911
  ac_cv_c_const=yes
4735
4912
else
4736
 
  ac_cv_c_const=no
 
4913
  $as_echo "$as_me: failed program was:" >&5
 
4914
sed 's/^/| /' conftest.$ac_ext >&5
 
4915
 
 
4916
        ac_cv_c_const=no
4737
4917
fi
 
4918
 
4738
4919
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4739
4920
fi
4740
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
 
4921
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4741
4922
$as_echo "$ac_cv_c_const" >&6; }
4742
4923
if test $ac_cv_c_const = no; then
4743
4924
 
4744
 
$as_echo "#define const /**/" >>confdefs.h
 
4925
cat >>confdefs.h <<\_ACEOF
 
4926
#define const /**/
 
4927
_ACEOF
4745
4928
 
4746
4929
fi
4747
4930
 
4748
4931
case `pwd` in
4749
4932
  *\ * | *\     *)
4750
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
4933
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4751
4934
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4752
4935
esac
4753
4936
 
4772
4955
 
4773
4956
# Make sure we can run config.sub.
4774
4957
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4775
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
4958
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
4959
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
4960
   { (exit 1); exit 1; }; }
4776
4961
 
4777
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
4962
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
4778
4963
$as_echo_n "checking build system type... " >&6; }
4779
 
if test "${ac_cv_build+set}" = set; then :
 
4964
if test "${ac_cv_build+set}" = set; then
4780
4965
  $as_echo_n "(cached) " >&6
4781
4966
else
4782
4967
  ac_build_alias=$build_alias
4783
4968
test "x$ac_build_alias" = x &&
4784
4969
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4785
4970
test "x$ac_build_alias" = x &&
4786
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
4971
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
4972
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
4973
   { (exit 1); exit 1; }; }
4787
4974
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4788
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
4975
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
4976
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
4977
   { (exit 1); exit 1; }; }
4789
4978
 
4790
4979
fi
4791
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
4980
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4792
4981
$as_echo "$ac_cv_build" >&6; }
4793
4982
case $ac_cv_build in
4794
4983
*-*-*) ;;
4795
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
4984
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
4985
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
 
4986
   { (exit 1); exit 1; }; };;
4796
4987
esac
4797
4988
build=$ac_cv_build
4798
4989
ac_save_IFS=$IFS; IFS='-'
4808
4999
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4809
5000
 
4810
5001
 
4811
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
5002
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
4812
5003
$as_echo_n "checking host system type... " >&6; }
4813
 
if test "${ac_cv_host+set}" = set; then :
 
5004
if test "${ac_cv_host+set}" = set; then
4814
5005
  $as_echo_n "(cached) " >&6
4815
5006
else
4816
5007
  if test "x$host_alias" = x; then
4817
5008
  ac_cv_host=$ac_cv_build
4818
5009
else
4819
5010
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4820
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
5011
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
5012
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
5013
   { (exit 1); exit 1; }; }
4821
5014
fi
4822
5015
 
4823
5016
fi
4824
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
5017
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4825
5018
$as_echo "$ac_cv_host" >&6; }
4826
5019
case $ac_cv_host in
4827
5020
*-*-*) ;;
4828
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
5021
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
5022
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
 
5023
   { (exit 1); exit 1; }; };;
4829
5024
esac
4830
5025
host=$ac_cv_host
4831
5026
ac_save_IFS=$IFS; IFS='-'
4841
5036
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4842
5037
 
4843
5038
 
4844
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
5039
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4845
5040
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4846
 
if test "${ac_cv_path_SED+set}" = set; then :
 
5041
if test "${ac_cv_path_SED+set}" = set; then
4847
5042
  $as_echo_n "(cached) " >&6
4848
5043
else
4849
5044
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4851
5046
       ac_script="$ac_script$as_nl$ac_script"
4852
5047
     done
4853
5048
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4854
 
     { ac_script=; unset ac_script;}
 
5049
     $as_unset ac_script || ac_script=
4855
5050
     if test -z "$SED"; then
4856
5051
  ac_path_SED_found=false
4857
5052
  # Loop through the user's path and test for each of PROGNAME-LIST
4860
5055
do
4861
5056
  IFS=$as_save_IFS
4862
5057
  test -z "$as_dir" && as_dir=.
4863
 
    for ac_prog in sed gsed; do
 
5058
  for ac_prog in sed gsed; do
4864
5059
    for ac_exec_ext in '' $ac_executable_extensions; do
4865
5060
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4866
5061
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4880
5075
    $as_echo '' >> "conftest.nl"
4881
5076
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4882
5077
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4883
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5078
    ac_count=`expr $ac_count + 1`
4884
5079
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4885
5080
      # Best one so far, save it but keep looking for a better one
4886
5081
      ac_cv_path_SED="$ac_path_SED"
4895
5090
      $ac_path_SED_found && break 3
4896
5091
    done
4897
5092
  done
4898
 
  done
 
5093
done
4899
5094
IFS=$as_save_IFS
4900
5095
  if test -z "$ac_cv_path_SED"; then
4901
 
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
5096
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
 
5097
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
 
5098
   { (exit 1); exit 1; }; }
4902
5099
  fi
4903
5100
else
4904
5101
  ac_cv_path_SED=$SED
4905
5102
fi
4906
5103
 
4907
5104
fi
4908
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
5105
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4909
5106
$as_echo "$ac_cv_path_SED" >&6; }
4910
5107
 SED="$ac_cv_path_SED"
4911
5108
  rm -f conftest.sed
4923
5120
 
4924
5121
 
4925
5122
 
4926
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
5123
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4927
5124
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4928
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
5125
if test "${ac_cv_path_GREP+set}" = set; then
4929
5126
  $as_echo_n "(cached) " >&6
4930
5127
else
4931
5128
  if test -z "$GREP"; then
4936
5133
do
4937
5134
  IFS=$as_save_IFS
4938
5135
  test -z "$as_dir" && as_dir=.
4939
 
    for ac_prog in grep ggrep; do
 
5136
  for ac_prog in grep ggrep; do
4940
5137
    for ac_exec_ext in '' $ac_executable_extensions; do
4941
5138
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4942
5139
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4956
5153
    $as_echo 'GREP' >> "conftest.nl"
4957
5154
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4958
5155
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4959
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5156
    ac_count=`expr $ac_count + 1`
4960
5157
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4961
5158
      # Best one so far, save it but keep looking for a better one
4962
5159
      ac_cv_path_GREP="$ac_path_GREP"
4971
5168
      $ac_path_GREP_found && break 3
4972
5169
    done
4973
5170
  done
4974
 
  done
 
5171
done
4975
5172
IFS=$as_save_IFS
4976
5173
  if test -z "$ac_cv_path_GREP"; then
4977
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5174
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
5175
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
5176
   { (exit 1); exit 1; }; }
4978
5177
  fi
4979
5178
else
4980
5179
  ac_cv_path_GREP=$GREP
4981
5180
fi
4982
5181
 
4983
5182
fi
4984
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
5183
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4985
5184
$as_echo "$ac_cv_path_GREP" >&6; }
4986
5185
 GREP="$ac_cv_path_GREP"
4987
5186
 
4988
5187
 
4989
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
5188
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
4990
5189
$as_echo_n "checking for egrep... " >&6; }
4991
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
5190
if test "${ac_cv_path_EGREP+set}" = set; then
4992
5191
  $as_echo_n "(cached) " >&6
4993
5192
else
4994
5193
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5002
5201
do
5003
5202
  IFS=$as_save_IFS
5004
5203
  test -z "$as_dir" && as_dir=.
5005
 
    for ac_prog in egrep; do
 
5204
  for ac_prog in egrep; do
5006
5205
    for ac_exec_ext in '' $ac_executable_extensions; do
5007
5206
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5008
5207
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5022
5221
    $as_echo 'EGREP' >> "conftest.nl"
5023
5222
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5024
5223
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5025
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5224
    ac_count=`expr $ac_count + 1`
5026
5225
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5027
5226
      # Best one so far, save it but keep looking for a better one
5028
5227
      ac_cv_path_EGREP="$ac_path_EGREP"
5037
5236
      $ac_path_EGREP_found && break 3
5038
5237
    done
5039
5238
  done
5040
 
  done
 
5239
done
5041
5240
IFS=$as_save_IFS
5042
5241
  if test -z "$ac_cv_path_EGREP"; then
5043
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5242
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
5243
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
5244
   { (exit 1); exit 1; }; }
5044
5245
  fi
5045
5246
else
5046
5247
  ac_cv_path_EGREP=$EGREP
5048
5249
 
5049
5250
   fi
5050
5251
fi
5051
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
5252
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5052
5253
$as_echo "$ac_cv_path_EGREP" >&6; }
5053
5254
 EGREP="$ac_cv_path_EGREP"
5054
5255
 
5055
5256
 
5056
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
5257
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
5057
5258
$as_echo_n "checking for fgrep... " >&6; }
5058
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
5259
if test "${ac_cv_path_FGREP+set}" = set; then
5059
5260
  $as_echo_n "(cached) " >&6
5060
5261
else
5061
5262
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5069
5270
do
5070
5271
  IFS=$as_save_IFS
5071
5272
  test -z "$as_dir" && as_dir=.
5072
 
    for ac_prog in fgrep; do
 
5273
  for ac_prog in fgrep; do
5073
5274
    for ac_exec_ext in '' $ac_executable_extensions; do
5074
5275
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5075
5276
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5089
5290
    $as_echo 'FGREP' >> "conftest.nl"
5090
5291
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5091
5292
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5092
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5293
    ac_count=`expr $ac_count + 1`
5093
5294
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5094
5295
      # Best one so far, save it but keep looking for a better one
5095
5296
      ac_cv_path_FGREP="$ac_path_FGREP"
5104
5305
      $ac_path_FGREP_found && break 3
5105
5306
    done
5106
5307
  done
5107
 
  done
 
5308
done
5108
5309
IFS=$as_save_IFS
5109
5310
  if test -z "$ac_cv_path_FGREP"; then
5110
 
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5311
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
5312
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
5313
   { (exit 1); exit 1; }; }
5111
5314
  fi
5112
5315
else
5113
5316
  ac_cv_path_FGREP=$FGREP
5115
5318
 
5116
5319
   fi
5117
5320
fi
5118
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
5321
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
5119
5322
$as_echo "$ac_cv_path_FGREP" >&6; }
5120
5323
 FGREP="$ac_cv_path_FGREP"
5121
5324
 
5141
5344
 
5142
5345
 
5143
5346
# Check whether --with-gnu-ld was given.
5144
 
if test "${with_gnu_ld+set}" = set; then :
 
5347
if test "${with_gnu_ld+set}" = set; then
5145
5348
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5146
5349
else
5147
5350
  with_gnu_ld=no
5150
5353
ac_prog=ld
5151
5354
if test "$GCC" = yes; then
5152
5355
  # Check if gcc -print-prog-name=ld gives a path.
5153
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
5356
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5154
5357
$as_echo_n "checking for ld used by $CC... " >&6; }
5155
5358
  case $host in
5156
5359
  *-*-mingw*)
5180
5383
    ;;
5181
5384
  esac
5182
5385
elif test "$with_gnu_ld" = yes; then
5183
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
5386
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
5184
5387
$as_echo_n "checking for GNU ld... " >&6; }
5185
5388
else
5186
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
5389
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5187
5390
$as_echo_n "checking for non-GNU ld... " >&6; }
5188
5391
fi
5189
 
if test "${lt_cv_path_LD+set}" = set; then :
 
5392
if test "${lt_cv_path_LD+set}" = set; then
5190
5393
  $as_echo_n "(cached) " >&6
5191
5394
else
5192
5395
  if test -z "$LD"; then
5217
5420
 
5218
5421
LD="$lt_cv_path_LD"
5219
5422
if test -n "$LD"; then
5220
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
5423
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
5221
5424
$as_echo "$LD" >&6; }
5222
5425
else
5223
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5426
  { $as_echo "$as_me:$LINENO: result: no" >&5
5224
5427
$as_echo "no" >&6; }
5225
5428
fi
5226
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5227
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
5429
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
5430
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
5431
   { (exit 1); exit 1; }; }
 
5432
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5228
5433
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5229
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
5434
if test "${lt_cv_prog_gnu_ld+set}" = set; then
5230
5435
  $as_echo_n "(cached) " >&6
5231
5436
else
5232
5437
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5239
5444
  ;;
5240
5445
esac
5241
5446
fi
5242
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
5447
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5243
5448
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5244
5449
with_gnu_ld=$lt_cv_prog_gnu_ld
5245
5450
 
5251
5456
 
5252
5457
 
5253
5458
 
5254
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5459
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5255
5460
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5256
 
if test "${lt_cv_path_NM+set}" = set; then :
 
5461
if test "${lt_cv_path_NM+set}" = set; then
5257
5462
  $as_echo_n "(cached) " >&6
5258
5463
else
5259
5464
  if test -n "$NM"; then
5300
5505
  : ${lt_cv_path_NM=no}
5301
5506
fi
5302
5507
fi
5303
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
5508
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5304
5509
$as_echo "$lt_cv_path_NM" >&6; }
5305
5510
if test "$lt_cv_path_NM" != "no"; then
5306
5511
  NM="$lt_cv_path_NM"
5311
5516
  do
5312
5517
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5313
5518
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5314
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5519
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5315
5520
$as_echo_n "checking for $ac_word... " >&6; }
5316
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
5521
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5317
5522
  $as_echo_n "(cached) " >&6
5318
5523
else
5319
5524
  if test -n "$DUMPBIN"; then
5324
5529
do
5325
5530
  IFS=$as_save_IFS
5326
5531
  test -z "$as_dir" && as_dir=.
5327
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5532
  for ac_exec_ext in '' $ac_executable_extensions; do
5328
5533
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5329
5534
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5330
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5535
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5331
5536
    break 2
5332
5537
  fi
5333
5538
done
5334
 
  done
 
5539
done
5335
5540
IFS=$as_save_IFS
5336
5541
 
5337
5542
fi
5338
5543
fi
5339
5544
DUMPBIN=$ac_cv_prog_DUMPBIN
5340
5545
if test -n "$DUMPBIN"; then
5341
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
5546
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5342
5547
$as_echo "$DUMPBIN" >&6; }
5343
5548
else
5344
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5549
  { $as_echo "$as_me:$LINENO: result: no" >&5
5345
5550
$as_echo "no" >&6; }
5346
5551
fi
5347
5552
 
5355
5560
do
5356
5561
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5357
5562
set dummy $ac_prog; ac_word=$2
5358
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5563
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5359
5564
$as_echo_n "checking for $ac_word... " >&6; }
5360
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
5565
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5361
5566
  $as_echo_n "(cached) " >&6
5362
5567
else
5363
5568
  if test -n "$ac_ct_DUMPBIN"; then
5368
5573
do
5369
5574
  IFS=$as_save_IFS
5370
5575
  test -z "$as_dir" && as_dir=.
5371
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5576
  for ac_exec_ext in '' $ac_executable_extensions; do
5372
5577
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5373
5578
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5374
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5579
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5375
5580
    break 2
5376
5581
  fi
5377
5582
done
5378
 
  done
 
5583
done
5379
5584
IFS=$as_save_IFS
5380
5585
 
5381
5586
fi
5382
5587
fi
5383
5588
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5384
5589
if test -n "$ac_ct_DUMPBIN"; then
5385
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
5590
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5386
5591
$as_echo "$ac_ct_DUMPBIN" >&6; }
5387
5592
else
5388
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5593
  { $as_echo "$as_me:$LINENO: result: no" >&5
5389
5594
$as_echo "no" >&6; }
5390
5595
fi
5391
5596
 
5398
5603
  else
5399
5604
    case $cross_compiling:$ac_tool_warned in
5400
5605
yes:)
5401
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5606
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5402
5607
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5403
5608
ac_tool_warned=yes ;;
5404
5609
esac
5418
5623
 
5419
5624
 
5420
5625
 
5421
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
5626
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5422
5627
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5423
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
5628
if test "${lt_cv_nm_interface+set}" = set; then
5424
5629
  $as_echo_n "(cached) " >&6
5425
5630
else
5426
5631
  lt_cv_nm_interface="BSD nm"
5427
5632
  echo "int some_variable = 0;" > conftest.$ac_ext
5428
 
  (eval echo "\"\$as_me:5428: $ac_compile\"" >&5)
 
5633
  (eval echo "\"\$as_me:5633: $ac_compile\"" >&5)
5429
5634
  (eval "$ac_compile" 2>conftest.err)
5430
5635
  cat conftest.err >&5
5431
 
  (eval echo "\"\$as_me:5431: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5636
  (eval echo "\"\$as_me:5636: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5432
5637
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5433
5638
  cat conftest.err >&5
5434
 
  (eval echo "\"\$as_me:5434: output\"" >&5)
 
5639
  (eval echo "\"\$as_me:5639: output\"" >&5)
5435
5640
  cat conftest.out >&5
5436
5641
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5437
5642
    lt_cv_nm_interface="MS dumpbin"
5438
5643
  fi
5439
5644
  rm -f conftest*
5440
5645
fi
5441
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
5646
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5442
5647
$as_echo "$lt_cv_nm_interface" >&6; }
5443
5648
 
5444
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
5649
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5445
5650
$as_echo_n "checking whether ln -s works... " >&6; }
5446
5651
LN_S=$as_ln_s
5447
5652
if test "$LN_S" = "ln -s"; then
5448
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5653
  { $as_echo "$as_me:$LINENO: result: yes" >&5
5449
5654
$as_echo "yes" >&6; }
5450
5655
else
5451
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
5656
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5452
5657
$as_echo "no, using $LN_S" >&6; }
5453
5658
fi
5454
5659
 
5455
5660
# find the maximum length of command line arguments
5456
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
5661
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5457
5662
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5458
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
5663
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5459
5664
  $as_echo_n "(cached) " >&6
5460
5665
else
5461
5666
    i=0
5573
5778
fi
5574
5779
 
5575
5780
if test -n $lt_cv_sys_max_cmd_len ; then
5576
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
5781
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5577
5782
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5578
5783
else
5579
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
5784
  { $as_echo "$as_me:$LINENO: result: none" >&5
5580
5785
$as_echo "none" >&6; }
5581
5786
fi
5582
5787
max_cmd_len=$lt_cv_sys_max_cmd_len
5590
5795
: ${MV="mv -f"}
5591
5796
: ${RM="rm -f"}
5592
5797
 
5593
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
5798
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5594
5799
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5595
5800
# Try some XSI features
5596
5801
xsi_shell=no
5600
5805
    && eval 'test $(( 1 + 1 )) -eq 2 \
5601
5806
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5602
5807
  && xsi_shell=yes
5603
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
5808
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
5604
5809
$as_echo "$xsi_shell" >&6; }
5605
5810
 
5606
5811
 
5607
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
5812
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5608
5813
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5609
5814
lt_shell_append=no
5610
5815
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5611
5816
    >/dev/null 2>&1 \
5612
5817
  && lt_shell_append=yes
5613
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
5818
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5614
5819
$as_echo "$lt_shell_append" >&6; }
5615
5820
 
5616
5821
 
5645
5850
 
5646
5851
 
5647
5852
 
5648
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
5853
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5649
5854
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5650
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
5855
if test "${lt_cv_ld_reload_flag+set}" = set; then
5651
5856
  $as_echo_n "(cached) " >&6
5652
5857
else
5653
5858
  lt_cv_ld_reload_flag='-r'
5654
5859
fi
5655
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
5860
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5656
5861
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5657
5862
reload_flag=$lt_cv_ld_reload_flag
5658
5863
case $reload_flag in
5681
5886
if test -n "$ac_tool_prefix"; then
5682
5887
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5683
5888
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5684
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5889
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5685
5890
$as_echo_n "checking for $ac_word... " >&6; }
5686
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
5891
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5687
5892
  $as_echo_n "(cached) " >&6
5688
5893
else
5689
5894
  if test -n "$OBJDUMP"; then
5694
5899
do
5695
5900
  IFS=$as_save_IFS
5696
5901
  test -z "$as_dir" && as_dir=.
5697
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5902
  for ac_exec_ext in '' $ac_executable_extensions; do
5698
5903
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5699
5904
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5700
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5905
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5701
5906
    break 2
5702
5907
  fi
5703
5908
done
5704
 
  done
 
5909
done
5705
5910
IFS=$as_save_IFS
5706
5911
 
5707
5912
fi
5708
5913
fi
5709
5914
OBJDUMP=$ac_cv_prog_OBJDUMP
5710
5915
if test -n "$OBJDUMP"; then
5711
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
5916
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5712
5917
$as_echo "$OBJDUMP" >&6; }
5713
5918
else
5714
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5919
  { $as_echo "$as_me:$LINENO: result: no" >&5
5715
5920
$as_echo "no" >&6; }
5716
5921
fi
5717
5922
 
5721
5926
  ac_ct_OBJDUMP=$OBJDUMP
5722
5927
  # Extract the first word of "objdump", so it can be a program name with args.
5723
5928
set dummy objdump; ac_word=$2
5724
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5929
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5725
5930
$as_echo_n "checking for $ac_word... " >&6; }
5726
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
5931
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5727
5932
  $as_echo_n "(cached) " >&6
5728
5933
else
5729
5934
  if test -n "$ac_ct_OBJDUMP"; then
5734
5939
do
5735
5940
  IFS=$as_save_IFS
5736
5941
  test -z "$as_dir" && as_dir=.
5737
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5942
  for ac_exec_ext in '' $ac_executable_extensions; do
5738
5943
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5739
5944
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5740
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5945
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5741
5946
    break 2
5742
5947
  fi
5743
5948
done
5744
 
  done
 
5949
done
5745
5950
IFS=$as_save_IFS
5746
5951
 
5747
5952
fi
5748
5953
fi
5749
5954
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5750
5955
if test -n "$ac_ct_OBJDUMP"; then
5751
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
5956
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5752
5957
$as_echo "$ac_ct_OBJDUMP" >&6; }
5753
5958
else
5754
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5959
  { $as_echo "$as_me:$LINENO: result: no" >&5
5755
5960
$as_echo "no" >&6; }
5756
5961
fi
5757
5962
 
5760
5965
  else
5761
5966
    case $cross_compiling:$ac_tool_warned in
5762
5967
yes:)
5763
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5968
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5764
5969
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5765
5970
ac_tool_warned=yes ;;
5766
5971
esac
5780
5985
 
5781
5986
 
5782
5987
 
5783
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
5988
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5784
5989
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5785
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
5990
if test "${lt_cv_deplibs_check_method+set}" = set; then
5786
5991
  $as_echo_n "(cached) " >&6
5787
5992
else
5788
5993
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5901
6106
  lt_cv_deplibs_check_method=pass_all
5902
6107
  ;;
5903
6108
 
5904
 
netbsd* | netbsdelf*-gnu)
 
6109
netbsd*)
5905
6110
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5906
6111
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5907
6112
  else
5976
6181
esac
5977
6182
 
5978
6183
fi
5979
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
6184
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5980
6185
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5981
6186
file_magic_cmd=$lt_cv_file_magic_cmd
5982
6187
deplibs_check_method=$lt_cv_deplibs_check_method
5996
6201
if test -n "$ac_tool_prefix"; then
5997
6202
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5998
6203
set dummy ${ac_tool_prefix}ar; ac_word=$2
5999
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6204
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6000
6205
$as_echo_n "checking for $ac_word... " >&6; }
6001
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
6206
if test "${ac_cv_prog_AR+set}" = set; then
6002
6207
  $as_echo_n "(cached) " >&6
6003
6208
else
6004
6209
  if test -n "$AR"; then
6009
6214
do
6010
6215
  IFS=$as_save_IFS
6011
6216
  test -z "$as_dir" && as_dir=.
6012
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6217
  for ac_exec_ext in '' $ac_executable_extensions; do
6013
6218
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6014
6219
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6015
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6220
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6016
6221
    break 2
6017
6222
  fi
6018
6223
done
6019
 
  done
 
6224
done
6020
6225
IFS=$as_save_IFS
6021
6226
 
6022
6227
fi
6023
6228
fi
6024
6229
AR=$ac_cv_prog_AR
6025
6230
if test -n "$AR"; then
6026
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
6231
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
6027
6232
$as_echo "$AR" >&6; }
6028
6233
else
6029
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6234
  { $as_echo "$as_me:$LINENO: result: no" >&5
6030
6235
$as_echo "no" >&6; }
6031
6236
fi
6032
6237
 
6036
6241
  ac_ct_AR=$AR
6037
6242
  # Extract the first word of "ar", so it can be a program name with args.
6038
6243
set dummy ar; ac_word=$2
6039
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6244
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6040
6245
$as_echo_n "checking for $ac_word... " >&6; }
6041
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
6246
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6042
6247
  $as_echo_n "(cached) " >&6
6043
6248
else
6044
6249
  if test -n "$ac_ct_AR"; then
6049
6254
do
6050
6255
  IFS=$as_save_IFS
6051
6256
  test -z "$as_dir" && as_dir=.
6052
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6257
  for ac_exec_ext in '' $ac_executable_extensions; do
6053
6258
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6054
6259
    ac_cv_prog_ac_ct_AR="ar"
6055
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6260
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6056
6261
    break 2
6057
6262
  fi
6058
6263
done
6059
 
  done
 
6264
done
6060
6265
IFS=$as_save_IFS
6061
6266
 
6062
6267
fi
6063
6268
fi
6064
6269
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6065
6270
if test -n "$ac_ct_AR"; then
6066
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
6271
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6067
6272
$as_echo "$ac_ct_AR" >&6; }
6068
6273
else
6069
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6274
  { $as_echo "$as_me:$LINENO: result: no" >&5
6070
6275
$as_echo "no" >&6; }
6071
6276
fi
6072
6277
 
6075
6280
  else
6076
6281
    case $cross_compiling:$ac_tool_warned in
6077
6282
yes:)
6078
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6283
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6079
6284
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6080
6285
ac_tool_warned=yes ;;
6081
6286
esac
6101
6306
if test -n "$ac_tool_prefix"; then
6102
6307
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6103
6308
set dummy ${ac_tool_prefix}strip; ac_word=$2
6104
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6309
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6105
6310
$as_echo_n "checking for $ac_word... " >&6; }
6106
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
6311
if test "${ac_cv_prog_STRIP+set}" = set; then
6107
6312
  $as_echo_n "(cached) " >&6
6108
6313
else
6109
6314
  if test -n "$STRIP"; then
6114
6319
do
6115
6320
  IFS=$as_save_IFS
6116
6321
  test -z "$as_dir" && as_dir=.
6117
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6322
  for ac_exec_ext in '' $ac_executable_extensions; do
6118
6323
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6119
6324
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6120
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6325
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6121
6326
    break 2
6122
6327
  fi
6123
6328
done
6124
 
  done
 
6329
done
6125
6330
IFS=$as_save_IFS
6126
6331
 
6127
6332
fi
6128
6333
fi
6129
6334
STRIP=$ac_cv_prog_STRIP
6130
6335
if test -n "$STRIP"; then
6131
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
6336
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
6132
6337
$as_echo "$STRIP" >&6; }
6133
6338
else
6134
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6339
  { $as_echo "$as_me:$LINENO: result: no" >&5
6135
6340
$as_echo "no" >&6; }
6136
6341
fi
6137
6342
 
6141
6346
  ac_ct_STRIP=$STRIP
6142
6347
  # Extract the first word of "strip", so it can be a program name with args.
6143
6348
set dummy strip; ac_word=$2
6144
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6349
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6145
6350
$as_echo_n "checking for $ac_word... " >&6; }
6146
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
6351
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6147
6352
  $as_echo_n "(cached) " >&6
6148
6353
else
6149
6354
  if test -n "$ac_ct_STRIP"; then
6154
6359
do
6155
6360
  IFS=$as_save_IFS
6156
6361
  test -z "$as_dir" && as_dir=.
6157
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6362
  for ac_exec_ext in '' $ac_executable_extensions; do
6158
6363
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6159
6364
    ac_cv_prog_ac_ct_STRIP="strip"
6160
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6365
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6161
6366
    break 2
6162
6367
  fi
6163
6368
done
6164
 
  done
 
6369
done
6165
6370
IFS=$as_save_IFS
6166
6371
 
6167
6372
fi
6168
6373
fi
6169
6374
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6170
6375
if test -n "$ac_ct_STRIP"; then
6171
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
6376
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6172
6377
$as_echo "$ac_ct_STRIP" >&6; }
6173
6378
else
6174
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6379
  { $as_echo "$as_me:$LINENO: result: no" >&5
6175
6380
$as_echo "no" >&6; }
6176
6381
fi
6177
6382
 
6180
6385
  else
6181
6386
    case $cross_compiling:$ac_tool_warned in
6182
6387
yes:)
6183
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6388
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6184
6389
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6185
6390
ac_tool_warned=yes ;;
6186
6391
esac
6200
6405
if test -n "$ac_tool_prefix"; then
6201
6406
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6202
6407
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6203
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6408
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6204
6409
$as_echo_n "checking for $ac_word... " >&6; }
6205
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
6410
if test "${ac_cv_prog_RANLIB+set}" = set; then
6206
6411
  $as_echo_n "(cached) " >&6
6207
6412
else
6208
6413
  if test -n "$RANLIB"; then
6213
6418
do
6214
6419
  IFS=$as_save_IFS
6215
6420
  test -z "$as_dir" && as_dir=.
6216
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6421
  for ac_exec_ext in '' $ac_executable_extensions; do
6217
6422
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6218
6423
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6219
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6424
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6220
6425
    break 2
6221
6426
  fi
6222
6427
done
6223
 
  done
 
6428
done
6224
6429
IFS=$as_save_IFS
6225
6430
 
6226
6431
fi
6227
6432
fi
6228
6433
RANLIB=$ac_cv_prog_RANLIB
6229
6434
if test -n "$RANLIB"; then
6230
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
6435
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
6231
6436
$as_echo "$RANLIB" >&6; }
6232
6437
else
6233
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6438
  { $as_echo "$as_me:$LINENO: result: no" >&5
6234
6439
$as_echo "no" >&6; }
6235
6440
fi
6236
6441
 
6240
6445
  ac_ct_RANLIB=$RANLIB
6241
6446
  # Extract the first word of "ranlib", so it can be a program name with args.
6242
6447
set dummy ranlib; ac_word=$2
6243
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6448
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6244
6449
$as_echo_n "checking for $ac_word... " >&6; }
6245
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
6450
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6246
6451
  $as_echo_n "(cached) " >&6
6247
6452
else
6248
6453
  if test -n "$ac_ct_RANLIB"; then
6253
6458
do
6254
6459
  IFS=$as_save_IFS
6255
6460
  test -z "$as_dir" && as_dir=.
6256
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6461
  for ac_exec_ext in '' $ac_executable_extensions; do
6257
6462
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6258
6463
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6259
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6464
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6260
6465
    break 2
6261
6466
  fi
6262
6467
done
6263
 
  done
 
6468
done
6264
6469
IFS=$as_save_IFS
6265
6470
 
6266
6471
fi
6267
6472
fi
6268
6473
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6269
6474
if test -n "$ac_ct_RANLIB"; then
6270
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
6475
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6271
6476
$as_echo "$ac_ct_RANLIB" >&6; }
6272
6477
else
6273
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6478
  { $as_echo "$as_me:$LINENO: result: no" >&5
6274
6479
$as_echo "no" >&6; }
6275
6480
fi
6276
6481
 
6279
6484
  else
6280
6485
    case $cross_compiling:$ac_tool_warned in
6281
6486
yes:)
6282
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6487
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6283
6488
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6284
6489
ac_tool_warned=yes ;;
6285
6490
esac
6357
6562
 
6358
6563
 
6359
6564
# Check for command to grab the raw symbol name followed by C symbol from nm.
6360
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
6565
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6361
6566
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6362
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
6567
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6363
6568
  $as_echo_n "(cached) " >&6
6364
6569
else
6365
6570
 
6475
6680
int main(){nm_test_var='a';nm_test_func();return(0);}
6476
6681
_LT_EOF
6477
6682
 
6478
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6683
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6479
6684
  (eval $ac_compile) 2>&5
6480
6685
  ac_status=$?
6481
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6482
 
  test $ac_status = 0; }; then
 
6686
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6687
  (exit $ac_status); }; then
6483
6688
    # Now try to grab the symbols.
6484
6689
    nlist=conftest.nm
6485
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
 
6690
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6486
6691
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6487
6692
  ac_status=$?
6488
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6489
 
  test $ac_status = 0; } && test -s "$nlist"; then
 
6693
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6694
  (exit $ac_status); } && test -s "$nlist"; then
6490
6695
      # Try sorting and uniquifying the output.
6491
6696
      if sort "$nlist" | uniq > "$nlist"T; then
6492
6697
        mv -f "$nlist"T "$nlist"
6539
6744
          lt_save_CFLAGS="$CFLAGS"
6540
6745
          LIBS="conftstm.$ac_objext"
6541
6746
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6542
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
6747
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6543
6748
  (eval $ac_link) 2>&5
6544
6749
  ac_status=$?
6545
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6546
 
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
6750
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6751
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6547
6752
            pipe_works=yes
6548
6753
          fi
6549
6754
          LIBS="$lt_save_LIBS"
6577
6782
  lt_cv_sys_global_symbol_to_cdecl=
6578
6783
fi
6579
6784
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6580
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
6785
  { $as_echo "$as_me:$LINENO: result: failed" >&5
6581
6786
$as_echo "failed" >&6; }
6582
6787
else
6583
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
6788
  { $as_echo "$as_me:$LINENO: result: ok" >&5
6584
6789
$as_echo "ok" >&6; }
6585
6790
fi
6586
6791
 
6606
6811
 
6607
6812
 
6608
6813
# Check whether --enable-libtool-lock was given.
6609
 
if test "${enable_libtool_lock+set}" = set; then :
 
6814
if test "${enable_libtool_lock+set}" = set; then
6610
6815
  enableval=$enable_libtool_lock;
6611
6816
fi
6612
6817
 
6618
6823
ia64-*-hpux*)
6619
6824
  # Find out which ABI we are using.
6620
6825
  echo 'int i;' > conftest.$ac_ext
6621
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6826
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6622
6827
  (eval $ac_compile) 2>&5
6623
6828
  ac_status=$?
6624
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6625
 
  test $ac_status = 0; }; then
 
6829
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6830
  (exit $ac_status); }; then
6626
6831
    case `/usr/bin/file conftest.$ac_objext` in
6627
6832
      *ELF-32*)
6628
6833
        HPUX_IA64_MODE="32"
6636
6841
  ;;
6637
6842
*-*-irix6*)
6638
6843
  # Find out which ABI we are using.
6639
 
  echo '#line 6639 "configure"' > conftest.$ac_ext
6640
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6844
  echo '#line 6844 "configure"' > conftest.$ac_ext
 
6845
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6641
6846
  (eval $ac_compile) 2>&5
6642
6847
  ac_status=$?
6643
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6644
 
  test $ac_status = 0; }; then
 
6848
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6849
  (exit $ac_status); }; then
6645
6850
    if test "$lt_cv_prog_gnu_ld" = yes; then
6646
6851
      case `/usr/bin/file conftest.$ac_objext` in
6647
6852
        *32-bit*)
6675
6880
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6676
6881
  # Find out which ABI we are using.
6677
6882
  echo 'int i;' > conftest.$ac_ext
6678
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6883
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6679
6884
  (eval $ac_compile) 2>&5
6680
6885
  ac_status=$?
6681
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6682
 
  test $ac_status = 0; }; then
 
6886
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6887
  (exit $ac_status); }; then
6683
6888
    case `/usr/bin/file conftest.o` in
6684
6889
      *32-bit*)
6685
6890
        case $host in
6728
6933
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6729
6934
  SAVE_CFLAGS="$CFLAGS"
6730
6935
  CFLAGS="$CFLAGS -belf"
6731
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
6936
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6732
6937
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6733
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
6938
if test "${lt_cv_cc_needs_belf+set}" = set; then
6734
6939
  $as_echo_n "(cached) " >&6
6735
6940
else
6736
6941
  ac_ext=c
6739
6944
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6740
6945
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6741
6946
 
6742
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6947
     cat >conftest.$ac_ext <<_ACEOF
 
6948
/* confdefs.h.  */
 
6949
_ACEOF
 
6950
cat confdefs.h >>conftest.$ac_ext
 
6951
cat >>conftest.$ac_ext <<_ACEOF
6743
6952
/* end confdefs.h.  */
6744
6953
 
6745
6954
int
6750
6959
  return 0;
6751
6960
}
6752
6961
_ACEOF
6753
 
if ac_fn_c_try_link "$LINENO"; then :
 
6962
rm -f conftest.$ac_objext conftest$ac_exeext
 
6963
if { (ac_try="$ac_link"
 
6964
case "(($ac_try" in
 
6965
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6966
  *) ac_try_echo=$ac_try;;
 
6967
esac
 
6968
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6969
$as_echo "$ac_try_echo") >&5
 
6970
  (eval "$ac_link") 2>conftest.er1
 
6971
  ac_status=$?
 
6972
  grep -v '^ *+' conftest.er1 >conftest.err
 
6973
  rm -f conftest.er1
 
6974
  cat conftest.err >&5
 
6975
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6976
  (exit $ac_status); } && {
 
6977
         test -z "$ac_c_werror_flag" ||
 
6978
         test ! -s conftest.err
 
6979
       } && test -s conftest$ac_exeext && {
 
6980
         test "$cross_compiling" = yes ||
 
6981
         $as_test_x conftest$ac_exeext
 
6982
       }; then
6754
6983
  lt_cv_cc_needs_belf=yes
6755
6984
else
6756
 
  lt_cv_cc_needs_belf=no
 
6985
  $as_echo "$as_me: failed program was:" >&5
 
6986
sed 's/^/| /' conftest.$ac_ext >&5
 
6987
 
 
6988
        lt_cv_cc_needs_belf=no
6757
6989
fi
6758
 
rm -f core conftest.err conftest.$ac_objext \
6759
 
    conftest$ac_exeext conftest.$ac_ext
 
6990
 
 
6991
rm -rf conftest.dSYM
 
6992
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6993
      conftest$ac_exeext conftest.$ac_ext
6760
6994
     ac_ext=c
6761
6995
ac_cpp='$CPP $CPPFLAGS'
6762
6996
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6764
6998
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6765
6999
 
6766
7000
fi
6767
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
7001
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6768
7002
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6769
7003
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6770
7004
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6774
7008
sparc*-*solaris*)
6775
7009
  # Find out which ABI we are using.
6776
7010
  echo 'int i;' > conftest.$ac_ext
6777
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
7011
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6778
7012
  (eval $ac_compile) 2>&5
6779
7013
  ac_status=$?
6780
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6781
 
  test $ac_status = 0; }; then
 
7014
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7015
  (exit $ac_status); }; then
6782
7016
    case `/usr/bin/file conftest.o` in
6783
7017
    *64-bit*)
6784
7018
      case $lt_cv_prog_gnu_ld in
6804
7038
    if test -n "$ac_tool_prefix"; then
6805
7039
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6806
7040
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6807
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7041
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6808
7042
$as_echo_n "checking for $ac_word... " >&6; }
6809
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
7043
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6810
7044
  $as_echo_n "(cached) " >&6
6811
7045
else
6812
7046
  if test -n "$DSYMUTIL"; then
6817
7051
do
6818
7052
  IFS=$as_save_IFS
6819
7053
  test -z "$as_dir" && as_dir=.
6820
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7054
  for ac_exec_ext in '' $ac_executable_extensions; do
6821
7055
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6822
7056
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6823
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7057
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6824
7058
    break 2
6825
7059
  fi
6826
7060
done
6827
 
  done
 
7061
done
6828
7062
IFS=$as_save_IFS
6829
7063
 
6830
7064
fi
6831
7065
fi
6832
7066
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6833
7067
if test -n "$DSYMUTIL"; then
6834
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
7068
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6835
7069
$as_echo "$DSYMUTIL" >&6; }
6836
7070
else
6837
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7071
  { $as_echo "$as_me:$LINENO: result: no" >&5
6838
7072
$as_echo "no" >&6; }
6839
7073
fi
6840
7074
 
6844
7078
  ac_ct_DSYMUTIL=$DSYMUTIL
6845
7079
  # Extract the first word of "dsymutil", so it can be a program name with args.
6846
7080
set dummy dsymutil; ac_word=$2
6847
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7081
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6848
7082
$as_echo_n "checking for $ac_word... " >&6; }
6849
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
7083
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6850
7084
  $as_echo_n "(cached) " >&6
6851
7085
else
6852
7086
  if test -n "$ac_ct_DSYMUTIL"; then
6857
7091
do
6858
7092
  IFS=$as_save_IFS
6859
7093
  test -z "$as_dir" && as_dir=.
6860
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7094
  for ac_exec_ext in '' $ac_executable_extensions; do
6861
7095
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6862
7096
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6863
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7097
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6864
7098
    break 2
6865
7099
  fi
6866
7100
done
6867
 
  done
 
7101
done
6868
7102
IFS=$as_save_IFS
6869
7103
 
6870
7104
fi
6871
7105
fi
6872
7106
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6873
7107
if test -n "$ac_ct_DSYMUTIL"; then
6874
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
7108
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6875
7109
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6876
7110
else
6877
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7111
  { $as_echo "$as_me:$LINENO: result: no" >&5
6878
7112
$as_echo "no" >&6; }
6879
7113
fi
6880
7114
 
6883
7117
  else
6884
7118
    case $cross_compiling:$ac_tool_warned in
6885
7119
yes:)
6886
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7120
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6887
7121
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6888
7122
ac_tool_warned=yes ;;
6889
7123
esac
6896
7130
    if test -n "$ac_tool_prefix"; then
6897
7131
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6898
7132
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6899
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7133
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6900
7134
$as_echo_n "checking for $ac_word... " >&6; }
6901
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
7135
if test "${ac_cv_prog_NMEDIT+set}" = set; then
6902
7136
  $as_echo_n "(cached) " >&6
6903
7137
else
6904
7138
  if test -n "$NMEDIT"; then
6909
7143
do
6910
7144
  IFS=$as_save_IFS
6911
7145
  test -z "$as_dir" && as_dir=.
6912
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7146
  for ac_exec_ext in '' $ac_executable_extensions; do
6913
7147
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6914
7148
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6915
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7149
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6916
7150
    break 2
6917
7151
  fi
6918
7152
done
6919
 
  done
 
7153
done
6920
7154
IFS=$as_save_IFS
6921
7155
 
6922
7156
fi
6923
7157
fi
6924
7158
NMEDIT=$ac_cv_prog_NMEDIT
6925
7159
if test -n "$NMEDIT"; then
6926
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
7160
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
6927
7161
$as_echo "$NMEDIT" >&6; }
6928
7162
else
6929
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7163
  { $as_echo "$as_me:$LINENO: result: no" >&5
6930
7164
$as_echo "no" >&6; }
6931
7165
fi
6932
7166
 
6936
7170
  ac_ct_NMEDIT=$NMEDIT
6937
7171
  # Extract the first word of "nmedit", so it can be a program name with args.
6938
7172
set dummy nmedit; ac_word=$2
6939
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7173
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6940
7174
$as_echo_n "checking for $ac_word... " >&6; }
6941
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
7175
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6942
7176
  $as_echo_n "(cached) " >&6
6943
7177
else
6944
7178
  if test -n "$ac_ct_NMEDIT"; then
6949
7183
do
6950
7184
  IFS=$as_save_IFS
6951
7185
  test -z "$as_dir" && as_dir=.
6952
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7186
  for ac_exec_ext in '' $ac_executable_extensions; do
6953
7187
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6954
7188
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6955
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7189
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6956
7190
    break 2
6957
7191
  fi
6958
7192
done
6959
 
  done
 
7193
done
6960
7194
IFS=$as_save_IFS
6961
7195
 
6962
7196
fi
6963
7197
fi
6964
7198
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6965
7199
if test -n "$ac_ct_NMEDIT"; then
6966
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
7200
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6967
7201
$as_echo "$ac_ct_NMEDIT" >&6; }
6968
7202
else
6969
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7203
  { $as_echo "$as_me:$LINENO: result: no" >&5
6970
7204
$as_echo "no" >&6; }
6971
7205
fi
6972
7206
 
6975
7209
  else
6976
7210
    case $cross_compiling:$ac_tool_warned in
6977
7211
yes:)
6978
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7212
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6979
7213
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6980
7214
ac_tool_warned=yes ;;
6981
7215
esac
6988
7222
    if test -n "$ac_tool_prefix"; then
6989
7223
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6990
7224
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6991
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7225
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6992
7226
$as_echo_n "checking for $ac_word... " >&6; }
6993
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
7227
if test "${ac_cv_prog_LIPO+set}" = set; then
6994
7228
  $as_echo_n "(cached) " >&6
6995
7229
else
6996
7230
  if test -n "$LIPO"; then
7001
7235
do
7002
7236
  IFS=$as_save_IFS
7003
7237
  test -z "$as_dir" && as_dir=.
7004
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7238
  for ac_exec_ext in '' $ac_executable_extensions; do
7005
7239
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7006
7240
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7007
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7241
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7008
7242
    break 2
7009
7243
  fi
7010
7244
done
7011
 
  done
 
7245
done
7012
7246
IFS=$as_save_IFS
7013
7247
 
7014
7248
fi
7015
7249
fi
7016
7250
LIPO=$ac_cv_prog_LIPO
7017
7251
if test -n "$LIPO"; then
7018
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
7252
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
7019
7253
$as_echo "$LIPO" >&6; }
7020
7254
else
7021
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7255
  { $as_echo "$as_me:$LINENO: result: no" >&5
7022
7256
$as_echo "no" >&6; }
7023
7257
fi
7024
7258
 
7028
7262
  ac_ct_LIPO=$LIPO
7029
7263
  # Extract the first word of "lipo", so it can be a program name with args.
7030
7264
set dummy lipo; ac_word=$2
7031
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7265
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7032
7266
$as_echo_n "checking for $ac_word... " >&6; }
7033
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
7267
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7034
7268
  $as_echo_n "(cached) " >&6
7035
7269
else
7036
7270
  if test -n "$ac_ct_LIPO"; then
7041
7275
do
7042
7276
  IFS=$as_save_IFS
7043
7277
  test -z "$as_dir" && as_dir=.
7044
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7278
  for ac_exec_ext in '' $ac_executable_extensions; do
7045
7279
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7046
7280
    ac_cv_prog_ac_ct_LIPO="lipo"
7047
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7281
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7048
7282
    break 2
7049
7283
  fi
7050
7284
done
7051
 
  done
 
7285
done
7052
7286
IFS=$as_save_IFS
7053
7287
 
7054
7288
fi
7055
7289
fi
7056
7290
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7057
7291
if test -n "$ac_ct_LIPO"; then
7058
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
7292
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
7059
7293
$as_echo "$ac_ct_LIPO" >&6; }
7060
7294
else
7061
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7295
  { $as_echo "$as_me:$LINENO: result: no" >&5
7062
7296
$as_echo "no" >&6; }
7063
7297
fi
7064
7298
 
7067
7301
  else
7068
7302
    case $cross_compiling:$ac_tool_warned in
7069
7303
yes:)
7070
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7304
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7071
7305
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7072
7306
ac_tool_warned=yes ;;
7073
7307
esac
7080
7314
    if test -n "$ac_tool_prefix"; then
7081
7315
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7082
7316
set dummy ${ac_tool_prefix}otool; ac_word=$2
7083
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7317
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7084
7318
$as_echo_n "checking for $ac_word... " >&6; }
7085
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
7319
if test "${ac_cv_prog_OTOOL+set}" = set; then
7086
7320
  $as_echo_n "(cached) " >&6
7087
7321
else
7088
7322
  if test -n "$OTOOL"; then
7093
7327
do
7094
7328
  IFS=$as_save_IFS
7095
7329
  test -z "$as_dir" && as_dir=.
7096
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7330
  for ac_exec_ext in '' $ac_executable_extensions; do
7097
7331
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7098
7332
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7099
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7333
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7100
7334
    break 2
7101
7335
  fi
7102
7336
done
7103
 
  done
 
7337
done
7104
7338
IFS=$as_save_IFS
7105
7339
 
7106
7340
fi
7107
7341
fi
7108
7342
OTOOL=$ac_cv_prog_OTOOL
7109
7343
if test -n "$OTOOL"; then
7110
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
7344
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
7111
7345
$as_echo "$OTOOL" >&6; }
7112
7346
else
7113
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7347
  { $as_echo "$as_me:$LINENO: result: no" >&5
7114
7348
$as_echo "no" >&6; }
7115
7349
fi
7116
7350
 
7120
7354
  ac_ct_OTOOL=$OTOOL
7121
7355
  # Extract the first word of "otool", so it can be a program name with args.
7122
7356
set dummy otool; ac_word=$2
7123
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7357
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7124
7358
$as_echo_n "checking for $ac_word... " >&6; }
7125
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
7359
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7126
7360
  $as_echo_n "(cached) " >&6
7127
7361
else
7128
7362
  if test -n "$ac_ct_OTOOL"; then
7133
7367
do
7134
7368
  IFS=$as_save_IFS
7135
7369
  test -z "$as_dir" && as_dir=.
7136
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7370
  for ac_exec_ext in '' $ac_executable_extensions; do
7137
7371
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7138
7372
    ac_cv_prog_ac_ct_OTOOL="otool"
7139
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7373
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7140
7374
    break 2
7141
7375
  fi
7142
7376
done
7143
 
  done
 
7377
done
7144
7378
IFS=$as_save_IFS
7145
7379
 
7146
7380
fi
7147
7381
fi
7148
7382
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7149
7383
if test -n "$ac_ct_OTOOL"; then
7150
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
7384
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
7151
7385
$as_echo "$ac_ct_OTOOL" >&6; }
7152
7386
else
7153
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7387
  { $as_echo "$as_me:$LINENO: result: no" >&5
7154
7388
$as_echo "no" >&6; }
7155
7389
fi
7156
7390
 
7159
7393
  else
7160
7394
    case $cross_compiling:$ac_tool_warned in
7161
7395
yes:)
7162
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7396
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7163
7397
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7164
7398
ac_tool_warned=yes ;;
7165
7399
esac
7172
7406
    if test -n "$ac_tool_prefix"; then
7173
7407
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7174
7408
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7175
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7409
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7176
7410
$as_echo_n "checking for $ac_word... " >&6; }
7177
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
7411
if test "${ac_cv_prog_OTOOL64+set}" = set; then
7178
7412
  $as_echo_n "(cached) " >&6
7179
7413
else
7180
7414
  if test -n "$OTOOL64"; then
7185
7419
do
7186
7420
  IFS=$as_save_IFS
7187
7421
  test -z "$as_dir" && as_dir=.
7188
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7422
  for ac_exec_ext in '' $ac_executable_extensions; do
7189
7423
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7190
7424
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7191
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7425
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7192
7426
    break 2
7193
7427
  fi
7194
7428
done
7195
 
  done
 
7429
done
7196
7430
IFS=$as_save_IFS
7197
7431
 
7198
7432
fi
7199
7433
fi
7200
7434
OTOOL64=$ac_cv_prog_OTOOL64
7201
7435
if test -n "$OTOOL64"; then
7202
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
7436
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
7203
7437
$as_echo "$OTOOL64" >&6; }
7204
7438
else
7205
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7439
  { $as_echo "$as_me:$LINENO: result: no" >&5
7206
7440
$as_echo "no" >&6; }
7207
7441
fi
7208
7442
 
7212
7446
  ac_ct_OTOOL64=$OTOOL64
7213
7447
  # Extract the first word of "otool64", so it can be a program name with args.
7214
7448
set dummy otool64; ac_word=$2
7215
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7449
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7216
7450
$as_echo_n "checking for $ac_word... " >&6; }
7217
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
7451
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7218
7452
  $as_echo_n "(cached) " >&6
7219
7453
else
7220
7454
  if test -n "$ac_ct_OTOOL64"; then
7225
7459
do
7226
7460
  IFS=$as_save_IFS
7227
7461
  test -z "$as_dir" && as_dir=.
7228
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7462
  for ac_exec_ext in '' $ac_executable_extensions; do
7229
7463
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7230
7464
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7231
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7465
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7232
7466
    break 2
7233
7467
  fi
7234
7468
done
7235
 
  done
 
7469
done
7236
7470
IFS=$as_save_IFS
7237
7471
 
7238
7472
fi
7239
7473
fi
7240
7474
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7241
7475
if test -n "$ac_ct_OTOOL64"; then
7242
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
7476
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
7243
7477
$as_echo "$ac_ct_OTOOL64" >&6; }
7244
7478
else
7245
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7479
  { $as_echo "$as_me:$LINENO: result: no" >&5
7246
7480
$as_echo "no" >&6; }
7247
7481
fi
7248
7482
 
7251
7485
  else
7252
7486
    case $cross_compiling:$ac_tool_warned in
7253
7487
yes:)
7254
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7488
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7255
7489
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7256
7490
ac_tool_warned=yes ;;
7257
7491
esac
7287
7521
 
7288
7522
 
7289
7523
 
7290
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
7524
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7291
7525
$as_echo_n "checking for -single_module linker flag... " >&6; }
7292
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
7526
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7293
7527
  $as_echo_n "(cached) " >&6
7294
7528
else
7295
7529
  lt_cv_apple_cc_single_mod=no
7314
7548
        rm -f conftest.*
7315
7549
      fi
7316
7550
fi
7317
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
7551
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7318
7552
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7319
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
7553
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7320
7554
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7321
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
7555
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7322
7556
  $as_echo_n "(cached) " >&6
7323
7557
else
7324
7558
  lt_cv_ld_exported_symbols_list=no
7325
7559
      save_LDFLAGS=$LDFLAGS
7326
7560
      echo "_main" > conftest.sym
7327
7561
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7328
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7562
      cat >conftest.$ac_ext <<_ACEOF
 
7563
/* confdefs.h.  */
 
7564
_ACEOF
 
7565
cat confdefs.h >>conftest.$ac_ext
 
7566
cat >>conftest.$ac_ext <<_ACEOF
7329
7567
/* end confdefs.h.  */
7330
7568
 
7331
7569
int
7336
7574
  return 0;
7337
7575
}
7338
7576
_ACEOF
7339
 
if ac_fn_c_try_link "$LINENO"; then :
 
7577
rm -f conftest.$ac_objext conftest$ac_exeext
 
7578
if { (ac_try="$ac_link"
 
7579
case "(($ac_try" in
 
7580
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7581
  *) ac_try_echo=$ac_try;;
 
7582
esac
 
7583
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7584
$as_echo "$ac_try_echo") >&5
 
7585
  (eval "$ac_link") 2>conftest.er1
 
7586
  ac_status=$?
 
7587
  grep -v '^ *+' conftest.er1 >conftest.err
 
7588
  rm -f conftest.er1
 
7589
  cat conftest.err >&5
 
7590
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7591
  (exit $ac_status); } && {
 
7592
         test -z "$ac_c_werror_flag" ||
 
7593
         test ! -s conftest.err
 
7594
       } && test -s conftest$ac_exeext && {
 
7595
         test "$cross_compiling" = yes ||
 
7596
         $as_test_x conftest$ac_exeext
 
7597
       }; then
7340
7598
  lt_cv_ld_exported_symbols_list=yes
7341
7599
else
7342
 
  lt_cv_ld_exported_symbols_list=no
 
7600
  $as_echo "$as_me: failed program was:" >&5
 
7601
sed 's/^/| /' conftest.$ac_ext >&5
 
7602
 
 
7603
        lt_cv_ld_exported_symbols_list=no
7343
7604
fi
7344
 
rm -f core conftest.err conftest.$ac_objext \
7345
 
    conftest$ac_exeext conftest.$ac_ext
 
7605
 
 
7606
rm -rf conftest.dSYM
 
7607
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7608
      conftest$ac_exeext conftest.$ac_ext
7346
7609
        LDFLAGS="$save_LDFLAGS"
7347
7610
 
7348
7611
fi
7349
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
7612
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7350
7613
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7351
7614
    case $host_os in
7352
7615
    rhapsody* | darwin1.[012])
7388
7651
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7389
7652
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7390
7653
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7391
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
7654
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7392
7655
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7393
7656
# On Suns, sometimes $CPP names a directory.
7394
7657
if test -n "$CPP" && test -d "$CPP"; then
7395
7658
  CPP=
7396
7659
fi
7397
7660
if test -z "$CPP"; then
7398
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
7661
  if test "${ac_cv_prog_CPP+set}" = set; then
7399
7662
  $as_echo_n "(cached) " >&6
7400
7663
else
7401
7664
      # Double quotes because CPP needs to be expanded
7410
7673
  # <limits.h> exists even on freestanding compilers.
7411
7674
  # On the NeXT, cc -E runs the code through the compiler's parser,
7412
7675
  # not just through cpp. "Syntax error" is here to catch this case.
7413
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7676
  cat >conftest.$ac_ext <<_ACEOF
 
7677
/* confdefs.h.  */
 
7678
_ACEOF
 
7679
cat confdefs.h >>conftest.$ac_ext
 
7680
cat >>conftest.$ac_ext <<_ACEOF
7414
7681
/* end confdefs.h.  */
7415
7682
#ifdef __STDC__
7416
7683
# include <limits.h>
7419
7686
#endif
7420
7687
                     Syntax error
7421
7688
_ACEOF
7422
 
if ac_fn_c_try_cpp "$LINENO"; then :
 
7689
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7690
case "(($ac_try" in
 
7691
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7692
  *) ac_try_echo=$ac_try;;
 
7693
esac
 
7694
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7695
$as_echo "$ac_try_echo") >&5
 
7696
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
7697
  ac_status=$?
 
7698
  grep -v '^ *+' conftest.er1 >conftest.err
 
7699
  rm -f conftest.er1
 
7700
  cat conftest.err >&5
 
7701
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7702
  (exit $ac_status); } >/dev/null && {
 
7703
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
7704
         test ! -s conftest.err
 
7705
       }; then
 
7706
  :
 
7707
else
 
7708
  $as_echo "$as_me: failed program was:" >&5
 
7709
sed 's/^/| /' conftest.$ac_ext >&5
7423
7710
 
7424
 
else
7425
7711
  # Broken: fails on valid input.
7426
7712
continue
7427
7713
fi
 
7714
 
7428
7715
rm -f conftest.err conftest.$ac_ext
7429
7716
 
7430
7717
  # OK, works on sane cases.  Now check whether nonexistent headers
7431
7718
  # can be detected and how.
7432
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7719
  cat >conftest.$ac_ext <<_ACEOF
 
7720
/* confdefs.h.  */
 
7721
_ACEOF
 
7722
cat confdefs.h >>conftest.$ac_ext
 
7723
cat >>conftest.$ac_ext <<_ACEOF
7433
7724
/* end confdefs.h.  */
7434
7725
#include <ac_nonexistent.h>
7435
7726
_ACEOF
7436
 
if ac_fn_c_try_cpp "$LINENO"; then :
 
7727
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7728
case "(($ac_try" in
 
7729
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7730
  *) ac_try_echo=$ac_try;;
 
7731
esac
 
7732
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7733
$as_echo "$ac_try_echo") >&5
 
7734
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
7735
  ac_status=$?
 
7736
  grep -v '^ *+' conftest.er1 >conftest.err
 
7737
  rm -f conftest.er1
 
7738
  cat conftest.err >&5
 
7739
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7740
  (exit $ac_status); } >/dev/null && {
 
7741
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
7742
         test ! -s conftest.err
 
7743
       }; then
7437
7744
  # Broken: success on invalid input.
7438
7745
continue
7439
7746
else
 
7747
  $as_echo "$as_me: failed program was:" >&5
 
7748
sed 's/^/| /' conftest.$ac_ext >&5
 
7749
 
7440
7750
  # Passes both tests.
7441
7751
ac_preproc_ok=:
7442
7752
break
7443
7753
fi
 
7754
 
7444
7755
rm -f conftest.err conftest.$ac_ext
7445
7756
 
7446
7757
done
7447
7758
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7448
7759
rm -f conftest.err conftest.$ac_ext
7449
 
if $ac_preproc_ok; then :
 
7760
if $ac_preproc_ok; then
7450
7761
  break
7451
7762
fi
7452
7763
 
7458
7769
else
7459
7770
  ac_cv_prog_CPP=$CPP
7460
7771
fi
7461
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
7772
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
7462
7773
$as_echo "$CPP" >&6; }
7463
7774
ac_preproc_ok=false
7464
7775
for ac_c_preproc_warn_flag in '' yes
7469
7780
  # <limits.h> exists even on freestanding compilers.
7470
7781
  # On the NeXT, cc -E runs the code through the compiler's parser,
7471
7782
  # not just through cpp. "Syntax error" is here to catch this case.
7472
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7783
  cat >conftest.$ac_ext <<_ACEOF
 
7784
/* confdefs.h.  */
 
7785
_ACEOF
 
7786
cat confdefs.h >>conftest.$ac_ext
 
7787
cat >>conftest.$ac_ext <<_ACEOF
7473
7788
/* end confdefs.h.  */
7474
7789
#ifdef __STDC__
7475
7790
# include <limits.h>
7478
7793
#endif
7479
7794
                     Syntax error
7480
7795
_ACEOF
7481
 
if ac_fn_c_try_cpp "$LINENO"; then :
 
7796
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7797
case "(($ac_try" in
 
7798
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7799
  *) ac_try_echo=$ac_try;;
 
7800
esac
 
7801
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7802
$as_echo "$ac_try_echo") >&5
 
7803
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
7804
  ac_status=$?
 
7805
  grep -v '^ *+' conftest.er1 >conftest.err
 
7806
  rm -f conftest.er1
 
7807
  cat conftest.err >&5
 
7808
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7809
  (exit $ac_status); } >/dev/null && {
 
7810
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
7811
         test ! -s conftest.err
 
7812
       }; then
 
7813
  :
 
7814
else
 
7815
  $as_echo "$as_me: failed program was:" >&5
 
7816
sed 's/^/| /' conftest.$ac_ext >&5
7482
7817
 
7483
 
else
7484
7818
  # Broken: fails on valid input.
7485
7819
continue
7486
7820
fi
 
7821
 
7487
7822
rm -f conftest.err conftest.$ac_ext
7488
7823
 
7489
7824
  # OK, works on sane cases.  Now check whether nonexistent headers
7490
7825
  # can be detected and how.
7491
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7826
  cat >conftest.$ac_ext <<_ACEOF
 
7827
/* confdefs.h.  */
 
7828
_ACEOF
 
7829
cat confdefs.h >>conftest.$ac_ext
 
7830
cat >>conftest.$ac_ext <<_ACEOF
7492
7831
/* end confdefs.h.  */
7493
7832
#include <ac_nonexistent.h>
7494
7833
_ACEOF
7495
 
if ac_fn_c_try_cpp "$LINENO"; then :
 
7834
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7835
case "(($ac_try" in
 
7836
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7837
  *) ac_try_echo=$ac_try;;
 
7838
esac
 
7839
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7840
$as_echo "$ac_try_echo") >&5
 
7841
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
7842
  ac_status=$?
 
7843
  grep -v '^ *+' conftest.er1 >conftest.err
 
7844
  rm -f conftest.er1
 
7845
  cat conftest.err >&5
 
7846
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7847
  (exit $ac_status); } >/dev/null && {
 
7848
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
7849
         test ! -s conftest.err
 
7850
       }; then
7496
7851
  # Broken: success on invalid input.
7497
7852
continue
7498
7853
else
 
7854
  $as_echo "$as_me: failed program was:" >&5
 
7855
sed 's/^/| /' conftest.$ac_ext >&5
 
7856
 
7499
7857
  # Passes both tests.
7500
7858
ac_preproc_ok=:
7501
7859
break
7502
7860
fi
 
7861
 
7503
7862
rm -f conftest.err conftest.$ac_ext
7504
7863
 
7505
7864
done
7506
7865
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7507
7866
rm -f conftest.err conftest.$ac_ext
7508
 
if $ac_preproc_ok; then :
7509
 
 
 
7867
if $ac_preproc_ok; then
 
7868
  :
7510
7869
else
7511
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
7870
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7512
7871
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7513
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
7514
 
See \`config.log' for more details." "$LINENO" 5; }
 
7872
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
7873
See \`config.log' for more details." >&5
 
7874
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
7875
See \`config.log' for more details." >&2;}
 
7876
   { (exit 1); exit 1; }; }; }
7515
7877
fi
7516
7878
 
7517
7879
ac_ext=c
7521
7883
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7522
7884
 
7523
7885
 
7524
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
7886
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7525
7887
$as_echo_n "checking for ANSI C header files... " >&6; }
7526
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
7888
if test "${ac_cv_header_stdc+set}" = set; then
7527
7889
  $as_echo_n "(cached) " >&6
7528
7890
else
7529
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7891
  cat >conftest.$ac_ext <<_ACEOF
 
7892
/* confdefs.h.  */
 
7893
_ACEOF
 
7894
cat confdefs.h >>conftest.$ac_ext
 
7895
cat >>conftest.$ac_ext <<_ACEOF
7530
7896
/* end confdefs.h.  */
7531
7897
#include <stdlib.h>
7532
7898
#include <stdarg.h>
7541
7907
  return 0;
7542
7908
}
7543
7909
_ACEOF
7544
 
if ac_fn_c_try_compile "$LINENO"; then :
 
7910
rm -f conftest.$ac_objext
 
7911
if { (ac_try="$ac_compile"
 
7912
case "(($ac_try" in
 
7913
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7914
  *) ac_try_echo=$ac_try;;
 
7915
esac
 
7916
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7917
$as_echo "$ac_try_echo") >&5
 
7918
  (eval "$ac_compile") 2>conftest.er1
 
7919
  ac_status=$?
 
7920
  grep -v '^ *+' conftest.er1 >conftest.err
 
7921
  rm -f conftest.er1
 
7922
  cat conftest.err >&5
 
7923
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7924
  (exit $ac_status); } && {
 
7925
         test -z "$ac_c_werror_flag" ||
 
7926
         test ! -s conftest.err
 
7927
       } && test -s conftest.$ac_objext; then
7545
7928
  ac_cv_header_stdc=yes
7546
7929
else
7547
 
  ac_cv_header_stdc=no
 
7930
  $as_echo "$as_me: failed program was:" >&5
 
7931
sed 's/^/| /' conftest.$ac_ext >&5
 
7932
 
 
7933
        ac_cv_header_stdc=no
7548
7934
fi
 
7935
 
7549
7936
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7550
7937
 
7551
7938
if test $ac_cv_header_stdc = yes; then
7552
7939
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7553
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7940
  cat >conftest.$ac_ext <<_ACEOF
 
7941
/* confdefs.h.  */
 
7942
_ACEOF
 
7943
cat confdefs.h >>conftest.$ac_ext
 
7944
cat >>conftest.$ac_ext <<_ACEOF
7554
7945
/* end confdefs.h.  */
7555
7946
#include <string.h>
7556
7947
 
7557
7948
_ACEOF
7558
7949
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7559
 
  $EGREP "memchr" >/dev/null 2>&1; then :
7560
 
 
 
7950
  $EGREP "memchr" >/dev/null 2>&1; then
 
7951
  :
7561
7952
else
7562
7953
  ac_cv_header_stdc=no
7563
7954
fi
7567
7958
 
7568
7959
if test $ac_cv_header_stdc = yes; then
7569
7960
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7570
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7961
  cat >conftest.$ac_ext <<_ACEOF
 
7962
/* confdefs.h.  */
 
7963
_ACEOF
 
7964
cat confdefs.h >>conftest.$ac_ext
 
7965
cat >>conftest.$ac_ext <<_ACEOF
7571
7966
/* end confdefs.h.  */
7572
7967
#include <stdlib.h>
7573
7968
 
7574
7969
_ACEOF
7575
7970
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7576
 
  $EGREP "free" >/dev/null 2>&1; then :
7577
 
 
 
7971
  $EGREP "free" >/dev/null 2>&1; then
 
7972
  :
7578
7973
else
7579
7974
  ac_cv_header_stdc=no
7580
7975
fi
7584
7979
 
7585
7980
if test $ac_cv_header_stdc = yes; then
7586
7981
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7587
 
  if test "$cross_compiling" = yes; then :
 
7982
  if test "$cross_compiling" = yes; then
7588
7983
  :
7589
7984
else
7590
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7985
  cat >conftest.$ac_ext <<_ACEOF
 
7986
/* confdefs.h.  */
 
7987
_ACEOF
 
7988
cat confdefs.h >>conftest.$ac_ext
 
7989
cat >>conftest.$ac_ext <<_ACEOF
7591
7990
/* end confdefs.h.  */
7592
7991
#include <ctype.h>
7593
7992
#include <stdlib.h>
7614
8013
  return 0;
7615
8014
}
7616
8015
_ACEOF
7617
 
if ac_fn_c_try_run "$LINENO"; then :
7618
 
 
 
8016
rm -f conftest$ac_exeext
 
8017
if { (ac_try="$ac_link"
 
8018
case "(($ac_try" in
 
8019
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8020
  *) ac_try_echo=$ac_try;;
 
8021
esac
 
8022
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8023
$as_echo "$ac_try_echo") >&5
 
8024
  (eval "$ac_link") 2>&5
 
8025
  ac_status=$?
 
8026
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8027
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
8028
  { (case "(($ac_try" in
 
8029
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8030
  *) ac_try_echo=$ac_try;;
 
8031
esac
 
8032
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8033
$as_echo "$ac_try_echo") >&5
 
8034
  (eval "$ac_try") 2>&5
 
8035
  ac_status=$?
 
8036
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8037
  (exit $ac_status); }; }; then
 
8038
  :
7619
8039
else
7620
 
  ac_cv_header_stdc=no
7621
 
fi
7622
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7623
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
7624
 
fi
7625
 
 
7626
 
fi
7627
 
fi
7628
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
8040
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
8041
$as_echo "$as_me: failed program was:" >&5
 
8042
sed 's/^/| /' conftest.$ac_ext >&5
 
8043
 
 
8044
( exit $ac_status )
 
8045
ac_cv_header_stdc=no
 
8046
fi
 
8047
rm -rf conftest.dSYM
 
8048
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
8049
fi
 
8050
 
 
8051
 
 
8052
fi
 
8053
fi
 
8054
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7629
8055
$as_echo "$ac_cv_header_stdc" >&6; }
7630
8056
if test $ac_cv_header_stdc = yes; then
7631
8057
 
7632
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
8058
cat >>confdefs.h <<\_ACEOF
 
8059
#define STDC_HEADERS 1
 
8060
_ACEOF
7633
8061
 
7634
8062
fi
7635
8063
 
7636
8064
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
8065
 
 
8066
 
 
8067
 
 
8068
 
 
8069
 
 
8070
 
 
8071
 
 
8072
 
 
8073
 
7637
8074
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7638
8075
                  inttypes.h stdint.h unistd.h
7639
 
do :
7640
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7641
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7642
 
"
7643
 
eval as_val=\$$as_ac_Header
7644
 
   if test "x$as_val" = x""yes; then :
 
8076
do
 
8077
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
8078
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
8079
$as_echo_n "checking for $ac_header... " >&6; }
 
8080
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
8081
  $as_echo_n "(cached) " >&6
 
8082
else
 
8083
  cat >conftest.$ac_ext <<_ACEOF
 
8084
/* confdefs.h.  */
 
8085
_ACEOF
 
8086
cat confdefs.h >>conftest.$ac_ext
 
8087
cat >>conftest.$ac_ext <<_ACEOF
 
8088
/* end confdefs.h.  */
 
8089
$ac_includes_default
 
8090
 
 
8091
#include <$ac_header>
 
8092
_ACEOF
 
8093
rm -f conftest.$ac_objext
 
8094
if { (ac_try="$ac_compile"
 
8095
case "(($ac_try" in
 
8096
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8097
  *) ac_try_echo=$ac_try;;
 
8098
esac
 
8099
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8100
$as_echo "$ac_try_echo") >&5
 
8101
  (eval "$ac_compile") 2>conftest.er1
 
8102
  ac_status=$?
 
8103
  grep -v '^ *+' conftest.er1 >conftest.err
 
8104
  rm -f conftest.er1
 
8105
  cat conftest.err >&5
 
8106
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8107
  (exit $ac_status); } && {
 
8108
         test -z "$ac_c_werror_flag" ||
 
8109
         test ! -s conftest.err
 
8110
       } && test -s conftest.$ac_objext; then
 
8111
  eval "$as_ac_Header=yes"
 
8112
else
 
8113
  $as_echo "$as_me: failed program was:" >&5
 
8114
sed 's/^/| /' conftest.$ac_ext >&5
 
8115
 
 
8116
        eval "$as_ac_Header=no"
 
8117
fi
 
8118
 
 
8119
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8120
fi
 
8121
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
8122
                 $as_echo "$as_val"'`
 
8123
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
8124
$as_echo "$ac_res" >&6; }
 
8125
as_val=`eval 'as_val=${'$as_ac_Header'}
 
8126
                 $as_echo "$as_val"'`
 
8127
   if test "x$as_val" = x""yes; then
7645
8128
  cat >>confdefs.h <<_ACEOF
7646
8129
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7647
8130
_ACEOF
7651
8134
done
7652
8135
 
7653
8136
 
 
8137
 
7654
8138
for ac_header in dlfcn.h
7655
 
do :
7656
 
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7657
 
"
7658
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
8139
do
 
8140
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
8141
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
8142
$as_echo_n "checking for $ac_header... " >&6; }
 
8143
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
8144
  $as_echo_n "(cached) " >&6
 
8145
else
 
8146
  cat >conftest.$ac_ext <<_ACEOF
 
8147
/* confdefs.h.  */
 
8148
_ACEOF
 
8149
cat confdefs.h >>conftest.$ac_ext
 
8150
cat >>conftest.$ac_ext <<_ACEOF
 
8151
/* end confdefs.h.  */
 
8152
$ac_includes_default
 
8153
 
 
8154
#include <$ac_header>
 
8155
_ACEOF
 
8156
rm -f conftest.$ac_objext
 
8157
if { (ac_try="$ac_compile"
 
8158
case "(($ac_try" in
 
8159
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8160
  *) ac_try_echo=$ac_try;;
 
8161
esac
 
8162
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8163
$as_echo "$ac_try_echo") >&5
 
8164
  (eval "$ac_compile") 2>conftest.er1
 
8165
  ac_status=$?
 
8166
  grep -v '^ *+' conftest.er1 >conftest.err
 
8167
  rm -f conftest.er1
 
8168
  cat conftest.err >&5
 
8169
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8170
  (exit $ac_status); } && {
 
8171
         test -z "$ac_c_werror_flag" ||
 
8172
         test ! -s conftest.err
 
8173
       } && test -s conftest.$ac_objext; then
 
8174
  eval "$as_ac_Header=yes"
 
8175
else
 
8176
  $as_echo "$as_me: failed program was:" >&5
 
8177
sed 's/^/| /' conftest.$ac_ext >&5
 
8178
 
 
8179
        eval "$as_ac_Header=no"
 
8180
fi
 
8181
 
 
8182
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8183
fi
 
8184
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
8185
                 $as_echo "$as_val"'`
 
8186
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
8187
$as_echo "$ac_res" >&6; }
 
8188
as_val=`eval 'as_val=${'$as_ac_Header'}
 
8189
                 $as_echo "$as_val"'`
 
8190
   if test "x$as_val" = x""yes; then
7659
8191
  cat >>confdefs.h <<_ACEOF
7660
 
#define HAVE_DLFCN_H 1
 
8192
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7661
8193
_ACEOF
7662
8194
 
7663
8195
fi
7677
8209
 
7678
8210
 
7679
8211
            # Check whether --enable-shared was given.
7680
 
if test "${enable_shared+set}" = set; then :
 
8212
if test "${enable_shared+set}" = set; then
7681
8213
  enableval=$enable_shared; p=${PACKAGE-default}
7682
8214
    case $enableval in
7683
8215
    yes) enable_shared=yes ;;
7708
8240
 
7709
8241
 
7710
8242
  # Check whether --enable-static was given.
7711
 
if test "${enable_static+set}" = set; then :
 
8243
if test "${enable_static+set}" = set; then
7712
8244
  enableval=$enable_static; p=${PACKAGE-default}
7713
8245
    case $enableval in
7714
8246
    yes) enable_static=yes ;;
7740
8272
 
7741
8273
 
7742
8274
# Check whether --with-pic was given.
7743
 
if test "${with_pic+set}" = set; then :
 
8275
if test "${with_pic+set}" = set; then
7744
8276
  withval=$with_pic; pic_mode="$withval"
7745
8277
else
7746
8278
  pic_mode=default
7756
8288
 
7757
8289
 
7758
8290
  # Check whether --enable-fast-install was given.
7759
 
if test "${enable_fast_install+set}" = set; then :
 
8291
if test "${enable_fast_install+set}" = set; then
7760
8292
  enableval=$enable_fast_install; p=${PACKAGE-default}
7761
8293
    case $enableval in
7762
8294
    yes) enable_fast_install=yes ;;
7837
8369
   setopt NO_GLOB_SUBST
7838
8370
fi
7839
8371
 
7840
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
8372
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
7841
8373
$as_echo_n "checking for objdir... " >&6; }
7842
 
if test "${lt_cv_objdir+set}" = set; then :
 
8374
if test "${lt_cv_objdir+set}" = set; then
7843
8375
  $as_echo_n "(cached) " >&6
7844
8376
else
7845
8377
  rm -f .libs 2>/dev/null
7852
8384
fi
7853
8385
rmdir .libs 2>/dev/null
7854
8386
fi
7855
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
8387
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7856
8388
$as_echo "$lt_cv_objdir" >&6; }
7857
8389
objdir=$lt_cv_objdir
7858
8390
 
7945
8477
case $deplibs_check_method in
7946
8478
file_magic*)
7947
8479
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7948
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
8480
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7949
8481
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7950
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8482
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7951
8483
  $as_echo_n "(cached) " >&6
7952
8484
else
7953
8485
  case $MAGIC_CMD in
7998
8530
 
7999
8531
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8000
8532
if test -n "$MAGIC_CMD"; then
8001
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
8533
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8002
8534
$as_echo "$MAGIC_CMD" >&6; }
8003
8535
else
8004
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8536
  { $as_echo "$as_me:$LINENO: result: no" >&5
8005
8537
$as_echo "no" >&6; }
8006
8538
fi
8007
8539
 
8011
8543
 
8012
8544
if test -z "$lt_cv_path_MAGIC_CMD"; then
8013
8545
  if test -n "$ac_tool_prefix"; then
8014
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
8546
    { $as_echo "$as_me:$LINENO: checking for file" >&5
8015
8547
$as_echo_n "checking for file... " >&6; }
8016
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8548
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8017
8549
  $as_echo_n "(cached) " >&6
8018
8550
else
8019
8551
  case $MAGIC_CMD in
8064
8596
 
8065
8597
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8066
8598
if test -n "$MAGIC_CMD"; then
8067
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
8599
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8068
8600
$as_echo "$MAGIC_CMD" >&6; }
8069
8601
else
8070
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8602
  { $as_echo "$as_me:$LINENO: result: no" >&5
8071
8603
$as_echo "no" >&6; }
8072
8604
fi
8073
8605
 
8148
8680
if test "$GCC" = yes; then
8149
8681
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8150
8682
 
8151
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8683
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8152
8684
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8153
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
8685
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8154
8686
  $as_echo_n "(cached) " >&6
8155
8687
else
8156
8688
  lt_cv_prog_compiler_rtti_exceptions=no
8166
8698
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8167
8699
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8168
8700
   -e 's:$: $lt_compiler_flag:'`
8169
 
   (eval echo "\"\$as_me:8169: $lt_compile\"" >&5)
 
8701
   (eval echo "\"\$as_me:8701: $lt_compile\"" >&5)
8170
8702
   (eval "$lt_compile" 2>conftest.err)
8171
8703
   ac_status=$?
8172
8704
   cat conftest.err >&5
8173
 
   echo "$as_me:8173: \$? = $ac_status" >&5
 
8705
   echo "$as_me:8705: \$? = $ac_status" >&5
8174
8706
   if (exit $ac_status) && test -s "$ac_outfile"; then
8175
8707
     # The compiler can only warn and ignore the option if not recognized
8176
8708
     # So say no if there are warnings other than the usual output.
8183
8715
   $RM conftest*
8184
8716
 
8185
8717
fi
8186
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8718
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8187
8719
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8188
8720
 
8189
8721
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8203
8735
lt_prog_compiler_pic=
8204
8736
lt_prog_compiler_static=
8205
8737
 
8206
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8738
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8207
8739
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8208
8740
 
8209
8741
  if test "$GCC" = yes; then
8475
9007
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8476
9008
    ;;
8477
9009
esac
8478
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
 
9010
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8479
9011
$as_echo "$lt_prog_compiler_pic" >&6; }
8480
9012
 
8481
9013
 
8487
9019
# Check to make sure the PIC flag actually works.
8488
9020
#
8489
9021
if test -n "$lt_prog_compiler_pic"; then
8490
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
9022
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8491
9023
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8492
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
9024
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8493
9025
  $as_echo_n "(cached) " >&6
8494
9026
else
8495
9027
  lt_cv_prog_compiler_pic_works=no
8505
9037
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8506
9038
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8507
9039
   -e 's:$: $lt_compiler_flag:'`
8508
 
   (eval echo "\"\$as_me:8508: $lt_compile\"" >&5)
 
9040
   (eval echo "\"\$as_me:9040: $lt_compile\"" >&5)
8509
9041
   (eval "$lt_compile" 2>conftest.err)
8510
9042
   ac_status=$?
8511
9043
   cat conftest.err >&5
8512
 
   echo "$as_me:8512: \$? = $ac_status" >&5
 
9044
   echo "$as_me:9044: \$? = $ac_status" >&5
8513
9045
   if (exit $ac_status) && test -s "$ac_outfile"; then
8514
9046
     # The compiler can only warn and ignore the option if not recognized
8515
9047
     # So say no if there are warnings other than the usual output.
8522
9054
   $RM conftest*
8523
9055
 
8524
9056
fi
8525
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
9057
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8526
9058
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8527
9059
 
8528
9060
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8546
9078
# Check to make sure the static flag actually works.
8547
9079
#
8548
9080
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8549
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
9081
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8550
9082
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8551
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
9083
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8552
9084
  $as_echo_n "(cached) " >&6
8553
9085
else
8554
9086
  lt_cv_prog_compiler_static_works=no
8574
9106
   LDFLAGS="$save_LDFLAGS"
8575
9107
 
8576
9108
fi
8577
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
9109
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8578
9110
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8579
9111
 
8580
9112
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8589
9121
 
8590
9122
 
8591
9123
 
8592
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9124
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8593
9125
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8594
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9126
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8595
9127
  $as_echo_n "(cached) " >&6
8596
9128
else
8597
9129
  lt_cv_prog_compiler_c_o=no
8610
9142
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8611
9143
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8612
9144
   -e 's:$: $lt_compiler_flag:'`
8613
 
   (eval echo "\"\$as_me:8613: $lt_compile\"" >&5)
 
9145
   (eval echo "\"\$as_me:9145: $lt_compile\"" >&5)
8614
9146
   (eval "$lt_compile" 2>out/conftest.err)
8615
9147
   ac_status=$?
8616
9148
   cat out/conftest.err >&5
8617
 
   echo "$as_me:8617: \$? = $ac_status" >&5
 
9149
   echo "$as_me:9149: \$? = $ac_status" >&5
8618
9150
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8619
9151
   then
8620
9152
     # The compiler can only warn and ignore the option if not recognized
8636
9168
   $RM conftest*
8637
9169
 
8638
9170
fi
8639
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
9171
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8640
9172
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8641
9173
 
8642
9174
 
8644
9176
 
8645
9177
 
8646
9178
 
8647
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9179
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8648
9180
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8649
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9181
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8650
9182
  $as_echo_n "(cached) " >&6
8651
9183
else
8652
9184
  lt_cv_prog_compiler_c_o=no
8665
9197
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8666
9198
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8667
9199
   -e 's:$: $lt_compiler_flag:'`
8668
 
   (eval echo "\"\$as_me:8668: $lt_compile\"" >&5)
 
9200
   (eval echo "\"\$as_me:9200: $lt_compile\"" >&5)
8669
9201
   (eval "$lt_compile" 2>out/conftest.err)
8670
9202
   ac_status=$?
8671
9203
   cat out/conftest.err >&5
8672
 
   echo "$as_me:8672: \$? = $ac_status" >&5
 
9204
   echo "$as_me:9204: \$? = $ac_status" >&5
8673
9205
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8674
9206
   then
8675
9207
     # The compiler can only warn and ignore the option if not recognized
8691
9223
   $RM conftest*
8692
9224
 
8693
9225
fi
8694
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
9226
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8695
9227
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8696
9228
 
8697
9229
 
8700
9232
hard_links="nottested"
8701
9233
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8702
9234
  # do not overwrite the value of need_locks provided by the user
8703
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
9235
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8704
9236
$as_echo_n "checking if we can lock with hard links... " >&6; }
8705
9237
  hard_links=yes
8706
9238
  $RM conftest*
8708
9240
  touch conftest.a
8709
9241
  ln conftest.a conftest.b 2>&5 || hard_links=no
8710
9242
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8711
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
9243
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8712
9244
$as_echo "$hard_links" >&6; }
8713
9245
  if test "$hard_links" = no; then
8714
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
9246
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8715
9247
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8716
9248
    need_locks=warn
8717
9249
  fi
8724
9256
 
8725
9257
 
8726
9258
 
8727
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9259
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8728
9260
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8729
9261
 
8730
9262
  runpath_var=
8784
9316
  openbsd*)
8785
9317
    with_gnu_ld=no
8786
9318
    ;;
8787
 
  linux* | k*bsd*-gnu)
8788
 
    link_all_deplibs=no
8789
 
    ;;
8790
9319
  esac
8791
9320
 
8792
9321
  ld_shlibs=yes
8969
9498
      fi
8970
9499
      ;;
8971
9500
 
8972
 
    netbsd* | netbsdelf*-gnu)
 
9501
    netbsd*)
8973
9502
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8974
9503
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8975
9504
        wlarc=
9144
9673
        if test "$aix_use_runtimelinking" = yes; then
9145
9674
          shared_flag="$shared_flag "'${wl}-G'
9146
9675
        fi
9147
 
        link_all_deplibs=no
9148
9676
      else
9149
9677
        # not using gcc
9150
9678
        if test "$host_cpu" = ia64; then
9170
9698
        allow_undefined_flag='-berok'
9171
9699
        # Determine the default libpath from the value encoded in an
9172
9700
        # empty executable.
9173
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9701
        cat >conftest.$ac_ext <<_ACEOF
 
9702
/* confdefs.h.  */
 
9703
_ACEOF
 
9704
cat confdefs.h >>conftest.$ac_ext
 
9705
cat >>conftest.$ac_ext <<_ACEOF
9174
9706
/* end confdefs.h.  */
9175
9707
 
9176
9708
int
9181
9713
  return 0;
9182
9714
}
9183
9715
_ACEOF
9184
 
if ac_fn_c_try_link "$LINENO"; then :
 
9716
rm -f conftest.$ac_objext conftest$ac_exeext
 
9717
if { (ac_try="$ac_link"
 
9718
case "(($ac_try" in
 
9719
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9720
  *) ac_try_echo=$ac_try;;
 
9721
esac
 
9722
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9723
$as_echo "$ac_try_echo") >&5
 
9724
  (eval "$ac_link") 2>conftest.er1
 
9725
  ac_status=$?
 
9726
  grep -v '^ *+' conftest.er1 >conftest.err
 
9727
  rm -f conftest.er1
 
9728
  cat conftest.err >&5
 
9729
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9730
  (exit $ac_status); } && {
 
9731
         test -z "$ac_c_werror_flag" ||
 
9732
         test ! -s conftest.err
 
9733
       } && test -s conftest$ac_exeext && {
 
9734
         test "$cross_compiling" = yes ||
 
9735
         $as_test_x conftest$ac_exeext
 
9736
       }; then
9185
9737
 
9186
9738
lt_aix_libpath_sed='
9187
9739
    /Import File Strings/,/^$/ {
9195
9747
if test -z "$aix_libpath"; then
9196
9748
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9197
9749
fi
 
9750
else
 
9751
  $as_echo "$as_me: failed program was:" >&5
 
9752
sed 's/^/| /' conftest.$ac_ext >&5
 
9753
 
 
9754
 
9198
9755
fi
9199
 
rm -f core conftest.err conftest.$ac_objext \
9200
 
    conftest$ac_exeext conftest.$ac_ext
 
9756
 
 
9757
rm -rf conftest.dSYM
 
9758
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9759
      conftest$ac_exeext conftest.$ac_ext
9201
9760
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9202
9761
 
9203
9762
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9210
9769
        else
9211
9770
         # Determine the default libpath from the value encoded in an
9212
9771
         # empty executable.
9213
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9772
         cat >conftest.$ac_ext <<_ACEOF
 
9773
/* confdefs.h.  */
 
9774
_ACEOF
 
9775
cat confdefs.h >>conftest.$ac_ext
 
9776
cat >>conftest.$ac_ext <<_ACEOF
9214
9777
/* end confdefs.h.  */
9215
9778
 
9216
9779
int
9221
9784
  return 0;
9222
9785
}
9223
9786
_ACEOF
9224
 
if ac_fn_c_try_link "$LINENO"; then :
 
9787
rm -f conftest.$ac_objext conftest$ac_exeext
 
9788
if { (ac_try="$ac_link"
 
9789
case "(($ac_try" in
 
9790
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9791
  *) ac_try_echo=$ac_try;;
 
9792
esac
 
9793
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9794
$as_echo "$ac_try_echo") >&5
 
9795
  (eval "$ac_link") 2>conftest.er1
 
9796
  ac_status=$?
 
9797
  grep -v '^ *+' conftest.er1 >conftest.err
 
9798
  rm -f conftest.er1
 
9799
  cat conftest.err >&5
 
9800
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9801
  (exit $ac_status); } && {
 
9802
         test -z "$ac_c_werror_flag" ||
 
9803
         test ! -s conftest.err
 
9804
       } && test -s conftest$ac_exeext && {
 
9805
         test "$cross_compiling" = yes ||
 
9806
         $as_test_x conftest$ac_exeext
 
9807
       }; then
9225
9808
 
9226
9809
lt_aix_libpath_sed='
9227
9810
    /Import File Strings/,/^$/ {
9235
9818
if test -z "$aix_libpath"; then
9236
9819
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9237
9820
fi
 
9821
else
 
9822
  $as_echo "$as_me: failed program was:" >&5
 
9823
sed 's/^/| /' conftest.$ac_ext >&5
 
9824
 
 
9825
 
9238
9826
fi
9239
 
rm -f core conftest.err conftest.$ac_objext \
9240
 
    conftest$ac_exeext conftest.$ac_ext
 
9827
 
 
9828
rm -rf conftest.dSYM
 
9829
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9830
      conftest$ac_exeext conftest.$ac_ext
9241
9831
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9242
9832
 
9243
9833
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9449
10039
        # implicitly export all symbols.
9450
10040
        save_LDFLAGS="$LDFLAGS"
9451
10041
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9452
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9453
 
/* end confdefs.h.  */
 
10042
        cat >conftest.$ac_ext <<_ACEOF
9454
10043
int foo(void) {}
9455
10044
_ACEOF
9456
 
if ac_fn_c_try_link "$LINENO"; then :
 
10045
rm -f conftest.$ac_objext conftest$ac_exeext
 
10046
if { (ac_try="$ac_link"
 
10047
case "(($ac_try" in
 
10048
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10049
  *) ac_try_echo=$ac_try;;
 
10050
esac
 
10051
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10052
$as_echo "$ac_try_echo") >&5
 
10053
  (eval "$ac_link") 2>conftest.er1
 
10054
  ac_status=$?
 
10055
  grep -v '^ *+' conftest.er1 >conftest.err
 
10056
  rm -f conftest.er1
 
10057
  cat conftest.err >&5
 
10058
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10059
  (exit $ac_status); } && {
 
10060
         test -z "$ac_c_werror_flag" ||
 
10061
         test ! -s conftest.err
 
10062
       } && test -s conftest$ac_exeext && {
 
10063
         test "$cross_compiling" = yes ||
 
10064
         $as_test_x conftest$ac_exeext
 
10065
       }; then
9457
10066
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9458
10067
 
 
10068
else
 
10069
  $as_echo "$as_me: failed program was:" >&5
 
10070
sed 's/^/| /' conftest.$ac_ext >&5
 
10071
 
 
10072
 
9459
10073
fi
9460
 
rm -f core conftest.err conftest.$ac_objext \
9461
 
    conftest$ac_exeext conftest.$ac_ext
 
10074
 
 
10075
rm -rf conftest.dSYM
 
10076
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10077
      conftest$ac_exeext conftest.$ac_ext
9462
10078
        LDFLAGS="$save_LDFLAGS"
9463
10079
      else
9464
10080
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9471
10087
      link_all_deplibs=yes
9472
10088
      ;;
9473
10089
 
9474
 
    netbsd* | netbsdelf*-gnu)
 
10090
    netbsd*)
9475
10091
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9476
10092
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9477
10093
      else
9714
10330
    fi
9715
10331
  fi
9716
10332
 
9717
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
10333
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9718
10334
$as_echo "$ld_shlibs" >&6; }
9719
10335
test "$ld_shlibs" = no && can_build_shared=no
9720
10336
 
9751
10367
      # Test whether the compiler implicitly links with -lc since on some
9752
10368
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9753
10369
      # to ld, don't add -lc before -lgcc.
9754
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
10370
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9755
10371
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9756
10372
      $RM conftest*
9757
10373
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9758
10374
 
9759
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
10375
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9760
10376
  (eval $ac_compile) 2>&5
9761
10377
  ac_status=$?
9762
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9763
 
  test $ac_status = 0; } 2>conftest.err; then
 
10378
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10379
  (exit $ac_status); } 2>conftest.err; then
9764
10380
        soname=conftest
9765
10381
        lib=conftest
9766
10382
        libobjs=conftest.$ac_objext
9774
10390
        libname=conftest
9775
10391
        lt_save_allow_undefined_flag=$allow_undefined_flag
9776
10392
        allow_undefined_flag=
9777
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
10393
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9778
10394
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9779
10395
  ac_status=$?
9780
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9781
 
  test $ac_status = 0; }
 
10396
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10397
  (exit $ac_status); }
9782
10398
        then
9783
10399
          archive_cmds_need_lc=no
9784
10400
        else
9789
10405
        cat conftest.err 1>&5
9790
10406
      fi
9791
10407
      $RM conftest*
9792
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
 
10408
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9793
10409
$as_echo "$archive_cmds_need_lc" >&6; }
9794
10410
      ;;
9795
10411
    esac
9953
10569
 
9954
10570
 
9955
10571
 
9956
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
10572
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9957
10573
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9958
10574
 
9959
10575
if test "$GCC" = yes; then
10375
10991
  save_libdir=$libdir
10376
10992
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10377
10993
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10378
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10994
  cat >conftest.$ac_ext <<_ACEOF
 
10995
/* confdefs.h.  */
 
10996
_ACEOF
 
10997
cat confdefs.h >>conftest.$ac_ext
 
10998
cat >>conftest.$ac_ext <<_ACEOF
10379
10999
/* end confdefs.h.  */
10380
11000
 
10381
11001
int
10386
11006
  return 0;
10387
11007
}
10388
11008
_ACEOF
10389
 
if ac_fn_c_try_link "$LINENO"; then :
10390
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
11009
rm -f conftest.$ac_objext conftest$ac_exeext
 
11010
if { (ac_try="$ac_link"
 
11011
case "(($ac_try" in
 
11012
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11013
  *) ac_try_echo=$ac_try;;
 
11014
esac
 
11015
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11016
$as_echo "$ac_try_echo") >&5
 
11017
  (eval "$ac_link") 2>conftest.er1
 
11018
  ac_status=$?
 
11019
  grep -v '^ *+' conftest.er1 >conftest.err
 
11020
  rm -f conftest.er1
 
11021
  cat conftest.err >&5
 
11022
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11023
  (exit $ac_status); } && {
 
11024
         test -z "$ac_c_werror_flag" ||
 
11025
         test ! -s conftest.err
 
11026
       } && test -s conftest$ac_exeext && {
 
11027
         test "$cross_compiling" = yes ||
 
11028
         $as_test_x conftest$ac_exeext
 
11029
       }; then
 
11030
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10391
11031
  shlibpath_overrides_runpath=yes
10392
11032
fi
 
11033
 
 
11034
else
 
11035
  $as_echo "$as_me: failed program was:" >&5
 
11036
sed 's/^/| /' conftest.$ac_ext >&5
 
11037
 
 
11038
 
10393
11039
fi
10394
 
rm -f core conftest.err conftest.$ac_objext \
10395
 
    conftest$ac_exeext conftest.$ac_ext
 
11040
 
 
11041
rm -rf conftest.dSYM
 
11042
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11043
      conftest$ac_exeext conftest.$ac_ext
10396
11044
  LDFLAGS=$save_LDFLAGS
10397
11045
  libdir=$save_libdir
10398
11046
 
10401
11049
  # before this can be enabled.
10402
11050
  hardcode_into_libs=yes
10403
11051
 
 
11052
  # Add ABI-specific directories to the system library path.
 
11053
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
11054
 
10404
11055
  # Append ld.so.conf contents to the search path
10405
11056
  if test -f /etc/ld.so.conf; then
10406
11057
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10407
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
11058
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10408
11059
  fi
10409
11060
 
10410
11061
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10416
11067
  dynamic_linker='GNU/Linux ld.so'
10417
11068
  ;;
10418
11069
 
10419
 
netbsdelf*-gnu)
10420
 
  version_type=linux
10421
 
  need_lib_prefix=no
10422
 
  need_version=no
10423
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10424
 
  soname_spec='${libname}${release}${shared_ext}$major'
10425
 
  shlibpath_var=LD_LIBRARY_PATH
10426
 
  shlibpath_overrides_runpath=no
10427
 
  hardcode_into_libs=yes
10428
 
  dynamic_linker='NetBSD ld.elf_so'
10429
 
  ;;
10430
 
 
10431
11070
netbsd*)
10432
11071
  version_type=sunos
10433
11072
  need_lib_prefix=no
10616
11255
  dynamic_linker=no
10617
11256
  ;;
10618
11257
esac
10619
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
11258
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10620
11259
$as_echo "$dynamic_linker" >&6; }
10621
11260
test "$dynamic_linker" = no && can_build_shared=no
10622
11261
 
10718
11357
 
10719
11358
 
10720
11359
 
10721
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
11360
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10722
11361
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10723
11362
hardcode_action=
10724
11363
if test -n "$hardcode_libdir_flag_spec" ||
10743
11382
  # directories.
10744
11383
  hardcode_action=unsupported
10745
11384
fi
10746
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
11385
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10747
11386
$as_echo "$hardcode_action" >&6; }
10748
11387
 
10749
11388
if test "$hardcode_action" = relink ||
10788
11427
 
10789
11428
  darwin*)
10790
11429
  # if libdl is installed we need to link against it
10791
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11430
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10792
11431
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10793
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11432
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10794
11433
  $as_echo_n "(cached) " >&6
10795
11434
else
10796
11435
  ac_check_lib_save_LIBS=$LIBS
10797
11436
LIBS="-ldl  $LIBS"
10798
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11437
cat >conftest.$ac_ext <<_ACEOF
 
11438
/* confdefs.h.  */
 
11439
_ACEOF
 
11440
cat confdefs.h >>conftest.$ac_ext
 
11441
cat >>conftest.$ac_ext <<_ACEOF
10799
11442
/* end confdefs.h.  */
10800
11443
 
10801
11444
/* Override any GCC internal prototype to avoid an error.
10813
11456
  return 0;
10814
11457
}
10815
11458
_ACEOF
10816
 
if ac_fn_c_try_link "$LINENO"; then :
 
11459
rm -f conftest.$ac_objext conftest$ac_exeext
 
11460
if { (ac_try="$ac_link"
 
11461
case "(($ac_try" in
 
11462
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11463
  *) ac_try_echo=$ac_try;;
 
11464
esac
 
11465
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11466
$as_echo "$ac_try_echo") >&5
 
11467
  (eval "$ac_link") 2>conftest.er1
 
11468
  ac_status=$?
 
11469
  grep -v '^ *+' conftest.er1 >conftest.err
 
11470
  rm -f conftest.er1
 
11471
  cat conftest.err >&5
 
11472
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11473
  (exit $ac_status); } && {
 
11474
         test -z "$ac_c_werror_flag" ||
 
11475
         test ! -s conftest.err
 
11476
       } && test -s conftest$ac_exeext && {
 
11477
         test "$cross_compiling" = yes ||
 
11478
         $as_test_x conftest$ac_exeext
 
11479
       }; then
10817
11480
  ac_cv_lib_dl_dlopen=yes
10818
11481
else
10819
 
  ac_cv_lib_dl_dlopen=no
 
11482
  $as_echo "$as_me: failed program was:" >&5
 
11483
sed 's/^/| /' conftest.$ac_ext >&5
 
11484
 
 
11485
        ac_cv_lib_dl_dlopen=no
10820
11486
fi
10821
 
rm -f core conftest.err conftest.$ac_objext \
10822
 
    conftest$ac_exeext conftest.$ac_ext
 
11487
 
 
11488
rm -rf conftest.dSYM
 
11489
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11490
      conftest$ac_exeext conftest.$ac_ext
10823
11491
LIBS=$ac_check_lib_save_LIBS
10824
11492
fi
10825
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11493
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10826
11494
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10827
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11495
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10828
11496
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10829
11497
else
10830
11498
 
10837
11505
    ;;
10838
11506
 
10839
11507
  *)
10840
 
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10841
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
11508
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 
11509
$as_echo_n "checking for shl_load... " >&6; }
 
11510
if test "${ac_cv_func_shl_load+set}" = set; then
 
11511
  $as_echo_n "(cached) " >&6
 
11512
else
 
11513
  cat >conftest.$ac_ext <<_ACEOF
 
11514
/* confdefs.h.  */
 
11515
_ACEOF
 
11516
cat confdefs.h >>conftest.$ac_ext
 
11517
cat >>conftest.$ac_ext <<_ACEOF
 
11518
/* end confdefs.h.  */
 
11519
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
 
11520
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
11521
#define shl_load innocuous_shl_load
 
11522
 
 
11523
/* System header to define __stub macros and hopefully few prototypes,
 
11524
    which can conflict with char shl_load (); below.
 
11525
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
11526
    <limits.h> exists even on freestanding compilers.  */
 
11527
 
 
11528
#ifdef __STDC__
 
11529
# include <limits.h>
 
11530
#else
 
11531
# include <assert.h>
 
11532
#endif
 
11533
 
 
11534
#undef shl_load
 
11535
 
 
11536
/* Override any GCC internal prototype to avoid an error.
 
11537
   Use char because int might match the return type of a GCC
 
11538
   builtin and then its argument prototype would still apply.  */
 
11539
#ifdef __cplusplus
 
11540
extern "C"
 
11541
#endif
 
11542
char shl_load ();
 
11543
/* The GNU C library defines this for functions which it implements
 
11544
    to always fail with ENOSYS.  Some functions are actually named
 
11545
    something starting with __ and the normal name is an alias.  */
 
11546
#if defined __stub_shl_load || defined __stub___shl_load
 
11547
choke me
 
11548
#endif
 
11549
 
 
11550
int
 
11551
main ()
 
11552
{
 
11553
return shl_load ();
 
11554
  ;
 
11555
  return 0;
 
11556
}
 
11557
_ACEOF
 
11558
rm -f conftest.$ac_objext conftest$ac_exeext
 
11559
if { (ac_try="$ac_link"
 
11560
case "(($ac_try" in
 
11561
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11562
  *) ac_try_echo=$ac_try;;
 
11563
esac
 
11564
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11565
$as_echo "$ac_try_echo") >&5
 
11566
  (eval "$ac_link") 2>conftest.er1
 
11567
  ac_status=$?
 
11568
  grep -v '^ *+' conftest.er1 >conftest.err
 
11569
  rm -f conftest.er1
 
11570
  cat conftest.err >&5
 
11571
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11572
  (exit $ac_status); } && {
 
11573
         test -z "$ac_c_werror_flag" ||
 
11574
         test ! -s conftest.err
 
11575
       } && test -s conftest$ac_exeext && {
 
11576
         test "$cross_compiling" = yes ||
 
11577
         $as_test_x conftest$ac_exeext
 
11578
       }; then
 
11579
  ac_cv_func_shl_load=yes
 
11580
else
 
11581
  $as_echo "$as_me: failed program was:" >&5
 
11582
sed 's/^/| /' conftest.$ac_ext >&5
 
11583
 
 
11584
        ac_cv_func_shl_load=no
 
11585
fi
 
11586
 
 
11587
rm -rf conftest.dSYM
 
11588
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11589
      conftest$ac_exeext conftest.$ac_ext
 
11590
fi
 
11591
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
11592
$as_echo "$ac_cv_func_shl_load" >&6; }
 
11593
if test "x$ac_cv_func_shl_load" = x""yes; then
10842
11594
  lt_cv_dlopen="shl_load"
10843
11595
else
10844
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
11596
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10845
11597
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10846
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
11598
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10847
11599
  $as_echo_n "(cached) " >&6
10848
11600
else
10849
11601
  ac_check_lib_save_LIBS=$LIBS
10850
11602
LIBS="-ldld  $LIBS"
10851
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11603
cat >conftest.$ac_ext <<_ACEOF
 
11604
/* confdefs.h.  */
 
11605
_ACEOF
 
11606
cat confdefs.h >>conftest.$ac_ext
 
11607
cat >>conftest.$ac_ext <<_ACEOF
10852
11608
/* end confdefs.h.  */
10853
11609
 
10854
11610
/* Override any GCC internal prototype to avoid an error.
10866
11622
  return 0;
10867
11623
}
10868
11624
_ACEOF
10869
 
if ac_fn_c_try_link "$LINENO"; then :
 
11625
rm -f conftest.$ac_objext conftest$ac_exeext
 
11626
if { (ac_try="$ac_link"
 
11627
case "(($ac_try" in
 
11628
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11629
  *) ac_try_echo=$ac_try;;
 
11630
esac
 
11631
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11632
$as_echo "$ac_try_echo") >&5
 
11633
  (eval "$ac_link") 2>conftest.er1
 
11634
  ac_status=$?
 
11635
  grep -v '^ *+' conftest.er1 >conftest.err
 
11636
  rm -f conftest.er1
 
11637
  cat conftest.err >&5
 
11638
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11639
  (exit $ac_status); } && {
 
11640
         test -z "$ac_c_werror_flag" ||
 
11641
         test ! -s conftest.err
 
11642
       } && test -s conftest$ac_exeext && {
 
11643
         test "$cross_compiling" = yes ||
 
11644
         $as_test_x conftest$ac_exeext
 
11645
       }; then
10870
11646
  ac_cv_lib_dld_shl_load=yes
10871
11647
else
10872
 
  ac_cv_lib_dld_shl_load=no
 
11648
  $as_echo "$as_me: failed program was:" >&5
 
11649
sed 's/^/| /' conftest.$ac_ext >&5
 
11650
 
 
11651
        ac_cv_lib_dld_shl_load=no
10873
11652
fi
10874
 
rm -f core conftest.err conftest.$ac_objext \
10875
 
    conftest$ac_exeext conftest.$ac_ext
 
11653
 
 
11654
rm -rf conftest.dSYM
 
11655
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11656
      conftest$ac_exeext conftest.$ac_ext
10876
11657
LIBS=$ac_check_lib_save_LIBS
10877
11658
fi
10878
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
11659
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10879
11660
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10880
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
11661
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10881
11662
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10882
11663
else
10883
 
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10884
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
11664
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 
11665
$as_echo_n "checking for dlopen... " >&6; }
 
11666
if test "${ac_cv_func_dlopen+set}" = set; then
 
11667
  $as_echo_n "(cached) " >&6
 
11668
else
 
11669
  cat >conftest.$ac_ext <<_ACEOF
 
11670
/* confdefs.h.  */
 
11671
_ACEOF
 
11672
cat confdefs.h >>conftest.$ac_ext
 
11673
cat >>conftest.$ac_ext <<_ACEOF
 
11674
/* end confdefs.h.  */
 
11675
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 
11676
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
11677
#define dlopen innocuous_dlopen
 
11678
 
 
11679
/* System header to define __stub macros and hopefully few prototypes,
 
11680
    which can conflict with char dlopen (); below.
 
11681
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
11682
    <limits.h> exists even on freestanding compilers.  */
 
11683
 
 
11684
#ifdef __STDC__
 
11685
# include <limits.h>
 
11686
#else
 
11687
# include <assert.h>
 
11688
#endif
 
11689
 
 
11690
#undef dlopen
 
11691
 
 
11692
/* Override any GCC internal prototype to avoid an error.
 
11693
   Use char because int might match the return type of a GCC
 
11694
   builtin and then its argument prototype would still apply.  */
 
11695
#ifdef __cplusplus
 
11696
extern "C"
 
11697
#endif
 
11698
char dlopen ();
 
11699
/* The GNU C library defines this for functions which it implements
 
11700
    to always fail with ENOSYS.  Some functions are actually named
 
11701
    something starting with __ and the normal name is an alias.  */
 
11702
#if defined __stub_dlopen || defined __stub___dlopen
 
11703
choke me
 
11704
#endif
 
11705
 
 
11706
int
 
11707
main ()
 
11708
{
 
11709
return dlopen ();
 
11710
  ;
 
11711
  return 0;
 
11712
}
 
11713
_ACEOF
 
11714
rm -f conftest.$ac_objext conftest$ac_exeext
 
11715
if { (ac_try="$ac_link"
 
11716
case "(($ac_try" in
 
11717
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11718
  *) ac_try_echo=$ac_try;;
 
11719
esac
 
11720
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11721
$as_echo "$ac_try_echo") >&5
 
11722
  (eval "$ac_link") 2>conftest.er1
 
11723
  ac_status=$?
 
11724
  grep -v '^ *+' conftest.er1 >conftest.err
 
11725
  rm -f conftest.er1
 
11726
  cat conftest.err >&5
 
11727
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11728
  (exit $ac_status); } && {
 
11729
         test -z "$ac_c_werror_flag" ||
 
11730
         test ! -s conftest.err
 
11731
       } && test -s conftest$ac_exeext && {
 
11732
         test "$cross_compiling" = yes ||
 
11733
         $as_test_x conftest$ac_exeext
 
11734
       }; then
 
11735
  ac_cv_func_dlopen=yes
 
11736
else
 
11737
  $as_echo "$as_me: failed program was:" >&5
 
11738
sed 's/^/| /' conftest.$ac_ext >&5
 
11739
 
 
11740
        ac_cv_func_dlopen=no
 
11741
fi
 
11742
 
 
11743
rm -rf conftest.dSYM
 
11744
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11745
      conftest$ac_exeext conftest.$ac_ext
 
11746
fi
 
11747
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
11748
$as_echo "$ac_cv_func_dlopen" >&6; }
 
11749
if test "x$ac_cv_func_dlopen" = x""yes; then
10885
11750
  lt_cv_dlopen="dlopen"
10886
11751
else
10887
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11752
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10888
11753
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10889
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11754
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10890
11755
  $as_echo_n "(cached) " >&6
10891
11756
else
10892
11757
  ac_check_lib_save_LIBS=$LIBS
10893
11758
LIBS="-ldl  $LIBS"
10894
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11759
cat >conftest.$ac_ext <<_ACEOF
 
11760
/* confdefs.h.  */
 
11761
_ACEOF
 
11762
cat confdefs.h >>conftest.$ac_ext
 
11763
cat >>conftest.$ac_ext <<_ACEOF
10895
11764
/* end confdefs.h.  */
10896
11765
 
10897
11766
/* Override any GCC internal prototype to avoid an error.
10909
11778
  return 0;
10910
11779
}
10911
11780
_ACEOF
10912
 
if ac_fn_c_try_link "$LINENO"; then :
 
11781
rm -f conftest.$ac_objext conftest$ac_exeext
 
11782
if { (ac_try="$ac_link"
 
11783
case "(($ac_try" in
 
11784
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11785
  *) ac_try_echo=$ac_try;;
 
11786
esac
 
11787
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11788
$as_echo "$ac_try_echo") >&5
 
11789
  (eval "$ac_link") 2>conftest.er1
 
11790
  ac_status=$?
 
11791
  grep -v '^ *+' conftest.er1 >conftest.err
 
11792
  rm -f conftest.er1
 
11793
  cat conftest.err >&5
 
11794
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11795
  (exit $ac_status); } && {
 
11796
         test -z "$ac_c_werror_flag" ||
 
11797
         test ! -s conftest.err
 
11798
       } && test -s conftest$ac_exeext && {
 
11799
         test "$cross_compiling" = yes ||
 
11800
         $as_test_x conftest$ac_exeext
 
11801
       }; then
10913
11802
  ac_cv_lib_dl_dlopen=yes
10914
11803
else
10915
 
  ac_cv_lib_dl_dlopen=no
 
11804
  $as_echo "$as_me: failed program was:" >&5
 
11805
sed 's/^/| /' conftest.$ac_ext >&5
 
11806
 
 
11807
        ac_cv_lib_dl_dlopen=no
10916
11808
fi
10917
 
rm -f core conftest.err conftest.$ac_objext \
10918
 
    conftest$ac_exeext conftest.$ac_ext
 
11809
 
 
11810
rm -rf conftest.dSYM
 
11811
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11812
      conftest$ac_exeext conftest.$ac_ext
10919
11813
LIBS=$ac_check_lib_save_LIBS
10920
11814
fi
10921
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11815
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10922
11816
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10923
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11817
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10924
11818
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10925
11819
else
10926
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
11820
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10927
11821
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10928
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
11822
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10929
11823
  $as_echo_n "(cached) " >&6
10930
11824
else
10931
11825
  ac_check_lib_save_LIBS=$LIBS
10932
11826
LIBS="-lsvld  $LIBS"
10933
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11827
cat >conftest.$ac_ext <<_ACEOF
 
11828
/* confdefs.h.  */
 
11829
_ACEOF
 
11830
cat confdefs.h >>conftest.$ac_ext
 
11831
cat >>conftest.$ac_ext <<_ACEOF
10934
11832
/* end confdefs.h.  */
10935
11833
 
10936
11834
/* Override any GCC internal prototype to avoid an error.
10948
11846
  return 0;
10949
11847
}
10950
11848
_ACEOF
10951
 
if ac_fn_c_try_link "$LINENO"; then :
 
11849
rm -f conftest.$ac_objext conftest$ac_exeext
 
11850
if { (ac_try="$ac_link"
 
11851
case "(($ac_try" in
 
11852
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11853
  *) ac_try_echo=$ac_try;;
 
11854
esac
 
11855
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11856
$as_echo "$ac_try_echo") >&5
 
11857
  (eval "$ac_link") 2>conftest.er1
 
11858
  ac_status=$?
 
11859
  grep -v '^ *+' conftest.er1 >conftest.err
 
11860
  rm -f conftest.er1
 
11861
  cat conftest.err >&5
 
11862
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11863
  (exit $ac_status); } && {
 
11864
         test -z "$ac_c_werror_flag" ||
 
11865
         test ! -s conftest.err
 
11866
       } && test -s conftest$ac_exeext && {
 
11867
         test "$cross_compiling" = yes ||
 
11868
         $as_test_x conftest$ac_exeext
 
11869
       }; then
10952
11870
  ac_cv_lib_svld_dlopen=yes
10953
11871
else
10954
 
  ac_cv_lib_svld_dlopen=no
 
11872
  $as_echo "$as_me: failed program was:" >&5
 
11873
sed 's/^/| /' conftest.$ac_ext >&5
 
11874
 
 
11875
        ac_cv_lib_svld_dlopen=no
10955
11876
fi
10956
 
rm -f core conftest.err conftest.$ac_objext \
10957
 
    conftest$ac_exeext conftest.$ac_ext
 
11877
 
 
11878
rm -rf conftest.dSYM
 
11879
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11880
      conftest$ac_exeext conftest.$ac_ext
10958
11881
LIBS=$ac_check_lib_save_LIBS
10959
11882
fi
10960
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
11883
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10961
11884
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10962
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
11885
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10963
11886
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10964
11887
else
10965
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
11888
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10966
11889
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10967
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
11890
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10968
11891
  $as_echo_n "(cached) " >&6
10969
11892
else
10970
11893
  ac_check_lib_save_LIBS=$LIBS
10971
11894
LIBS="-ldld  $LIBS"
10972
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11895
cat >conftest.$ac_ext <<_ACEOF
 
11896
/* confdefs.h.  */
 
11897
_ACEOF
 
11898
cat confdefs.h >>conftest.$ac_ext
 
11899
cat >>conftest.$ac_ext <<_ACEOF
10973
11900
/* end confdefs.h.  */
10974
11901
 
10975
11902
/* Override any GCC internal prototype to avoid an error.
10987
11914
  return 0;
10988
11915
}
10989
11916
_ACEOF
10990
 
if ac_fn_c_try_link "$LINENO"; then :
 
11917
rm -f conftest.$ac_objext conftest$ac_exeext
 
11918
if { (ac_try="$ac_link"
 
11919
case "(($ac_try" in
 
11920
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11921
  *) ac_try_echo=$ac_try;;
 
11922
esac
 
11923
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11924
$as_echo "$ac_try_echo") >&5
 
11925
  (eval "$ac_link") 2>conftest.er1
 
11926
  ac_status=$?
 
11927
  grep -v '^ *+' conftest.er1 >conftest.err
 
11928
  rm -f conftest.er1
 
11929
  cat conftest.err >&5
 
11930
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11931
  (exit $ac_status); } && {
 
11932
         test -z "$ac_c_werror_flag" ||
 
11933
         test ! -s conftest.err
 
11934
       } && test -s conftest$ac_exeext && {
 
11935
         test "$cross_compiling" = yes ||
 
11936
         $as_test_x conftest$ac_exeext
 
11937
       }; then
10991
11938
  ac_cv_lib_dld_dld_link=yes
10992
11939
else
10993
 
  ac_cv_lib_dld_dld_link=no
 
11940
  $as_echo "$as_me: failed program was:" >&5
 
11941
sed 's/^/| /' conftest.$ac_ext >&5
 
11942
 
 
11943
        ac_cv_lib_dld_dld_link=no
10994
11944
fi
10995
 
rm -f core conftest.err conftest.$ac_objext \
10996
 
    conftest$ac_exeext conftest.$ac_ext
 
11945
 
 
11946
rm -rf conftest.dSYM
 
11947
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11948
      conftest$ac_exeext conftest.$ac_ext
10997
11949
LIBS=$ac_check_lib_save_LIBS
10998
11950
fi
10999
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
11951
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11000
11952
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11001
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
11953
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
11002
11954
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11003
11955
fi
11004
11956
 
11037
11989
    save_LIBS="$LIBS"
11038
11990
    LIBS="$lt_cv_dlopen_libs $LIBS"
11039
11991
 
11040
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
11992
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11041
11993
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11042
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
11994
if test "${lt_cv_dlopen_self+set}" = set; then
11043
11995
  $as_echo_n "(cached) " >&6
11044
11996
else
11045
11997
          if test "$cross_compiling" = yes; then :
11048
12000
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11049
12001
  lt_status=$lt_dlunknown
11050
12002
  cat > conftest.$ac_ext <<_LT_EOF
11051
 
#line 11051 "configure"
 
12003
#line 12003 "configure"
11052
12004
#include "confdefs.h"
11053
12005
 
11054
12006
#if HAVE_DLFCN_H
11107
12059
  return status;
11108
12060
}
11109
12061
_LT_EOF
11110
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
12062
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11111
12063
  (eval $ac_link) 2>&5
11112
12064
  ac_status=$?
11113
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11114
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
12065
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12066
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11115
12067
    (./conftest; exit; ) >&5 2>/dev/null
11116
12068
    lt_status=$?
11117
12069
    case x$lt_status in
11128
12080
 
11129
12081
 
11130
12082
fi
11131
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
12083
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11132
12084
$as_echo "$lt_cv_dlopen_self" >&6; }
11133
12085
 
11134
12086
    if test "x$lt_cv_dlopen_self" = xyes; then
11135
12087
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11136
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
12088
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11137
12089
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11138
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
12090
if test "${lt_cv_dlopen_self_static+set}" = set; then
11139
12091
  $as_echo_n "(cached) " >&6
11140
12092
else
11141
12093
          if test "$cross_compiling" = yes; then :
11144
12096
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11145
12097
  lt_status=$lt_dlunknown
11146
12098
  cat > conftest.$ac_ext <<_LT_EOF
11147
 
#line 11147 "configure"
 
12099
#line 12099 "configure"
11148
12100
#include "confdefs.h"
11149
12101
 
11150
12102
#if HAVE_DLFCN_H
11203
12155
  return status;
11204
12156
}
11205
12157
_LT_EOF
11206
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
12158
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11207
12159
  (eval $ac_link) 2>&5
11208
12160
  ac_status=$?
11209
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11210
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
12161
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12162
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11211
12163
    (./conftest; exit; ) >&5 2>/dev/null
11212
12164
    lt_status=$?
11213
12165
    case x$lt_status in
11224
12176
 
11225
12177
 
11226
12178
fi
11227
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
12179
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11228
12180
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11229
12181
    fi
11230
12182
 
11263
12215
 
11264
12216
striplib=
11265
12217
old_striplib=
11266
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
12218
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11267
12219
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11268
12220
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11269
12221
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11270
12222
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11271
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12223
  { $as_echo "$as_me:$LINENO: result: yes" >&5
11272
12224
$as_echo "yes" >&6; }
11273
12225
else
11274
12226
# FIXME - insert some real tests, host_os isn't really good enough
11277
12229
    if test -n "$STRIP" ; then
11278
12230
      striplib="$STRIP -x"
11279
12231
      old_striplib="$STRIP -S"
11280
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12232
      { $as_echo "$as_me:$LINENO: result: yes" >&5
11281
12233
$as_echo "yes" >&6; }
11282
12234
    else
11283
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12235
      { $as_echo "$as_me:$LINENO: result: no" >&5
11284
12236
$as_echo "no" >&6; }
11285
12237
    fi
11286
12238
    ;;
11287
12239
  *)
11288
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12240
    { $as_echo "$as_me:$LINENO: result: no" >&5
11289
12241
$as_echo "no" >&6; }
11290
12242
    ;;
11291
12243
  esac
11303
12255
 
11304
12256
 
11305
12257
  # Report which library types will actually be built
11306
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
12258
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11307
12259
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11308
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
12260
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11309
12261
$as_echo "$can_build_shared" >&6; }
11310
12262
 
11311
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
12263
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11312
12264
$as_echo_n "checking whether to build shared libraries... " >&6; }
11313
12265
  test "$can_build_shared" = "no" && enable_shared=no
11314
12266
 
11329
12281
    fi
11330
12282
    ;;
11331
12283
  esac
11332
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
12284
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11333
12285
$as_echo "$enable_shared" >&6; }
11334
12286
 
11335
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
12287
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11336
12288
$as_echo_n "checking whether to build static libraries... " >&6; }
11337
12289
  # Make sure either enable_shared or enable_static is yes.
11338
12290
  test "$enable_shared" = yes || enable_static=yes
11339
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
12291
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11340
12292
$as_echo "$enable_static" >&6; }
11341
12293
 
11342
12294
 
11373
12325
 
11374
12326
# Extract the first word of "glib-mkenums", so it can be a program name with args.
11375
12327
set dummy glib-mkenums; ac_word=$2
11376
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12328
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11377
12329
$as_echo_n "checking for $ac_word... " >&6; }
11378
 
if test "${ac_cv_path_GLIB_MKENUMS+set}" = set; then :
 
12330
if test "${ac_cv_path_GLIB_MKENUMS+set}" = set; then
11379
12331
  $as_echo_n "(cached) " >&6
11380
12332
else
11381
12333
  case $GLIB_MKENUMS in
11388
12340
do
11389
12341
  IFS=$as_save_IFS
11390
12342
  test -z "$as_dir" && as_dir=.
11391
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12343
  for ac_exec_ext in '' $ac_executable_extensions; do
11392
12344
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11393
12345
    ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
11394
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12346
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11395
12347
    break 2
11396
12348
  fi
11397
12349
done
11398
 
  done
 
12350
done
11399
12351
IFS=$as_save_IFS
11400
12352
 
11401
12353
  ;;
11403
12355
fi
11404
12356
GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
11405
12357
if test -n "$GLIB_MKENUMS"; then
11406
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
 
12358
  { $as_echo "$as_me:$LINENO: result: $GLIB_MKENUMS" >&5
11407
12359
$as_echo "$GLIB_MKENUMS" >&6; }
11408
12360
else
11409
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12361
  { $as_echo "$as_me:$LINENO: result: no" >&5
11410
12362
$as_echo "no" >&6; }
11411
12363
fi
11412
12364
 
11413
12365
 
11414
12366
# Extract the first word of "glib-genmarshal", so it can be a program name with args.
11415
12367
set dummy glib-genmarshal; ac_word=$2
11416
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12368
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11417
12369
$as_echo_n "checking for $ac_word... " >&6; }
11418
 
if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then :
 
12370
if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then
11419
12371
  $as_echo_n "(cached) " >&6
11420
12372
else
11421
12373
  case $GLIB_GENMARSHAL in
11428
12380
do
11429
12381
  IFS=$as_save_IFS
11430
12382
  test -z "$as_dir" && as_dir=.
11431
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12383
  for ac_exec_ext in '' $ac_executable_extensions; do
11432
12384
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11433
12385
    ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
11434
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12386
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11435
12387
    break 2
11436
12388
  fi
11437
12389
done
11438
 
  done
 
12390
done
11439
12391
IFS=$as_save_IFS
11440
12392
 
11441
12393
  ;;
11443
12395
fi
11444
12396
GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
11445
12397
if test -n "$GLIB_GENMARSHAL"; then
11446
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
 
12398
  { $as_echo "$as_me:$LINENO: result: $GLIB_GENMARSHAL" >&5
11447
12399
$as_echo "$GLIB_GENMARSHAL" >&6; }
11448
12400
else
11449
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12401
  { $as_echo "$as_me:$LINENO: result: no" >&5
11450
12402
$as_echo "no" >&6; }
11451
12403
fi
11452
12404
 
11453
12405
 
11454
12406
 
11455
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
12407
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
11456
12408
$as_echo_n "checking whether build environment is sane... " >&6; }
11457
12409
# Just in case
11458
12410
sleep 1
11463
12415
'
11464
12416
case `pwd` in
11465
12417
  *[\\\"\#\$\&\'\`$am_lf]*)
11466
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
12418
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
 
12419
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
 
12420
   { (exit 1); exit 1; }; };;
11467
12421
esac
11468
12422
case $srcdir in
11469
12423
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
11470
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
12424
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
 
12425
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
 
12426
   { (exit 1); exit 1; }; };;
11471
12427
esac
11472
12428
 
11473
12429
# Do `set' in a subshell so we don't clobber the current shell's
11489
12445
      # if, for instance, CONFIG_SHELL is bash and it inherits a
11490
12446
      # broken ls alias from the environment.  This has actually
11491
12447
      # happened.  Such a system could not be considered "sane".
11492
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
11493
 
alias in your environment" "$LINENO" 5
 
12448
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
12449
alias in your environment" >&5
 
12450
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
12451
alias in your environment" >&2;}
 
12452
   { (exit 1); exit 1; }; }
11494
12453
   fi
11495
12454
 
11496
12455
   test "$2" = conftest.file
11499
12458
   # Ok.
11500
12459
   :
11501
12460
else
11502
 
   as_fn_error "newly created file is older than distributed files!
11503
 
Check your system clock" "$LINENO" 5
 
12461
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
12462
Check your system clock" >&5
 
12463
$as_echo "$as_me: error: newly created file is older than distributed files!
 
12464
Check your system clock" >&2;}
 
12465
   { (exit 1); exit 1; }; }
11504
12466
fi
11505
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12467
{ $as_echo "$as_me:$LINENO: result: yes" >&5
11506
12468
$as_echo "yes" >&6; }
11507
12469
ac_ext=c
11508
12470
ac_cpp='$CPP $CPPFLAGS'
11512
12474
if test -n "$ac_tool_prefix"; then
11513
12475
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11514
12476
set dummy ${ac_tool_prefix}gcc; ac_word=$2
11515
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12477
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11516
12478
$as_echo_n "checking for $ac_word... " >&6; }
11517
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
12479
if test "${ac_cv_prog_CC+set}" = set; then
11518
12480
  $as_echo_n "(cached) " >&6
11519
12481
else
11520
12482
  if test -n "$CC"; then
11525
12487
do
11526
12488
  IFS=$as_save_IFS
11527
12489
  test -z "$as_dir" && as_dir=.
11528
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12490
  for ac_exec_ext in '' $ac_executable_extensions; do
11529
12491
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11530
12492
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
11531
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12493
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11532
12494
    break 2
11533
12495
  fi
11534
12496
done
11535
 
  done
 
12497
done
11536
12498
IFS=$as_save_IFS
11537
12499
 
11538
12500
fi
11539
12501
fi
11540
12502
CC=$ac_cv_prog_CC
11541
12503
if test -n "$CC"; then
11542
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
12504
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
11543
12505
$as_echo "$CC" >&6; }
11544
12506
else
11545
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12507
  { $as_echo "$as_me:$LINENO: result: no" >&5
11546
12508
$as_echo "no" >&6; }
11547
12509
fi
11548
12510
 
11552
12514
  ac_ct_CC=$CC
11553
12515
  # Extract the first word of "gcc", so it can be a program name with args.
11554
12516
set dummy gcc; ac_word=$2
11555
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12517
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11556
12518
$as_echo_n "checking for $ac_word... " >&6; }
11557
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
12519
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11558
12520
  $as_echo_n "(cached) " >&6
11559
12521
else
11560
12522
  if test -n "$ac_ct_CC"; then
11565
12527
do
11566
12528
  IFS=$as_save_IFS
11567
12529
  test -z "$as_dir" && as_dir=.
11568
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12530
  for ac_exec_ext in '' $ac_executable_extensions; do
11569
12531
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11570
12532
    ac_cv_prog_ac_ct_CC="gcc"
11571
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12533
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11572
12534
    break 2
11573
12535
  fi
11574
12536
done
11575
 
  done
 
12537
done
11576
12538
IFS=$as_save_IFS
11577
12539
 
11578
12540
fi
11579
12541
fi
11580
12542
ac_ct_CC=$ac_cv_prog_ac_ct_CC
11581
12543
if test -n "$ac_ct_CC"; then
11582
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
12544
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11583
12545
$as_echo "$ac_ct_CC" >&6; }
11584
12546
else
11585
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12547
  { $as_echo "$as_me:$LINENO: result: no" >&5
11586
12548
$as_echo "no" >&6; }
11587
12549
fi
11588
12550
 
11591
12553
  else
11592
12554
    case $cross_compiling:$ac_tool_warned in
11593
12555
yes:)
11594
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
12556
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11595
12557
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11596
12558
ac_tool_warned=yes ;;
11597
12559
esac
11605
12567
          if test -n "$ac_tool_prefix"; then
11606
12568
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11607
12569
set dummy ${ac_tool_prefix}cc; ac_word=$2
11608
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12570
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11609
12571
$as_echo_n "checking for $ac_word... " >&6; }
11610
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
12572
if test "${ac_cv_prog_CC+set}" = set; then
11611
12573
  $as_echo_n "(cached) " >&6
11612
12574
else
11613
12575
  if test -n "$CC"; then
11618
12580
do
11619
12581
  IFS=$as_save_IFS
11620
12582
  test -z "$as_dir" && as_dir=.
11621
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12583
  for ac_exec_ext in '' $ac_executable_extensions; do
11622
12584
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11623
12585
    ac_cv_prog_CC="${ac_tool_prefix}cc"
11624
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12586
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11625
12587
    break 2
11626
12588
  fi
11627
12589
done
11628
 
  done
 
12590
done
11629
12591
IFS=$as_save_IFS
11630
12592
 
11631
12593
fi
11632
12594
fi
11633
12595
CC=$ac_cv_prog_CC
11634
12596
if test -n "$CC"; then
11635
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
12597
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
11636
12598
$as_echo "$CC" >&6; }
11637
12599
else
11638
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12600
  { $as_echo "$as_me:$LINENO: result: no" >&5
11639
12601
$as_echo "no" >&6; }
11640
12602
fi
11641
12603
 
11645
12607
if test -z "$CC"; then
11646
12608
  # Extract the first word of "cc", so it can be a program name with args.
11647
12609
set dummy cc; ac_word=$2
11648
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12610
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11649
12611
$as_echo_n "checking for $ac_word... " >&6; }
11650
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
12612
if test "${ac_cv_prog_CC+set}" = set; then
11651
12613
  $as_echo_n "(cached) " >&6
11652
12614
else
11653
12615
  if test -n "$CC"; then
11659
12621
do
11660
12622
  IFS=$as_save_IFS
11661
12623
  test -z "$as_dir" && as_dir=.
11662
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12624
  for ac_exec_ext in '' $ac_executable_extensions; do
11663
12625
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11664
12626
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11665
12627
       ac_prog_rejected=yes
11666
12628
       continue
11667
12629
     fi
11668
12630
    ac_cv_prog_CC="cc"
11669
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12631
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11670
12632
    break 2
11671
12633
  fi
11672
12634
done
11673
 
  done
 
12635
done
11674
12636
IFS=$as_save_IFS
11675
12637
 
11676
12638
if test $ac_prog_rejected = yes; then
11689
12651
fi
11690
12652
CC=$ac_cv_prog_CC
11691
12653
if test -n "$CC"; then
11692
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
12654
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
11693
12655
$as_echo "$CC" >&6; }
11694
12656
else
11695
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12657
  { $as_echo "$as_me:$LINENO: result: no" >&5
11696
12658
$as_echo "no" >&6; }
11697
12659
fi
11698
12660
 
11704
12666
  do
11705
12667
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11706
12668
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11707
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12669
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11708
12670
$as_echo_n "checking for $ac_word... " >&6; }
11709
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
12671
if test "${ac_cv_prog_CC+set}" = set; then
11710
12672
  $as_echo_n "(cached) " >&6
11711
12673
else
11712
12674
  if test -n "$CC"; then
11717
12679
do
11718
12680
  IFS=$as_save_IFS
11719
12681
  test -z "$as_dir" && as_dir=.
11720
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12682
  for ac_exec_ext in '' $ac_executable_extensions; do
11721
12683
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11722
12684
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11723
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12685
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11724
12686
    break 2
11725
12687
  fi
11726
12688
done
11727
 
  done
 
12689
done
11728
12690
IFS=$as_save_IFS
11729
12691
 
11730
12692
fi
11731
12693
fi
11732
12694
CC=$ac_cv_prog_CC
11733
12695
if test -n "$CC"; then
11734
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
12696
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
11735
12697
$as_echo "$CC" >&6; }
11736
12698
else
11737
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12699
  { $as_echo "$as_me:$LINENO: result: no" >&5
11738
12700
$as_echo "no" >&6; }
11739
12701
fi
11740
12702
 
11748
12710
do
11749
12711
  # Extract the first word of "$ac_prog", so it can be a program name with args.
11750
12712
set dummy $ac_prog; ac_word=$2
11751
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12713
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11752
12714
$as_echo_n "checking for $ac_word... " >&6; }
11753
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
12715
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11754
12716
  $as_echo_n "(cached) " >&6
11755
12717
else
11756
12718
  if test -n "$ac_ct_CC"; then
11761
12723
do
11762
12724
  IFS=$as_save_IFS
11763
12725
  test -z "$as_dir" && as_dir=.
11764
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12726
  for ac_exec_ext in '' $ac_executable_extensions; do
11765
12727
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11766
12728
    ac_cv_prog_ac_ct_CC="$ac_prog"
11767
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12729
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11768
12730
    break 2
11769
12731
  fi
11770
12732
done
11771
 
  done
 
12733
done
11772
12734
IFS=$as_save_IFS
11773
12735
 
11774
12736
fi
11775
12737
fi
11776
12738
ac_ct_CC=$ac_cv_prog_ac_ct_CC
11777
12739
if test -n "$ac_ct_CC"; then
11778
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
12740
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11779
12741
$as_echo "$ac_ct_CC" >&6; }
11780
12742
else
11781
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12743
  { $as_echo "$as_me:$LINENO: result: no" >&5
11782
12744
$as_echo "no" >&6; }
11783
12745
fi
11784
12746
 
11791
12753
  else
11792
12754
    case $cross_compiling:$ac_tool_warned in
11793
12755
yes:)
11794
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
12756
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11795
12757
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11796
12758
ac_tool_warned=yes ;;
11797
12759
esac
11802
12764
fi
11803
12765
 
11804
12766
 
11805
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
12767
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11806
12768
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11807
 
as_fn_error "no acceptable C compiler found in \$PATH
11808
 
See \`config.log' for more details." "$LINENO" 5; }
 
12769
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
12770
See \`config.log' for more details." >&5
 
12771
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
 
12772
See \`config.log' for more details." >&2;}
 
12773
   { (exit 1); exit 1; }; }; }
11809
12774
 
11810
12775
# Provide some information about the compiler.
11811
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
12776
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
11812
12777
set X $ac_compile
11813
12778
ac_compiler=$2
11814
 
for ac_option in --version -v -V -qversion; do
11815
 
  { { ac_try="$ac_compiler $ac_option >&5"
11816
 
case "(($ac_try" in
11817
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11818
 
  *) ac_try_echo=$ac_try;;
11819
 
esac
11820
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11821
 
$as_echo "$ac_try_echo"; } >&5
11822
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11823
 
  ac_status=$?
11824
 
  if test -s conftest.err; then
11825
 
    sed '10a\
11826
 
... rest of stderr output deleted ...
11827
 
         10q' conftest.err >conftest.er1
11828
 
    cat conftest.er1 >&5
11829
 
    rm -f conftest.er1 conftest.err
11830
 
  fi
11831
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11832
 
  test $ac_status = 0; }
11833
 
done
 
12779
{ (ac_try="$ac_compiler --version >&5"
 
12780
case "(($ac_try" in
 
12781
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12782
  *) ac_try_echo=$ac_try;;
 
12783
esac
 
12784
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12785
$as_echo "$ac_try_echo") >&5
 
12786
  (eval "$ac_compiler --version >&5") 2>&5
 
12787
  ac_status=$?
 
12788
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12789
  (exit $ac_status); }
 
12790
{ (ac_try="$ac_compiler -v >&5"
 
12791
case "(($ac_try" in
 
12792
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12793
  *) ac_try_echo=$ac_try;;
 
12794
esac
 
12795
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12796
$as_echo "$ac_try_echo") >&5
 
12797
  (eval "$ac_compiler -v >&5") 2>&5
 
12798
  ac_status=$?
 
12799
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12800
  (exit $ac_status); }
 
12801
{ (ac_try="$ac_compiler -V >&5"
 
12802
case "(($ac_try" in
 
12803
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12804
  *) ac_try_echo=$ac_try;;
 
12805
esac
 
12806
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12807
$as_echo "$ac_try_echo") >&5
 
12808
  (eval "$ac_compiler -V >&5") 2>&5
 
12809
  ac_status=$?
 
12810
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12811
  (exit $ac_status); }
11834
12812
 
11835
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
12813
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11836
12814
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11837
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
12815
if test "${ac_cv_c_compiler_gnu+set}" = set; then
11838
12816
  $as_echo_n "(cached) " >&6
11839
12817
else
11840
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12818
  cat >conftest.$ac_ext <<_ACEOF
 
12819
/* confdefs.h.  */
 
12820
_ACEOF
 
12821
cat confdefs.h >>conftest.$ac_ext
 
12822
cat >>conftest.$ac_ext <<_ACEOF
11841
12823
/* end confdefs.h.  */
11842
12824
 
11843
12825
int
11851
12833
  return 0;
11852
12834
}
11853
12835
_ACEOF
11854
 
if ac_fn_c_try_compile "$LINENO"; then :
 
12836
rm -f conftest.$ac_objext
 
12837
if { (ac_try="$ac_compile"
 
12838
case "(($ac_try" in
 
12839
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12840
  *) ac_try_echo=$ac_try;;
 
12841
esac
 
12842
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12843
$as_echo "$ac_try_echo") >&5
 
12844
  (eval "$ac_compile") 2>conftest.er1
 
12845
  ac_status=$?
 
12846
  grep -v '^ *+' conftest.er1 >conftest.err
 
12847
  rm -f conftest.er1
 
12848
  cat conftest.err >&5
 
12849
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12850
  (exit $ac_status); } && {
 
12851
         test -z "$ac_c_werror_flag" ||
 
12852
         test ! -s conftest.err
 
12853
       } && test -s conftest.$ac_objext; then
11855
12854
  ac_compiler_gnu=yes
11856
12855
else
11857
 
  ac_compiler_gnu=no
 
12856
  $as_echo "$as_me: failed program was:" >&5
 
12857
sed 's/^/| /' conftest.$ac_ext >&5
 
12858
 
 
12859
        ac_compiler_gnu=no
11858
12860
fi
 
12861
 
11859
12862
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11860
12863
ac_cv_c_compiler_gnu=$ac_compiler_gnu
11861
12864
 
11862
12865
fi
11863
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
12866
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11864
12867
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
11865
12868
if test $ac_compiler_gnu = yes; then
11866
12869
  GCC=yes
11869
12872
fi
11870
12873
ac_test_CFLAGS=${CFLAGS+set}
11871
12874
ac_save_CFLAGS=$CFLAGS
11872
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
12875
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11873
12876
$as_echo_n "checking whether $CC accepts -g... " >&6; }
11874
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
12877
if test "${ac_cv_prog_cc_g+set}" = set; then
11875
12878
  $as_echo_n "(cached) " >&6
11876
12879
else
11877
12880
  ac_save_c_werror_flag=$ac_c_werror_flag
11878
12881
   ac_c_werror_flag=yes
11879
12882
   ac_cv_prog_cc_g=no
11880
12883
   CFLAGS="-g"
11881
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12884
   cat >conftest.$ac_ext <<_ACEOF
 
12885
/* confdefs.h.  */
 
12886
_ACEOF
 
12887
cat confdefs.h >>conftest.$ac_ext
 
12888
cat >>conftest.$ac_ext <<_ACEOF
11882
12889
/* end confdefs.h.  */
11883
12890
 
11884
12891
int
11889
12896
  return 0;
11890
12897
}
11891
12898
_ACEOF
11892
 
if ac_fn_c_try_compile "$LINENO"; then :
 
12899
rm -f conftest.$ac_objext
 
12900
if { (ac_try="$ac_compile"
 
12901
case "(($ac_try" in
 
12902
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12903
  *) ac_try_echo=$ac_try;;
 
12904
esac
 
12905
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12906
$as_echo "$ac_try_echo") >&5
 
12907
  (eval "$ac_compile") 2>conftest.er1
 
12908
  ac_status=$?
 
12909
  grep -v '^ *+' conftest.er1 >conftest.err
 
12910
  rm -f conftest.er1
 
12911
  cat conftest.err >&5
 
12912
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12913
  (exit $ac_status); } && {
 
12914
         test -z "$ac_c_werror_flag" ||
 
12915
         test ! -s conftest.err
 
12916
       } && test -s conftest.$ac_objext; then
11893
12917
  ac_cv_prog_cc_g=yes
11894
12918
else
11895
 
  CFLAGS=""
11896
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12919
  $as_echo "$as_me: failed program was:" >&5
 
12920
sed 's/^/| /' conftest.$ac_ext >&5
 
12921
 
 
12922
        CFLAGS=""
 
12923
      cat >conftest.$ac_ext <<_ACEOF
 
12924
/* confdefs.h.  */
 
12925
_ACEOF
 
12926
cat confdefs.h >>conftest.$ac_ext
 
12927
cat >>conftest.$ac_ext <<_ACEOF
11897
12928
/* end confdefs.h.  */
11898
12929
 
11899
12930
int
11904
12935
  return 0;
11905
12936
}
11906
12937
_ACEOF
11907
 
if ac_fn_c_try_compile "$LINENO"; then :
 
12938
rm -f conftest.$ac_objext
 
12939
if { (ac_try="$ac_compile"
 
12940
case "(($ac_try" in
 
12941
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12942
  *) ac_try_echo=$ac_try;;
 
12943
esac
 
12944
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12945
$as_echo "$ac_try_echo") >&5
 
12946
  (eval "$ac_compile") 2>conftest.er1
 
12947
  ac_status=$?
 
12948
  grep -v '^ *+' conftest.er1 >conftest.err
 
12949
  rm -f conftest.er1
 
12950
  cat conftest.err >&5
 
12951
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12952
  (exit $ac_status); } && {
 
12953
         test -z "$ac_c_werror_flag" ||
 
12954
         test ! -s conftest.err
 
12955
       } && test -s conftest.$ac_objext; then
 
12956
  :
 
12957
else
 
12958
  $as_echo "$as_me: failed program was:" >&5
 
12959
sed 's/^/| /' conftest.$ac_ext >&5
11908
12960
 
11909
 
else
11910
 
  ac_c_werror_flag=$ac_save_c_werror_flag
 
12961
        ac_c_werror_flag=$ac_save_c_werror_flag
11911
12962
         CFLAGS="-g"
11912
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12963
         cat >conftest.$ac_ext <<_ACEOF
 
12964
/* confdefs.h.  */
 
12965
_ACEOF
 
12966
cat confdefs.h >>conftest.$ac_ext
 
12967
cat >>conftest.$ac_ext <<_ACEOF
11913
12968
/* end confdefs.h.  */
11914
12969
 
11915
12970
int
11920
12975
  return 0;
11921
12976
}
11922
12977
_ACEOF
11923
 
if ac_fn_c_try_compile "$LINENO"; then :
 
12978
rm -f conftest.$ac_objext
 
12979
if { (ac_try="$ac_compile"
 
12980
case "(($ac_try" in
 
12981
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12982
  *) ac_try_echo=$ac_try;;
 
12983
esac
 
12984
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12985
$as_echo "$ac_try_echo") >&5
 
12986
  (eval "$ac_compile") 2>conftest.er1
 
12987
  ac_status=$?
 
12988
  grep -v '^ *+' conftest.er1 >conftest.err
 
12989
  rm -f conftest.er1
 
12990
  cat conftest.err >&5
 
12991
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12992
  (exit $ac_status); } && {
 
12993
         test -z "$ac_c_werror_flag" ||
 
12994
         test ! -s conftest.err
 
12995
       } && test -s conftest.$ac_objext; then
11924
12996
  ac_cv_prog_cc_g=yes
11925
 
fi
11926
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11927
 
fi
11928
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11929
 
fi
 
12997
else
 
12998
  $as_echo "$as_me: failed program was:" >&5
 
12999
sed 's/^/| /' conftest.$ac_ext >&5
 
13000
 
 
13001
 
 
13002
fi
 
13003
 
 
13004
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13005
fi
 
13006
 
 
13007
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13008
fi
 
13009
 
11930
13010
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11931
13011
   ac_c_werror_flag=$ac_save_c_werror_flag
11932
13012
fi
11933
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
13013
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11934
13014
$as_echo "$ac_cv_prog_cc_g" >&6; }
11935
13015
if test "$ac_test_CFLAGS" = set; then
11936
13016
  CFLAGS=$ac_save_CFLAGS
11947
13027
    CFLAGS=
11948
13028
  fi
11949
13029
fi
11950
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
13030
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
11951
13031
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11952
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
13032
if test "${ac_cv_prog_cc_c89+set}" = set; then
11953
13033
  $as_echo_n "(cached) " >&6
11954
13034
else
11955
13035
  ac_cv_prog_cc_c89=no
11956
13036
ac_save_CC=$CC
11957
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13037
cat >conftest.$ac_ext <<_ACEOF
 
13038
/* confdefs.h.  */
 
13039
_ACEOF
 
13040
cat confdefs.h >>conftest.$ac_ext
 
13041
cat >>conftest.$ac_ext <<_ACEOF
11958
13042
/* end confdefs.h.  */
11959
13043
#include <stdarg.h>
11960
13044
#include <stdio.h>
12011
13095
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12012
13096
do
12013
13097
  CC="$ac_save_CC $ac_arg"
12014
 
  if ac_fn_c_try_compile "$LINENO"; then :
 
13098
  rm -f conftest.$ac_objext
 
13099
if { (ac_try="$ac_compile"
 
13100
case "(($ac_try" in
 
13101
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13102
  *) ac_try_echo=$ac_try;;
 
13103
esac
 
13104
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13105
$as_echo "$ac_try_echo") >&5
 
13106
  (eval "$ac_compile") 2>conftest.er1
 
13107
  ac_status=$?
 
13108
  grep -v '^ *+' conftest.er1 >conftest.err
 
13109
  rm -f conftest.er1
 
13110
  cat conftest.err >&5
 
13111
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13112
  (exit $ac_status); } && {
 
13113
         test -z "$ac_c_werror_flag" ||
 
13114
         test ! -s conftest.err
 
13115
       } && test -s conftest.$ac_objext; then
12015
13116
  ac_cv_prog_cc_c89=$ac_arg
 
13117
else
 
13118
  $as_echo "$as_me: failed program was:" >&5
 
13119
sed 's/^/| /' conftest.$ac_ext >&5
 
13120
 
 
13121
 
12016
13122
fi
 
13123
 
12017
13124
rm -f core conftest.err conftest.$ac_objext
12018
13125
  test "x$ac_cv_prog_cc_c89" != "xno" && break
12019
13126
done
12024
13131
# AC_CACHE_VAL
12025
13132
case "x$ac_cv_prog_cc_c89" in
12026
13133
  x)
12027
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
13134
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
12028
13135
$as_echo "none needed" >&6; } ;;
12029
13136
  xno)
12030
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
13137
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
12031
13138
$as_echo "unsupported" >&6; } ;;
12032
13139
  *)
12033
13140
    CC="$CC $ac_cv_prog_cc_c89"
12034
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
13141
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
12035
13142
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12036
13143
esac
12037
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
12038
13144
 
12039
 
fi
12040
13145
 
12041
13146
ac_ext=c
12042
13147
ac_cpp='$CPP $CPPFLAGS'
12046
13151
 
12047
13152
depcc="$CC"   am_compiler_list=
12048
13153
 
12049
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
13154
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
12050
13155
$as_echo_n "checking dependency style of $depcc... " >&6; }
12051
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
13156
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
12052
13157
  $as_echo_n "(cached) " >&6
12053
13158
else
12054
13159
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12156
13261
fi
12157
13262
 
12158
13263
fi
12159
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
13264
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
12160
13265
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12161
13266
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12162
13267
 
12188
13293
        if test -n "$ac_tool_prefix"; then
12189
13294
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12190
13295
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12191
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13296
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12192
13297
$as_echo_n "checking for $ac_word... " >&6; }
12193
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
13298
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12194
13299
  $as_echo_n "(cached) " >&6
12195
13300
else
12196
13301
  case $PKG_CONFIG in
12203
13308
do
12204
13309
  IFS=$as_save_IFS
12205
13310
  test -z "$as_dir" && as_dir=.
12206
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13311
  for ac_exec_ext in '' $ac_executable_extensions; do
12207
13312
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12208
13313
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12209
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13314
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12210
13315
    break 2
12211
13316
  fi
12212
13317
done
12213
 
  done
 
13318
done
12214
13319
IFS=$as_save_IFS
12215
13320
 
12216
13321
  ;;
12218
13323
fi
12219
13324
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12220
13325
if test -n "$PKG_CONFIG"; then
12221
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
13326
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12222
13327
$as_echo "$PKG_CONFIG" >&6; }
12223
13328
else
12224
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13329
  { $as_echo "$as_me:$LINENO: result: no" >&5
12225
13330
$as_echo "no" >&6; }
12226
13331
fi
12227
13332
 
12231
13336
  ac_pt_PKG_CONFIG=$PKG_CONFIG
12232
13337
  # Extract the first word of "pkg-config", so it can be a program name with args.
12233
13338
set dummy pkg-config; ac_word=$2
12234
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13339
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12235
13340
$as_echo_n "checking for $ac_word... " >&6; }
12236
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
13341
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
12237
13342
  $as_echo_n "(cached) " >&6
12238
13343
else
12239
13344
  case $ac_pt_PKG_CONFIG in
12246
13351
do
12247
13352
  IFS=$as_save_IFS
12248
13353
  test -z "$as_dir" && as_dir=.
12249
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13354
  for ac_exec_ext in '' $ac_executable_extensions; do
12250
13355
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12251
13356
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12252
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13357
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12253
13358
    break 2
12254
13359
  fi
12255
13360
done
12256
 
  done
 
13361
done
12257
13362
IFS=$as_save_IFS
12258
13363
 
12259
13364
  ;;
12261
13366
fi
12262
13367
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12263
13368
if test -n "$ac_pt_PKG_CONFIG"; then
12264
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
13369
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
12265
13370
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12266
13371
else
12267
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13372
  { $as_echo "$as_me:$LINENO: result: no" >&5
12268
13373
$as_echo "no" >&6; }
12269
13374
fi
12270
13375
 
12273
13378
  else
12274
13379
    case $cross_compiling:$ac_tool_warned in
12275
13380
yes:)
12276
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
13381
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12277
13382
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12278
13383
ac_tool_warned=yes ;;
12279
13384
esac
12286
13391
fi
12287
13392
if test -n "$PKG_CONFIG"; then
12288
13393
        _pkg_min_version=0.9.0
12289
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
13394
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
12290
13395
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12291
13396
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12292
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13397
                { $as_echo "$as_me:$LINENO: result: yes" >&5
12293
13398
$as_echo "yes" >&6; }
12294
13399
        else
12295
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13400
                { $as_echo "$as_me:$LINENO: result: no" >&5
12296
13401
$as_echo "no" >&6; }
12297
13402
                PKG_CONFIG=""
12298
13403
        fi
12300
13405
fi
12301
13406
 
12302
13407
pkg_failed=no
12303
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIQUE" >&5
 
13408
{ $as_echo "$as_me:$LINENO: checking for UNIQUE" >&5
12304
13409
$as_echo_n "checking for UNIQUE... " >&6; }
12305
13410
 
12306
 
if test -n "$PKG_CONFIG"; then
12307
 
    if test -n "$UNIQUE_CFLAGS"; then
12308
 
        pkg_cv_UNIQUE_CFLAGS="$UNIQUE_CFLAGS"
12309
 
    else
12310
 
        if test -n "$PKG_CONFIG" && \
12311
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.12.0                           gtk+-2.0 >= 2.11.0\""; } >&5
 
13411
if test -n "$UNIQUE_CFLAGS"; then
 
13412
    pkg_cv_UNIQUE_CFLAGS="$UNIQUE_CFLAGS"
 
13413
 elif test -n "$PKG_CONFIG"; then
 
13414
    if test -n "$PKG_CONFIG" && \
 
13415
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.12.0                           gtk+-2.0 >= 2.11.0\"") >&5
12312
13416
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.12.0                           gtk+-2.0 >= 2.11.0") 2>&5
12313
13417
  ac_status=$?
12314
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12315
 
  test $ac_status = 0; }; then
 
13418
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13419
  (exit $ac_status); }; then
12316
13420
  pkg_cv_UNIQUE_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.12.0                           gtk+-2.0 >= 2.11.0" 2>/dev/null`
12317
13421
else
12318
13422
  pkg_failed=yes
12319
13423
fi
12320
 
    fi
12321
 
else
12322
 
        pkg_failed=untried
 
13424
 else
 
13425
    pkg_failed=untried
12323
13426
fi
12324
 
if test -n "$PKG_CONFIG"; then
12325
 
    if test -n "$UNIQUE_LIBS"; then
12326
 
        pkg_cv_UNIQUE_LIBS="$UNIQUE_LIBS"
12327
 
    else
12328
 
        if test -n "$PKG_CONFIG" && \
12329
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.12.0                           gtk+-2.0 >= 2.11.0\""; } >&5
 
13427
if test -n "$UNIQUE_LIBS"; then
 
13428
    pkg_cv_UNIQUE_LIBS="$UNIQUE_LIBS"
 
13429
 elif test -n "$PKG_CONFIG"; then
 
13430
    if test -n "$PKG_CONFIG" && \
 
13431
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.12.0                           gtk+-2.0 >= 2.11.0\"") >&5
12330
13432
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.12.0                           gtk+-2.0 >= 2.11.0") 2>&5
12331
13433
  ac_status=$?
12332
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12333
 
  test $ac_status = 0; }; then
 
13434
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13435
  (exit $ac_status); }; then
12334
13436
  pkg_cv_UNIQUE_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.12.0                           gtk+-2.0 >= 2.11.0" 2>/dev/null`
12335
13437
else
12336
13438
  pkg_failed=yes
12337
13439
fi
12338
 
    fi
12339
 
else
12340
 
        pkg_failed=untried
 
13440
 else
 
13441
    pkg_failed=untried
12341
13442
fi
12342
13443
 
12343
13444
 
12350
13451
        _pkg_short_errors_supported=no
12351
13452
fi
12352
13453
        if test $_pkg_short_errors_supported = yes; then
12353
 
                UNIQUE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.12.0                           gtk+-2.0 >= 2.11.0"`
 
13454
                UNIQUE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.12.0                           gtk+-2.0 >= 2.11.0" 2>&1`
12354
13455
        else
12355
 
                UNIQUE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.12.0                           gtk+-2.0 >= 2.11.0"`
 
13456
                UNIQUE_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.12.0                           gtk+-2.0 >= 2.11.0" 2>&1`
12356
13457
        fi
12357
13458
        # Put the nasty error message in config.log where it belongs
12358
13459
        echo "$UNIQUE_PKG_ERRORS" >&5
12359
13460
 
12360
 
        as_fn_error "Package requirements (glib-2.0 >= 2.12.0                           gtk+-2.0 >= 2.11.0) were not met:
12361
 
 
12362
 
$UNIQUE_PKG_ERRORS
12363
 
 
12364
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12365
 
installed software in a non-standard prefix.
12366
 
 
12367
 
Alternatively, you may set the environment variables UNIQUE_CFLAGS
12368
 
and UNIQUE_LIBS to avoid the need to call pkg-config.
12369
 
See the pkg-config man page for more details.
12370
 
" "$LINENO" 5
 
13461
        { { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.12.0                           gtk+-2.0 >= 2.11.0) were not met:
 
13462
 
 
13463
$UNIQUE_PKG_ERRORS
 
13464
 
 
13465
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13466
installed software in a non-standard prefix.
 
13467
 
 
13468
Alternatively, you may set the environment variables UNIQUE_CFLAGS
 
13469
and UNIQUE_LIBS to avoid the need to call pkg-config.
 
13470
See the pkg-config man page for more details.
 
13471
" >&5
 
13472
$as_echo "$as_me: error: Package requirements (glib-2.0 >= 2.12.0                           gtk+-2.0 >= 2.11.0) were not met:
 
13473
 
 
13474
$UNIQUE_PKG_ERRORS
 
13475
 
 
13476
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13477
installed software in a non-standard prefix.
 
13478
 
 
13479
Alternatively, you may set the environment variables UNIQUE_CFLAGS
 
13480
and UNIQUE_LIBS to avoid the need to call pkg-config.
 
13481
See the pkg-config man page for more details.
 
13482
" >&2;}
 
13483
   { (exit 1); exit 1; }; }
12371
13484
elif test $pkg_failed = untried; then
12372
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
13485
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12373
13486
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12374
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
12375
 
is in your PATH or set the PKG_CONFIG environment variable to the full
12376
 
path to pkg-config.
12377
 
 
12378
 
Alternatively, you may set the environment variables UNIQUE_CFLAGS
12379
 
and UNIQUE_LIBS to avoid the need to call pkg-config.
12380
 
See the pkg-config man page for more details.
12381
 
 
12382
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12383
 
See \`config.log' for more details." "$LINENO" 5; }
 
13487
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
13488
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13489
path to pkg-config.
 
13490
 
 
13491
Alternatively, you may set the environment variables UNIQUE_CFLAGS
 
13492
and UNIQUE_LIBS to avoid the need to call pkg-config.
 
13493
See the pkg-config man page for more details.
 
13494
 
 
13495
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13496
See \`config.log' for more details." >&5
 
13497
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
13498
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13499
path to pkg-config.
 
13500
 
 
13501
Alternatively, you may set the environment variables UNIQUE_CFLAGS
 
13502
and UNIQUE_LIBS to avoid the need to call pkg-config.
 
13503
See the pkg-config man page for more details.
 
13504
 
 
13505
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13506
See \`config.log' for more details." >&2;}
 
13507
   { (exit 1); exit 1; }; }; }
12384
13508
else
12385
13509
        UNIQUE_CFLAGS=$pkg_cv_UNIQUE_CFLAGS
12386
13510
        UNIQUE_LIBS=$pkg_cv_UNIQUE_LIBS
12387
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13511
        { $as_echo "$as_me:$LINENO: result: yes" >&5
12388
13512
$as_echo "yes" >&6; }
12389
13513
        :
12390
13514
fi
12391
13515
 
12392
13516
gdktarget=`$PKG_CONFIG --variable=target gdk-2.0`
12393
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
 
13517
{ $as_echo "$as_me:$LINENO: checking for X" >&5
12394
13518
$as_echo_n "checking for X... " >&6; }
12395
13519
 
12396
13520
 
12397
13521
# Check whether --with-x was given.
12398
 
if test "${with_x+set}" = set; then :
 
13522
if test "${with_x+set}" = set; then
12399
13523
  withval=$with_x;
12400
13524
fi
12401
13525
 
12405
13529
  have_x=disabled
12406
13530
else
12407
13531
  case $x_includes,$x_libraries in #(
12408
 
    *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
12409
 
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
 
13532
    *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
 
13533
$as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
 
13534
   { (exit 1); exit 1; }; };; #(
 
13535
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
12410
13536
  $as_echo_n "(cached) " >&6
12411
13537
else
12412
13538
  # One or both of the vars are not set, and there is no cached value.
12454
13580
# Check X11 before X11Rn because it is often a symlink to the current release.
12455
13581
ac_x_header_dirs='
12456
13582
/usr/X11/include
12457
 
/usr/X11R7/include
12458
13583
/usr/X11R6/include
12459
13584
/usr/X11R5/include
12460
13585
/usr/X11R4/include
12461
13586
 
12462
13587
/usr/include/X11
12463
 
/usr/include/X11R7
12464
13588
/usr/include/X11R6
12465
13589
/usr/include/X11R5
12466
13590
/usr/include/X11R4
12467
13591
 
12468
13592
/usr/local/X11/include
12469
 
/usr/local/X11R7/include
12470
13593
/usr/local/X11R6/include
12471
13594
/usr/local/X11R5/include
12472
13595
/usr/local/X11R4/include
12473
13596
 
12474
13597
/usr/local/include/X11
12475
 
/usr/local/include/X11R7
12476
13598
/usr/local/include/X11R6
12477
13599
/usr/local/include/X11R5
12478
13600
/usr/local/include/X11R4
12494
13616
if test "$ac_x_includes" = no; then
12495
13617
  # Guess where to find include files, by looking for Xlib.h.
12496
13618
  # First, try using that file with no special directory specified.
12497
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13619
  cat >conftest.$ac_ext <<_ACEOF
 
13620
/* confdefs.h.  */
 
13621
_ACEOF
 
13622
cat confdefs.h >>conftest.$ac_ext
 
13623
cat >>conftest.$ac_ext <<_ACEOF
12498
13624
/* end confdefs.h.  */
12499
13625
#include <X11/Xlib.h>
12500
13626
_ACEOF
12501
 
if ac_fn_c_try_cpp "$LINENO"; then :
 
13627
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
13628
case "(($ac_try" in
 
13629
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13630
  *) ac_try_echo=$ac_try;;
 
13631
esac
 
13632
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13633
$as_echo "$ac_try_echo") >&5
 
13634
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
13635
  ac_status=$?
 
13636
  grep -v '^ *+' conftest.er1 >conftest.err
 
13637
  rm -f conftest.er1
 
13638
  cat conftest.err >&5
 
13639
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13640
  (exit $ac_status); } >/dev/null && {
 
13641
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
13642
         test ! -s conftest.err
 
13643
       }; then
12502
13644
  # We can compile using X headers with no special include directory.
12503
13645
ac_x_includes=
12504
13646
else
 
13647
  $as_echo "$as_me: failed program was:" >&5
 
13648
sed 's/^/| /' conftest.$ac_ext >&5
 
13649
 
12505
13650
  for ac_dir in $ac_x_header_dirs; do
12506
13651
  if test -r "$ac_dir/X11/Xlib.h"; then
12507
13652
    ac_x_includes=$ac_dir
12509
13654
  fi
12510
13655
done
12511
13656
fi
 
13657
 
12512
13658
rm -f conftest.err conftest.$ac_ext
12513
13659
fi # $ac_x_includes = no
12514
13660
 
12518
13664
  # Don't add to $LIBS permanently.
12519
13665
  ac_save_LIBS=$LIBS
12520
13666
  LIBS="-lX11 $LIBS"
12521
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13667
  cat >conftest.$ac_ext <<_ACEOF
 
13668
/* confdefs.h.  */
 
13669
_ACEOF
 
13670
cat confdefs.h >>conftest.$ac_ext
 
13671
cat >>conftest.$ac_ext <<_ACEOF
12522
13672
/* end confdefs.h.  */
12523
13673
#include <X11/Xlib.h>
12524
13674
int
12529
13679
  return 0;
12530
13680
}
12531
13681
_ACEOF
12532
 
if ac_fn_c_try_link "$LINENO"; then :
 
13682
rm -f conftest.$ac_objext conftest$ac_exeext
 
13683
if { (ac_try="$ac_link"
 
13684
case "(($ac_try" in
 
13685
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13686
  *) ac_try_echo=$ac_try;;
 
13687
esac
 
13688
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13689
$as_echo "$ac_try_echo") >&5
 
13690
  (eval "$ac_link") 2>conftest.er1
 
13691
  ac_status=$?
 
13692
  grep -v '^ *+' conftest.er1 >conftest.err
 
13693
  rm -f conftest.er1
 
13694
  cat conftest.err >&5
 
13695
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13696
  (exit $ac_status); } && {
 
13697
         test -z "$ac_c_werror_flag" ||
 
13698
         test ! -s conftest.err
 
13699
       } && test -s conftest$ac_exeext && {
 
13700
         test "$cross_compiling" = yes ||
 
13701
         $as_test_x conftest$ac_exeext
 
13702
       }; then
12533
13703
  LIBS=$ac_save_LIBS
12534
13704
# We can link X programs with no special library path.
12535
13705
ac_x_libraries=
12536
13706
else
12537
 
  LIBS=$ac_save_LIBS
 
13707
  $as_echo "$as_me: failed program was:" >&5
 
13708
sed 's/^/| /' conftest.$ac_ext >&5
 
13709
 
 
13710
        LIBS=$ac_save_LIBS
12538
13711
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
12539
13712
do
12540
13713
  # Don't even attempt the hair of trying to link an X program!
12546
13719
  done
12547
13720
done
12548
13721
fi
12549
 
rm -f core conftest.err conftest.$ac_objext \
12550
 
    conftest$ac_exeext conftest.$ac_ext
 
13722
 
 
13723
rm -rf conftest.dSYM
 
13724
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
13725
      conftest$ac_exeext conftest.$ac_ext
12551
13726
fi # $ac_x_libraries = no
12552
13727
 
12553
13728
case $ac_x_includes,$ac_x_libraries in #(
12568
13743
fi # $with_x != no
12569
13744
 
12570
13745
if test "$have_x" != yes; then
12571
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
 
13746
  { $as_echo "$as_me:$LINENO: result: $have_x" >&5
12572
13747
$as_echo "$have_x" >&6; }
12573
13748
  no_x=yes
12574
13749
else
12579
13754
  ac_cv_have_x="have_x=yes\
12580
13755
        ac_x_includes='$x_includes'\
12581
13756
        ac_x_libraries='$x_libraries'"
12582
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
 
13757
  { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
12583
13758
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
12584
13759
fi
12585
13760
 
12586
 
if test "X$gdktarget" = "Xx11"; then :
 
13761
if test "X$gdktarget" = "Xx11"; then
12587
13762
 
12588
13763
        if test "$no_x" = yes; then
12589
13764
  # Not all programs may use this symbol, but it does not hurt to define it.
12590
13765
 
12591
 
$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
 
13766
cat >>confdefs.h <<\_ACEOF
 
13767
#define X_DISPLAY_MISSING 1
 
13768
_ACEOF
12592
13769
 
12593
13770
  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
12594
13771
else
12601
13778
    X_LIBS="$X_LIBS -L$x_libraries"
12602
13779
    # For Solaris; some versions of Sun CC require a space after -R and
12603
13780
    # others require no space.  Words are not sufficient . . . .
12604
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
 
13781
    { $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
12605
13782
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
12606
13783
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
12607
13784
    ac_xsave_c_werror_flag=$ac_c_werror_flag
12608
13785
    ac_c_werror_flag=yes
12609
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13786
    cat >conftest.$ac_ext <<_ACEOF
 
13787
/* confdefs.h.  */
 
13788
_ACEOF
 
13789
cat confdefs.h >>conftest.$ac_ext
 
13790
cat >>conftest.$ac_ext <<_ACEOF
12610
13791
/* end confdefs.h.  */
12611
13792
 
12612
13793
int
12617
13798
  return 0;
12618
13799
}
12619
13800
_ACEOF
12620
 
if ac_fn_c_try_link "$LINENO"; then :
12621
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13801
rm -f conftest.$ac_objext conftest$ac_exeext
 
13802
if { (ac_try="$ac_link"
 
13803
case "(($ac_try" in
 
13804
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13805
  *) ac_try_echo=$ac_try;;
 
13806
esac
 
13807
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13808
$as_echo "$ac_try_echo") >&5
 
13809
  (eval "$ac_link") 2>conftest.er1
 
13810
  ac_status=$?
 
13811
  grep -v '^ *+' conftest.er1 >conftest.err
 
13812
  rm -f conftest.er1
 
13813
  cat conftest.err >&5
 
13814
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13815
  (exit $ac_status); } && {
 
13816
         test -z "$ac_c_werror_flag" ||
 
13817
         test ! -s conftest.err
 
13818
       } && test -s conftest$ac_exeext && {
 
13819
         test "$cross_compiling" = yes ||
 
13820
         $as_test_x conftest$ac_exeext
 
13821
       }; then
 
13822
  { $as_echo "$as_me:$LINENO: result: no" >&5
12622
13823
$as_echo "no" >&6; }
12623
13824
       X_LIBS="$X_LIBS -R$x_libraries"
12624
13825
else
12625
 
  LIBS="$ac_xsave_LIBS -R $x_libraries"
12626
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13826
  $as_echo "$as_me: failed program was:" >&5
 
13827
sed 's/^/| /' conftest.$ac_ext >&5
 
13828
 
 
13829
        LIBS="$ac_xsave_LIBS -R $x_libraries"
 
13830
       cat >conftest.$ac_ext <<_ACEOF
 
13831
/* confdefs.h.  */
 
13832
_ACEOF
 
13833
cat confdefs.h >>conftest.$ac_ext
 
13834
cat >>conftest.$ac_ext <<_ACEOF
12627
13835
/* end confdefs.h.  */
12628
13836
 
12629
13837
int
12634
13842
  return 0;
12635
13843
}
12636
13844
_ACEOF
12637
 
if ac_fn_c_try_link "$LINENO"; then :
12638
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13845
rm -f conftest.$ac_objext conftest$ac_exeext
 
13846
if { (ac_try="$ac_link"
 
13847
case "(($ac_try" in
 
13848
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13849
  *) ac_try_echo=$ac_try;;
 
13850
esac
 
13851
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13852
$as_echo "$ac_try_echo") >&5
 
13853
  (eval "$ac_link") 2>conftest.er1
 
13854
  ac_status=$?
 
13855
  grep -v '^ *+' conftest.er1 >conftest.err
 
13856
  rm -f conftest.er1
 
13857
  cat conftest.err >&5
 
13858
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13859
  (exit $ac_status); } && {
 
13860
         test -z "$ac_c_werror_flag" ||
 
13861
         test ! -s conftest.err
 
13862
       } && test -s conftest$ac_exeext && {
 
13863
         test "$cross_compiling" = yes ||
 
13864
         $as_test_x conftest$ac_exeext
 
13865
       }; then
 
13866
  { $as_echo "$as_me:$LINENO: result: yes" >&5
12639
13867
$as_echo "yes" >&6; }
12640
13868
          X_LIBS="$X_LIBS -R $x_libraries"
12641
13869
else
12642
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
 
13870
  $as_echo "$as_me: failed program was:" >&5
 
13871
sed 's/^/| /' conftest.$ac_ext >&5
 
13872
 
 
13873
        { $as_echo "$as_me:$LINENO: result: neither works" >&5
12643
13874
$as_echo "neither works" >&6; }
12644
13875
fi
12645
 
rm -f core conftest.err conftest.$ac_objext \
12646
 
    conftest$ac_exeext conftest.$ac_ext
 
13876
 
 
13877
rm -rf conftest.dSYM
 
13878
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
13879
      conftest$ac_exeext conftest.$ac_ext
12647
13880
fi
12648
 
rm -f core conftest.err conftest.$ac_objext \
12649
 
    conftest$ac_exeext conftest.$ac_ext
 
13881
 
 
13882
rm -rf conftest.dSYM
 
13883
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
13884
      conftest$ac_exeext conftest.$ac_ext
12650
13885
    ac_c_werror_flag=$ac_xsave_c_werror_flag
12651
13886
    LIBS=$ac_xsave_LIBS
12652
13887
  fi
12662
13897
    # libraries were built with DECnet support.  And Karl Berry says
12663
13898
    # the Alpha needs dnet_stub (dnet does not exist).
12664
13899
    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
12665
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13900
    cat >conftest.$ac_ext <<_ACEOF
 
13901
/* confdefs.h.  */
 
13902
_ACEOF
 
13903
cat confdefs.h >>conftest.$ac_ext
 
13904
cat >>conftest.$ac_ext <<_ACEOF
12666
13905
/* end confdefs.h.  */
12667
13906
 
12668
13907
/* Override any GCC internal prototype to avoid an error.
12680
13919
  return 0;
12681
13920
}
12682
13921
_ACEOF
12683
 
if ac_fn_c_try_link "$LINENO"; then :
 
13922
rm -f conftest.$ac_objext conftest$ac_exeext
 
13923
if { (ac_try="$ac_link"
 
13924
case "(($ac_try" in
 
13925
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13926
  *) ac_try_echo=$ac_try;;
 
13927
esac
 
13928
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13929
$as_echo "$ac_try_echo") >&5
 
13930
  (eval "$ac_link") 2>conftest.er1
 
13931
  ac_status=$?
 
13932
  grep -v '^ *+' conftest.er1 >conftest.err
 
13933
  rm -f conftest.er1
 
13934
  cat conftest.err >&5
 
13935
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13936
  (exit $ac_status); } && {
 
13937
         test -z "$ac_c_werror_flag" ||
 
13938
         test ! -s conftest.err
 
13939
       } && test -s conftest$ac_exeext && {
 
13940
         test "$cross_compiling" = yes ||
 
13941
         $as_test_x conftest$ac_exeext
 
13942
       }; then
 
13943
  :
 
13944
else
 
13945
  $as_echo "$as_me: failed program was:" >&5
 
13946
sed 's/^/| /' conftest.$ac_ext >&5
12684
13947
 
12685
 
else
12686
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
 
13948
        { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
12687
13949
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
12688
 
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
 
13950
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
12689
13951
  $as_echo_n "(cached) " >&6
12690
13952
else
12691
13953
  ac_check_lib_save_LIBS=$LIBS
12692
13954
LIBS="-ldnet  $LIBS"
12693
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13955
cat >conftest.$ac_ext <<_ACEOF
 
13956
/* confdefs.h.  */
 
13957
_ACEOF
 
13958
cat confdefs.h >>conftest.$ac_ext
 
13959
cat >>conftest.$ac_ext <<_ACEOF
12694
13960
/* end confdefs.h.  */
12695
13961
 
12696
13962
/* Override any GCC internal prototype to avoid an error.
12708
13974
  return 0;
12709
13975
}
12710
13976
_ACEOF
12711
 
if ac_fn_c_try_link "$LINENO"; then :
 
13977
rm -f conftest.$ac_objext conftest$ac_exeext
 
13978
if { (ac_try="$ac_link"
 
13979
case "(($ac_try" in
 
13980
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13981
  *) ac_try_echo=$ac_try;;
 
13982
esac
 
13983
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13984
$as_echo "$ac_try_echo") >&5
 
13985
  (eval "$ac_link") 2>conftest.er1
 
13986
  ac_status=$?
 
13987
  grep -v '^ *+' conftest.er1 >conftest.err
 
13988
  rm -f conftest.er1
 
13989
  cat conftest.err >&5
 
13990
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13991
  (exit $ac_status); } && {
 
13992
         test -z "$ac_c_werror_flag" ||
 
13993
         test ! -s conftest.err
 
13994
       } && test -s conftest$ac_exeext && {
 
13995
         test "$cross_compiling" = yes ||
 
13996
         $as_test_x conftest$ac_exeext
 
13997
       }; then
12712
13998
  ac_cv_lib_dnet_dnet_ntoa=yes
12713
13999
else
12714
 
  ac_cv_lib_dnet_dnet_ntoa=no
 
14000
  $as_echo "$as_me: failed program was:" >&5
 
14001
sed 's/^/| /' conftest.$ac_ext >&5
 
14002
 
 
14003
        ac_cv_lib_dnet_dnet_ntoa=no
12715
14004
fi
12716
 
rm -f core conftest.err conftest.$ac_objext \
12717
 
    conftest$ac_exeext conftest.$ac_ext
 
14005
 
 
14006
rm -rf conftest.dSYM
 
14007
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14008
      conftest$ac_exeext conftest.$ac_ext
12718
14009
LIBS=$ac_check_lib_save_LIBS
12719
14010
fi
12720
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 
14011
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
12721
14012
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
12722
 
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
 
14013
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then
12723
14014
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
12724
14015
fi
12725
14016
 
12726
14017
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
12727
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
 
14018
      { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
12728
14019
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
12729
 
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
 
14020
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
12730
14021
  $as_echo_n "(cached) " >&6
12731
14022
else
12732
14023
  ac_check_lib_save_LIBS=$LIBS
12733
14024
LIBS="-ldnet_stub  $LIBS"
12734
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14025
cat >conftest.$ac_ext <<_ACEOF
 
14026
/* confdefs.h.  */
 
14027
_ACEOF
 
14028
cat confdefs.h >>conftest.$ac_ext
 
14029
cat >>conftest.$ac_ext <<_ACEOF
12735
14030
/* end confdefs.h.  */
12736
14031
 
12737
14032
/* Override any GCC internal prototype to avoid an error.
12749
14044
  return 0;
12750
14045
}
12751
14046
_ACEOF
12752
 
if ac_fn_c_try_link "$LINENO"; then :
 
14047
rm -f conftest.$ac_objext conftest$ac_exeext
 
14048
if { (ac_try="$ac_link"
 
14049
case "(($ac_try" in
 
14050
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14051
  *) ac_try_echo=$ac_try;;
 
14052
esac
 
14053
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14054
$as_echo "$ac_try_echo") >&5
 
14055
  (eval "$ac_link") 2>conftest.er1
 
14056
  ac_status=$?
 
14057
  grep -v '^ *+' conftest.er1 >conftest.err
 
14058
  rm -f conftest.er1
 
14059
  cat conftest.err >&5
 
14060
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14061
  (exit $ac_status); } && {
 
14062
         test -z "$ac_c_werror_flag" ||
 
14063
         test ! -s conftest.err
 
14064
       } && test -s conftest$ac_exeext && {
 
14065
         test "$cross_compiling" = yes ||
 
14066
         $as_test_x conftest$ac_exeext
 
14067
       }; then
12753
14068
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
12754
14069
else
12755
 
  ac_cv_lib_dnet_stub_dnet_ntoa=no
 
14070
  $as_echo "$as_me: failed program was:" >&5
 
14071
sed 's/^/| /' conftest.$ac_ext >&5
 
14072
 
 
14073
        ac_cv_lib_dnet_stub_dnet_ntoa=no
12756
14074
fi
12757
 
rm -f core conftest.err conftest.$ac_objext \
12758
 
    conftest$ac_exeext conftest.$ac_ext
 
14075
 
 
14076
rm -rf conftest.dSYM
 
14077
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14078
      conftest$ac_exeext conftest.$ac_ext
12759
14079
LIBS=$ac_check_lib_save_LIBS
12760
14080
fi
12761
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 
14081
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
12762
14082
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
12763
 
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
 
14083
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then
12764
14084
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
12765
14085
fi
12766
14086
 
12767
14087
    fi
12768
14088
fi
12769
 
rm -f core conftest.err conftest.$ac_objext \
12770
 
    conftest$ac_exeext conftest.$ac_ext
 
14089
 
 
14090
rm -rf conftest.dSYM
 
14091
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14092
      conftest$ac_exeext conftest.$ac_ext
12771
14093
    LIBS="$ac_xsave_LIBS"
12772
14094
 
12773
14095
    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
12778
14100
    # on Irix 5.2, according to T.E. Dickey.
12779
14101
    # The functions gethostbyname, getservbyname, and inet_addr are
12780
14102
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
12781
 
    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
12782
 
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
12783
 
 
12784
 
fi
 
14103
    { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
 
14104
$as_echo_n "checking for gethostbyname... " >&6; }
 
14105
if test "${ac_cv_func_gethostbyname+set}" = set; then
 
14106
  $as_echo_n "(cached) " >&6
 
14107
else
 
14108
  cat >conftest.$ac_ext <<_ACEOF
 
14109
/* confdefs.h.  */
 
14110
_ACEOF
 
14111
cat confdefs.h >>conftest.$ac_ext
 
14112
cat >>conftest.$ac_ext <<_ACEOF
 
14113
/* end confdefs.h.  */
 
14114
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
 
14115
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
14116
#define gethostbyname innocuous_gethostbyname
 
14117
 
 
14118
/* System header to define __stub macros and hopefully few prototypes,
 
14119
    which can conflict with char gethostbyname (); below.
 
14120
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
14121
    <limits.h> exists even on freestanding compilers.  */
 
14122
 
 
14123
#ifdef __STDC__
 
14124
# include <limits.h>
 
14125
#else
 
14126
# include <assert.h>
 
14127
#endif
 
14128
 
 
14129
#undef gethostbyname
 
14130
 
 
14131
/* Override any GCC internal prototype to avoid an error.
 
14132
   Use char because int might match the return type of a GCC
 
14133
   builtin and then its argument prototype would still apply.  */
 
14134
#ifdef __cplusplus
 
14135
extern "C"
 
14136
#endif
 
14137
char gethostbyname ();
 
14138
/* The GNU C library defines this for functions which it implements
 
14139
    to always fail with ENOSYS.  Some functions are actually named
 
14140
    something starting with __ and the normal name is an alias.  */
 
14141
#if defined __stub_gethostbyname || defined __stub___gethostbyname
 
14142
choke me
 
14143
#endif
 
14144
 
 
14145
int
 
14146
main ()
 
14147
{
 
14148
return gethostbyname ();
 
14149
  ;
 
14150
  return 0;
 
14151
}
 
14152
_ACEOF
 
14153
rm -f conftest.$ac_objext conftest$ac_exeext
 
14154
if { (ac_try="$ac_link"
 
14155
case "(($ac_try" in
 
14156
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14157
  *) ac_try_echo=$ac_try;;
 
14158
esac
 
14159
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14160
$as_echo "$ac_try_echo") >&5
 
14161
  (eval "$ac_link") 2>conftest.er1
 
14162
  ac_status=$?
 
14163
  grep -v '^ *+' conftest.er1 >conftest.err
 
14164
  rm -f conftest.er1
 
14165
  cat conftest.err >&5
 
14166
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14167
  (exit $ac_status); } && {
 
14168
         test -z "$ac_c_werror_flag" ||
 
14169
         test ! -s conftest.err
 
14170
       } && test -s conftest$ac_exeext && {
 
14171
         test "$cross_compiling" = yes ||
 
14172
         $as_test_x conftest$ac_exeext
 
14173
       }; then
 
14174
  ac_cv_func_gethostbyname=yes
 
14175
else
 
14176
  $as_echo "$as_me: failed program was:" >&5
 
14177
sed 's/^/| /' conftest.$ac_ext >&5
 
14178
 
 
14179
        ac_cv_func_gethostbyname=no
 
14180
fi
 
14181
 
 
14182
rm -rf conftest.dSYM
 
14183
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14184
      conftest$ac_exeext conftest.$ac_ext
 
14185
fi
 
14186
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
 
14187
$as_echo "$ac_cv_func_gethostbyname" >&6; }
12785
14188
 
12786
14189
    if test $ac_cv_func_gethostbyname = no; then
12787
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
 
14190
      { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
12788
14191
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
12789
 
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
 
14192
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
12790
14193
  $as_echo_n "(cached) " >&6
12791
14194
else
12792
14195
  ac_check_lib_save_LIBS=$LIBS
12793
14196
LIBS="-lnsl  $LIBS"
12794
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14197
cat >conftest.$ac_ext <<_ACEOF
 
14198
/* confdefs.h.  */
 
14199
_ACEOF
 
14200
cat confdefs.h >>conftest.$ac_ext
 
14201
cat >>conftest.$ac_ext <<_ACEOF
12795
14202
/* end confdefs.h.  */
12796
14203
 
12797
14204
/* Override any GCC internal prototype to avoid an error.
12809
14216
  return 0;
12810
14217
}
12811
14218
_ACEOF
12812
 
if ac_fn_c_try_link "$LINENO"; then :
 
14219
rm -f conftest.$ac_objext conftest$ac_exeext
 
14220
if { (ac_try="$ac_link"
 
14221
case "(($ac_try" in
 
14222
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14223
  *) ac_try_echo=$ac_try;;
 
14224
esac
 
14225
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14226
$as_echo "$ac_try_echo") >&5
 
14227
  (eval "$ac_link") 2>conftest.er1
 
14228
  ac_status=$?
 
14229
  grep -v '^ *+' conftest.er1 >conftest.err
 
14230
  rm -f conftest.er1
 
14231
  cat conftest.err >&5
 
14232
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14233
  (exit $ac_status); } && {
 
14234
         test -z "$ac_c_werror_flag" ||
 
14235
         test ! -s conftest.err
 
14236
       } && test -s conftest$ac_exeext && {
 
14237
         test "$cross_compiling" = yes ||
 
14238
         $as_test_x conftest$ac_exeext
 
14239
       }; then
12813
14240
  ac_cv_lib_nsl_gethostbyname=yes
12814
14241
else
12815
 
  ac_cv_lib_nsl_gethostbyname=no
 
14242
  $as_echo "$as_me: failed program was:" >&5
 
14243
sed 's/^/| /' conftest.$ac_ext >&5
 
14244
 
 
14245
        ac_cv_lib_nsl_gethostbyname=no
12816
14246
fi
12817
 
rm -f core conftest.err conftest.$ac_objext \
12818
 
    conftest$ac_exeext conftest.$ac_ext
 
14247
 
 
14248
rm -rf conftest.dSYM
 
14249
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14250
      conftest$ac_exeext conftest.$ac_ext
12819
14251
LIBS=$ac_check_lib_save_LIBS
12820
14252
fi
12821
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
14253
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
12822
14254
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
12823
 
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
 
14255
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
12824
14256
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
12825
14257
fi
12826
14258
 
12827
14259
      if test $ac_cv_lib_nsl_gethostbyname = no; then
12828
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
 
14260
        { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
12829
14261
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
12830
 
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
 
14262
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
12831
14263
  $as_echo_n "(cached) " >&6
12832
14264
else
12833
14265
  ac_check_lib_save_LIBS=$LIBS
12834
14266
LIBS="-lbsd  $LIBS"
12835
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14267
cat >conftest.$ac_ext <<_ACEOF
 
14268
/* confdefs.h.  */
 
14269
_ACEOF
 
14270
cat confdefs.h >>conftest.$ac_ext
 
14271
cat >>conftest.$ac_ext <<_ACEOF
12836
14272
/* end confdefs.h.  */
12837
14273
 
12838
14274
/* Override any GCC internal prototype to avoid an error.
12850
14286
  return 0;
12851
14287
}
12852
14288
_ACEOF
12853
 
if ac_fn_c_try_link "$LINENO"; then :
 
14289
rm -f conftest.$ac_objext conftest$ac_exeext
 
14290
if { (ac_try="$ac_link"
 
14291
case "(($ac_try" in
 
14292
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14293
  *) ac_try_echo=$ac_try;;
 
14294
esac
 
14295
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14296
$as_echo "$ac_try_echo") >&5
 
14297
  (eval "$ac_link") 2>conftest.er1
 
14298
  ac_status=$?
 
14299
  grep -v '^ *+' conftest.er1 >conftest.err
 
14300
  rm -f conftest.er1
 
14301
  cat conftest.err >&5
 
14302
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14303
  (exit $ac_status); } && {
 
14304
         test -z "$ac_c_werror_flag" ||
 
14305
         test ! -s conftest.err
 
14306
       } && test -s conftest$ac_exeext && {
 
14307
         test "$cross_compiling" = yes ||
 
14308
         $as_test_x conftest$ac_exeext
 
14309
       }; then
12854
14310
  ac_cv_lib_bsd_gethostbyname=yes
12855
14311
else
12856
 
  ac_cv_lib_bsd_gethostbyname=no
 
14312
  $as_echo "$as_me: failed program was:" >&5
 
14313
sed 's/^/| /' conftest.$ac_ext >&5
 
14314
 
 
14315
        ac_cv_lib_bsd_gethostbyname=no
12857
14316
fi
12858
 
rm -f core conftest.err conftest.$ac_objext \
12859
 
    conftest$ac_exeext conftest.$ac_ext
 
14317
 
 
14318
rm -rf conftest.dSYM
 
14319
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14320
      conftest$ac_exeext conftest.$ac_ext
12860
14321
LIBS=$ac_check_lib_save_LIBS
12861
14322
fi
12862
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
 
14323
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
12863
14324
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
12864
 
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
 
14325
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then
12865
14326
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
12866
14327
fi
12867
14328
 
12875
14336
    # variants that don't use the name server (or something).  -lsocket
12876
14337
    # must be given before -lnsl if both are needed.  We assume that
12877
14338
    # if connect needs -lnsl, so does gethostbyname.
12878
 
    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
12879
 
if test "x$ac_cv_func_connect" = x""yes; then :
12880
 
 
12881
 
fi
 
14339
    { $as_echo "$as_me:$LINENO: checking for connect" >&5
 
14340
$as_echo_n "checking for connect... " >&6; }
 
14341
if test "${ac_cv_func_connect+set}" = set; then
 
14342
  $as_echo_n "(cached) " >&6
 
14343
else
 
14344
  cat >conftest.$ac_ext <<_ACEOF
 
14345
/* confdefs.h.  */
 
14346
_ACEOF
 
14347
cat confdefs.h >>conftest.$ac_ext
 
14348
cat >>conftest.$ac_ext <<_ACEOF
 
14349
/* end confdefs.h.  */
 
14350
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
 
14351
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
14352
#define connect innocuous_connect
 
14353
 
 
14354
/* System header to define __stub macros and hopefully few prototypes,
 
14355
    which can conflict with char connect (); below.
 
14356
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
14357
    <limits.h> exists even on freestanding compilers.  */
 
14358
 
 
14359
#ifdef __STDC__
 
14360
# include <limits.h>
 
14361
#else
 
14362
# include <assert.h>
 
14363
#endif
 
14364
 
 
14365
#undef connect
 
14366
 
 
14367
/* Override any GCC internal prototype to avoid an error.
 
14368
   Use char because int might match the return type of a GCC
 
14369
   builtin and then its argument prototype would still apply.  */
 
14370
#ifdef __cplusplus
 
14371
extern "C"
 
14372
#endif
 
14373
char connect ();
 
14374
/* The GNU C library defines this for functions which it implements
 
14375
    to always fail with ENOSYS.  Some functions are actually named
 
14376
    something starting with __ and the normal name is an alias.  */
 
14377
#if defined __stub_connect || defined __stub___connect
 
14378
choke me
 
14379
#endif
 
14380
 
 
14381
int
 
14382
main ()
 
14383
{
 
14384
return connect ();
 
14385
  ;
 
14386
  return 0;
 
14387
}
 
14388
_ACEOF
 
14389
rm -f conftest.$ac_objext conftest$ac_exeext
 
14390
if { (ac_try="$ac_link"
 
14391
case "(($ac_try" in
 
14392
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14393
  *) ac_try_echo=$ac_try;;
 
14394
esac
 
14395
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14396
$as_echo "$ac_try_echo") >&5
 
14397
  (eval "$ac_link") 2>conftest.er1
 
14398
  ac_status=$?
 
14399
  grep -v '^ *+' conftest.er1 >conftest.err
 
14400
  rm -f conftest.er1
 
14401
  cat conftest.err >&5
 
14402
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14403
  (exit $ac_status); } && {
 
14404
         test -z "$ac_c_werror_flag" ||
 
14405
         test ! -s conftest.err
 
14406
       } && test -s conftest$ac_exeext && {
 
14407
         test "$cross_compiling" = yes ||
 
14408
         $as_test_x conftest$ac_exeext
 
14409
       }; then
 
14410
  ac_cv_func_connect=yes
 
14411
else
 
14412
  $as_echo "$as_me: failed program was:" >&5
 
14413
sed 's/^/| /' conftest.$ac_ext >&5
 
14414
 
 
14415
        ac_cv_func_connect=no
 
14416
fi
 
14417
 
 
14418
rm -rf conftest.dSYM
 
14419
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14420
      conftest$ac_exeext conftest.$ac_ext
 
14421
fi
 
14422
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
 
14423
$as_echo "$ac_cv_func_connect" >&6; }
12882
14424
 
12883
14425
    if test $ac_cv_func_connect = no; then
12884
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
 
14426
      { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
12885
14427
$as_echo_n "checking for connect in -lsocket... " >&6; }
12886
 
if test "${ac_cv_lib_socket_connect+set}" = set; then :
 
14428
if test "${ac_cv_lib_socket_connect+set}" = set; then
12887
14429
  $as_echo_n "(cached) " >&6
12888
14430
else
12889
14431
  ac_check_lib_save_LIBS=$LIBS
12890
14432
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
12891
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14433
cat >conftest.$ac_ext <<_ACEOF
 
14434
/* confdefs.h.  */
 
14435
_ACEOF
 
14436
cat confdefs.h >>conftest.$ac_ext
 
14437
cat >>conftest.$ac_ext <<_ACEOF
12892
14438
/* end confdefs.h.  */
12893
14439
 
12894
14440
/* Override any GCC internal prototype to avoid an error.
12906
14452
  return 0;
12907
14453
}
12908
14454
_ACEOF
12909
 
if ac_fn_c_try_link "$LINENO"; then :
 
14455
rm -f conftest.$ac_objext conftest$ac_exeext
 
14456
if { (ac_try="$ac_link"
 
14457
case "(($ac_try" in
 
14458
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14459
  *) ac_try_echo=$ac_try;;
 
14460
esac
 
14461
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14462
$as_echo "$ac_try_echo") >&5
 
14463
  (eval "$ac_link") 2>conftest.er1
 
14464
  ac_status=$?
 
14465
  grep -v '^ *+' conftest.er1 >conftest.err
 
14466
  rm -f conftest.er1
 
14467
  cat conftest.err >&5
 
14468
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14469
  (exit $ac_status); } && {
 
14470
         test -z "$ac_c_werror_flag" ||
 
14471
         test ! -s conftest.err
 
14472
       } && test -s conftest$ac_exeext && {
 
14473
         test "$cross_compiling" = yes ||
 
14474
         $as_test_x conftest$ac_exeext
 
14475
       }; then
12910
14476
  ac_cv_lib_socket_connect=yes
12911
14477
else
12912
 
  ac_cv_lib_socket_connect=no
 
14478
  $as_echo "$as_me: failed program was:" >&5
 
14479
sed 's/^/| /' conftest.$ac_ext >&5
 
14480
 
 
14481
        ac_cv_lib_socket_connect=no
12913
14482
fi
12914
 
rm -f core conftest.err conftest.$ac_objext \
12915
 
    conftest$ac_exeext conftest.$ac_ext
 
14483
 
 
14484
rm -rf conftest.dSYM
 
14485
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14486
      conftest$ac_exeext conftest.$ac_ext
12916
14487
LIBS=$ac_check_lib_save_LIBS
12917
14488
fi
12918
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
 
14489
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
12919
14490
$as_echo "$ac_cv_lib_socket_connect" >&6; }
12920
 
if test "x$ac_cv_lib_socket_connect" = x""yes; then :
 
14491
if test "x$ac_cv_lib_socket_connect" = x""yes; then
12921
14492
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
12922
14493
fi
12923
14494
 
12924
14495
    fi
12925
14496
 
12926
14497
    # Guillermo Gomez says -lposix is necessary on A/UX.
12927
 
    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
12928
 
if test "x$ac_cv_func_remove" = x""yes; then :
12929
 
 
12930
 
fi
 
14498
    { $as_echo "$as_me:$LINENO: checking for remove" >&5
 
14499
$as_echo_n "checking for remove... " >&6; }
 
14500
if test "${ac_cv_func_remove+set}" = set; then
 
14501
  $as_echo_n "(cached) " >&6
 
14502
else
 
14503
  cat >conftest.$ac_ext <<_ACEOF
 
14504
/* confdefs.h.  */
 
14505
_ACEOF
 
14506
cat confdefs.h >>conftest.$ac_ext
 
14507
cat >>conftest.$ac_ext <<_ACEOF
 
14508
/* end confdefs.h.  */
 
14509
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
 
14510
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
14511
#define remove innocuous_remove
 
14512
 
 
14513
/* System header to define __stub macros and hopefully few prototypes,
 
14514
    which can conflict with char remove (); below.
 
14515
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
14516
    <limits.h> exists even on freestanding compilers.  */
 
14517
 
 
14518
#ifdef __STDC__
 
14519
# include <limits.h>
 
14520
#else
 
14521
# include <assert.h>
 
14522
#endif
 
14523
 
 
14524
#undef remove
 
14525
 
 
14526
/* Override any GCC internal prototype to avoid an error.
 
14527
   Use char because int might match the return type of a GCC
 
14528
   builtin and then its argument prototype would still apply.  */
 
14529
#ifdef __cplusplus
 
14530
extern "C"
 
14531
#endif
 
14532
char remove ();
 
14533
/* The GNU C library defines this for functions which it implements
 
14534
    to always fail with ENOSYS.  Some functions are actually named
 
14535
    something starting with __ and the normal name is an alias.  */
 
14536
#if defined __stub_remove || defined __stub___remove
 
14537
choke me
 
14538
#endif
 
14539
 
 
14540
int
 
14541
main ()
 
14542
{
 
14543
return remove ();
 
14544
  ;
 
14545
  return 0;
 
14546
}
 
14547
_ACEOF
 
14548
rm -f conftest.$ac_objext conftest$ac_exeext
 
14549
if { (ac_try="$ac_link"
 
14550
case "(($ac_try" in
 
14551
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14552
  *) ac_try_echo=$ac_try;;
 
14553
esac
 
14554
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14555
$as_echo "$ac_try_echo") >&5
 
14556
  (eval "$ac_link") 2>conftest.er1
 
14557
  ac_status=$?
 
14558
  grep -v '^ *+' conftest.er1 >conftest.err
 
14559
  rm -f conftest.er1
 
14560
  cat conftest.err >&5
 
14561
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14562
  (exit $ac_status); } && {
 
14563
         test -z "$ac_c_werror_flag" ||
 
14564
         test ! -s conftest.err
 
14565
       } && test -s conftest$ac_exeext && {
 
14566
         test "$cross_compiling" = yes ||
 
14567
         $as_test_x conftest$ac_exeext
 
14568
       }; then
 
14569
  ac_cv_func_remove=yes
 
14570
else
 
14571
  $as_echo "$as_me: failed program was:" >&5
 
14572
sed 's/^/| /' conftest.$ac_ext >&5
 
14573
 
 
14574
        ac_cv_func_remove=no
 
14575
fi
 
14576
 
 
14577
rm -rf conftest.dSYM
 
14578
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14579
      conftest$ac_exeext conftest.$ac_ext
 
14580
fi
 
14581
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
 
14582
$as_echo "$ac_cv_func_remove" >&6; }
12931
14583
 
12932
14584
    if test $ac_cv_func_remove = no; then
12933
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
 
14585
      { $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
12934
14586
$as_echo_n "checking for remove in -lposix... " >&6; }
12935
 
if test "${ac_cv_lib_posix_remove+set}" = set; then :
 
14587
if test "${ac_cv_lib_posix_remove+set}" = set; then
12936
14588
  $as_echo_n "(cached) " >&6
12937
14589
else
12938
14590
  ac_check_lib_save_LIBS=$LIBS
12939
14591
LIBS="-lposix  $LIBS"
12940
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14592
cat >conftest.$ac_ext <<_ACEOF
 
14593
/* confdefs.h.  */
 
14594
_ACEOF
 
14595
cat confdefs.h >>conftest.$ac_ext
 
14596
cat >>conftest.$ac_ext <<_ACEOF
12941
14597
/* end confdefs.h.  */
12942
14598
 
12943
14599
/* Override any GCC internal prototype to avoid an error.
12955
14611
  return 0;
12956
14612
}
12957
14613
_ACEOF
12958
 
if ac_fn_c_try_link "$LINENO"; then :
 
14614
rm -f conftest.$ac_objext conftest$ac_exeext
 
14615
if { (ac_try="$ac_link"
 
14616
case "(($ac_try" in
 
14617
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14618
  *) ac_try_echo=$ac_try;;
 
14619
esac
 
14620
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14621
$as_echo "$ac_try_echo") >&5
 
14622
  (eval "$ac_link") 2>conftest.er1
 
14623
  ac_status=$?
 
14624
  grep -v '^ *+' conftest.er1 >conftest.err
 
14625
  rm -f conftest.er1
 
14626
  cat conftest.err >&5
 
14627
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14628
  (exit $ac_status); } && {
 
14629
         test -z "$ac_c_werror_flag" ||
 
14630
         test ! -s conftest.err
 
14631
       } && test -s conftest$ac_exeext && {
 
14632
         test "$cross_compiling" = yes ||
 
14633
         $as_test_x conftest$ac_exeext
 
14634
       }; then
12959
14635
  ac_cv_lib_posix_remove=yes
12960
14636
else
12961
 
  ac_cv_lib_posix_remove=no
 
14637
  $as_echo "$as_me: failed program was:" >&5
 
14638
sed 's/^/| /' conftest.$ac_ext >&5
 
14639
 
 
14640
        ac_cv_lib_posix_remove=no
12962
14641
fi
12963
 
rm -f core conftest.err conftest.$ac_objext \
12964
 
    conftest$ac_exeext conftest.$ac_ext
 
14642
 
 
14643
rm -rf conftest.dSYM
 
14644
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14645
      conftest$ac_exeext conftest.$ac_ext
12965
14646
LIBS=$ac_check_lib_save_LIBS
12966
14647
fi
12967
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
 
14648
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
12968
14649
$as_echo "$ac_cv_lib_posix_remove" >&6; }
12969
 
if test "x$ac_cv_lib_posix_remove" = x""yes; then :
 
14650
if test "x$ac_cv_lib_posix_remove" = x""yes; then
12970
14651
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
12971
14652
fi
12972
14653
 
12973
14654
    fi
12974
14655
 
12975
14656
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12976
 
    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
12977
 
if test "x$ac_cv_func_shmat" = x""yes; then :
12978
 
 
12979
 
fi
 
14657
    { $as_echo "$as_me:$LINENO: checking for shmat" >&5
 
14658
$as_echo_n "checking for shmat... " >&6; }
 
14659
if test "${ac_cv_func_shmat+set}" = set; then
 
14660
  $as_echo_n "(cached) " >&6
 
14661
else
 
14662
  cat >conftest.$ac_ext <<_ACEOF
 
14663
/* confdefs.h.  */
 
14664
_ACEOF
 
14665
cat confdefs.h >>conftest.$ac_ext
 
14666
cat >>conftest.$ac_ext <<_ACEOF
 
14667
/* end confdefs.h.  */
 
14668
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
 
14669
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
14670
#define shmat innocuous_shmat
 
14671
 
 
14672
/* System header to define __stub macros and hopefully few prototypes,
 
14673
    which can conflict with char shmat (); below.
 
14674
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
14675
    <limits.h> exists even on freestanding compilers.  */
 
14676
 
 
14677
#ifdef __STDC__
 
14678
# include <limits.h>
 
14679
#else
 
14680
# include <assert.h>
 
14681
#endif
 
14682
 
 
14683
#undef shmat
 
14684
 
 
14685
/* Override any GCC internal prototype to avoid an error.
 
14686
   Use char because int might match the return type of a GCC
 
14687
   builtin and then its argument prototype would still apply.  */
 
14688
#ifdef __cplusplus
 
14689
extern "C"
 
14690
#endif
 
14691
char shmat ();
 
14692
/* The GNU C library defines this for functions which it implements
 
14693
    to always fail with ENOSYS.  Some functions are actually named
 
14694
    something starting with __ and the normal name is an alias.  */
 
14695
#if defined __stub_shmat || defined __stub___shmat
 
14696
choke me
 
14697
#endif
 
14698
 
 
14699
int
 
14700
main ()
 
14701
{
 
14702
return shmat ();
 
14703
  ;
 
14704
  return 0;
 
14705
}
 
14706
_ACEOF
 
14707
rm -f conftest.$ac_objext conftest$ac_exeext
 
14708
if { (ac_try="$ac_link"
 
14709
case "(($ac_try" in
 
14710
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14711
  *) ac_try_echo=$ac_try;;
 
14712
esac
 
14713
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14714
$as_echo "$ac_try_echo") >&5
 
14715
  (eval "$ac_link") 2>conftest.er1
 
14716
  ac_status=$?
 
14717
  grep -v '^ *+' conftest.er1 >conftest.err
 
14718
  rm -f conftest.er1
 
14719
  cat conftest.err >&5
 
14720
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14721
  (exit $ac_status); } && {
 
14722
         test -z "$ac_c_werror_flag" ||
 
14723
         test ! -s conftest.err
 
14724
       } && test -s conftest$ac_exeext && {
 
14725
         test "$cross_compiling" = yes ||
 
14726
         $as_test_x conftest$ac_exeext
 
14727
       }; then
 
14728
  ac_cv_func_shmat=yes
 
14729
else
 
14730
  $as_echo "$as_me: failed program was:" >&5
 
14731
sed 's/^/| /' conftest.$ac_ext >&5
 
14732
 
 
14733
        ac_cv_func_shmat=no
 
14734
fi
 
14735
 
 
14736
rm -rf conftest.dSYM
 
14737
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14738
      conftest$ac_exeext conftest.$ac_ext
 
14739
fi
 
14740
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
 
14741
$as_echo "$ac_cv_func_shmat" >&6; }
12980
14742
 
12981
14743
    if test $ac_cv_func_shmat = no; then
12982
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
 
14744
      { $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
12983
14745
$as_echo_n "checking for shmat in -lipc... " >&6; }
12984
 
if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
 
14746
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
12985
14747
  $as_echo_n "(cached) " >&6
12986
14748
else
12987
14749
  ac_check_lib_save_LIBS=$LIBS
12988
14750
LIBS="-lipc  $LIBS"
12989
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14751
cat >conftest.$ac_ext <<_ACEOF
 
14752
/* confdefs.h.  */
 
14753
_ACEOF
 
14754
cat confdefs.h >>conftest.$ac_ext
 
14755
cat >>conftest.$ac_ext <<_ACEOF
12990
14756
/* end confdefs.h.  */
12991
14757
 
12992
14758
/* Override any GCC internal prototype to avoid an error.
13004
14770
  return 0;
13005
14771
}
13006
14772
_ACEOF
13007
 
if ac_fn_c_try_link "$LINENO"; then :
 
14773
rm -f conftest.$ac_objext conftest$ac_exeext
 
14774
if { (ac_try="$ac_link"
 
14775
case "(($ac_try" in
 
14776
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14777
  *) ac_try_echo=$ac_try;;
 
14778
esac
 
14779
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14780
$as_echo "$ac_try_echo") >&5
 
14781
  (eval "$ac_link") 2>conftest.er1
 
14782
  ac_status=$?
 
14783
  grep -v '^ *+' conftest.er1 >conftest.err
 
14784
  rm -f conftest.er1
 
14785
  cat conftest.err >&5
 
14786
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14787
  (exit $ac_status); } && {
 
14788
         test -z "$ac_c_werror_flag" ||
 
14789
         test ! -s conftest.err
 
14790
       } && test -s conftest$ac_exeext && {
 
14791
         test "$cross_compiling" = yes ||
 
14792
         $as_test_x conftest$ac_exeext
 
14793
       }; then
13008
14794
  ac_cv_lib_ipc_shmat=yes
13009
14795
else
13010
 
  ac_cv_lib_ipc_shmat=no
 
14796
  $as_echo "$as_me: failed program was:" >&5
 
14797
sed 's/^/| /' conftest.$ac_ext >&5
 
14798
 
 
14799
        ac_cv_lib_ipc_shmat=no
13011
14800
fi
13012
 
rm -f core conftest.err conftest.$ac_objext \
13013
 
    conftest$ac_exeext conftest.$ac_ext
 
14801
 
 
14802
rm -rf conftest.dSYM
 
14803
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14804
      conftest$ac_exeext conftest.$ac_ext
13014
14805
LIBS=$ac_check_lib_save_LIBS
13015
14806
fi
13016
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
 
14807
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
13017
14808
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
13018
 
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
 
14809
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then
13019
14810
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
13020
14811
fi
13021
14812
 
13031
14822
  # These have to be linked with before -lX11, unlike the other
13032
14823
  # libraries we check for below, so use a different variable.
13033
14824
  # John Interrante, Karl Berry
13034
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
 
14825
  { $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
13035
14826
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
13036
 
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
 
14827
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
13037
14828
  $as_echo_n "(cached) " >&6
13038
14829
else
13039
14830
  ac_check_lib_save_LIBS=$LIBS
13040
14831
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
13041
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14832
cat >conftest.$ac_ext <<_ACEOF
 
14833
/* confdefs.h.  */
 
14834
_ACEOF
 
14835
cat confdefs.h >>conftest.$ac_ext
 
14836
cat >>conftest.$ac_ext <<_ACEOF
13042
14837
/* end confdefs.h.  */
13043
14838
 
13044
14839
/* Override any GCC internal prototype to avoid an error.
13056
14851
  return 0;
13057
14852
}
13058
14853
_ACEOF
13059
 
if ac_fn_c_try_link "$LINENO"; then :
 
14854
rm -f conftest.$ac_objext conftest$ac_exeext
 
14855
if { (ac_try="$ac_link"
 
14856
case "(($ac_try" in
 
14857
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14858
  *) ac_try_echo=$ac_try;;
 
14859
esac
 
14860
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14861
$as_echo "$ac_try_echo") >&5
 
14862
  (eval "$ac_link") 2>conftest.er1
 
14863
  ac_status=$?
 
14864
  grep -v '^ *+' conftest.er1 >conftest.err
 
14865
  rm -f conftest.er1
 
14866
  cat conftest.err >&5
 
14867
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14868
  (exit $ac_status); } && {
 
14869
         test -z "$ac_c_werror_flag" ||
 
14870
         test ! -s conftest.err
 
14871
       } && test -s conftest$ac_exeext && {
 
14872
         test "$cross_compiling" = yes ||
 
14873
         $as_test_x conftest$ac_exeext
 
14874
       }; then
13060
14875
  ac_cv_lib_ICE_IceConnectionNumber=yes
13061
14876
else
13062
 
  ac_cv_lib_ICE_IceConnectionNumber=no
 
14877
  $as_echo "$as_me: failed program was:" >&5
 
14878
sed 's/^/| /' conftest.$ac_ext >&5
 
14879
 
 
14880
        ac_cv_lib_ICE_IceConnectionNumber=no
13063
14881
fi
13064
 
rm -f core conftest.err conftest.$ac_objext \
13065
 
    conftest$ac_exeext conftest.$ac_ext
 
14882
 
 
14883
rm -rf conftest.dSYM
 
14884
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14885
      conftest$ac_exeext conftest.$ac_ext
13066
14886
LIBS=$ac_check_lib_save_LIBS
13067
14887
fi
13068
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 
14888
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
13069
14889
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
13070
 
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
 
14890
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then
13071
14891
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
13072
14892
fi
13073
14893
 
13078
14898
 
13079
14899
 
13080
14900
pkg_failed=no
13081
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIQUE_X11" >&5
 
14901
{ $as_echo "$as_me:$LINENO: checking for UNIQUE_X11" >&5
13082
14902
$as_echo_n "checking for UNIQUE_X11... " >&6; }
13083
14903
 
13084
 
if test -n "$PKG_CONFIG"; then
13085
 
    if test -n "$UNIQUE_X11_CFLAGS"; then
13086
 
        pkg_cv_UNIQUE_X11_CFLAGS="$UNIQUE_X11_CFLAGS"
13087
 
    else
13088
 
        if test -n "$PKG_CONFIG" && \
13089
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
 
14904
if test -n "$UNIQUE_X11_CFLAGS"; then
 
14905
    pkg_cv_UNIQUE_X11_CFLAGS="$UNIQUE_X11_CFLAGS"
 
14906
 elif test -n "$PKG_CONFIG"; then
 
14907
    if test -n "$PKG_CONFIG" && \
 
14908
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
13090
14909
  ($PKG_CONFIG --exists --print-errors "x11") 2>&5
13091
14910
  ac_status=$?
13092
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13093
 
  test $ac_status = 0; }; then
 
14911
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14912
  (exit $ac_status); }; then
13094
14913
  pkg_cv_UNIQUE_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
13095
14914
else
13096
14915
  pkg_failed=yes
13097
14916
fi
13098
 
    fi
13099
 
else
13100
 
        pkg_failed=untried
 
14917
 else
 
14918
    pkg_failed=untried
13101
14919
fi
13102
 
if test -n "$PKG_CONFIG"; then
13103
 
    if test -n "$UNIQUE_X11_LIBS"; then
13104
 
        pkg_cv_UNIQUE_X11_LIBS="$UNIQUE_X11_LIBS"
13105
 
    else
13106
 
        if test -n "$PKG_CONFIG" && \
13107
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
 
14920
if test -n "$UNIQUE_X11_LIBS"; then
 
14921
    pkg_cv_UNIQUE_X11_LIBS="$UNIQUE_X11_LIBS"
 
14922
 elif test -n "$PKG_CONFIG"; then
 
14923
    if test -n "$PKG_CONFIG" && \
 
14924
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
13108
14925
  ($PKG_CONFIG --exists --print-errors "x11") 2>&5
13109
14926
  ac_status=$?
13110
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13111
 
  test $ac_status = 0; }; then
 
14927
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14928
  (exit $ac_status); }; then
13112
14929
  pkg_cv_UNIQUE_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
13113
14930
else
13114
14931
  pkg_failed=yes
13115
14932
fi
13116
 
    fi
13117
 
else
13118
 
        pkg_failed=untried
 
14933
 else
 
14934
    pkg_failed=untried
13119
14935
fi
13120
14936
 
13121
14937
 
13128
14944
        _pkg_short_errors_supported=no
13129
14945
fi
13130
14946
        if test $_pkg_short_errors_supported = yes; then
13131
 
                UNIQUE_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11"`
 
14947
                UNIQUE_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11" 2>&1`
13132
14948
        else
13133
 
                UNIQUE_X11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11"`
 
14949
                UNIQUE_X11_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11" 2>&1`
13134
14950
        fi
13135
14951
        # Put the nasty error message in config.log where it belongs
13136
14952
        echo "$UNIQUE_X11_PKG_ERRORS" >&5
13137
14953
 
13138
 
        as_fn_error "Package requirements (x11) were not met:
13139
 
 
13140
 
$UNIQUE_X11_PKG_ERRORS
13141
 
 
13142
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13143
 
installed software in a non-standard prefix.
13144
 
 
13145
 
Alternatively, you may set the environment variables UNIQUE_X11_CFLAGS
13146
 
and UNIQUE_X11_LIBS to avoid the need to call pkg-config.
13147
 
See the pkg-config man page for more details.
13148
 
" "$LINENO" 5
 
14954
        { { $as_echo "$as_me:$LINENO: error: Package requirements (x11) were not met:
 
14955
 
 
14956
$UNIQUE_X11_PKG_ERRORS
 
14957
 
 
14958
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14959
installed software in a non-standard prefix.
 
14960
 
 
14961
Alternatively, you may set the environment variables UNIQUE_X11_CFLAGS
 
14962
and UNIQUE_X11_LIBS to avoid the need to call pkg-config.
 
14963
See the pkg-config man page for more details.
 
14964
" >&5
 
14965
$as_echo "$as_me: error: Package requirements (x11) were not met:
 
14966
 
 
14967
$UNIQUE_X11_PKG_ERRORS
 
14968
 
 
14969
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14970
installed software in a non-standard prefix.
 
14971
 
 
14972
Alternatively, you may set the environment variables UNIQUE_X11_CFLAGS
 
14973
and UNIQUE_X11_LIBS to avoid the need to call pkg-config.
 
14974
See the pkg-config man page for more details.
 
14975
" >&2;}
 
14976
   { (exit 1); exit 1; }; }
13149
14977
elif test $pkg_failed = untried; then
13150
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14978
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13151
14979
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13152
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
13153
 
is in your PATH or set the PKG_CONFIG environment variable to the full
13154
 
path to pkg-config.
13155
 
 
13156
 
Alternatively, you may set the environment variables UNIQUE_X11_CFLAGS
13157
 
and UNIQUE_X11_LIBS to avoid the need to call pkg-config.
13158
 
See the pkg-config man page for more details.
13159
 
 
13160
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13161
 
See \`config.log' for more details." "$LINENO" 5; }
 
14980
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
14981
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14982
path to pkg-config.
 
14983
 
 
14984
Alternatively, you may set the environment variables UNIQUE_X11_CFLAGS
 
14985
and UNIQUE_X11_LIBS to avoid the need to call pkg-config.
 
14986
See the pkg-config man page for more details.
 
14987
 
 
14988
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14989
See \`config.log' for more details." >&5
 
14990
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
14991
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14992
path to pkg-config.
 
14993
 
 
14994
Alternatively, you may set the environment variables UNIQUE_X11_CFLAGS
 
14995
and UNIQUE_X11_LIBS to avoid the need to call pkg-config.
 
14996
See the pkg-config man page for more details.
 
14997
 
 
14998
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14999
See \`config.log' for more details." >&2;}
 
15000
   { (exit 1); exit 1; }; }; }
13162
15001
else
13163
15002
        UNIQUE_X11_CFLAGS=$pkg_cv_UNIQUE_X11_CFLAGS
13164
15003
        UNIQUE_X11_LIBS=$pkg_cv_UNIQUE_X11_LIBS
13165
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15004
        { $as_echo "$as_me:$LINENO: result: yes" >&5
13166
15005
$as_echo "yes" >&6; }
13167
15006
        :
13168
15007
fi
13177
15016
 
13178
15017
 
13179
15018
 
 
15019
 
13180
15020
# Check whether --enable-dbus was given.
13181
 
if test "${enable_dbus+set}" = set; then :
 
15021
if test "${enable_dbus+set}" = set; then
13182
15022
  enableval=$enable_dbus;
13183
15023
else
13184
15024
  enable_dbus=yes
13185
15025
fi
13186
15026
 
13187
15027
 
13188
 
case $enable_dbus in #(
13189
 
  yes) :
13190
 
 
 
15028
case $enable_dbus in
 
15029
  yes)
13191
15030
 
13192
15031
pkg_failed=no
13193
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
 
15032
{ $as_echo "$as_me:$LINENO: checking for DBUS" >&5
13194
15033
$as_echo_n "checking for DBUS... " >&6; }
13195
15034
 
13196
 
if test -n "$PKG_CONFIG"; then
13197
 
    if test -n "$DBUS_CFLAGS"; then
13198
 
        pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
13199
 
    else
13200
 
        if test -n "$PKG_CONFIG" && \
13201
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.70\""; } >&5
 
15035
if test -n "$DBUS_CFLAGS"; then
 
15036
    pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
 
15037
 elif test -n "$PKG_CONFIG"; then
 
15038
    if test -n "$PKG_CONFIG" && \
 
15039
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.70\"") >&5
13202
15040
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.70") 2>&5
13203
15041
  ac_status=$?
13204
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13205
 
  test $ac_status = 0; }; then
 
15042
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15043
  (exit $ac_status); }; then
13206
15044
  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= 0.70" 2>/dev/null`
13207
15045
else
13208
15046
  pkg_failed=yes
13209
15047
fi
13210
 
    fi
13211
 
else
13212
 
        pkg_failed=untried
 
15048
 else
 
15049
    pkg_failed=untried
13213
15050
fi
13214
 
if test -n "$PKG_CONFIG"; then
13215
 
    if test -n "$DBUS_LIBS"; then
13216
 
        pkg_cv_DBUS_LIBS="$DBUS_LIBS"
13217
 
    else
13218
 
        if test -n "$PKG_CONFIG" && \
13219
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.70\""; } >&5
 
15051
if test -n "$DBUS_LIBS"; then
 
15052
    pkg_cv_DBUS_LIBS="$DBUS_LIBS"
 
15053
 elif test -n "$PKG_CONFIG"; then
 
15054
    if test -n "$PKG_CONFIG" && \
 
15055
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.70\"") >&5
13220
15056
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.70") 2>&5
13221
15057
  ac_status=$?
13222
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13223
 
  test $ac_status = 0; }; then
 
15058
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15059
  (exit $ac_status); }; then
13224
15060
  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= 0.70" 2>/dev/null`
13225
15061
else
13226
15062
  pkg_failed=yes
13227
15063
fi
13228
 
    fi
13229
 
else
13230
 
        pkg_failed=untried
 
15064
 else
 
15065
    pkg_failed=untried
13231
15066
fi
13232
15067
 
13233
15068
 
13240
15075
        _pkg_short_errors_supported=no
13241
15076
fi
13242
15077
        if test $_pkg_short_errors_supported = yes; then
13243
 
                DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-glib-1 >= 0.70"`
 
15078
                DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-glib-1 >= 0.70" 2>&1`
13244
15079
        else
13245
 
                DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-glib-1 >= 0.70"`
 
15080
                DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-glib-1 >= 0.70" 2>&1`
13246
15081
        fi
13247
15082
        # Put the nasty error message in config.log where it belongs
13248
15083
        echo "$DBUS_PKG_ERRORS" >&5
13249
15084
 
13250
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15085
        { $as_echo "$as_me:$LINENO: result: no" >&5
13251
15086
$as_echo "no" >&6; }
13252
15087
                have_dbus=no
13253
15088
elif test $pkg_failed = untried; then
13255
15090
else
13256
15091
        DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
13257
15092
        DBUS_LIBS=$pkg_cv_DBUS_LIBS
13258
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15093
        { $as_echo "$as_me:$LINENO: result: yes" >&5
13259
15094
$as_echo "yes" >&6; }
13260
15095
        have_dbus=yes
13261
15096
fi
13262
 
         ;; #(
13263
 
  no) :
13264
 
    have_dbus=no ;; #(
13265
 
  *) :
13266
 
    as_fn_error "Unknown argument to --enable-dbus" "$LINENO" 5
 
15097
         ;;
 
15098
  no) have_dbus=no ;;
 
15099
  *) { { $as_echo "$as_me:$LINENO: error: Unknown argument to --enable-dbus" >&5
 
15100
$as_echo "$as_me: error: Unknown argument to --enable-dbus" >&2;}
 
15101
   { (exit 1); exit 1; }; }
13267
15102
 ;;
13268
15103
esac
13269
15104
 
13270
 
if test "x$have_dbus" = "xyes"; then :
13271
 
 
13272
 
 
13273
 
 
13274
 
 
13275
 
$as_echo "#define HAVE_DBUS 1" >>confdefs.h
 
15105
 
 
15106
if test "x$have_dbus" = "xyes"; then
 
15107
 
 
15108
 
 
15109
 
 
15110
 
 
15111
cat >>confdefs.h <<\_ACEOF
 
15112
#define HAVE_DBUS 1
 
15113
_ACEOF
13276
15114
 
13277
15115
        # Extract the first word of "dbus-binding-tool", so it can be a program name with args.
13278
15116
set dummy dbus-binding-tool; ac_word=$2
13279
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15117
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13280
15118
$as_echo_n "checking for $ac_word... " >&6; }
13281
 
if test "${ac_cv_path_DBUS_BINDING_TOOL+set}" = set; then :
 
15119
if test "${ac_cv_path_DBUS_BINDING_TOOL+set}" = set; then
13282
15120
  $as_echo_n "(cached) " >&6
13283
15121
else
13284
15122
  case $DBUS_BINDING_TOOL in
13291
15129
do
13292
15130
  IFS=$as_save_IFS
13293
15131
  test -z "$as_dir" && as_dir=.
13294
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15132
  for ac_exec_ext in '' $ac_executable_extensions; do
13295
15133
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13296
15134
    ac_cv_path_DBUS_BINDING_TOOL="$as_dir/$ac_word$ac_exec_ext"
13297
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15135
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13298
15136
    break 2
13299
15137
  fi
13300
15138
done
13301
 
  done
 
15139
done
13302
15140
IFS=$as_save_IFS
13303
15141
 
13304
15142
  ;;
13306
15144
fi
13307
15145
DBUS_BINDING_TOOL=$ac_cv_path_DBUS_BINDING_TOOL
13308
15146
if test -n "$DBUS_BINDING_TOOL"; then
13309
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_BINDING_TOOL" >&5
 
15147
  { $as_echo "$as_me:$LINENO: result: $DBUS_BINDING_TOOL" >&5
13310
15148
$as_echo "$DBUS_BINDING_TOOL" >&6; }
13311
15149
else
13312
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15150
  { $as_echo "$as_me:$LINENO: result: no" >&5
13313
15151
$as_echo "no" >&6; }
13314
15152
fi
13315
15153
 
13318
15156
 
13319
15157
fi
13320
15158
 
 
15159
 
13321
15160
 if test "x$have_dbus" = "xyes"; then
13322
15161
  HAVE_DBUS_TRUE=
13323
15162
  HAVE_DBUS_FALSE='#'
13329
15168
 
13330
15169
 
13331
15170
# Check whether --enable-bacon was given.
13332
 
if test "${enable_bacon+set}" = set; then :
 
15171
if test "${enable_bacon+set}" = set; then
13333
15172
  enableval=$enable_bacon;
13334
15173
else
13335
15174
  enable_bacon=yes
13336
15175
fi
13337
15176
 
13338
15177
 
13339
 
if test "x$enable_bacon" = "xyes"; then :
13340
 
 
13341
 
        for ac_header in fcntl.h sys/types.h sys/socket.h sys/un.h
13342
 
do :
13343
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13344
 
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13345
 
eval as_val=\$$as_ac_Header
13346
 
   if test "x$as_val" = x""yes; then :
 
15178
if test "x$enable_bacon" = "xyes"; then
 
15179
 
 
15180
 
 
15181
 
 
15182
 
 
15183
 
 
15184
for ac_header in fcntl.h sys/types.h sys/socket.h sys/un.h
 
15185
do
 
15186
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
15187
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
15188
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
15189
$as_echo_n "checking for $ac_header... " >&6; }
 
15190
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
15191
  $as_echo_n "(cached) " >&6
 
15192
fi
 
15193
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
15194
                 $as_echo "$as_val"'`
 
15195
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
15196
$as_echo "$ac_res" >&6; }
 
15197
else
 
15198
  # Is the header compilable?
 
15199
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
15200
$as_echo_n "checking $ac_header usability... " >&6; }
 
15201
cat >conftest.$ac_ext <<_ACEOF
 
15202
/* confdefs.h.  */
 
15203
_ACEOF
 
15204
cat confdefs.h >>conftest.$ac_ext
 
15205
cat >>conftest.$ac_ext <<_ACEOF
 
15206
/* end confdefs.h.  */
 
15207
$ac_includes_default
 
15208
#include <$ac_header>
 
15209
_ACEOF
 
15210
rm -f conftest.$ac_objext
 
15211
if { (ac_try="$ac_compile"
 
15212
case "(($ac_try" in
 
15213
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15214
  *) ac_try_echo=$ac_try;;
 
15215
esac
 
15216
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15217
$as_echo "$ac_try_echo") >&5
 
15218
  (eval "$ac_compile") 2>conftest.er1
 
15219
  ac_status=$?
 
15220
  grep -v '^ *+' conftest.er1 >conftest.err
 
15221
  rm -f conftest.er1
 
15222
  cat conftest.err >&5
 
15223
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15224
  (exit $ac_status); } && {
 
15225
         test -z "$ac_c_werror_flag" ||
 
15226
         test ! -s conftest.err
 
15227
       } && test -s conftest.$ac_objext; then
 
15228
  ac_header_compiler=yes
 
15229
else
 
15230
  $as_echo "$as_me: failed program was:" >&5
 
15231
sed 's/^/| /' conftest.$ac_ext >&5
 
15232
 
 
15233
        ac_header_compiler=no
 
15234
fi
 
15235
 
 
15236
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15237
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
15238
$as_echo "$ac_header_compiler" >&6; }
 
15239
 
 
15240
# Is the header present?
 
15241
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
15242
$as_echo_n "checking $ac_header presence... " >&6; }
 
15243
cat >conftest.$ac_ext <<_ACEOF
 
15244
/* confdefs.h.  */
 
15245
_ACEOF
 
15246
cat confdefs.h >>conftest.$ac_ext
 
15247
cat >>conftest.$ac_ext <<_ACEOF
 
15248
/* end confdefs.h.  */
 
15249
#include <$ac_header>
 
15250
_ACEOF
 
15251
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
15252
case "(($ac_try" in
 
15253
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15254
  *) ac_try_echo=$ac_try;;
 
15255
esac
 
15256
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15257
$as_echo "$ac_try_echo") >&5
 
15258
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
15259
  ac_status=$?
 
15260
  grep -v '^ *+' conftest.er1 >conftest.err
 
15261
  rm -f conftest.er1
 
15262
  cat conftest.err >&5
 
15263
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15264
  (exit $ac_status); } >/dev/null && {
 
15265
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
15266
         test ! -s conftest.err
 
15267
       }; then
 
15268
  ac_header_preproc=yes
 
15269
else
 
15270
  $as_echo "$as_me: failed program was:" >&5
 
15271
sed 's/^/| /' conftest.$ac_ext >&5
 
15272
 
 
15273
  ac_header_preproc=no
 
15274
fi
 
15275
 
 
15276
rm -f conftest.err conftest.$ac_ext
 
15277
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
15278
$as_echo "$ac_header_preproc" >&6; }
 
15279
 
 
15280
# So?  What about this header?
 
15281
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
15282
  yes:no: )
 
15283
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
15284
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
15285
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
15286
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
15287
    ac_header_preproc=yes
 
15288
    ;;
 
15289
  no:yes:* )
 
15290
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
15291
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
15292
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
15293
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
15294
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
15295
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
15296
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
15297
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
15298
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
15299
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
15300
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
15301
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
15302
    ( cat <<\_ASBOX
 
15303
## ------------------------------------------------------------------------ ##
 
15304
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=libunique ##
 
15305
## ------------------------------------------------------------------------ ##
 
15306
_ASBOX
 
15307
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
15308
    ;;
 
15309
esac
 
15310
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
15311
$as_echo_n "checking for $ac_header... " >&6; }
 
15312
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
15313
  $as_echo_n "(cached) " >&6
 
15314
else
 
15315
  eval "$as_ac_Header=\$ac_header_preproc"
 
15316
fi
 
15317
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
15318
                 $as_echo "$as_val"'`
 
15319
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
15320
$as_echo "$ac_res" >&6; }
 
15321
 
 
15322
fi
 
15323
as_val=`eval 'as_val=${'$as_ac_Header'}
 
15324
                 $as_echo "$as_val"'`
 
15325
   if test "x$as_val" = x""yes; then
13347
15326
  cat >>confdefs.h <<_ACEOF
13348
15327
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13349
15328
_ACEOF
13360
15339
 
13361
15340
fi
13362
15341
 
13363
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for default IPC mechanism" >&5
 
15342
 
 
15343
if test "x$have_bacon" = "xyes"; then
 
15344
 
 
15345
 
 
15346
cat >>confdefs.h <<\_ACEOF
 
15347
#define HAVE_BACON 1
 
15348
_ACEOF
 
15349
 
 
15350
 
 
15351
 
 
15352
fi
 
15353
 
 
15354
 
 
15355
 if test "x$have_bacon" = "xyes"; then
 
15356
  HAVE_BACON_TRUE=
 
15357
  HAVE_BACON_FALSE='#'
 
15358
else
 
15359
  HAVE_BACON_TRUE='#'
 
15360
  HAVE_BACON_FALSE=
 
15361
fi
 
15362
 
 
15363
 
 
15364
{ $as_echo "$as_me:$LINENO: checking for default IPC mechanism" >&5
13364
15365
$as_echo_n "checking for default IPC mechanism... " >&6; }
13365
 
if test "x$have_dbus" = "xyes"; then :
 
15366
if test "x$have_dbus" = "xyes"; then
13366
15367
 
13367
15368
        UNIQUE_DEFAULT_BACKEND=dbus
13368
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: D-Bus" >&5
 
15369
        { $as_echo "$as_me:$LINENO: result: D-Bus" >&5
13369
15370
$as_echo "D-Bus" >&6; }
13370
15371
 
13371
 
elif test "x$have_bacon" = "xyes"; then :
 
15372
elif test "x$have_bacon" = "xyes"; then
13372
15373
 
13373
15374
        UNIQUE_DEFAULT_BACKEND=bacon
13374
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Unix domain sockets" >&5
 
15375
        { $as_echo "$as_me:$LINENO: result: Unix domain sockets" >&5
13375
15376
$as_echo "Unix domain sockets" >&6; }
13376
15377
 
13377
15378
else
13378
 
  as_fn_error "No IPC backend enabled." "$LINENO" 5
 
15379
  { { $as_echo "$as_me:$LINENO: error: No IPC backend enabled." >&5
 
15380
$as_echo "$as_me: error: No IPC backend enabled." >&2;}
 
15381
   { (exit 1); exit 1; }; }
13379
15382
 
13380
15383
fi
13381
15384
 
13382
15385
 
13383
15386
 
 
15387
 
13384
15388
# use strict compiler flags only on development releases
13385
15389
 
13386
15390
# Check whether --enable-maintainer-flags was given.
13387
 
if test "${enable_maintainer_flags+set}" = set; then :
 
15391
if test "${enable_maintainer_flags+set}" = set; then
13388
15392
  enableval=$enable_maintainer_flags;
13389
15393
else
13390
15394
  enable_maintainer_flags=yes
13391
15395
fi
13392
15396
 
13393
15397
 
13394
 
if test "x$enable_maintainer_flags" = "xyes" &&  test "x$GCC" = "xyes"; then :
 
15398
if test "x$enable_maintainer_flags" = "xyes" &&  test "x$GCC" = "xyes"; then
13395
15399
 
13396
15400
 
13397
15401
  list="-Werror -Wall -Wshadow -Wcast-align
13399
15403
                            -Winit-self"
13400
15404
  flags_supported=""
13401
15405
  flags_unsupported=""
13402
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported compiler flags" >&5
 
15406
  { $as_echo "$as_me:$LINENO: checking for supported compiler flags" >&5
13403
15407
$as_echo_n "checking for supported compiler flags... " >&6; }
13404
15408
  for each in $list
13405
15409
  do
13406
15410
    save_CFLAGS="$CFLAGS"
13407
15411
    CFLAGS="$CFLAGS $each"
13408
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15412
    cat >conftest.$ac_ext <<_ACEOF
 
15413
/* confdefs.h.  */
 
15414
_ACEOF
 
15415
cat confdefs.h >>conftest.$ac_ext
 
15416
cat >>conftest.$ac_ext <<_ACEOF
13409
15417
/* end confdefs.h.  */
13410
15418
 
13411
15419
int
13416
15424
  return 0;
13417
15425
}
13418
15426
_ACEOF
13419
 
if ac_fn_c_try_compile "$LINENO"; then :
 
15427
rm -f conftest.$ac_objext
 
15428
if { (ac_try="$ac_compile"
 
15429
case "(($ac_try" in
 
15430
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15431
  *) ac_try_echo=$ac_try;;
 
15432
esac
 
15433
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15434
$as_echo "$ac_try_echo") >&5
 
15435
  (eval "$ac_compile") 2>conftest.er1
 
15436
  ac_status=$?
 
15437
  grep -v '^ *+' conftest.er1 >conftest.err
 
15438
  rm -f conftest.er1
 
15439
  cat conftest.err >&5
 
15440
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15441
  (exit $ac_status); } && {
 
15442
         test -z "$ac_c_werror_flag" ||
 
15443
         test ! -s conftest.err
 
15444
       } && test -s conftest.$ac_objext; then
13420
15445
  flag_ok=yes
13421
15446
else
13422
 
  flag_ok=no
 
15447
  $as_echo "$as_me: failed program was:" >&5
 
15448
sed 's/^/| /' conftest.$ac_ext >&5
 
15449
 
 
15450
        flag_ok=no
13423
15451
fi
 
15452
 
13424
15453
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13425
15454
    CFLAGS="$save_CFLAGS"
13426
15455
 
13430
15459
      flags_unsupported="$flags_unsupported $each"
13431
15460
    fi
13432
15461
  done
13433
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flags_supported" >&5
 
15462
  { $as_echo "$as_me:$LINENO: result: $flags_supported" >&5
13434
15463
$as_echo "$flags_supported" >&6; }
13435
15464
  if test "X$flags_unsupported" != X ; then
13436
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unsupported compiler flags: $flags_unsupported" >&5
 
15465
    { $as_echo "$as_me:$LINENO: WARNING: unsupported compiler flags: $flags_unsupported" >&5
13437
15466
$as_echo "$as_me: WARNING: unsupported compiler flags: $flags_unsupported" >&2;}
13438
15467
  fi
13439
15468
  MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS $flags_supported"
13444
15473
 
13445
15474
 
13446
15475
 
 
15476
 
13447
15477
# enable debug flags and symbols
13448
15478
 
13449
15479
# Check whether --enable-debug was given.
13450
 
if test "${enable_debug+set}" = set; then :
 
15480
if test "${enable_debug+set}" = set; then
13451
15481
  enableval=$enable_debug;
13452
15482
else
13453
15483
  enable_debug=yes
13454
15484
fi
13455
15485
 
13456
15486
 
13457
 
case $enable_debug in #(
13458
 
  yes) :
13459
 
 
 
15487
case $enable_debug in
 
15488
  yes)
13460
15489
          test "$cflags_set" = set || CFLAGS="$CFLAGS -g"
13461
15490
          UNIQUE_DEBUG_CFLAGS="-DUNIQUE_ENABLE_DEBUG"
13462
 
         ;; #(
13463
 
  no) :
13464
 
 
 
15491
         ;;
 
15492
  no)
13465
15493
          UNIQUE_DEBUG_CFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS"
13466
 
         ;; #(
13467
 
  minimum) :
13468
 
 
 
15494
         ;;
 
15495
  minimum)
13469
15496
          UNIQUE_DEBUG_CFLAGS="-DG_DISABLE_CAST_CHECKS"
13470
15497
 
13471
15498
 
13472
 
        as_fn_error "Unknown argument to --enable-debug" "$LINENO" 5
13473
 
 ;; #(
13474
 
  *) :
13475
 
     ;;
 
15499
        { { $as_echo "$as_me:$LINENO: error: Unknown argument to --enable-debug" >&5
 
15500
$as_echo "$as_me: error: Unknown argument to --enable-debug" >&2;}
 
15501
   { (exit 1); exit 1; }; }
 
15502
 ;;
13476
15503
esac
13477
15504
 
13478
15505
 
13479
15506
 
 
15507
 
13480
15508
# i18n stuff
13481
15509
ALL_LINGUAS=""
13482
15510
 
13483
 
   for ac_header in locale.h
13484
 
do :
13485
 
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
13486
 
if test "x$ac_cv_header_locale_h" = x""yes; then :
 
15511
 
 
15512
for ac_header in locale.h
 
15513
do
 
15514
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
15515
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
15516
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
15517
$as_echo_n "checking for $ac_header... " >&6; }
 
15518
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
15519
  $as_echo_n "(cached) " >&6
 
15520
fi
 
15521
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
15522
                 $as_echo "$as_val"'`
 
15523
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
15524
$as_echo "$ac_res" >&6; }
 
15525
else
 
15526
  # Is the header compilable?
 
15527
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
15528
$as_echo_n "checking $ac_header usability... " >&6; }
 
15529
cat >conftest.$ac_ext <<_ACEOF
 
15530
/* confdefs.h.  */
 
15531
_ACEOF
 
15532
cat confdefs.h >>conftest.$ac_ext
 
15533
cat >>conftest.$ac_ext <<_ACEOF
 
15534
/* end confdefs.h.  */
 
15535
$ac_includes_default
 
15536
#include <$ac_header>
 
15537
_ACEOF
 
15538
rm -f conftest.$ac_objext
 
15539
if { (ac_try="$ac_compile"
 
15540
case "(($ac_try" in
 
15541
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15542
  *) ac_try_echo=$ac_try;;
 
15543
esac
 
15544
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15545
$as_echo "$ac_try_echo") >&5
 
15546
  (eval "$ac_compile") 2>conftest.er1
 
15547
  ac_status=$?
 
15548
  grep -v '^ *+' conftest.er1 >conftest.err
 
15549
  rm -f conftest.er1
 
15550
  cat conftest.err >&5
 
15551
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15552
  (exit $ac_status); } && {
 
15553
         test -z "$ac_c_werror_flag" ||
 
15554
         test ! -s conftest.err
 
15555
       } && test -s conftest.$ac_objext; then
 
15556
  ac_header_compiler=yes
 
15557
else
 
15558
  $as_echo "$as_me: failed program was:" >&5
 
15559
sed 's/^/| /' conftest.$ac_ext >&5
 
15560
 
 
15561
        ac_header_compiler=no
 
15562
fi
 
15563
 
 
15564
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15565
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
15566
$as_echo "$ac_header_compiler" >&6; }
 
15567
 
 
15568
# Is the header present?
 
15569
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
15570
$as_echo_n "checking $ac_header presence... " >&6; }
 
15571
cat >conftest.$ac_ext <<_ACEOF
 
15572
/* confdefs.h.  */
 
15573
_ACEOF
 
15574
cat confdefs.h >>conftest.$ac_ext
 
15575
cat >>conftest.$ac_ext <<_ACEOF
 
15576
/* end confdefs.h.  */
 
15577
#include <$ac_header>
 
15578
_ACEOF
 
15579
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
15580
case "(($ac_try" in
 
15581
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15582
  *) ac_try_echo=$ac_try;;
 
15583
esac
 
15584
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15585
$as_echo "$ac_try_echo") >&5
 
15586
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
15587
  ac_status=$?
 
15588
  grep -v '^ *+' conftest.er1 >conftest.err
 
15589
  rm -f conftest.er1
 
15590
  cat conftest.err >&5
 
15591
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15592
  (exit $ac_status); } >/dev/null && {
 
15593
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
15594
         test ! -s conftest.err
 
15595
       }; then
 
15596
  ac_header_preproc=yes
 
15597
else
 
15598
  $as_echo "$as_me: failed program was:" >&5
 
15599
sed 's/^/| /' conftest.$ac_ext >&5
 
15600
 
 
15601
  ac_header_preproc=no
 
15602
fi
 
15603
 
 
15604
rm -f conftest.err conftest.$ac_ext
 
15605
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
15606
$as_echo "$ac_header_preproc" >&6; }
 
15607
 
 
15608
# So?  What about this header?
 
15609
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
15610
  yes:no: )
 
15611
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
15612
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
15613
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
15614
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
15615
    ac_header_preproc=yes
 
15616
    ;;
 
15617
  no:yes:* )
 
15618
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
15619
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
15620
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
15621
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
15622
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
15623
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
15624
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
15625
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
15626
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
15627
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
15628
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
15629
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
15630
    ( cat <<\_ASBOX
 
15631
## ------------------------------------------------------------------------ ##
 
15632
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=libunique ##
 
15633
## ------------------------------------------------------------------------ ##
 
15634
_ASBOX
 
15635
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
15636
    ;;
 
15637
esac
 
15638
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
15639
$as_echo_n "checking for $ac_header... " >&6; }
 
15640
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
15641
  $as_echo_n "(cached) " >&6
 
15642
else
 
15643
  eval "$as_ac_Header=\$ac_header_preproc"
 
15644
fi
 
15645
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
15646
                 $as_echo "$as_val"'`
 
15647
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
15648
$as_echo "$ac_res" >&6; }
 
15649
 
 
15650
fi
 
15651
as_val=`eval 'as_val=${'$as_ac_Header'}
 
15652
                 $as_echo "$as_val"'`
 
15653
   if test "x$as_val" = x""yes; then
13487
15654
  cat >>confdefs.h <<_ACEOF
13488
 
#define HAVE_LOCALE_H 1
 
15655
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13489
15656
_ACEOF
13490
15657
 
13491
15658
fi
13493
15660
done
13494
15661
 
13495
15662
    if test $ac_cv_header_locale_h = yes; then
13496
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
 
15663
    { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
13497
15664
$as_echo_n "checking for LC_MESSAGES... " >&6; }
13498
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
 
15665
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
13499
15666
  $as_echo_n "(cached) " >&6
13500
15667
else
13501
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15668
  cat >conftest.$ac_ext <<_ACEOF
 
15669
/* confdefs.h.  */
 
15670
_ACEOF
 
15671
cat confdefs.h >>conftest.$ac_ext
 
15672
cat >>conftest.$ac_ext <<_ACEOF
13502
15673
/* end confdefs.h.  */
13503
15674
#include <locale.h>
13504
15675
int
13509
15680
  return 0;
13510
15681
}
13511
15682
_ACEOF
13512
 
if ac_fn_c_try_link "$LINENO"; then :
 
15683
rm -f conftest.$ac_objext conftest$ac_exeext
 
15684
if { (ac_try="$ac_link"
 
15685
case "(($ac_try" in
 
15686
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15687
  *) ac_try_echo=$ac_try;;
 
15688
esac
 
15689
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15690
$as_echo "$ac_try_echo") >&5
 
15691
  (eval "$ac_link") 2>conftest.er1
 
15692
  ac_status=$?
 
15693
  grep -v '^ *+' conftest.er1 >conftest.err
 
15694
  rm -f conftest.er1
 
15695
  cat conftest.err >&5
 
15696
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15697
  (exit $ac_status); } && {
 
15698
         test -z "$ac_c_werror_flag" ||
 
15699
         test ! -s conftest.err
 
15700
       } && test -s conftest$ac_exeext && {
 
15701
         test "$cross_compiling" = yes ||
 
15702
         $as_test_x conftest$ac_exeext
 
15703
       }; then
13513
15704
  am_cv_val_LC_MESSAGES=yes
13514
15705
else
13515
 
  am_cv_val_LC_MESSAGES=no
13516
 
fi
13517
 
rm -f core conftest.err conftest.$ac_objext \
13518
 
    conftest$ac_exeext conftest.$ac_ext
13519
 
fi
13520
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
 
15706
  $as_echo "$as_me: failed program was:" >&5
 
15707
sed 's/^/| /' conftest.$ac_ext >&5
 
15708
 
 
15709
        am_cv_val_LC_MESSAGES=no
 
15710
fi
 
15711
 
 
15712
rm -rf conftest.dSYM
 
15713
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
15714
      conftest$ac_exeext conftest.$ac_ext
 
15715
fi
 
15716
{ $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
13521
15717
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
13522
15718
    if test $am_cv_val_LC_MESSAGES = yes; then
13523
15719
 
13524
 
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
 
15720
cat >>confdefs.h <<\_ACEOF
 
15721
#define HAVE_LC_MESSAGES 1
 
15722
_ACEOF
13525
15723
 
13526
15724
    fi
13527
15725
  fi
13534
15732
    XGETTEXT=:
13535
15733
    INTLLIBS=
13536
15734
 
13537
 
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
13538
 
if test "x$ac_cv_header_libintl_h" = x""yes; then :
 
15735
    if test "${ac_cv_header_libintl_h+set}" = set; then
 
15736
  { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
 
15737
$as_echo_n "checking for libintl.h... " >&6; }
 
15738
if test "${ac_cv_header_libintl_h+set}" = set; then
 
15739
  $as_echo_n "(cached) " >&6
 
15740
fi
 
15741
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
15742
$as_echo "$ac_cv_header_libintl_h" >&6; }
 
15743
else
 
15744
  # Is the header compilable?
 
15745
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
 
15746
$as_echo_n "checking libintl.h usability... " >&6; }
 
15747
cat >conftest.$ac_ext <<_ACEOF
 
15748
/* confdefs.h.  */
 
15749
_ACEOF
 
15750
cat confdefs.h >>conftest.$ac_ext
 
15751
cat >>conftest.$ac_ext <<_ACEOF
 
15752
/* end confdefs.h.  */
 
15753
$ac_includes_default
 
15754
#include <libintl.h>
 
15755
_ACEOF
 
15756
rm -f conftest.$ac_objext
 
15757
if { (ac_try="$ac_compile"
 
15758
case "(($ac_try" in
 
15759
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15760
  *) ac_try_echo=$ac_try;;
 
15761
esac
 
15762
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15763
$as_echo "$ac_try_echo") >&5
 
15764
  (eval "$ac_compile") 2>conftest.er1
 
15765
  ac_status=$?
 
15766
  grep -v '^ *+' conftest.er1 >conftest.err
 
15767
  rm -f conftest.er1
 
15768
  cat conftest.err >&5
 
15769
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15770
  (exit $ac_status); } && {
 
15771
         test -z "$ac_c_werror_flag" ||
 
15772
         test ! -s conftest.err
 
15773
       } && test -s conftest.$ac_objext; then
 
15774
  ac_header_compiler=yes
 
15775
else
 
15776
  $as_echo "$as_me: failed program was:" >&5
 
15777
sed 's/^/| /' conftest.$ac_ext >&5
 
15778
 
 
15779
        ac_header_compiler=no
 
15780
fi
 
15781
 
 
15782
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15783
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
15784
$as_echo "$ac_header_compiler" >&6; }
 
15785
 
 
15786
# Is the header present?
 
15787
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
 
15788
$as_echo_n "checking libintl.h presence... " >&6; }
 
15789
cat >conftest.$ac_ext <<_ACEOF
 
15790
/* confdefs.h.  */
 
15791
_ACEOF
 
15792
cat confdefs.h >>conftest.$ac_ext
 
15793
cat >>conftest.$ac_ext <<_ACEOF
 
15794
/* end confdefs.h.  */
 
15795
#include <libintl.h>
 
15796
_ACEOF
 
15797
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
15798
case "(($ac_try" in
 
15799
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15800
  *) ac_try_echo=$ac_try;;
 
15801
esac
 
15802
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15803
$as_echo "$ac_try_echo") >&5
 
15804
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
15805
  ac_status=$?
 
15806
  grep -v '^ *+' conftest.er1 >conftest.err
 
15807
  rm -f conftest.er1
 
15808
  cat conftest.err >&5
 
15809
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15810
  (exit $ac_status); } >/dev/null && {
 
15811
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
15812
         test ! -s conftest.err
 
15813
       }; then
 
15814
  ac_header_preproc=yes
 
15815
else
 
15816
  $as_echo "$as_me: failed program was:" >&5
 
15817
sed 's/^/| /' conftest.$ac_ext >&5
 
15818
 
 
15819
  ac_header_preproc=no
 
15820
fi
 
15821
 
 
15822
rm -f conftest.err conftest.$ac_ext
 
15823
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
15824
$as_echo "$ac_header_preproc" >&6; }
 
15825
 
 
15826
# So?  What about this header?
 
15827
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
15828
  yes:no: )
 
15829
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
15830
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
15831
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
 
15832
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
 
15833
    ac_header_preproc=yes
 
15834
    ;;
 
15835
  no:yes:* )
 
15836
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
 
15837
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
 
15838
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
 
15839
$as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
 
15840
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
 
15841
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
 
15842
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
 
15843
$as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
15844
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
 
15845
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
 
15846
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
 
15847
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
 
15848
    ( cat <<\_ASBOX
 
15849
## ------------------------------------------------------------------------ ##
 
15850
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=libunique ##
 
15851
## ------------------------------------------------------------------------ ##
 
15852
_ASBOX
 
15853
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
15854
    ;;
 
15855
esac
 
15856
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
 
15857
$as_echo_n "checking for libintl.h... " >&6; }
 
15858
if test "${ac_cv_header_libintl_h+set}" = set; then
 
15859
  $as_echo_n "(cached) " >&6
 
15860
else
 
15861
  ac_cv_header_libintl_h=$ac_header_preproc
 
15862
fi
 
15863
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
15864
$as_echo "$ac_cv_header_libintl_h" >&6; }
 
15865
 
 
15866
fi
 
15867
if test "x$ac_cv_header_libintl_h" = x""yes; then
13539
15868
  gt_cv_func_dgettext_libintl="no"
13540
15869
      libintl_extra_libs=""
13541
15870
 
13542
15871
      #
13543
15872
      # First check in libc
13544
15873
      #
13545
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
 
15874
      { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
13546
15875
$as_echo_n "checking for ngettext in libc... " >&6; }
13547
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
 
15876
if test "${gt_cv_func_ngettext_libc+set}" = set; then
13548
15877
  $as_echo_n "(cached) " >&6
13549
15878
else
13550
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15879
  cat >conftest.$ac_ext <<_ACEOF
 
15880
/* confdefs.h.  */
 
15881
_ACEOF
 
15882
cat confdefs.h >>conftest.$ac_ext
 
15883
cat >>conftest.$ac_ext <<_ACEOF
13551
15884
/* end confdefs.h.  */
13552
15885
 
13553
15886
#include <libintl.h>
13560
15893
  return 0;
13561
15894
}
13562
15895
_ACEOF
13563
 
if ac_fn_c_try_link "$LINENO"; then :
 
15896
rm -f conftest.$ac_objext conftest$ac_exeext
 
15897
if { (ac_try="$ac_link"
 
15898
case "(($ac_try" in
 
15899
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15900
  *) ac_try_echo=$ac_try;;
 
15901
esac
 
15902
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15903
$as_echo "$ac_try_echo") >&5
 
15904
  (eval "$ac_link") 2>conftest.er1
 
15905
  ac_status=$?
 
15906
  grep -v '^ *+' conftest.er1 >conftest.err
 
15907
  rm -f conftest.er1
 
15908
  cat conftest.err >&5
 
15909
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15910
  (exit $ac_status); } && {
 
15911
         test -z "$ac_c_werror_flag" ||
 
15912
         test ! -s conftest.err
 
15913
       } && test -s conftest$ac_exeext && {
 
15914
         test "$cross_compiling" = yes ||
 
15915
         $as_test_x conftest$ac_exeext
 
15916
       }; then
13564
15917
  gt_cv_func_ngettext_libc=yes
13565
15918
else
13566
 
  gt_cv_func_ngettext_libc=no
13567
 
fi
13568
 
rm -f core conftest.err conftest.$ac_objext \
13569
 
    conftest$ac_exeext conftest.$ac_ext
13570
 
 
13571
 
fi
13572
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
 
15919
  $as_echo "$as_me: failed program was:" >&5
 
15920
sed 's/^/| /' conftest.$ac_ext >&5
 
15921
 
 
15922
        gt_cv_func_ngettext_libc=no
 
15923
fi
 
15924
 
 
15925
rm -rf conftest.dSYM
 
15926
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
15927
      conftest$ac_exeext conftest.$ac_ext
 
15928
 
 
15929
fi
 
15930
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
13573
15931
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
13574
15932
 
13575
15933
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13576
 
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
 
15934
              { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
13577
15935
$as_echo_n "checking for dgettext in libc... " >&6; }
13578
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
 
15936
if test "${gt_cv_func_dgettext_libc+set}" = set; then
13579
15937
  $as_echo_n "(cached) " >&6
13580
15938
else
13581
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15939
  cat >conftest.$ac_ext <<_ACEOF
 
15940
/* confdefs.h.  */
 
15941
_ACEOF
 
15942
cat confdefs.h >>conftest.$ac_ext
 
15943
cat >>conftest.$ac_ext <<_ACEOF
13582
15944
/* end confdefs.h.  */
13583
15945
 
13584
15946
#include <libintl.h>
13591
15953
  return 0;
13592
15954
}
13593
15955
_ACEOF
13594
 
if ac_fn_c_try_link "$LINENO"; then :
 
15956
rm -f conftest.$ac_objext conftest$ac_exeext
 
15957
if { (ac_try="$ac_link"
 
15958
case "(($ac_try" in
 
15959
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15960
  *) ac_try_echo=$ac_try;;
 
15961
esac
 
15962
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15963
$as_echo "$ac_try_echo") >&5
 
15964
  (eval "$ac_link") 2>conftest.er1
 
15965
  ac_status=$?
 
15966
  grep -v '^ *+' conftest.er1 >conftest.err
 
15967
  rm -f conftest.er1
 
15968
  cat conftest.err >&5
 
15969
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15970
  (exit $ac_status); } && {
 
15971
         test -z "$ac_c_werror_flag" ||
 
15972
         test ! -s conftest.err
 
15973
       } && test -s conftest$ac_exeext && {
 
15974
         test "$cross_compiling" = yes ||
 
15975
         $as_test_x conftest$ac_exeext
 
15976
       }; then
13595
15977
  gt_cv_func_dgettext_libc=yes
13596
15978
else
13597
 
  gt_cv_func_dgettext_libc=no
13598
 
fi
13599
 
rm -f core conftest.err conftest.$ac_objext \
13600
 
    conftest$ac_exeext conftest.$ac_ext
13601
 
 
13602
 
fi
13603
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
 
15979
  $as_echo "$as_me: failed program was:" >&5
 
15980
sed 's/^/| /' conftest.$ac_ext >&5
 
15981
 
 
15982
        gt_cv_func_dgettext_libc=no
 
15983
fi
 
15984
 
 
15985
rm -rf conftest.dSYM
 
15986
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
15987
      conftest$ac_exeext conftest.$ac_ext
 
15988
 
 
15989
fi
 
15990
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
13604
15991
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
13605
15992
      fi
13606
15993
 
13607
15994
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13608
 
        for ac_func in bind_textdomain_codeset
13609
 
do :
13610
 
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13611
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
15995
 
 
15996
for ac_func in bind_textdomain_codeset
 
15997
do
 
15998
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
15999
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
16000
$as_echo_n "checking for $ac_func... " >&6; }
 
16001
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
16002
  $as_echo_n "(cached) " >&6
 
16003
else
 
16004
  cat >conftest.$ac_ext <<_ACEOF
 
16005
/* confdefs.h.  */
 
16006
_ACEOF
 
16007
cat confdefs.h >>conftest.$ac_ext
 
16008
cat >>conftest.$ac_ext <<_ACEOF
 
16009
/* end confdefs.h.  */
 
16010
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
16011
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
16012
#define $ac_func innocuous_$ac_func
 
16013
 
 
16014
/* System header to define __stub macros and hopefully few prototypes,
 
16015
    which can conflict with char $ac_func (); below.
 
16016
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
16017
    <limits.h> exists even on freestanding compilers.  */
 
16018
 
 
16019
#ifdef __STDC__
 
16020
# include <limits.h>
 
16021
#else
 
16022
# include <assert.h>
 
16023
#endif
 
16024
 
 
16025
#undef $ac_func
 
16026
 
 
16027
/* Override any GCC internal prototype to avoid an error.
 
16028
   Use char because int might match the return type of a GCC
 
16029
   builtin and then its argument prototype would still apply.  */
 
16030
#ifdef __cplusplus
 
16031
extern "C"
 
16032
#endif
 
16033
char $ac_func ();
 
16034
/* The GNU C library defines this for functions which it implements
 
16035
    to always fail with ENOSYS.  Some functions are actually named
 
16036
    something starting with __ and the normal name is an alias.  */
 
16037
#if defined __stub_$ac_func || defined __stub___$ac_func
 
16038
choke me
 
16039
#endif
 
16040
 
 
16041
int
 
16042
main ()
 
16043
{
 
16044
return $ac_func ();
 
16045
  ;
 
16046
  return 0;
 
16047
}
 
16048
_ACEOF
 
16049
rm -f conftest.$ac_objext conftest$ac_exeext
 
16050
if { (ac_try="$ac_link"
 
16051
case "(($ac_try" in
 
16052
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16053
  *) ac_try_echo=$ac_try;;
 
16054
esac
 
16055
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16056
$as_echo "$ac_try_echo") >&5
 
16057
  (eval "$ac_link") 2>conftest.er1
 
16058
  ac_status=$?
 
16059
  grep -v '^ *+' conftest.er1 >conftest.err
 
16060
  rm -f conftest.er1
 
16061
  cat conftest.err >&5
 
16062
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16063
  (exit $ac_status); } && {
 
16064
         test -z "$ac_c_werror_flag" ||
 
16065
         test ! -s conftest.err
 
16066
       } && test -s conftest$ac_exeext && {
 
16067
         test "$cross_compiling" = yes ||
 
16068
         $as_test_x conftest$ac_exeext
 
16069
       }; then
 
16070
  eval "$as_ac_var=yes"
 
16071
else
 
16072
  $as_echo "$as_me: failed program was:" >&5
 
16073
sed 's/^/| /' conftest.$ac_ext >&5
 
16074
 
 
16075
        eval "$as_ac_var=no"
 
16076
fi
 
16077
 
 
16078
rm -rf conftest.dSYM
 
16079
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
16080
      conftest$ac_exeext conftest.$ac_ext
 
16081
fi
 
16082
ac_res=`eval 'as_val=${'$as_ac_var'}
 
16083
                 $as_echo "$as_val"'`
 
16084
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
16085
$as_echo "$ac_res" >&6; }
 
16086
as_val=`eval 'as_val=${'$as_ac_var'}
 
16087
                 $as_echo "$as_val"'`
 
16088
   if test "x$as_val" = x""yes; then
13612
16089
  cat >>confdefs.h <<_ACEOF
13613
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
16090
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13614
16091
_ACEOF
13615
16092
 
13616
16093
fi
13625
16102
         || test "$gt_cv_func_ngettext_libc" != "yes" \
13626
16103
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
13627
16104
 
13628
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
 
16105
        { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
13629
16106
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
13630
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
 
16107
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
13631
16108
  $as_echo_n "(cached) " >&6
13632
16109
else
13633
16110
  ac_check_lib_save_LIBS=$LIBS
13634
16111
LIBS="-lintl  $LIBS"
13635
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16112
cat >conftest.$ac_ext <<_ACEOF
 
16113
/* confdefs.h.  */
 
16114
_ACEOF
 
16115
cat confdefs.h >>conftest.$ac_ext
 
16116
cat >>conftest.$ac_ext <<_ACEOF
13636
16117
/* end confdefs.h.  */
13637
16118
 
13638
16119
/* Override any GCC internal prototype to avoid an error.
13650
16131
  return 0;
13651
16132
}
13652
16133
_ACEOF
13653
 
if ac_fn_c_try_link "$LINENO"; then :
 
16134
rm -f conftest.$ac_objext conftest$ac_exeext
 
16135
if { (ac_try="$ac_link"
 
16136
case "(($ac_try" in
 
16137
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16138
  *) ac_try_echo=$ac_try;;
 
16139
esac
 
16140
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16141
$as_echo "$ac_try_echo") >&5
 
16142
  (eval "$ac_link") 2>conftest.er1
 
16143
  ac_status=$?
 
16144
  grep -v '^ *+' conftest.er1 >conftest.err
 
16145
  rm -f conftest.er1
 
16146
  cat conftest.err >&5
 
16147
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16148
  (exit $ac_status); } && {
 
16149
         test -z "$ac_c_werror_flag" ||
 
16150
         test ! -s conftest.err
 
16151
       } && test -s conftest$ac_exeext && {
 
16152
         test "$cross_compiling" = yes ||
 
16153
         $as_test_x conftest$ac_exeext
 
16154
       }; then
13654
16155
  ac_cv_lib_intl_bindtextdomain=yes
13655
16156
else
13656
 
  ac_cv_lib_intl_bindtextdomain=no
 
16157
  $as_echo "$as_me: failed program was:" >&5
 
16158
sed 's/^/| /' conftest.$ac_ext >&5
 
16159
 
 
16160
        ac_cv_lib_intl_bindtextdomain=no
13657
16161
fi
13658
 
rm -f core conftest.err conftest.$ac_objext \
13659
 
    conftest$ac_exeext conftest.$ac_ext
 
16162
 
 
16163
rm -rf conftest.dSYM
 
16164
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
16165
      conftest$ac_exeext conftest.$ac_ext
13660
16166
LIBS=$ac_check_lib_save_LIBS
13661
16167
fi
13662
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
16168
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
13663
16169
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
13664
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
13665
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
16170
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
 
16171
  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
13666
16172
$as_echo_n "checking for ngettext in -lintl... " >&6; }
13667
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
16173
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
13668
16174
  $as_echo_n "(cached) " >&6
13669
16175
else
13670
16176
  ac_check_lib_save_LIBS=$LIBS
13671
16177
LIBS="-lintl  $LIBS"
13672
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16178
cat >conftest.$ac_ext <<_ACEOF
 
16179
/* confdefs.h.  */
 
16180
_ACEOF
 
16181
cat confdefs.h >>conftest.$ac_ext
 
16182
cat >>conftest.$ac_ext <<_ACEOF
13673
16183
/* end confdefs.h.  */
13674
16184
 
13675
16185
/* Override any GCC internal prototype to avoid an error.
13687
16197
  return 0;
13688
16198
}
13689
16199
_ACEOF
13690
 
if ac_fn_c_try_link "$LINENO"; then :
 
16200
rm -f conftest.$ac_objext conftest$ac_exeext
 
16201
if { (ac_try="$ac_link"
 
16202
case "(($ac_try" in
 
16203
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16204
  *) ac_try_echo=$ac_try;;
 
16205
esac
 
16206
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16207
$as_echo "$ac_try_echo") >&5
 
16208
  (eval "$ac_link") 2>conftest.er1
 
16209
  ac_status=$?
 
16210
  grep -v '^ *+' conftest.er1 >conftest.err
 
16211
  rm -f conftest.er1
 
16212
  cat conftest.err >&5
 
16213
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16214
  (exit $ac_status); } && {
 
16215
         test -z "$ac_c_werror_flag" ||
 
16216
         test ! -s conftest.err
 
16217
       } && test -s conftest$ac_exeext && {
 
16218
         test "$cross_compiling" = yes ||
 
16219
         $as_test_x conftest$ac_exeext
 
16220
       }; then
13691
16221
  ac_cv_lib_intl_ngettext=yes
13692
16222
else
13693
 
  ac_cv_lib_intl_ngettext=no
 
16223
  $as_echo "$as_me: failed program was:" >&5
 
16224
sed 's/^/| /' conftest.$ac_ext >&5
 
16225
 
 
16226
        ac_cv_lib_intl_ngettext=no
13694
16227
fi
13695
 
rm -f core conftest.err conftest.$ac_objext \
13696
 
    conftest$ac_exeext conftest.$ac_ext
 
16228
 
 
16229
rm -rf conftest.dSYM
 
16230
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
16231
      conftest$ac_exeext conftest.$ac_ext
13697
16232
LIBS=$ac_check_lib_save_LIBS
13698
16233
fi
13699
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
16234
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
13700
16235
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13701
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
13702
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
 
16236
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
 
16237
  { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
13703
16238
$as_echo_n "checking for dgettext in -lintl... " >&6; }
13704
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
 
16239
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
13705
16240
  $as_echo_n "(cached) " >&6
13706
16241
else
13707
16242
  ac_check_lib_save_LIBS=$LIBS
13708
16243
LIBS="-lintl  $LIBS"
13709
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16244
cat >conftest.$ac_ext <<_ACEOF
 
16245
/* confdefs.h.  */
 
16246
_ACEOF
 
16247
cat confdefs.h >>conftest.$ac_ext
 
16248
cat >>conftest.$ac_ext <<_ACEOF
13710
16249
/* end confdefs.h.  */
13711
16250
 
13712
16251
/* Override any GCC internal prototype to avoid an error.
13724
16263
  return 0;
13725
16264
}
13726
16265
_ACEOF
13727
 
if ac_fn_c_try_link "$LINENO"; then :
 
16266
rm -f conftest.$ac_objext conftest$ac_exeext
 
16267
if { (ac_try="$ac_link"
 
16268
case "(($ac_try" in
 
16269
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16270
  *) ac_try_echo=$ac_try;;
 
16271
esac
 
16272
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16273
$as_echo "$ac_try_echo") >&5
 
16274
  (eval "$ac_link") 2>conftest.er1
 
16275
  ac_status=$?
 
16276
  grep -v '^ *+' conftest.er1 >conftest.err
 
16277
  rm -f conftest.er1
 
16278
  cat conftest.err >&5
 
16279
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16280
  (exit $ac_status); } && {
 
16281
         test -z "$ac_c_werror_flag" ||
 
16282
         test ! -s conftest.err
 
16283
       } && test -s conftest$ac_exeext && {
 
16284
         test "$cross_compiling" = yes ||
 
16285
         $as_test_x conftest$ac_exeext
 
16286
       }; then
13728
16287
  ac_cv_lib_intl_dgettext=yes
13729
16288
else
13730
 
  ac_cv_lib_intl_dgettext=no
 
16289
  $as_echo "$as_me: failed program was:" >&5
 
16290
sed 's/^/| /' conftest.$ac_ext >&5
 
16291
 
 
16292
        ac_cv_lib_intl_dgettext=no
13731
16293
fi
13732
 
rm -f core conftest.err conftest.$ac_objext \
13733
 
    conftest$ac_exeext conftest.$ac_ext
 
16294
 
 
16295
rm -rf conftest.dSYM
 
16296
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
16297
      conftest$ac_exeext conftest.$ac_ext
13734
16298
LIBS=$ac_check_lib_save_LIBS
13735
16299
fi
13736
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
 
16300
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
13737
16301
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
13738
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
 
16302
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
13739
16303
  gt_cv_func_dgettext_libintl=yes
13740
16304
fi
13741
16305
 
13745
16309
 
13746
16310
 
13747
16311
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
13748
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
 
16312
          { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
13749
16313
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
13750
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
 
16314
          { $as_echo "$as_me:$LINENO: result: " >&5
13751
16315
$as_echo "" >&6; }
13752
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
16316
          { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
13753
16317
$as_echo_n "checking for ngettext in -lintl... " >&6; }
13754
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
16318
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
13755
16319
  $as_echo_n "(cached) " >&6
13756
16320
else
13757
16321
  ac_check_lib_save_LIBS=$LIBS
13758
16322
LIBS="-lintl -liconv $LIBS"
13759
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16323
cat >conftest.$ac_ext <<_ACEOF
 
16324
/* confdefs.h.  */
 
16325
_ACEOF
 
16326
cat confdefs.h >>conftest.$ac_ext
 
16327
cat >>conftest.$ac_ext <<_ACEOF
13760
16328
/* end confdefs.h.  */
13761
16329
 
13762
16330
/* Override any GCC internal prototype to avoid an error.
13774
16342
  return 0;
13775
16343
}
13776
16344
_ACEOF
13777
 
if ac_fn_c_try_link "$LINENO"; then :
 
16345
rm -f conftest.$ac_objext conftest$ac_exeext
 
16346
if { (ac_try="$ac_link"
 
16347
case "(($ac_try" in
 
16348
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16349
  *) ac_try_echo=$ac_try;;
 
16350
esac
 
16351
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16352
$as_echo "$ac_try_echo") >&5
 
16353
  (eval "$ac_link") 2>conftest.er1
 
16354
  ac_status=$?
 
16355
  grep -v '^ *+' conftest.er1 >conftest.err
 
16356
  rm -f conftest.er1
 
16357
  cat conftest.err >&5
 
16358
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16359
  (exit $ac_status); } && {
 
16360
         test -z "$ac_c_werror_flag" ||
 
16361
         test ! -s conftest.err
 
16362
       } && test -s conftest$ac_exeext && {
 
16363
         test "$cross_compiling" = yes ||
 
16364
         $as_test_x conftest$ac_exeext
 
16365
       }; then
13778
16366
  ac_cv_lib_intl_ngettext=yes
13779
16367
else
13780
 
  ac_cv_lib_intl_ngettext=no
 
16368
  $as_echo "$as_me: failed program was:" >&5
 
16369
sed 's/^/| /' conftest.$ac_ext >&5
 
16370
 
 
16371
        ac_cv_lib_intl_ngettext=no
13781
16372
fi
13782
 
rm -f core conftest.err conftest.$ac_objext \
13783
 
    conftest$ac_exeext conftest.$ac_ext
 
16373
 
 
16374
rm -rf conftest.dSYM
 
16375
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
16376
      conftest$ac_exeext conftest.$ac_ext
13784
16377
LIBS=$ac_check_lib_save_LIBS
13785
16378
fi
13786
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
16379
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
13787
16380
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13788
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
13789
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
 
16381
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
 
16382
  { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
13790
16383
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
13791
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
 
16384
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
13792
16385
  $as_echo_n "(cached) " >&6
13793
16386
else
13794
16387
  ac_check_lib_save_LIBS=$LIBS
13795
16388
LIBS="-lintl -liconv $LIBS"
13796
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16389
cat >conftest.$ac_ext <<_ACEOF
 
16390
/* confdefs.h.  */
 
16391
_ACEOF
 
16392
cat confdefs.h >>conftest.$ac_ext
 
16393
cat >>conftest.$ac_ext <<_ACEOF
13797
16394
/* end confdefs.h.  */
13798
16395
 
13799
16396
/* Override any GCC internal prototype to avoid an error.
13811
16408
  return 0;
13812
16409
}
13813
16410
_ACEOF
13814
 
if ac_fn_c_try_link "$LINENO"; then :
 
16411
rm -f conftest.$ac_objext conftest$ac_exeext
 
16412
if { (ac_try="$ac_link"
 
16413
case "(($ac_try" in
 
16414
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16415
  *) ac_try_echo=$ac_try;;
 
16416
esac
 
16417
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16418
$as_echo "$ac_try_echo") >&5
 
16419
  (eval "$ac_link") 2>conftest.er1
 
16420
  ac_status=$?
 
16421
  grep -v '^ *+' conftest.er1 >conftest.err
 
16422
  rm -f conftest.er1
 
16423
  cat conftest.err >&5
 
16424
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16425
  (exit $ac_status); } && {
 
16426
         test -z "$ac_c_werror_flag" ||
 
16427
         test ! -s conftest.err
 
16428
       } && test -s conftest$ac_exeext && {
 
16429
         test "$cross_compiling" = yes ||
 
16430
         $as_test_x conftest$ac_exeext
 
16431
       }; then
13815
16432
  ac_cv_lib_intl_dcgettext=yes
13816
16433
else
13817
 
  ac_cv_lib_intl_dcgettext=no
 
16434
  $as_echo "$as_me: failed program was:" >&5
 
16435
sed 's/^/| /' conftest.$ac_ext >&5
 
16436
 
 
16437
        ac_cv_lib_intl_dcgettext=no
13818
16438
fi
13819
 
rm -f core conftest.err conftest.$ac_objext \
13820
 
    conftest$ac_exeext conftest.$ac_ext
 
16439
 
 
16440
rm -rf conftest.dSYM
 
16441
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
16442
      conftest$ac_exeext conftest.$ac_ext
13821
16443
LIBS=$ac_check_lib_save_LIBS
13822
16444
fi
13823
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
 
16445
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
13824
16446
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
13825
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
 
16447
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
13826
16448
  gt_cv_func_dgettext_libintl=yes
13827
16449
                        libintl_extra_libs=-liconv
13828
16450
else
13844
16466
          glib_save_LIBS="$LIBS"
13845
16467
          LIBS="$LIBS -lintl $libintl_extra_libs"
13846
16468
          unset ac_cv_func_bind_textdomain_codeset
13847
 
          for ac_func in bind_textdomain_codeset
13848
 
do :
13849
 
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13850
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
16469
 
 
16470
for ac_func in bind_textdomain_codeset
 
16471
do
 
16472
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
16473
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
16474
$as_echo_n "checking for $ac_func... " >&6; }
 
16475
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
16476
  $as_echo_n "(cached) " >&6
 
16477
else
 
16478
  cat >conftest.$ac_ext <<_ACEOF
 
16479
/* confdefs.h.  */
 
16480
_ACEOF
 
16481
cat confdefs.h >>conftest.$ac_ext
 
16482
cat >>conftest.$ac_ext <<_ACEOF
 
16483
/* end confdefs.h.  */
 
16484
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
16485
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
16486
#define $ac_func innocuous_$ac_func
 
16487
 
 
16488
/* System header to define __stub macros and hopefully few prototypes,
 
16489
    which can conflict with char $ac_func (); below.
 
16490
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
16491
    <limits.h> exists even on freestanding compilers.  */
 
16492
 
 
16493
#ifdef __STDC__
 
16494
# include <limits.h>
 
16495
#else
 
16496
# include <assert.h>
 
16497
#endif
 
16498
 
 
16499
#undef $ac_func
 
16500
 
 
16501
/* Override any GCC internal prototype to avoid an error.
 
16502
   Use char because int might match the return type of a GCC
 
16503
   builtin and then its argument prototype would still apply.  */
 
16504
#ifdef __cplusplus
 
16505
extern "C"
 
16506
#endif
 
16507
char $ac_func ();
 
16508
/* The GNU C library defines this for functions which it implements
 
16509
    to always fail with ENOSYS.  Some functions are actually named
 
16510
    something starting with __ and the normal name is an alias.  */
 
16511
#if defined __stub_$ac_func || defined __stub___$ac_func
 
16512
choke me
 
16513
#endif
 
16514
 
 
16515
int
 
16516
main ()
 
16517
{
 
16518
return $ac_func ();
 
16519
  ;
 
16520
  return 0;
 
16521
}
 
16522
_ACEOF
 
16523
rm -f conftest.$ac_objext conftest$ac_exeext
 
16524
if { (ac_try="$ac_link"
 
16525
case "(($ac_try" in
 
16526
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16527
  *) ac_try_echo=$ac_try;;
 
16528
esac
 
16529
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16530
$as_echo "$ac_try_echo") >&5
 
16531
  (eval "$ac_link") 2>conftest.er1
 
16532
  ac_status=$?
 
16533
  grep -v '^ *+' conftest.er1 >conftest.err
 
16534
  rm -f conftest.er1
 
16535
  cat conftest.err >&5
 
16536
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16537
  (exit $ac_status); } && {
 
16538
         test -z "$ac_c_werror_flag" ||
 
16539
         test ! -s conftest.err
 
16540
       } && test -s conftest$ac_exeext && {
 
16541
         test "$cross_compiling" = yes ||
 
16542
         $as_test_x conftest$ac_exeext
 
16543
       }; then
 
16544
  eval "$as_ac_var=yes"
 
16545
else
 
16546
  $as_echo "$as_me: failed program was:" >&5
 
16547
sed 's/^/| /' conftest.$ac_ext >&5
 
16548
 
 
16549
        eval "$as_ac_var=no"
 
16550
fi
 
16551
 
 
16552
rm -rf conftest.dSYM
 
16553
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
16554
      conftest$ac_exeext conftest.$ac_ext
 
16555
fi
 
16556
ac_res=`eval 'as_val=${'$as_ac_var'}
 
16557
                 $as_echo "$as_val"'`
 
16558
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
16559
$as_echo "$ac_res" >&6; }
 
16560
as_val=`eval 'as_val=${'$as_ac_var'}
 
16561
                 $as_echo "$as_val"'`
 
16562
   if test "x$as_val" = x""yes; then
13851
16563
  cat >>confdefs.h <<_ACEOF
13852
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
16564
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13853
16565
_ACEOF
13854
16566
 
13855
16567
fi
13879
16591
 
13880
16592
      if test "$gt_cv_have_gettext" = "yes"; then
13881
16593
 
13882
 
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
16594
cat >>confdefs.h <<\_ACEOF
 
16595
#define HAVE_GETTEXT 1
 
16596
_ACEOF
13883
16597
 
13884
16598
        # Extract the first word of "msgfmt", so it can be a program name with args.
13885
16599
set dummy msgfmt; ac_word=$2
13886
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16600
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13887
16601
$as_echo_n "checking for $ac_word... " >&6; }
13888
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
16602
if test "${ac_cv_path_MSGFMT+set}" = set; then
13889
16603
  $as_echo_n "(cached) " >&6
13890
16604
else
13891
16605
  case "$MSGFMT" in
13910
16624
fi
13911
16625
MSGFMT="$ac_cv_path_MSGFMT"
13912
16626
if test "$MSGFMT" != "no"; then
13913
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
16627
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
13914
16628
$as_echo "$MSGFMT" >&6; }
13915
16629
else
13916
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16630
  { $as_echo "$as_me:$LINENO: result: no" >&5
13917
16631
$as_echo "no" >&6; }
13918
16632
fi
13919
16633
        if test "$MSGFMT" != "no"; then
13920
16634
          glib_save_LIBS="$LIBS"
13921
16635
          LIBS="$LIBS $INTLLIBS"
13922
 
          for ac_func in dcgettext
13923
 
do :
13924
 
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
13925
 
if test "x$ac_cv_func_dcgettext" = x""yes; then :
 
16636
 
 
16637
for ac_func in dcgettext
 
16638
do
 
16639
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
16640
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
16641
$as_echo_n "checking for $ac_func... " >&6; }
 
16642
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
16643
  $as_echo_n "(cached) " >&6
 
16644
else
 
16645
  cat >conftest.$ac_ext <<_ACEOF
 
16646
/* confdefs.h.  */
 
16647
_ACEOF
 
16648
cat confdefs.h >>conftest.$ac_ext
 
16649
cat >>conftest.$ac_ext <<_ACEOF
 
16650
/* end confdefs.h.  */
 
16651
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
16652
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
16653
#define $ac_func innocuous_$ac_func
 
16654
 
 
16655
/* System header to define __stub macros and hopefully few prototypes,
 
16656
    which can conflict with char $ac_func (); below.
 
16657
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
16658
    <limits.h> exists even on freestanding compilers.  */
 
16659
 
 
16660
#ifdef __STDC__
 
16661
# include <limits.h>
 
16662
#else
 
16663
# include <assert.h>
 
16664
#endif
 
16665
 
 
16666
#undef $ac_func
 
16667
 
 
16668
/* Override any GCC internal prototype to avoid an error.
 
16669
   Use char because int might match the return type of a GCC
 
16670
   builtin and then its argument prototype would still apply.  */
 
16671
#ifdef __cplusplus
 
16672
extern "C"
 
16673
#endif
 
16674
char $ac_func ();
 
16675
/* The GNU C library defines this for functions which it implements
 
16676
    to always fail with ENOSYS.  Some functions are actually named
 
16677
    something starting with __ and the normal name is an alias.  */
 
16678
#if defined __stub_$ac_func || defined __stub___$ac_func
 
16679
choke me
 
16680
#endif
 
16681
 
 
16682
int
 
16683
main ()
 
16684
{
 
16685
return $ac_func ();
 
16686
  ;
 
16687
  return 0;
 
16688
}
 
16689
_ACEOF
 
16690
rm -f conftest.$ac_objext conftest$ac_exeext
 
16691
if { (ac_try="$ac_link"
 
16692
case "(($ac_try" in
 
16693
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16694
  *) ac_try_echo=$ac_try;;
 
16695
esac
 
16696
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16697
$as_echo "$ac_try_echo") >&5
 
16698
  (eval "$ac_link") 2>conftest.er1
 
16699
  ac_status=$?
 
16700
  grep -v '^ *+' conftest.er1 >conftest.err
 
16701
  rm -f conftest.er1
 
16702
  cat conftest.err >&5
 
16703
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16704
  (exit $ac_status); } && {
 
16705
         test -z "$ac_c_werror_flag" ||
 
16706
         test ! -s conftest.err
 
16707
       } && test -s conftest$ac_exeext && {
 
16708
         test "$cross_compiling" = yes ||
 
16709
         $as_test_x conftest$ac_exeext
 
16710
       }; then
 
16711
  eval "$as_ac_var=yes"
 
16712
else
 
16713
  $as_echo "$as_me: failed program was:" >&5
 
16714
sed 's/^/| /' conftest.$ac_ext >&5
 
16715
 
 
16716
        eval "$as_ac_var=no"
 
16717
fi
 
16718
 
 
16719
rm -rf conftest.dSYM
 
16720
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
16721
      conftest$ac_exeext conftest.$ac_ext
 
16722
fi
 
16723
ac_res=`eval 'as_val=${'$as_ac_var'}
 
16724
                 $as_echo "$as_val"'`
 
16725
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
16726
$as_echo "$ac_res" >&6; }
 
16727
as_val=`eval 'as_val=${'$as_ac_var'}
 
16728
                 $as_echo "$as_val"'`
 
16729
   if test "x$as_val" = x""yes; then
13926
16730
  cat >>confdefs.h <<_ACEOF
13927
 
#define HAVE_DCGETTEXT 1
 
16731
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13928
16732
_ACEOF
13929
16733
 
13930
16734
fi
13931
16735
done
13932
16736
 
13933
16737
          MSGFMT_OPTS=
13934
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
 
16738
          { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
13935
16739
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
13936
16740
          cat >conftest.foo <<_ACEOF
13937
16741
 
13946
16750
"Content-Transfer-Encoding: 8bit\n"
13947
16751
 
13948
16752
_ACEOF
13949
 
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
 
16753
if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
13950
16754
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
13951
16755
  ac_status=$?
13952
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13953
 
  test $ac_status = 0; }; then
13954
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16756
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16757
  (exit $ac_status); }; then
 
16758
  MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
13955
16759
$as_echo "yes" >&6; }
13956
 
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16760
else { $as_echo "$as_me:$LINENO: result: no" >&5
13957
16761
$as_echo "no" >&6; }
13958
16762
echo "$as_me: failed input was:" >&5
13959
16763
sed 's/^/| /' conftest.foo >&5
13961
16765
 
13962
16766
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
13963
16767
set dummy gmsgfmt; ac_word=$2
13964
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16768
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13965
16769
$as_echo_n "checking for $ac_word... " >&6; }
13966
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
16770
if test "${ac_cv_path_GMSGFMT+set}" = set; then
13967
16771
  $as_echo_n "(cached) " >&6
13968
16772
else
13969
16773
  case $GMSGFMT in
13976
16780
do
13977
16781
  IFS=$as_save_IFS
13978
16782
  test -z "$as_dir" && as_dir=.
13979
 
    for ac_exec_ext in '' $ac_executable_extensions; do
 
16783
  for ac_exec_ext in '' $ac_executable_extensions; do
13980
16784
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13981
16785
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13982
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16786
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13983
16787
    break 2
13984
16788
  fi
13985
16789
done
13986
 
  done
 
16790
done
13987
16791
IFS=$as_save_IFS
13988
16792
 
13989
16793
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13992
16796
fi
13993
16797
GMSGFMT=$ac_cv_path_GMSGFMT
13994
16798
if test -n "$GMSGFMT"; then
13995
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
16799
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
13996
16800
$as_echo "$GMSGFMT" >&6; }
13997
16801
else
13998
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16802
  { $as_echo "$as_me:$LINENO: result: no" >&5
13999
16803
$as_echo "no" >&6; }
14000
16804
fi
14001
16805
 
14002
16806
 
14003
16807
          # Extract the first word of "xgettext", so it can be a program name with args.
14004
16808
set dummy xgettext; ac_word=$2
14005
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16809
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14006
16810
$as_echo_n "checking for $ac_word... " >&6; }
14007
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
16811
if test "${ac_cv_path_XGETTEXT+set}" = set; then
14008
16812
  $as_echo_n "(cached) " >&6
14009
16813
else
14010
16814
  case "$XGETTEXT" in
14029
16833
fi
14030
16834
XGETTEXT="$ac_cv_path_XGETTEXT"
14031
16835
if test "$XGETTEXT" != ":"; then
14032
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
16836
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
14033
16837
$as_echo "$XGETTEXT" >&6; }
14034
16838
else
14035
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16839
  { $as_echo "$as_me:$LINENO: result: no" >&5
14036
16840
$as_echo "no" >&6; }
14037
16841
fi
14038
16842
 
14039
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16843
          cat >conftest.$ac_ext <<_ACEOF
 
16844
/* confdefs.h.  */
 
16845
_ACEOF
 
16846
cat confdefs.h >>conftest.$ac_ext
 
16847
cat >>conftest.$ac_ext <<_ACEOF
14040
16848
/* end confdefs.h.  */
14041
16849
 
14042
16850
int
14048
16856
  return 0;
14049
16857
}
14050
16858
_ACEOF
14051
 
if ac_fn_c_try_link "$LINENO"; then :
 
16859
rm -f conftest.$ac_objext conftest$ac_exeext
 
16860
if { (ac_try="$ac_link"
 
16861
case "(($ac_try" in
 
16862
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16863
  *) ac_try_echo=$ac_try;;
 
16864
esac
 
16865
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16866
$as_echo "$ac_try_echo") >&5
 
16867
  (eval "$ac_link") 2>conftest.er1
 
16868
  ac_status=$?
 
16869
  grep -v '^ *+' conftest.er1 >conftest.err
 
16870
  rm -f conftest.er1
 
16871
  cat conftest.err >&5
 
16872
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16873
  (exit $ac_status); } && {
 
16874
         test -z "$ac_c_werror_flag" ||
 
16875
         test ! -s conftest.err
 
16876
       } && test -s conftest$ac_exeext && {
 
16877
         test "$cross_compiling" = yes ||
 
16878
         $as_test_x conftest$ac_exeext
 
16879
       }; then
14052
16880
  CATOBJEXT=.gmo
14053
16881
             DATADIRNAME=share
14054
16882
else
14055
 
  case $host in
 
16883
  $as_echo "$as_me: failed program was:" >&5
 
16884
sed 's/^/| /' conftest.$ac_ext >&5
 
16885
 
 
16886
        case $host in
14056
16887
            *-*-solaris*)
14057
 
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14058
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
16888
                                                                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 
16889
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
 
16890
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
 
16891
  $as_echo_n "(cached) " >&6
 
16892
else
 
16893
  cat >conftest.$ac_ext <<_ACEOF
 
16894
/* confdefs.h.  */
 
16895
_ACEOF
 
16896
cat confdefs.h >>conftest.$ac_ext
 
16897
cat >>conftest.$ac_ext <<_ACEOF
 
16898
/* end confdefs.h.  */
 
16899
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
 
16900
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
16901
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
 
16902
 
 
16903
/* System header to define __stub macros and hopefully few prototypes,
 
16904
    which can conflict with char bind_textdomain_codeset (); below.
 
16905
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
16906
    <limits.h> exists even on freestanding compilers.  */
 
16907
 
 
16908
#ifdef __STDC__
 
16909
# include <limits.h>
 
16910
#else
 
16911
# include <assert.h>
 
16912
#endif
 
16913
 
 
16914
#undef bind_textdomain_codeset
 
16915
 
 
16916
/* Override any GCC internal prototype to avoid an error.
 
16917
   Use char because int might match the return type of a GCC
 
16918
   builtin and then its argument prototype would still apply.  */
 
16919
#ifdef __cplusplus
 
16920
extern "C"
 
16921
#endif
 
16922
char bind_textdomain_codeset ();
 
16923
/* The GNU C library defines this for functions which it implements
 
16924
    to always fail with ENOSYS.  Some functions are actually named
 
16925
    something starting with __ and the normal name is an alias.  */
 
16926
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
 
16927
choke me
 
16928
#endif
 
16929
 
 
16930
int
 
16931
main ()
 
16932
{
 
16933
return bind_textdomain_codeset ();
 
16934
  ;
 
16935
  return 0;
 
16936
}
 
16937
_ACEOF
 
16938
rm -f conftest.$ac_objext conftest$ac_exeext
 
16939
if { (ac_try="$ac_link"
 
16940
case "(($ac_try" in
 
16941
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16942
  *) ac_try_echo=$ac_try;;
 
16943
esac
 
16944
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16945
$as_echo "$ac_try_echo") >&5
 
16946
  (eval "$ac_link") 2>conftest.er1
 
16947
  ac_status=$?
 
16948
  grep -v '^ *+' conftest.er1 >conftest.err
 
16949
  rm -f conftest.er1
 
16950
  cat conftest.err >&5
 
16951
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16952
  (exit $ac_status); } && {
 
16953
         test -z "$ac_c_werror_flag" ||
 
16954
         test ! -s conftest.err
 
16955
       } && test -s conftest$ac_exeext && {
 
16956
         test "$cross_compiling" = yes ||
 
16957
         $as_test_x conftest$ac_exeext
 
16958
       }; then
 
16959
  ac_cv_func_bind_textdomain_codeset=yes
 
16960
else
 
16961
  $as_echo "$as_me: failed program was:" >&5
 
16962
sed 's/^/| /' conftest.$ac_ext >&5
 
16963
 
 
16964
        ac_cv_func_bind_textdomain_codeset=no
 
16965
fi
 
16966
 
 
16967
rm -rf conftest.dSYM
 
16968
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
16969
      conftest$ac_exeext conftest.$ac_ext
 
16970
fi
 
16971
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 
16972
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
 
16973
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
14059
16974
  CATOBJEXT=.gmo
14060
16975
               DATADIRNAME=share
14061
16976
else
14070
16985
            ;;
14071
16986
            esac
14072
16987
fi
14073
 
rm -f core conftest.err conftest.$ac_objext \
14074
 
    conftest$ac_exeext conftest.$ac_ext
 
16988
 
 
16989
rm -rf conftest.dSYM
 
16990
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
16991
      conftest$ac_exeext conftest.$ac_ext
14075
16992
          LIBS="$glib_save_LIBS"
14076
16993
          INSTOBJEXT=.mo
14077
16994
        else
14085
17002
 
14086
17003
    if test "$gt_cv_have_gettext" = "yes" ; then
14087
17004
 
14088
 
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
 
17005
cat >>confdefs.h <<\_ACEOF
 
17006
#define ENABLE_NLS 1
 
17007
_ACEOF
14089
17008
 
14090
17009
    fi
14091
17010
 
14093
17012
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
14094
17013
        : ;
14095
17014
      else
14096
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
17015
        { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
14097
17016
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
14098
17017
        XGETTEXT=":"
14099
17018
      fi
14126
17045
     if test "x$ALL_LINGUAS" = "x"; then
14127
17046
       LINGUAS=
14128
17047
     else
14129
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
 
17048
       { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
14130
17049
$as_echo_n "checking for catalogs to be installed... " >&6; }
14131
17050
       NEW_LINGUAS=
14132
17051
       for presentlang in $ALL_LINGUAS; do
14151
17070
         fi
14152
17071
       done
14153
17072
       LINGUAS=$NEW_LINGUAS
14154
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
 
17073
       { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
14155
17074
$as_echo "$LINGUAS" >&6; }
14156
17075
     fi
14157
17076
 
14218
17137
 
14219
17138
 
14220
17139
                # Check whether --enable-introspection was given.
14221
 
if test "${enable_introspection+set}" = set; then :
 
17140
if test "${enable_introspection+set}" = set; then
14222
17141
  enableval=$enable_introspection;
14223
17142
else
14224
17143
  enable_introspection=auto
14225
17144
fi
14226
17145
 
14227
17146
 
14228
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
 
17147
    { $as_echo "$as_me:$LINENO: checking for gobject-introspection" >&5
14229
17148
$as_echo_n "checking for gobject-introspection... " >&6; }
14230
17149
 
14231
 
        case $enable_introspection in #(
14232
 
  no) :
14233
 
            found_introspection="no (disabled, use --enable-introspection to enable)"
14234
 
     ;; #(
14235
 
      yes) :
14236
 
            if test -n "$PKG_CONFIG" && \
14237
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
 
17150
        case $enable_introspection in
 
17151
  no)         found_introspection="no (disabled, use --enable-introspection to enable)"
 
17152
     ;;
 
17153
      yes)         if test -n "$PKG_CONFIG" && \
 
17154
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\"") >&5
14238
17155
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
14239
17156
  ac_status=$?
14240
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14241
 
  test $ac_status = 0; }; then
 
17157
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17158
  (exit $ac_status); }; then
14242
17159
  :
14243
17160
else
14244
 
  as_fn_error "gobject-introspection-1.0 is not installed" "$LINENO" 5
 
17161
  { { $as_echo "$as_me:$LINENO: error: gobject-introspection-1.0 is not installed" >&5
 
17162
$as_echo "$as_me: error: gobject-introspection-1.0 is not installed" >&2;}
 
17163
   { (exit 1); exit 1; }; }
14245
17164
fi
14246
17165
        if test -n "$PKG_CONFIG" && \
14247
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.3\""; } >&5
 
17166
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.3\"") >&5
14248
17167
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.3") 2>&5
14249
17168
  ac_status=$?
14250
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14251
 
  test $ac_status = 0; }; then
 
17169
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17170
  (exit $ac_status); }; then
14252
17171
  found_introspection=yes
14253
17172
else
14254
 
  as_fn_error "You need to have gobject-introspection >= 0.6.3 installed to build unique" "$LINENO" 5
 
17173
  { { $as_echo "$as_me:$LINENO: error: You need to have gobject-introspection >= 0.6.3 installed to build unique" >&5
 
17174
$as_echo "$as_me: error: You need to have gobject-introspection >= 0.6.3 installed to build unique" >&2;}
 
17175
   { (exit 1); exit 1; }; }
14255
17176
fi
14256
 
     ;; #(
14257
 
      auto) :
14258
 
            if test -n "$PKG_CONFIG" && \
14259
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.3\""; } >&5
 
17177
     ;;
 
17178
      auto)         if test -n "$PKG_CONFIG" && \
 
17179
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.3\"") >&5
14260
17180
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.3") 2>&5
14261
17181
  ac_status=$?
14262
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14263
 
  test $ac_status = 0; }; then
 
17182
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17183
  (exit $ac_status); }; then
14264
17184
  found_introspection=yes
14265
17185
else
14266
17186
  found_introspection=no
14267
17187
fi
14268
 
     ;; #(
14269
 
  *) :
14270
 
                as_fn_error "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
 
17188
     ;;
 
17189
  *)             { { $as_echo "$as_me:$LINENO: error: invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" >&5
 
17190
$as_echo "$as_me: error: invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" >&2;}
 
17191
   { (exit 1); exit 1; }; }
14271
17192
     ;;
14272
17193
esac
14273
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
 
17194
 
 
17195
    { $as_echo "$as_me:$LINENO: result: $found_introspection" >&5
14274
17196
$as_echo "$found_introspection" >&6; }
14275
17197
 
14276
17198
    INTROSPECTION_SCANNER=
14305
17227
# gtk-doc
14306
17228
 
14307
17229
 
14308
 
    # Extract the first word of "gtkdoc-check", so it can be a program name with args.
14309
 
set dummy gtkdoc-check; ac_word=$2
14310
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14311
 
$as_echo_n "checking for $ac_word... " >&6; }
14312
 
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
14313
 
  $as_echo_n "(cached) " >&6
14314
 
else
14315
 
  case $GTKDOC_CHECK in
14316
 
  [\\/]* | ?:[\\/]*)
14317
 
  ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
14318
 
  ;;
14319
 
  *)
14320
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14321
 
for as_dir in $PATH
14322
 
do
14323
 
  IFS=$as_save_IFS
14324
 
  test -z "$as_dir" && as_dir=.
14325
 
    for ac_exec_ext in '' $ac_executable_extensions; do
14326
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14327
 
    ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
14328
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14329
 
    break 2
14330
 
  fi
14331
 
done
14332
 
  done
14333
 
IFS=$as_save_IFS
14334
 
 
14335
 
  ;;
14336
 
esac
14337
 
fi
14338
 
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
14339
 
if test -n "$GTKDOC_CHECK"; then
14340
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
14341
 
$as_echo "$GTKDOC_CHECK" >&6; }
14342
 
else
14343
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14344
 
$as_echo "no" >&6; }
14345
 
fi
14346
 
 
14347
 
 
14348
 
  for ac_prog in gtkdoc-rebase
14349
 
do
14350
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
14351
 
set dummy $ac_prog; ac_word=$2
14352
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14353
 
$as_echo_n "checking for $ac_word... " >&6; }
14354
 
if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then :
14355
 
  $as_echo_n "(cached) " >&6
14356
 
else
14357
 
  case $GTKDOC_REBASE in
14358
 
  [\\/]* | ?:[\\/]*)
14359
 
  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
14360
 
  ;;
14361
 
  *)
14362
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14363
 
for as_dir in $PATH
14364
 
do
14365
 
  IFS=$as_save_IFS
14366
 
  test -z "$as_dir" && as_dir=.
14367
 
    for ac_exec_ext in '' $ac_executable_extensions; do
14368
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14369
 
    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
14370
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14371
 
    break 2
14372
 
  fi
14373
 
done
14374
 
  done
14375
 
IFS=$as_save_IFS
14376
 
 
14377
 
  ;;
14378
 
esac
14379
 
fi
14380
 
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
14381
 
if test -n "$GTKDOC_REBASE"; then
14382
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
14383
 
$as_echo "$GTKDOC_REBASE" >&6; }
14384
 
else
14385
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14386
 
$as_echo "no" >&6; }
14387
 
fi
14388
 
 
14389
 
 
14390
 
  test -n "$GTKDOC_REBASE" && break
14391
 
done
14392
 
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
14393
 
 
14394
 
  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
14395
 
set dummy gtkdoc-mkpdf; ac_word=$2
14396
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14397
 
$as_echo_n "checking for $ac_word... " >&6; }
14398
 
if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then :
14399
 
  $as_echo_n "(cached) " >&6
14400
 
else
14401
 
  case $GTKDOC_MKPDF in
14402
 
  [\\/]* | ?:[\\/]*)
14403
 
  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
14404
 
  ;;
14405
 
  *)
14406
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14407
 
for as_dir in $PATH
14408
 
do
14409
 
  IFS=$as_save_IFS
14410
 
  test -z "$as_dir" && as_dir=.
14411
 
    for ac_exec_ext in '' $ac_executable_extensions; do
14412
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14413
 
    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
14414
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14415
 
    break 2
14416
 
  fi
14417
 
done
14418
 
  done
14419
 
IFS=$as_save_IFS
14420
 
 
14421
 
  ;;
14422
 
esac
14423
 
fi
14424
 
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
14425
 
if test -n "$GTKDOC_MKPDF"; then
14426
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
14427
 
$as_echo "$GTKDOC_MKPDF" >&6; }
14428
 
else
14429
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14430
 
$as_echo "no" >&6; }
14431
 
fi
14432
 
 
14433
 
 
14434
 
 
14435
 
 
14436
17230
# Check whether --with-html-dir was given.
14437
 
if test "${with_html_dir+set}" = set; then :
 
17231
if test "${with_html_dir+set}" = set; then
14438
17232
  withval=$with_html_dir;
14439
17233
else
14440
17234
  with_html_dir='${datadir}/gtk-doc/html'
14444
17238
 
14445
17239
 
14446
17240
    # Check whether --enable-gtk-doc was given.
14447
 
if test "${enable_gtk_doc+set}" = set; then :
 
17241
if test "${enable_gtk_doc+set}" = set; then
14448
17242
  enableval=$enable_gtk_doc;
14449
17243
else
14450
17244
  enable_gtk_doc=no
14453
17247
 
14454
17248
  if test x$enable_gtk_doc = xyes; then
14455
17249
    if test -n "$PKG_CONFIG" && \
14456
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.11\""; } >&5
 
17250
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.11\"") >&5
14457
17251
  ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.11") 2>&5
14458
17252
  ac_status=$?
14459
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14460
 
  test $ac_status = 0; }; then
 
17253
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17254
  (exit $ac_status); }; then
14461
17255
  :
14462
17256
else
14463
 
  as_fn_error "You need to have gtk-doc >= 1.11 installed to build $PACKAGE_NAME" "$LINENO" 5
 
17257
  { { $as_echo "$as_me:$LINENO: error: You need to have gtk-doc >= 1.11 installed to build gtk-doc" >&5
 
17258
$as_echo "$as_me: error: You need to have gtk-doc >= 1.11 installed to build gtk-doc" >&2;}
 
17259
   { (exit 1); exit 1; }; }
14464
17260
fi
14465
17261
  fi
14466
17262
 
14467
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
 
17263
  { $as_echo "$as_me:$LINENO: checking whether to build gtk-doc documentation" >&5
14468
17264
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
14469
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
 
17265
  { $as_echo "$as_me:$LINENO: result: $enable_gtk_doc" >&5
14470
17266
$as_echo "$enable_gtk_doc" >&6; }
14471
17267
 
14472
 
    # Check whether --enable-gtk-doc-html was given.
14473
 
if test "${enable_gtk_doc_html+set}" = set; then :
14474
 
  enableval=$enable_gtk_doc_html;
14475
 
else
14476
 
  enable_gtk_doc_html=yes
14477
 
fi
14478
 
 
14479
 
    # Check whether --enable-gtk-doc-pdf was given.
14480
 
if test "${enable_gtk_doc_pdf+set}" = set; then :
14481
 
  enableval=$enable_gtk_doc_pdf;
14482
 
else
14483
 
  enable_gtk_doc_pdf=no
14484
 
fi
14485
 
 
14486
 
 
14487
 
  if test -z "$GTKDOC_MKPDF"; then
14488
 
    enable_gtk_doc_pdf=no
 
17268
  for ac_prog in gtkdoc-check
 
17269
do
 
17270
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
17271
set dummy $ac_prog; ac_word=$2
 
17272
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17273
$as_echo_n "checking for $ac_word... " >&6; }
 
17274
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then
 
17275
  $as_echo_n "(cached) " >&6
 
17276
else
 
17277
  case $GTKDOC_CHECK in
 
17278
  [\\/]* | ?:[\\/]*)
 
17279
  ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
 
17280
  ;;
 
17281
  *)
 
17282
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
17283
for as_dir in $PATH
 
17284
do
 
17285
  IFS=$as_save_IFS
 
17286
  test -z "$as_dir" && as_dir=.
 
17287
  for ac_exec_ext in '' $ac_executable_extensions; do
 
17288
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
17289
    ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
 
17290
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17291
    break 2
14489
17292
  fi
 
17293
done
 
17294
done
 
17295
IFS=$as_save_IFS
 
17296
 
 
17297
  ;;
 
17298
esac
 
17299
fi
 
17300
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
 
17301
if test -n "$GTKDOC_CHECK"; then
 
17302
  { $as_echo "$as_me:$LINENO: result: $GTKDOC_CHECK" >&5
 
17303
$as_echo "$GTKDOC_CHECK" >&6; }
 
17304
else
 
17305
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
17306
$as_echo "no" >&6; }
 
17307
fi
 
17308
 
 
17309
 
 
17310
  test -n "$GTKDOC_CHECK" && break
 
17311
done
14490
17312
 
14491
17313
 
14492
17314
   if test x$enable_gtk_doc = xyes; then
14497
17319
  ENABLE_GTK_DOC_FALSE=
14498
17320
fi
14499
17321
 
14500
 
   if test x$enable_gtk_doc_html = xyes; then
14501
 
  GTK_DOC_BUILD_HTML_TRUE=
14502
 
  GTK_DOC_BUILD_HTML_FALSE='#'
14503
 
else
14504
 
  GTK_DOC_BUILD_HTML_TRUE='#'
14505
 
  GTK_DOC_BUILD_HTML_FALSE=
14506
 
fi
14507
 
 
14508
 
   if test x$enable_gtk_doc_pdf = xyes; then
14509
 
  GTK_DOC_BUILD_PDF_TRUE=
14510
 
  GTK_DOC_BUILD_PDF_FALSE='#'
14511
 
else
14512
 
  GTK_DOC_BUILD_PDF_TRUE='#'
14513
 
  GTK_DOC_BUILD_PDF_FALSE=
14514
 
fi
14515
 
 
14516
17322
   if test -n "$LIBTOOL"; then
14517
17323
  GTK_DOC_USE_LIBTOOL_TRUE=
14518
17324
  GTK_DOC_USE_LIBTOOL_FALSE='#'
14521
17327
  GTK_DOC_USE_LIBTOOL_FALSE=
14522
17328
fi
14523
17329
 
14524
 
   if test -n "$GTKDOC_REBASE"; then
14525
 
  GTK_DOC_USE_REBASE_TRUE=
14526
 
  GTK_DOC_USE_REBASE_FALSE='#'
14527
 
else
14528
 
  GTK_DOC_USE_REBASE_TRUE='#'
14529
 
  GTK_DOC_USE_REBASE_FALSE=
14530
 
fi
14531
 
 
14532
 
 
14533
 
 
14534
 
# shave
14535
 
 
14536
 
 
14537
 
  # Check whether --enable-shave was given.
14538
 
if test "${enable_shave+set}" = set; then :
14539
 
  enableval=$enable_shave;
14540
 
else
14541
 
  enable_shave=yes
14542
 
 
14543
 
fi
14544
 
 
14545
 
 
14546
 
 
14547
 
  if test x"$enable_shave" = xyes; then
14548
 
        shavedir="$ac_pwd/build/autotools"
14549
 
 
14550
 
 
14551
 
        MAKEFLAGS=-s
14552
 
 
14553
 
    AM_MAKEFLAGS='`test -z $V && echo -s`'
14554
 
 
14555
 
 
14556
 
        # Extract the first word of "sed", so it can be a program name with args.
14557
 
set dummy sed; ac_word=$2
14558
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14559
 
$as_echo_n "checking for $ac_word... " >&6; }
14560
 
if test "${ac_cv_prog_SED+set}" = set; then :
14561
 
  $as_echo_n "(cached) " >&6
14562
 
else
14563
 
  if test -n "$SED"; then
14564
 
  ac_cv_prog_SED="$SED" # Let the user override the test.
14565
 
else
14566
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14567
 
for as_dir in $PATH
14568
 
do
14569
 
  IFS=$as_save_IFS
14570
 
  test -z "$as_dir" && as_dir=.
14571
 
    for ac_exec_ext in '' $ac_executable_extensions; do
14572
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14573
 
    ac_cv_prog_SED="sed"
14574
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14575
 
    break 2
14576
 
  fi
14577
 
done
14578
 
  done
14579
 
IFS=$as_save_IFS
14580
 
 
14581
 
  test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="false"
14582
 
fi
14583
 
fi
14584
 
SED=$ac_cv_prog_SED
14585
 
if test -n "$SED"; then
14586
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
14587
 
$as_echo "$SED" >&6; }
14588
 
else
14589
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14590
 
$as_echo "no" >&6; }
14591
 
fi
14592
 
 
14593
 
 
14594
 
 
14595
 
        SHAVE_SAVED_LIBTOOL=$LIBTOOL
14596
 
    LIBTOOL="${SHELL} ${shavedir}/shave-libtool '${SHAVE_SAVED_LIBTOOL}'"
14597
 
 
14598
 
 
14599
 
        SHAVE_SAVED_CC=$CC
14600
 
    SHAVE_SAVED_CXX=$CXX
14601
 
    SHAVE_SAVED_FC=$FC
14602
 
    SHAVE_SAVED_F77=$F77
14603
 
    SHAVE_SAVED_OBJC=$OBJC
14604
 
    CC="${SHELL} ${shavedir}/shave cc ${SHAVE_SAVED_CC}"
14605
 
    CXX="${SHELL} ${shavedir}/shave cxx ${SHAVE_SAVED_CXX}"
14606
 
    FC="${SHELL} ${shavedir}/shave fc ${SHAVE_SAVED_FC}"
14607
 
    F77="${SHELL} ${shavedir}/shave f77 ${SHAVE_SAVED_F77}"
14608
 
    OBJC="${SHELL} ${shavedir}/shave objc ${SHAVE_SAVED_OBJC}"
14609
 
 
14610
 
 
14611
 
 
14612
 
 
14613
 
 
14614
 
 
14615
 
    V=@
14616
 
  else
14617
 
    V=1
14618
 
  fi
14619
 
  Q='$(V:1=)'
14620
 
 
14621
 
 
14622
 
 
14623
 
 
14624
 
ac_config_files="$ac_config_files Makefile unique.pc build/Makefile build/autotools/Makefile build/autotools/shave build/autotools/shave-libtool doc/Makefile doc/reference/Makefile doc/reference/version.xml unique/Makefile unique/uniqueversion.h unique/bacon/Makefile unique/dbus/Makefile tests/Makefile po/Makefile.in"
 
17330
 
 
17331
 
 
17332
# nice builds
 
17333
 
 
17334
           # Check whether --enable-silent-rules was given.
 
17335
if test "${enable_silent_rules+set}" = set; then
 
17336
  enableval=$enable_silent_rules;
 
17337
fi
 
17338
 
 
17339
case $enable_silent_rules in
 
17340
yes) AM_DEFAULT_VERBOSITY=0;;
 
17341
no)  AM_DEFAULT_VERBOSITY=1;;
 
17342
*)   AM_DEFAULT_VERBOSITY=0;;
 
17343
esac
 
17344
AM_BACKSLASH='\'
 
17345
 
 
17346
           use_shave=no
 
17347
 
 
17348
 
 
17349
 if test "x$use_shave" = "xyes"; then
 
17350
  USE_SHAVE_TRUE=
 
17351
  USE_SHAVE_FALSE='#'
 
17352
else
 
17353
  USE_SHAVE_TRUE='#'
 
17354
  USE_SHAVE_FALSE=
 
17355
fi
 
17356
 
 
17357
 
 
17358
ac_config_files="$ac_config_files Makefile unique.pc build/Makefile build/autotools/Makefile doc/Makefile doc/reference/Makefile doc/reference/version.xml unique/Makefile unique/uniqueversion.h unique/bacon/Makefile unique/dbus/Makefile tests/Makefile po/Makefile.in"
14625
17359
 
14626
17360
 
14627
17361
cat >confcache <<\_ACEOF
14651
17385
    case $ac_val in #(
14652
17386
    *${as_nl}*)
14653
17387
      case $ac_var in #(
14654
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
17388
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
14655
17389
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14656
17390
      esac
14657
17391
      case $ac_var in #(
14658
17392
      _ | IFS | as_nl) ;; #(
14659
17393
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14660
 
      *) { eval $ac_var=; unset $ac_var;} ;;
 
17394
      *) $as_unset $ac_var ;;
14661
17395
      esac ;;
14662
17396
    esac
14663
17397
  done
14665
17399
  (set) 2>&1 |
14666
17400
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
14667
17401
    *${as_nl}ac_space=\ *)
14668
 
      # `set' does not quote correctly, so add quotes: double-quote
14669
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
 
17402
      # `set' does not quote correctly, so add quotes (double-quote
 
17403
      # substitution turns \\\\ into \\, and sed turns \\ into \).
14670
17404
      sed -n \
14671
17405
        "s/'/'\\\\''/g;
14672
17406
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14689
17423
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14690
17424
  if test -w "$cache_file"; then
14691
17425
    test "x$cache_file" != "x/dev/null" &&
14692
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
17426
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
14693
17427
$as_echo "$as_me: updating cache $cache_file" >&6;}
14694
17428
    cat confcache >$cache_file
14695
17429
  else
14696
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
17430
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14697
17431
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14698
17432
  fi
14699
17433
fi
14713
17447
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14714
17448
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14715
17449
  #    will be set to the directory where LIBOBJS objects are built.
14716
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14717
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
17450
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
17451
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
14718
17452
done
14719
17453
LIBOBJS=$ac_libobjs
14720
17454
 
14730
17464
fi
14731
17465
 
14732
17466
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14733
 
  as_fn_error "conditional \"AMDEP\" was never defined.
14734
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14735
 
fi
14736
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14737
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14738
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14739
 
fi
14740
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14741
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14742
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14743
 
fi
14744
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14745
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14746
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17467
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
17468
Usually this means the macro was only invoked conditionally." >&5
 
17469
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
17470
Usually this means the macro was only invoked conditionally." >&2;}
 
17471
   { (exit 1); exit 1; }; }
 
17472
fi
 
17473
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
17474
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
17475
Usually this means the macro was only invoked conditionally." >&5
 
17476
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
17477
Usually this means the macro was only invoked conditionally." >&2;}
 
17478
   { (exit 1); exit 1; }; }
 
17479
fi
 
17480
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
17481
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
17482
Usually this means the macro was only invoked conditionally." >&5
 
17483
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
17484
Usually this means the macro was only invoked conditionally." >&2;}
 
17485
   { (exit 1); exit 1; }; }
 
17486
fi
 
17487
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
17488
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
17489
Usually this means the macro was only invoked conditionally." >&5
 
17490
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
17491
Usually this means the macro was only invoked conditionally." >&2;}
 
17492
   { (exit 1); exit 1; }; }
14747
17493
fi
14748
17494
if test -z "${HAVE_DBUS_TRUE}" && test -z "${HAVE_DBUS_FALSE}"; then
14749
 
  as_fn_error "conditional \"HAVE_DBUS\" was never defined.
14750
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17495
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_DBUS\" was never defined.
 
17496
Usually this means the macro was only invoked conditionally." >&5
 
17497
$as_echo "$as_me: error: conditional \"HAVE_DBUS\" was never defined.
 
17498
Usually this means the macro was only invoked conditionally." >&2;}
 
17499
   { (exit 1); exit 1; }; }
 
17500
fi
 
17501
if test -z "${HAVE_BACON_TRUE}" && test -z "${HAVE_BACON_FALSE}"; then
 
17502
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_BACON\" was never defined.
 
17503
Usually this means the macro was only invoked conditionally." >&5
 
17504
$as_echo "$as_me: error: conditional \"HAVE_BACON\" was never defined.
 
17505
Usually this means the macro was only invoked conditionally." >&2;}
 
17506
   { (exit 1); exit 1; }; }
14751
17507
fi
14752
17508
if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
14753
 
  as_fn_error "conditional \"HAVE_INTROSPECTION\" was never defined.
14754
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17509
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_INTROSPECTION\" was never defined.
 
17510
Usually this means the macro was only invoked conditionally." >&5
 
17511
$as_echo "$as_me: error: conditional \"HAVE_INTROSPECTION\" was never defined.
 
17512
Usually this means the macro was only invoked conditionally." >&2;}
 
17513
   { (exit 1); exit 1; }; }
14755
17514
fi
14756
17515
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
14757
 
  as_fn_error "conditional \"ENABLE_GTK_DOC\" was never defined.
14758
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14759
 
fi
14760
 
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
14761
 
  as_fn_error "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
14762
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14763
 
fi
14764
 
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
14765
 
  as_fn_error "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
14766
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17516
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_GTK_DOC\" was never defined.
 
17517
Usually this means the macro was only invoked conditionally." >&5
 
17518
$as_echo "$as_me: error: conditional \"ENABLE_GTK_DOC\" was never defined.
 
17519
Usually this means the macro was only invoked conditionally." >&2;}
 
17520
   { (exit 1); exit 1; }; }
14767
17521
fi
14768
17522
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
14769
 
  as_fn_error "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
14770
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17523
  { { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
 
17524
Usually this means the macro was only invoked conditionally." >&5
 
17525
$as_echo "$as_me: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
 
17526
Usually this means the macro was only invoked conditionally." >&2;}
 
17527
   { (exit 1); exit 1; }; }
14771
17528
fi
14772
 
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
14773
 
  as_fn_error "conditional \"GTK_DOC_USE_REBASE\" was never defined.
14774
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17529
if test -z "${USE_SHAVE_TRUE}" && test -z "${USE_SHAVE_FALSE}"; then
 
17530
  { { $as_echo "$as_me:$LINENO: error: conditional \"USE_SHAVE\" was never defined.
 
17531
Usually this means the macro was only invoked conditionally." >&5
 
17532
$as_echo "$as_me: error: conditional \"USE_SHAVE\" was never defined.
 
17533
Usually this means the macro was only invoked conditionally." >&2;}
 
17534
   { (exit 1); exit 1; }; }
14775
17535
fi
14776
17536
 
14777
17537
: ${CONFIG_STATUS=./config.status}
14778
17538
ac_write_fail=0
14779
17539
ac_clean_files_save=$ac_clean_files
14780
17540
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14781
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
17541
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14782
17542
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14783
 
as_write_fail=0
14784
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 
17543
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14785
17544
#! $SHELL
14786
17545
# Generated by $as_me.
14787
17546
# Run this file to recreate the current configuration.
14791
17550
debug=false
14792
17551
ac_cs_recheck=false
14793
17552
ac_cs_silent=false
14794
 
 
14795
17553
SHELL=\${CONFIG_SHELL-$SHELL}
14796
 
export SHELL
14797
 
_ASEOF
14798
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14799
 
## -------------------- ##
14800
 
## M4sh Initialization. ##
14801
 
## -------------------- ##
 
17554
_ACEOF
 
17555
 
 
17556
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17557
## --------------------- ##
 
17558
## M4sh Initialization.  ##
 
17559
## --------------------- ##
14802
17560
 
14803
17561
# Be more Bourne compatible
14804
17562
DUALCASE=1; export DUALCASE # for MKS sh
14805
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
17563
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14806
17564
  emulate sh
14807
17565
  NULLCMD=:
14808
17566
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14810
17568
  alias -g '${1+"$@"}'='"$@"'
14811
17569
  setopt NO_GLOB_SUBST
14812
17570
else
14813
 
  case `(set -o) 2>/dev/null` in #(
14814
 
  *posix*) :
14815
 
    set -o posix ;; #(
14816
 
  *) :
14817
 
     ;;
 
17571
  case `(set -o) 2>/dev/null` in
 
17572
  *posix*) set -o posix ;;
14818
17573
esac
 
17574
 
14819
17575
fi
14820
17576
 
14821
17577
 
 
17578
 
 
17579
 
 
17580
# PATH needs CR
 
17581
# Avoid depending upon Character Ranges.
 
17582
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
17583
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
17584
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
17585
as_cr_digits='0123456789'
 
17586
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
17587
 
14822
17588
as_nl='
14823
17589
'
14824
17590
export as_nl
14826
17592
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14827
17593
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14828
17594
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14829
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
14830
 
# but without wasting forks for bash or zsh.
14831
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
14832
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14833
 
  as_echo='print -r --'
14834
 
  as_echo_n='print -rn --'
14835
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
17595
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14836
17596
  as_echo='printf %s\n'
14837
17597
  as_echo_n='printf %s'
14838
17598
else
14843
17603
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14844
17604
    as_echo_n_body='eval
14845
17605
      arg=$1;
14846
 
      case $arg in #(
 
17606
      case $arg in
14847
17607
      *"$as_nl"*)
14848
17608
        expr "X$arg" : "X\\(.*\\)$as_nl";
14849
17609
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14866
17626
  }
14867
17627
fi
14868
17628
 
 
17629
# Support unset when possible.
 
17630
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
17631
  as_unset=unset
 
17632
else
 
17633
  as_unset=false
 
17634
fi
 
17635
 
14869
17636
 
14870
17637
# IFS
14871
17638
# We need space, tab and new line, in precisely that order.  Quoting is
14875
17642
IFS=" ""        $as_nl"
14876
17643
 
14877
17644
# Find who we are.  Look in the path if we contain no directory separator.
14878
 
case $0 in #((
 
17645
case $0 in
14879
17646
  *[\\/]* ) as_myself=$0 ;;
14880
17647
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14881
17648
for as_dir in $PATH
14882
17649
do
14883
17650
  IFS=$as_save_IFS
14884
17651
  test -z "$as_dir" && as_dir=.
14885
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14886
 
  done
 
17652
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
17653
done
14887
17654
IFS=$as_save_IFS
14888
17655
 
14889
17656
     ;;
14895
17662
fi
14896
17663
if test ! -f "$as_myself"; then
14897
17664
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14898
 
  exit 1
 
17665
  { (exit 1); exit 1; }
14899
17666
fi
14900
17667
 
14901
 
# Unset variables that we do not need and which cause bugs (e.g. in
14902
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14903
 
# suppresses any "Segmentation fault" message there.  '((' could
14904
 
# trigger a bug in pdksh 5.2.14.
14905
 
for as_var in BASH_ENV ENV MAIL MAILPATH
14906
 
do eval test x\${$as_var+set} = xset \
14907
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
17668
# Work around bugs in pre-3.0 UWIN ksh.
 
17669
for as_var in ENV MAIL MAILPATH
 
17670
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
14908
17671
done
14909
17672
PS1='$ '
14910
17673
PS2='> '
14916
17679
LANGUAGE=C
14917
17680
export LANGUAGE
14918
17681
 
14919
 
# CDPATH.
14920
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14921
 
 
14922
 
 
14923
 
# as_fn_error ERROR [LINENO LOG_FD]
14924
 
# ---------------------------------
14925
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14926
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14927
 
# script with status $?, using 1 if that was 0.
14928
 
as_fn_error ()
14929
 
{
14930
 
  as_status=$?; test $as_status -eq 0 && as_status=1
14931
 
  if test "$3"; then
14932
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14933
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14934
 
  fi
14935
 
  $as_echo "$as_me: error: $1" >&2
14936
 
  as_fn_exit $as_status
14937
 
} # as_fn_error
14938
 
 
14939
 
 
14940
 
# as_fn_set_status STATUS
14941
 
# -----------------------
14942
 
# Set $? to STATUS, without forking.
14943
 
as_fn_set_status ()
14944
 
{
14945
 
  return $1
14946
 
} # as_fn_set_status
14947
 
 
14948
 
# as_fn_exit STATUS
14949
 
# -----------------
14950
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14951
 
as_fn_exit ()
14952
 
{
14953
 
  set +e
14954
 
  as_fn_set_status $1
14955
 
  exit $1
14956
 
} # as_fn_exit
14957
 
 
14958
 
# as_fn_unset VAR
14959
 
# ---------------
14960
 
# Portably unset VAR.
14961
 
as_fn_unset ()
14962
 
{
14963
 
  { eval $1=; unset $1;}
14964
 
}
14965
 
as_unset=as_fn_unset
14966
 
# as_fn_append VAR VALUE
14967
 
# ----------------------
14968
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
14969
 
# advantage of any shell optimizations that allow amortized linear growth over
14970
 
# repeated appends, instead of the typical quadratic growth present in naive
14971
 
# implementations.
14972
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14973
 
  eval 'as_fn_append ()
14974
 
  {
14975
 
    eval $1+=\$2
14976
 
  }'
14977
 
else
14978
 
  as_fn_append ()
14979
 
  {
14980
 
    eval $1=\$$1\$2
14981
 
  }
14982
 
fi # as_fn_append
14983
 
 
14984
 
# as_fn_arith ARG...
14985
 
# ------------------
14986
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
14987
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
14988
 
# must be portable across $(()) and expr.
14989
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14990
 
  eval 'as_fn_arith ()
14991
 
  {
14992
 
    as_val=$(( $* ))
14993
 
  }'
14994
 
else
14995
 
  as_fn_arith ()
14996
 
  {
14997
 
    as_val=`expr "$@" || test $? -eq 1`
14998
 
  }
14999
 
fi # as_fn_arith
15000
 
 
15001
 
 
 
17682
# Required to use basename.
15002
17683
if expr a : '\(a\)' >/dev/null 2>&1 &&
15003
17684
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15004
17685
  as_expr=expr
15012
17693
  as_basename=false
15013
17694
fi
15014
17695
 
15015
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15016
 
  as_dirname=dirname
15017
 
else
15018
 
  as_dirname=false
15019
 
fi
15020
17696
 
 
17697
# Name of the executable.
15021
17698
as_me=`$as_basename -- "$0" ||
15022
17699
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15023
17700
         X"$0" : 'X\(//\)$' \| \
15037
17714
          }
15038
17715
          s/.*/./; q'`
15039
17716
 
15040
 
# Avoid depending upon Character Ranges.
15041
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15042
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15043
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15044
 
as_cr_digits='0123456789'
15045
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
17717
# CDPATH.
 
17718
$as_unset CDPATH
 
17719
 
 
17720
 
 
17721
 
 
17722
  as_lineno_1=$LINENO
 
17723
  as_lineno_2=$LINENO
 
17724
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
17725
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
17726
 
 
17727
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
17728
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
17729
  # line-number line after each line using $LINENO; the second 'sed'
 
17730
  # does the real work.  The second script uses 'N' to pair each
 
17731
  # line-number line with the line containing $LINENO, and appends
 
17732
  # trailing '-' during substitution so that $LINENO is not a special
 
17733
  # case at line end.
 
17734
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
17735
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
17736
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
17737
  sed -n '
 
17738
    p
 
17739
    /[$]LINENO/=
 
17740
  ' <$as_myself |
 
17741
    sed '
 
17742
      s/[$]LINENO.*/&-/
 
17743
      t lineno
 
17744
      b
 
17745
      :lineno
 
17746
      N
 
17747
      :loop
 
17748
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
17749
      t loop
 
17750
      s/-\n.*//
 
17751
    ' >$as_me.lineno &&
 
17752
  chmod +x "$as_me.lineno" ||
 
17753
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
17754
   { (exit 1); exit 1; }; }
 
17755
 
 
17756
  # Don't try to exec as it changes $[0], causing all sort of problems
 
17757
  # (the dirname of $[0] is not the place where we might find the
 
17758
  # original and so on.  Autoconf is especially sensitive to this).
 
17759
  . "./$as_me.lineno"
 
17760
  # Exit status is that of the last command.
 
17761
  exit
 
17762
}
 
17763
 
 
17764
 
 
17765
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
17766
  as_dirname=dirname
 
17767
else
 
17768
  as_dirname=false
 
17769
fi
15046
17770
 
15047
17771
ECHO_C= ECHO_N= ECHO_T=
15048
 
case `echo -n x` in #(((((
 
17772
case `echo -n x` in
15049
17773
-n*)
15050
 
  case `echo 'xy\c'` in
 
17774
  case `echo 'x\c'` in
15051
17775
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15052
 
  xy)  ECHO_C='\c';;
15053
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15054
 
       ECHO_T=' ';;
 
17776
  *)   ECHO_C='\c';;
15055
17777
  esac;;
15056
17778
*)
15057
17779
  ECHO_N='-n';;
15058
17780
esac
 
17781
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
17782
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
17783
  as_expr=expr
 
17784
else
 
17785
  as_expr=false
 
17786
fi
15059
17787
 
15060
17788
rm -f conf$$ conf$$.exe conf$$.file
15061
17789
if test -d conf$$.dir; then
15084
17812
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15085
17813
rmdir conf$$.dir 2>/dev/null
15086
17814
 
15087
 
 
15088
 
# as_fn_mkdir_p
15089
 
# -------------
15090
 
# Create "$as_dir" as a directory, including parents if necessary.
15091
 
as_fn_mkdir_p ()
15092
 
{
15093
 
 
15094
 
  case $as_dir in #(
15095
 
  -*) as_dir=./$as_dir;;
15096
 
  esac
15097
 
  test -d "$as_dir" || eval $as_mkdir_p || {
15098
 
    as_dirs=
15099
 
    while :; do
15100
 
      case $as_dir in #(
15101
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15102
 
      *) as_qdir=$as_dir;;
15103
 
      esac
15104
 
      as_dirs="'$as_qdir' $as_dirs"
15105
 
      as_dir=`$as_dirname -- "$as_dir" ||
15106
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15107
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
15108
 
         X"$as_dir" : 'X\(//\)$' \| \
15109
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15110
 
$as_echo X"$as_dir" |
15111
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15112
 
            s//\1/
15113
 
            q
15114
 
          }
15115
 
          /^X\(\/\/\)[^/].*/{
15116
 
            s//\1/
15117
 
            q
15118
 
          }
15119
 
          /^X\(\/\/\)$/{
15120
 
            s//\1/
15121
 
            q
15122
 
          }
15123
 
          /^X\(\/\).*/{
15124
 
            s//\1/
15125
 
            q
15126
 
          }
15127
 
          s/.*/./; q'`
15128
 
      test -d "$as_dir" && break
15129
 
    done
15130
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
15131
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15132
 
 
15133
 
 
15134
 
} # as_fn_mkdir_p
15135
17815
if mkdir -p . 2>/dev/null; then
15136
 
  as_mkdir_p='mkdir -p "$as_dir"'
 
17816
  as_mkdir_p=:
15137
17817
else
15138
17818
  test -d ./-p && rmdir ./-p
15139
17819
  as_mkdir_p=false
15152
17832
      if test -d "$1"; then
15153
17833
        test -d "$1/.";
15154
17834
      else
15155
 
        case $1 in #(
 
17835
        case $1 in
15156
17836
        -*)set "./$1";;
15157
17837
        esac;
15158
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
17838
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15159
17839
        ???[sx]*):;;*)false;;esac;fi
15160
17840
    '\'' sh
15161
17841
  '
15170
17850
 
15171
17851
 
15172
17852
exec 6>&1
15173
 
## ----------------------------------- ##
15174
 
## Main body of $CONFIG_STATUS script. ##
15175
 
## ----------------------------------- ##
15176
 
_ASEOF
15177
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15178
17853
 
15179
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15180
 
# Save the log message, to keep $0 and so on meaningful, and to
 
17854
# Save the log message, to keep $[0] and so on meaningful, and to
15181
17855
# report actual input values of CONFIG_FILES etc. instead of their
15182
17856
# values after options handling.
15183
17857
ac_log="
15184
 
This file was extended by unique $as_me 1.1.2, which was
15185
 
generated by GNU Autoconf 2.64.  Invocation command line was
 
17858
This file was extended by unique $as_me 1.1.6, which was
 
17859
generated by GNU Autoconf 2.63.  Invocation command line was
15186
17860
 
15187
17861
  CONFIG_FILES    = $CONFIG_FILES
15188
17862
  CONFIG_HEADERS  = $CONFIG_HEADERS
15214
17888
 
15215
17889
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15216
17890
ac_cs_usage="\
15217
 
\`$as_me' instantiates files and other configuration actions
15218
 
from templates according to the current configuration.  Unless the files
15219
 
and actions are specified as TAGs, all are instantiated by default.
 
17891
\`$as_me' instantiates files from templates according to the
 
17892
current configuration.
15220
17893
 
15221
 
Usage: $0 [OPTION]... [TAG]...
 
17894
Usage: $0 [OPTION]... [FILE]...
15222
17895
 
15223
17896
  -h, --help       print this help, then exit
15224
17897
  -V, --version    print version number and configuration settings, then exit
15240
17913
Configuration commands:
15241
17914
$config_commands
15242
17915
 
15243
 
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libunique>."
 
17916
Report bugs to <bug-autoconf@gnu.org>."
15244
17917
 
15245
17918
_ACEOF
15246
17919
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15247
17920
ac_cs_version="\\
15248
 
unique config.status 1.1.2
15249
 
configured by $0, generated by GNU Autoconf 2.64,
 
17921
unique config.status 1.1.6
 
17922
configured by $0, generated by GNU Autoconf 2.63,
15250
17923
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15251
17924
 
15252
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
17925
Copyright (C) 2008 Free Software Foundation, Inc.
15253
17926
This config.status script is free software; the Free Software Foundation
15254
17927
gives unlimited permission to copy, distribute and modify it."
15255
17928
 
15292
17965
    case $ac_optarg in
15293
17966
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15294
17967
    esac
15295
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
17968
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
15296
17969
    ac_need_defaults=false;;
15297
17970
  --header | --heade | --head | --hea )
15298
17971
    $ac_shift
15299
17972
    case $ac_optarg in
15300
17973
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15301
17974
    esac
15302
 
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
17975
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
15303
17976
    ac_need_defaults=false;;
15304
17977
  --he | --h)
15305
17978
    # Conflict between --help and --header
15306
 
    as_fn_error "ambiguous option: \`$1'
15307
 
Try \`$0 --help' for more information.";;
 
17979
    { $as_echo "$as_me: error: ambiguous option: $1
 
17980
Try \`$0 --help' for more information." >&2
 
17981
   { (exit 1); exit 1; }; };;
15308
17982
  --help | --hel | -h )
15309
17983
    $as_echo "$ac_cs_usage"; exit ;;
15310
17984
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15312
17986
    ac_cs_silent=: ;;
15313
17987
 
15314
17988
  # This is an error.
15315
 
  -*) as_fn_error "unrecognized option: \`$1'
15316
 
Try \`$0 --help' for more information." ;;
 
17989
  -*) { $as_echo "$as_me: error: unrecognized option: $1
 
17990
Try \`$0 --help' for more information." >&2
 
17991
   { (exit 1); exit 1; }; } ;;
15317
17992
 
15318
 
  *) as_fn_append ac_config_targets " $1"
 
17993
  *) ac_config_targets="$ac_config_targets $1"
15319
17994
     ac_need_defaults=false ;;
15320
17995
 
15321
17996
  esac
15630
18305
    "unique.pc") CONFIG_FILES="$CONFIG_FILES unique.pc" ;;
15631
18306
    "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
15632
18307
    "build/autotools/Makefile") CONFIG_FILES="$CONFIG_FILES build/autotools/Makefile" ;;
15633
 
    "build/autotools/shave") CONFIG_FILES="$CONFIG_FILES build/autotools/shave" ;;
15634
 
    "build/autotools/shave-libtool") CONFIG_FILES="$CONFIG_FILES build/autotools/shave-libtool" ;;
15635
18308
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15636
18309
    "doc/reference/Makefile") CONFIG_FILES="$CONFIG_FILES doc/reference/Makefile" ;;
15637
18310
    "doc/reference/version.xml") CONFIG_FILES="$CONFIG_FILES doc/reference/version.xml" ;;
15642
18315
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
15643
18316
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15644
18317
 
15645
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
18318
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
18319
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
18320
   { (exit 1); exit 1; }; };;
15646
18321
  esac
15647
18322
done
15648
18323
 
15669
18344
  trap 'exit_status=$?
15670
18345
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15671
18346
' 0
15672
 
  trap 'as_fn_exit 1' 1 2 13 15
 
18347
  trap '{ (exit 1); exit 1; }' 1 2 13 15
15673
18348
}
15674
18349
# Create a (secure) tmp directory for tmp files.
15675
18350
 
15680
18355
{
15681
18356
  tmp=./conf$$-$RANDOM
15682
18357
  (umask 077 && mkdir "$tmp")
15683
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
18358
} ||
 
18359
{
 
18360
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
 
18361
   { (exit 1); exit 1; }
 
18362
}
15684
18363
 
15685
18364
# Set up the scripts for CONFIG_FILES section.
15686
18365
# No need to generate them if there are no CONFIG_FILES.
15688
18367
if test -n "$CONFIG_FILES"; then
15689
18368
 
15690
18369
 
15691
 
ac_cr=`echo X | tr X '\015'`
15692
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
15693
 
# But we know of no other shell where ac_cr would be empty at this
15694
 
# point, so we can use a bashism as a fallback.
15695
 
if test "x$ac_cr" = x; then
15696
 
  eval ac_cr=\$\'\\r\'
15697
 
fi
 
18370
ac_cr='
 
 
b"'"
15698
18371
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15699
18372
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15700
 
  ac_cs_awk_cr='\r'
 
18373
  ac_cs_awk_cr='\\r'
15701
18374
else
15702
18375
  ac_cs_awk_cr=$ac_cr
15703
18376
fi
15711
18384
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15712
18385
  echo "_ACEOF"
15713
18386
} >conf$$subs.sh ||
15714
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
18387
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
18388
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
18389
   { (exit 1); exit 1; }; }
15715
18390
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15716
18391
ac_delim='%!_!# '
15717
18392
for ac_last_try in false false false false false :; do
15718
18393
  . ./conf$$subs.sh ||
15719
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
18394
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
18395
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
18396
   { (exit 1); exit 1; }; }
15720
18397
 
15721
18398
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15722
18399
  if test $ac_delim_n = $ac_delim_num; then
15723
18400
    break
15724
18401
  elif $ac_last_try; then
15725
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
18402
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
18403
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
18404
   { (exit 1); exit 1; }; }
15726
18405
  else
15727
18406
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15728
18407
  fi
15811
18490
else
15812
18491
  cat
15813
18492
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15814
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
18493
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
18494
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
18495
   { (exit 1); exit 1; }; }
15815
18496
_ACEOF
15816
18497
 
15817
18498
# VPATH may cause trouble with some makes, so we remove $(srcdir),
15852
18533
  if test -z "$ac_t"; then
15853
18534
    break
15854
18535
  elif $ac_last_try; then
15855
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
18536
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
18537
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
18538
   { (exit 1); exit 1; }; }
15856
18539
  else
15857
18540
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15858
18541
  fi
15937
18620
_ACAWK
15938
18621
_ACEOF
15939
18622
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15940
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
18623
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
18624
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
18625
   { (exit 1); exit 1; }; }
15941
18626
fi # test -n "$CONFIG_HEADERS"
15942
18627
 
15943
18628
 
15950
18635
  esac
15951
18636
  case $ac_mode$ac_tag in
15952
18637
  :[FHL]*:*);;
15953
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
18638
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
18639
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
 
18640
   { (exit 1); exit 1; }; };;
15954
18641
  :[FH]-) ac_tag=-:-;;
15955
18642
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15956
18643
  esac
15978
18665
           [\\/$]*) false;;
15979
18666
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15980
18667
           esac ||
15981
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
18668
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
18669
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
18670
   { (exit 1); exit 1; }; };;
15982
18671
      esac
15983
18672
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15984
 
      as_fn_append ac_file_inputs " '$ac_f'"
 
18673
      ac_file_inputs="$ac_file_inputs '$ac_f'"
15985
18674
    done
15986
18675
 
15987
18676
    # Let's still pretend it is `configure' which instantiates (i.e., don't
15992
18681
        `' by configure.'
15993
18682
    if test x"$ac_file" != x-; then
15994
18683
      configure_input="$ac_file.  $configure_input"
15995
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
18684
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
15996
18685
$as_echo "$as_me: creating $ac_file" >&6;}
15997
18686
    fi
15998
18687
    # Neutralize special characters interpreted by sed in replacement strings.
16005
18694
 
16006
18695
    case $ac_tag in
16007
18696
    *:-:* | *:-) cat >"$tmp/stdin" \
16008
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
18697
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
18698
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
18699
   { (exit 1); exit 1; }; } ;;
16009
18700
    esac
16010
18701
    ;;
16011
18702
  esac
16033
18724
            q
16034
18725
          }
16035
18726
          s/.*/./; q'`
16036
 
  as_dir="$ac_dir"; as_fn_mkdir_p
 
18727
  { as_dir="$ac_dir"
 
18728
  case $as_dir in #(
 
18729
  -*) as_dir=./$as_dir;;
 
18730
  esac
 
18731
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
18732
    as_dirs=
 
18733
    while :; do
 
18734
      case $as_dir in #(
 
18735
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
18736
      *) as_qdir=$as_dir;;
 
18737
      esac
 
18738
      as_dirs="'$as_qdir' $as_dirs"
 
18739
      as_dir=`$as_dirname -- "$as_dir" ||
 
18740
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
18741
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
18742
         X"$as_dir" : 'X\(//\)$' \| \
 
18743
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
18744
$as_echo X"$as_dir" |
 
18745
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
18746
            s//\1/
 
18747
            q
 
18748
          }
 
18749
          /^X\(\/\/\)[^/].*/{
 
18750
            s//\1/
 
18751
            q
 
18752
          }
 
18753
          /^X\(\/\/\)$/{
 
18754
            s//\1/
 
18755
            q
 
18756
          }
 
18757
          /^X\(\/\).*/{
 
18758
            s//\1/
 
18759
            q
 
18760
          }
 
18761
          s/.*/./; q'`
 
18762
      test -d "$as_dir" && break
 
18763
    done
 
18764
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
18765
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
18766
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
18767
   { (exit 1); exit 1; }; }; }
16037
18768
  ac_builddir=.
16038
18769
 
16039
18770
case "$ac_dir" in
16090
18821
# If the template does not know about datarootdir, expand it.
16091
18822
# FIXME: This hack should be removed a few years after 2.60.
16092
18823
ac_datarootdir_hack=; ac_datarootdir_seen=
 
18824
 
16093
18825
ac_sed_dataroot='
16094
18826
/datarootdir/ {
16095
18827
  p
16099
18831
/@docdir@/p
16100
18832
/@infodir@/p
16101
18833
/@localedir@/p
16102
 
/@mandir@/p'
 
18834
/@mandir@/p
 
18835
'
16103
18836
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16104
18837
*datarootdir*) ac_datarootdir_seen=yes;;
16105
18838
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16106
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
18839
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16107
18840
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16108
18841
_ACEOF
16109
18842
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16113
18846
  s&@infodir@&$infodir&g
16114
18847
  s&@localedir@&$localedir&g
16115
18848
  s&@mandir@&$mandir&g
16116
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
18849
    s&\\\${datarootdir}&$datarootdir&g' ;;
16117
18850
esac
16118
18851
_ACEOF
16119
18852
 
16142
18875
$ac_datarootdir_hack
16143
18876
"
16144
18877
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16145
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
18878
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
18879
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
18880
   { (exit 1); exit 1; }; }
16146
18881
 
16147
18882
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16148
18883
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16149
18884
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16150
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
18885
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16151
18886
which seems to be undefined.  Please make sure it is defined." >&5
16152
18887
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16153
18888
which seems to be undefined.  Please make sure it is defined." >&2;}
16157
18892
  -) cat "$tmp/out" && rm -f "$tmp/out";;
16158
18893
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16159
18894
  esac \
16160
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
18895
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
18896
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
18897
   { (exit 1); exit 1; }; }
16161
18898
 ;;
16162
18899
  :H)
16163
18900
  #
16168
18905
      $as_echo "/* $configure_input  */" \
16169
18906
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16170
18907
    } >"$tmp/config.h" \
16171
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
18908
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
18909
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
18910
   { (exit 1); exit 1; }; }
16172
18911
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16173
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
18912
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16174
18913
$as_echo "$as_me: $ac_file is unchanged" >&6;}
16175
18914
    else
16176
18915
      rm -f "$ac_file"
16177
18916
      mv "$tmp/config.h" "$ac_file" \
16178
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
18917
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
18918
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
18919
   { (exit 1); exit 1; }; }
16179
18920
    fi
16180
18921
  else
16181
18922
    $as_echo "/* $configure_input  */" \
16182
18923
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16183
 
      || as_fn_error "could not create -" "$LINENO" 5
 
18924
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
18925
$as_echo "$as_me: error: could not create -" >&2;}
 
18926
   { (exit 1); exit 1; }; }
16184
18927
  fi
16185
18928
# Compute "$ac_file"'s index in $config_headers.
16186
18929
_am_arg="$ac_file"
16218
18961
          s/.*/./; q'`/stamp-h$_am_stamp_count
16219
18962
 ;;
16220
18963
 
16221
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
18964
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
16222
18965
$as_echo "$as_me: executing $ac_file commands" >&6;}
16223
18966
 ;;
16224
18967
  esac
16313
19056
            q
16314
19057
          }
16315
19058
          s/.*/./; q'`
16316
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
19059
      { as_dir=$dirpart/$fdir
 
19060
  case $as_dir in #(
 
19061
  -*) as_dir=./$as_dir;;
 
19062
  esac
 
19063
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
19064
    as_dirs=
 
19065
    while :; do
 
19066
      case $as_dir in #(
 
19067
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
19068
      *) as_qdir=$as_dir;;
 
19069
      esac
 
19070
      as_dirs="'$as_qdir' $as_dirs"
 
19071
      as_dir=`$as_dirname -- "$as_dir" ||
 
19072
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
19073
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
19074
         X"$as_dir" : 'X\(//\)$' \| \
 
19075
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
19076
$as_echo X"$as_dir" |
 
19077
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
19078
            s//\1/
 
19079
            q
 
19080
          }
 
19081
          /^X\(\/\/\)[^/].*/{
 
19082
            s//\1/
 
19083
            q
 
19084
          }
 
19085
          /^X\(\/\/\)$/{
 
19086
            s//\1/
 
19087
            q
 
19088
          }
 
19089
          /^X\(\/\).*/{
 
19090
            s//\1/
 
19091
            q
 
19092
          }
 
19093
          s/.*/./; q'`
 
19094
      test -d "$as_dir" && break
 
19095
    done
 
19096
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
19097
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
19098
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
19099
   { (exit 1); exit 1; }; }; }
16317
19100
      # echo "creating $dirpart/$file"
16318
19101
      echo '# dummy' > "$dirpart/$file"
16319
19102
    done
16963
19746
done # for ac_tag
16964
19747
 
16965
19748
 
16966
 
as_fn_exit 0
 
19749
{ (exit 0); exit 0; }
16967
19750
_ACEOF
 
19751
chmod +x $CONFIG_STATUS
16968
19752
ac_clean_files=$ac_clean_files_save
16969
19753
 
16970
19754
test $ac_write_fail = 0 ||
16971
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
19755
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
19756
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
19757
   { (exit 1); exit 1; }; }
16972
19758
 
16973
19759
 
16974
19760
# configure is writing to config.log, and then calls config.status.
16989
19775
  exec 5>>config.log
16990
19776
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16991
19777
  # would make configure fail if this is the last instruction.
16992
 
  $ac_cs_success || as_fn_exit $?
 
19778
  $ac_cs_success || { (exit 1); exit 1; }
16993
19779
fi
16994
19780
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16995
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
19781
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16996
19782
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16997
19783
fi
16998
19784